Cancels an existing redirect session
POST/redirect-sessions/:redirectSessionId/cancel
Cancels an existing redirect session
Request
Path Parameters
The id of the redirect session
Responses
- 200
- 400
- 404
- 409
- 500
Expected response to a valid request
- application/json
- Schema
- Example (from schema)
Schema
The unique id of the redirect session
Possible values: [Cancelled
]
The type of the event, defining also the attributes of which entity are to be found in the data property
The creation datetime of the entity, in ISO 8601 format of YYYY-MM-DDThh:mm:ssZ in UTC time
The last modification datetime of the entity, in ISO 8601 format of YYYY-MM-DDThh:mm:ssZ in UTC time
{
"id": "d80d9e26-ffa0-43f2-8c2b-c96513cc9351",
"state": "Cancelled",
"createdOn": "2019-01-31T11:59:59Z",
"lastModifiedOn": "2019-01-31T11:59:59Z"
}
Validation failed
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Possible values: [Validation
, InvalidTriggeredBy
, InvalidRedirectSessionStateTransition
]
The type of error. Used for defining which sub-element will be present in the details property.
A short text describing the error.
A link to the online documentation describing the error in detail.
Identifies the conversation within which the error got generated.
details
object
Contains additional details of the error
The reason for CustomerPermissionDenied declineReason
validationErrorReasons
object[]
A collection of Validation error details
name of filed that failed validation
error message
The reason for LimitThresholdExceeded declineReason
{
"code": "Validation",
"message": "The field \"customerId\" could not be validated.",
"moreInfo": "https://developer.example.com/v1.0/reference#error-handling",
"correlationId": "ce8056cd-ae4d-4f2d-87de-7562c92f92cc",
"details": {
"customerPermissionDeniedReason": "string",
"validationErrorReasons": [
{
"fieldName": "customerId",
"errorMessage": "Value must not be empty"
}
],
"limitThresholdExceededReason": "string"
}
}
Redirect Session or entity it depends on was not found
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Possible values: [RedirectSessionNotFound
, CustomerNotFound
]
The type of error. Used for defining which sub-element will be present in the details property.
A short text describing the error.
A link to the online documentation describing the error in detail.
Identifies the conversation within which the error got generated.
details
object
Contains additional details of the error
The reason for CustomerPermissionDenied declineReason
validationErrorReasons
object[]
A collection of Validation error details
name of filed that failed validation
error message
The reason for LimitThresholdExceeded declineReason
{
"code": "RedirectSessionNotFound",
"message": "The field \"customerId\" could not be validated.",
"moreInfo": "https://developer.example.com/v1.0/reference#error-handling",
"correlationId": "ce8056cd-ae4d-4f2d-87de-7562c92f92cc",
"details": {
"customerPermissionDeniedReason": "string",
"validationErrorReasons": [
{
"fieldName": "customerId",
"errorMessage": "Value must not be empty"
}
],
"limitThresholdExceededReason": "string"
}
}
Redirect Session was updated in the meantime, or duplicate
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Possible values: [EntityVersionMismatch
]
The type of error. Used for defining which sub-element will be present in the details property.
A short text describing the error.
A link to the online documentation describing the error in detail.
Identifies the conversation within which the error got generated.
details
object
Contains additional details of the error
The reason for CustomerPermissionDenied declineReason
validationErrorReasons
object[]
A collection of Validation error details
name of filed that failed validation
error message
The reason for LimitThresholdExceeded declineReason
{
"code": "EntityVersionMismatch",
"message": "The field \"customerId\" could not be validated.",
"moreInfo": "https://developer.example.com/v1.0/reference#error-handling",
"correlationId": "ce8056cd-ae4d-4f2d-87de-7562c92f92cc",
"details": {
"customerPermissionDeniedReason": "string",
"validationErrorReasons": [
{
"fieldName": "customerId",
"errorMessage": "Value must not be empty"
}
],
"limitThresholdExceededReason": "string"
}
}
Unexpected technical error
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Possible values: [GeneralErrorOccurred
]
The type of error. Used for defining which sub-element will be present in the details property.
A short text describing the error.
A link to the online documentation describing the error in detail.
Identifies the conversation within which the error got generated.
details
object
Contains additional details of the error
The reason for CustomerPermissionDenied declineReason
validationErrorReasons
object[]
A collection of Validation error details
name of filed that failed validation
error message
The reason for LimitThresholdExceeded declineReason
{
"code": "GeneralErrorOccurred",
"message": "The field \"customerId\" could not be validated.",
"moreInfo": "https://developer.example.com/v1.0/reference#error-handling",
"correlationId": "ce8056cd-ae4d-4f2d-87de-7562c92f92cc",
"details": {
"customerPermissionDeniedReason": "string",
"validationErrorReasons": [
{
"fieldName": "customerId",
"errorMessage": "Value must not be empty"
}
],
"limitThresholdExceededReason": "string"
}
}