Card

Update

Update an existing Card record by ID.

put/api/cp/card/{id}

Path parameters

idinteger required

Id identifier

Request body

idstring

Id

account_idinteger

Account Id (references account.id)

company_idinteger

Company Id

reseller_idinteger

Reseller Id

reseller_idsstring

Reseller Ids

system_idstring

System Id

system_numinteger

System Num

namestring required

Name

notesstring

Notes

public_optionsstring

Public Options

public_namestring

Public Name

public_notesstring

Public Notes

presentationstring

Presentation

collapsestring

Collapse

import_urlstring uri

Import Url

import_mapstring required

Import Map

import_row_startinteger required

Import Row Start

import_remove_prefixinteger required

Import Remove Prefix

import_prepend_prefixstring

Import Prepend Prefix

export_mapstring required

Export Map

lcr_mapstring

Lcr Map

rate_formulastring

Rate Formula

gen_lcrinteger required

Gen Lcr

trust_failinteger

Trust Fail

currencystring

Currency

tech_prefixstring required

Tech Prefix

lrninteger required

Lrn

override_lcrstring

Override Lcr

connexcs_permissionstring

Connexcs Permission

staleinteger

Stale

filtered_transforminteger required

Filtered Transform

dyn_routingstring

Dyn Routing

active_revinteger

Active Rev

cli_restrictstring

Cli Restrict

paid_restrictstring

Paid Restrict

strategy'LCR' | 'Best ACD' | 'Best ASR' | 'LCR Performance' | 'Random' | 'Reverse LCR' | 'Round Robin'

Strategy

billing_precisioninteger required

Billing Precision

rounding_method'up' | 'down' | 'half-up' | 'half-down'

Rounding Method

duration_rounding_method'up' | 'down' | 'half-up' | 'half-down'

Duration Rounding Method

direction'origination' | 'termination' required

Direction

delayed_byeinteger

Delayed Bye

delayed_bye_mcdinteger

Delayed Bye Mcd

delayed_bye_charge_customerinteger

Delayed Bye Charge Customer

sms_urlstring uri

Sms Url

asr_plusinteger

Asr Plus

contract_idinteger

Contract Id

default_rtpinteger

Default Rtp

force_rtp_idinteger

Force Rtp Id

capped_ratenumber

Capped Rate

block_connect_costinteger required

Block Connect Cost

profit_assurancenumber

Profit Assurance

manual_orderinginteger

Manual Ordering

channelsinteger

Channels

cpsinteger

Cps

block_destination_typestring

Block Destination Type

ptimeinteger

Ptime

origin_billing_sourcestring required

Origin Billing Source

origin_billing_destinationstring required

Origin Billing Destination

Example request

{
  "id": 12345,
  "account_id": 1,
  "company_id": 1,
  "reseller_id": 1,
  "reseller_ids": "example_reseller_ids",
  "system_id": 1,
  "system_num": 123,
  "name": "Example Name",
  "notes": "Sample notes text content",
  "public_options": "example_public_options",
  "public_name": "example_public_name",
  "public_notes": "Sample public_notes text content",
  "presentation": "example_presentation",
  "collapse": "example_collapse",
  "import_url": "example_import_url",
  "import_map": "example_import_map",
  "import_row_start": 123,
  "import_remove_prefix": 1,
  "import_prepend_prefix": "example_import_prepend_prefix",
  "export_map": "example_export_map",
  "lcr_map": "example_lcr_map",
  "rate_formula": "example_rate_formula",
  "gen_lcr": 1,
  "trust_fail": 1,
  "currency": "USD",
  "tech_prefix": "example_tech_prefix",
  "lrn": 1,
  "override_lcr": "example_override_lcr",
  "connexcs_permission": "example_connexcs_permission",
  "stale": 1,
  "filtered_transform": 1,
  "dyn_routing": "example_dyn_routing",
  "active_rev": true,
  "cli_restrict": "example_cli_restrict",
  "paid_restrict": "example_paid_restrict",
  "strategy": "LCR",
  "billing_precision": 1,
  "rounding_method": "up",
  "duration_rounding_method": "up",
  "direction": "origination",
  "delayed_bye": 1,
  "delayed_bye_mcd": 1,
  "delayed_bye_charge_customer": 1,
  "sms_url": "example_sms_url",
  "asr_plus": 1,
  "contract_id": 1,
  "default_rtp": 1,
  "force_rtp_id": 1,
  "capped_rate": 99.99,
  "block_connect_cost": 99.99,
  "profit_assurance": 99.99,
  "manual_ordering": 1,
  "channels": 123,
  "cps": 123,
  "block_destination_type": "example_block_destination_type",
  "ptime": 123,
  "origin_billing_source": "example_origin_billing_source",
  "origin_billing_destination": "example_origin_billing_destination"
}

Response

Operation completed successfully

statusstring

Operation status

Example response

{
  "status": "OK"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.