Skip to content

getContractor

READ

Get contractor.

POST /api/v1/resources/getContractor
curl -X POST '<your-host>/api/v1/resources/getContractor' \
  -H 'Authorization: Bearer <api-key>' \
  -H 'Content-Type: application/json' \
  -d '{
    "contractorId": "string"
  }'
Response
{
  "abilityIds": [
    "string"
  ],
  "active": true,
  "companyId": "string",
  "customFields": "…",
  "email": "string",
  "firstName": "string",
  "fullName": "string",
  "hoursPerWeek": 0,
  "lastName": "string",
  "supplierContactId": "string",
  "supplierId": "string",
  "supplierName": "string"
}

Parameters

ParameterType

Input schema

schema
{
  "type": "object",
  "properties": {
    "contractorId": {
      "type": "string"
    }
  },
  "required": [
    "contractorId"
  ]
}