PUT api/role/{id}/updatesyncedareas
Toggle sync area for a given PropertyMarketingRole.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
the id of the role |
integer |
Required |
Body Parameters
The area to toggle sync
Dezrez.Core.DataContracts.External.Api.Role.Command.SetSyncValues.UpdateSyncedAreasDataContractName | Description | Type | Additional information |
---|---|---|---|
SyncFeatures | boolean |
None. |
|
SyncDescriptions | boolean |
None. |
|
SyncPhotos | boolean |
None. |
|
SyncVirtualTours | 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
System.Net.Http.HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | System.Version |
None. |
|
Content | System.Net.Http.HttpContent |
None. |
|
StatusCode | System.Net.HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | System.Net.Http.HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |