getConversions
Returns conversions for a folder based on the Created date. Results can be filtered and paged.
Input parameters
Parameter | Type | Required | Description |
---|---|---|---|
FolderID |
numeric - ID code |
Yes |
The identifier of the folder to retrieve data from. |
FromDate |
date - ISO / UTC |
No |
The start date. |
ToDate |
date - ISO / UTC |
No |
The end date. |
NextPage |
string |
No |
Tells the server the next page of data to retrieve. This parameter should be the same value as what was returned in the response field "NextPage" by the previous call. |
Request format
curl "https://api.boldchat.com/aid/$accountID/data/rest/json/v1/getConversions?auth=$authHash&FolderID=$FolderID"
Return values
Parameters are provided in alphabetic order. See Sample code for probable output.
Parameter | Type | Description |
---|---|---|
CallInvitationTemplateVariantID | numeric - ID code | ID of the template used to create the call invite. |
CallStatusType | integer | Call status of visit when conversion occurred. |
ChatInvitationTemplateVariantID | numeric - ID code | ID of the invitation template which holds different customer settings (e.g. logo url, style, etc.) |
ChatStatusType | integer | Status of the chat at conversion (e.g. none, chat was
unavailable, chat was blocked, etc), there are 16 types, more info
in ConversionInfo / The most recent state that chat was in at the
time of the chat closing. The legend of statuses is:
|
ConversionAmount | integer | The monetary value given to this conversion. |
ConversionCodeID | numeric - ID code | The ID of the conversion code to be generated. |
ConversionID | numeric - ID code | The ID assigned to this conversion. |
ConversionInfo | string (max) | Text content maintained with a specific conversion. |
ConversionRef | string | The conversion reference value for the conversion (must be unique per conversion code). |
CountryCode | code - ISO 3166 | ISO 2-letter country code (e.g. US). |
Created | date - ISO / UTC | Date the record was created. |
Data | text - heading | |
EntryUrl | string - legal URL | The initial landing page of the customer after being referred from the refererUrl location. |
ExperimentDate | date - ISO/UTC | Date and time when the experiment actions are selected (on each new visit). |
Experiments | string (max) | Byte array, where every index represents an experiment and every value represents the selected action for the given experiment. |
FolderID | numeric | The ID of the folder. |
InviteStatusType | integer | Visit invite status type:
|
Keywords | string | List of keywords for online search optimization. |
LastAssignedByOperatorID | numeric - ID code | ID of the agent who most recently assigned the chat. Null value indicates that the agent has not reassigned the chat. |
NextPage | string | If the method called supports it, and the data is truncated, the NextPage parameter will contain the necessary information to pass back to the same server method to get the next page of results. |
OperatorActionType | integer | How the customer interaction with the operator was initiated:
|
OperatorCount | integer | The total number of agents that could have been given credit for this conversion. |
OperatorID | numeric - ID code | |
OperatorStatusType | integer | The type of interaction the operator had with the customer:
|
PageViewCount | Number of pages a visitor viewed during their current session. | |
PageViewID | numeric - ID code | A numeric identifier for a specific page view. |
RefererID | numeric - ID code | ID of the referrer - for conversions |
RefererQuery | string | The search query, if recognized, given by the refererUrl used to refer the visitor to the site. |
RefererUrl | string - legal URL | The referring location given credit for referring the customer to the site initially to make the conversion. |
RegionCode | codes - ISO 3166 | The geographical state/province. |
Truncated | text - heading | |
VisitCount | integer | The total number of visits to the site prior to conversion. |
VisitCreated | date - ISO / UTC | Date and time when the customer's site visit was created. |
VisitID | numeric - ID code | The identifier of a specific visit. |
VisitorID | numeric - ID code | ID of the visitor / customer to whom this visit belongs. |
WebsiteDefID | numeric - ID code | System-assigned ID of the website associated with the chat. |