# Get Reference Numbers for a Shipment

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v3/shipments/{Id}/referencenumbers:
    get:
      summary: Get Reference Numbers for a Shipment
      deprecated: false
      description: '### Retrieve the Reference Numbers of a single Shipment by its id.'
      tags:
        - Version 3/Shipments/Retrieving
        - Shipments
      parameters:
        - name: Id
          in: path
          description: ''
          required: true
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ReferenceFieldDto'
          headers: {}
          x-apidog-name: Success
        '400':
          description: ''
          content:
            application/json:
              schema: &ref_0
                $ref: '#/components/schemas/Microsoft.AspNetCore.Mvc'
          headers: {}
          x-apidog-name: Bad Request
        '401':
          description: ''
          content:
            application/json:
              schema: *ref_0
          headers: {}
          x-apidog-name: Unauthorized
        '403':
          description: ''
          content:
            application/json:
              schema: *ref_0
          headers: {}
          x-apidog-name: Forbidden
        '404':
          description: ''
          content:
            application/json:
              schema: *ref_0
          headers: {}
          x-apidog-name: Not Found
        '429':
          description: ''
          content:
            application/json:
              schema: *ref_0
          headers: {}
          x-apidog-name: Too Many Requests
      security: []
      x-apidog-folder: Version 3/Shipments/Retrieving
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/668040/apis/api-10126277-run
components:
  schemas:
    ReferenceFieldDto:
      required:
        - type
        - value
      type: object
      properties:
        type:
          maxLength: 250
          minLength: 1
          type: string
          description: The type of the Reference field
        value:
          maxLength: 250
          minLength: 1
          type: string
          description: The actual value of the Reference field
        printOnBol:
          type: boolean
          description: If true, this reference field will be printed on the shipments BOL
        printOnShippingLabel:
          type: boolean
          description: >-
            If true, this reference field will be printed on the shipments
            Shipping Label
      additionalProperties: false
      x-apidog-orders:
        - type
        - value
        - printOnBol
        - printOnShippingLabel
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Microsoft.AspNetCore.Mvc:
      title: ErrorResponse
      type: object
      properties:
        type:
          type: string
          description: A link explaining the response code
        title:
          type: string
          description: Describes the type of error
        status:
          type: integer
          description: The status code
        traceId:
          type: string
          description: A unique id to help troubleshoot
        detail:
          type: string
          description: A detailed message about the error
        errors:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
          x-apidog-orders: []
          properties: {}
          description: Any errors returned.
          x-apidog-ignore-properties: []
      required:
        - type
        - title
        - status
        - traceId
      x-apidog-orders:
        - type
        - title
        - status
        - traceId
        - detail
        - errors
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://ws.integration.banyantechnology.com
    description: Integration Env
security: []

```
