Internal call to update command message status

Request
path Parameters
id
required
string
status
required
string (EndpointCommandMessageStatus)
Enum: "CREATED" "SENT" "RETRY" "MSG_SEND_FAIL" "MSG_HYDRATE_FAIL" "MSG_WSS_FAIL"
Responses
200

OK

400

Bad Request. The request parameters (or body) were malformed or invalid. Fix the issues with the request and try again.

401

Unauthorized request. Make sure token was included and is valid and try again.

403

Forbidden. You are not permitted to access the requested resource.

404

Not Found. The specified resource (or resource referred to by id) was not found

409

Request could not be processed because of conflict in the current state of the resource.

500

Internal Server Error. An unexpected error has occurred. This may be due to a transient error. Retry the request and if the issue persists, please contact support.

patch/endpoint-control-service/internal/v1/command-message/{id}/status/{status}
Request samples
curl -i -X PATCH \
  'http://endpoint-control-service:8080/endpoint-control-service/internal/v1/command-message/{id}/status/{status}'
Response samples
application/json
{
  • "id": "string",
  • "status": "CREATED",
  • "endpointId": "string",
  • "orgId": "string",
  • "createdBy": {
    },
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedBy": {
    },
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "version": {
    },
  • "module": "string",
  • "name": "string",
  • "uuid": "string",
  • "ruuid": "string",
  • "ts": "2019-08-24T14:15:22Z",
  • "payload": { }
}