Rule
Update
Changed onUpdate an existing Rule record by ID.
put/api/cp/rule/{id}
Request
- Base URLhttps://app.connexcs.com
- Auth
- OAuth 2Authorization code: https://auth.connexcs.com/authorizeToken URL: https://auth.connexcs.com/token
- or HTTP bearer
Path parameters
idinteger required
Id identifier
Request body
Example request
{
"id": 12345,
"rev_id": 1,
"prefix": "example_prefix",
"name": "Example Name",
"cost": 99.99,
"intra": 99.99,
"inter": 99.99,
"peak": 99.99,
"evening": 99.99,
"weekend": 99.99,
"mcd": 100,
"pulse": 100,
"rate_connect": 99.99,
"date_live": "2025-01-17T10:30:00Z",
"status": "Active",
"lcr_json": "Sample lcr_json text content",
"cost_lcr": 99.99,
"intra_lcr": "example_intra_lcr",
"inter_lcr": "example_inter_lcr",
"peak_lcr": "example_peak_lcr",
"evening_lcr": "example_evening_lcr",
"weekend_lcr": "example_weekend_lcr"
}Response
Operation completed successfully
Example response
{
"status": "OK"
}Changes
- info
the endpoint scheme security
oAuth2was added to the API - info
the endpoint scheme security
opaqueTokenwas added to the API - info
the endpoint scheme security
basicAuthwas removed from the API
- info