iVvy Developer API
Home
Support
System Status
Login
Search…
API Documentation
Getting Started
Contacts & Companies
Event
Venue
Partner
Invoice
Account
CRM
Get Lead List
Get Opportunity List
Get Task List
Get Activity List
Get Lead Stage List
Get Lead Type List
Get Lead Quality List
Get Lead Source List
Get Lead Channel List
Add or Update Activity Purpose
Add or Update Activity
Add or Update Task
Add or Update Lead Quality
Add or Update Lead Stage
Add or Update Lead Channel
Add or Update Lead Type
Add or Update Lead Source
Development Reference
Powered By
GitBook
Add or Update Activity Purpose
post
[PlatformAddress]/api/1.0/crm?action=addOrUpdateActivityPurpose
Add or Update Activity Purpose
Activity Purpose Type
Id
Name
1
Account
2
Function
3
Corporate
4
Group
Example Request
Add Activity Purpose
1
{
2
"name"
:
"Purpose 1"
,
3
"type"
:
"1"
,
4
}
Copied!
Update Activity Purpose
1
{
2
"id"
:
755
,
3
"name"
:
"Updated Purpose"
4
}
Copied!
Returns
Property
Description
success
Whether or not the activity purpose was added
id
The unique id of the activity purpose
Throws
Code
Description
Specific Code: 24300
The event activity purpose does not exist
Specific Code: 24301
An error has occurred
Specific Code: 24302
The request contains invalid data
Specific Code: 24303
The request contains invalid data
This call takes values for a activity purpose, and either
1.
Updates the values for that activity purpose (after you have provided an id in the parameters), or
2.
Adds the activity purpose to the system (if the id parameter is missing) 1. The result of this call will contain the status of the result (either
true or false) and the activity purpose identifier of the updated or newly
created activity purpose.
Previous
Get Lead Channel List
Next
Add or Update Activity
Last modified
8mo ago
Copy link
Contents
post
Add or Update Activity Purpose
Activity Purpose Type
Example Request
Add Activity Purpose
Update Activity Purpose
Returns
Throws