This method allows you to download a list of private exchanges. In response you will get a private exchange id which you will then use in publication method.
Authorization and access
Authorization process is described here. Each API request must also consist of unique Api-key obtained during application registration together with client_id and client_secret.
Url parameters and connection settings
- URL: https://api.platform.trans.eu
- Endpoint: /ext/private-exchange-api/v1/exchange
- Http Method: GET
Headers
- Accept: application/json
- Content-type: application/json
- Authorization: Bearer {access_token}
- Api-key: {unique_app_api-key}
Json response example
{
"exchanges": [
{
"created": "2021-09-09T06:06:25+00:00",
"id": "051d6148-903a-4735-bc57-feebfdd8c900",
"name": "Giełda Prywatna",
"type": "1_private"
}
],
"has_next_page": false,
"page": 1,
"page_size": 25
}