Create Contact Activity
POST/api/contacts/:id/activities
Create Contact Activity
Request
Path Parameters
id integerrequired
Example: 1
Header Parameters
X-Company-Slug stringrequired
- application/json
Body
type ActivityTypeEnum (string)
Possible values: [phone
, mail
, sms
, note
, meeting
]
content string
activity_date date
Responses
- 200
Successful response
- application/json
- Schema
- Example (from schema)
Schema
id integer
contact_id string
created_by string
type ActivityTypeEnum (string)
Possible values: [phone
, mail
, sms
, note
, meeting
]
content string
activity_date date
created_at date-time
updated_at date-time
{
"id": 2,
"contact_id": "47",
"created_by": "1",
"type": "phone",
"content": "Aradım ulaşamadım",
"activity_date": "2023-12-21 22:56",
"created_at": "2024-07-31T20:28:22.729+03:00",
"updated_at": "2024-07-31T20:28:22.729+03:00"
}
Loading...