Skip to main content
Create a job
curl --request POST \
  --url https://api.rampartcorporation.com/v2/job/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "sync_type": "HISTORICAL",
  "from": "2023-11-07T05:31:56Z",
  "to": "2023-11-07T05:31:56Z"
}'
{
  "data": {
    "job_id": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <API_KEY>.

Body

application/json
sync_type
enum<string>
default:HISTORICAL
required
Available options:
HISTORICAL,
INCREMENTAL
from
string<date-time>
required
to
string<date-time>

Response

200 - application/json

Created job

data
object
I