PUT api/role/{id}/setflag
Sets a flag on a property marketing role
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The id of the role |
integer |
Required |
Body Parameters
The flag detail
SetMarketingFlagCommandDataContractName | Description | Type | Additional information |
---|---|---|---|
MarketingFlag | EnumDataContract |
None. |
|
Enabled | boolean |
None. |
|
NegotiatorId | integer |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{ "MarketingFlag": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "Enabled": true, "NegotiatorId": 2 }
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. |