Create a mailing-upload for a Mailing Synchronization¶
POST /integrations/inxmail-professional/mailing-synchronizations/{id}/mailing-uploads
Creates a mailing in the Inxmail Professional list associated to the current mailing upload.
After this request returned successfully, the following tasks will be executed in Inxmail Professional:
- A mailing with all the content of the New Xperience mailing is created in the according list in Inxmail Professional. This requests only returns successfully if the whole setup for the sending was successful.
Request Parameters¶
Parameter | Required | In | Description |
---|---|---|---|
id | yes | path | The ID of the Mailing Synchronization the mailing-upload shall be created for |
Response Structure¶
Path | Type | Description |
---|---|---|
id | String | The ID of the mailing-upload instance |
creationDate | String | The date and time when the mailing-upload instance was created |
modificationDate | String | The date and time when the mailing-upload instance was last modified |
target | Object | Information about the upload target |
target.mailingId | Number | The ID of the mailing in Inxmail Professional |
_links | Object | The links currently available for this resource. |
Basic Example¶
Request:
$ curl 'https://myka-1.my-api.inxmail.de/integrations/inxmail-professional/mailing-synchronizations/be518b09-fa9f-40d5-8312-3a8f40db891b/mailing-uploads' -i -X POST \
-H 'Content-Type: application/hal+json' \
-H 'Authorization: Basic <base64Encoded user:password>' \
-d '{
}'
Response:
HTTP/1.1 200 OK
Content-Type: application/hal+json;charset=UTF-8
Content-Length: ...
{
"id": "f992c6a4-dffa-4e33-baad-7f1206371166",
"creationDate": "2021-05-11T12:58:48.260Z",
"modificationDate": "2021-05-11T12:58:48.260Z",
"target": {
"mailingId": 1672
},
"_links": {
"self": {
"href": "https://inxmail-mrm-1.my-api.inxstaging.de/integrations/inxmail-professional/mailing-synchronizations/be518b09-fa9f-40d5-8312-3a8f40db891b/mailing-upload/f992c6a4-dffa-4e33-baad-7f1206371166"
},
"curies": [
{
"href": "https://apidocs.inxmail.com/nxp/rest/v1/relations/{rel}",
"name": "inx",
"templated": true
}
]
}
}