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": "bb2751e8-7276-4302-9d9c-b9d359342a60", "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": "10e1dcf4-d712-4a5c-a8a5-b8504d28115f", "Teams": [ { "TeamId": "3fe36588-3086-4ee5-ad9b-05bc93938f1a", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "7e7124eb-0c27-4d2f-8474-2ebcef7c243a", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-08T11:49:39.8970074-08:00", "MeasurementValueNeededDate": "2024-12-08T11:49:39.8970074-08:00", "SourceSystemId": "sample string 3", "CompanyId": "a697958e-5e8d-4270-ab33-5b00262c4b62", "CreateDate": "2024-12-08T11:49:39.8970074-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T11:49:39.8970074-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "7e7124eb-0c27-4d2f-8474-2ebcef7c243a", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-08T11:49:39.8970074-08:00", "MeasurementValueNeededDate": "2024-12-08T11:49:39.8970074-08:00", "SourceSystemId": "sample string 3", "CompanyId": "a697958e-5e8d-4270-ab33-5b00262c4b62", "CreateDate": "2024-12-08T11:49:39.8970074-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T11:49:39.8970074-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "de70cf86-8b5a-4fef-b965-bc9d94422322", "CreateDate": "2024-12-08T11:49:39.8970074-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T11:49:39.8970074-08:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "3fe36588-3086-4ee5-ad9b-05bc93938f1a", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "7e7124eb-0c27-4d2f-8474-2ebcef7c243a", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-08T11:49:39.8970074-08:00", "MeasurementValueNeededDate": "2024-12-08T11:49:39.8970074-08:00", "SourceSystemId": "sample string 3", "CompanyId": "a697958e-5e8d-4270-ab33-5b00262c4b62", "CreateDate": "2024-12-08T11:49:39.8970074-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T11:49:39.8970074-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "7e7124eb-0c27-4d2f-8474-2ebcef7c243a", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-08T11:49:39.8970074-08:00", "MeasurementValueNeededDate": "2024-12-08T11:49:39.8970074-08:00", "SourceSystemId": "sample string 3", "CompanyId": "a697958e-5e8d-4270-ab33-5b00262c4b62", "CreateDate": "2024-12-08T11:49:39.8970074-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T11:49:39.8970074-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "de70cf86-8b5a-4fef-b965-bc9d94422322", "CreateDate": "2024-12-08T11:49:39.8970074-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T11:49:39.8970074-08:00", "LastModifiedUser": "sample string 6" } ] }, "Total": 1, "Message": "sample string 1" }