POST
/
jobs
/
{job_id}
/
reject
curl --request POST \
  --url https://api.togai.com/jobs/{job_id}/reject \
  --header 'Authorization: Bearer <token>'
{
  "id": "job.20aUyEZSuYq.SoGbS",
  "type": "PRICE_PLAN",
  "updatedAt": "2080-10-04T00:00:00Z",
  "status": "COMPLETED",
  "totalJobEntries": 100,
  "pendingJobEntries": 40,
  "failedJobEntries": 20,
  "completedJobEntries": 40,
  "metadata": {
    "sourceId": "pp.njrjk314hfr",
    "targetId": "pp.rhk32h4dsfq"
  }
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

job_id
string
required

Response

200 - application/json
id
string
required
type
enum<string>
required
Available options:
PRICE_PLAN,
EVENT_CORRECTIONS,
BILL_RUN
settledAt
string
updatedAt
string
required
status
enum<string>
required
Available options:
SCHEDULED,
PENDING,
INITIALIZED,
WAITING_FOR_CONFIRMATION,
IN_PROGRESS,
COMPLETED,
FAILED,
CANCELLED
totalJobEntries
integer
required
pendingJobEntries
integer
required
failedJobEntries
integer
required
completedJobEntries
integer
required
metadata
object