Orders Storage (v1)

http://github.com/folio-org/mod-orders-storage

Table of contents

Purchase Order Line Number

API used to manage Purchase Order Line number. This API is intended for internal use only

/orders-storage/po-line-number

GET /orders-storage/po-line-number

Get purchase order line number

GET /orders-storage/po-line-number
Query Parameters
  • purchaseOrderId: required (string)

    Purchase Order Id

    Example:

    8ad4b87b-9b47-4199-b0c3-5480745c6b41
  • lang: (string - default: en - pattern: [a-zA-Z]{2})

    Requested language. Optional. [lang=en]

Response 200

Body

Media type: application/json

Type: json

Content:

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "description": "Sequence number object",
  "type": "object",
  "properties": {
    "sequenceNumber": {
      "description": "Sequence number",
      "type": "string"
    }
  },
  "required": [
    "sequenceNumber"
  ],
  "additionalProperties": false
}

Response 400

Bad request, e.g. malformed request body or query parameter

Body

Media type: text/plain

Type: any

Example:

Unable to generate purchase order line number

Response 500

Internal server error, e.g. due to misconfiguration

Body

Media type: text/plain

Type: any

Example:

Internal server error, contact Administrator