AlphaAlpha Docs
API ReferenceErp exchange rate

Create exchange rates in batch

Create multiple exchange rate entries at once

POST
/exchange-rates/batch
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:18080/api/v1/exchange-rates/batch" \  -H "Content-Type: application/json" \  -d '[    {      "baseCurrency": "string",      "effectiveDate": "2019-08-24T14:15:22Z",      "rate": 0.1,      "targetCurrency": "string"    }  ]'
[
  {
    "baseCurrency": "string",
    "created": "2019-08-24T14:15:22Z",
    "createdBy": "string",
    "effectiveDate": "2019-08-24T14:15:22Z",
    "id": "string",
    "rate": 0.1,
    "targetCurrency": "string",
    "tenantId": "string",
    "updated": "2019-08-24T14:15:22Z",
    "updatedBy": "string"
  }
]
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}