API ReferenceCrm activity
Create an activity
Creates a new activity
AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:18080/api/v1/crm/activities" \ -H "Content-Type: application/json" \ -d '{ "attendees": [ "string" ], "priority": "LOW", "subject": "string", "type": "CALL" }'{
"attendees": [
"string"
],
"completedAt": "2019-08-24T14:15:22Z",
"contactEmail": "string",
"contactName": "string",
"contactPhone": "string",
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"customer": {
"email": "string",
"id": "string",
"name": "string",
"phone": "string"
},
"customerId": "string",
"description": "string",
"dueDate": "2019-08-24T14:15:22Z",
"durationMinutes": 0,
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"id": "string",
"isCompleted": true,
"location": "string",
"opportunity": {
"id": "string",
"name": "string",
"value": 0.1
},
"opportunityId": "string",
"outcome": "string",
"owner": {
"displayName": "string",
"id": "string",
"username": "string"
},
"ownerId": "string",
"priority": "LOW",
"scheduledAt": "2019-08-24T14:15:22Z",
"subject": "string",
"tenantId": "string",
"type": "CALL",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}