Update fixed costs for the bookable tour
put
/spms/v2/ships/{shipId}/configurations/excursions/bookableTours/{bookableTourId}/costs/fixedCosts
This is to update fixed costs of the bookable tour
Request
Supported Media Types
- application/json
Path Parameters
-
bookableTourId: integer
bookable Tour Id
-
shipId: integer
ship Id
Root Schema : Update bookable tour fixed costs
Type:
object
Title:
Show Source
Update bookable tour fixed costs
Nested Schema : costsUpdateRequest
Type:
Show Source
object
-
fixedCostId:
integer(int64)
Minimum Value:
0
Maximum Value:1.0E38
fixedCost IdExample:123
-
itemType:
string
Minimum Length:
0
Maximum Length:1000
Pattern:[a-zA-Z0-9 ] ~!@#$%^&*()_+-?/\|,.":;{}[]=<>`'
Costs Item TypeExample:MALTA
-
price:
number
Minimum Value:
0
Maximum Value:1.0E18
Costs PriceExample:20
-
quantity:
integer
Minimum Value:
0
Maximum Value:1000000
Costs QuantityExample:3
-
vendorId:
integer(int64)
Minimum Value:
0
Maximum Value:1.0E38
Vendor IdExample:123
Response
Supported Media Types
- application/json
200 Response
OK
Root Schema : Bookable Tour Fixed Cost
Type:
object
Title:
Bookable Tour Fixed Cost
Retrieve Bookable Tour Fixed Cost
Show Source
Nested Schema : costsResponse
Type:
Show Source
object
-
bookableTourId(optional):
integer
Bookable Tour IdExample:
1234
-
fixedCostId(optional):
integer
Fixed Costs IdExample:
1234
-
itemType(optional):
string
Costs Item TypeExample:
MALTA
-
price(optional):
number
Bookable Tour Costs PriceExample:
20
-
quantity(optional):
number
Bookable Tour Costs QuantityExample:
3
-
total(optional):
number
Bookable Tour Costs TotalExample:
60
-
vendorId(optional):
integer
Vendor IdExample:
123
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":[
{
"errorPath":"costs[0].vendorId",
"message":"must not be null"
}
]
}
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
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":"Bookable tour 123 not 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":"System not allows officers to schedule a tour before the current date"
}
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":"Invalid content",
"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
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