How do I call the currency_calendars endpoints over HTTP?

Table of Contents

This file documents the currency_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_calendars

List currency calendars. It needs a session.

It forwards to refdata.v1.currency_calendars.list.

The request is:

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

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

Get one currency calendar. It needs a session.

It forwards to refdata.v1.currency_calendars.get.

The request is:

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

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

Get many currency calendars. It needs a session.

It forwards to refdata.v1.currency_calendars.get_many.

The request is:

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

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

Create one currency calendar. It needs a session.

It forwards to refdata.v1.currency_calendars.put.

The request is:

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

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

Replace one currency calendar. It needs a session.

It forwards to refdata.v1.currency_calendars.put.

The request is:

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

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

Write many currency calendars. It needs a session.

It forwards to refdata.v1.currency_calendars.put_many.

The request is:

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

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

Delete one currency calendar. It needs a session.

It forwards to refdata.v1.currency_calendars.delete.

The request is:

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

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

Delete many currency calendars. It needs a session.

It forwards to refdata.v1.currency_calendars.delete_many.

The request is:

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

1.9. GET /api/v1/reference-data/currency_calendars/by-currency-iso-code/__none__

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

It forwards to refdata.v1.currency_calendars.list_by_currency_iso_code.

The request is:

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

Emacs 29.3 (Org mode 9.6.15)