Jobs

Get a job object

Returns details about a person's employment.

get/rest/jobs/{job_id}

Request

  • Base URL
    https://api.dailypay.com
  • Auth
    • OAuth 2
      Client credentials
      Token URLhttps://auth.dailypay.com/oauth2/token
      Scopesclient:lookup, client:admin
    • or OAuth 2
      Authorization codehttps://auth.dailypay.com/oauth2/auth
      Token URLhttps://auth.dailypay.com/oauth2/token
      Scopesuser:read
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Path parameters

job_idstring uuid required
Example:aa860051-c411-4709-9685-c1b716df611b

Unique ID of the job

Response

Returns the job object.

Example response

{
  "data": {
    "id": "e9d84b0d-92ba-43c9-93bf-7c993313fa6f",
    "attributes": {
      "external_identifiers": {
        "primary_identifier": "0123456789"
      },
      "first_name": "Edith",
      "last_name": "Clarke",
      "activation_status": "DEACTIVATED",
      "wage_rate": {
        "amount": 2500,
        "currency": "USD",
        "frequency": "HOURLY"
      },
      "title": "Computer",
      "department": "Finance",
      "location": "New York, New York",
      "direct_deposit_status": "SETUP_COMPLETE"
    },
    "links": {
      "self": "https://api.dailypay.com/rest/jobs/e9d84b0d-92ba-43c9-93bf-7c993313fa6f"
    },
    "relationships": {
      "person": {
        "data": {
          "type": "people",
          "id": "3fa8f641-5717-4562-b3fc-2c963f66afa6"
        }
      },
      "organization": {
        "data": {
          "id": "f0b30634-108c-439c-a8c1-c6a91197f022"
        }
      },
      "direct_deposit_default_depository": {
        "data": {
          "id": "2bc7d781-3247-46f6-b60f-4090d214936a"
        }
      },
      "direct_deposit_default_card": {
        "data": {
          "id": "2bc7d781-3247-46f6-b60f-4090d214936a"
        }
      }
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.