Get template body

Getting the body of the template

method: POST

url: https://ninjalender.online/client/requisite-template/get-body

Headers:

Where AToken is the token that was received during authorization.

Request body:

params:

response:

Request example:

{
  "params": {
    "id": "1"
  }
}

Response example:

[
  {
    "code": 0,
    "message": "ok",
    "data": {
      "body": {
        "borrower_personal_code": {
          "id": "1",
          "kind": 2,
          "type": 0,
          "label": "borrower_personal_code",
          "nullable": false,
          "variants": null,
          "description": null
        },
        "borrower_first_name": {
          "id": "2",
          "kind": 0,
          "type": 0,
          "label": "borrower_first_name",
          "nullable": false,
          "variants": null,
          "description": null
        },
        "borrower_last_name": {
          "id": "3",
          "kind": 0,
          "type": 0,
          "label": "borrower_last_name",
          "nullable": false,
          "variants": null,
          "description": null
        },
        "borrower_phone": {
          "id": "4",
          "kind": 0,
          "type": 0,
          "label": "borrower_phone",
          "nullable": false,
          "variants": null,
          "description": null
        },
        "borrower_email": {
          "id": "5",
          "kind": 0,
          "type": 0,
          "label": "borrower_email",
          "nullable": false,
          "variants": null,
          "description": null
        },
        "borrower_address": {
          "id": "6",
          "kind": 0,
          "type": 0,
          "label": "borrower_address",
          "nullable": false,
          "variants": null,
          "description": null
        },
        "borrower_monthly_income_amount": {
          "id": "7",
          "kind": 2,
          "type": 1,
          "label": "borrower_monthly_income_amount",
          "nullable": false,
          "variants": null,
          "description": null
        },
        "borrower_monthly_income_source": {
          "id": "8",
          "kind": 0,
          "type": 1,
          "label": "borrower_monthly_income_source",
          "nullable": false,
          "variants": null,
          "description": null
        }
      }
    }
  }
]

List of errors:

Last updated