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": "4749d948-32d1-4980-8a2f-f31f363514a1",
  "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>4749d948-32d1-4980-8a2f-f31f363514a1</UserProviderKey>
</ChangeSubmitterPost>

Response Information

Resource Description

IHttpActionResult

None.