POST Users/Validate
Validates the given user.
Request Information
URI Parameters
None.
Body Parameters
User to be validated
ValidateUserParametersName | Description | Type | Additional information |
---|---|---|---|
UserName | string |
None. |
|
Password | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserName": "sample string 1", "Password": "sample string 2" }
Response Information
Resource Description
On success, the validated user.
Name | Description | Type | Additional information |
---|---|---|---|
Data | User |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "UserId": "1699ff01-f840-479c-9de7-d878571b9376", "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": "a654145e-970d-4bcb-81a0-bb23c199c219", "Teams": [ { "TeamId": "07b0d3c7-994a-4e5c-afee-4e2b4fecb2a0", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "0a0fbe5d-d587-4711-b393-e87322769ecb", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-02T11:20:45.9546973-08:00", "MeasurementValueNeededDate": "2025-01-02T11:20:45.9546973-08:00", "SourceSystemId": "sample string 3", "CompanyId": "0fe06a13-41ed-4821-948f-47afddf4b434", "CreateDate": "2025-01-02T11:20:45.9546973-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-02T11:20:45.9546973-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "0a0fbe5d-d587-4711-b393-e87322769ecb", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-02T11:20:45.9546973-08:00", "MeasurementValueNeededDate": "2025-01-02T11:20:45.9546973-08:00", "SourceSystemId": "sample string 3", "CompanyId": "0fe06a13-41ed-4821-948f-47afddf4b434", "CreateDate": "2025-01-02T11:20:45.9546973-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-02T11:20:45.9546973-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "430f95fb-3c33-401e-b7b9-0f7e4fda434b", "CreateDate": "2025-01-02T11:20:45.9546973-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-02T11:20:45.9546973-08:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "07b0d3c7-994a-4e5c-afee-4e2b4fecb2a0", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "0a0fbe5d-d587-4711-b393-e87322769ecb", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-02T11:20:45.9546973-08:00", "MeasurementValueNeededDate": "2025-01-02T11:20:45.9546973-08:00", "SourceSystemId": "sample string 3", "CompanyId": "0fe06a13-41ed-4821-948f-47afddf4b434", "CreateDate": "2025-01-02T11:20:45.9546973-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-02T11:20:45.9546973-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "0a0fbe5d-d587-4711-b393-e87322769ecb", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-02T11:20:45.9546973-08:00", "MeasurementValueNeededDate": "2025-01-02T11:20:45.9546973-08:00", "SourceSystemId": "sample string 3", "CompanyId": "0fe06a13-41ed-4821-948f-47afddf4b434", "CreateDate": "2025-01-02T11:20:45.9546973-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-02T11:20:45.9546973-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "430f95fb-3c33-401e-b7b9-0f7e4fda434b", "CreateDate": "2025-01-02T11:20:45.9546973-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-02T11:20:45.9546973-08:00", "LastModifiedUser": "sample string 6" } ] }, "Total": 1, "Message": "sample string 1" }