POST services/api/rest/v1/Update_SalesMaster
Request Information
URI Parameters
None.
Body Parameters
RestDeliveryUpdate_Filter| Name | Description | Type | Additional information |
|---|---|---|---|
| LocationId | integer |
None. |
|
| Id | integer |
None. |
|
| DayOpenId | integer |
None. |
|
| SalesUpdateFilter | Collection of RestSales_Master |
None. |
|
| StatusUpdateFilter | Collection of RestSales_Master |
None. |
Request Formats
application/json, text/json
Sample:
{
"LocationId": 1,
"Id": 2,
"DayOpenId": 3,
"SalesUpdateFilter": [
{
"InvNo": 1,
"CounterId": 2,
"CashierId": 3,
"CounterOpId": 4,
"TotAmount": 5.0,
"TotCash": 6.0,
"TotCredit": 7.0,
"TotCreditCard": 8.0,
"CreditCardNo": "sample string 9",
"TotAltCurrency": 10.0,
"AltCurrencyId": 11,
"Discount": 12.0,
"ConvRate": 13.0,
"AmountReceived": 14.0,
"ExchangeRate": 15.0,
"HoldFlag": true,
"Balance": 17.0,
"DayOpenId": 18,
"TotalCredit": 19.0,
"TotalGiftVoucher": 20.0,
"GiftVoucherNo": "sample string 21",
"AirmilesCardNo": "sample string 22",
"TotOnlinePayment": 23.0,
"ProviderId": 24,
"VatAmt": 25.0,
"LocId": 26,
"TicketNo": "sample string 27",
"DeliveryCharges": 28.0,
"Status": 29,
"CustomerId": 30
},
{
"InvNo": 1,
"CounterId": 2,
"CashierId": 3,
"CounterOpId": 4,
"TotAmount": 5.0,
"TotCash": 6.0,
"TotCredit": 7.0,
"TotCreditCard": 8.0,
"CreditCardNo": "sample string 9",
"TotAltCurrency": 10.0,
"AltCurrencyId": 11,
"Discount": 12.0,
"ConvRate": 13.0,
"AmountReceived": 14.0,
"ExchangeRate": 15.0,
"HoldFlag": true,
"Balance": 17.0,
"DayOpenId": 18,
"TotalCredit": 19.0,
"TotalGiftVoucher": 20.0,
"GiftVoucherNo": "sample string 21",
"AirmilesCardNo": "sample string 22",
"TotOnlinePayment": 23.0,
"ProviderId": 24,
"VatAmt": 25.0,
"LocId": 26,
"TicketNo": "sample string 27",
"DeliveryCharges": 28.0,
"Status": 29,
"CustomerId": 30
}
],
"StatusUpdateFilter": [
{
"InvNo": 1,
"CounterId": 2,
"CashierId": 3,
"CounterOpId": 4,
"TotAmount": 5.0,
"TotCash": 6.0,
"TotCredit": 7.0,
"TotCreditCard": 8.0,
"CreditCardNo": "sample string 9",
"TotAltCurrency": 10.0,
"AltCurrencyId": 11,
"Discount": 12.0,
"ConvRate": 13.0,
"AmountReceived": 14.0,
"ExchangeRate": 15.0,
"HoldFlag": true,
"Balance": 17.0,
"DayOpenId": 18,
"TotalCredit": 19.0,
"TotalGiftVoucher": 20.0,
"GiftVoucherNo": "sample string 21",
"AirmilesCardNo": "sample string 22",
"TotOnlinePayment": 23.0,
"ProviderId": 24,
"VatAmt": 25.0,
"LocId": 26,
"TicketNo": "sample string 27",
"DeliveryCharges": 28.0,
"Status": 29,
"CustomerId": 30
},
{
"InvNo": 1,
"CounterId": 2,
"CashierId": 3,
"CounterOpId": 4,
"TotAmount": 5.0,
"TotCash": 6.0,
"TotCredit": 7.0,
"TotCreditCard": 8.0,
"CreditCardNo": "sample string 9",
"TotAltCurrency": 10.0,
"AltCurrencyId": 11,
"Discount": 12.0,
"ConvRate": 13.0,
"AmountReceived": 14.0,
"ExchangeRate": 15.0,
"HoldFlag": true,
"Balance": 17.0,
"DayOpenId": 18,
"TotalCredit": 19.0,
"TotalGiftVoucher": 20.0,
"GiftVoucherNo": "sample string 21",
"AirmilesCardNo": "sample string 22",
"TotOnlinePayment": 23.0,
"ProviderId": 24,
"VatAmt": 25.0,
"LocId": 26,
"TicketNo": "sample string 27",
"DeliveryCharges": 28.0,
"Status": 29,
"CustomerId": 30
}
]
}
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. |