POST Users
Creates a new user.
Request Information
URI Parameters
None.
Body Parameters
User to be created. UserId should not be filled in.
UserName | Description | Type | Additional information |
---|---|---|---|
UserId | globally unique identifier |
None. |
|
UserName | string |
None. |
|
FullName | string |
None. |
|
PhoneNumber | string |
None. |
|
string |
None. |
||
IsLockedOut | boolean |
None. |
|
IsApproved | boolean |
None. |
|
Role | Role |
None. |
|
CompanyId | globally unique identifier |
None. |
|
Teams | Collection of Team |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserId": "24a3a14c-ef14-4b65-a8f8-b88ecf5e3a22", "UserName": "sample string 1", "FullName": "sample string 2", "PhoneNumber": "sample string 3", "Email": "sample string 4", "IsLockedOut": true, "IsApproved": true, "Role": { "Name": "sample string 1", "Description": "sample string 2" }, "CompanyId": "3666ac82-f298-471a-b6ce-80282fc57885", "Teams": [ { "TeamId": "aa9eca06-3cc6-4c57-b148-21f06c1182df", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "b005d98e-df12-4f22-9ea1-01d1ef7536d3", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-29T17:13:55.5134329-07:00", "MeasurementValueNeededDate": "2025-08-29T17:13:55.5134329-07:00", "SourceSystemId": "sample string 3", "CompanyId": "3a640b01-9874-49e1-bfa5-964609b08986", "CreateDate": "2025-08-29T17:13:55.5134329-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:13:55.5134329-07:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "b005d98e-df12-4f22-9ea1-01d1ef7536d3", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-29T17:13:55.5134329-07:00", "MeasurementValueNeededDate": "2025-08-29T17:13:55.5134329-07:00", "SourceSystemId": "sample string 3", "CompanyId": "3a640b01-9874-49e1-bfa5-964609b08986", "CreateDate": "2025-08-29T17:13:55.5134329-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:13:55.5134329-07:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "ab12b3da-18ae-4cfa-bf33-ad52fc7debb5", "CreateDate": "2025-08-29T17:13:55.5134329-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:13:55.5134329-07:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "aa9eca06-3cc6-4c57-b148-21f06c1182df", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "b005d98e-df12-4f22-9ea1-01d1ef7536d3", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-29T17:13:55.5134329-07:00", "MeasurementValueNeededDate": "2025-08-29T17:13:55.5134329-07:00", "SourceSystemId": "sample string 3", "CompanyId": "3a640b01-9874-49e1-bfa5-964609b08986", "CreateDate": "2025-08-29T17:13:55.5134329-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:13:55.5134329-07:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "b005d98e-df12-4f22-9ea1-01d1ef7536d3", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-29T17:13:55.5134329-07:00", "MeasurementValueNeededDate": "2025-08-29T17:13:55.5134329-07:00", "SourceSystemId": "sample string 3", "CompanyId": "3a640b01-9874-49e1-bfa5-964609b08986", "CreateDate": "2025-08-29T17:13:55.5134329-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:13:55.5134329-07:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "ab12b3da-18ae-4cfa-bf33-ad52fc7debb5", "CreateDate": "2025-08-29T17:13:55.5134329-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:13:55.5134329-07:00", "LastModifiedUser": "sample string 6" } ] }
Response Information
Resource Description
On success, the created user.
Name | Description | Type | Additional information |
---|---|---|---|
Data | User |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "UserId": "957a7a3f-9a7b-47f6-995c-c7710315f34c", "UserName": "sample string 1", "FullName": "sample string 2", "PhoneNumber": "sample string 3", "Email": "sample string 4", "IsLockedOut": true, "IsApproved": true, "Role": { "Name": "sample string 1", "Description": "sample string 2" }, "CompanyId": "2b470329-c35c-4f62-bccd-3e060f779970", "Teams": [ { "TeamId": "5b8d8d73-b5a4-4f65-9dae-e154e42c046e", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "fd1e0ea9-c224-4f56-ab55-86073a7298ad", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-29T17:13:55.5134329-07:00", "MeasurementValueNeededDate": "2025-08-29T17:13:55.5134329-07:00", "SourceSystemId": "sample string 3", "CompanyId": "d0e0e6b8-9d01-4922-8187-9c4d8f8a1928", "CreateDate": "2025-08-29T17:13:55.5134329-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:13:55.5134329-07:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "fd1e0ea9-c224-4f56-ab55-86073a7298ad", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-29T17:13:55.5134329-07:00", "MeasurementValueNeededDate": "2025-08-29T17:13:55.5134329-07:00", "SourceSystemId": "sample string 3", "CompanyId": "d0e0e6b8-9d01-4922-8187-9c4d8f8a1928", "CreateDate": "2025-08-29T17:13:55.5134329-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:13:55.5134329-07:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "a75833c1-59cd-4c0c-966d-803d38b3ce73", "CreateDate": "2025-08-29T17:13:55.5134329-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:13:55.5134329-07:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "5b8d8d73-b5a4-4f65-9dae-e154e42c046e", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "fd1e0ea9-c224-4f56-ab55-86073a7298ad", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-29T17:13:55.5134329-07:00", "MeasurementValueNeededDate": "2025-08-29T17:13:55.5134329-07:00", "SourceSystemId": "sample string 3", "CompanyId": "d0e0e6b8-9d01-4922-8187-9c4d8f8a1928", "CreateDate": "2025-08-29T17:13:55.5134329-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:13:55.5134329-07:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "fd1e0ea9-c224-4f56-ab55-86073a7298ad", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-29T17:13:55.5134329-07:00", "MeasurementValueNeededDate": "2025-08-29T17:13:55.5134329-07:00", "SourceSystemId": "sample string 3", "CompanyId": "d0e0e6b8-9d01-4922-8187-9c4d8f8a1928", "CreateDate": "2025-08-29T17:13:55.5134329-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:13:55.5134329-07:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "a75833c1-59cd-4c0c-966d-803d38b3ce73", "CreateDate": "2025-08-29T17:13:55.5134329-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:13:55.5134329-07:00", "LastModifiedUser": "sample string 6" } ] }, "Total": 1, "Message": "sample string 1" }