Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wvpv/ba9a9272c47f837b7ccbb3d4177c80b2 to your computer and use it in GitHub Desktop.
Save wvpv/ba9a9272c47f837b7ccbb3d4177c80b2 to your computer and use it in GitHub Desktop.
SFMC SSJS Retrieve Automation with WSProxy - Results
{
"Status": "OK",
"RequestID": "40ff6f0d-5f64-4201-b441-671d70a49279",
"Results": [
{
"Schedule": null,
"AutomationTasks": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"IsActive": true,
"AutomationSource": null,
"Status": 6,
"Notifications": [
{
"Address": "email@example.com",
"Body": "",
"ChannelType": "1",
"NotificationType": "Error",
"AutomationID": "47cc4077-6b48-8094-4ae7-c1948d420ea5",
"Client": null,
"PartnerKey": null,
"PartnerProperties": null,
"CreatedDate": "0001-01-01T00:00:00.000",
"ModifiedDate": null,
"ID": 0,
"ObjectID": null,
"CustomerKey": null,
"Owner": null,
"CorrelationID": null,
"ObjectState": null,
"IsPlatformObject": false
},
{
"Address": "email@example.com",
"Body": "",
"ChannelType": "1",
"NotificationType": "Complete",
"AutomationID": "2672aa10-9a3f-4678-962e-a07280740f4e",
"Client": null,
"PartnerKey": null,
"PartnerProperties": null,
"CreatedDate": "0001-01-01T00:00:00.000",
"ModifiedDate": null,
"ID": 0,
"ObjectID": null,
"CustomerKey": null,
"Owner": null,
"CorrelationID": null,
"ObjectState": null,
"IsPlatformObject": false
}
],
"ScheduledTime": "2020-09-04T22:00:00.000",
"AutomationType": "scheduled",
"UpdateModified": false,
"LastRunInstanceID": "",
"CreatedBy": 123456789,
"CategoryID": "372",
"LastRunTime": "2020-09-03T22:03:48.583",
"LastSaveDate": "2020-08-21T15:01:29.736",
"ModifiedBy": -1000,
"RecurrenceID": "789a3cd0-c4a4-4ecc-9609-c0b39f7a8280",
"LastSavedBy": 0,
"InteractionObjectID": null,
"Name": "YOUR_AUTOMATION_NAME_HERE",
"Description": "",
"Keyword": null,
"Client": {
"ID": 0,
"ClientID1": 999999999,
"PartnerClientKey": null,
"UserID": 0,
"PartnerUserKey": null,
"CreatedBy": 0,
"ModifiedBy": 0,
"EnterpriseID": 0,
"CustomerKey": null,
"CustomerID": null
},
"PartnerKey": null,
"PartnerProperties": [
{
"Name": "AutomationType",
"Value": "scheduled"
}
],
"CreatedDate": "2019-04-30T11:17:14.259",
"ModifiedDate": "2020-09-03T22:35:36.167",
"ID": 0,
"ObjectID": "27cc4077-6b48-8094-4ae7-c1948d420ea5",
"CustomerKey": "17cc4077-6b48-8094-4ae7-c1948d420ea5",
"Owner": null,
"CorrelationID": null,
"ObjectState": null,
"IsPlatformObject": false
}
],
"HasMoreRows": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment