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": "511b1e82-ea80-4a53-be19-cb319cddb6a6", "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": "3f8ab7f6-c816-44eb-93ae-bcf09f9b5919", "Teams": [ { "TeamId": "bd026c09-2b91-4276-b89f-0f657ebe956b", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "3d59c9b4-3e0d-48d6-94ed-bb08b8d68af8", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-03T15:16:55.806012-07:00", "MeasurementValueNeededDate": "2025-04-03T15:16:55.806012-07:00", "SourceSystemId": "sample string 3", "CompanyId": "5c229fb0-5bbc-49a0-bc8b-5ab87d4d4e6b", "CreateDate": "2025-04-03T15:16:55.806012-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:16:55.806012-07:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "3d59c9b4-3e0d-48d6-94ed-bb08b8d68af8", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-03T15:16:55.806012-07:00", "MeasurementValueNeededDate": "2025-04-03T15:16:55.806012-07:00", "SourceSystemId": "sample string 3", "CompanyId": "5c229fb0-5bbc-49a0-bc8b-5ab87d4d4e6b", "CreateDate": "2025-04-03T15:16:55.806012-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:16:55.806012-07:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "b918787e-cfae-4dc5-85ef-c864ec22e077", "CreateDate": "2025-04-03T15:16:55.806012-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:16:55.806012-07:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "bd026c09-2b91-4276-b89f-0f657ebe956b", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "3d59c9b4-3e0d-48d6-94ed-bb08b8d68af8", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-03T15:16:55.806012-07:00", "MeasurementValueNeededDate": "2025-04-03T15:16:55.806012-07:00", "SourceSystemId": "sample string 3", "CompanyId": "5c229fb0-5bbc-49a0-bc8b-5ab87d4d4e6b", "CreateDate": "2025-04-03T15:16:55.806012-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:16:55.806012-07:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "3d59c9b4-3e0d-48d6-94ed-bb08b8d68af8", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-03T15:16:55.806012-07:00", "MeasurementValueNeededDate": "2025-04-03T15:16:55.806012-07:00", "SourceSystemId": "sample string 3", "CompanyId": "5c229fb0-5bbc-49a0-bc8b-5ab87d4d4e6b", "CreateDate": "2025-04-03T15:16:55.806012-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:16:55.806012-07:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "b918787e-cfae-4dc5-85ef-c864ec22e077", "CreateDate": "2025-04-03T15:16:55.806012-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:16:55.806012-07:00", "LastModifiedUser": "sample string 6" } ] }, "Total": 1, "Message": "sample string 1" }