PUT api/role/{id}/updatesyncedareas
Toggle sync area for a given PropertyMarketingRole. Processes this role API request. The parameter and response sections describe the data exchanged with the API.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
the id of the role |
integer |
Required |
Body Parameters
The area to toggle sync
UpdateSyncedAreasDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| SyncFeatures |
Indicates whether sync features is true. |
boolean |
None. |
| SyncDescriptions |
Indicates whether sync descriptions is true. |
boolean |
None. |
| SyncPhotos |
Indicates whether sync photos is true. |
boolean |
None. |
| SyncVirtualTours |
Indicates whether sync virtual tours is true. |
boolean |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{
"SyncFeatures": true,
"SyncDescriptions": true,
"SyncPhotos": true,
"SyncVirtualTours": true
}
Response Information
Resource Description
The response returned after the operation completes.
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version |
The version value. |
Version |
None. |
| Content |
The content value. |
HttpContent |
None. |
| StatusCode |
The status code classification. |
HttpStatusCode |
None. |
| ReasonPhrase |
The reason phrase value. |
string |
None. |
| Headers |
The collection of headers. |
Collection of Object |
None. |
| RequestMessage |
The request message value. |
HttpRequestMessage |
None. |
| IsSuccessStatusCode |
Indicates whether this item is success status code. |
boolean |
None. |