Show

Get Process by ID

GET https://biometridon.polygon.pt/api/processes/:id

This endpoint allows you to get a process information by id.

Path Parameters

Name
Type
Description

id

string

ID of the process to get

Headers

Name
Type
Description

Authorization

string

Authentication user token

{
  "data": {
    "_id": "5efe1546d677cb49cc08a9dc",
    "clientId": "5e3814ebba18aa24a05d42c6",
    "flowId": "5e67a69bc16a117ec8a431e5",
    "remainingSteps": [
      "5e3814fffc9ced14a824d6fa"
    ],
    "stepData": [
      {
        "step": "5e3814fffc9ced14a824d6f6",
        "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": "rejected",
    "deviceType": "other",
    "settings": {
      "guide": [
        {
          "text": "Contrary to popular belief, Lorem Ipsum is not simply random text"
        },
        {
          "text": "The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested."
        },
        {
          "text": "What is Lorem Ipsum?"
        },
        {
          "text": "1914 translation by H. Rackham"
        }
      ],
      "processUsername": [
        "stepData.data.name",
        "stepData.data.surname"
      ]
    },
    "videos": [],
    "notes": [
      {
        "text": "fdfhgh",
        "created_at": "2020-07-02T17:11:48.050Z"
      }
    ],
    "log": [
      {
        "action": "process-locked",
        "entityType": "agent",
        "entityId": "5e3814ebba18aa24a05d42c9",
        "created_at": "2020-07-02T17:11:42.954Z"
      },
      {
        "action": "process-reject",
        "entityType": "agent",
        "entityId": "5e3814ebba18aa24a05d42c9",
        "data": {
          "text": "fdfhgh",
          "created_at": "2020-07-02T17:11:48.050Z"
        },
        "created_at": "2020-07-02T17:11:48.053Z"
      }
    ],
    "corrections": [],
    "delete_at": "2020-07-04T17:11:34.748Z",
    "created_at": "2020-07-02T17:11:34.748Z",
    "updated_at": "2020-07-02T17:11:48.054Z",
    "deleted_at": "2020-07-02T17:11:48.050Z"
  },
  "meta": {
    "message": "Success."
  },
  "status": true
}

Last updated

Was this helpful?