Skip to main content

User Management API

The ATMS User Management API will be exposed to trusted partner systems that have access to the network the API is hosted in. Each partner will be provided with a unique API key that should be used in in a header for each request. The specific header to include the key in is called “token”. In addition, each request should Accept application/json. A sample curl command would be as follows: curl -X GET --header 'Accept: application/json' --header 'token: {API Token}' '{Host}/api/Users'

API Definition

The API is organized into method sets, based on the type of data to be managed.

  • Users
  • User Groups

The returned data types are described in the following sections.

Users

Methods

ResourceUrlData PayloadDescriptionReturns
GET/api/UsersNoneReturns all users configured in ATMSuser[]
GET/api/Users/{username}NoneReturns details for a single unplanned event as specified by the id included in the requestuser
POST/api/UsersUserDefinitionAdds a new user account to the ATMSNone
PUT/api/Users/{username}UserDefinitionUpdates the account linked to the specified usernameNone
DELETE/api/Users/{username}NoneRemoves the account linked to the specified usernameNone
PUT/api/Users/{username}/disableNoneDisables the account linked to the specified username. The account remains in the ATMS, but the user will not be permitted to access the applicationNone
PUT/api/Users/{username}/enableNoneEnables the account linked to the specified username, permitting the user to access the ATMS.None

Data Formats

User

NameDescriptionTypeAdditional Information
UsernameUnique user name or e-mail address to apply to the accountstringThis value cannot be NULL or empty.This value is not editable once an account has been created.
DisplayNameLong name to display for the user account within the ATMSstringRequired
UserGroupNameName of the User Group the user should be assigned tostringRequired. Must match an existing User Group GroupName.
EmailEmail address of the userstringNot required
PhonePhone number of the userstringNot required
IsAccountDisabledIndicates if the account is currently locked/disabled (user is not permitted to access the system).BooleanRequired

UserDefinition

NameDescriptionTypeAdditional Information
UsernameUnique user name or e-mail address to apply to the accountstringThis value cannot be NULL or empty.This value is not editable once an account has been created.
DisplayNameLong name to display for the user account within the ATMSstringRequired
UserGroupNameName of the User Group the user should be assigned tostringRequired. Must match an existing User Group GroupName.
EmailEmail address of the userstringNot required
PhonePhone number of the userstringNot required

User Groups

Methods

ResourceUrlData PayloadDescriptionReturns
GET/api/UserGroupsNoneReturns all User Groups currently configured in ATMSuserGroup[]
GET/api/UserGroups/{GroupName}NoneReturns the specified User GroupuserGroup

Data Format

User Group

NameDescriptionTypeAdditional Information
GroupNameUnique name of the User GroupstringNone
DescriptionA description of the User Group. This may define the types of actions users in that user group perform.stringNone