Versions Compared

Key

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

Operation

Adds a posting to a Folio with its correspondant Ticket.
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}/chain/{chainId}/property/{propertyId}/folio/{folioId}/posting



Request

Property
Insert excerpt
TypeRequiredDefault valueDescriptionnameStringtrueDescription of the field.
Posting
Posting


Example request

Code Block
languagepowershell
themeDJango
POST https://prod.ulysescloud.com/public/api/v1/chain/1/property/1/folio/posting


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

PropertyTypeRequiredDescription
ResponseAPIMessageResponseAPIMessagetrueThe response of the operation

Entity



Example response

Code Block
themeDJango
{
  "httpStatus": "201",
  "userMessage": "Success",
  "technicalMessage": "Success product created",
  "errorCode": "0"
}