Trip Issue
Last updated
Was this helpful?
Last updated
Was this helpful?
The Partner Supply API uses the HTTP basic authentication scheme. This means you must include an Authorization header in each request, like so:
/Authorization: Basic {Authorization String}
Replace {Authorization String} with the API key given by STAAH
POST
https://connect-sandbox.su-api.com/SUAPI/jservice/TripIssueAB
hotelid
string (Required)
Unique identifier for the hotel.
channel_bookingid
string (Required)
Unique identifier assigned to a specific booking made through a particular distribution channel.
{
"hotelid": "AWSTEST"
}
Sample Success Response
[
{
"status": "Success",
"data": {
"541047223": {
"listings": []
}
}
},
{
"status": "Fail",
"message": "Rate plan details not found",
"data": {
"541047224": []
}
}
]
hotelid
string (Required)
Unique identifier for the hotel.
channel_bookingid
string (Required)
Unique identifier assigned to a specific booking made through a particular distribution channel.
{
"hotelid": "AWSTEST",
"locationid": "541047223"
}
Sample Success Response
{
"status": "Success",
"data": {
"541047223": {
"listings": {
"770788038129150148": {
"id": "770788038129150148",
"quality_standards": {
"state": {
"description": "No quality issue reported.",
"color": "green",
"value": "warn"
},
"metadata": [
{
"description": "Can appeal to reactivate the listing?",
"value": "No"
},
{
"description": "Listing suspension date",
"value": "2023-12-31"
}
]
},
"reservation_issues": [
{
"description": "Recent Trip issue",
"value": "Reservation ID HM84YN5FQ2",
"metadata": [
{
"description": "Details realted to Host Cancellation",
"value": [
"Cancellation beyond 30 days"
]
},
{
"description": "Details realted to Bed reviews",
"value": [
{
"description": "Overall Rateing : 3 *",
"value": []
},
{
"description": "Low Rating category wise",
"value": [
"Checkin : 2 *",
"Location : 1 *"
]
},
{
"description": "Negative Tags",
"value": [
"Smaller than expeaded",
"Needs maintance"
]
}
]
},
{
"description": "Details realted to Airbnb Policy violation",
"value": [
"Had to wait",
"Hard to get inside",
"Slow to respond"
]
}
]
},
{
"confirmation_code": "HMTBM8CCWW",
"description": "Recent Trip issue",
"value": "Reservation ID HMTBM8CCWW",
"metadata": [
{
"description": "Details realted to Bed reviews",
"value": [
{
"description": "Overall Rateing : 3 *",
"value": []
}
]
}
]
}
],
"issue_count": 3
},
"455596145924106974": {
"id": "455596145924106974",
"quality_standards": {
"state": {
"description": "No quality issue reported.",
"color": "green",
"value": "warn"
},
"metadata": [
{
"description": "Can appeal to reactivate the listing?",
"value": "No"
},
{
"description": "Listing suspension date",
"value": "2023-12-31"
}
]
},
"reservation_issues": [
{
"description": "Recent Trip issue",
"value": "Reservation ID HM84YN5FQ2",
"metadata": [
{
"description": "Details realted to Host Cancellation",
"value": [
"Cancellation beyond 30 days"
]
},
{
"description": "Details realted to Bed reviews",
"value": [
{
"description": "Overall Rateing : 3 *",
"value": []
},
{
"description": "Low Rating category wise",
"value": [
"Checkin : 2 *",
"Location : 1 *"
]
},
{
"description": "Negative Tags",
"value": [
"Smaller than expeaded",
"Needs maintance"
]
}
]
},
{
"description": "Details realted to Airbnb Policy violation",
"value": [
"Had to wait",
"Hard to get inside",
"Slow to respond"
]
}
]
},
{
"confirmation_code": "HMTBM8CCWW",
"description": "Recent Trip issue",
"value": "Reservation ID HMTBM8CCWW",
"metadata": [
{
"description": "Details realted to Bed reviews",
"value": [
{
"description": "Overall Rateing : 3 *",
"value": []
}
]
}
]
}
],
"issue_count": 3
}
}
}
}
}
{
"status": "Success",
"data": {
"541047223": {
"listings": []
}
}
}
{
"Status": "Fail",
"Errors": [
{
"Code": "400",
"ShortText": "Invalid HotelCode (AWSTEST)"
}
]
}