Users / Types

Create User Type

This endpoint allows you to create a User Type based on JSON input.

You will only be able to create a User Type after first providing the Session Key. To know how you can obtain the Session Key, go to Authentication.

HEADERS

ParameterValueDescription
Content-Typeapplication/jsonLanguage in which all request and response bodies are encoded
Accept*/*Any data of whatever mime type is accepted
X-Session-KeyAUTH_TOKENThis field must be completed with the token obtained at the authentication

REQUEST

ParameterTypeDescription
branchVisibilityArrayIn which Branch the User Type is visible
descriptionBRStringUser Type label in Brasilian Portuguese
descriptionDEStringUser Type label in German
descriptionDKStringUser Type label in Dutch
descriptionEN (Required)StringUser Type label in English
descriptionESStringUser Type label in Spanish
descriptionFRStringUser Type label in French
descriptionITStringUser Type label in Italian
descriptionPTStringUser Type label in Portuguese
descriptionRUStringUser Type label in Russian
descriptionUSStringUser Type label in American English
orderIntegerThe position of the User Type in the User Types value list

RESPONSE

Returns a JSON with information about the User Type just created.

AttributeType
IdId assigned to the new User Type
MessageThe operation status
</br> **RESPONSE CODES**
StatusDescription
200 OKShows if operation succeeded
400 Bad RequestShows when an invalid request or the requested service is not available
post/userTypes

Request

  • Base URL: https://api.forcemanager.com/api/v4
  • URL: https://api.forcemanager.com/api/v4/userTypes
  • Auth: API key in header X-Session-Key

Headers

Acceptstring

Request body

descriptionENstring

Response

Create User Type

Changes

No recorded changes to this operation across all 1 revision of this API.