Add or Update Activity Purpose

Add or Update Activity Purpose

POST [PlatformAddress]/api/1.0/crm?action=addOrUpdateActivityPurpose

Path Parameters

{
  "success": true,
  "id": 755
}

Activity Purpose Type

Example Request

Add Activity Purpose

{
  "name": "Purpose 1",
  "type": "1",
}

Update Activity Purpose

{
  "id": 755,
  "name": "Updated Purpose"
}

Returns

Throws

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.

Last updated