Body
-
nationalityId
integer(int32) -
cruiseId
integer(int32) -
tourGuideId
integer(int32) -
orderItems
array[object] | null
curl \
--request POST 'https://org-bay.runasp.net/api/orders' \
--header "Content-Type: application/json" \
--data '{"nationalityId":42,"cruiseId":42,"tourGuideId":42,"orderItems":[{"ticketId":42,"price":42.0}]}'
curl \
--request POST 'https://org-bay.runasp.net/api/orders' \
--header "Content-Type: text/json"
curl \
--request POST 'https://org-bay.runasp.net/api/orders' \
--header "Content-Type: application/*+json"
{
"nationalityId": 42,
"cruiseId": 42,
"tourGuideId": 42,
"orderItems": [
{
"ticketId": 42,
"price": 42.0
}
]
}
{
"nationalityId": 42,
"cruiseId": 42,
"tourGuideId": 42,
"orderItems": [
{
"ticketId": 42,
"price": 42.0
}
]
}
{
"nationalityId": 42,
"cruiseId": 42,
"tourGuideId": 42,
"orderItems": [
{
"ticketId": 42,
"price": 42.0
}
]
}
{
"type": "string",
"title": "string",
"status": 42,
"detail": "string",
"instance": "string"
}
{
"type": "string",
"title": "string",
"status": 42,
"detail": "string",
"instance": "string"
}