GET | /roles/{UserId} | Retrieve Roles cor given User | |
---|---|---|---|
PUT | /roles/{UserId} | Update the Roles for given User |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
roles | body | List<Roles> | No | |
UserId | path | Guid | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
roles | form | List<Roles> | No | |
UserId | form | Guid | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PUT /roles/{UserId} HTTP/1.1
Host: n3tapi.palmettovdc.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
roles:
[
{
id: 00000000000000000000000000000000,
roleId: String,
role: String,
roleDescription: String
}
],
userId: 00000000000000000000000000000000
}