Submissions
Record Batching
post
Authorizations
AuthorizationstringRequired
Body
campaignIdstring · uuidRequired
onlyValidRecordsbooleanOptional
scheduledSendIdstring · uuid · nullableRequired
testModebooleanOptional
Responses
200
Success
application/json
responseMessagestring · nullableOptional
submissionIdstring · uuid · nullableOptional
401
Unauthorized
404
Not Found
500
Server Error
post/api/v1/records
POST /api/v1/records HTTP/1.1
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 498
{
"campaignId": "770a1e90-d344-4467-a79d-255c01ca1298",
"scheduledSendDateId": "1e6a1b00-7752-4631-9f9b-f731c7a35be9",
"onlyValidRecords": true,
"testMode": true,
"submissions": [
{
"customerid": "Value",
"email": "Value",
"salutation": "Value",
"firstname": "Value",
"surname": "Value",
"companyname": "Value",
"address1": "Value",
"address2": "Value",
"address3": "Value",
"city": "Value",
"postcode": "Value",
"country": "Value",
"currency": "Value",
"language": "Value",
"customdata": {
"customField1": "Value",
"customField2": "Value"
}
}
]
}{
"validRecords": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"invalidRecords": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"duplicateIgnoredRecords": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"responseMessage": "text",
"submissionId": "123e4567-e89b-12d3-a456-426614174000"
}post
Authorizations
AuthorizationstringRequired
Body
campaignIdstring · uuidRequired
onlyValidRecordsbooleanOptional
scheduledSendIdstring · uuid · nullableOptional
testModebooleanOptional
Responses
200
Success
application/json
responseCodeinteger · int32Optional
responseMessagestring · nullableOptional
submissionIdstring · uuid · nullableOptional
400
Bad Request
401
Unauthorized
404
Not Found
post/api/v1/submissions
POST /api/v1/submissions HTTP/1.1
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 498
{
"campaignId": "08f8b771-1587-4e20-9de2-6441e35e5dea",
"scheduledSendDateId": "b44eb900-dbd3-406f-b0d3-053175b9fc6c",
"onlyValidRecords": true,
"testMode": true,
"submissions": [
{
"customerid": "Value",
"email": "Value",
"salutation": "Value",
"firstname": "Value",
"surname": "Value",
"companyname": "Value",
"address1": "Value",
"address2": "Value",
"address3": "Value",
"city": "Value",
"postcode": "Value",
"country": "Value",
"currency": "Value",
"language": "Value",
"customdata": {
"customField1": "Value",
"customField2": "Value"
}
}
]
}{
"validatedSubmissions": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"responseCode": 1,
"responseMessage": "text",
"submissionId": "123e4567-e89b-12d3-a456-426614174000",
"invalidSubmissions": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
]
}Useful information
Test Mode
Scheduled Send Date selection
The OnlyValidRecords property
Expected Values
Validation Expressions
Custom Data
Records endpoint duplicate customer ids within separate submissions:
Default Field Validation
Property
Mandatory
ErrorMessage
Max Text Length
Last updated
Was this helpful?