v1

latestOpenAPI 3.1.02026-07-1276185442.2 KB
Offers

Create Offer

post/unified/ats/offers

Headers

x-account-idstring required

The account identifier

Preferstring
Example:heartbeat

Set to "heartbeat" to enable keep-alive newline heartbeats during long-running requests. Response includes Preference-Applied: heartbeat header when honored. (RFC 7240)

Request body

application_idstring nullable
start_datestring date-time nullable

Date of creation

salarynumber nullable
currencystring nullable
passthroughobject nullable

Value to pass through to the provider

Example request

{
  "start_date": "2021-01-01T01:01:01.000Z",
  "offer_status": {
    "value": "pending"
  },
  "offer_history": [
    {
      "start_date": "2021-01-01T01:01:01.000Z",
      "created_at": "2021-01-01T01:01:01.000Z",
      "updated_at": "2021-01-01T01:01:01.000Z"
    }
  ],
  "passthrough": {
    "other_known_names": "John Doe"
  }
}

Response

The offer was created successfully.

statusCodenumber required
messagestring required
timestampstring date-time required

Example response

{
  "statusCode": 201,
  "message": "Record created successfully.",
  "timestamp": "2021-01-01T01:01:01.000Z",
  "data": {
    "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3",
    "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"
  }
}