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
Property | Type | Required | Type parameter | Default value | Description |
---|---|---|---|---|---|
chainId | Integer | true | path parameter | Unique id for chain | |
propertyId | Integer | true | path parameter | Unique id for property | |
echoToken | String | true | request 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.
Field Type Required Description errorMessage String true accountingEntriesError Boolean true totalAmountError Boolean true responseStatusCode ResponseStatusCode true trevenqueCheckQueueResultInvoiceList List of TrevenqueCheckQueueResultInvoice false trevenqueCheckQueueResultPaymentList List of TrevenqueCheckQueueResultPayment false trevenqueCheckQueueResultProfileList List of TrevenqueCheckQueueResultProfile false trevenqueCheckQueueResultRevenueList List of TrevenqueCheckQueueResultRevenue false
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
Property | Type | Required | Description |
---|---|---|---|
ResponseApiMessage | ResponseApiMessage | true | Description 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 }