{
"settings": {
"operation": "NoImport"
},
"events": [
{
"updateDate": "2019-08-24T14:15:22.123Z",
"subject": "string",
"taskType": "Task",
"assignedToType": "People",
"assignedToId": "string",
"relatedToType": "Account",
"relatedToId": "string",
"contactType": "Lead",
"contactIds": [
"string"
],
"description": "string",
"editorBody": "string",
"priorityId": "string",
"location": {
"longitude": "string",
"latitude": "string"
},
"startDate": "2019-08-24T14:15:22.123Z",
"endDate": "2019-08-24T14:15:22.123Z",
"reminderSet": true,
"createdBy": "string",
"lastModifiedBy": "string",
"position": 0,
"parentId": "string",
"repeat": "string",
"eventStatus": "Scheduled",
"eventResultId": "string",
"recurrenceInterval": "string",
"sourceId": "string",
"sourceAssignedToId": "string",
"sourceRelatedToId": "string",
"sourceContactIds": [
"string"
],
"teamMembers": [
"string"
],
"id": "string"
}
]
}curl --location --request POST 'https://platform.shopranos.eu/api/task/event/import/with-settings' \
--header 'Content-Type: application/json' \
--data-raw '{
"settings": {
"operation": "NoImport"
},
"events": [
{
"updateDate": "2019-08-24T14:15:22.123Z",
"subject": "string",
"taskType": "Task",
"assignedToType": "People",
"assignedToId": "string",
"relatedToType": "Account",
"relatedToId": "string",
"contactType": "Lead",
"contactIds": [
"string"
],
"description": "string",
"editorBody": "string",
"priorityId": "string",
"location": {
"longitude": "string",
"latitude": "string"
},
"startDate": "2019-08-24T14:15:22.123Z",
"endDate": "2019-08-24T14:15:22.123Z",
"reminderSet": true,
"createdBy": "string",
"lastModifiedBy": "string",
"position": 0,
"parentId": "string",
"repeat": "string",
"eventStatus": "Scheduled",
"eventResultId": "string",
"recurrenceInterval": "string",
"sourceId": "string",
"sourceAssignedToId": "string",
"sourceRelatedToId": "string",
"sourceContactIds": [
"string"
],
"teamMembers": [
"string"
],
"id": "string"
}
]
}'