Trip Issue
Authentication
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}
Trip Issue API (AirBnB)
Endpoint
POST

https://connect-sandbox.su-api.com/SUAPI/jservice/TripIssueAB
Attributes
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.
Sample Request
{
"hotelid": "AWSTEST"
}
Response
Sample Success Response
[
{
"status": "Success",
"data": {
"541047223": {
"listings": []
}
}
},
{
"status": "Fail",
"message": "Rate plan details not found",
"data": {
"541047224": []
}
}
]
Request
Attributes
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.
Sample Request
{
"hotelid": "AWSTEST",
"locationid": "541047223"
}
Response
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
}
}
}
}
}
Sample Success Response
{
"status": "Success",
"data": {
"541047223": {
"listings": []
}
}
}
Error
{
"Status": "Fail",
"Errors": [
{
"Code": "400",
"ShortText": "Invalid HotelCode (AWSTEST)"
}
]
}
Last updated
Was this helpful?