Set Notes

Set notes

PUT https://biometridon.polygon.pt/api/processes/:id/notes

This endpoint allows you to set notes to a process.

Path Parameters

Name
Type
Description

id

string

ID of the process to get

Headers

Name
Type
Description

Content-Type

string

application/json

Authorization

string

Authentication user token

{
  "data": {
    "_id": "5f0cd62a11cf0913a893871e",
    "clientId": "5f0c47f039d7fa2b986c6510",
    "flowId": "5f0c47f65bef7a1fd4898328",
    "remainingSteps": [
      "5f0c47f3170f5f0a900cbf1f",
      "5f0c47f3170f5f0a900cbf22",
      "5f0c47f3170f5f0a900cbf23",
      "5f0c47f3170f5f0a900cbf25",
      "5f0c47f3170f5f0a900cbf26",
      "5f0c47f3170f5f0a900cbf27",
      "5f0c47f3170f5f0a900cbf28",
      "5f0c47f3170f5f0a900cbf24"
    ],
    "stepData": [
      {
        "step": "5f0c47f3170f5f0a900cbf1e",
        "data": {
          "account_type": "123456",
          "account_holder": "1",
          "client_account_purpose": "P01",
          "funds_origin": "OU",
          "other_funds_origin": "1",
          "accept_terms_conditions": "1",
          "date_of_accept_term_conditions": "01/01/2019",
          "name": "ruben",
          "surname": "rocha",
          "client_email": "ruben.rocha@polygon.pt",
          "client_phonenumber": "913354444",
          "personal_data_aut1": "1",
          "client_nif": "123456789",
          "personal_data_aut2": "1",
          "telef_verif_ind": "1",
          "date_of_phone_validation": "01/01/2019"
        }
      }
    ],
    "status": "in-progress",
    "deviceType": "other",
    "settings": {
      "guide": [],
      "processUsername": [
        "stepData.data.name",
        "stepData.data.surname"
      ]
    },
    "videos": [],
    "notes": [
      {
        "text": "testing 123",
        "created_at": "2020-07-13T21:46:32.267Z"
      }
    ],
    "log": [
      {
        "action": "note-added",
        "entityType": "agent",
        "entityId": "5f0c47f039d7fa2b986c6513",
        "data": {
          "text": "testing 1",
          "created_at": "2020-07-13T21:46:32.267Z"
        },
        "created_at": "2020-07-13T21:46:32.270Z"
      }
    ],
    "corrections": [],
    "delete_at": "2020-07-15T21:46:18.971Z",
    "created_at": "2020-07-13T21:46:18.971Z",
    "updated_at": "2020-07-13T21:46:32.272Z"
  },
  "meta": {
    "message": "Process Updated with success."
  },
  "status": true
}
{
	"notes": "testing 123"
}

Last updated

Was this helpful?