Net3 API Interface for Customer Portal

<back to all web services

RolesUser

Requires Authentication
The following routes are available for this service:
GET/roles/{UserId}Retrieve Roles cor given User
PUT/roles/{UserId}Update the Roles for given User
RolesUser Parameters:
NameParameterData TypeRequiredDescription
rolesbodyList<Roles>No
UserIdpathGuidNo
Roles Parameters:
NameParameterData TypeRequiredDescription
rolesformList<Roles>No
UserIdformGuidNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + 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
}