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": "6517dea2-64de-405c-bdb7-f02c83334164", "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": "744c3a04-1419-473d-97c8-88f78ae8e5d6", "Teams": [ { "TeamId": "5faad9e2-2f8b-4e5f-abaa-a81ab1f69133", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "891a2ed2-33f0-4881-8561-888c6475fbfb", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T12:30:52.563062-08:00", "MeasurementValueNeededDate": "2024-11-22T12:30:52.563062-08:00", "SourceSystemId": "sample string 3", "CompanyId": "ee70e3ba-d4cc-4b31-b79b-1cf95cb0fe34", "CreateDate": "2024-11-22T12:30:52.563062-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T12:30:52.563062-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "891a2ed2-33f0-4881-8561-888c6475fbfb", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T12:30:52.563062-08:00", "MeasurementValueNeededDate": "2024-11-22T12:30:52.563062-08:00", "SourceSystemId": "sample string 3", "CompanyId": "ee70e3ba-d4cc-4b31-b79b-1cf95cb0fe34", "CreateDate": "2024-11-22T12:30:52.563062-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T12:30:52.563062-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "5e7a999c-e7a4-4499-bf74-4159f9669b4f", "CreateDate": "2024-11-22T12:30:52.563062-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T12:30:52.563062-08:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "5faad9e2-2f8b-4e5f-abaa-a81ab1f69133", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "891a2ed2-33f0-4881-8561-888c6475fbfb", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T12:30:52.563062-08:00", "MeasurementValueNeededDate": "2024-11-22T12:30:52.563062-08:00", "SourceSystemId": "sample string 3", "CompanyId": "ee70e3ba-d4cc-4b31-b79b-1cf95cb0fe34", "CreateDate": "2024-11-22T12:30:52.563062-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T12:30:52.563062-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "891a2ed2-33f0-4881-8561-888c6475fbfb", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T12:30:52.563062-08:00", "MeasurementValueNeededDate": "2024-11-22T12:30:52.563062-08:00", "SourceSystemId": "sample string 3", "CompanyId": "ee70e3ba-d4cc-4b31-b79b-1cf95cb0fe34", "CreateDate": "2024-11-22T12:30:52.563062-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T12:30:52.563062-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "5e7a999c-e7a4-4499-bf74-4159f9669b4f", "CreateDate": "2024-11-22T12:30:52.563062-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T12:30:52.563062-08:00", "LastModifiedUser": "sample string 6" } ] }, "Total": 1, "Message": "sample string 1" }