Create a test-sending¶
POST /integrations/inxmail-professional/mailing-synchronizations/{id}/test-sendings
Request Parameters¶
| Parameter | Required | In | Description | 
|---|---|---|---|
| id | yes | path | The ID of the Mailing Synchronization the test-sending shall be created for. | 
Payload Structure¶
| Path | Type | Description | Constraints | 
|---|---|---|---|
| testProfileId | Long | ID of the test-profile which should be used for personalization of the test-sending. See also Retrieving a test profiles for a Mailing Synchronization. If not provided the mailing will be personalized with an empty profile. | |
| recipientAddresses | Array\<String> | E-Mail addresses of the test-sending recipients | 
 | 
| testMailGroupId | Long | ID of the test-mail-group. These IDs can be retrieved with a HTTP request to the test-mail-groups endpoint | 
 | 
| kind | String | Options: latest,draftorlastApproved(default: latest) | |
| subjectPrefix | String | The prefix of the mailing subject | 
Basic Example¶
Request:
$ curl 'https://myka-1.my-api.inxmail.de/integrations/inxmail-professional/mailing-synchronizations/0b405924-a96a-4c52-a20e-488d554f518a/test-sendings' -i -X POST \
    -H 'Content-Type: application/hal+json' \
    -H 'Authorization: Basic <base64Encoded user:password>' \
    -d '{
  "testProfileId" : 10,
  "recipientAddresses" : [
  "somebody@dummy.invalid",
  "somebodyelse@dummy.invalid"
  ]
}'
Response:
HTTP/1.1 202 Accepted