PUT api/Property/Save?preApprovalID={preApprovalID}
creates or updates property information
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
preApprovalID |
ID of PreApproval Object |
string |
None. |
Body Parameters
PropertyEntityName | Description | Type | Additional information |
---|---|---|---|
PropertyID | string |
None. |
|
Address | string |
Required String length: inclusive between 0 and 128 |
|
Country |
Default should be 'Latvia' |
string |
Required String length: inclusive between 0 and 50 |
City | string |
Required String length: inclusive between 0 and 50 |
|
ZipCode | string |
String length: inclusive between 0 and 20 |
|
UsedForPrimaryResidence |
If used for primary residence then Yes ='Y', otherwise No ='N' |
string |
Required String length: inclusive between 0 and 1 |
PropertyTypeID |
Property type. Use /property/gettype method to get the list of property types |
string |
None. |
IsReferred |
If property was referred by, fields should be disabled |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "PropertyID": "sample string 1", "Address": "sample string 2", "Country": "sample string 3", "City": "sample string 4", "ZipCode": "sample string 5", "UsedForPrimaryResidence": "sample string 6", "PropertyTypeID": "sample string 7", "IsReferred": true }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |