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

Dezrez.Core.DataContracts.External.Api.Role.Command.SetMarketingFlag.SetMarketingFlagCommandDataContract
NameDescriptionTypeAdditional information
MarketingFlag

Dezrez.Core.DataContracts.External.Api.System.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

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional 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.