Retrieve minor details by guardian profile ID
get
/spms/v2/ships/{shipId}/profile/{profileId}/minors
This is to retrieve all the minors detail that linked to a guardian profile
Request
Supported Media Types
- application/json
Path Parameters
-
profileId: integer
Profile ID
-
shipId: number
Ship Id
Response
Supported Media Types
- application/json
200 Response
OK
Root Schema : Oracle Minor Responses list
Type:
objectTitle:
Oracle Minor Responses listThe wrapper object when returning successful values in Oracle standard
Show Source
-
bookingNumber(optional):
string
Minimum Length:
1Pattern:^[a-zA-Z0-9]+$Booking NumberExample:0123456789 -
firstName(optional):
string
Minimum Length:
1Maximum Length:40Pattern:^[a-zA-Z??-????-????-??0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$First NameExample:Down -
lastName(optional):
string
Minimum Length:
1Maximum Length:40Pattern:^[a-zA-Z??-????-????-??0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Last NameExample:Niel -
middleName(optional):
string
Minimum Length:
1Maximum Length:30Pattern:^[a-zA-Z??-????-????-??0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Middle Name * `null` if emptyExample:MB -
minorDetails(optional):
array minorDetails
-
otherFirstName(optional):
string
Minimum Length:
1Maximum Length:80Pattern:^[ a-zA-Z0-9_.??-??????-???]*$Other First Name * `null` if emptyExample:null -
otherLastName(optional):
string
Minimum Length:
1Maximum Length:100Pattern:^[ a-zA-Z0-9_.??-??????-???]*$Other Last Name * `null` if emptyExample:null -
photo(optional):
string
PhotoExample:
/9j/4AAQSkZJRgABAQEASABIAAD== -
profileId(optional):
integer
Profile IDExample:
1001 -
profileType(optional):
string
Allowed Values:
[ "Guest", "Resident" ]Profile TypeExample:Resident -
salutation(optional):
string
Pattern:
^[a-zA-Z0-9.]*$SalutationExample:Mr. -
stateroomNumber(optional):
string
Minimum Length:
1Pattern:^[0-9]*$Stateroom NumberExample:1001
Nested Schema : minorDetails
Type:
Show Source
array-
Array of:
object GuardianMinorGETObject
Guardian Minor GET Object
Example:
[
{
"profileId":123,
"profileType":"P",
"lastName":"James",
"firstName":"Bond",
"middleName":"Big",
"otherLastName":"Jennifer",
"otherFirstName":"Crawl",
"salutation":"Mr",
"stateroomNumber":"1001",
"bookingNumber":"0123",
"photo":"https://oracle.com/resources/james.jpg",
"age":11
},
{
"profileId":231,
"profileType":"P",
"lastName":"Jessica",
"firstName":"Alba",
"middleName":"Small",
"otherLastName":"Nick",
"otherFirstName":"Wild",
"salutation":"Ms",
"stateroomNumber":"1002",
"bookingNumber":"0231",
"photo":"https://oracle.com/resources/jessica.jpg",
"age":22
},
{
"profileId":321,
"profileType":"P",
"lastName":"John",
"firstName":"Dickson",
"middleName":"Middle",
"otherLastName":"Hunter",
"otherFirstName":"Lily",
"salutation":"Mr",
"stateroomNumber":"1003",
"bookingNumber":"0321",
"photo":"https://oracle.com/resources/john.jpg",
"age":33
}
]Nested Schema : GuardianMinorGETObject
Type:
objectGuardian Minor GET Object
Show Source
-
age(optional):
integer(int32)
Minimum Value:
1Maximum Value:150AgeExample:25 -
bookingNumber(optional):
string
Minimum Length:
1Pattern:^[a-zA-Z0-9]+$Booking NumberExample:0123456789 -
firstName(optional):
string
Minimum Length:
1Maximum Length:40Pattern:^[a-zA-Z??-????-????-??0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$First NameExample:Down -
lastName(optional):
string
Minimum Length:
1Maximum Length:40Pattern:^[a-zA-Z??-????-????-??0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Last NameExample:Niel -
middleName(optional):
string
Minimum Length:
1Maximum Length:30Pattern:^[a-zA-Z??-????-????-??0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Middle Name * `null` if emptyExample:MB -
otherFirstName(optional):
string
Minimum Length:
1Maximum Length:80Pattern:^[ a-zA-Z0-9_.??-??????-???]*$Other First Name * `null` if emptyExample:null -
otherLastName(optional):
string
Minimum Length:
1Maximum Length:100Pattern:^[ a-zA-Z0-9_.??-??????-???]*$Other Last Name * `null` if emptyExample:null -
photo(optional):
string
PhotoExample:
/9j/4AAQSkZJRgABAQEASABIAAD== -
profileId(optional):
integer
Profile IDExample:
1001 -
profileType(optional):
string
Allowed Values:
[ "Guest", "Resident" ]Profile TypeExample:Resident -
salutation(optional):
string
Pattern:
^[a-zA-Z0-9.]*$SalutationExample:Mr. -
stateroomNumber(optional):
string
Minimum Length:
1Pattern:^[0-9]*$Stateroom NumberExample:1001
400 Response
Bad Request
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError 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:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source
401 Response
Unauthorized
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError 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:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source
403 Response
Forbidden
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError 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:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source
404 Response
Not Found
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError 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 was not be found"
}Nested Schema : Error Response
Type:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source
405 Response
Method Not Allowed
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError 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:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source
406 Response
Not Acceptable
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError 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:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source
410 Response
Gone
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError 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:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source
415 Response
Unsupported Media Type
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError 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:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source
500 Response
Internal Server Error
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError 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:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source
501 Response
Not Implemented
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError 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:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source
503 Response
Service Unavailable
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError 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:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source