POST api/Activity/AddActivityCallLead
Request Information
URI Parameters
None.
Body Parameters
ActivityCallLead| Name | Description | Type | Additional information |
|---|---|---|---|
| lead_id | integer |
Required |
|
| level_id | integer |
None. |
|
| call_purpose_id | integer |
Required |
|
| subject | string |
Required String length: inclusive between 0 and 150 |
|
| call_type_id | integer |
Required |
|
| call_activity_id | integer |
Required |
|
| call_detail_id | integer |
Required |
|
| start_date | date |
Required Data type: Date |
|
| end_date | date |
Required Data type: Date |
|
| start_time | date |
Required Data type: Time |
|
| end_time | date |
Required Data type: Time |
|
| host_id | integer |
Required |
|
| geo_lat | string |
Required String length: inclusive between 0 and 50 |
|
| geo_lon | string |
Required String length: inclusive between 0 and 50 |
|
| description | string |
Required String length: inclusive between 0 and 200 |
|
| user_id | integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"lead_id": 1,
"level_id": 1,
"call_purpose_id": 1,
"subject": "sample string 1",
"call_type_id": 1,
"call_activity_id": 1,
"call_detail_id": 1,
"start_date": "2025-10-29T02:29:03.0838738+07:00",
"end_date": "2025-10-29T02:29:03.0838738+07:00",
"start_time": "2025-10-29T02:29:03.0848695+07:00",
"end_time": "2025-10-29T02:29:03.0848695+07:00",
"host_id": 1,
"geo_lat": "sample string 2",
"geo_lon": "sample string 3",
"description": "sample string 4",
"user_id": 1
}
application/xml, text/xml
Sample:
<ActivityCallLead xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apicrm.Entities"> <call_activity_id>1</call_activity_id> <call_detail_id>1</call_detail_id> <call_purpose_id>1</call_purpose_id> <call_type_id>1</call_type_id> <description>sample string 4</description> <end_date>2025-10-29T02:29:03.0838738+07:00</end_date> <end_time>2025-10-29T02:29:03.0848695+07:00</end_time> <geo_lat>sample string 2</geo_lat> <geo_lon>sample string 3</geo_lon> <host_id>1</host_id> <lead_id>1</lead_id> <level_id>1</level_id> <start_date>2025-10-29T02:29:03.0838738+07:00</start_date> <start_time>2025-10-29T02:29:03.0848695+07:00</start_time> <subject>sample string 1</subject> <user_id>1</user_id> </ActivityCallLead>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.