NOT FOR PUBLIC DISTRIBUTION: 2020-09-23
Validate required information for checking in a reservation
post
/spms/v1/reservations/validation/checkIns
This is to validate required information for checking in a reservation
Request
Supported Media Types
- application/json
Reservation ID
Root Schema : reservationId
Type:
object
Reservation ID
Show Source
-
reservationId(optional):
integer(int64)
Example:
989323
Response
Supported Media Types
- application/json
200 Response
OK
Root Schema : Oracle Response returned in singular object
Type:
object
Title:
Oracle Response returned in singular object
The object returned in Oracle Standard when function is executed successfully
Show Source
-
item(optional):
array item
Empty body with 200 HTTP response status code
Nested Schema : item
Type:
array
Empty body with 200 HTTP response status code
Example Response (application/json)
{
}
400 Response
Invalid parameter(s) passed in
Root Schema : Oracle Response returned in singular object
Type:
object
Title:
Oracle Response returned in singular object
The object returned in Oracle Standard when function is executed successfully
Show Source
-
item(optional):
array item
A list of objects that contains error messages and fields grouped by category.
Nested Schema : item
Type:
array
A list of objects that contains error messages and fields grouped by category.
Example Response (application/json)
{
"detail":[
{
"step":"PROFILE",
"error":[
{
"errorPath":"firstName",
"message":"First Name is missing!"
},
{
"errorPath":"lastName",
"message":"Last Name is missing!"
}
]
},
{
"step":"GUARDIAN",
"error":{
"errorPath":"guardian",
"message":"Guest is minor, please assign a guardian!"
}
}
]
}
403 Response
This API is not allowed for the current user
Root Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
-
detail(optional):
string
Example:
There are validation errors for the object......
-
title(optional):
string
Example:
validation fails for row with key={123}
-
type(optional):
string
Example:
HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1
405 Response
Method requested not available
Root Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
-
detail(optional):
string
Example:
There are validation errors for the object......
-
title(optional):
string
Example:
validation fails for row with key={123}
-
type(optional):
string
Example:
HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1
409 Response
Check-In failed. Reservation is already checked in
Root Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
-
detail(optional):
string
Example:
There are validation errors for the object......
-
title(optional):
string
Example:
validation fails for row with key={123}
-
type(optional):
string
Example:
HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1
500 Response
Error occurred while processing this request
Root Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
-
detail(optional):
string
Example:
There are validation errors for the object......
-
title(optional):
string
Example:
validation fails for row with key={123}
-
type(optional):
string
Example:
HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1