Services request and onboard activities reservation counts
get
/spms/v2/ships/{shipId}/reservations/{reservationId}/serviceActivitiesCounts
This is to retrieve the services request and onboard activities reservation counts.
Request
Supported Media Types
- application/json
Path Parameters
-
reservationId(required): number
Reservation Id
-
shipId(required): number
ship Id
Response
Supported Media Types
- application/json
200 Response
OK
Root Schema : schema
Type:
Show Source
array
-
Array of:
object serviceActivitiesCountsResponse
Service activities counts response
Nested Schema : serviceActivitiesCountsResponse
Type:
object
Service activities counts response
Show Source
-
onboardActivityReservationCount:
array onboardActivityReservationCount
Onboard activity reservation count
-
reservationId:
number
Minimum Value:
1
Pattern:^[0-9]*$
Reservation IdExample:123
-
serviceRequestCount:
array serviceRequestCount
Service request count
Nested Schema : onboardActivityReservationCount
Type:
array
Onboard activity reservation count
Show Source
-
Array of:
object onboardActivityReservationCount
Onboard activity reservations count
Nested Schema : serviceRequestCount
Type:
array
Service request count
Show Source
-
Array of:
object serviceRequestCount
service request count
Nested Schema : onboardActivityReservationCount
Type:
object
Onboard activity reservations count
Show Source
-
spaCount:
number
Spa count with appointment status Expected, In-House and FinishedExample:
1
-
ticketingCount:
number
Ticketing count with booking status Expected and Checked InExample:
2
Nested Schema : serviceRequestCount
Type:
object
service request count
Show Source
-
amenitiesCount:
number
Amenities countExample:
1
-
guestMessageCount:
number
guest message countExample:
1
-
otherTravelDocumentCount:
number
other travel document countExample:
2
-
specialNeedsCount:
number
Special needs countExample:
2
-
specialRequestCount:
number
Special request countExample:
1
400 Response
Bad Request
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error Response returned when encountered error
Example:
{
"type":"HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1",
"title":"Bad Request",
"detail":"Invalid parameter(s) passed in"
}
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
401 Response
Unauthorized
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error Response returned when encountered error
Example:
{
"type":"HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.2",
"title":"Unauthorized",
"detail":"Valid token is required to access this resource"
}
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
403 Response
Forbidden
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error Response returned when encountered error
Example:
{
"type":"https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.4",
"title":"Forbidden",
"detail":"Access to this resource is forbidden"
}
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
405 Response
Method Not Allowed
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error Response returned when encountered error
Example:
{
"type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.6",
"title":"Method Not Supported",
"detail":"HTTP method not supported for this resource"
}
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
406 Response
Not Acceptable
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error Response returned when encountered error
Example:
{
"type":"HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.7",
"title":"Not Acceptable",
"detail":"Request a Mime type that is supported for this Resource"
}
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
500 Response
Internal Server Error
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error Response returned when encountered error
Example:
{
"type":"HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.1",
"title":"Internal Server Error",
"detail":"Issue fulfilling request. Please retry or contact support"
}
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
503 Response
Service Unavailable
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error Response returned when encountered error
Example:
{
"type":"https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.4",
"title":"Service Unavailable",
"detail":"Service Unavailable. Try again later"
}
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source