Verifying Consumption
Function
This API is used to verify consumption.
URI
POST /v2/{engine}/{project_id}/instances/{instance_id}/messages/resend
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
engine |
Yes |
String |
Message engine. Default: reliability |
|
project_id |
Yes |
String |
Project ID. For details about how to obtain it, see Obtaining a Project ID. |
|
instance_id |
Yes |
String |
Instance ID. |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
group |
No |
String |
Group ID. |
|
client_id |
No |
String |
Client ID. |
|
msg_id_list |
No |
Array of strings |
Message list. |
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
resend_results |
Array of resend_results objects |
Consumption verification result. |
Example Requests
Verifying consumption
POST https://{endpoint}/v2/{engine}/{project_id}/instances/{instance_id}/messages/resend
{
"group" : "GID_test",
"client_id" : "192.168.0.1",
"msg_id_list" : [ "id1" ]
}
Example Responses
Status code: 200
Consumption verified.
{
"resend_results" : [ {
"msg_id" : "C0A8149E0000277600000000000B6835",
"error_code" : "DMS.00000000",
"error_message" : "Success."
} ]
}
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
Consumption verified. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot