- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Description
Get a list of sequences for the account.
URL parameters
None
Responses
Name | Type | Description |
---|---|---|
Result | string | Success if the operation was successful. |
SequenceCount | numeric | Total number of sequences in the account. |
Sequences | Sequences | Information about the sequences in the account. |
Sample request
curl -X GET "https://api.mozenda.com/rest?WebServiceKey=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX&Service=Mozenda10&Operation=Sequence.GetList"
Sample responses
XML
<?xml version="1.0" encoding="utf-8"?>
<SequenceGetListResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Result>Success</Result>
<SequenceCount>2</SequenceCount>
<SequencesList>
<Sequences>
<ItemID>1001</ItemID>
<Name>Beginning Of Day</Name>
<Status>Running</Status>
<Config>agentrun publishdata</Config>
<Progress>AgentRun,1001,Products</Progress>
<NextRunTime />
<LastRunTime>2017-09-20 21:04:03</LastRunTime>
<LastRunResult>Done</LastRunResult>
</Sequences>
<Sequences>
<ItemID>1002</ItemID>
<Name>Weekly Clear</Name>
<Status>Ready</Status>
<Config>collectionclear publishdata</Config>
<Progress />
<NextRunTime />
<LastRunTime />
<LastRunResult />
</Sequences>
</SequencesList>
</SequenceGetListResponse>
JSON (add &ResponseFormat=JSON
)
{
"SequenceCount":7,
"Sequences":[
{
"ItemID":1005,
"Name":"Test-01",
"Status":"Paused",
"Config":"AgentRun,CollectionClear,PublishData,SequenceRun,UpdateFieldValue,ViewDeleteItems",
"Progress":"AgentRun,1027,IMDb-TV-02",
"NextRunTime":"",
"LastRunTime":"2020-04-23 11:57:09",
"LastRunResult":"Done"
},
{
"ItemID":1007,
"Name":"Test-02",
"Status":"Running",
"Config":"AgentRun,CollectionClear",
"Progress":"AgentRun,1038,Politico",
"NextRunTime":"",
"LastRunTime":"2020-04-23 10:48:59",
"LastRunResult":"Done"
}
],
"JsonResult":{
"Command":"Sequence.GetList",
"AutoLoggedIn":false,
"WebConsoleKey":"",
"Result":"Success",
"ErrorCode":"",
"ErrorDescription":"",
"ErrorList":[
],
"ExecutionTime":{
"Ticks":0,
"Days":0,
"Hours":0,
"Milliseconds":0,
"Minutes":0,
"Seconds":0,
"TotalDays":0,
"TotalHours":0,
"TotalMilliseconds":0,
"TotalMinutes":0,
"TotalSeconds":0
}
}
}
Enterprise Feature
Please contact your sales representative at +1 (801) 995-4550 or sales@mozenda.com for more information about enabling Sequences on your account.
Was this article helpful?