How do I call the currency_pair_conventions endpoints over HTTP?
Table of Contents
- 1. Endpoints
- 1.1.
GET /api/v1/reference-data/currency_pair_conventions - 1.2.
GET /api/v1/reference-data/currency_pair_conventions/__none__ - 1.3.
POST /api/v1/reference-data/currency_pair_conventions/get-many - 1.4.
POST /api/v1/reference-data/currency_pair_conventions - 1.5.
PUT /api/v1/reference-data/currency_pair_conventions - 1.6.
POST /api/v1/reference-data/currency_pair_conventions/put-many - 1.7.
DELETE /api/v1/reference-data/currency_pair_conventions/__none__ - 1.8.
POST /api/v1/reference-data/currency_pair_conventions/delete-many - 1.9.
GET /api/v1/reference-data/currency_pair_conventions/__none__/versions - 1.10.
GET /api/v1/reference-data/currency_pair_conventions/__none__/versions/0
- 1.1.
This file documents the currency_pair_conventions resource over HTTP, one section per endpoint. Every section exports its own Hurl file into projects/ores.http/scripts/library/. Running a file sends that one request, so a failure names the endpoint it came from.
1. Endpoints
1.1. GET /api/v1/reference-data/currency_pair_conventions
List currency pair conventions. It needs a session.
It forwards to refdata.v1.currency_pair_conventions.list.
The request is:
GET /api/v1/reference-data/currency_pair_conventions
GET {{base_url}}/api/v1/reference-data/currency_pair_conventions
Accept: application/json
Authorization: Bearer {{token}}
HTTP 200
1.2. GET /api/v1/reference-data/currency_pair_conventions/__none__
Get one currency pair convention. It needs a session.
It forwards to refdata.v1.currency_pair_conventions.get.
The request is:
GET /api/v1/reference-data/currency_pair_conventions/__none__
GET {{base_url}}/api/v1/reference-data/currency_pair_conventions/__none__
Accept: application/json
Authorization: Bearer {{token}}
HTTP 200
1.3. POST /api/v1/reference-data/currency_pair_conventions/get-many
Get many currency pair conventions. It needs a session.
It forwards to refdata.v1.currency_pair_conventions.get_many.
The request is:
POST /api/v1/reference-data/currency_pair_conventions/get-many
POST {{base_url}}/api/v1/reference-data/currency_pair_conventions/get-many
Accept: application/json
Authorization: Bearer {{token}}
HTTP 200
1.4. POST /api/v1/reference-data/currency_pair_conventions
Create one currency pair convention. It needs a session.
It forwards to refdata.v1.currency_pair_conventions.put.
The request is:
POST /api/v1/reference-data/currency_pair_conventions
POST {{base_url}}/api/v1/reference-data/currency_pair_conventions
Accept: application/json
Authorization: Bearer {{token}}
HTTP 200
1.5. PUT /api/v1/reference-data/currency_pair_conventions
Replace one currency pair convention. It needs a session.
It forwards to refdata.v1.currency_pair_conventions.put.
The request is:
PUT /api/v1/reference-data/currency_pair_conventions
PUT {{base_url}}/api/v1/reference-data/currency_pair_conventions
Accept: application/json
Authorization: Bearer {{token}}
HTTP 200
1.6. POST /api/v1/reference-data/currency_pair_conventions/put-many
Write many currency pair conventions. It needs a session.
It forwards to refdata.v1.currency_pair_conventions.put_many.
The request is:
POST /api/v1/reference-data/currency_pair_conventions/put-many
POST {{base_url}}/api/v1/reference-data/currency_pair_conventions/put-many
Accept: application/json
Authorization: Bearer {{token}}
HTTP 200
1.7. DELETE /api/v1/reference-data/currency_pair_conventions/__none__
Delete one currency pair convention. It needs a session.
It forwards to refdata.v1.currency_pair_conventions.delete.
The request is:
DELETE /api/v1/reference-data/currency_pair_conventions/__none__
DELETE {{base_url}}/api/v1/reference-data/currency_pair_conventions/__none__
Accept: application/json
Authorization: Bearer {{token}}
HTTP 200
1.8. POST /api/v1/reference-data/currency_pair_conventions/delete-many
Delete many currency pair conventions. It needs a session.
It forwards to refdata.v1.currency_pair_conventions.delete_many.
The request is:
POST /api/v1/reference-data/currency_pair_conventions/delete-many
POST {{base_url}}/api/v1/reference-data/currency_pair_conventions/delete-many
Accept: application/json
Authorization: Bearer {{token}}
HTTP 200
1.9. GET /api/v1/reference-data/currency_pair_conventions/__none__/versions
List the recorded versions of one currency pair convention. It needs a session.
It forwards to refdata.v1.currency_pair_conventions_versions.list.
The request is:
GET /api/v1/reference-data/currency_pair_conventions/__none__/versions
GET {{base_url}}/api/v1/reference-data/currency_pair_conventions/__none__/versions
Accept: application/json
Authorization: Bearer {{token}}
HTTP 200
1.10. GET /api/v1/reference-data/currency_pair_conventions/__none__/versions/0
Get one recorded version of one currency pair convention. It needs a session.
It forwards to refdata.v1.currency_pair_conventions_versions.get.
The request is:
GET /api/v1/reference-data/currency_pair_conventions/__none__/versions/0
GET {{base_url}}/api/v1/reference-data/currency_pair_conventions/__none__/versions/0
Accept: application/json
Authorization: Bearer {{token}}
HTTP 200