Conversations

Edit Revenue

HTTP method: POST
URL: https://api.callcap.com/v3/conversations/editRevenue/

POST parameters (with example)

This resource will allow you to enter revenue values to a call ID

POST parameter

  • callid = "123"
    • REQUIRED
    • The call ID of the resource which you wish to modify.
  • revenueValue = "10"
    • REQUIRED
    • The dollar amount of revenue to be entered.
    • Non numeric values will throw an error
    • Null values are allowed and will (re)set the revenue value to null
HTTP method: POST
URL: https://api.callcap.com/v3/conversations/editInvoice/

POST parameters (with example)

This resource will allow you to enter an invoice number to a call ID

POST parameter

  • callid = "123"
    • REQUIRED
    • The call ID of the resource which you wish to modify.
  • invoiceNumber = "X123YZ"
    • REQUIRED
    • String value for the invoice. This will be truncated to 20 characters.
    • Null values are allowed and will (re)set the invoice to null