Operation
Adds a posting to a Folio with its correspondant Ticket.
Rw ui textbox macro | ||
---|---|---|
| ||
Only accessible with permission of pms.integration.folio.product |
Style |
---|
table { width: 100%; } body.page-gadget { padding-top: 20px; } .separator{ margin: 5px 0; } |
Div | ||
---|---|---|
| ||
POST |
Div | ||
---|---|---|
| ||
https://{environment}.ulysescloud.com/public/api/{version}/chain/{chainId}/property/{propertyId}/folio/{folioId}/posting |
Body
Code Block | ||
---|---|---|
| ||
{ "currency": { "code": "EUR", "name": "Euro" }, "price": 10, "productId": 1, "quantity": 2, "ticket": { "pax": 1, "remarks": "", "ticketItems": [{ "name": "test1", "quantity": 1, "price": 1.2 }, { "name": "test2", "quantity": 1, "price": 5.0 } ], "ticketNumber": "this-is-a-test" } } |
Request
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Example request
Code Block | ||||
---|---|---|---|---|
| ||||
POST https://prod.ulysescloud.com/public/api/v1/chain/1/property/1/folio/posting |
Code Block | ||||
---|---|---|---|---|
| ||||
{
"currency": {
"code": "EUR",
"name": "Euro"
},
"price": 10,
"productId": 1,
"quantity": 2,
"ticket": {
"pax": 1,
"remarks": "",
"ticketItems": [{
"name": "test1",
"quantity": 1,
"price": 1.2
},
{
"name": "test2",
"quantity": 1,
"price": 5.0
}
],
"ticketNumber": "this-is-a-test"
}
} |
Response
Property | Type | Required | Description |
---|---|---|---|
ResponseAPIMessage | ResponseAPIMessage | true | The response of the operation |
Entity
Example response
Code Block | ||
---|---|---|
| ||
{ "httpStatus": "201", "userMessage": "Success", "technicalMessage": "Success product created", "errorCode": "0" } |