Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Operation

Information of the operationAdds a Posting to a Folio with its correspondant Ticket.

Rw ui textbox macro
typewarning

Only accessible with permission of pms.integration.folio.product


Style
table {
width: 100%;
}
body.page-gadget {
padding-top: 20px;
}
.separator{
margin: 5px 0;
}



Div
style background-color: CornflowerBlue; color: white; display: inline-block; padding: 5px; border-radius: 3px;

POST



Div
stylebackground-color: #0a2b1d; padding: 10px 1em; display: inline-block; color: white; border-radius: 3px;

https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/folio/{folioId}/posting



Request

Description of the field.
Property
Type
Required
Type parameter
Default value
Description
nameStringtrue

chainId

Integertruepath parameter

propertyIdIntegertruepath parameter

folioIdIntegertruepath parameter


Example request

Code Block
languagepowershell
themeDJango
GETPOST https://prodpublicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/1/folio/1/posting



Response

PropertyTypeRequiredDescriptionPagePagetrueDescription of the response of the success operation

Entity

PropertyTypeRequiredDescriptionIdStringtrueUnique identifier of the entity.CreatedDateDatetrueThe date when the entity was persisted on the database.Example response

Body

An element of type Posting.

Insert excerpt
Posting
Posting
nopaneltrue

Example body

Code Block
themeDJango
{
    "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

PropertyTypeRequiredDescription
ResponseAPIMessageResponseAPIMessagetrueThe response of the operation


Example response

Code Block
themeDJango
{
  "codehttpStatus": "CCRT3201",
  "userMessage": "Success",
  "nametechnicalMessage": "ChainCancellationReasonTypeSuccess posting 3added",
  "errorCode": "0",
}  "id": ]1
}