POST api/Tickets/SetThirdPartyAttributes
Sets the third party attributes when the ticket is in Waiting for a third party state.
Request Information
URI Parameters
None.
Body Parameters
SetThirdPartyAttributesPostName | Description | Type | Additional information |
---|---|---|---|
TicketId |
(Required) The Ticket Id to set the attributes. |
integer |
None. |
CustomerId |
The customer Id the ticket is waiting for. If not set, the customer Id will be removed. |
integer |
None. |
UserProviderKey |
The user Id the ticket is waiting for. If not set, the user Id will be removed. |
string |
None. |
Note |
The note of the Waiting for a third party state. If not set, the note will be removed. |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "TicketId": 1234, "CustomerId": 123, "UserProviderKey": "2a36276e-f6c5-4f13-bfc6-12f197d19eac", "Note": "This is the note of the Waiting for a third party state." }
application/xml, text/xml
Sample:
<SetThirdPartyAttributesPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Posts.Tickets"> <CustomerId>123</CustomerId> <Note>This is the note of the Waiting for a third party state.</Note> <TicketId>1234</TicketId> <UserProviderKey>2a36276e-f6c5-4f13-bfc6-12f197d19eac</UserProviderKey> </SetThirdPartyAttributesPost>
Response Information
Resource Description
IHttpActionResultNone.