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": "fee59fd4-445c-4c45-9efd-6ad5e69dac5d", "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": "9675dada-9245-4e62-86b3-6c677610c22e", "Teams": [ { "TeamId": "b10b56c4-9a51-4d08-b3f8-d96d9fdd4855", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "89441f3c-1dd1-4afa-9630-6bc1f9b60fe1", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-05-09T01:25:02.7887715-07:00", "MeasurementValueNeededDate": "2025-05-09T01:25:02.7887715-07:00", "SourceSystemId": "sample string 3", "CompanyId": "96682b70-beee-429a-a771-8e6e387f0281", "CreateDate": "2025-05-09T01:25:02.7887715-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T01:25:02.7887715-07:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "89441f3c-1dd1-4afa-9630-6bc1f9b60fe1", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-05-09T01:25:02.7887715-07:00", "MeasurementValueNeededDate": "2025-05-09T01:25:02.7887715-07:00", "SourceSystemId": "sample string 3", "CompanyId": "96682b70-beee-429a-a771-8e6e387f0281", "CreateDate": "2025-05-09T01:25:02.7887715-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T01:25:02.7887715-07:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "ddd0aedc-9870-433c-a8e4-e8df1b303b9c", "CreateDate": "2025-05-09T01:25:02.7887715-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T01:25:02.7887715-07:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "b10b56c4-9a51-4d08-b3f8-d96d9fdd4855", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "89441f3c-1dd1-4afa-9630-6bc1f9b60fe1", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-05-09T01:25:02.7887715-07:00", "MeasurementValueNeededDate": "2025-05-09T01:25:02.7887715-07:00", "SourceSystemId": "sample string 3", "CompanyId": "96682b70-beee-429a-a771-8e6e387f0281", "CreateDate": "2025-05-09T01:25:02.7887715-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T01:25:02.7887715-07:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "89441f3c-1dd1-4afa-9630-6bc1f9b60fe1", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-05-09T01:25:02.7887715-07:00", "MeasurementValueNeededDate": "2025-05-09T01:25:02.7887715-07:00", "SourceSystemId": "sample string 3", "CompanyId": "96682b70-beee-429a-a771-8e6e387f0281", "CreateDate": "2025-05-09T01:25:02.7887715-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T01:25:02.7887715-07:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "ddd0aedc-9870-433c-a8e4-e8df1b303b9c", "CreateDate": "2025-05-09T01:25:02.7887715-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T01:25:02.7887715-07:00", "LastModifiedUser": "sample string 6" } ] }, "Total": 1, "Message": "sample string 1" }