« Back to Documentation Overviewget_imports
Section: Imports
Version: 1.5.0
Get imports.
Parameters
|
---|
string | API_KEY |
object | array | campaigns | string | CAMPAIGN_ID | string | CAMPAIGN_ID |
| string | get_campaigns | get_campaigns conditions |
|
Return Value
|
---|
object | IMPORT_ID | string | campaign | CAMPAIGN_ID | string | action | insert | string | name | My other import | string | optin | double | string | status | to_review | string | created_on | 2014-01-02 00:00:00 |
|
Example Request JSON
[
"API_KEY",
{
"campaigns": [
"CAMPAIGN_ID",
"CAMPAIGN_ID"
],
"get_campaigns": "get_campaigns conditions"
}
]
Example Response JSON
{
"IMPORT_ID": {
"campaign": "CAMPAIGN_ID",
"action": "insert",
"name": "My other import",
"optin": "double",
"status": "to_review",
"created_on": "2014-01-02 00:00:00"
}
}
API-wide Errors
|
---|
API key verification failed
| API key verification failed |
API client IP not allowed
| API client IP not allowed |
Invalid params
| Attribute params must be reference to hash |