POST api/Tickets/ChangeSubmitter

Changes the ticket's submitter. Only operator can do it.

Request Information

URI Parameters

None.

Body Parameters

ChangeSubmitterPost
NameDescriptionTypeAdditional information
TicketId

(Required) The ticket Id where to change the submitter.

integer

None.

UserProviderKey

(Required) The new submitter provider key.

string

None.

CustomerId

(Optional) The customer id, if the field is set it will be used otherwise it will be used the customer id from user.

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TicketId": 1,
  "UserProviderKey": "a9cc8610-37a6-4a1a-b252-61bc5f88b79f",
  "CustomerId": null
}

application/xml, text/xml

Sample:
<ChangeSubmitterPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Posts">
  <CustomerId i:nil="true" />
  <TicketId>1</TicketId>
  <UserProviderKey>a9cc8610-37a6-4a1a-b252-61bc5f88b79f</UserProviderKey>
</ChangeSubmitterPost>

Response Information

Resource Description

IHttpActionResult

None.