Updates and sets request as completed, usually for completing your process
Specified request has been set as completed
const response = await fetch('https://api-uat.mioid.preventor.com/v1/business/activities/requests/{request_id}/complete', { method: 'POST', headers: { "Authorization": "text", "x-api-key": "text", "Content-Type": "application/json" }, body: JSON.stringify({ "state": "COMPLETED", "description": "text" }), }); const data = await response.json();
{ "status": 400, "code": "BDRQST", "message": "Some properties are invalid or missing on your request" }