POST api/demand/save
Request Information
URI Parameters
None.
Body Parameters
DemandSaveRequestDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Date | string |
None. |
|
| BrandID | integer |
None. |
|
| Rows | Collection of DemandRowDataDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"Date": "sample string 1",
"BrandID": 2,
"Rows": [
{
"PartyID": 1,
"RouteID": 2,
"OpeningBalance": 3.0,
"SaleAmount": 4.0,
"ReceiptAmount": 5.0,
"ClosingBalance": 6.0,
"Products": {
"1": 2,
"3": 4
}
},
{
"PartyID": 1,
"RouteID": 2,
"OpeningBalance": 3.0,
"SaleAmount": 4.0,
"ReceiptAmount": 5.0,
"ClosingBalance": 6.0,
"Products": {
"1": 2,
"3": 4
}
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.