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": "db7b644b-2a71-4b4f-880e-b46da893ef34", "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": "849c4b38-e184-4a37-a098-45f8cf29559a", "Teams": [ { "TeamId": "1d55ec92-50dc-4642-a277-8dcf14562274", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "510c9f11-b1d6-42c6-a61a-36651c7591ed", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T09:29:38.1517728-08:00", "MeasurementValueNeededDate": "2024-11-22T09:29:38.1517728-08:00", "SourceSystemId": "sample string 3", "CompanyId": "e0f5a110-f77c-4a47-86ad-47a70f0582d7", "CreateDate": "2024-11-22T09:29:38.1517728-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T09:29:38.1517728-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "510c9f11-b1d6-42c6-a61a-36651c7591ed", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T09:29:38.1517728-08:00", "MeasurementValueNeededDate": "2024-11-22T09:29:38.1517728-08:00", "SourceSystemId": "sample string 3", "CompanyId": "e0f5a110-f77c-4a47-86ad-47a70f0582d7", "CreateDate": "2024-11-22T09:29:38.1517728-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T09:29:38.1517728-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "19ac70fb-a673-4d83-8a84-0764bc383145", "CreateDate": "2024-11-22T09:29:38.1517728-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T09:29:38.1517728-08:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "1d55ec92-50dc-4642-a277-8dcf14562274", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "510c9f11-b1d6-42c6-a61a-36651c7591ed", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T09:29:38.1517728-08:00", "MeasurementValueNeededDate": "2024-11-22T09:29:38.1517728-08:00", "SourceSystemId": "sample string 3", "CompanyId": "e0f5a110-f77c-4a47-86ad-47a70f0582d7", "CreateDate": "2024-11-22T09:29:38.1517728-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T09:29:38.1517728-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "510c9f11-b1d6-42c6-a61a-36651c7591ed", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T09:29:38.1517728-08:00", "MeasurementValueNeededDate": "2024-11-22T09:29:38.1517728-08:00", "SourceSystemId": "sample string 3", "CompanyId": "e0f5a110-f77c-4a47-86ad-47a70f0582d7", "CreateDate": "2024-11-22T09:29:38.1517728-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T09:29:38.1517728-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "19ac70fb-a673-4d83-8a84-0764bc383145", "CreateDate": "2024-11-22T09:29:38.1517728-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T09:29:38.1517728-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": "6bcbfcfd-1f9a-47ea-be0b-9c1b55698c90", "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": "0a080d4d-9cc6-408a-870a-0b0b60f73571", "Teams": [ { "TeamId": "41f7a825-b545-44fe-b4bc-fe78bf4c3653", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "7fc4bacc-cc96-4bb4-91e6-376087517f16", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T09:29:38.1517728-08:00", "MeasurementValueNeededDate": "2024-11-22T09:29:38.1517728-08:00", "SourceSystemId": "sample string 3", "CompanyId": "53c60722-943d-417e-b144-dcb0ab5a2f1e", "CreateDate": "2024-11-22T09:29:38.1517728-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T09:29:38.1517728-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "7fc4bacc-cc96-4bb4-91e6-376087517f16", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T09:29:38.1517728-08:00", "MeasurementValueNeededDate": "2024-11-22T09:29:38.1517728-08:00", "SourceSystemId": "sample string 3", "CompanyId": "53c60722-943d-417e-b144-dcb0ab5a2f1e", "CreateDate": "2024-11-22T09:29:38.1517728-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T09:29:38.1517728-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "b56f2480-09e4-4092-88fb-c8e3c2c028da", "CreateDate": "2024-11-22T09:29:38.1517728-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T09:29:38.1517728-08:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "41f7a825-b545-44fe-b4bc-fe78bf4c3653", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "7fc4bacc-cc96-4bb4-91e6-376087517f16", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T09:29:38.1517728-08:00", "MeasurementValueNeededDate": "2024-11-22T09:29:38.1517728-08:00", "SourceSystemId": "sample string 3", "CompanyId": "53c60722-943d-417e-b144-dcb0ab5a2f1e", "CreateDate": "2024-11-22T09:29:38.1517728-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T09:29:38.1517728-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "7fc4bacc-cc96-4bb4-91e6-376087517f16", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T09:29:38.1517728-08:00", "MeasurementValueNeededDate": "2024-11-22T09:29:38.1517728-08:00", "SourceSystemId": "sample string 3", "CompanyId": "53c60722-943d-417e-b144-dcb0ab5a2f1e", "CreateDate": "2024-11-22T09:29:38.1517728-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T09:29:38.1517728-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "b56f2480-09e4-4092-88fb-c8e3c2c028da", "CreateDate": "2024-11-22T09:29:38.1517728-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T09:29:38.1517728-08:00", "LastModifiedUser": "sample string 6" } ] }, "Total": 1, "Message": "sample string 1" }