+49 69 83008980 service@xqueue.com
Benötigen Sie Hilfe?

Im Maileon Help-Center finden Sie umfassende Dokumentationen zu unserem System.

Beliebte Suchanfragen: Importe | Rest-API | Integrationen | SMS

Get a List of Jobs running for a given Partner

Sie sind hier:

 

Get a List of Jobs running for a given Partner

GET https://api.maileon.com/partner/account-jobs
 
After a job is done, depending on type of job, attributes representing results will be added.
Parameters:
– key: apikey

Returns:
– jobs[]:
o job_type: {‚accountsetup‘, ’subdomainchange‘}
o id: int
o status: enum {‚waiting‘, ‚running‘, ’success‘, ‚error‘}
o newsletterAccountName: string
o createdUser: string
o createdTime: iso8601datetime
o After completionof ‚accountsetup’job:
▪ account_id: long
▪ customer_id: long
o After completionof ’subdomainchange’job:
▪ account_id: long
▪ customer_id: long
▪ domain: string

Example:

{"jobs": [
{
"job_type": "accountsetup",
"account_id": 1000000194,
"createdTime": "2022-09-09T14:11:39+02:00",
"newsletterAccountName": "Creation Test 2",
"id": 520,
"customer_id": 1000000075,
"createdUser": "PARTNER-API-66KM1HBV",
"status": "success"
},
{
"job_type": "subdomainchange",
"account_id": 1000000193,
"domain": "codeexample.e-mailnews.de",
"createdTime": "2022-09-09T14:38:10+02:00",
"newsletterAccountName": "Create test",
"id": 521,
"customer_id": 1000000075,
"createdUser": "PARTNER-API-66KM1HBV",
"status": "success"
},
{
"job_type": "subdomainchange",
"createdTime": "2022-09-09T14:40:36+02:00",
"newsletterAccountName": "Create test",
"id": 522,
"createdUser": "PARTNER-API-66KM1HBV",
"status": "running"
}]
}

Inhaltsverzeichnis