Written by: | Akash Duseja (Deactivated) |
This article describes how to authenticate with Swagger using Price f(x) API. Base URL: https://www.pricefx.eu/pricefx/<partition-name>
Login
Before using majority of the Swagger functionality, the client application needs to authenticate with Price f(x). We use OAuth for authentication. Use the Base URL mentioned above URL https://www.pricefx.eu/pricefx/<partition-name> to access the endpoints described below.
...
Response Code: 204
All 3 Authentication Requests should have the following headers:
(the value for the pfxKeyString in the headers below can be provided by Price f(x) upon request)
Code Block |
---|
Content-Type: application/json
Accept: application/json
Pricefx-Key: pfxKeyString |
The value for the pfxKeyString
in the headers can be provided by Price f(x) upon request.
The login endpoint will return an access-token, an access-token-type and a refresh-token.
...