Operation
Endpoint to add accounting check of Trevenque
Style |
---|
table { width: 100%; } body.page-gadget { padding-top: 20px; } .separator{ margin: 5px 0; } |
Div | ||
---|---|---|
| ||
POST |
Div | ||
---|---|---|
| ||
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
Code Block | ||||
---|---|---|---|---|
| ||||
POST https://prod.ulysescloud.com/api/v1/chain/1/property/2/trevenque/check?echoToken=test |
Body
An element of TrevenqueCheckQueueResult.
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Example body
Code Block | ||
---|---|---|
| ||
{ "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
Code Block | ||
---|---|---|
| ||
{ "httpStatus": "202 ACCEPTED", "userMessage": "Success", "technicalMessage": "Success inserted", "errorCode": "0", "moreInfo": null, "id": null, "entity": null, "responseApiErrorList": null } |