PUT api/role/{id}/setflag

Sets a flag on a property marketing role

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The id of the role

integer

Required

Body Parameters

The flag detail

SetMarketingFlagCommandDataContract
NameDescriptionTypeAdditional information
MarketingFlag

EnumDataContract

None.

Enabled

boolean

None.

NegotiatorId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "MarketingFlag": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "Enabled": true,
  "NegotiatorId": 2
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.