Skip to main content

/listings/{listingId}

Description

The Get Listings API endpoint will return seats (as tokens) grouped by event accessId for the given listingId provided.

Flow

  1. A patron on MyAccount will select items/seats (from any event) that they want to list for resale.
  2. The Paciolan system will then generate and append a listingId identifier to the integrator's website when navigating the user over.
  3. Integrator will then make an API call to this Get Listings API with the listingId to receive tokens for each item/seat selected by the patron.

Supported Methods

  • GET

Request

/listings/{listingId}

HEADERS

RCOMultitudeKeyTypeDescription
R1User-AgentStringAn identifying string in Product/Version format, where Version is a SemVer-compliant string, that uniquely identifies your application.
R1AuthorizationStringIt's required to use the "Bearer" authentication scheme to transmit the access token.
R1AcceptStringThe only supported response type for this endpoint is application/json.
O0-1Accept-EncodingStringgzip compression is supported.
R1Content-TypeStringPThe only supported request type for this endpoint is application/json.
R1PAC-Application-IDStringThe application identifier for which API access has been authorized; this value is typically expressed in reverse domain notation and is bound to an API key provided by Paciolan during provisioning.
R1PAC-API-KeyStringThe API key provided by Paciolan for this application.
R1PAC-Channel-CodeStringThe channel partner identifier issued to your organization by the Paciolan Partner Services team partner on-boarding.
R1Request-IDStringThe integrator's external request ID for support traceablility and issue debugging. This string should be a UUID V4 value.

Response

HEADERS

PropertyTypeDescription
Request-IDStringThe same ID provided in the header of the request call returned back.
Content-TypeStringSupported type is application/json.

Response Object

RCOPropertyTypeDescription
RlistingIdStringRequest listing ID
RticketsArray of Objects
R accessIdStringThe accessId for the event, will always be the main/home or parking event.
R seatsArray of Objects
R seasonStringSeason Code
R itemStringItem Code
R seatingTypeStringSeating type. One of RESERVED, GENERAL_ADMISSION, or SECTION_GENERAL_ADMISSION.
R associationTypeStringAssociation type. Incomplete list: PARKING, VIP, etc.
R seatAttributesArray of StringsSeating attributes. Currently only ADA and LIMITED_VIEW available.
R sectionStringSection code. (LEVEL:SECTION)
R rowStringRow
R seatStringSeat

Error Response Object

PropertyTypeDescription
errorObjectError details
typeStringError type that has occurred
appErrorCodeStringInternal error code used for support. Depending on type returned, this code may be needed to handle error response differently
developerMessageStringGeneric description of error that occured

Error Types

Error TypeError DescApp Error CodeHTTP Status CodeHTTP Status DescRetry PossibleRetry CountUltimate actionMS Error Level
LISTINGID_NOT_FOUNDlistingId does not exitMS-404404Not FoundNo0Caller to analyzeERROR
LISTING_INFO_NOT_FOUNDlistingId was found with invalid dataMS-404404Not FoundNo0Caller to inform ProviderERROR
UNHANDLED_EXCEPTIONInternal server error occurred due to backend errorMS-500500Internal Server ErrorYes3Caller to inform ProviderFATAL

Examples

Request

curl 'https://link-sandbox.paciolan.info/v1/listings/A3qnemZ' \
-H 'User-Agent: MyApplication/1.0' \
-H 'Authorization: Bearer <BearerToken>'
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H 'PAC-Application-ID: com.mycompany.myapp' \
-H 'PAC-API-Key: <ApiKey>' \
-H 'PAC-Channel-Code: my-application' \
-H 'Request-ID: <RequestID>'

Responses

Success Response
< HTTP/1.1 200
{
"listingId": "A3qnemZ",
"tickets": [
{
"accessId": "129:FB23:FB01",
"seats": [
{
"season": "FB23",
"item": "FB01",
"seatingType": "RESERVED",
"associationType": null,
"seatAttributes": ["ADA"],
"section": "ES:9",
"row": "30",
"seat": "24",
"token": "129BL7ASUULGLT2X8"
},
{
"season": "FB223",
"item": "FB01",
"seatingType": "SECTION_GENERAL_ADMISSION",
"associationType": null,
"seatAttributes": ["LIMITED_VIEW"],
"section": "ES:9",
"row": "30",
"seat": "25",
"token": "129BL7ASUULGLT2X0"
},
{
"season": "FB23",
"item": "FB01VIP",
"seatingType": "RESERVED",
"associationType": "VIP",
"seatAttributes": null,
"section": "ES:9",
"row": "30",
"seat": "26",
"token": "129BL7ASUULGLT2X9"
}
]
}
<HTTP/1.1 200
{
"listingId": "A3qnemZ",
"tickets": [
{
"accessId": "129:FB23:FB01",
"seats": [
{
"season": "FB23",
"item": "FB01",
"seatingType": "RESERVED",
"associationType": null,
"seatAttributes": ["ADA"],
"section": "ES:9",
"row": "30",
"seat": "24",
"token": "129BL7ASUULGLT2X8"
},
{
"season": "FB223",
"item": "FB01",
"seatingType": "SECTION_GENERAL_ADMISSION",
"associationType": null,
"seatAttributes": ["LIMITED_VIEW"],
"section": "ES:9",
"row": "30",
"seat": "25",
"token": "129BL7ASUULGLT2X0"
},
{
"season": "FB23",
"item": "FB01VIP",
"seatingType": "RESERVED",
"associationType": "VIP",
"seatAttributes": null,
"section": "ES:9",
"row": "30",
"seat": "26",
"token": "129BL7ASUULGLT2X9"
}
]
},
{
"accessId": "129:FB23:FB02",
"seats": [
{
"season": "FB23",
"item": "FB02",
"seatingType": "RESERVED",
"associationType": null,
"seatAttributes": null,
"section": "ES:11",
"row": "29",
"seat": "15",
"token": "129BL7ASUUMHMT1W7"
}
]
}
]
}
RouteId Not Found
< HTTP/1.1 404

{
"listingId": "C2qnfnY",
"error":{
"type": "LISTINGID_NOT_FOUND",
"appErrorCode": "MS-404",
"developerMessage": "Listing id C2qnfnY not found"
}
}