Versions Compared

Key

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

Operation

Endpoint to add accounting check of Trevenque


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/api/{version}/con/chain/{chainId}/property/{propertyId}/trevenque/check



Request

PropertyTypeRequiredType parameterDefault valueDescription
chainIdIntegertruepath parameter
Unique id for chain

propertyId

Integertruepath parameter
Unique id for property
echoTokenStringtruerequest parameter
Echo token used on queue log


Example request

Code Block
languagepowershell
themeDJango
POST https://prod.ulysescloud.com/api/v1/chain/1/property/2/trevenque/check?echoToken=test



Body

Example body

Code Block
themeDJango
{
	"errorMessage": "test",
	"accountingEntriesError": false,
	"totalAmountError": true,
	"responseStatusCode": {
		"id": 1
	},
	"propertyIntegrationAccountingTrevenqueCheckQueueResultInvoiceSettrevenqueCheckQueueResultInvoiceSet": [{
		"serie": "RRE",
		"number": 12,
		"errorMessage": "Error message test"
	}],
	  "propertyIntegrationAccountingTrevenqueCheckQueueResultPaymentSettrevenqueCheckQueueResultPaymentSet": [{
		"type": 1,
		"serie": "ACCB",
		"number": 12,
		"errorMessage": "Fail 1"
	}],
		"propertyIntegrationAccountingTrevenqueCheckQueueResultProfileSettrevenqueCheckQueueResultProfileSet": [{
		"code": "CODE",
		"errorMessage": "Fail 2"
	}],
		  "propertyIntegrationAccountingTrevenqueCheckQueueResultRevenueSettrevenqueCheckQueueResultRevenueSet": [{
		"accountingAccount": "test",
		"productCode": "DOUBLE",
		"errorMessage": "Error message test 2"
	}]
}



Response

PropertyTypeRequiredDescription
ResponseApiMessageResponseApiMessagetrueDescription of the response of the success operation




Example response

Code Block
themeDJango
{
    "httpStatus": "202 ACCEPTED",
    "userMessage": "Success",
    "technicalMessage": "Success inserted",
    "errorCode": "0",
    "moreInfo": null,
    "id": null,
    "entity": null,
    "responseApiErrorList": null
}