POST api/Users/GetHashFromTc
Request Information
URI Parameters
None.
Body Parameters
GetToken| Name | Description | Type | Additional information |
|---|---|---|---|
| username | string |
None. |
|
| password | string |
None. |
|
| micrositeId | string |
None. |
|
| link_cliente | string |
None. |
|
| fazenviocliente | integer |
None. |
|
| _SendCredentials | string |
None. |
|
| hasError | boolean |
None. |
|
| hasErrorMessage | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"username": "sample string 1",
"password": "sample string 2",
"micrositeId": "sample string 3",
"link_cliente": "sample string 4",
"fazenviocliente": 5,
"_SendCredentials": "sample string 6",
"hasError": true,
"hasErrorMessage": "sample string 8"
}
application/xml, text/xml
Sample:
<cBookings.GetToken xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/wsgest"> <_SendCredentials>sample string 6</_SendCredentials> <fazenviocliente>5</fazenviocliente> <hasError>true</hasError> <hasErrorMessage>sample string 8</hasErrorMessage> <link_cliente>sample string 4</link_cliente> <micrositeId>sample string 3</micrositeId> <password>sample string 2</password> <username>sample string 1</username> </cBookings.GetToken>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultToken| Name | Description | Type | Additional information |
|---|---|---|---|
| token | string |
None. |
|
| expirationInSeconds | integer |
None. |
|
| hasError | boolean |
None. |
|
| hasErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"token": "sample string 1",
"expirationInSeconds": 2,
"hasError": true,
"hasErrorMessage": "sample string 4"
}
application/xml, text/xml
Sample:
<cBookings.ResultToken xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/wsgest"> <expirationInSeconds>2</expirationInSeconds> <hasError>true</hasError> <hasErrorMessage>sample string 4</hasErrorMessage> <token>sample string 1</token> </cBookings.ResultToken>