(NEW v1.33.0) Create Account
POST {{URL_ORIGIN}}/api/accounts
This API allows to create a new MP.
ID will be returned in the response, this ID is the unique identifier of the MP and should be used when sending update commands.
Note: this ID can be retrieved via Get MPs API.
Create MP- Error Codes
Code | Message |
---|---|
1 | System is unavailable |
100 | Missing or invalid parameter: [FieldName] |
102 | [FieldName] already exists |
10001 | Permission denied |
Request Body
{"name"=>"Account 1", "mpId"=>"22987", "comment"=>"New Account"}
RESPONSES
status: OK
{"id":"897","data":{"userId":"auth0|644f8d50c6779e5c9b7b00ef|1","name":"Account 1","mpId":"22987"},"requestType":"CreateAccount","name":"Account 1","status":"Pending","makerComment":"New Account","makerUserId":"auth0|644f8d50c6779e5c9b7b00ef","makerUserType":"Admin","timestamp":"2024-08-19T05:23:49.519"}