Versions Compared

Key

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

Operation

Information of the operation

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

PropertyTypeRequiredDefault valueDescription
nameStringtrue
Description of the field.


Example request

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


Code Block
PropertyPropertyTypeRequiredDescriptionIdStringtrueUnique identifier of the entity.CreatedDateDatetrueThe date when the entity was persisted on the database.

Example response

Code Block
language
TypeRequiredDescriptionPagePagetrueDescription of the response of the success operation

Entity

powershell
themeDJango
{
	"currency": {
		"countcode": 10"EUR",
 		"name": "offsetEuro":
0	},
  	"limitprice": 10,
	"productId": 1,
	"listquantity": [
    {
      "id2,
	"ticket": {
		"pax": 1,
      "createdDate		"remarks": "2018-04-12T18:13:50.710Z",
		"ticketItems":      "code[{
				"name": "CCRT1test1",
				"quantity": 1,
				"price": 1.2
			},
			{
				"name": "ChainCancellationReasonType 1"
    },
    {
      "idtest2",
				"quantity": 21,
				"price": 5.0
			}
   "createdDate		],
		"ticketNumber": "2018this-is-04-12T18:13:50.717Z",
      "code": "CCRT2",
      "name": "ChainCancellationReasonType 2"
    },
    {
      "id": 3,
      "createdDate": "2018-04-12T18:13:50.720Z",
      "code": "CCRT3",
      "name": "ChainCancellationReasonType 3"
    }
  ]a-test"
	}
}



Response

PropertyTypeRequiredDescription
PagePagetrueDescription of the response of the success operation

Entity

PropertyTypeRequiredDescription
IdStringtrueUnique identifier of the entity.
CreatedDateDatetrueThe date when the entity was persisted on the database.



Example response

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