| 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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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: application/json
Content-Type: application/json
Content-Length: length
{"roles":[{"id":"00000000000000000000000000000000","roleId":"String","role":"String","roleDescription":"String"}],"userId":"00000000000000000000000000000000"}