Add check Accounting Trevenque [POST]

Operation

Endpoint to add accounting check of Trevenque

POST
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

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


Body

An element of TrevenqueCheckQueueResult.


FieldTypeRequiredDescription
errorMessageStringtrue
accountingEntriesErrorBooleantrue
totalAmountErrorBooleantrue
responseStatusCodeResponseStatusCodetrue
trevenqueCheckQueueResultInvoiceListList of TrevenqueCheckQueueResultInvoicefalse
trevenqueCheckQueueResultPaymentListList of TrevenqueCheckQueueResultPaymentfalse
trevenqueCheckQueueResultProfileListList of TrevenqueCheckQueueResultProfilefalse
trevenqueCheckQueueResultRevenueListList of TrevenqueCheckQueueResultRevenuefalse


Example body

{
	"errorMessage": "test",
	"accountingEntriesError": false,
	"totalAmountError": true,
	"responseStatusCode": {
		"id": 1
	},
	"trevenqueCheckQueueResultInvoiceList": [{
		"serie": "RRE",
		"number": 12,
		"errorMessage": "Error message test"
	}],
	  "trevenqueCheckQueueResultPaymentList": [{
		"type": 1,
		"serie": "ACCB",
		"number": 12,
		"errorMessage": "Fail 1"
	}],
		"trevenqueCheckQueueResultProfileList": [{
		"code": "CODE",
		"errorMessage": "Fail 2"
	}],
		"trevenqueCheckQueueResultRevenueList": [{
		"accountingAccount": "test",
		"productCode": "DOUBLE",
		"errorMessage": "Error message test 2"
	}]
}


Response

PropertyTypeRequiredDescription
ResponseApiMessageResponseApiMessagetrueDescription of the response of the success operation




Example response

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