POST /external/api/v3/customer/add

Add new customers.

Request Information

This call can be used to add customers. Important to notice is that real person can be represented by multiple customers. If someone submits feedback multiple times there will be multiple customers. A customer can thus be seen as a single survey.
We advise to import no more than 200 customers at once and keep this amount to a minimum to minimize message size and waiting time.

This call adds a batch of customers. This is a JSON model with some fields and an array of customers. The fields will be explained below.

Field: ApproveAutomatically

Indicates whether the batch will be approved automatically. If the value is false, an Expoints experience manager will have to approve this batch manually. To fully automate the process, the value has to be true.

Field: EndDate

The end date of the batch. Customers are not able to open the questionnaire after this date. For most clients this date is two or three weeks from now.

Field: SendTime

Earliest time mail can be send. Be advised that the system only looks at the time of this field, not the date. A customer will be mailed after the SendDate (a field of a customer, not of the batch), but not before the SendTime. This is to prevent mailing in the middle of the night.
Example:
Consider a batch with a SendTime of 11:30 AM and a customer with a SendDate of 2018-09-28. This customer will be mailed on 2018-09-28, but not before 11:30 AM.

Field: IsTest

Set this field to true if you want the system to handle the customers as test customers. This means that the Expoints platform will ignore the results of these customers. Be advised! This does not mean that no mail will be send, so do not use this with real customer mail addresses.

Field: TypeBatch

Can be omitted in most cases, or set to 0. In some cases, type portal will be used, but this will be communicated explicitly.

Field: Customers

Represents an array of customers. These customers contain information necessary to send a mail with a unique questionnaire link. The customers fields will be explained below.

Field: Customer.Email

The customer will get a fault status if the mail address is not valid.

Field: Customer.SendDate

See the paragraph of the field SendTime for an explanation.

Field: Customer.TransactionDate

Represents the transaction date of the customer. This date is used for reporting. This could be the date of first contact or purchase or when the customer submitted a specific form.
A clear transaction date is not always available. Some customers are added for general measurement purposes and not due to a specific transaction. Although the transaction date is mandatory for reporting purposes, it is optional in the API call. If the transaction date is null, it will be filled with today's date.

Field: Customer.Data

Contains an array of data. This contains data that is used by the Expoints platform to send the correct mail with the correct questionnaire link.

Every item in the array contains an CustomerDataColumnId and a Value. Value contains, of course, the value. The CustomerDataColumnId is the id of the column within the Expoints system. The meaning from each Id can be obtained through another API call, namely ‘GET /external/api/v1/customerdatacolumn’.

Example data Array:
        "Data": [
                    { "CustomerDataColumnId": 15, "Value": "John" },
                    { "CustomerDataColumnId": 16, "Value": "Do" },
                    { "CustomerDataColumnId": 18, "Value": " Business unit X" },
                    { "CustomerDataColumnId": 19, "Value": "Product Y" },
                    { "CustomerDataColumnId": 20, "Value": "123456" }
                ]
    

This example is based on some example customer data columns. An example result of a call to the ‘GET /external/api/v1/customerdatacolumn’ endpoint is given below.
        {
          "CustomerDataColumns": [
            {
              "Id": 14,
              "Required": true,
              "Archived": false,
              "Name": "Gender_customer",
              "DisplayName": "Gender customer"
            },
            {
              "Id": 15,
              "Required": true,
              "Archived": false,
              "Name": "First_name_customer",
              "DisplayName": "First name customer"
            },
            {
              "Id": 16,
              "Required": true,
              "Archived": false,
              "Name": "Family_name_customer",
              "DisplayName": "Family_name_customer"
            },
            {
              "Id": 18,
              "Required": true,
              "Archived": false,
              "Name": "Business Unit",
              "DisplayName": "BU"
            },
            {
              "Id": 19,
              "Required": true,
              "Archived": false,
              "Name": "ProductNumber",
              "DisplayName": "Product"
            },
            {
              "Id": 20,
              "Required": true,
              "Archived": false,
              "Name": "EmployeeId",
              "DisplayName": "EmployeeId"
            }
          ]
        }

    

Note that there is a customer data column in this example that is required and is not added to the customers’ data array. This will result in a validation error. This required column could be required because it is used to address the customers properly in emails or other communication.

URI Parameters

None.

Body Parameters

Collection of customers to add.

ImportCustomersRequest
NameDescriptionTypeAdditional informationNullable
ApproveAutomatically

Imported customers are automatically approved.

boolean

None

False
EndDate

Sets the expiration date of the imported customers.

date

None

True
SendTime

Optional - Sets the send time of the batch.

date

None

True
IsTest

Customers will be added as test records. E-mails will be sent, but will not be included in the results.

boolean

None

False
TypeBatch

Optional - Sets the type of batch. Available values: 0, 1, email or portal. 0 / email is default.

string

None

False
AllowDuplicateEmail

Allow duplicate e-mail addresses in batch. Default false.

boolean

None

False
NotificationEmailAddresses

Optional - Comma separated list of email addresses. Used to send an notification email about the batch. When empty the email will be send to front office default.

string

None

False
BatchName

Optional - Batch name.

string

None

False
Customers

Collection of customers.

Collection of ImportCustomer

None

False
IsConcept

Marks a customer as concept and automatically as test. Use this only for testing concept questionnaires (when available).

boolean

None

False

Request Formats

application/json

Sample:
{
  "ApproveAutomatically": true,
  "EndDate": "2024-11-21T10:06:50.9843536+01:00",
  "SendTime": "2024-11-21T10:06:50.9843536+01:00",
  "IsTest": true,
  "TypeBatch": "sample string 3",
  "AllowDuplicateEmail": false,
  "NotificationEmailAddresses": "sample string 4",
  "BatchName": "sample string 5",
  "Customers": [
    {
      "Email": "sample string 1",
      "PhoneNumber": "sample string 2",
      "SendDate": "2024-11-21T10:06:50.9843536+01:00",
      "TransactionDate": "2024-11-21T10:06:50.9843536+01:00",
      "EndDate": "2024-11-21T10:06:50.9843536+01:00",
      "Priority": 1,
      "PreviousId": 1,
      "Data": [
        {
          "CustomerDataColumnId": 1,
          "Name": "sample string 2",
          "Value": "sample string 3",
          "IsEncrypted": true,
          "CertificateThumbprint": "sample string 5",
          "EncryptionKey": "sample string 6"
        },
        {
          "CustomerDataColumnId": 1,
          "Name": "sample string 2",
          "Value": "sample string 3",
          "IsEncrypted": true,
          "CertificateThumbprint": "sample string 5",
          "EncryptionKey": "sample string 6"
        }
      ],
      "Answers": [
        {
          "BaseQuestionId": 1,
          "IsNotApplicableSelected": true,
          "Text": "sample string 2",
          "SelectedScalePositions": [
            {
              "Id": 1,
              "Label": "sample string 1",
              "Value": 1,
              "Ranking": 1
            },
            {
              "Id": 1,
              "Label": "sample string 1",
              "Value": 1,
              "Ranking": 1
            }
          ],
          "DateAnswered": "2024-11-21T10:06:50.9843536+01:00",
          "FileAnswers": [
            {
              "Id": 1,
              "AnswerId": 2,
              "FileName": "sample string 3",
              "FileSize": 4,
              "FileType": "sample string 5",
              "Data": "QEA=",
              "IsEncrypted": true,
              "CertificateThumbprint": "sample string 7",
              "EncryptionKey": "sample string 8"
            },
            {
              "Id": 1,
              "AnswerId": 2,
              "FileName": "sample string 3",
              "FileSize": 4,
              "FileType": "sample string 5",
              "Data": "QEA=",
              "IsEncrypted": true,
              "CertificateThumbprint": "sample string 7",
              "EncryptionKey": "sample string 8"
            }
          ],
          "PageRepetition": 1,
          "SectionRepetition": 1
        },
        {
          "BaseQuestionId": 1,
          "IsNotApplicableSelected": true,
          "Text": "sample string 2",
          "SelectedScalePositions": [
            {
              "Id": 1,
              "Label": "sample string 1",
              "Value": 1,
              "Ranking": 1
            },
            {
              "Id": 1,
              "Label": "sample string 1",
              "Value": 1,
              "Ranking": 1
            }
          ],
          "DateAnswered": "2024-11-21T10:06:50.9843536+01:00",
          "FileAnswers": [
            {
              "Id": 1,
              "AnswerId": 2,
              "FileName": "sample string 3",
              "FileSize": 4,
              "FileType": "sample string 5",
              "Data": "QEA=",
              "IsEncrypted": true,
              "CertificateThumbprint": "sample string 7",
              "EncryptionKey": "sample string 8"
            },
            {
              "Id": 1,
              "AnswerId": 2,
              "FileName": "sample string 3",
              "FileSize": 4,
              "FileType": "sample string 5",
              "Data": "QEA=",
              "IsEncrypted": true,
              "CertificateThumbprint": "sample string 7",
              "EncryptionKey": "sample string 8"
            }
          ],
          "PageRepetition": 1,
          "SectionRepetition": 1
        }
      ],
      "AnswersToCopy": [
        1,
        2
      ],
      "CopyAllAnswers": true
    },
    {
      "Email": "sample string 1",
      "PhoneNumber": "sample string 2",
      "SendDate": "2024-11-21T10:06:50.9843536+01:00",
      "TransactionDate": "2024-11-21T10:06:50.9843536+01:00",
      "EndDate": "2024-11-21T10:06:50.9843536+01:00",
      "Priority": 1,
      "PreviousId": 1,
      "Data": [
        {
          "CustomerDataColumnId": 1,
          "Name": "sample string 2",
          "Value": "sample string 3",
          "IsEncrypted": true,
          "CertificateThumbprint": "sample string 5",
          "EncryptionKey": "sample string 6"
        },
        {
          "CustomerDataColumnId": 1,
          "Name": "sample string 2",
          "Value": "sample string 3",
          "IsEncrypted": true,
          "CertificateThumbprint": "sample string 5",
          "EncryptionKey": "sample string 6"
        }
      ],
      "Answers": [
        {
          "BaseQuestionId": 1,
          "IsNotApplicableSelected": true,
          "Text": "sample string 2",
          "SelectedScalePositions": [
            {
              "Id": 1,
              "Label": "sample string 1",
              "Value": 1,
              "Ranking": 1
            },
            {
              "Id": 1,
              "Label": "sample string 1",
              "Value": 1,
              "Ranking": 1
            }
          ],
          "DateAnswered": "2024-11-21T10:06:50.9843536+01:00",
          "FileAnswers": [
            {
              "Id": 1,
              "AnswerId": 2,
              "FileName": "sample string 3",
              "FileSize": 4,
              "FileType": "sample string 5",
              "Data": "QEA=",
              "IsEncrypted": true,
              "CertificateThumbprint": "sample string 7",
              "EncryptionKey": "sample string 8"
            },
            {
              "Id": 1,
              "AnswerId": 2,
              "FileName": "sample string 3",
              "FileSize": 4,
              "FileType": "sample string 5",
              "Data": "QEA=",
              "IsEncrypted": true,
              "CertificateThumbprint": "sample string 7",
              "EncryptionKey": "sample string 8"
            }
          ],
          "PageRepetition": 1,
          "SectionRepetition": 1
        },
        {
          "BaseQuestionId": 1,
          "IsNotApplicableSelected": true,
          "Text": "sample string 2",
          "SelectedScalePositions": [
            {
              "Id": 1,
              "Label": "sample string 1",
              "Value": 1,
              "Ranking": 1
            },
            {
              "Id": 1,
              "Label": "sample string 1",
              "Value": 1,
              "Ranking": 1
            }
          ],
          "DateAnswered": "2024-11-21T10:06:50.9843536+01:00",
          "FileAnswers": [
            {
              "Id": 1,
              "AnswerId": 2,
              "FileName": "sample string 3",
              "FileSize": 4,
              "FileType": "sample string 5",
              "Data": "QEA=",
              "IsEncrypted": true,
              "CertificateThumbprint": "sample string 7",
              "EncryptionKey": "sample string 8"
            },
            {
              "Id": 1,
              "AnswerId": 2,
              "FileName": "sample string 3",
              "FileSize": 4,
              "FileType": "sample string 5",
              "Data": "QEA=",
              "IsEncrypted": true,
              "CertificateThumbprint": "sample string 7",
              "EncryptionKey": "sample string 8"
            }
          ],
          "PageRepetition": 1,
          "SectionRepetition": 1
        }
      ],
      "AnswersToCopy": [
        1,
        2
      ],
      "CopyAllAnswers": true
    }
  ],
  "IsConcept": true
}

application/xml

Sample:
<ImportCustomersRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Expoints.API.Extern.V1.Requests">
  <AllowDuplicateEmail>false</AllowDuplicateEmail>
  <ApproveAutomatically>true</ApproveAutomatically>
  <BatchName>sample string 5</BatchName>
  <Customers xmlns:d2p1="http://schemas.datacontract.org/2004/07/Expoints.API.Extern.V1.Models">
    <d2p1:ImportCustomer>
      <d2p1:Answers xmlns:d4p1="http://schemas.datacontract.org/2004/07/Expoints.API.Extern.Models">
        <d4p1:ImportAnswerExternal>
          <d4p1:DateAnswered>2024-11-21T10:06:50.9843536+01:00</d4p1:DateAnswered>
          <d4p1:FileAnswers>
            <d4p1:FileAnswer>
              <d4p1:AnswerId>2</d4p1:AnswerId>
              <d4p1:CertificateThumbprint>sample string 7</d4p1:CertificateThumbprint>
              <d4p1:Data>QEA=</d4p1:Data>
              <d4p1:EncryptionKey>sample string 8</d4p1:EncryptionKey>
              <d4p1:FileName>sample string 3</d4p1:FileName>
              <d4p1:FileSize>4</d4p1:FileSize>
              <d4p1:FileType>sample string 5</d4p1:FileType>
              <d4p1:Id>1</d4p1:Id>
              <d4p1:IsEncrypted>true</d4p1:IsEncrypted>
            </d4p1:FileAnswer>
            <d4p1:FileAnswer>
              <d4p1:AnswerId>2</d4p1:AnswerId>
              <d4p1:CertificateThumbprint>sample string 7</d4p1:CertificateThumbprint>
              <d4p1:Data>QEA=</d4p1:Data>
              <d4p1:EncryptionKey>sample string 8</d4p1:EncryptionKey>
              <d4p1:FileName>sample string 3</d4p1:FileName>
              <d4p1:FileSize>4</d4p1:FileSize>
              <d4p1:FileType>sample string 5</d4p1:FileType>
              <d4p1:Id>1</d4p1:Id>
              <d4p1:IsEncrypted>true</d4p1:IsEncrypted>
            </d4p1:FileAnswer>
          </d4p1:FileAnswers>
          <d4p1:PageRepetition>1</d4p1:PageRepetition>
          <d4p1:SectionRepetition>1</d4p1:SectionRepetition>
          <d4p1:SelectedScalePositions>
            <d4p1:ScalePosition>
              <d4p1:Id>1</d4p1:Id>
              <d4p1:Label>sample string 1</d4p1:Label>
              <d4p1:Ranking>1</d4p1:Ranking>
              <d4p1:Value>1</d4p1:Value>
            </d4p1:ScalePosition>
            <d4p1:ScalePosition>
              <d4p1:Id>1</d4p1:Id>
              <d4p1:Label>sample string 1</d4p1:Label>
              <d4p1:Ranking>1</d4p1:Ranking>
              <d4p1:Value>1</d4p1:Value>
            </d4p1:ScalePosition>
          </d4p1:SelectedScalePositions>
          <d4p1:Text>sample string 2</d4p1:Text>
          <d4p1:BaseQuestionId>1</d4p1:BaseQuestionId>
        </d4p1:ImportAnswerExternal>
        <d4p1:ImportAnswerExternal>
          <d4p1:DateAnswered>2024-11-21T10:06:50.9843536+01:00</d4p1:DateAnswered>
          <d4p1:FileAnswers>
            <d4p1:FileAnswer>
              <d4p1:AnswerId>2</d4p1:AnswerId>
              <d4p1:CertificateThumbprint>sample string 7</d4p1:CertificateThumbprint>
              <d4p1:Data>QEA=</d4p1:Data>
              <d4p1:EncryptionKey>sample string 8</d4p1:EncryptionKey>
              <d4p1:FileName>sample string 3</d4p1:FileName>
              <d4p1:FileSize>4</d4p1:FileSize>
              <d4p1:FileType>sample string 5</d4p1:FileType>
              <d4p1:Id>1</d4p1:Id>
              <d4p1:IsEncrypted>true</d4p1:IsEncrypted>
            </d4p1:FileAnswer>
            <d4p1:FileAnswer>
              <d4p1:AnswerId>2</d4p1:AnswerId>
              <d4p1:CertificateThumbprint>sample string 7</d4p1:CertificateThumbprint>
              <d4p1:Data>QEA=</d4p1:Data>
              <d4p1:EncryptionKey>sample string 8</d4p1:EncryptionKey>
              <d4p1:FileName>sample string 3</d4p1:FileName>
              <d4p1:FileSize>4</d4p1:FileSize>
              <d4p1:FileType>sample string 5</d4p1:FileType>
              <d4p1:Id>1</d4p1:Id>
              <d4p1:IsEncrypted>true</d4p1:IsEncrypted>
            </d4p1:FileAnswer>
          </d4p1:FileAnswers>
          <d4p1:PageRepetition>1</d4p1:PageRepetition>
          <d4p1:SectionRepetition>1</d4p1:SectionRepetition>
          <d4p1:SelectedScalePositions>
            <d4p1:ScalePosition>
              <d4p1:Id>1</d4p1:Id>
              <d4p1:Label>sample string 1</d4p1:Label>
              <d4p1:Ranking>1</d4p1:Ranking>
              <d4p1:Value>1</d4p1:Value>
            </d4p1:ScalePosition>
            <d4p1:ScalePosition>
              <d4p1:Id>1</d4p1:Id>
              <d4p1:Label>sample string 1</d4p1:Label>
              <d4p1:Ranking>1</d4p1:Ranking>
              <d4p1:Value>1</d4p1:Value>
            </d4p1:ScalePosition>
          </d4p1:SelectedScalePositions>
          <d4p1:Text>sample string 2</d4p1:Text>
          <d4p1:BaseQuestionId>1</d4p1:BaseQuestionId>
        </d4p1:ImportAnswerExternal>
      </d2p1:Answers>
      <d2p1:AnswersToCopy xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </d2p1:AnswersToCopy>
      <d2p1:CopyAllAnswers>true</d2p1:CopyAllAnswers>
      <d2p1:Data xmlns:d4p1="http://schemas.datacontract.org/2004/07/Expoints.API.Extern.Models">
        <d4p1:CustomerData>
          <d4p1:CertificateThumbprint>sample string 5</d4p1:CertificateThumbprint>
          <d4p1:CustomerDataColumnId>1</d4p1:CustomerDataColumnId>
          <d4p1:EncryptionKey>sample string 6</d4p1:EncryptionKey>
          <d4p1:IsEncrypted>true</d4p1:IsEncrypted>
          <d4p1:Name>sample string 2</d4p1:Name>
          <d4p1:Value>sample string 3</d4p1:Value>
        </d4p1:CustomerData>
        <d4p1:CustomerData>
          <d4p1:CertificateThumbprint>sample string 5</d4p1:CertificateThumbprint>
          <d4p1:CustomerDataColumnId>1</d4p1:CustomerDataColumnId>
          <d4p1:EncryptionKey>sample string 6</d4p1:EncryptionKey>
          <d4p1:IsEncrypted>true</d4p1:IsEncrypted>
          <d4p1:Name>sample string 2</d4p1:Name>
          <d4p1:Value>sample string 3</d4p1:Value>
        </d4p1:CustomerData>
      </d2p1:Data>
      <d2p1:Email>sample string 1</d2p1:Email>
      <d2p1:EndDate>2024-11-21T10:06:50.9843536+01:00</d2p1:EndDate>
      <d2p1:PhoneNumber>sample string 2</d2p1:PhoneNumber>
      <d2p1:PreviousId>1</d2p1:PreviousId>
      <d2p1:Priority>1</d2p1:Priority>
      <d2p1:SendDate>2024-11-21T10:06:50.9843536+01:00</d2p1:SendDate>
      <d2p1:TransactionDate>2024-11-21T10:06:50.9843536+01:00</d2p1:TransactionDate>
    </d2p1:ImportCustomer>
    <d2p1:ImportCustomer>
      <d2p1:Answers xmlns:d4p1="http://schemas.datacontract.org/2004/07/Expoints.API.Extern.Models">
        <d4p1:ImportAnswerExternal>
          <d4p1:DateAnswered>2024-11-21T10:06:50.9843536+01:00</d4p1:DateAnswered>
          <d4p1:FileAnswers>
            <d4p1:FileAnswer>
              <d4p1:AnswerId>2</d4p1:AnswerId>
              <d4p1:CertificateThumbprint>sample string 7</d4p1:CertificateThumbprint>
              <d4p1:Data>QEA=</d4p1:Data>
              <d4p1:EncryptionKey>sample string 8</d4p1:EncryptionKey>
              <d4p1:FileName>sample string 3</d4p1:FileName>
              <d4p1:FileSize>4</d4p1:FileSize>
              <d4p1:FileType>sample string 5</d4p1:FileType>
              <d4p1:Id>1</d4p1:Id>
              <d4p1:IsEncrypted>true</d4p1:IsEncrypted>
            </d4p1:FileAnswer>
            <d4p1:FileAnswer>
              <d4p1:AnswerId>2</d4p1:AnswerId>
              <d4p1:CertificateThumbprint>sample string 7</d4p1:CertificateThumbprint>
              <d4p1:Data>QEA=</d4p1:Data>
              <d4p1:EncryptionKey>sample string 8</d4p1:EncryptionKey>
              <d4p1:FileName>sample string 3</d4p1:FileName>
              <d4p1:FileSize>4</d4p1:FileSize>
              <d4p1:FileType>sample string 5</d4p1:FileType>
              <d4p1:Id>1</d4p1:Id>
              <d4p1:IsEncrypted>true</d4p1:IsEncrypted>
            </d4p1:FileAnswer>
          </d4p1:FileAnswers>
          <d4p1:PageRepetition>1</d4p1:PageRepetition>
          <d4p1:SectionRepetition>1</d4p1:SectionRepetition>
          <d4p1:SelectedScalePositions>
            <d4p1:ScalePosition>
              <d4p1:Id>1</d4p1:Id>
              <d4p1:Label>sample string 1</d4p1:Label>
              <d4p1:Ranking>1</d4p1:Ranking>
              <d4p1:Value>1</d4p1:Value>
            </d4p1:ScalePosition>
            <d4p1:ScalePosition>
              <d4p1:Id>1</d4p1:Id>
              <d4p1:Label>sample string 1</d4p1:Label>
              <d4p1:Ranking>1</d4p1:Ranking>
              <d4p1:Value>1</d4p1:Value>
            </d4p1:ScalePosition>
          </d4p1:SelectedScalePositions>
          <d4p1:Text>sample string 2</d4p1:Text>
          <d4p1:BaseQuestionId>1</d4p1:BaseQuestionId>
        </d4p1:ImportAnswerExternal>
        <d4p1:ImportAnswerExternal>
          <d4p1:DateAnswered>2024-11-21T10:06:50.9843536+01:00</d4p1:DateAnswered>
          <d4p1:FileAnswers>
            <d4p1:FileAnswer>
              <d4p1:AnswerId>2</d4p1:AnswerId>
              <d4p1:CertificateThumbprint>sample string 7</d4p1:CertificateThumbprint>
              <d4p1:Data>QEA=</d4p1:Data>
              <d4p1:EncryptionKey>sample string 8</d4p1:EncryptionKey>
              <d4p1:FileName>sample string 3</d4p1:FileName>
              <d4p1:FileSize>4</d4p1:FileSize>
              <d4p1:FileType>sample string 5</d4p1:FileType>
              <d4p1:Id>1</d4p1:Id>
              <d4p1:IsEncrypted>true</d4p1:IsEncrypted>
            </d4p1:FileAnswer>
            <d4p1:FileAnswer>
              <d4p1:AnswerId>2</d4p1:AnswerId>
              <d4p1:CertificateThumbprint>sample string 7</d4p1:CertificateThumbprint>
              <d4p1:Data>QEA=</d4p1:Data>
              <d4p1:EncryptionKey>sample string 8</d4p1:EncryptionKey>
              <d4p1:FileName>sample string 3</d4p1:FileName>
              <d4p1:FileSize>4</d4p1:FileSize>
              <d4p1:FileType>sample string 5</d4p1:FileType>
              <d4p1:Id>1</d4p1:Id>
              <d4p1:IsEncrypted>true</d4p1:IsEncrypted>
            </d4p1:FileAnswer>
          </d4p1:FileAnswers>
          <d4p1:PageRepetition>1</d4p1:PageRepetition>
          <d4p1:SectionRepetition>1</d4p1:SectionRepetition>
          <d4p1:SelectedScalePositions>
            <d4p1:ScalePosition>
              <d4p1:Id>1</d4p1:Id>
              <d4p1:Label>sample string 1</d4p1:Label>
              <d4p1:Ranking>1</d4p1:Ranking>
              <d4p1:Value>1</d4p1:Value>
            </d4p1:ScalePosition>
            <d4p1:ScalePosition>
              <d4p1:Id>1</d4p1:Id>
              <d4p1:Label>sample string 1</d4p1:Label>
              <d4p1:Ranking>1</d4p1:Ranking>
              <d4p1:Value>1</d4p1:Value>
            </d4p1:ScalePosition>
          </d4p1:SelectedScalePositions>
          <d4p1:Text>sample string 2</d4p1:Text>
          <d4p1:BaseQuestionId>1</d4p1:BaseQuestionId>
        </d4p1:ImportAnswerExternal>
      </d2p1:Answers>
      <d2p1:AnswersToCopy xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </d2p1:AnswersToCopy>
      <d2p1:CopyAllAnswers>true</d2p1:CopyAllAnswers>
      <d2p1:Data xmlns:d4p1="http://schemas.datacontract.org/2004/07/Expoints.API.Extern.Models">
        <d4p1:CustomerData>
          <d4p1:CertificateThumbprint>sample string 5</d4p1:CertificateThumbprint>
          <d4p1:CustomerDataColumnId>1</d4p1:CustomerDataColumnId>
          <d4p1:EncryptionKey>sample string 6</d4p1:EncryptionKey>
          <d4p1:IsEncrypted>true</d4p1:IsEncrypted>
          <d4p1:Name>sample string 2</d4p1:Name>
          <d4p1:Value>sample string 3</d4p1:Value>
        </d4p1:CustomerData>
        <d4p1:CustomerData>
          <d4p1:CertificateThumbprint>sample string 5</d4p1:CertificateThumbprint>
          <d4p1:CustomerDataColumnId>1</d4p1:CustomerDataColumnId>
          <d4p1:EncryptionKey>sample string 6</d4p1:EncryptionKey>
          <d4p1:IsEncrypted>true</d4p1:IsEncrypted>
          <d4p1:Name>sample string 2</d4p1:Name>
          <d4p1:Value>sample string 3</d4p1:Value>
        </d4p1:CustomerData>
      </d2p1:Data>
      <d2p1:Email>sample string 1</d2p1:Email>
      <d2p1:EndDate>2024-11-21T10:06:50.9843536+01:00</d2p1:EndDate>
      <d2p1:PhoneNumber>sample string 2</d2p1:PhoneNumber>
      <d2p1:PreviousId>1</d2p1:PreviousId>
      <d2p1:Priority>1</d2p1:Priority>
      <d2p1:SendDate>2024-11-21T10:06:50.9843536+01:00</d2p1:SendDate>
      <d2p1:TransactionDate>2024-11-21T10:06:50.9843536+01:00</d2p1:TransactionDate>
    </d2p1:ImportCustomer>
  </Customers>
  <EndDate>2024-11-21T10:06:50.9843536+01:00</EndDate>
  <IsConcept>true</IsConcept>
  <IsTest>true</IsTest>
  <NotificationEmailAddresses>sample string 4</NotificationEmailAddresses>
  <SendTime>2024-11-21T10:06:50.9843536+01:00</SendTime>
  <TypeBatch>sample string 3</TypeBatch>
</ImportCustomersRequest>

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.

Response Status Codes

Status Code Name Description
200 OK The request has succeeded.
400 Bad Request Fulfilling the request would cause an invalid state. Request needs modification.
401 Unauthorized Missing or invalid authentication token.
403 Forbidden Server refuses to authorize the request.
408 Request Timeout The server timed out waiting for the request.
429 Too Many Requests Too many requests in a given amount of time.
500 Internal Server Error The server encountered an unexpected condition which prevented it from fulfilling the request.
503 Service Unavailable The server is unable to proces the request at the moment, try again later.