POST api/Tickets/ChangeSubmitter
Changes the ticket's submitter. Only operator can do it.
Request Information
URI Parameters
None.
Body Parameters
ChangeSubmitterPostName | Description | Type | Additional 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": "809f3895-2bef-44ed-ba74-7e93d84805dc", "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>809f3895-2bef-44ed-ba74-7e93d84805dc</UserProviderKey> </ChangeSubmitterPost>
Response Information
Resource Description
IHttpActionResultNone.