Div | ||
---|---|---|
| ||
POST |
Div | ||
---|---|---|
| ||
https://{environment}.ulysescloud.com/public/api/{version}/chain/{chainId}/property/{propertyId}/folio/{folioId}/posting |
Request
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Example request
Code Block | ||||
---|---|---|---|---|
| ||||
POST https://prod.ulysescloud.com/public/api/v1/chain/1/property/1/folio/posting |
Body
An element of type Posting.
Example body
Code Block | ||
---|---|---|
| ||
{ "currency": { "id": 1, "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
Example request
Code Block | ||||
---|---|---|---|---|
| ||||
POST https://prod.ulysescloud.com/public/api/v1/chain/1/property/1/folio/posting |
Response
Property | Type | Required | Description |
---|---|---|---|
ResponseAPIMessage | ResponseAPIMessage | true | The response of the operation |
Example response
Code Block | ||
---|---|---|
| ||
{ "httpStatus": "201", "userMessage": "Success", "technicalMessage": "Success product created", "errorCode": "0" } |