Skip to content

Error in GET /logistics-delivery-instructions in 3.0.0 and 4.0.0 #295

@larsolofsson

Description

@larsolofsson

Query parameters are missing as properties in the response, both in schema and json.
Missing properties in ListOfLogisticsDeliveryInstructions: for existing query parameters

  • supplierParty
  • logisticsSupplierParty
  • buyerParty
  • shipFromLocation
  • shipToLocation

Why is buyerParty needed?

Existing schema for response

 ListOfLogisticsDeliveryInstructions:
      type: object
      unevaluatedProperties: false
      required:
        - count
        - items
      properties:
        count:
          type: integer
          minimum: 1
        items:
          type: array
          minItems: 1
          items:
            type: object
            unevaluatedProperties: false
            required:
              - id
              - number
              - timestamp
              - isCancelled
              - isActive
              - sequenceCount
            properties:
              id:
                type: string
                format: uuid
              number:
                type: string
                minLength: 1
              timestamp:
                type: string
                format: date-time
                # UTC MUST be used!
              isCancelled:
                type: boolean
              isActive:
                type: boolean
              sequenceCount:
                type: integer
                minimum: 1
        links:
          $ref: "#/components/schemas/PaginationLinks"

Json example in md-file

{
    "count": 1,
    "items": [
      {
        "id": "52c5caed-57c6-4a68-97ff-b2745a514af6",
        "number": "123456SE",
        "timestamp": "2024-05-19T11:47:41Z",
        "isCancelled": false,
        "isActive": true,
        "sequenceCount": 1
      }
    ]
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    MUST BE DISCUSSEDMust be discussed during the next CWG meeting

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions