Skip to content
campaiDeveloper
campai.com

Crm ยท Plans

GET/{organizationId}/crm/plans/chargeFunctionsReads only

List charge amount functions

'Lists the functions of published developer apps that calculate the charge amount of a subscription, ' + 'which a plan can use for its amount'

Permissions

Send an API key of the organization in the path, using the X-API-Key header.

Permission checks in detail
Required permissions
  • plan.read

Request

Path parameters

  • organizationIdidrequired
Request
curl --fail-with-body --silent --show-error --max-time 30 --globoff \
  --request GET 'https://cloud.campai.com/api/YOUR_ORGANIZATION_ID/crm/plans/chargeFunctions' \
  --header 'X-API-Key: YOUR_API_KEY'

Response

200 Successful response

Content-Type: application/json

  • functionsobject[]
    4 properties
    • appid
    • appNamestring
    • groupid
    • groupNamestring
Response200
{
  "functions": [
    {
      "app": "000000000000000000000001",
      "appName": "string",
      "group": "000000000000000000000001",
      "groupName": "string"
    }
  ]
}

Errors

No errors of its own are known for this endpoint.

Errors nearly every request can meet are listed under Errors.