POST api/order/insertPayable
Request Information
URI Parameters
None.
Body Parameters
PayableModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PayableId | integer |
None. |
|
| LedgerId | integer |
None. |
|
| Amount | decimal number |
None. |
|
| Date | date |
None. |
|
| Narration | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PayableId": 1,
"LedgerId": 2,
"Amount": 3.0,
"Date": "2026-07-08T19:10:53.1019325+05:30",
"Narration": "sample string 5"
}
application/xml, text/xml
Sample:
<PayableModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MasAuto.Models"> <Amount>3</Amount> <Date>2026-07-08T19:10:53.1019325+05:30</Date> <LedgerId>2</LedgerId> <Narration>sample string 5</Narration> <PayableId>1</PayableId> </PayableModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseWrapper| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseCode | integer |
None. |
|
| Message | string |
None. |
|
| Response | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResponseCode": 1,
"Message": "sample string 2",
"Response": {}
}
application/xml, text/xml
Sample:
<ResponseWrapper xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MasAuto.Models"> <Message>sample string 2</Message> <Response /> <ResponseCode>1</ResponseCode> </ResponseWrapper>