POST api/tenancy/post-ledger
Request Information
URI Parameters
None.
Body Parameters
TenancyLedgerRequest_| Name | Description | Type | Additional information |
|---|---|---|---|
| TenID | integer |
None. |
|
| TrxRef | string |
None. |
|
| LegType | string |
None. |
|
| LegDetail | string |
None. |
|
| LegAmt | decimal number |
None. |
|
| LegDate | string |
None. |
|
| UserID | integer |
None. |
|
| CoID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"TenID": 1,
"TrxRef": "sample string 2",
"LegType": "sample string 3",
"LegDetail": "sample string 4",
"LegAmt": 5.1,
"LegDate": "sample string 6",
"UserID": 7,
"CoID": 8
}
application/xml, text/xml
Sample:
<DBOperationsController.TenancyLedgerRequest_ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KODY_MPesaCallbackAPI.Controllers"> <CoID>8</CoID> <LegAmt>5.1</LegAmt> <LegDate>sample string 6</LegDate> <LegDetail>sample string 4</LegDetail> <LegType>sample string 3</LegType> <TenID>1</TenID> <TrxRef>sample string 2</TrxRef> <UserID>7</UserID> </DBOperationsController.TenancyLedgerRequest_>
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.