GET api/ApnImport/Types

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

ApiResultOfListOfImportType
NameDescriptionTypeAdditional information
Response

ApiResponse

None.

Data

Collection of ImportType

None.

Response Formats

application/json, text/json

Sample:
{
  "Response": {
    "Success": true,
    "ErrorMessage": "sample string 2"
  },
  "Data": [
    {
      "TypeId": 1,
      "Key": "sample string 2",
      "Title": "sample string 3",
      "Description": "sample string 4",
      "Sections": [
        {
          "Key": "sample string 1",
          "TypeId": 2,
          "Title": "sample string 3",
          "Repeatable": true,
          "ParentKey": "sample string 5",
          "Options": [
            {
              "Key": "sample string 1",
              "Label": "sample string 2",
              "Kind": "sample string 3",
              "Lookup": "sample string 4"
            },
            {
              "Key": "sample string 1",
              "Label": "sample string 2",
              "Kind": "sample string 3",
              "Lookup": "sample string 4"
            }
          ],
          "Fields": [
            {
              "Name": "sample string 1",
              "Label": "sample string 2",
              "SqlType": "sample string 3",
              "MaxLength": 1,
              "Required": true,
              "RequiredGroup": "sample string 5",
              "Hint": "sample string 6",
              "Imported": true,
              "GroupId": 1
            },
            {
              "Name": "sample string 1",
              "Label": "sample string 2",
              "SqlType": "sample string 3",
              "MaxLength": 1,
              "Required": true,
              "RequiredGroup": "sample string 5",
              "Hint": "sample string 6",
              "Imported": true,
              "GroupId": 1
            }
          ]
        },
        {
          "Key": "sample string 1",
          "TypeId": 2,
          "Title": "sample string 3",
          "Repeatable": true,
          "ParentKey": "sample string 5",
          "Options": [
            {
              "Key": "sample string 1",
              "Label": "sample string 2",
              "Kind": "sample string 3",
              "Lookup": "sample string 4"
            },
            {
              "Key": "sample string 1",
              "Label": "sample string 2",
              "Kind": "sample string 3",
              "Lookup": "sample string 4"
            }
          ],
          "Fields": [
            {
              "Name": "sample string 1",
              "Label": "sample string 2",
              "SqlType": "sample string 3",
              "MaxLength": 1,
              "Required": true,
              "RequiredGroup": "sample string 5",
              "Hint": "sample string 6",
              "Imported": true,
              "GroupId": 1
            },
            {
              "Name": "sample string 1",
              "Label": "sample string 2",
              "SqlType": "sample string 3",
              "MaxLength": 1,
              "Required": true,
              "RequiredGroup": "sample string 5",
              "Hint": "sample string 6",
              "Imported": true,
              "GroupId": 1
            }
          ]
        }
      ],
      "Defaults": [
        {
          "Key": "sample string 1",
          "Label": "sample string 2",
          "Kind": "sample string 3",
          "Required": true,
          "Lookup": "sample string 5",
          "Hint": "sample string 6"
        },
        {
          "Key": "sample string 1",
          "Label": "sample string 2",
          "Kind": "sample string 3",
          "Required": true,
          "Lookup": "sample string 5",
          "Hint": "sample string 6"
        }
      ],
      "SupportsPostImportScript": true
    },
    {
      "TypeId": 1,
      "Key": "sample string 2",
      "Title": "sample string 3",
      "Description": "sample string 4",
      "Sections": [
        {
          "Key": "sample string 1",
          "TypeId": 2,
          "Title": "sample string 3",
          "Repeatable": true,
          "ParentKey": "sample string 5",
          "Options": [
            {
              "Key": "sample string 1",
              "Label": "sample string 2",
              "Kind": "sample string 3",
              "Lookup": "sample string 4"
            },
            {
              "Key": "sample string 1",
              "Label": "sample string 2",
              "Kind": "sample string 3",
              "Lookup": "sample string 4"
            }
          ],
          "Fields": [
            {
              "Name": "sample string 1",
              "Label": "sample string 2",
              "SqlType": "sample string 3",
              "MaxLength": 1,
              "Required": true,
              "RequiredGroup": "sample string 5",
              "Hint": "sample string 6",
              "Imported": true,
              "GroupId": 1
            },
            {
              "Name": "sample string 1",
              "Label": "sample string 2",
              "SqlType": "sample string 3",
              "MaxLength": 1,
              "Required": true,
              "RequiredGroup": "sample string 5",
              "Hint": "sample string 6",
              "Imported": true,
              "GroupId": 1
            }
          ]
        },
        {
          "Key": "sample string 1",
          "TypeId": 2,
          "Title": "sample string 3",
          "Repeatable": true,
          "ParentKey": "sample string 5",
          "Options": [
            {
              "Key": "sample string 1",
              "Label": "sample string 2",
              "Kind": "sample string 3",
              "Lookup": "sample string 4"
            },
            {
              "Key": "sample string 1",
              "Label": "sample string 2",
              "Kind": "sample string 3",
              "Lookup": "sample string 4"
            }
          ],
          "Fields": [
            {
              "Name": "sample string 1",
              "Label": "sample string 2",
              "SqlType": "sample string 3",
              "MaxLength": 1,
              "Required": true,
              "RequiredGroup": "sample string 5",
              "Hint": "sample string 6",
              "Imported": true,
              "GroupId": 1
            },
            {
              "Name": "sample string 1",
              "Label": "sample string 2",
              "SqlType": "sample string 3",
              "MaxLength": 1,
              "Required": true,
              "RequiredGroup": "sample string 5",
              "Hint": "sample string 6",
              "Imported": true,
              "GroupId": 1
            }
          ]
        }
      ],
      "Defaults": [
        {
          "Key": "sample string 1",
          "Label": "sample string 2",
          "Kind": "sample string 3",
          "Required": true,
          "Lookup": "sample string 5",
          "Hint": "sample string 6"
        },
        {
          "Key": "sample string 1",
          "Label": "sample string 2",
          "Kind": "sample string 3",
          "Required": true,
          "Lookup": "sample string 5",
          "Hint": "sample string 6"
        }
      ],
      "SupportsPostImportScript": true
    }
  ]
}

application/xml, text/xml

Sample:
<ApiResultOfArrayOfImportType_PJl5_Scub xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.ApnExtensions">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Debtrak.ApnExtensions.Importer">
    <d2p1:ImportType>
      <d2p1:Defaults>
        <d2p1:ImportDefault>
          <d2p1:Hint>sample string 6</d2p1:Hint>
          <d2p1:Key>sample string 1</d2p1:Key>
          <d2p1:Kind>sample string 3</d2p1:Kind>
          <d2p1:Label>sample string 2</d2p1:Label>
          <d2p1:Lookup>sample string 5</d2p1:Lookup>
          <d2p1:Required>true</d2p1:Required>
        </d2p1:ImportDefault>
        <d2p1:ImportDefault>
          <d2p1:Hint>sample string 6</d2p1:Hint>
          <d2p1:Key>sample string 1</d2p1:Key>
          <d2p1:Kind>sample string 3</d2p1:Kind>
          <d2p1:Label>sample string 2</d2p1:Label>
          <d2p1:Lookup>sample string 5</d2p1:Lookup>
          <d2p1:Required>true</d2p1:Required>
        </d2p1:ImportDefault>
      </d2p1:Defaults>
      <d2p1:Description>sample string 4</d2p1:Description>
      <d2p1:Key>sample string 2</d2p1:Key>
      <d2p1:Sections>
        <d2p1:ImportSection>
          <d2p1:DefaultComboValue>1</d2p1:DefaultComboValue>
          <d2p1:DisplayOrder>6</d2p1:DisplayOrder>
          <d2p1:Fields>
            <d2p1:ImportField>
              <d2p1:GroupId>1</d2p1:GroupId>
              <d2p1:Hint>sample string 6</d2p1:Hint>
              <d2p1:Imported>true</d2p1:Imported>
              <d2p1:Label>sample string 2</d2p1:Label>
              <d2p1:MaxLength>1</d2p1:MaxLength>
              <d2p1:MetaFieldId>1</d2p1:MetaFieldId>
              <d2p1:Name>sample string 1</d2p1:Name>
              <d2p1:Required>true</d2p1:Required>
              <d2p1:RequiredGroup>sample string 5</d2p1:RequiredGroup>
              <d2p1:SqlType>sample string 3</d2p1:SqlType>
              <d2p1:StagingColumn>sample string 8</d2p1:StagingColumn>
              <d2p1:StagingMaxLength>1</d2p1:StagingMaxLength>
              <d2p1:StagingType>sample string 9</d2p1:StagingType>
            </d2p1:ImportField>
            <d2p1:ImportField>
              <d2p1:GroupId>1</d2p1:GroupId>
              <d2p1:Hint>sample string 6</d2p1:Hint>
              <d2p1:Imported>true</d2p1:Imported>
              <d2p1:Label>sample string 2</d2p1:Label>
              <d2p1:MaxLength>1</d2p1:MaxLength>
              <d2p1:MetaFieldId>1</d2p1:MetaFieldId>
              <d2p1:Name>sample string 1</d2p1:Name>
              <d2p1:Required>true</d2p1:Required>
              <d2p1:RequiredGroup>sample string 5</d2p1:RequiredGroup>
              <d2p1:SqlType>sample string 3</d2p1:SqlType>
              <d2p1:StagingColumn>sample string 8</d2p1:StagingColumn>
              <d2p1:StagingMaxLength>1</d2p1:StagingMaxLength>
              <d2p1:StagingType>sample string 9</d2p1:StagingType>
            </d2p1:ImportField>
          </d2p1:Fields>
          <d2p1:Key>sample string 1</d2p1:Key>
          <d2p1:Kind>Bulk</d2p1:Kind>
          <d2p1:Options>
            <d2p1:ImportSectionOption>
              <d2p1:Key>sample string 1</d2p1:Key>
              <d2p1:Kind>sample string 3</d2p1:Kind>
              <d2p1:Label>sample string 2</d2p1:Label>
              <d2p1:Lookup>sample string 4</d2p1:Lookup>
            </d2p1:ImportSectionOption>
            <d2p1:ImportSectionOption>
              <d2p1:Key>sample string 1</d2p1:Key>
              <d2p1:Kind>sample string 3</d2p1:Kind>
              <d2p1:Label>sample string 2</d2p1:Label>
              <d2p1:Lookup>sample string 4</d2p1:Lookup>
            </d2p1:ImportSectionOption>
          </d2p1:Options>
          <d2p1:ParentKey>sample string 5</d2p1:ParentKey>
          <d2p1:Repeatable>true</d2p1:Repeatable>
          <d2p1:Title>sample string 3</d2p1:Title>
          <d2p1:TypeId>2</d2p1:TypeId>
        </d2p1:ImportSection>
        <d2p1:ImportSection>
          <d2p1:DefaultComboValue>1</d2p1:DefaultComboValue>
          <d2p1:DisplayOrder>6</d2p1:DisplayOrder>
          <d2p1:Fields>
            <d2p1:ImportField>
              <d2p1:GroupId>1</d2p1:GroupId>
              <d2p1:Hint>sample string 6</d2p1:Hint>
              <d2p1:Imported>true</d2p1:Imported>
              <d2p1:Label>sample string 2</d2p1:Label>
              <d2p1:MaxLength>1</d2p1:MaxLength>
              <d2p1:MetaFieldId>1</d2p1:MetaFieldId>
              <d2p1:Name>sample string 1</d2p1:Name>
              <d2p1:Required>true</d2p1:Required>
              <d2p1:RequiredGroup>sample string 5</d2p1:RequiredGroup>
              <d2p1:SqlType>sample string 3</d2p1:SqlType>
              <d2p1:StagingColumn>sample string 8</d2p1:StagingColumn>
              <d2p1:StagingMaxLength>1</d2p1:StagingMaxLength>
              <d2p1:StagingType>sample string 9</d2p1:StagingType>
            </d2p1:ImportField>
            <d2p1:ImportField>
              <d2p1:GroupId>1</d2p1:GroupId>
              <d2p1:Hint>sample string 6</d2p1:Hint>
              <d2p1:Imported>true</d2p1:Imported>
              <d2p1:Label>sample string 2</d2p1:Label>
              <d2p1:MaxLength>1</d2p1:MaxLength>
              <d2p1:MetaFieldId>1</d2p1:MetaFieldId>
              <d2p1:Name>sample string 1</d2p1:Name>
              <d2p1:Required>true</d2p1:Required>
              <d2p1:RequiredGroup>sample string 5</d2p1:RequiredGroup>
              <d2p1:SqlType>sample string 3</d2p1:SqlType>
              <d2p1:StagingColumn>sample string 8</d2p1:StagingColumn>
              <d2p1:StagingMaxLength>1</d2p1:StagingMaxLength>
              <d2p1:StagingType>sample string 9</d2p1:StagingType>
            </d2p1:ImportField>
          </d2p1:Fields>
          <d2p1:Key>sample string 1</d2p1:Key>
          <d2p1:Kind>Bulk</d2p1:Kind>
          <d2p1:Options>
            <d2p1:ImportSectionOption>
              <d2p1:Key>sample string 1</d2p1:Key>
              <d2p1:Kind>sample string 3</d2p1:Kind>
              <d2p1:Label>sample string 2</d2p1:Label>
              <d2p1:Lookup>sample string 4</d2p1:Lookup>
            </d2p1:ImportSectionOption>
            <d2p1:ImportSectionOption>
              <d2p1:Key>sample string 1</d2p1:Key>
              <d2p1:Kind>sample string 3</d2p1:Kind>
              <d2p1:Label>sample string 2</d2p1:Label>
              <d2p1:Lookup>sample string 4</d2p1:Lookup>
            </d2p1:ImportSectionOption>
          </d2p1:Options>
          <d2p1:ParentKey>sample string 5</d2p1:ParentKey>
          <d2p1:Repeatable>true</d2p1:Repeatable>
          <d2p1:Title>sample string 3</d2p1:Title>
          <d2p1:TypeId>2</d2p1:TypeId>
        </d2p1:ImportSection>
      </d2p1:Sections>
      <d2p1:SupportsPostImportScript>true</d2p1:SupportsPostImportScript>
      <d2p1:Title>sample string 3</d2p1:Title>
      <d2p1:TypeId>1</d2p1:TypeId>
    </d2p1:ImportType>
    <d2p1:ImportType>
      <d2p1:Defaults>
        <d2p1:ImportDefault>
          <d2p1:Hint>sample string 6</d2p1:Hint>
          <d2p1:Key>sample string 1</d2p1:Key>
          <d2p1:Kind>sample string 3</d2p1:Kind>
          <d2p1:Label>sample string 2</d2p1:Label>
          <d2p1:Lookup>sample string 5</d2p1:Lookup>
          <d2p1:Required>true</d2p1:Required>
        </d2p1:ImportDefault>
        <d2p1:ImportDefault>
          <d2p1:Hint>sample string 6</d2p1:Hint>
          <d2p1:Key>sample string 1</d2p1:Key>
          <d2p1:Kind>sample string 3</d2p1:Kind>
          <d2p1:Label>sample string 2</d2p1:Label>
          <d2p1:Lookup>sample string 5</d2p1:Lookup>
          <d2p1:Required>true</d2p1:Required>
        </d2p1:ImportDefault>
      </d2p1:Defaults>
      <d2p1:Description>sample string 4</d2p1:Description>
      <d2p1:Key>sample string 2</d2p1:Key>
      <d2p1:Sections>
        <d2p1:ImportSection>
          <d2p1:DefaultComboValue>1</d2p1:DefaultComboValue>
          <d2p1:DisplayOrder>6</d2p1:DisplayOrder>
          <d2p1:Fields>
            <d2p1:ImportField>
              <d2p1:GroupId>1</d2p1:GroupId>
              <d2p1:Hint>sample string 6</d2p1:Hint>
              <d2p1:Imported>true</d2p1:Imported>
              <d2p1:Label>sample string 2</d2p1:Label>
              <d2p1:MaxLength>1</d2p1:MaxLength>
              <d2p1:MetaFieldId>1</d2p1:MetaFieldId>
              <d2p1:Name>sample string 1</d2p1:Name>
              <d2p1:Required>true</d2p1:Required>
              <d2p1:RequiredGroup>sample string 5</d2p1:RequiredGroup>
              <d2p1:SqlType>sample string 3</d2p1:SqlType>
              <d2p1:StagingColumn>sample string 8</d2p1:StagingColumn>
              <d2p1:StagingMaxLength>1</d2p1:StagingMaxLength>
              <d2p1:StagingType>sample string 9</d2p1:StagingType>
            </d2p1:ImportField>
            <d2p1:ImportField>
              <d2p1:GroupId>1</d2p1:GroupId>
              <d2p1:Hint>sample string 6</d2p1:Hint>
              <d2p1:Imported>true</d2p1:Imported>
              <d2p1:Label>sample string 2</d2p1:Label>
              <d2p1:MaxLength>1</d2p1:MaxLength>
              <d2p1:MetaFieldId>1</d2p1:MetaFieldId>
              <d2p1:Name>sample string 1</d2p1:Name>
              <d2p1:Required>true</d2p1:Required>
              <d2p1:RequiredGroup>sample string 5</d2p1:RequiredGroup>
              <d2p1:SqlType>sample string 3</d2p1:SqlType>
              <d2p1:StagingColumn>sample string 8</d2p1:StagingColumn>
              <d2p1:StagingMaxLength>1</d2p1:StagingMaxLength>
              <d2p1:StagingType>sample string 9</d2p1:StagingType>
            </d2p1:ImportField>
          </d2p1:Fields>
          <d2p1:Key>sample string 1</d2p1:Key>
          <d2p1:Kind>Bulk</d2p1:Kind>
          <d2p1:Options>
            <d2p1:ImportSectionOption>
              <d2p1:Key>sample string 1</d2p1:Key>
              <d2p1:Kind>sample string 3</d2p1:Kind>
              <d2p1:Label>sample string 2</d2p1:Label>
              <d2p1:Lookup>sample string 4</d2p1:Lookup>
            </d2p1:ImportSectionOption>
            <d2p1:ImportSectionOption>
              <d2p1:Key>sample string 1</d2p1:Key>
              <d2p1:Kind>sample string 3</d2p1:Kind>
              <d2p1:Label>sample string 2</d2p1:Label>
              <d2p1:Lookup>sample string 4</d2p1:Lookup>
            </d2p1:ImportSectionOption>
          </d2p1:Options>
          <d2p1:ParentKey>sample string 5</d2p1:ParentKey>
          <d2p1:Repeatable>true</d2p1:Repeatable>
          <d2p1:Title>sample string 3</d2p1:Title>
          <d2p1:TypeId>2</d2p1:TypeId>
        </d2p1:ImportSection>
        <d2p1:ImportSection>
          <d2p1:DefaultComboValue>1</d2p1:DefaultComboValue>
          <d2p1:DisplayOrder>6</d2p1:DisplayOrder>
          <d2p1:Fields>
            <d2p1:ImportField>
              <d2p1:GroupId>1</d2p1:GroupId>
              <d2p1:Hint>sample string 6</d2p1:Hint>
              <d2p1:Imported>true</d2p1:Imported>
              <d2p1:Label>sample string 2</d2p1:Label>
              <d2p1:MaxLength>1</d2p1:MaxLength>
              <d2p1:MetaFieldId>1</d2p1:MetaFieldId>
              <d2p1:Name>sample string 1</d2p1:Name>
              <d2p1:Required>true</d2p1:Required>
              <d2p1:RequiredGroup>sample string 5</d2p1:RequiredGroup>
              <d2p1:SqlType>sample string 3</d2p1:SqlType>
              <d2p1:StagingColumn>sample string 8</d2p1:StagingColumn>
              <d2p1:StagingMaxLength>1</d2p1:StagingMaxLength>
              <d2p1:StagingType>sample string 9</d2p1:StagingType>
            </d2p1:ImportField>
            <d2p1:ImportField>
              <d2p1:GroupId>1</d2p1:GroupId>
              <d2p1:Hint>sample string 6</d2p1:Hint>
              <d2p1:Imported>true</d2p1:Imported>
              <d2p1:Label>sample string 2</d2p1:Label>
              <d2p1:MaxLength>1</d2p1:MaxLength>
              <d2p1:MetaFieldId>1</d2p1:MetaFieldId>
              <d2p1:Name>sample string 1</d2p1:Name>
              <d2p1:Required>true</d2p1:Required>
              <d2p1:RequiredGroup>sample string 5</d2p1:RequiredGroup>
              <d2p1:SqlType>sample string 3</d2p1:SqlType>
              <d2p1:StagingColumn>sample string 8</d2p1:StagingColumn>
              <d2p1:StagingMaxLength>1</d2p1:StagingMaxLength>
              <d2p1:StagingType>sample string 9</d2p1:StagingType>
            </d2p1:ImportField>
          </d2p1:Fields>
          <d2p1:Key>sample string 1</d2p1:Key>
          <d2p1:Kind>Bulk</d2p1:Kind>
          <d2p1:Options>
            <d2p1:ImportSectionOption>
              <d2p1:Key>sample string 1</d2p1:Key>
              <d2p1:Kind>sample string 3</d2p1:Kind>
              <d2p1:Label>sample string 2</d2p1:Label>
              <d2p1:Lookup>sample string 4</d2p1:Lookup>
            </d2p1:ImportSectionOption>
            <d2p1:ImportSectionOption>
              <d2p1:Key>sample string 1</d2p1:Key>
              <d2p1:Kind>sample string 3</d2p1:Kind>
              <d2p1:Label>sample string 2</d2p1:Label>
              <d2p1:Lookup>sample string 4</d2p1:Lookup>
            </d2p1:ImportSectionOption>
          </d2p1:Options>
          <d2p1:ParentKey>sample string 5</d2p1:ParentKey>
          <d2p1:Repeatable>true</d2p1:Repeatable>
          <d2p1:Title>sample string 3</d2p1:Title>
          <d2p1:TypeId>2</d2p1:TypeId>
        </d2p1:ImportSection>
      </d2p1:Sections>
      <d2p1:SupportsPostImportScript>true</d2p1:SupportsPostImportScript>
      <d2p1:Title>sample string 3</d2p1:Title>
      <d2p1:TypeId>1</d2p1:TypeId>
    </d2p1:ImportType>
  </Data>
  <Response>
    <ErrorMessage>sample string 2</ErrorMessage>
    <Success>true</Success>
  </Response>
</ApiResultOfArrayOfImportType_PJl5_Scub>