POST api/accountService/v1/credentials
Request Information
URI Parameters
None.
Body Parameters
CheckCredentialsRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Username | string |
Required |
|
| Password | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"Username": "sample string 1",
"Password": "sample string 2"
}
application/xml, text/xml
Sample:
<CheckCredentialsRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Qcs.WebApi.WebApiModels"> <Password>sample string 2</Password> <Username>sample string 1</Username> </CheckCredentialsRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CheckCredentialsResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserInformation | UserInformationModel |
None. |
|
| IsSuccess | boolean |
Required |
|
| ErrorCodes | Collection of string |
Required |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"UserInformation": {
"FirstName": "sample string 1",
"LastName": "sample string 2",
"CardholderId": "sample string 3",
"EmailAddress": "sample string 4"
},
"IsSuccess": true,
"ErrorCodes": [
"sample string 1",
"sample string 2"
],
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<CheckCredentialsResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Qcs.WebApi.WebApiModels">
<ErrorCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ErrorCodes>
<IsSuccess>true</IsSuccess>
<Message>sample string 2</Message>
<UserInformation>
<CardholderId>sample string 3</CardholderId>
<EmailAddress>sample string 4</EmailAddress>
<FirstName>sample string 1</FirstName>
<LastName>sample string 2</LastName>
</UserInformation>
</CheckCredentialsResponseModel>