POST api/Activity/AddActivityVirtualEventLead
Request Information
URI Parameters
None.
Body Parameters
ActivityVirtualEventLead| Name | Description | Type | Additional information |
|---|---|---|---|
| activity_id | integer |
None. |
|
| 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 |
None. |
|
| call_activity_id | integer |
None. |
|
| call_detail_id | integer |
None. |
|
| start_date | date |
Data type: Date |
|
| end_date | date |
Data type: Date |
|
| start_time | date |
Data type: Time |
|
| end_time | date |
Data type: Time |
|
| host_id | integer |
Required |
|
| geo_lat | string |
String length: inclusive between 0 and 50 |
|
| geo_lon | string |
String length: inclusive between 0 and 50 |
|
| description | string |
Required String length: inclusive between 0 and 200 |
|
| user_id | integer |
Required |
|
| contact_id | integer |
None. |
|
| reminder_id | integer |
Required |
|
| reminder_on | date |
Required |
|
| related_to | integer |
Required |
|
| alert_id | integer |
Required |
|
| participants | Collection of Data |
None. |
Request Formats
application/json, text/json
Sample:
{
"activity_id": 1,
"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.0848695+07:00",
"end_date": "2025-10-29T02:29:03.0848695+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,
"contact_id": 1,
"reminder_id": 1,
"reminder_on": "2025-10-29T02:29:03.0858651+07:00",
"related_to": 1,
"alert_id": 1,
"participants": [
{
"parent_id": 1,
"CreatedBy": 2,
"ModifiedBy": 3,
"level_id": 4,
"participant_name": "sample string 5",
"Email": "sample string 6"
},
{
"parent_id": 1,
"CreatedBy": 2,
"ModifiedBy": 3,
"level_id": 4,
"participant_name": "sample string 5",
"Email": "sample string 6"
}
]
}
application/xml, text/xml
Sample:
<ActivityVirtualEventLead xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apicrm.Entities">
<Participants>
<Data>
<CreatedBy>2</CreatedBy>
<Email>sample string 6</Email>
<ModifiedBy>3</ModifiedBy>
<level_id>4</level_id>
<parent_id>1</parent_id>
<participant_name>sample string 5</participant_name>
</Data>
<Data>
<CreatedBy>2</CreatedBy>
<Email>sample string 6</Email>
<ModifiedBy>3</ModifiedBy>
<level_id>4</level_id>
<parent_id>1</parent_id>
<participant_name>sample string 5</participant_name>
</Data>
</Participants>
<activity_id>1</activity_id>
<alert_id>1</alert_id>
<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>
<contact_id>1</contact_id>
<description>sample string 4</description>
<end_date>2025-10-29T02:29:03.0848695+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>
<related_to>1</related_to>
<reminder_id>1</reminder_id>
<reminder_on>2025-10-29T02:29:03.0858651+07:00</reminder_on>
<start_date>2025-10-29T02:29:03.0848695+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>
</ActivityVirtualEventLead>
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.