Confirm Processing of a Message

Use this request to process a message.

This request updates the status to confirmed.

To confirm the processing of a message, use a POST operation and the following URL:

https://{service_url}/api/v1/messages/{messageId}/confirm

where:

  • {service_url} is the service's URL.
  • {messageId} is the message ID you want to retrieve. This is explained in the Path parameter section of this topic.

For example:

curl --request POST \
     --url https://e-invoicing-message.vertexcloud.com/api/v1/messages/asidasd%20/confirm \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
  "result": true,
  "index": {
    "Custom": "12345"
  },
  "text": "Note to self"
}

Details

TypeValue
Endpoint/api/v1/messages
MethodPOST
API Reference TopicConfirm processing of a message

Path parameter

This path parameter is required:

FieldDetailsDescription
messageIdUUIDSpecify the ID of the message that you want to confirm.

Body parameters

FieldDetailsRequiredDescription
indexStringNoYou can use this field to specify custom field and value pairs.
resultBooleanYesIf true, indicates that the message processing was successful.
textStringNoYou can use this field to add custom text.

Example

Request

curl --request POST \
     --url https://e-invoicing-message.vertexcloud.com/api/v1/messages/asidasd%20/confirm \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
  "result": true,
  "index": {
    "Custom": "12345"
  },
  "text": "Note to self"
}