POST api/Tickets/InviteUser
Invites the user into the ticket.
Request Information
URI Parameters
None.
Body Parameters
TicketInvitationAddPostName | Description | Type | Additional information |
---|---|---|---|
TicketId |
(Required) The ID of the ticket |
integer |
None. |
InviteUsersProviderKeys |
The list of users' Ids who will be invited to the ticket |
Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{ "TicketId": 123, "InviteUsersProviderKeys": [ "00000000-0000-0000-0000-000000000000" ] }
application/xml, text/xml
Sample:
<TicketInvitationAddPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Posts"> <InviteUsersProviderKeys xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>00000000-0000-0000-0000-000000000000</d2p1:string> </InviteUsersProviderKeys> <TicketId>123</TicketId> </TicketInvitationAddPost>
Response Information
Resource Description
IHttpActionResultNone.