POST api/Customer/UpdateUser
Updates relationship between user and customer.
Request Information
URI Parameters
None.
Body Parameters
UpdateCustomerUserPostName | Description | Type | Additional information |
---|---|---|---|
UserProviderKey |
User id |
string |
None. |
CustomerId |
The Customer Id the user is assigned to |
integer |
None. |
CanAccessOthersTickets |
If true user can see others tickets |
boolean |
None. |
CanEditOthersTickets |
If true user can edit others tickets |
boolean |
None. |
CanManageOthersTickets |
If true user can manage others tickets workflow |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserProviderKey": "sample string 1", "CustomerId": 2, "CanAccessOthersTickets": true, "CanEditOthersTickets": true, "CanManageOthersTickets": true }
application/xml, text/xml
Sample:
<UpdateCustomerUserPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Posts"> <CanAccessOthersTickets>true</CanAccessOthersTickets> <CanEditOthersTickets>true</CanEditOthersTickets> <CanManageOthersTickets>true</CanManageOthersTickets> <CustomerId>2</CustomerId> <UserProviderKey>sample string 1</UserProviderKey> </UpdateCustomerUserPost>
Response Information
Resource Description
IHttpActionResultNone.