Div | ||
---|---|---|
| ||
POST |
Div | ||
---|---|---|
| ||
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/folio/{folioId}/posting |
Request
Property | Type | Required | Type parameter | Default value | Description | name | String | true | Description of the field.|
---|---|---|---|---|---|---|---|---|---|
chainId | Integer | true | path parameter | ||||||
propertyId | Integer | true | path parameter | ||||||
folioId | Integer | true | path parameter |
Example request
Code Block | ||||
---|---|---|---|---|
| ||||
GETPOST https://prodpublicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/1/folio/1/posting |
Response
Entity
Body
An element of type Posting.
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Example body
Code Block | ||
---|---|---|
| ||
{ "currency": { "count "id": 1, "code": 10,"EUR", "offsetname": 0,"Euro" }, "limitamountAfterTax": 10, "listfoodAmountAfterTax": [8, { "beverageAmountAfterTax": 1, "idothersAmountAfterTax": 1, "productId": 74, "createdDateproductCode": "productCode", "2018-04-12T18:13:50.710Z", "quantity": 2, "ticket": { "pax": 1, "coderemark": "CCRT1", "ticketItems": [{ "name": "ChainCancellationReasonTypeticketItem 1", } "quantity": 1, "costCenter": null, { "idprice": 1.2, "createdDateitemId": 2 }, "2018-04-12T18:13:50.717Z", { "name": "ticketItem 2", "codequantity": "CCRT2",1, "costCenter": null, "nameprice": "ChainCancellationReasonType 2"5.0, }, { "iditemId": 317 } ], "createdDateticketNumber": "2018this-is-04-12T18:13:50.720Z", a-test" }, "propertyCostCenterId":1 } |
Response
Property | Type | Required | Description |
---|---|---|---|
ResponseAPIMessage | ResponseAPIMessage | true | The response of the operation |
Example response
Code Block | ||
---|---|---|
| ||
{ "codehttpStatus": "CCRT3201", "userMessage": "Success", "nametechnicalMessage": "ChainCancellationReasonTypeSuccess posting 3added", "errorCode": "0", } "id": ]1 } |