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": "325fc465-7fc8-492e-8b59-5306db81bc19", "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": "1d684fb4-40e0-45a3-8482-fec3af257e45", "Teams": [ { "TeamId": "e15be53b-770d-4821-8f9c-9e54ac9c9914", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "fcd58573-5553-4368-a664-b08e418422d5", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T15:24:22.0389196-07:00", "MeasurementValueNeededDate": "2024-10-10T15:24:22.0389196-07:00", "SourceSystemId": "sample string 3", "CompanyId": "47d32f2d-b706-4d9d-bd09-dcb46645164f", "CreateDate": "2024-10-10T15:24:22.0389196-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:24:22.0389196-07:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "fcd58573-5553-4368-a664-b08e418422d5", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T15:24:22.0389196-07:00", "MeasurementValueNeededDate": "2024-10-10T15:24:22.0389196-07:00", "SourceSystemId": "sample string 3", "CompanyId": "47d32f2d-b706-4d9d-bd09-dcb46645164f", "CreateDate": "2024-10-10T15:24:22.0389196-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:24:22.0389196-07:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "c035562b-9997-45d6-bc6a-cac6ee18ef5d", "CreateDate": "2024-10-10T15:24:22.0389196-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:24:22.0389196-07:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "e15be53b-770d-4821-8f9c-9e54ac9c9914", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "fcd58573-5553-4368-a664-b08e418422d5", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T15:24:22.0389196-07:00", "MeasurementValueNeededDate": "2024-10-10T15:24:22.0389196-07:00", "SourceSystemId": "sample string 3", "CompanyId": "47d32f2d-b706-4d9d-bd09-dcb46645164f", "CreateDate": "2024-10-10T15:24:22.0389196-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:24:22.0389196-07:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "fcd58573-5553-4368-a664-b08e418422d5", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T15:24:22.0389196-07:00", "MeasurementValueNeededDate": "2024-10-10T15:24:22.0389196-07:00", "SourceSystemId": "sample string 3", "CompanyId": "47d32f2d-b706-4d9d-bd09-dcb46645164f", "CreateDate": "2024-10-10T15:24:22.0389196-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:24:22.0389196-07:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "c035562b-9997-45d6-bc6a-cac6ee18ef5d", "CreateDate": "2024-10-10T15:24:22.0389196-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:24:22.0389196-07:00", "LastModifiedUser": "sample string 6" } ] }, "Total": 1, "Message": "sample string 1" }