Skip to main content

/tickets/transfer/complete/{processId}

Description

The Complete Transfer Status API endpoint returns the state of a transfer as received by the /tickets/transfer/complete/{processId} call.

Supported Methods

  • GET

Supported Media Types

Request

  • application/json

Response

  • application/json

Request

/tickets/transfer/complete/{processId}

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

At a minimum, the following two properties will be returned in the response if the status is PENDING.

PropertyTypeDescription
processIdStringA unique ID for the request that is/has executed.
statusEnum ["PENDING", "COMPLETE", "ERROR"]The status of the transfer. A status of "PENDING" will require a followup polling call to this /tickets/transfer/complete/{processId}.

A full response will be provided if the status returned is set as COMPLETE. See the Complete Transfer Response Object.

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
AUTHORIZATION_FAILUREMissing required headers (PAC-Channel-Code, PAC-Application-ID, or PAC-Organization-ID)MS-401401UnauthorizedNo0Caller to analyzeERROR
INVALID_CHANNEL_CONFIG
INVALID_PARAMETER_VALUE
JSON_PARSE_ERROR
UNAUTHORIZED_REQUESTA PAC-Organization-ID provided that does not have the correct access controls set upMS-403403ForbiddenNo0Caller to analyzeERROR
UNHANDLED_EXCEPTIONA call made where the API can't properly connect/read the internal channel configurationMS-500500Internal Server ErrorYes3Caller to inform ProviderFATAL
TRANSFER_NOT_FOUNDA transfer for the processId provided was not found. This could be because we don't have the details we need ready, so retry the transfer status call again after 30 seconds. If you are still seeing the TRANSFER_NOT_FOUND after 2 minutes (or 4 tries), call the complete-transfer endpoint again.MS-404404Not FoundYes4Caller to analyzeERROR

Examples

Request

curl 'https://link-sandbox.paciolan.info/v1/tickets/transfer/complete/123456' \
-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

Status COMPLETE (Success) Response

See the Complete Transfer success response example.

Status PENDING Response
{
"processId": "d4e5f6",
"status": "PENDING"
}
Status ERROR Response
{
"processId": "d4e5f6",
"status": "ERROR",
"error": {
"type": "UNHANDLED_EXCEPTION",
"developerMessage": "You can't transfer tickets to yourself",
"appErrorCode": "MS-400"
}
}
Transfer Not Found
{
"error": {
"type": "TRANSFER_NOT_FOUND",
"appErrorCode": "MS-404",
"developerMessage": "Ticket transfer with processId '123456' not found. Please try again in a few seconds, or check your processId value."
}
}