POST api/customer/insertLedger
Request Information
URI Parameters
None.
Body Parameters
LedgerModel| Name | Description | Type | Additional information |
|---|---|---|---|
| LedgerId | integer |
None. |
|
| GroupId | integer |
None. |
|
| LedgerName | string |
None. |
|
| ContactNo | string |
None. |
|
| CustomerName | string |
None. |
|
| OpeningBalance | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"LedgerId": 1,
"GroupId": 2,
"LedgerName": "sample string 3",
"ContactNo": "sample string 4",
"CustomerName": "sample string 5",
"OpeningBalance": 6.0
}
application/xml, text/xml
Sample:
<LedgerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MasAuto.Models"> <ContactNo>sample string 4</ContactNo> <CustomerName>sample string 5</CustomerName> <GroupId>2</GroupId> <LedgerId>1</LedgerId> <LedgerName>sample string 3</LedgerName> <OpeningBalance>6</OpeningBalance> </LedgerModel>
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>