Dispute API documentation
Authentication Service
The Authentication service provides a set of methods for obtaining, completing and validating the Dispute API working session.
Logout Method
To complete an API Dispute working session, call the Logout method.
Method address:
/webapi/v1/Auth/Logout
Request type: post
Key | Data type | Description |
---|---|---|
X-Authorization | string |
Key | Data type | Description |
---|---|---|
success | boolean | Action result |
errorMessage | string | Error text |
An example of HTTP request
JSON
JSON
POST http://<Имя сервера Диспут+>/webapi/v1/auth/Logout HTTP/1.1
Accept-Encoding: gzip,deflate
X-Authorization: <значение маркера доступа>
Content-Type: application/json
Content-Length: 0
Host: <Имя сервера Диспут+>
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
An example of HTTP response
JSON
JSON
HTTP/1.1 200 OKCache-Control: no-cache
Pragma: no-cache
Content-Length: 23
Content-Type: application/json; charset=utf-8
Expires: -1
Server: Microsoft-IIS/8.5
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Wed, 25 Apr 2018 12:01:46 GMT
{
"success": true
}