POST v1/datalists/add

saves datalist to database

Request Information

URI Parameters

None.

Body Parameters

datalist

ConfidenceApps.Interfaces.Designer.IDataList
NameDescriptionTypeAdditional information
Items

The list of data.

Collection of ConfidenceApps.Interfaces.CApps.IValue

None.

Name

The identification and representation name of the list.

string

None.

HashValue

HashValue represents the existing data items (values).

string

None.

Request Formats

application/json, text/json

Sample:
{
  "items": [
    {
      "content": "Sample Content",
      "goto": "00000000-0000-0000-0000-000000000000",
      "isDefault": false,
      "target": "Sample Text",
      "createdAt": "0001-01-01T00:00:00",
      "modifiedAt": "0001-01-01T00:00:00",
      "referenceId": "00000000-0000-0000-0000-000000000000",
      "isPreview": false,
      "isSearch": false
    },
    {
      "content": "Sample Content",
      "goto": "00000000-0000-0000-0000-000000000000",
      "isDefault": false,
      "target": "Sample Text",
      "createdAt": "0001-01-01T00:00:00",
      "modifiedAt": "0001-01-01T00:00:00",
      "referenceId": "00000000-0000-0000-0000-000000000000",
      "isPreview": false,
      "isSearch": false
    }
  ],
  "name": "Sample Datalist",
  "id": "a746980f-6fae-4898-add7-8a73ee61c7d4",
  "createdAt": "0001-01-01T00:00:00",
  "modifiedAt": "0001-01-01T00:00:00",
  "referenceId": "00000000-0000-0000-0000-000000000000"
}

Response Information

Resource Description

datalist.id

string

Response Formats

application/json, text/json

Sample:
"sample string 1"