POST api/ISSaveImportTemplate

Documentation for 'Post'.

Request Information

Request body formats

application/json, text/json

Sample:
{
  "IsNew": true,
  "SaveAfterValidation": true,
  "TemplateDetails": {
    "ORIG_HASH": "sample string 1",
    "X_IMPORT_TYPE_NAME": "sample string 2",
    "X_FORMAT_TYPE_DESC": "sample string 3",
    "TEMPLATE_ID": 4,
    "TEMPLATE_CODE": "sample string 5",
    "IMPORT_TYPE_CODE": "sample string 6",
    "STATUS_CODE": "sample string 7",
    "FORMAT_CODE": "sample string 8",
    "DESCRIPTION": "sample string 9",
    "INS_USER": "sample string 10",
    "INS_DATE": "2024-09-19T04:52:39.8111317-07:00",
    "UPD_USER": "sample string 12",
    "UPD_DATE": "2024-09-19T04:52:39.8111317-07:00",
    "HEADER_ROWS_TO_SKIP": 14,
    "FOOTER_ROWS_TO_SKIP": 15,
    "ACTIVATE_COLUMN_NAMES": true
  },
  "TemplateFields": [
    {
      "ORIG_HASH": "sample string 1",
      "FIELD_LABEL": "sample string 2",
      "FIELD_TARGET": "sample string 3",
      "DB_REQUIRED": true,
      "DEFAULT_VALUE_ONLY": true,
      "MAP_FIELD_ID": 6,
      "TEMPLATE_FIELD_ID": 7,
      "MAP_ID": 1,
      "TEMPLATE_ID": 8,
      "IMPORT_TYPE_FIELD_ID": 9,
      "START_POSITION": 1,
      "LENGTH": 1,
      "FIELD_FORMAT": "sample string 10",
      "INS_USER": "sample string 11",
      "INS_DATE": "2024-09-19T04:52:39.8111317-07:00",
      "UPD_USER": "sample string 13",
      "UPD_DATE": "2024-09-19T04:52:39.8111317-07:00",
      "HEADER_COLUMN_NAME": "sample string 15",
      "DEFAULT_VALUE": "sample string 16",
      "FIELD_MAPPING": "sample string 17",
      "VIRTUAL_FIELD": true
    },
    {
      "ORIG_HASH": "sample string 1",
      "FIELD_LABEL": "sample string 2",
      "FIELD_TARGET": "sample string 3",
      "DB_REQUIRED": true,
      "DEFAULT_VALUE_ONLY": true,
      "MAP_FIELD_ID": 6,
      "TEMPLATE_FIELD_ID": 7,
      "MAP_ID": 1,
      "TEMPLATE_ID": 8,
      "IMPORT_TYPE_FIELD_ID": 9,
      "START_POSITION": 1,
      "LENGTH": 1,
      "FIELD_FORMAT": "sample string 10",
      "INS_USER": "sample string 11",
      "INS_DATE": "2024-09-19T04:52:39.8111317-07:00",
      "UPD_USER": "sample string 13",
      "UPD_DATE": "2024-09-19T04:52:39.8111317-07:00",
      "HEADER_COLUMN_NAME": "sample string 15",
      "DEFAULT_VALUE": "sample string 16",
      "FIELD_MAPPING": "sample string 17",
      "VIRTUAL_FIELD": true
    },
    {
      "ORIG_HASH": "sample string 1",
      "FIELD_LABEL": "sample string 2",
      "FIELD_TARGET": "sample string 3",
      "DB_REQUIRED": true,
      "DEFAULT_VALUE_ONLY": true,
      "MAP_FIELD_ID": 6,
      "TEMPLATE_FIELD_ID": 7,
      "MAP_ID": 1,
      "TEMPLATE_ID": 8,
      "IMPORT_TYPE_FIELD_ID": 9,
      "START_POSITION": 1,
      "LENGTH": 1,
      "FIELD_FORMAT": "sample string 10",
      "INS_USER": "sample string 11",
      "INS_DATE": "2024-09-19T04:52:39.8111317-07:00",
      "UPD_USER": "sample string 13",
      "UPD_DATE": "2024-09-19T04:52:39.8111317-07:00",
      "HEADER_COLUMN_NAME": "sample string 15",
      "DEFAULT_VALUE": "sample string 16",
      "FIELD_MAPPING": "sample string 17",
      "VIRTUAL_FIELD": true
    }
  ]
}

Response Information

Response body formats

application/json, text/json

Sample:
{
  "TemplateID": 1,
  "TemplateCode": "sample string 2",
  "ApiResult": {
    "Success": true,
    "Warnings": true,
    "Description": "sample string 3",
    "WarningMessages": [
      "sample string 1",
      "sample string 2",
      "sample string 3"
    ],
    "NotificationErrorMessages": "sample string 4"
  }
}