TERES API

Download OpenAPI specification:

Dedicated RESTfull endpoints for mobile and frontend clients

Updated: 2025-08-21 09:41:53

Targets for controllers

authentication-controller - Authentication in system

gas-station-controller - Gas stations and work with it

teres-rfid-card-controller - Work with RFID cards for Teres

teres-report-controller

rfid-card-user-actions-protocol-controller

authentication-controller

Login

query Parameters
interfaceLanguage
string
Enum: "ua" "ru" "en"
username
required
string
password
required
string

Responses

Response samples

Content type
application/json
{
  • "accountType": "string",
  • "blocked": true,
  • "impersonation": true,
  • "message": "string",
  • "lastUpdateRead": true,
  • "belongsTo": "string",
  • "profileDto": {
    },
  • "login": "string",
  • "kind": "string",
  • "capabilities": {
    },
  • "show_hints": true
}

Logout

header Parameters
Authorization
required
string

Responses

Full logout

Responses

Get current username

Responses

Response samples

Content type
application/json
"string"

Check token for expiration

query Parameters
token
required
string

Responses

gas-station-controller

Get gas stations by owner login

query Parameters
owner
required
string

Responses

Response samples

Content type
application/json
[
  • {
    }
]

notification-controller

Get all unread notifications by owner login

path Parameters
ownerLogin
required
string
query Parameters
index
integer <int32>
descriptions
Array of strings

Responses

Response samples

Content type
application/json
[
  • {
    }
]

teres-report-controller

Create reports as json

path Parameters
gasStationId
required
integer <int64>
query Parameters
locale
required
string
Enum: "UA" "UK_UA" "UK" "RU_UA" "EN" "RU" "RU_RU"
required
object

Responses

Response samples

Content type
application/json
[
  • {
    }
]

teres-rfid-card-controller

getRfidCardsByOwner

path Parameters
login
required
string

Responses