PUT api/AccountGenLedger/Cancel
Request Information
URI Parameters
None.
Body Parameters
AccountGenLedgerCancelVM| Name | Description | Type | Additional information |
|---|---|---|---|
| GledgerId | integer |
Required |
|
| BookId | integer |
Required |
|
| BookType | AccountBookTypeLookupVM |
Required |
|
| TranType | AccountTranTypeLookupVM |
Required |
|
| FinYear | AccountFinYearLookupVM |
Required |
|
| CancelUser | integer |
Required |
|
| CancelIp | string |
Required String length: inclusive between 0 and 20 |
|
| CancelRemark | string |
Required String length: inclusive between 0 and 500 |
Request Formats
application/json, text/json
Sample:
{
"GledgerId": 1,
"BookId": 2,
"BookType": {
"BookTypeId": 1,
"BookTypeName": "sample string 2"
},
"TranType": {
"TranTypeId": 1,
"TranTypeName": "sample string 2"
},
"FinYear": {
"FinYearId": 1,
"FinYearName": "sample string 2"
},
"CancelUser": 3,
"CancelIp": "sample string 4",
"CancelRemark": "sample string 5"
}
application/xml, text/xml
Sample:
<AccountGenLedgerCancelVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<BookId>2</BookId>
<BookType>
<BookTypeId>1</BookTypeId>
<BookTypeName>sample string 2</BookTypeName>
</BookType>
<CancelIp>sample string 4</CancelIp>
<CancelRemark>sample string 5</CancelRemark>
<CancelUser>3</CancelUser>
<FinYear>
<FinYearId>1</FinYearId>
<FinYearName>sample string 2</FinYearName>
</FinYear>
<GledgerId>1</GledgerId>
<TranType>
<TranTypeId>1</TranTypeId>
<TranTypeName>sample string 2</TranTypeName>
</TranType>
</AccountGenLedgerCancelVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.