Skip to main content
POST
/
v1.0
/
subscriptions
/
thresholds
/
assignments
/
add
Create Threshold Assignment
curl --request POST \
  --url https://api.telegent.com/v1.0/v1.0/subscriptions/thresholds/assignments/add \
  --header 'Content-Type: application/json' \
  --data '
{
  "ThresholdId": "THID-a1b2c3d4-0000-0000-0000-000000000001",
  "SubscriptionId": "SUB-ef84c0b5-d750-4a5a-99b1-4705089cd20c"
}
'
{
  "ThresholdAssignmentId": "TAID-00000001-0000-0000-0000-000000000001",
  "ThresholdId": "THID-a1b2c3d4-0000-0000-0000-000000000001",
  "SubscriptionId": "SUB-ef84c0b5-d750-4a5a-99b1-4705089cd20c",
  "Active": true
}

Body

Threshold_Assignment object

ThresholdId
string
required

ID of the threshold to assign (THID-).

Example:

"THID-a1b2c3d4-0000-0000-0000-000000000001"

SubscriptionId
string
required

ID of the subscription to assign the threshold to (SUB-).

Example:

"SUB-ef84c0b5-d750-4a5a-99b1-4705089cd20c"

Response

Success — returns the new threshold assignment ID and record

The response is of type object.