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": "b4f5ca43-f15f-4ad5-9695-038ffcf2c3de", "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": "ec0b9380-38a8-46fb-80b0-c1ca93c150a5", "Teams": [ { "TeamId": "e32726b4-4ed2-49a3-80c2-5ee5b801defd", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "3effc500-70c7-4149-b16b-aa993fcc3c2f", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T17:11:07.8637986-08:00", "MeasurementValueNeededDate": "2025-01-30T17:11:07.8637986-08:00", "SourceSystemId": "sample string 3", "CompanyId": "da79d1d4-3df0-466f-a584-896351270a15", "CreateDate": "2025-01-30T17:11:07.8637986-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T17:11:07.8637986-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "3effc500-70c7-4149-b16b-aa993fcc3c2f", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T17:11:07.8637986-08:00", "MeasurementValueNeededDate": "2025-01-30T17:11:07.8637986-08:00", "SourceSystemId": "sample string 3", "CompanyId": "da79d1d4-3df0-466f-a584-896351270a15", "CreateDate": "2025-01-30T17:11:07.8637986-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T17:11:07.8637986-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "3af00b7f-1cbf-49f1-97da-126028924e28", "CreateDate": "2025-01-30T17:11:07.8637986-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T17:11:07.8637986-08:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "e32726b4-4ed2-49a3-80c2-5ee5b801defd", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "3effc500-70c7-4149-b16b-aa993fcc3c2f", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T17:11:07.8637986-08:00", "MeasurementValueNeededDate": "2025-01-30T17:11:07.8637986-08:00", "SourceSystemId": "sample string 3", "CompanyId": "da79d1d4-3df0-466f-a584-896351270a15", "CreateDate": "2025-01-30T17:11:07.8637986-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T17:11:07.8637986-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "3effc500-70c7-4149-b16b-aa993fcc3c2f", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T17:11:07.8637986-08:00", "MeasurementValueNeededDate": "2025-01-30T17:11:07.8637986-08:00", "SourceSystemId": "sample string 3", "CompanyId": "da79d1d4-3df0-466f-a584-896351270a15", "CreateDate": "2025-01-30T17:11:07.8637986-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T17:11:07.8637986-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "3af00b7f-1cbf-49f1-97da-126028924e28", "CreateDate": "2025-01-30T17:11:07.8637986-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T17:11:07.8637986-08: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": "d4ff9087-f303-4fed-be6e-bdf6f0ea2e86", "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": "f06baf72-8d46-493e-95c9-fb7e94085ed4", "Teams": [ { "TeamId": "f82fc3f1-69a7-4f6c-986d-7a25ea64a490", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "b1689f96-445d-47df-9f68-9a370901d4d4", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T17:11:07.8637986-08:00", "MeasurementValueNeededDate": "2025-01-30T17:11:07.8637986-08:00", "SourceSystemId": "sample string 3", "CompanyId": "053194ae-6936-418f-9bbf-13cde3af1e62", "CreateDate": "2025-01-30T17:11:07.8637986-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T17:11:07.8637986-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "b1689f96-445d-47df-9f68-9a370901d4d4", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T17:11:07.8637986-08:00", "MeasurementValueNeededDate": "2025-01-30T17:11:07.8637986-08:00", "SourceSystemId": "sample string 3", "CompanyId": "053194ae-6936-418f-9bbf-13cde3af1e62", "CreateDate": "2025-01-30T17:11:07.8637986-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T17:11:07.8637986-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "a9025230-c27c-489b-942d-96de5f5cf44b", "CreateDate": "2025-01-30T17:11:07.8637986-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T17:11:07.8637986-08:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "f82fc3f1-69a7-4f6c-986d-7a25ea64a490", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "b1689f96-445d-47df-9f68-9a370901d4d4", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T17:11:07.8637986-08:00", "MeasurementValueNeededDate": "2025-01-30T17:11:07.8637986-08:00", "SourceSystemId": "sample string 3", "CompanyId": "053194ae-6936-418f-9bbf-13cde3af1e62", "CreateDate": "2025-01-30T17:11:07.8637986-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T17:11:07.8637986-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "b1689f96-445d-47df-9f68-9a370901d4d4", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T17:11:07.8637986-08:00", "MeasurementValueNeededDate": "2025-01-30T17:11:07.8637986-08:00", "SourceSystemId": "sample string 3", "CompanyId": "053194ae-6936-418f-9bbf-13cde3af1e62", "CreateDate": "2025-01-30T17:11:07.8637986-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T17:11:07.8637986-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "a9025230-c27c-489b-942d-96de5f5cf44b", "CreateDate": "2025-01-30T17:11:07.8637986-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T17:11:07.8637986-08:00", "LastModifiedUser": "sample string 6" } ] }, "Total": 1, "Message": "sample string 1" }