PUT api/integration/ziplingo/rep/preferences/{repDID}

Update representative preference information

Request Information

URI Parameters

NameDescriptionTypeAdditional information
repDID

string

Required

Body Parameters

ZipLingoUpdateRepPreferenceRequest
NameDescriptionTypeAdditional information
RepDID

Representative ID

string

None.

OptIn

OptIn value

boolean

None.

Request Formats

application/xml, text/xml

Sample:
<ZipLingoUpdateRepPreferenceRequest>
  <RepDID>sample string 1</RepDID>
  <OptIn>True</OptIn>
</ZipLingoUpdateRepPreferenceRequest>

application/json, text/json

Sample:
{
  "RepDID": "sample string 1",
  "OptIn": true
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedFormatter' to write type 'ZipLingoUpdateRepPreferenceRequest'.

Response Information

Resource Description

IOperationResult
NameDescriptionTypeAdditional information
IsSuccessful

boolean

None.

ValidationErrors

Dictionary of string [key] and string [value]

None.

Value

Object

None.

Response Formats

application/xml, text/xml

Sample:
<OperationResult>
  <IsSuccessful>False</IsSuccessful>
  <ValidationErrors />
  <Value />
</OperationResult>

application/json, text/json

Sample:
{
  "IsSuccessful": false,
  "ValidationErrors": {}
}