PUT api/EstRentDue/Update
Request Information
URI Parameters
None.
Body Parameters
EstRentDueUpdateVM| Name | Description | Type | Additional information |
|---|---|---|---|
| BookId | integer |
Required |
|
| DueId | integer |
Required |
|
| DueDate | string |
Required |
|
| BookType | AccountBookTypeLookup |
Required |
|
| Tenant | EstTenantLookupVM |
Required |
|
| RentProperty | EstRentPropertyLookupVM |
Required |
|
| RentAgreement | EstRentAgreementLookupVM |
None. |
|
| Months | MonthsLookupVM |
Required |
|
| Year | integer |
Required |
|
| RentAmount | decimal number |
Required |
|
| TaxAmount | decimal number |
Required |
|
| UpdateUser | integer |
Required |
|
| UpdateIp | string |
Required String length: inclusive between 0 and 20 |
|
| TaxDetails | Collection of EstRentDueTaxDtlsVM |
None. |
Request Formats
application/json, text/json
Sample:
{
"BookId": 1,
"DueId": 2,
"DueDate": "sample string 3",
"BookType": {
"BookTypeId": 1,
"BookTypeName": "sample string 2"
},
"Tenant": {
"TenantId": 1,
"TenantName": "sample string 2",
"Prefix": {
"PrefixId": 1,
"PrefixName": "sample string 2"
}
},
"RentProperty": {
"PropertyId": 1,
"PropertyName": "sample string 2"
},
"RentAgreement": {
"AgreementId": 1,
"AgreementDate": "sample string 2",
"AgreementRefNo": "sample string 3"
},
"Months": {
"MonthId": 1,
"MonthName": "sample string 2"
},
"Year": 4,
"RentAmount": 5.0,
"TaxAmount": 6.0,
"UpdateUser": 7,
"UpdateIp": "sample string 8",
"TaxDetails": [
{
"DueDtlSlno": 1,
"DueOrdSlno": 2,
"Tax": {
"TaxId": 1,
"TaxName": "sample string 2"
},
"TaxPercAuto": 3.0,
"TaxPerc": 4.0,
"TaxAmount": 5.0
},
{
"DueDtlSlno": 1,
"DueOrdSlno": 2,
"Tax": {
"TaxId": 1,
"TaxName": "sample string 2"
},
"TaxPercAuto": 3.0,
"TaxPerc": 4.0,
"TaxAmount": 5.0
}
]
}
application/xml, text/xml
Sample:
<EstRentDueUpdateVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<BookId>1</BookId>
<BookType>
<BookTypeId>1</BookTypeId>
<BookTypeName>sample string 2</BookTypeName>
</BookType>
<DueDate>sample string 3</DueDate>
<DueId>2</DueId>
<Months>
<MonthId>1</MonthId>
<MonthName>sample string 2</MonthName>
</Months>
<RentAgreement>
<AgreementDate>sample string 2</AgreementDate>
<AgreementId>1</AgreementId>
<AgreementRefNo>sample string 3</AgreementRefNo>
</RentAgreement>
<RentAmount>5</RentAmount>
<RentProperty>
<PropertyId>1</PropertyId>
<PropertyName>sample string 2</PropertyName>
</RentProperty>
<TaxAmount>6</TaxAmount>
<TaxDetails>
<EstRentDueTaxDtlsVM>
<DueDtlSlno>1</DueDtlSlno>
<DueOrdSlno>2</DueOrdSlno>
<Tax>
<TaxId>1</TaxId>
<TaxName>sample string 2</TaxName>
</Tax>
<TaxAmount>5</TaxAmount>
<TaxPerc>4</TaxPerc>
<TaxPercAuto>3</TaxPercAuto>
</EstRentDueTaxDtlsVM>
<EstRentDueTaxDtlsVM>
<DueDtlSlno>1</DueDtlSlno>
<DueOrdSlno>2</DueOrdSlno>
<Tax>
<TaxId>1</TaxId>
<TaxName>sample string 2</TaxName>
</Tax>
<TaxAmount>5</TaxAmount>
<TaxPerc>4</TaxPerc>
<TaxPercAuto>3</TaxPercAuto>
</EstRentDueTaxDtlsVM>
</TaxDetails>
<Tenant>
<Prefix>
<PrefixId>1</PrefixId>
<PrefixName>sample string 2</PrefixName>
</Prefix>
<TenantId>1</TenantId>
<TenantName>sample string 2</TenantName>
</Tenant>
<UpdateIp>sample string 8</UpdateIp>
<UpdateUser>7</UpdateUser>
<Year>4</Year>
</EstRentDueUpdateVM>
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.