PUT api/integration/ziplingo/rep/preferences/{repDID}
Update representative preference information
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
repDID | string |
Required |
Body Parameters
ZipLingoUpdateRepPreferenceRequestName | Description | Type | Additional 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:
Response Information
Resource Description
IOperationResultName | Description | Type | Additional 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": {} }