Skip to main content

Update Model Data

Overview

Update the Model Data

URL: /api/processinstance/submitModelData

Method: POST

Request Header:

{ "accept": "'*/*'", "Authorization": Bearer ACCESS_TOKEN }

Request Body:

  {
"processInstanceId" : "cab622a17f8d444bbbec0dff5583a564",
"Data":{"checkListInput" : "ChatGPTChecklist.txt"}
}

Response:

  • Status: 200 OK

  • Body:

       {
    "processInstanceId": "cab622a17f8d444bbbec0dff5583a564",
    "instDataId": 157,
    "status": "Success"
    }
  • Header:

       {
    access-control-allow-credentials: true
    access-control-allow-origin: http://localhost
    access-control-expose-headers: inline-image,IB-Secure-Data
    content-length: 92
    content-security-policy: default-src 'self' fonts.googleapis.com fonts.gstatic.com;script-src 'self' 'unsafe-inline' 'unsafe-eval' fonts.googleapis.com fonts.gstatic.com cdn.form.io blob:;style-src 'self' 'unsafe-inline' fonts.googleapis.com fonts.gstatic.com;img-src 'self' fonts.googleapis.com fonts.gstatic.com data:;font-src 'self' fonts.googleapis.com fonts.gstatic.com
    content-type: application/json; charset=utf-8
    date: Wed,10 Jul 2024 11:30:58 GMT
    referrer-policy: no-referrer
    vary: Origin
    x-content-type-options: nosniff
    x-xss-protection: 1; mode=block
    }