Resource URL Summary
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
Retrieve the details of a specific User GET /seiapi/v3/trans/User/${UserID} Insert or Update the details of a specific User PUT /seiapi/v3/trans/User/${UserID}?emailNotification=true Delete a specific User DELETE /seiapi/v3/trans/User/${UserID} Send Password Reset Email to a specific User PUT /seiapi/v3/trans/User/${UserID}/SendResetPasswordEmail Reset a User's Password PUT /seiapi/v3/trans/User/${UserID}/ResetPassword Change a User's Password PUT /seiapi/v3/trans/User/${UserID}/ChangePassword Change a User's Storage Location
Retrieve the Roles associated with a specific User
Update the Roles associated with a specific User
Assign Service Teams to a User PUT /seiapi/v3/trans/User/${UserID}/ServiceTeams Retrieve the details of a specific User's Entity GET /seiapi/v3/trans/User/${UserID}/Entity Change the details of a specific User's Entity
Delegate a specific Entity and Role
Impersonate a specific User
|
API Specific Parameters
Parameter | Description |
---|---|
| Identifies the |
User Object. | |
${EntityID} | Identifies the Entity Object. |
${RoleID} | Identifies the Role Object. |
emailNotification=true | Add this query string parameter with a value of true to email user name and password for a new user. |
Include Page | ||||
---|---|---|---|---|
|
API Specifics
Panel | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||
Retrieve the details of a specific UserThis REST API will return a User with the specified ID. The User with the specified ID must already exist in the system. URL
HTTP Request BodyThis request does not require a request body. HTTP Response BodyOn success, an HTTP response code of 200 will be returned, and the response body will contain aREST Object Definitions User Related Objects User Object . Otherwise, on error, the response body will contain a descriptive reason for the error.
|
Panel | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
Insert or Update the details of a specific UserThis REST API will insert a new User with the specified ID into the system, if a User with the specified ID does not already exist in the system. If, however, the User with the specified ID does already exist in the system, then this REST API will update (i.e. replace) the already existing User with the specified ID with the details of the User supplied in the HTTP Request Body. URL
HTTP Request BodyThe HTTP request body must contain a valid REST Object Definitions User Related Objects User Object. HTTP ResponseOn success the API will return a response code of 200. |
Panel | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
Delete a specific UserURL
HTTP Request BodyThis request does not require a request body. HTTP ResponseOn success an HTTP response code of 200 will be returned. The system will return HTTP response code 410 in case of non-existent REST Object Definitions User Related Objects User Object . |
Panel | ||
---|---|---|
| ||
Reset a User's PasswordThis REST API will automatically generate a new password and email it to the user. URL
HTTP Request BodyThis request does not require a request body. HTTP ResponseOn success an HTTP response code of 200 will be returned. |
Panel | ||
---|---|---|
| ||
Send Password Reset Email to a specific UserThis REST API will send password reset email for a forgotten password to User's email address. Email will contain a link to reset user's password. The User with the specified ID must already exist in the system. URL
HTTP Request BodyThis request does not require a request body. HTTP ResponseHTTP response code of 200 will be returned. |
Panel | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
Change a User's PasswordThis REST API will change a user's password to the supplied value. URL
HTTP Request BodyThe HTTP Request Body request body must contain the following JSON, where the supplied value is the password that is to be set.
HTTP ResponseOn success an HTTP response code of 200 will be returned. |
Panel | ||
---|---|---|
| ||
Change a User's Storage LocationThis REST API will change a user's Storage Location to the supplied value. A System Alert will be generated and sent to the mobile application to display to the logged on mobile worker when a new StorageLocationID has been assigned. URL
HTTP Request BodyThe HTTP request body must contain a valid User Storage Location Object. HTTP ResponseOn success an HTTP response code of 200 will be returned. |
Panel | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
Retrieve the Roles associated with a specific UserThis REST API will return all of the Roles associated with the User with the specified ID. The User with the specified ID must already exist in the system. See also the Role REST API. URL
HTTP Request BodyThis request does not require a request body. HTTP Response BodyOn success, an HTTP response code of 200 will be returned, and the response body will contain an array of Role ID values associated with the User. (The array may be empty, if no Roles as associated with the User.) Otherwise, on error, the response body will contain a descriptive reason for the error. |
Panel | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
Update the Roles associated with a specific UserThis REST API will return update the Roles associated with the User with the specified ID. The User with the specified ID must already exist in the system. See also the Role REST API. URL
HTTP Request BodyThe HTTP request body must contain an array of valid Role ID values.
The User will be updated to be associated with the list of Role IDs supplied. HTTP Response BodyOn success, an HTTP response code of 200 will be returned. |
Panel | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
Assign Service Teams to a UserThis REST API will assign supplied Service Teams to a user. URL
HTTP Request BodyThe HTTP Request Body request body must contain a collection of valid Service Teams.
HTTP ResponseOn success an HTTP response code of 200 will be returned. |
Panel | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||
Retrieve the details of a specific User's EntityThis REST API will return the details of User's Entity from the system. The User with the specified ID must already exist in the system. URL
HTTP Request BodyThis request does not require a request body. HTTP Response BodyOn success, an HTTP response code of 200 will be returned, and the response body will contain a User Entity Object. Otherwise, on error, the response body will contain a descriptive reason for the error.
|
Panel | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
Change the details of a specific User's EntityThis REST API will change the details of User's Entity supplied in the HTTP Request Body. The User with the specified ID must already exist in the system. URL
HTTP Request BodyThe HTTP request body must contain a valid User Entity Object. HTTP Response BodyOn success an HTTP response code of 200 will be returned. |
Panel | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||
Delegate a specific Entity and RoleThis REST API will allow a ServiceMobility Super Admin to act on behalf of another ServiceMobility Entity/Role. The Entity and Role with the specified IDs must already exist in the system.
URL
HTTP Request BodyThe HTTP request body must contain a JSON object containing the details of the ServiceMobility Super User that will be delegating as the Entity/Role:
HTTP Response BodyOn success, an HTTP response code of 200 will be returned, and the response body will be a JSON object containing a JWT which can then be used to authenticate API calls via the
Otherwise, on error, the response body will contain a descriptive reason for the error. |
Panel | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||
Impersonate a specific UserThis REST API will allow the ServicePower Hub admin user or a ServiceMobility Super Admin to impersonate another User for testing/debugging purposes. The User with the specified ID must already exist in the system.
URL
HTTP Request BodyThe HTTP request body must contain a JSON object containing the details of the ServicePower Hub admin user or ServiceMobility Super User that will be impersonating the specified user:
HTTP Response BodyOn success, an HTTP response code of 200 will be returned, and the response body will be a JSON object containing a JWT which can then be used to authenticate API calls via the
Otherwise, on error, the response body will contain a descriptive reason for the error. |