PUT api/EstTenant/Update
Request Information
URI Parameters
None.
Body Parameters
EstTenantUpdateVM| Name | Description | Type | Additional information |
|---|---|---|---|
| BookId | integer |
Required |
|
| TenantId | integer |
Required |
|
| TenantName | string |
Required String length: inclusive between 0 and 100 |
|
| Code | string |
String length: inclusive between 0 and 10 |
|
| Prefix | PrefixLookup |
Required |
|
| TenantType | EstTenantTypeLookupVM |
Required |
|
| PhoneNumber | string |
String length: inclusive between 0 and 50 |
|
| MobileNumber | string |
String length: inclusive between 0 and 50 |
|
| string |
String length: inclusive between 0 and 100 |
||
| Address1 | string |
String length: inclusive between 0 and 200 |
|
| Address2 | string |
String length: inclusive between 0 and 200 |
|
| AddressPincode | string |
String length: inclusive between 0 and 50 |
|
| AddressLandMark | string |
String length: inclusive between 0 and 200 |
|
| PostOffice | PlaceLookup |
None. |
|
| District | PlaceLookup |
None. |
|
| State | PlaceLookup |
None. |
|
| Country | PlaceLookup |
None. |
|
| PanNumber | string |
String length: inclusive between 0 and 30 |
|
| AadharNumber | string |
String length: inclusive between 0 and 50 |
|
| Account | AccountMasterLookup |
None. |
|
| GSTIN | string |
None. |
|
| Status | string |
Required Matching regular expression pattern: A|I |
|
| UpdateUser | integer |
Required |
|
| UpdateIp | string |
Required String length: inclusive between 0 and 20 |
Request Formats
application/json, text/json
Sample:
{
"BookId": 1,
"TenantId": 2,
"TenantName": "sample string 3",
"Code": "sample string 4",
"Prefix": {
"PrefixId": 1,
"PrefixName": "sample string 2"
},
"TenantType": {
"TenantTypeId": 1,
"TenantTypeName": "sample string 2"
},
"PhoneNumber": "sample string 5",
"MobileNumber": "sample string 6",
"Email": "sample string 7",
"Address1": "sample string 8",
"Address2": "sample string 9",
"AddressPincode": "sample string 10",
"AddressLandMark": "sample string 11",
"PostOffice": {
"PlaceId": 1,
"PlaceName": "sample string 2"
},
"District": {
"PlaceId": 1,
"PlaceName": "sample string 2"
},
"State": {
"PlaceId": 1,
"PlaceName": "sample string 2"
},
"Country": {
"PlaceId": 1,
"PlaceName": "sample string 2"
},
"PanNumber": "sample string 12",
"AadharNumber": "sample string 13",
"Account": {
"AccountId": 1,
"AccountName": "sample string 2"
},
"GSTIN": "sample string 14",
"Status": "sample string 15",
"UpdateUser": 16,
"UpdateIp": "sample string 17"
}
application/xml, text/xml
Sample:
<EstTenantUpdateVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<AadharNumber>sample string 13</AadharNumber>
<Account>
<AccountId>1</AccountId>
<AccountName>sample string 2</AccountName>
</Account>
<Address1>sample string 8</Address1>
<Address2>sample string 9</Address2>
<AddressLandMark>sample string 11</AddressLandMark>
<AddressPincode>sample string 10</AddressPincode>
<BookId>1</BookId>
<Code>sample string 4</Code>
<Country>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</Country>
<District>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</District>
<Email>sample string 7</Email>
<GSTIN>sample string 14</GSTIN>
<MobileNumber>sample string 6</MobileNumber>
<PanNumber>sample string 12</PanNumber>
<PhoneNumber>sample string 5</PhoneNumber>
<PostOffice>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</PostOffice>
<Prefix>
<PrefixId>1</PrefixId>
<PrefixName>sample string 2</PrefixName>
</Prefix>
<State>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</State>
<Status>sample string 15</Status>
<TenantId>2</TenantId>
<TenantName>sample string 3</TenantName>
<TenantType>
<TenantTypeId>1</TenantTypeId>
<TenantTypeName>sample string 2</TenantTypeName>
</TenantType>
<UpdateIp>sample string 17</UpdateIp>
<UpdateUser>16</UpdateUser>
</EstTenantUpdateVM>
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.