All pages
Powered by GitBook
1 of 1

Loading...

Create rate

post

Creates one or more rates for a pair via bulk payload.

Body

Bulk operation data model

idstringOptional
atstring · date-time · nullableOptional
idstringOptional
namestringOptional
iconstring · nullableOptional
revisioninteger · int32Optional
atstring · date-time · nullableOptional
idstringOptional
namestringOptional
iconstring · nullableOptional
revisioninteger · int32Optional
atstring · date-time · nullableOptional
idstringOptional
namestringOptional
iconstring · nullableOptional
revisioninteger · int32Optional
omittedstring[]Optional
iconstring · nullableOptional
revisioninteger · int32Optional
revisioninteger · int32Optional
idstringOptional

The unique identifier of the pair.

namestringOptional

The name of the pair.

externalIdstring · nullableOptional

The external id of the pair

notesstring · nullableOptional

Notes for the pair

primarybooleanOptional

If the pair is primary

idstringOptional
atstring · date-time · nullableOptional
idstringOptional
namestringOptional
iconstring · nullableOptional
revisioninteger · int32Optional
atstring · date-time · nullableOptional
idstringOptional
namestringOptional
iconstring · nullableOptional
revisioninteger · int32Optional
atstring · date-time · nullableOptional
idstringOptional
namestringOptional
iconstring · nullableOptional
revisioninteger · int32Optional
omittedstring[]Optional
iconstring · nullableOptional
revisioninteger · int32Optional
pairall ofOptional
⤷Circular reference to all of
recordDatestring · date-timeOptional

Date and time of rate

valuenumber · doubleOptional

Rate from source to destination currency

externalIdstring · nullableOptional

External id of rate

statusstring · enumOptional

Record status enumeration

Possible values:
idstringOptional
iconstring · nullableOptional
revisioninteger · int32Optional
valuenumber · doubleOptional

Rate from source to destination currency

externalIdstring · nullableOptional

External id of rate

recordDatestring · date-timeOptional

Date and time of rate

valuenumber · doubleOptional

Rate from source to destination currency

externalIdstring · nullableOptional

External id of rate

statusstring · enumOptional

Record status enumeration

Possible values:
idstringOptional
iconstring · nullableOptional
revisioninteger · int32Optional
valuenumber · doubleOptional

Rate from source to destination currency

externalIdstring · nullableOptional

External id of rate

Responses
201

Created

application/json

Record of rate for specific day

idstringOptional
atstring · date-time · nullableOptional
idstringOptional
namestringOptional
iconstring · nullableOptional
revisioninteger · int32Optional
atstring · date-time · nullableOptional
idstringOptional
namestringOptional
iconstring · nullableOptional
revisioninteger · int32Optional
atstring · date-time · nullableOptional
idstringOptional
namestringOptional
iconstring · nullableOptional
revisioninteger · int32Optional
omittedstring[]Optional
iconstring · nullableOptional
revisioninteger · int32Optional
revisioninteger · int32Optional
idstringOptional

The unique identifier of the pair.

namestringOptional

The name of the pair.

externalIdstring · nullableOptional

The external id of the pair

notesstring · nullableOptional

Notes for the pair

primarybooleanOptional

If the pair is primary

idstringOptional
atstring · date-time · nullableOptional
idstringOptional
namestringOptional
iconstring · nullableOptional
revisioninteger · int32Optional
atstring · date-time · nullableOptional
idstringOptional
namestringOptional
iconstring · nullableOptional
revisioninteger · int32Optional
atstring · date-time · nullableOptional
idstringOptional
namestringOptional
iconstring · nullableOptional
revisioninteger · int32Optional
omittedstring[]Optional
iconstring · nullableOptional
revisioninteger · int32Optional
pairall ofOptional
⤷Circular reference to all of
recordDatestring · date-timeOptional

Date and time of rate

valuenumber · doubleOptional

Rate from source to destination currency

externalIdstring · nullableOptional

External id of rate

statusstring · enumOptional

Record status enumeration

Possible values:
idstringOptional
iconstring · nullableOptional
revisioninteger · int32Optional
valuenumber · doubleOptional

Rate from source to destination currency

externalIdstring · nullableOptional

External id of rate

recordDatestring · date-timeOptional

Date and time of rate

valuenumber · doubleOptional

Rate from source to destination currency

externalIdstring · nullableOptional

External id of rate

statusstring · enumOptional

Record status enumeration

Possible values:
idstringOptional
iconstring · nullableOptional
revisioninteger · int32Optional
valuenumber · doubleOptional

Rate from source to destination currency

externalIdstring · nullableOptional

External id of rate

403

Forbidden

application/json
typestring · nullableOptional
titlestring · nullableOptional
statusinteger · int32 · nullableOptional
detailstring · nullableOptional
instancestring · nullableOptional
Other propertiesanyOptional
404

Not Found

application/json
typestring · nullableOptional
titlestring · nullableOptional
statusinteger · int32 · nullableOptional
detailstring · nullableOptional
instancestring · nullableOptional
Other propertiesanyOptional
500

Internal Server Error

No content

post/public/v1/exchange/pairs/-/rates
POST /public/v1/exchange/pairs/-/rates HTTP/1.1
Host: api.platform.softwareone.com
Content-Type: application/json
Accept: */*
Content-Length: 709

{
  "data": [
    {
      "id": "text",
      "audit": {
        "created": {
          "at": "2026-01-01T00:00:00.000Z",
          "by": {
            "id": "text",
            "name": "text",
            "icon": "text",
            "revision": 1
          }
        },
        "updated": {
          "at": "2026-01-01T00:00:00.000Z",
          "by": {
            "id": "text",
            "name": "text",
            "icon": "text",
            "revision": 1
          }
        },
        "deleted": {
          "at": "2026-01-01T00:00:00.000Z",
          "by": {
            "id": "text",
            "name": "text",
            "icon": "text",
            "revision": 1
          }
        }
      },
      "$meta": {
        "omitted": [
          "text"
        ]
      },
      "icon": "text",
      "revision": 1,
      "pair": {
        "revision": 1,
        "id": "text",
        "name": "text",
        "externalId": "text",
        "notes": "text",
        "primary": true,
        "latestRate": "[Circular Reference]"
      },
      "recordDate": "2026-01-01T00:00:00.000Z",
      "value": 1,
      "externalId": "text",
      "status": "Active",
      "reverseRate": {
        "id": "text",
        "icon": "text",
        "revision": 1,
        "value": 1,
        "externalId": "text"
      }
    }
  ]
}
[
  {
    "id": "text",
    "audit": {
      "created": {
        "at": "2026-01-01T00:00:00.000Z",
        "by": {
          "id": "text",
          "name": "text",
          "icon": "text",
          "revision": 1
        }
      },
      "updated": {
        "at": "2026-01-01T00:00:00.000Z",
        "by": {
          "id": "text",
          "name": "text",
          "icon": "text",
          "revision": 1
        }
      },
      "deleted": {
        "at": "2026-01-01T00:00:00.000Z",
        "by": {
          "id": "text",
          "name": "text",
          "icon": "text",
          "revision": 1
        }
      }
    },
    "$meta": {
      "omitted": [
        "text"
      ]
    },
    "icon": "text",
    "revision": 1,
    "pair": {
      "revision": 1,
      "id": "text",
      "name": "text",
      "externalId": "text",
      "notes": "text",
      "primary": true,
      "latestRate": {
        "id": "text",
        "audit": {
          "created": {
            "at": "2026-01-01T00:00:00.000Z",
            "by": {
              "id": "text",
              "name": "text",
              "icon": "text",
              "revision": 1
            }
          },
          "updated": {
            "at": "2026-01-01T00:00:00.000Z",
            "by": {
              "id": "text",
              "name": "text",
              "icon": "text",
              "revision": 1
            }
          },
          "deleted": {
            "at": "2026-01-01T00:00:00.000Z",
            "by": {
              "id": "text",
              "name": "text",
              "icon": "text",
              "revision": 1
            }
          }
        },
        "$meta": {
          "omitted": [
            "text"
          ]
        },
        "icon": "text",
        "revision": 1,
        "pair": "[Circular Reference]",
        "recordDate": "2026-01-01T00:00:00.000Z",
        "value": 1,
        "externalId": "text",
        "status": "Active",
        "reverseRate": {
          "id": "text",
          "icon": "text",
          "revision": 1,
          "value": 1,
          "externalId": "text"
        }
      }
    },
    "recordDate": "2026-01-01T00:00:00.000Z",
    "value": 1,
    "externalId": "text",
    "status": "Active",
    "reverseRate": {
      "id": "text",
      "icon": "text",
      "revision": 1,
      "value": 1,
      "externalId": "text"
    }
  }
]

Creates a new rate.