POST api/Taswya
Request Information
URI Parameters
None.
Body Parameters
SuperTaswyaViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| taswya | tsweya |
None. |
|
| _Data | Collection of tsweya_sub |
None. |
Request Formats
application/json, text/json
Sample:
{
"taswya": {
"id": 1,
"no": 1,
"date": "2026-10-11T06:17:49.0621409+03:00",
"safe": 1,
"center": 1,
"refno": "sample string 2",
"notes": "sample string 3",
"res_id": 1,
"is_deleted": true,
"acc": 1,
"branch": 1,
"Type_Price": 1,
"create_user": 1
},
"_Data": [
{
"tsweya_id": 1,
"item": 1,
"unit": 1,
"avg_price": 1.1,
"val1": 1.1,
"val2": 1.1,
"diff": 1.1,
"difftot": 1.1,
"sub_branch": 1,
"sub_center": 1,
"Price": 1.1,
"SumPrice": 1.1,
"cost_curr": 1.1
},
{
"tsweya_id": 1,
"item": 1,
"unit": 1,
"avg_price": 1.1,
"val1": 1.1,
"val2": 1.1,
"diff": 1.1,
"difftot": 1.1,
"sub_branch": 1,
"sub_center": 1,
"Price": 1.1,
"SumPrice": 1.1,
"cost_curr": 1.1
}
]
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |