POST api/Authentication
Request Information
URI Parameters
None.
Body Parameters
AuthenticationRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Username | string |
None. |
|
| Password | string |
None. |
|
| TerminalId | string |
None. |
|
| IpAddress | string |
None. |
|
| AuthToken | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Username": "sample string 1",
"Password": "sample string 2",
"TerminalId": "sample string 3",
"IpAddress": "sample string 4",
"AuthToken": "sample string 5"
}
application/xml, text/xml
Sample:
<AuthenticationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PuntoGasServiceApi_ModelView.Session"> <AuthToken>sample string 5</AuthToken> <IpAddress>sample string 4</IpAddress> <Password>sample string 2</Password> <TerminalId>sample string 3</TerminalId> <Username>sample string 1</Username> </AuthenticationRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |