How do I call the currency_pair_convention_calendars endpoints over HTTP?

Table of Contents

This file documents the currency_pair_convention_calendars 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_convention_calendars

List currency pair convention calendars. It needs a session.

It forwards to refdata.v1.currency_pair_convention_calendars.list.

The request is:

GET /api/v1/reference-data/currency_pair_convention_calendars
GET {{base_url}}/api/v1/reference-data/currency_pair_convention_calendars
Accept: application/json
Authorization: Bearer {{token}}
HTTP 200

1.2. GET /api/v1/reference-data/currency_pair_convention_calendars/__none__/__none__

Get one currency pair convention calendar. It needs a session.

It forwards to refdata.v1.currency_pair_convention_calendars.get.

The request is:

GET /api/v1/reference-data/currency_pair_convention_calendars/__none__/__none__
GET {{base_url}}/api/v1/reference-data/currency_pair_convention_calendars/__none__/__none__
Accept: application/json
Authorization: Bearer {{token}}
HTTP 200

1.3. POST /api/v1/reference-data/currency_pair_convention_calendars/get-many

Get many currency pair convention calendars. It needs a session.

It forwards to refdata.v1.currency_pair_convention_calendars.get_many.

The request is:

POST /api/v1/reference-data/currency_pair_convention_calendars/get-many
POST {{base_url}}/api/v1/reference-data/currency_pair_convention_calendars/get-many
Accept: application/json
Authorization: Bearer {{token}}
HTTP 200

1.4. POST /api/v1/reference-data/currency_pair_convention_calendars

Create one currency pair convention calendar. It needs a session.

It forwards to refdata.v1.currency_pair_convention_calendars.put.

The request is:

POST /api/v1/reference-data/currency_pair_convention_calendars
POST {{base_url}}/api/v1/reference-data/currency_pair_convention_calendars
Accept: application/json
Authorization: Bearer {{token}}
HTTP 200

1.5. PUT /api/v1/reference-data/currency_pair_convention_calendars

Replace one currency pair convention calendar. It needs a session.

It forwards to refdata.v1.currency_pair_convention_calendars.put.

The request is:

PUT /api/v1/reference-data/currency_pair_convention_calendars
PUT {{base_url}}/api/v1/reference-data/currency_pair_convention_calendars
Accept: application/json
Authorization: Bearer {{token}}
HTTP 200

1.6. POST /api/v1/reference-data/currency_pair_convention_calendars/put-many

Write many currency pair convention calendars. It needs a session.

It forwards to refdata.v1.currency_pair_convention_calendars.put_many.

The request is:

POST /api/v1/reference-data/currency_pair_convention_calendars/put-many
POST {{base_url}}/api/v1/reference-data/currency_pair_convention_calendars/put-many
Accept: application/json
Authorization: Bearer {{token}}
HTTP 200

1.7. DELETE /api/v1/reference-data/currency_pair_convention_calendars/__none__/__none__

Delete one currency pair convention calendar. It needs a session.

It forwards to refdata.v1.currency_pair_convention_calendars.delete.

The request is:

DELETE /api/v1/reference-data/currency_pair_convention_calendars/__none__/__none__
DELETE {{base_url}}/api/v1/reference-data/currency_pair_convention_calendars/__none__/__none__
Accept: application/json
Authorization: Bearer {{token}}
HTTP 200

1.8. POST /api/v1/reference-data/currency_pair_convention_calendars/delete-many

Delete many currency pair convention calendars. It needs a session.

It forwards to refdata.v1.currency_pair_convention_calendars.delete_many.

The request is:

POST /api/v1/reference-data/currency_pair_convention_calendars/delete-many
POST {{base_url}}/api/v1/reference-data/currency_pair_convention_calendars/delete-many
Accept: application/json
Authorization: Bearer {{token}}
HTTP 200

1.9. GET /api/v1/reference-data/currency_pair_convention_calendars/by-pair-code/__none__

List the currency pair convention calendars that reference one pair code. It needs a session.

It forwards to refdata.v1.currency_pair_convention_calendars.list_by_pair_code.

The request is:

GET /api/v1/reference-data/currency_pair_convention_calendars/by-pair-code/__none__
GET {{base_url}}/api/v1/reference-data/currency_pair_convention_calendars/by-pair-code/__none__
Accept: application/json
Authorization: Bearer {{token}}
HTTP 200

Emacs 29.3 (Org mode 9.6.15)