POST api/order/updatePayable

Request Information

URI Parameters

None.

Body Parameters

PayableModel
NameDescriptionTypeAdditional 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:11:46.9102642+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:11:46.9102642+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
NameDescriptionTypeAdditional 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>