J.B. Hunt 360 Connect API — Documents

J.B. Hunt 360 Connect API — Documents. 2 operations. Lead operation: Upload Document. Self-contained Naftiko capability covering one Jb Hunt Transport Services business surface.

Run with Naftiko Jb Hunt Transport ServicesDocuments

What You Can Do

POST
Uploaddocument — Upload Document
/v1/documents
GET
Getdocuments — Get Documents
/v1/documents

MCP Tools

upload-document

Upload Document

get-documents

Get Documents

read-only idempotent

Capability Spec

jb-hunt-360-connect-documents.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: J.B. Hunt 360 Connect API — Documents
  description: 'J.B. Hunt 360 Connect API — Documents. 2 operations. Lead operation: Upload Document. Self-contained Naftiko
    capability covering one Jb Hunt Transport Services business surface.'
  tags:
  - Jb Hunt Transport Services
  - Documents
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    JB_HUNT_TRANSPORT_SERVICES_API_KEY: JB_HUNT_TRANSPORT_SERVICES_API_KEY
capability:
  consumes:
  - type: http
    namespace: jb-hunt-360-connect-documents
    baseUri: https://api.jbhunt.com
    description: J.B. Hunt 360 Connect API — Documents business capability. Self-contained, no shared references.
    resources:
    - name: documents
      path: /documents
      operations:
      - name: uploaddocument
        method: POST
        description: Upload Document
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: getdocuments
        method: GET
        description: Get Documents
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: shipmentId
          in: query
          type: string
          required: true
  exposes:
  - type: rest
    namespace: jb-hunt-360-connect-documents-rest
    port: 8080
    description: REST adapter for J.B. Hunt 360 Connect API — Documents. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/documents
      name: documents
      description: REST surface for documents.
      operations:
      - method: POST
        name: uploaddocument
        description: Upload Document
        call: jb-hunt-360-connect-documents.uploaddocument
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getdocuments
        description: Get Documents
        call: jb-hunt-360-connect-documents.getdocuments
        with:
          shipmentId: rest.shipmentId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: jb-hunt-360-connect-documents-mcp
    port: 9090
    transport: http
    description: MCP adapter for J.B. Hunt 360 Connect API — Documents. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: upload-document
      description: Upload Document
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: jb-hunt-360-connect-documents.uploaddocument
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-documents
      description: Get Documents
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: jb-hunt-360-connect-documents.getdocuments
      with:
        shipmentId: tools.shipmentId
      outputParameters:
      - type: object
        mapping: $.