[
{
"id": "string",
"companyId": "string",
"subject": "string",
"taskType": 0,
"status": 0,
"emailMessage": {
"from": "string",
"to": "string",
"cc": "string",
"bcc": "string",
"subject": "string",
"body": "string",
"editorBody": "string"
},
"assignedToType": 0,
"assignedToId": "string",
"relatedToType": 0,
"relatedToId": "string",
"contactType": 0,
"contactIds": [
"string"
],
"comments": "string",
"lastModifiedBy": "string",
"createdBy": "string",
"insertDate": "2019-08-24T14:15:22Z",
"updateDate": "2019-08-24T14:15:22Z",
"dueDate": "2019-08-24T14:15:22Z",
"sortDate": "2019-08-24T14:15:22Z"
}
]
curl --location --request POST 'https://platform.shopranos.eu/api/task/Email/import' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"id": "string",
"companyId": "string",
"subject": "string",
"taskType": 0,
"status": 0,
"emailMessage": {
"from": "string",
"to": "string",
"cc": "string",
"bcc": "string",
"subject": "string",
"body": "string",
"editorBody": "string"
},
"assignedToType": 0,
"assignedToId": "string",
"relatedToType": 0,
"relatedToId": "string",
"contactType": 0,
"contactIds": [
"string"
],
"comments": "string",
"lastModifiedBy": "string",
"createdBy": "string",
"insertDate": "2019-08-24T14:15:22Z",
"updateDate": "2019-08-24T14:15:22Z",
"dueDate": "2019-08-24T14:15:22Z",
"sortDate": "2019-08-24T14:15:22Z"
}
]'
{}