NOT FOR PUBLIC DISTRIBUTION: 2020-09-23
Retrieve list of all staterooms
get
/spms/v1/configurations/staterooms
This is to retrieve a list of all staterooms
Request
Supported Media Types
- application/json
Query Parameters
-
limit: integer(int32)
Paging limit
-
offset: integer(int32)
Paging offset
-
roomNumber: string
Search Value based on the room number
Response
Supported Media Types
- application/json
200 Response
To retrieve list of Staterooms
Root Schema : schema
Type:
Show Source
array
-
Array of:
object Oracle Response object
Title:
Oracle Response object
The wrapper object when returning successful values in Oracle standard
Nested Schema : Oracle Response object
Type:
object
Title:
Oracle Response object
The wrapper object when returning successful values in Oracle standard
Show Source
-
count(optional):
integer
Example:
1
-
hasMore(optional):
boolean
Example:
true
-
items(optional):
array items
-
limit(optional):
integer
Example:
5
-
offset(optional):
integer
Example:
1
Nested Schema : items
Type:
Show Source
array
-
Array of:
object validationMessages
Validation Messages
Nested Schema : validationMessages
Type:
object
Validation Messages
Show Source
-
code(optional):
string
Minimum Value:
1
Maximum Value:100
Pattern:^[a-zA-Z ]*$
Example:SCI008
-
comment(optional):
string
Minimum Value:
1
Maximum Value:200
Pattern:^[a-zA-Z ]*$
Example:Invalid Onboard Account
-
enabled(optional):
boolean
Example:
true
-
id(optional):
number
Example:
1.60000011301E11
-
name(optional):
string
Minimum Value:
1
Maximum Value:200
Pattern:^[a-zA-Z ]*$
Example:Invalid Onboard Account
204 Response
No Contents are available
401 Response
You are not authorized to use this API
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
403 Response
You are forbidden to use this API
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
This method is 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
415 Response
This media supplied is not supported
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 occured 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
502 Response
Bad Gateway
503 Response
Service not available