POST api/Tickets/TicketsTransfer

Transfer tickets from the user to another with the same role. Only administrator can do it.

Request Information

URI Parameters

None.

Body Parameters

TicketsTransferPost
NameDescriptionTypeAdditional information
UserProviderKeyFrom

(Required) The user from whom the tickets will be transferred.

string

None.

UserProviderKeyTo

(Required) The user to whom the tickets will be assigned.

string

None.

OpenTicketsOnly

True - Only open tickets will be transferred. False - All user's tickets will be transferred.

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "UserProviderKeyFrom": "34609646-d9ca-4ec6-a79b-875dde4de83a",
  "UserProviderKeyTo": "5rf3e646-d9ca-4ec6-a79b-875ddewq45df",
  "OpenTicketsOnly": false
}

application/xml, text/xml

Sample:
<TicketsTransferPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Posts">
  <OpenTicketsOnly>false</OpenTicketsOnly>
  <UserProviderKeyFrom>34609646-d9ca-4ec6-a79b-875dde4de83a</UserProviderKeyFrom>
  <UserProviderKeyTo>5rf3e646-d9ca-4ec6-a79b-875ddewq45df</UserProviderKeyTo>
</TicketsTransferPost>

Response Information

Resource Description

IHttpActionResult

None.