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": "1977dd02-ef0b-4d5e-b444-32f8ac6ed37f", "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": "96115ef6-475a-4dc8-9d7f-ae24b733e42f", "Teams": [ { "TeamId": "709f99db-f073-4c90-a8ec-0c8cc28d6b7e", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "c894fce7-423b-4756-ba91-97611534f975", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T21:30:23.4872531-08:00", "MeasurementValueNeededDate": "2024-11-22T21:30:23.4872531-08:00", "SourceSystemId": "sample string 3", "CompanyId": "2e366861-17a1-4837-b1d1-b4f7a6000530", "CreateDate": "2024-11-22T21:30:23.4872531-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T21:30:23.4872531-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "c894fce7-423b-4756-ba91-97611534f975", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T21:30:23.4872531-08:00", "MeasurementValueNeededDate": "2024-11-22T21:30:23.4872531-08:00", "SourceSystemId": "sample string 3", "CompanyId": "2e366861-17a1-4837-b1d1-b4f7a6000530", "CreateDate": "2024-11-22T21:30:23.4872531-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T21:30:23.4872531-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "c4ecd918-3f37-40fb-840b-282592d8cfbc", "CreateDate": "2024-11-22T21:30:23.4872531-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T21:30:23.4872531-08:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "709f99db-f073-4c90-a8ec-0c8cc28d6b7e", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "c894fce7-423b-4756-ba91-97611534f975", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T21:30:23.4872531-08:00", "MeasurementValueNeededDate": "2024-11-22T21:30:23.4872531-08:00", "SourceSystemId": "sample string 3", "CompanyId": "2e366861-17a1-4837-b1d1-b4f7a6000530", "CreateDate": "2024-11-22T21:30:23.4872531-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T21:30:23.4872531-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "c894fce7-423b-4756-ba91-97611534f975", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T21:30:23.4872531-08:00", "MeasurementValueNeededDate": "2024-11-22T21:30:23.4872531-08:00", "SourceSystemId": "sample string 3", "CompanyId": "2e366861-17a1-4837-b1d1-b4f7a6000530", "CreateDate": "2024-11-22T21:30:23.4872531-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T21:30:23.4872531-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "c4ecd918-3f37-40fb-840b-282592d8cfbc", "CreateDate": "2024-11-22T21:30:23.4872531-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T21:30:23.4872531-08:00", "LastModifiedUser": "sample string 6" } ] }, "Total": 1, "Message": "sample string 1" }