How do I call the party_currencies endpoints over HTTP?
Table of Contents
- 1. Endpoints
- 1.1.
GET /api/v1/reference-data/party_currencies - 1.2.
GET /api/v1/reference-data/party_currencies/00000000-0000-0000-0000-000000000000/__none__ - 1.3.
POST /api/v1/reference-data/party_currencies/get-many - 1.4.
POST /api/v1/reference-data/party_currencies - 1.5.
PUT /api/v1/reference-data/party_currencies - 1.6.
POST /api/v1/reference-data/party_currencies/put-many - 1.7.
DELETE /api/v1/reference-data/party_currencies/00000000-0000-0000-0000-000000000000/__none__ - 1.8.
POST /api/v1/reference-data/party_currencies/delete-many - 1.9.
GET /api/v1/reference-data/party_currencies/by-party-id/00000000-0000-0000-0000-000000000000
- 1.1.
This file documents the party_currencies 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/party_currencies
List party currencies. It needs a session.
It forwards to refdata.v1.party_currencies.list.
The request is:
GET /api/v1/reference-data/party_currencies
GET {{base_url}}/api/v1/reference-data/party_currencies
Accept: application/json
Authorization: Bearer {{token}}
HTTP 200
1.2. GET /api/v1/reference-data/party_currencies/00000000-0000-0000-0000-000000000000/__none__
Get one party currency. It needs a session.
It forwards to refdata.v1.party_currencies.get.
The request is:
GET /api/v1/reference-data/party_currencies/00000000-0000-0000-0000-000000000000/__none__
GET {{base_url}}/api/v1/reference-data/party_currencies/00000000-0000-0000-0000-000000000000/__none__
Accept: application/json
Authorization: Bearer {{token}}
HTTP 200
1.3. POST /api/v1/reference-data/party_currencies/get-many
Get many party currencies. It needs a session.
It forwards to refdata.v1.party_currencies.get_many.
The request is:
POST /api/v1/reference-data/party_currencies/get-many
POST {{base_url}}/api/v1/reference-data/party_currencies/get-many
Accept: application/json
Authorization: Bearer {{token}}
HTTP 200
1.4. POST /api/v1/reference-data/party_currencies
Create one party currency. It needs a session.
It forwards to refdata.v1.party_currencies.put.
The request is:
POST /api/v1/reference-data/party_currencies
POST {{base_url}}/api/v1/reference-data/party_currencies
Accept: application/json
Authorization: Bearer {{token}}
HTTP 200
1.5. PUT /api/v1/reference-data/party_currencies
Replace one party currency. It needs a session.
It forwards to refdata.v1.party_currencies.put.
The request is:
PUT /api/v1/reference-data/party_currencies
PUT {{base_url}}/api/v1/reference-data/party_currencies
Accept: application/json
Authorization: Bearer {{token}}
HTTP 200
1.6. POST /api/v1/reference-data/party_currencies/put-many
Write many party currencies. It needs a session.
It forwards to refdata.v1.party_currencies.put_many.
The request is:
POST /api/v1/reference-data/party_currencies/put-many
POST {{base_url}}/api/v1/reference-data/party_currencies/put-many
Accept: application/json
Authorization: Bearer {{token}}
HTTP 200
1.7. DELETE /api/v1/reference-data/party_currencies/00000000-0000-0000-0000-000000000000/__none__
Delete one party currency. It needs a session.
It forwards to refdata.v1.party_currencies.delete.
The request is:
DELETE /api/v1/reference-data/party_currencies/00000000-0000-0000-0000-000000000000/__none__
DELETE {{base_url}}/api/v1/reference-data/party_currencies/00000000-0000-0000-0000-000000000000/__none__
Accept: application/json
Authorization: Bearer {{token}}
HTTP 200
1.8. POST /api/v1/reference-data/party_currencies/delete-many
Delete many party currencies. It needs a session.
It forwards to refdata.v1.party_currencies.delete_many.
The request is:
POST /api/v1/reference-data/party_currencies/delete-many
POST {{base_url}}/api/v1/reference-data/party_currencies/delete-many
Accept: application/json
Authorization: Bearer {{token}}
HTTP 200
1.9. GET /api/v1/reference-data/party_currencies/by-party-id/00000000-0000-0000-0000-000000000000
List the party currencies that reference one party id. It needs a session.
It forwards to refdata.v1.party_currencies.list_by_party_id.
The request is:
GET /api/v1/reference-data/party_currencies/by-party-id/00000000-0000-0000-0000-000000000000
GET {{base_url}}/api/v1/reference-data/party_currencies/by-party-id/00000000-0000-0000-0000-000000000000
Accept: application/json
Authorization: Bearer {{token}}
HTTP 200