Validates and loads your data (data items) into a data container. Once the data is loaded, you can call the /GeneratePages/ method to generate the pages for these data items.

Request Information

Headers

NameDescriptionTypeAdditional information
Authentication

Authentication token

string

Required

URI Parameters

NameDescriptionTypeAdditional information
containerid

Data container id.

integer

Required

Body Parameters

Item data.

ApiTemplateLoadData
NameDescriptionTypeAdditional information
Items

List of data items to be loaded into this data container

Collection of ApiTemplateLoadDataItem

Required

Request Formats

application/json

Sample:
{
  "Items": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "DomainId": 3,
      "PageTemplateId": 4,
      "ForDefaultPage": true,
      "Fields": [
        {
          "FieldName": "sample string 1",
          "Value": "sample string 2"
        },
        {
          "FieldName": "sample string 1",
          "Value": "sample string 2"
        }
      ]
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "DomainId": 3,
      "PageTemplateId": 4,
      "ForDefaultPage": true,
      "Fields": [
        {
          "FieldName": "sample string 1",
          "Value": "sample string 2"
        },
        {
          "FieldName": "sample string 1",
          "Value": "sample string 2"
        }
      ]
    }
  ]
}

Response Information

Resource Description

NameDescriptionTypeAdditional information
Data

ApiTemplateLoadDataResponse

None.

Success

boolean

None.

Messages

Collection of ErrorMessage

None.

Response Formats

application/json

Sample:
{
  "Data": null,
  "Success": false,
  "Messages": null
}