POST POS/Seats/PDFs?extractBarcode={extractBarcode} Try Now

Upload PDF.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
extractBarcode
Boolean specifying to extract barcode
boolean
Default value is True

Body Parameters

The upload PDF request.

Collection of UploadPDFRequest
NameDescriptionTypeAdditional information
SeatId
The seat identifier.
string
Required
Base64String
The base64 string of pdf.
string
Required

Request Formats

application/json, text/json

Sample:
[
  {
    "SeatId": "",
    "Base64String": ""
  }
]

Response Information

Resource Description

An IHttpActionResult.

NameDescriptionTypeAdditional information
PDFDetails
Collection of PDFDetails
None.
Status
BulkActionStatus
None.
Errors
Collection of PDFDetails
None.

Response Formats

application/json, text/json

Sample:
{
  "PDFDetails": [
    {
      "SeatId": "",
      "Barcode": [
        ""
      ],
      "Seat": 2,
      "PDFStatus": "Any",
      "BarcodeStatus": "Any",
      "WarningMessage": ""
    }
  ],
  "Status": "Success",
  "Errors": [
    {
      "ErrorMessage": "",
      "Item": {
        "SeatId": "",
        "Barcode": [
          ""
        ],
        "Seat": 2,
        "PDFStatus": "Any",
        "BarcodeStatus": "Any",
        "WarningMessage": ""
      }
    }
  ]
}