GET
/
jobs
/
manual
/
{job_id}
import Finch from '@tryfinch/finch-api';

const finch = new Finch();

async function main() {
  const manualAsyncJob = await finch.jobs.manual.retrieve('string');

  console.log(manualAsyncJob.job_id);
}

main();
{
  "job_id": "497d98f3-580a-4ab9-830a-af2346d029b2",
  "status": "complete",
  "body": [
    {
      "individual_id": "430f9d95-1dcf-4b99-b616-45f814416890",
      "code": 201,
      "message": "Successfully enrolled individual in benefit"
    },
    {
      "individual_id": "647975ac-1e0f-4e9c-b705-e3042da48581",
      "code": 200,
      "message": "Successfully updated enrollment for individual"
    },
    {
      "individual_id": "4a0a3b15-d3d6-41c2-a4a4-ca4ed1b68cf8",
      "code": 404,
      "message": "Individual not found"
    }
  ]
}

Authorizations

Authorization
string
headerrequired

Please use your Access Token

Headers

Finch-API-Version
string
default: 2020-09-17required

Header used to specify the version for a given API request. Current version is 2020-09-17.

Content-Type
string
default: application/jsonrequired

Used to indicate the original media type of the resource

Path Parameters

job_id
string
required

Response

200 - application/json
job_id
string
status
enum<string>
Available options:
pending,
in_progress,
error,
complete
body
any[] | null

Specific information about the job, such as individual statuses for batch jobs.