Retrieve guest message by reservation Id
get
/spms/v2/ships/{shipId}/reservations/{reservationId}/guestMessages
This is to retrieve the guest message that is linked to a specific reservation Id
Request
Supported Media Types
- application/json
Path Parameters
-
reservationId(required): number
Reservation Id
-
shipId(required): number
Ship Id
Query Parameters
-
isDeliveryStatus: number
Indicates the delivery status. 0 stands for Not Delivered, 1 for DeliveredAllowed Values:
[ "0", "1" ]
-
isGatewaySecurity: boolean
Gateway Security flag.
-
isLightStatus: string
Light StatusAllowed Values:
[ true, false ]
-
messageDeliveryType: number
Indicates the message delivery type. 0 stands for No delivery, 1 stands Delivery during check-In, 2 stands for Delivery at gangway, 3 stands for Delivery at internal gate, 4 stands for Delivery at immigration gateAllowed Values:
[ "0", "1", "2", "3", "4" ]
-
orderBy: string
order by isLightStatus and createdDateTime with format column1:asc/desc,column2:asc/desc
Response
Supported Media Types
- application/json
200 Response
OK
Root Schema : Oracle Responses list
Type:
object
Title:
Oracle Responses list
The wrapper object when returning successful values in Oracle standard
Show Source
-
count:
number
The total number of items in the list.Example:
1
-
hasMore:
boolean
Flag which indicates whether or not there are more items.Example:
false
-
items:
array items
-
limit:
number
Paging limitExample:
5
-
offset:
number
Paging offsetExample:
10
Nested Schema : items
Type:
Show Source
array
-
Array of:
object guestMessageGETObject
Guest Message GET Object
Example:
[
{
"shipId":"186000000117",
"reservationId":"2966243",
"messageId":"21",
"senderName":"Front Office",
"messageText":"Overdue balance",
"isLightStatus":"ON",
"messageDeliveryType":"No delivery",
"messageAcknowledgementType":"Manager Acknowledge with log",
"messageType":"Standard",
"effectiveDate":"2024-07-07T00:00:00",
"expiryDate":"2024-07-07T00:00:00",
"printedDateTime":"2021-03-31T16:00:00.000+0000",
"createdBy":"999",
"createdDateTime":"2021-03-31T16:00:00.000+0000",
"messageDeliveredBy":"999",
"messageDeliveredDateTime":"2021-03-31T16:00:00.000+0000"
}
]
Nested Schema : guestMessageGETObject
Type:
object
Guest Message GET Object
Show Source
-
createdBy:
string
Created ByExample:
FOPolly Pipe
-
createdDateTime:
string(date-time)
Example:
2015-09-09T16:00:00
-
effectiveDate:
string(date)
Effective DateExample:
2024-07-07T00:00:00.0
-
expiryDate:
string(date)
Expiry DateExample:
2024-07-07T00:00:00.0
-
isLightStatus:
string
Allowed Values:
[ true, false ]
Light StatusExample:true
-
messageAcknowledgementType:
string
Allowed Values:
[ "No Acknowledgement", "User Acknowledgement with log", "Manager Acknowledgement with log", "Do not allow to continue with log" ]
Message Acknowledgement TypeExample:Manager Acknowledgement with log
-
messageDeliveredBy:
number
Message Delivery ByExample:
999
-
messageDeliveredDateTime:
string(Date)
Message Delivered DateTimeExample:
2024-07-07T00:00:00.0
-
messageDeliveryStatus:
string
Allowed Values:
[ "Not Delivered", "Delivered" ]
Indicates the message delivery status.Example:Delivered
-
messageDeliveryType:
string
Allowed Values:
[ "No delivery", "Delivery during check-In", "Delivery at gangway", "Delivery at internal gate", "Delivery at immigration gate" ]
Message Delivery TypeExample:No delivery
-
messageId:
number
Minimum Length:
1
Pattern:^[0-9]*$
Message IdExample:1234567
-
messageText:
string
Pattern:
^[a-zA-Z0-9 _,\?/\.\-\\+\* ~!@#$%&{}\[\]()=<>\|\^\'\":;@`]*$
Message TextExample:Overdue balance
-
messageType:
string
Allowed Values:
[ "Standard", "Priority", "Silent" ]
Message TypeExample:Standard
-
printedDateTime:
string(date)
Printed Date TimeExample:
2024-07-07T00:00:00.0
-
reservationId:
number
Minimum Length:
1
Pattern:^[0-9]*$
Reservation IdExample:1001
-
senderName:
string
Pattern:
^[a-zA-Z0-9 _,\?/\.\-\\+\* ~!@#$%&{}\[\]()=<>\|\^\'\":;@`]*$
Sender NameExample:Front Office
204 Response
No Content
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":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.4",
"title":"Forbidden",
"detail":"Access to this resource was forbidden"
}
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
404 Response
Not Found
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.5",
"title":"Not Found",
"detail":"Ship Id could not be found"
}
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
410 Response
Gone
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.11",
"title":"Gone",
"detail":"Requested Resource no longer exists"
}
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
415 Response
Unsupported Media Type
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.16",
"title":"Unsupported Media Type",
"detail":"Content type not supported"
}
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
501 Response
Not Implemented
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.2",
"title":"Not implemented",
"detail":"Resource is not implemented in this version of the API"
}
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":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.4",
"title":"Service Unavailable",
"detail":"Service not available"
}
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source