POST api/EstSecurAdvReceipt/Save
Request Information
URI Parameters
None.
Body Parameters
EstSecurAdvReceiptSaveVM| Name | Description | Type | Additional information |
|---|---|---|---|
| BookId | integer |
Required |
|
| AdvRecDate | string |
Required |
|
| AdvRecRefno | string |
Required String length: inclusive between 0 and 20 |
|
| AgreementId | integer |
Required |
|
| Tenant | EstTenantLookupVM |
Required |
|
| RentProperty | EstRentPropertyLookupVM |
Required |
|
| AdvRecAmount | decimal number |
Required |
|
| Remarks | string |
String length: inclusive between 0 and 200 |
|
| CreateUser | integer |
Required |
|
| CreateIp | string |
Required String length: inclusive between 0 and 20 |
|
| FinYearId | integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"BookId": 1,
"AdvRecDate": "sample string 2",
"AdvRecRefno": "sample string 3",
"AgreementId": 4,
"Tenant": {
"TenantId": 1,
"TenantName": "sample string 2",
"Prefix": {
"PrefixId": 1,
"PrefixName": "sample string 2"
}
},
"RentProperty": {
"PropertyId": 1,
"PropertyName": "sample string 2"
},
"AdvRecAmount": 5.0,
"Remarks": "sample string 6",
"CreateUser": 7,
"CreateIp": "sample string 8",
"FinYearId": 9
}
application/xml, text/xml
Sample:
<EstSecurAdvReceiptSaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<AdvRecAmount>5</AdvRecAmount>
<AdvRecDate>sample string 2</AdvRecDate>
<AdvRecRefno>sample string 3</AdvRecRefno>
<AgreementId>4</AgreementId>
<BookId>1</BookId>
<CreateIp>sample string 8</CreateIp>
<CreateUser>7</CreateUser>
<FinYearId>9</FinYearId>
<Remarks>sample string 6</Remarks>
<RentProperty>
<PropertyId>1</PropertyId>
<PropertyName>sample string 2</PropertyName>
</RentProperty>
<Tenant>
<Prefix>
<PrefixId>1</PrefixId>
<PrefixName>sample string 2</PrefixName>
</Prefix>
<TenantId>1</TenantId>
<TenantName>sample string 2</TenantName>
</Tenant>
</EstSecurAdvReceiptSaveVM>
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.