POST api/EstRentAgreement/Save
Request Information
URI Parameters
None.
Body Parameters
EstRentAgreementSaveVM| Name | Description | Type | Additional information |
|---|---|---|---|
| BookId | integer |
Required |
|
| AgreementDate | string |
Required |
|
| RefNo | string |
Required String length: inclusive between 0 and 20 |
|
| Tenant | EstTenantLookupVM |
Required |
|
| RentCategory | EstRentCategoryLookupVM |
None. |
|
| OccupyDate | string |
None. |
|
| LastRevisionDate | string |
None. |
|
| RentProperty | EstRentPropertyLookupVM |
None. |
|
| RentPeriodMonths | integer |
None. |
|
| StartDate | string |
None. |
|
| EndDate | string |
None. |
|
| CommercialName | string |
String length: inclusive between 0 and 200 |
|
| ContactPerson | string |
String length: inclusive between 0 and 100 |
|
| ContactDesignation | string |
String length: inclusive between 0 and 100 |
|
| RentAmount | decimal number |
None. |
|
| SecurityDeposit | decimal number |
None. |
|
| AgreementStatus | EstAgreementStatusLookupVM |
None. |
|
| RenewProcStdt | string |
None. |
|
| NomineeName | string |
String length: inclusive between 0 and 100 |
|
| NomineeAddress | string |
String length: inclusive between 0 and 1000 |
|
| BookType | AccountBookTypeLookup |
None. |
|
| Remarks | string |
String length: inclusive between 0 and 1000 |
|
| CreateUser | integer |
Required |
|
| CreateIp | string |
Required String length: inclusive between 0 and 20 |
|
| RelAgreementId | integer |
None. |
|
| BaseAgreementId | integer |
None. |
|
| FinYearId | integer |
Required |
|
| Enquiry | EstRentEnquiryVM |
None. |
|
| TaxAmount | decimal number |
None. |
|
| TaxDetails | Collection of EstRentAgreementTaxVM |
None. |
Request Formats
application/json, text/json
Sample:
{
"BookId": 1,
"AgreementDate": "sample string 2",
"RefNo": "sample string 3",
"Tenant": {
"TenantId": 1,
"TenantName": "sample string 2",
"Prefix": {
"PrefixId": 1,
"PrefixName": "sample string 2"
}
},
"RentCategory": {
"RentCategoryId": 1,
"RentCategoryName": "sample string 2"
},
"OccupyDate": "sample string 4",
"LastRevisionDate": "sample string 5",
"RentProperty": {
"PropertyId": 1,
"PropertyName": "sample string 2"
},
"RentPeriodMonths": 6,
"StartDate": "sample string 7",
"EndDate": "sample string 8",
"CommercialName": "sample string 9",
"ContactPerson": "sample string 10",
"ContactDesignation": "sample string 11",
"RentAmount": 12.0,
"SecurityDeposit": 13.0,
"AgreementStatus": {
"StatusId": 1,
"StatusName": "sample string 2"
},
"RenewProcStdt": "sample string 14",
"NomineeName": "sample string 15",
"NomineeAddress": "sample string 16",
"BookType": {
"BookTypeId": 1,
"BookTypeName": "sample string 2"
},
"Remarks": "sample string 17",
"CreateUser": 18,
"CreateIp": "sample string 19",
"RelAgreementId": 20,
"BaseAgreementId": 21,
"FinYearId": 22,
"Enquiry": {
"EnquiryId": 1,
"EnquiryDate": "sample string 2",
"EnquiryNo": "sample string 3"
},
"TaxAmount": 23.0,
"TaxDetails": [
{
"TaxDtlSlno": 1,
"Tax": {
"TaxId": 1,
"TaxName": "sample string 2"
},
"TaxPercAuto": 2.0,
"TaxPerc": 3.0,
"TaxAmount": 4.0
},
{
"TaxDtlSlno": 1,
"Tax": {
"TaxId": 1,
"TaxName": "sample string 2"
},
"TaxPercAuto": 2.0,
"TaxPerc": 3.0,
"TaxAmount": 4.0
}
]
}
application/xml, text/xml
Sample:
<EstRentAgreementSaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<AgreementDate>sample string 2</AgreementDate>
<AgreementStatus>
<StatusId>1</StatusId>
<StatusName>sample string 2</StatusName>
</AgreementStatus>
<BaseAgreementId>21</BaseAgreementId>
<BookId>1</BookId>
<BookType>
<BookTypeId>1</BookTypeId>
<BookTypeName>sample string 2</BookTypeName>
</BookType>
<CommercialName>sample string 9</CommercialName>
<ContactDesignation>sample string 11</ContactDesignation>
<ContactPerson>sample string 10</ContactPerson>
<CreateIp>sample string 19</CreateIp>
<CreateUser>18</CreateUser>
<EndDate>sample string 8</EndDate>
<Enquiry>
<EnquiryDate>sample string 2</EnquiryDate>
<EnquiryId>1</EnquiryId>
<EnquiryNo>sample string 3</EnquiryNo>
</Enquiry>
<FinYearId>22</FinYearId>
<LastRevisionDate>sample string 5</LastRevisionDate>
<NomineeAddress>sample string 16</NomineeAddress>
<NomineeName>sample string 15</NomineeName>
<OccupyDate>sample string 4</OccupyDate>
<RefNo>sample string 3</RefNo>
<RelAgreementId>20</RelAgreementId>
<Remarks>sample string 17</Remarks>
<RenewProcStdt>sample string 14</RenewProcStdt>
<RentAmount>12</RentAmount>
<RentCategory>
<RentCategoryId>1</RentCategoryId>
<RentCategoryName>sample string 2</RentCategoryName>
</RentCategory>
<RentPeriodMonths>6</RentPeriodMonths>
<RentProperty>
<PropertyId>1</PropertyId>
<PropertyName>sample string 2</PropertyName>
</RentProperty>
<SecurityDeposit>13</SecurityDeposit>
<StartDate>sample string 7</StartDate>
<TaxAmount>23</TaxAmount>
<TaxDetails>
<EstRentAgreementTaxVM>
<Tax>
<TaxId>1</TaxId>
<TaxName>sample string 2</TaxName>
</Tax>
<TaxAmount>4</TaxAmount>
<TaxDtlSlno>1</TaxDtlSlno>
<TaxPerc>3</TaxPerc>
<TaxPercAuto>2</TaxPercAuto>
</EstRentAgreementTaxVM>
<EstRentAgreementTaxVM>
<Tax>
<TaxId>1</TaxId>
<TaxName>sample string 2</TaxName>
</Tax>
<TaxAmount>4</TaxAmount>
<TaxDtlSlno>1</TaxDtlSlno>
<TaxPerc>3</TaxPerc>
<TaxPercAuto>2</TaxPercAuto>
</EstRentAgreementTaxVM>
</TaxDetails>
<Tenant>
<Prefix>
<PrefixId>1</PrefixId>
<PrefixName>sample string 2</PrefixName>
</Prefix>
<TenantId>1</TenantId>
<TenantName>sample string 2</TenantName>
</Tenant>
</EstRentAgreementSaveVM>
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.