FORMAT: 1A HOST: http://ictcore.example.com
- API Endpoint : Domain / web url corresponding address for ictcore/wwwroot installation directory.
- API Access : Any valid combination of username and password created in usr table.
- POST Method: Any data submitted to POST method based APIs must be encoded as json.
- DELETE Method: user can use both DELETE and GET methods for delete APIs.
- List APIs: All list APIs support optional search filter, to search user need to use search parameters in url as query string using key value pair.
- 200 Function successfully executed.
- 401 Invalid or missing username or password.
- 403 Permission denied. User is not permitted to perform requested action.
- 404 Invalid API location or request to none existing resource. Check the URL and posting method (GET/POST).
- 412 Data validation failed.
- 417 Unexpected error.
- 423 System is not ready to perform requested action.
- 500 Internal server error. Try again at a later time.
- 501 Feature not implemented.
Create and return authentication token / session key.
Note: Unlike other APIs this API does not require separate authentication in header
-
Request (application/json)
-
Attributes
- username: admin (string) - api username for authentication
- password: mysecret (string) - api password for authentication
-
-
Response 200 (application/json)
-
Attributes
- token : token (string)
-
To create program please use respective APIs separately designed for each type of program.
-
Request
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
- Attributes (array[Program])
-
Parameters
- program_id (number) - ID of the program in the form of an integer
-
Request
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
- Attributes (Program)
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
-
Response 200
-
Parameters
- program_id (number) - ID of the program in the form of an Intiger
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
Attributes (Transmission)
-
-
Response 200 (application/json)
-
Attributes
- transmission_id: 1 (number) - transmission id of recently created transmission
-
-
Request
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
- Attributes (Transmission)
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
Attributes (ProgramEmailtofax)
-
-
Response 200 (application/json)
-
Attributes
- program_id : 1 (number) - program id of recently created program
-
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
Attributes (ProgramFaxtoemail)
-
-
Response 200 (application/json)
-
Attributes
- program_id : 1 (number) - program id of recently created program
-
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
Attributes (ProgramReceiveemail)
-
-
Response 200 (application/json)
-
Attributes
- program_id : 1 (number) - program id of recently created program
-
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
Attributes (ProgramReceivefax)
-
-
Response 200 (application/json)
-
Attributes
- program_id : 1 (number) - program id of recently created program
-
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
Attributes (ProgramReceivesms)
-
-
Response 200 (application/json)
-
Attributes
- program_id : 1 (number) - program id of recently created program
-
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
Attributes (ProgramSendemail)
-
-
Response 200 (application/json)
-
Attributes
- program_id : 1 (number) - program id of recently created program
-
Prepare given fax document for provided account, and make it ready to be sent
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
Attributes (ProgramSendfax)
-
-
Response 200 (application/json)
-
Attributes
- program_id : 1 (number) - program id of recently created program
-
Prepare given SMS for provided account, and make it ready to be sent
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
Attributes (ProgramSendsms)
-
-
Response 200 (application/json)
-
Attributes
- program_id : 1 (number) - program id of recently created program
-
Prepare given voice recording for provided account, and make it ready to be played during call
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
Attributes (ProgramVoicemessage)
-
-
Response 200 (application/json)
-
Attributes
- program_id : 1 (number) - program id of recently created program
-
Prepare given voice tts for provided account, and make it ready to be played during call
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
Attributes (ProgramVoicetts)
-
-
Response 200 (application/json)
-
Attributes
- program_id : 1 (number) - program id of recently created program
-
create call request / dial / send message
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
Attributes (Transmission)
-
-
Response 200 (application/json)
-
Attributes
- text_id: 1 (number) - text id of recently created template
-
-
Request
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
- Attributes (Transmission)
-
Parameters
- transmission_id (number) - ID of the transmission in the form of an integer
-
Request
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
- Attributes (Transmission)
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
-
Response 200
-
Parameters
- transmission_id (number) - ID of the transmission in the form of an integer
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
-
Attributes
- spool_id: 1 (number) - Spool ID of resulted attempt
-
-
Parameters
- transmission_id (number) - ID of the transmission in the form of an integer
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
-
Attributes
- spool_id: 1 (number) - Spool ID of resulted attempt
-
-
Parameters
- transmission_id (number) - ID of the transmission in the form of an integer
Instead of delivering message instantly, schedule its delivery in near future.
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
-
Attributes
- schedule_id: 1 (number) - schedule id of recently created schedule record
-
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
-
Response 200
-
Parameters
- transmission_id (number) - ID of the transmission in the form of an integer
Want to resend an already completed transmission, copy it (Note: after copying, client still need to request send method for message delivery)
-
Request
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
-
Attributes
- transmission_id: 1 (number) - transmission id of newly created transmission
-
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
Attributes (Contact)
-
-
Response 200 (application/json)
-
Attributes
- contact_id : 1 (number) - id of recently created contact
-
-
Request
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
- Attributes (array[Contact])
-
Parameters
- contact_id (number) - ID of the contact in the form of an integer
-
Request
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
- Attributes (Contact)
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
Attributes (Contact)
-
-
Response 200 (application/json)
- Attributes (Contact)
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
-
Parameters
- contact_id (number) - ID of the contact in the form of an integer
- group_id (number) - ID of the group in the form of an integer
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
- Attributes (Contact)
remove selected contact from provided contact group
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
- Attributes (Contact)
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
Attributes (Group)
-
-
Response 200 (application/json)
-
Attributes
- group_id : 1 (number) - return newly created id
-
-
Request
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
- Attributes (array[Group])
-
Parameters
- group_id (number) - ID of the group in the form of an integer
-
Request
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
- Attributes (Group)
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
Attributes (Group)
-
-
Response 200 (application/json)
- Attributes (Group)
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
-
Response 200
-
Parameters
- group_id (number) - ID of the group in the form of an integer
-
Request
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
- Attributes (array[Contact])
-
Parameters
- group_id (number) - ID of the group in the form of an integer
-
Request (text/csv)
-
Headers
Authentication: Bearer JWT
-
Body
"CSV file contents"
-
-
Response 200
Download complete contacts from selected contact group as csv file
-
Request
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (text/csv)
-
Body
"CSV file contents"
-
Download a sample csv file
-
Request
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (text/csv)
-
Body
"CSV Sample file contents"
-
Create campaign for message delivery / calling bulk contacts
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
Attributes (Campaign)
-
-
Response 200 (application/json)
-
Attributes
- campaign_id: 1 (number) - campaign id of recently created campaign record
-
-
Request
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
- Attributes (array[Campaign])
-
Parameters
- campaign_id (number) - ID of the campaign in the form of an integer
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
Attributes (Campaign)
-
-
Response 200 (application/json)
- Attributes (Campaign)
-
Request
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
- Attributes (Campaign)
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
-
Response 200
-
Parameters
- campaign_id (number) - ID of the campaign in the form of an integer
Start contact processing / calling in selected campaign
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
-
Attributes
- Boolean: true on success (string) - Boolean: true on success
-
-
Parameters
- campaign_id (number) - ID of the campaign in the form of an integer
Stop contact processing / calling in selected campaign
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
-
Attributes
- Boolean: true on success (string) - Boolean: true on success
-
-
Parameters
- campaign_id (number) - ID of the campaign in the form of an integer
Instead of processing campaign contacts instantly, schedule their processing / calling in near future.
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
-
Attributes
- schedule_id: 1 (number) - schedule id of recently created schedule record
-
-
Parameters
- campaign_id (number) - ID of the campaign in the form of an integer
Instead manually stopping a campaign, we can schedule it.
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
-
Attributes
- schedule_id: 1 (number) - schedule id of recently created schedule record
-
-
Parameters
- campaign_id (number) - ID of the campaign in the form of an integer
Cancel any schedule associated with given campaign
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
-
Response 200
There are different kinds of messages like fax,voice,sms and email
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
Attributes (DocumentPost)
-
-
Response 200 (application/json)
-
Attributes
- document_id: 1 (number) - document id of recently created document record
-
-
Request
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
- Attributes (array[Document])
Note: Media / document can be downloaded separately using GET messages/documents/{document_id}/media
-
Parameters
- document_id (number) - ID of the document in the form of an integer
-
Request
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
- Attributes (Document)
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
Attributes (Document)
-
-
Response 200 (application/json)
- Attributes (Document)
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
-
Response 200
-
Parameters
- document_id (number) - ID of the document in the form of an integer
Upload media / pdf file for an existing document, this method should be called followed by POST messages/documents
-
Request (application/pdf)
-
Headers
Authentication: Bearer JWT
-
Body
"Pdf file contents"
-
-
Response 200 (application/json)
-
Attributes
- document_id: 1 (number) - document id of updated record
-
Download Document file
-
Request
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/pdf)
-
Body
"Pdf file contents"
-
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
Attributes (Document)
-
-
Response 200 (application/json)
-
Attributes
- recording_id: 1 (number) - recording id of recently created recording
-
Note: Media / recording can be downloaded separately using GET messages/recording/{recording_id}/media
-
Request
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
- Attributes (array[Document])
-
Parameters
- recording_id (number) - ID of the recording in the form of an integer
-
Request
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
- Attributes (Document)
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
Attributes (Document)
-
-
Response 200 (application/json)
- Attributes (Document)
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
-
Response 200
-
Parameters
- recording_id (number) - ID of the recording in the form of an integer
Upload media / wav file for an existing recording, this method should be called followed by POST messages/recording
-
Request (audio/wav)
-
Headers
Authentication: Bearer JWT
-
Body
"Recording file contents"
-
-
Response 200 (application/json)
-
Attributes
- recording_id: 1 (number) - recording id of updated record
-
Download wav file
-
Request
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (audio/wav)
-
Body
"Recording file contents"
-
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
Attributes (Template)
-
-
Response 200 (application/json)
-
Attributes
- template_id: 1 (number) - template id of recently created template
-
Note: Media / attachment can be downloaded separately using GET messages/templates/{template_id}/media
-
Request
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
- Attributes (array[Template])
-
Parameters
- template_id (number) - ID of the template in the form of an integer
-
Request
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
- Attributes (Template)
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
Attributes (Template)
-
-
Response 200 (application/json)
- Attributes (Template)
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
-
Response 200
-
Parameters
- template_id (number) - ID of the template in the form of an integer
Upload media / attachment for an existing template, this method should be called followed by POST messages/templates
-
Request (text/plain)
-
Headers
Authentication: Bearer JWT
-
Body
"Email template contents"
-
-
Response 200 (application/json)
-
Attributes
- template_id: 1 (number) - template id of updated record
-
Download file
-
Request
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (text/html)
-
Body
"Email template contents"
-
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
Attributes (Text)
-
-
Response 200 (application/json)
-
Attributes
- text_id: 1 (number) - text id of recently created template
-
-
Request
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
- Attributes (array[Text])
-
Parameters
- text_id (number) - ID of the text in the form of an integer
-
Request
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
- Attributes (Text)
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
Attributes (Text)
-
-
Response 200 (application/json)
- Attributes (Text)
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
-
Response 200
-
Parameters
- transmission_id (number) - ID of the transmission in the form of an integer
Get current status of an existing transmission
-
Request
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
-
Attributes
- Status: status (string) - Will return one of the following status (pending, processing, completed, failed, invalid)
-
-
Parameters
- transmission_id (number) - ID of the transmission in the form of an integer
A list of attempts (spool) with their detail, which system has made to deliver that transmission
-
Request
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
- Attributes (array[Spool])
-
Parameters
- transmission_id (number) - ID of the transmission in the form of an integer
Complete details of each step along with remote side responses, for requested transmission
-
Request
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
- Attributes (array[Result])
-
Parameters
- spool_id (number) - ID of the spool in the form of an integer
Get current status of an existing transmission attempt (spool)
-
Request
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
-
Attributes
- status: status (string) - Will return one of the following status (initiated, completed, failed)
-
-
Parameters
- spool_id (number) - ID of the spool in the form of an integer
Complete details of each step along with remote side responses, for requested transmission attempt spool_id
-
Request
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
- Attributes (array[Result])
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
Attributes (Account)
-
-
Response 200 (application/json)
-
Attributes
- account_id: 1 (number) - account id of recently created account record
-
-
Request
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
- Attributes (array[Account])
-
Parameters
- account_id (number) - ID of the account in the form of an integer
Read / view complete account data
-
Request
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
- Attributes (Account)
Update an existing account
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
Attributes (Account)
-
-
Response 200 (application/json)
- Attributes (Account)
Delete an existing account
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
-
Response 200
-
Parameters
- account_id (number) - ID of the account in the form of an integer
- program_id (number) - ID of the program in the form of an integer
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
- Attributes (Account)
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
- Attributes (Account)
-
Parameters
- account_id (number) - ID of the account in the form of an integer
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
- Attributes (Account)
-
Parameters
- account_id (number) - ID of the account in the form of an integer
- user_id (number) - ID of the user in the form of an integer
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
- Attributes (Account)
-
Parameters
- account_id (number) - ID of the account in the form of an integer
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
- Attributes (Account)
-
Parameters
- account_id (number) - ID of the account in the form of an integer
- name (string) - Account setting name
Read / view account setting
-
Request
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
-
Attributes
- value: value (string) - will return current value of the given account setting
-
Create a new or update an existing account setting
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
Attributes (Account)
-
-
Response 200
Delete an existing account setting
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
-
Response 200
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
Attributes (User)
-
-
Response 200 (application/json)
-
Attributes
- user_id: 1 (number) - user id of recently created user record
-
list all exiting users, optionally client can filter users using query string (key value pair) in url, while using any of following fields
-
Request
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
- Attributes (array[User])
-
Parameters
- user_id (number) - ID of the user in the form of an integer
-
Request
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
- Attributes (User)
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
Attributes (User)
-
-
Response 200 (application/json)
- Attributes (User)
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
-
Response 200
-
Parameters
- user_id (number) - ID of the user in the form of an integer
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
Attributes
- password : mysecret (string, required) - New user password
-
-
Response 200 (application/json)
- Attributes (User)
-
Parameters
- user_id (number) - ID of the user in the form of an Integer
- role_id (number) - ID of the role in the form of an Integer
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
- Attributes (User)
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
-
Response 200
-
Parameters
- user_id (number) - ID of the user in the form of an Integer
- permission_id (number) - ID of the permission in the form of an Integer
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
- Attributes (User)
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
-
Response 200
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
Attributes (Provider)
-
-
Response 200 (application/json)
-
Attributes
- provider_id: 1 (number) - provider id of recently created provider record
-
-
Request
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
- Attributes (array[Provider])
-
Parameters
- provider_id (number) - ID of the user in the form of an integer
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
Attributes (Provider)
-
-
Response 200 (application/json)
- Attributes (Provider)
-
Request
-
Headers
Authentication: Bearer JWT
-
-
Response 200 (application/json)
- Attributes (Provider)
-
Request (application/json)
-
Headers
Authentication: Bearer JWT
-
-
Response 200
- campaign_total: 1 (number) - total number of campaign
- campaign_active: 0 (number) -total number of active campaign
- group_total: 12 (number) - number of groups
- contact_total: 5 (number) - number of contacts
- transmission_total: 1 (number) - number of transmistions
- transmission_active: 1 (number) - number of active transmission
- spool_total: 1 (number) - number of spools
- spool_success: 1 (number) - number of success spools
- spool_failed: 1 (number) - number of unsuccessed spools
- first_name: first name (string, required)
- last_name: last name (string, optional)
- phone: 03001234567 (number, required)
- email: email (string, optional)
- address: address (string, optional)
- custom1: custom1 (string, optional)
- custom2: custom 2 (string, optional)
- custom3: custom 3 (string, optional)
- description: description (string, optional)
- id: 1 (number, default) - id is auto increment
- name: group name (string,required)
- description: Description (string, optional)
- name: group name (string,required)
- description: Description (string, optional)
- type: type (string) - three digit file extension representing file type
- name: name (string, required)
- description: Description (string, optional)
- subject: Subject (string, required)
- body: body (string, required) - HTML Message
- body_alt: body alt (string, optional) - Plain Message
- type: upload file (string, optional) - three digit file extension representing file type
- name: name (string, required)
- data: Data (string, required) - Actual message
- type: type (string, optional) - unicode or plain or binary
- description: Description (string, optional)
- name: name (string, required)
- type: type (string, optional) - program type
- parent_id: 1 (number, optional) - program id of parent program
- title: title (string)
- origin: origin (string) - reference to function / program which is responsible creation of this transmission
- contact_id: 1 (number, required) - contact id to contact where to transmit message
- account_id: 1 (number) - account id of associated account
- service_flag: 1 (number) - Type of transmission service i.e Email::SERVICE_FLAG or Voice::SERVICE_FLAG
- program_id: 1 (number, required) - program id of program which will be used with this transmission
- direction: direction (string) - either can be outbound or inbound
- status: status (string) - if complete or failed
- response: response (string) - the cause of error, transmission failure
- account_id: 1 (number) - account id of account for which this program is being created
- account_id: 1 (number) - account id of account for which this program is being created
- account_id: 1 (number) - account id of account for which this program is being created
- document_id: 1 (number) - document id of fax document for which this program is being created
- account_id: 1 (number) - account id of account for which this program is being created
- template_id: 1 (number) - template id of email template for which this program is being created
- account_id: 1 (number) - account id of account for which this program is being created
- text_id: 1 (number) - text id of SMS text for which this program is being created
- recording_id: 1 (number) - recording id of voice recording for which this program is being created
- username: username (string)
- passwd: password (string)
- passwd_pin: password pin (string)
- first_name: first name (string)
- last_name: last name (string)
- phone: 03001234567 (number)
- email: email (string)
- address: address (string)
- active: 1 (number) - 1 for active, 0 for disabled
- username: username (string)
- passwd: password (string)
- first_name: first name (string)
- last_name: last name (string)
- phone: 03001234567 (number)
- email: email (string)
- address: address (string)
- company: company name (string)
- country_id: 1 (number) - see country table
- timezone_id: 1 (number) - see timezone table
- active: 1 (number) - 1 for active, 0 for disabled
- name: name (string)
- gateway_flag: 1 (number) - Type of gateway i.e Freeswitch::GATEWAY_FLAG or Kannel::GATEWAY_FLAG
- service_flag: 1 (number) - Type of transmission service i.e Email::SERVICE_FLAG or Voice::SERVICE_FLAG
- node_id: 1 (number, optional) - see node table
- host: ipaddress (string) - ip address to termination server
- port: 8080 (number, optional)
- username: username (string,required)
- password: password (string, optional)
- dialstring: dailstring (string, optional)
- prefix: 12 (number, optional) -number which is required to be dialed before actual phone number
- settings: settings (string, optional) - any additional configuration required by this provider
- register: 1 (number, optional) 1 for yes, 0 for no
- weight: 10 (number) provider having lighter weight will be used more frequently
- type: type (string)
- active: 1 (number) 1 for active, 0 for disabled
- program_id: 1 (number)
- group_id: 2 (number)
- cpm: 2 (number) - transmissions / cycles per second
- try_allowed: 2 (number)
- account_id: 1 (number) - account_id of associated account
- status: active (string) - current status of campaign
- spool_id: 1 (number)
- time_spool: 1518705479 (number)
- time_start: 1518705479 (number)
- time_connect: 1518705479 (number)
- time_end: 1518705479 (number)
- status: completed (string)
- response: busy (string)
- transmission_id: 1 (number)
- spool_result_id: 1 (number)
- spool_id: 1 (number)
- type: dtmf (string) - type of result
- name: age (string) - result id / name
- data: 22 (string) - actual result