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": "b4aec255-6861-4f58-8de1-351e2093c3a9", "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": "c86ee164-eae6-43d8-8f59-21f206cdf84e", "Teams": [ { "TeamId": "1cfc6392-ebb5-4fae-806e-8d4c71312397", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "fb771ac4-9779-4aa3-8485-678decf74df6", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-26T02:55:50.5296523-08:00", "MeasurementValueNeededDate": "2024-12-26T02:55:50.5296523-08:00", "SourceSystemId": "sample string 3", "CompanyId": "b363816e-e906-41a2-bd34-476697a34808", "CreateDate": "2024-12-26T02:55:50.5296523-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T02:55:50.5296523-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "fb771ac4-9779-4aa3-8485-678decf74df6", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-26T02:55:50.5296523-08:00", "MeasurementValueNeededDate": "2024-12-26T02:55:50.5296523-08:00", "SourceSystemId": "sample string 3", "CompanyId": "b363816e-e906-41a2-bd34-476697a34808", "CreateDate": "2024-12-26T02:55:50.5296523-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T02:55:50.5296523-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "a4711212-2ee7-4b27-82bf-1df9bb052013", "CreateDate": "2024-12-26T02:55:50.5296523-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T02:55:50.5296523-08:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "1cfc6392-ebb5-4fae-806e-8d4c71312397", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "fb771ac4-9779-4aa3-8485-678decf74df6", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-26T02:55:50.5296523-08:00", "MeasurementValueNeededDate": "2024-12-26T02:55:50.5296523-08:00", "SourceSystemId": "sample string 3", "CompanyId": "b363816e-e906-41a2-bd34-476697a34808", "CreateDate": "2024-12-26T02:55:50.5296523-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T02:55:50.5296523-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "fb771ac4-9779-4aa3-8485-678decf74df6", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-26T02:55:50.5296523-08:00", "MeasurementValueNeededDate": "2024-12-26T02:55:50.5296523-08:00", "SourceSystemId": "sample string 3", "CompanyId": "b363816e-e906-41a2-bd34-476697a34808", "CreateDate": "2024-12-26T02:55:50.5296523-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T02:55:50.5296523-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "a4711212-2ee7-4b27-82bf-1df9bb052013", "CreateDate": "2024-12-26T02:55:50.5296523-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T02:55:50.5296523-08:00", "LastModifiedUser": "sample string 6" } ] }, "Total": 1, "Message": "sample string 1" }