POST api/UpdateLedger
Request Information
URI Parameters
None.
Body Parameters
LedgerSaveVm| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| OpeningBalance | decimal number |
None. |
|
| Mobile | string |
None. |
|
| string |
None. |
||
| GstNumber | string |
None. |
|
| LedgerGroupId | integer |
None. |
|
| LedgerSubGroupId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 1",
"OpeningBalance": 2.1,
"Mobile": "sample string 3",
"Email": "sample string 4",
"GstNumber": "sample string 5",
"LedgerGroupId": 6,
"LedgerSubGroupId": 7
}
application/xml, text/xml
Sample:
<LedgerSaveVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Models.AccountModels"> <Email>sample string 4</Email> <GstNumber>sample string 5</GstNumber> <Id>1</Id> <LedgerGroupId>6</LedgerGroupId> <LedgerSubGroupId>7</LedgerSubGroupId> <Mobile>sample string 3</Mobile> <Name>sample string 1</Name> <OpeningBalance>2.1</OpeningBalance> </LedgerSaveVm>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.