How do I call the currency_countries endpoints over HTTP?

Table of Contents

This file documents the currency_countries 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_countries

List currency countries. It needs a session.

It forwards to refdata.v1.currency_countries.list.

The request is:

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

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

Get one currency country. It needs a session.

It forwards to refdata.v1.currency_countries.get.

The request is:

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

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

Get many currency countries. It needs a session.

It forwards to refdata.v1.currency_countries.get_many.

The request is:

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

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

Create one currency country. It needs a session.

It forwards to refdata.v1.currency_countries.put.

The request is:

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

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

Replace one currency country. It needs a session.

It forwards to refdata.v1.currency_countries.put.

The request is:

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

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

Write many currency countries. It needs a session.

It forwards to refdata.v1.currency_countries.put_many.

The request is:

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

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

Delete one currency country. It needs a session.

It forwards to refdata.v1.currency_countries.delete.

The request is:

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

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

Delete many currency countries. It needs a session.

It forwards to refdata.v1.currency_countries.delete_many.

The request is:

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

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

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

It forwards to refdata.v1.currency_countries.list_by_currency_iso_code.

The request is:

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

Emacs 29.3 (Org mode 9.6.15)