Path Parameters
HTTP Header
api-key REQUIRED string - Your Accelerate API Key | URL Substitution
subdomain REQUIRED
telephone call ID REQUIRED |
Telephone Call Requests
GET POST
Get - Retrieve a telephone call
https://{{subdomain}}.quotevineapp.com/qvine/quotevine/api/v2/telephone_calls/{id}/
Response
400 Returned if the request sent is invalid. | 404 Returned if the request is not found or the user does not have permission to view it. |
200
Expand to see example of a successful response. { |
post - Insert a new telephone call
https://{{subdomain}}.quotevineapp.com/qvine/quotevine/api/v2/telephone_calls/
Example Payload Post
{
"call_date":"08-aug-22 23:05:00",
"direction":"O",
"source_number":"07777777777",
"destination_number":"08000000000",
"internal_flag":"N"
}
Response
400 Returned if the request sent is invalid. | 404 Returned if the request is not found or the user does not have permission to view it. |
200
Expand to see example of a successful response. { |
Telephone Call Attributes
When adding a new telephone call via the API, there are a number of fields needed.
Mandatory Fields
Expand to view the mandatory fields
Expand to view the mandatory fields
call_date - dateTime
direction - string
Must be I (inbound) or O (outbound)
source_number - string
destination_number - string
internal_flag - string
Must be Y or N
Non Mandatory Fields
Expand to view all non- mandatory fields that can be used.
Expand to view all non- mandatory fields that can be used.
telephone_call_id - number
Must not be supplied when using post or put .
relationship_id - number
Must not be supplied when using post or put .
contact_id - string
Must not be supplied when using post or put .
external_reference - string
If supplied, this must be unique.
ring_duration_seconds - number
Defaults to 0
call_duration_seconds - number
Defaults to 0
hold_duration_seconds - number
Defaults to 0
parked_duration_seconds - number
Defaults to 0
extension - string
comments - string
recording_url - string