POST api/catalog/post

Request Information

To use this Api, you need to have the exposantid and the formid / listid depending on what you want to import.You can get these variables from the URL of the catalog tab for an exhibitor in users.expodoc project.

eg: https://users.expodoc.com/en/1042/exhibitors/3241330/company?formid=268.

URI Parameters

None.

Body Parameters

Catalog
NameDescriptionTypeAdditional information
Forms

Collection of FormEntries

None.

Lists

Collection of ListEntries

None.

Request Formats

application/json, text/json

Sample:
{
  "Forms": [
    {
      "Id": 1,
      "ExposantId": 2,
      "FormId": 3,
      "Key": "Key Name",
      "Value": "This is a value"
    },
    {
      "Id": 1,
      "ExposantId": 2,
      "FormId": 3,
      "Key": "Key Name",
      "Value": "This is a value"
    }
  ],
  "Lists": [
    {
      "Id": 1,
      "ExposantId": 2,
      "ListId": 3,
      "ListFieldId": 4,
      "Value": "This is a value",
      "Language": "nl",
      "SortOrder": 5
    },
    {
      "Id": 1,
      "ExposantId": 2,
      "ListId": 3,
      "ListFieldId": 4,
      "Value": "This is a value",
      "Language": "nl",
      "SortOrder": 5
    }
  ]
}

application/xml, text/xml

Sample:
<Catalog xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Forms>
    <FormEntries>
      <Id>1</Id>
      <key>Key Name</key>
      <Value>This is a value</Value>
    </FormEntries>
    <FormEntries>
      <Id>1</Id>
      <key>Key Name</key>
      <Value>This is a value</Value>
    </FormEntries>
  </Forms>
  <Lists>
    <ListEntries>
      <Id>1</Id>
      <Value>This is a value</Value>
      <Language>nl</Language>
    </ListEntries>
    <ListEntries>
      <Id>1</Id>
      <Value>This is a value</Value>
      <Language>nl</Language>
    </ListEntries>
  </Lists>
</Catalog>