PUT api/role/{id}/setcompliancechecks

Set the compliance checks on a property marketing role i.e. Valid Epc, Proof of ID or Proof of Ownership. Processes this role API request. The parameter and response sections describe the data exchanged with the API.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The id of the role

integer

Required

Body Parameters

The flag detail

SetComplianceChecksCommandDataContract
NameDescriptionTypeAdditional information
ValidEpcInPlace

Indicates whether valid epc in place is true.

boolean

None.

ProofOfIdReceived

Indicates whether proof of id received is true.

boolean

None.

ProofOfOwnershipReceived

Indicates whether proof of ownership received is true.

boolean

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "ValidEpcInPlace": true,
  "ProofOfIdReceived": true,
  "ProofOfOwnershipReceived": true
}

Response Information

Resource Description

The response returned after the operation completes.

HttpResponseMessage
NameDescriptionTypeAdditional 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.