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

SetThirdPartyAttributesPost
NameDescriptionTypeAdditional 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": "16f0b1f3-4270-4721-b820-37d9602abe9c",
  "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>16f0b1f3-4270-4721-b820-37d9602abe9c</UserProviderKey>
</SetThirdPartyAttributesPost>

Response Information

Resource Description

IHttpActionResult

None.