{
  "opencollection": "1.0.0",
  "info": {
    "name": "Horizon API V1 AccountExternalTruckIdentifier Compliance API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Compliance",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Check Compliance Status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tread-horizon.com/v1/companies/:company-id/compliance_check",
            "headers": [
              {
                "name": "Accept-Language",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "company-id",
                "value": "",
                "type": "path",
                "description": "Company ID"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "query",
                "description": "Account ID to check vendor compliance"
              },
              {
                "name": "user_id",
                "value": "",
                "type": "query",
                "description": "User ID to check driver compliance"
              },
              {
                "name": "equipment_id",
                "value": "",
                "type": "query",
                "description": "Equipment ID to check equipment compliance"
              }
            ]
          },
          "docs": "Check compliance status for a job assignment.\n\nRequires `compliance_read` permission."
        },
        {
          "info": {
            "name": "Retrieve Compliance Document Types",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tread-horizon.com/v1/companies/:company-id/compliance_document_types",
            "headers": [
              {
                "name": "Accept-Language",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "company-id",
                "value": "",
                "type": "path",
                "description": "Company ID"
              },
              {
                "name": "page[limit]",
                "value": "",
                "type": "query",
                "description": "The maximum number of paginated results to return"
              },
              {
                "name": "page[after]",
                "value": "",
                "type": "query",
                "description": "The cursor to start paginating after"
              },
              {
                "name": "page[before]",
                "value": "",
                "type": "query",
                "description": "The cursor to stop paginating at"
              }
            ]
          },
          "docs": "Retrieve compliance document types for the company.\n\nRequires `compliance_read` permission."
        },
        {
          "info": {
            "name": "Create a Compliance Document Type",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.tread-horizon.com/v1/companies/:company-id/compliance_document_types",
            "headers": [
              {
                "name": "Accept-Language",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "company-id",
                "value": "",
                "type": "path",
                "description": "Company ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new compliance document type.\n\nRequires `compliance_write` permission."
        },
        {
          "info": {
            "name": "Retrieve a Compliance Document Type",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tread-horizon.com/v1/companies/:company-id/compliance_document_types/:id",
            "headers": [
              {
                "name": "Accept-Language",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "company-id",
                "value": "",
                "type": "path",
                "description": "Company ID"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Compliance Document Type ID"
              }
            ]
          },
          "docs": "Retrieve a compliance document type by ID.\n\nRequires `compliance_read` permission."
        },
        {
          "info": {
            "name": "Update a Compliance Document Type",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.tread-horizon.com/v1/companies/:company-id/compliance_document_types/:id",
            "headers": [
              {
                "name": "Accept-Language",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "company-id",
                "value": "",
                "type": "path",
                "description": "Company ID"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Compliance Document Type ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a compliance document type.\n\nRequires `compliance_write` permission."
        },
        {
          "info": {
            "name": "Delete a Compliance Document Type",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.tread-horizon.com/v1/companies/:company-id/compliance_document_types/:id",
            "headers": [
              {
                "name": "Accept-Language",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "company-id",
                "value": "",
                "type": "path",
                "description": "Company ID"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Compliance Document Type ID"
              }
            ]
          },
          "docs": "Delete a compliance document type (soft delete).\n\nRequires `compliance_write` permission."
        }
      ]
    }
  ],
  "bundled": true
}