Last active
September 30, 2016 16:33
-
-
Save wlmcewen/02745303ee69a37a96de54f8482fd7ff to your computer and use it in GitHub Desktop.
API-3606
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SparkApi:048:0* post("/savedsearches", "Name" => "Wade's bagley test", "Filter" => "City Eq 'Bagley' And MlsStatus Eq 'Active' And PropertyType Eq 'A'") | |
[{"ResourceUri"=>"/v1/savedsearches/20160930110443923409000000", "Id"=>"20160930110443923409000000", "OwnerId"=>"20081211210137031788000000", "Name"=>"Wade's bagley test", "Description"=>nil, "ContactIds"=>[], "UnsubscribedContactIds"=>[], "ModificationTimestamp"=>"2016-09-30T11:04:43-05:00", "Filter"=>"City Eq 'Bagley' And MlsStatus Eq 'Active' And PropertyType Eq 'A'", "QuickSearchId"=>nil, "Tags"=>[], "Provided"=>false}] | |
SparkApi:049:0> get("/newsfeeds/20151117150944963050973798")[{"Id"=>"20151117150944963050973798", "ResourceUri"=>"/v1/newsfeeds/20151117150944963050973798", "OwnerId"=>"20081211210137031788000000", "ModificationTimestamp"=>"2016-04-13T18:15:52Z", "CreatedTimestamp"=>"2015-11-17T21:09:44Z", "Events"=>[nil], "UseDefaultEvents"=>false, "Type"=>"SavedSearch", "Name"=>"alpha agent scheduled OpenHouse", "Active"=>true, "NotificationsActive"=>true, "Curated"=>false, "ProspectLinkId"=>nil, "Subscription"=>{"ResourceUri"=>"/v1/savedsearches/20151117150944117510000000", "Id"=>"20151117150944117510000000", "OwnerId"=>"20081211210137031788000000", "Name"=>"alpha agent scheduled OpenHouse", "Description"=>nil, "ContactIds"=>[], "UnsubscribedContactIds"=>[], "ModificationTimestamp"=>"2016-06-30T10:37:23-05:00", "Filter"=>"City Eq 'Bagley','Fargo' And MlsStatus Eq 'Active','Pending','Closed','Expired' And PropertyType Eq 'A'", "QuickSearchId"=>nil, "Tags"=>[], "Provided"=>false}}] | |
SparkApi:050:0> post("/newsfeeds", "Name" => "Wade's bagley feed", "Subscription"=>{"Id"=>"20160930110443923409000000"}) | |
[{"Id"=>"20160930110653734890820799", "ResourceUri"=>"/v1/newsfeeds/20160930110653734890820799", "OwnerId"=>"20081211210137031788000000", "ModificationTimestamp"=>"2016-09-30T16:06:53Z", "CreatedTimestamp"=>"2016-09-30T16:06:53Z", "Events"=>nil, "UseDefaultEvents"=>false, "Type"=>"SavedSearch", "Name"=>"Wade's bagley feed", "Active"=>true, "NotificationsActive"=>true, "Curated"=>false, "ProspectLinkId"=>nil, "Subscription"=>{"ResourceUri"=>"/v1/savedsearches/20160930110443923409000000", "Id"=>"20160930110443923409000000", "OwnerId"=>"20081211210137031788000000", "Name"=>"Wade's bagley test", "Description"=>nil, "ContactIds"=>[], "UnsubscribedContactIds"=>[], "ModificationTimestamp"=>"2016-09-30T11:04:45-05:00", "Filter"=>"City Eq 'Bagley' And MlsStatus Eq 'Active' And PropertyType Eq 'A'", "QuickSearchId"=>nil, "Tags"=>[], "Provided"=>false}}] | |
SparkApi:012:0* post("/savedsearches", "Name" => "Wade's bagley test", "Filter" => "City Eq 'Bagley' And MlsStatus Eq 'Active' And PropertyType Eq 'A'") | |
[{"ResourceUri"=>"/v1/savedsearches/20160930112824954586000000", "Id"=>"20160930112824954586000000", "OwnerId"=>"20090828031850218664000000", "Name"=>"Wade's bagley test", "Description"=>nil, "ContactIds"=>[], "UnsubscribedContactIds"=>[], "ModificationTimestamp"=>"2016-09-30T11:28:25-05:00", "Filter"=>"City Eq 'Bagley' And MlsStatus Eq 'Active' And PropertyType Eq 'A'", "QuickSearchId"=>nil, "Tags"=>[], "Provided"=>false}] | |
SparkApi:013:0> | |
SparkApi:014:0* | |
SparkApi:015:0* post("/newsfeeds", "Name" => "Wade's bagley feed", "Subscription"=>{"Id"=>"20160930112824954586000000"}) | |
[{"Id"=>"20160930112856355141821045", "ResourceUri"=>"/v1/newsfeeds/20160930112856355141821045", "OwnerId"=>"20090828031850218664000000", "ModificationTimestamp"=>"2016-09-30T16:28:56Z", "CreatedTimestamp"=>"2016-09-30T16:28:56Z", "Events"=>nil, "UseDefaultEvents"=>false, "Type"=>"SavedSearch", "Name"=>"Wade's bagley feed", "Active"=>true, "NotificationsActive"=>true, "Curated"=>false, "ProspectLinkId"=>nil, "Subscription"=>{"ResourceUri"=>"/v1/savedsearches/20160930112824954586000000", "Id"=>"20160930112824954586000000", "OwnerId"=>"20090828031850218664000000", "Name"=>"Wade's bagley test", "Description"=>nil, "ContactIds"=>[], "UnsubscribedContactIds"=>[], "ModificationTimestamp"=>"2016-09-30T11:28:25-05:00", "Filter"=>"City Eq 'Bagley' And MlsStatus Eq 'Active' And PropertyType Eq 'A'", "QuickSearchId"=>nil, "Tags"=>[], "Provided"=>false}}] | |
SparkApi:017:0> post("/newsfeeds/20160930112856355141821045/schedule", "Frequency" => "Scheduled", "DaysOfWeek"=> ["Friday"], "HoursOfDay" => [12]) | |
[{"Id"=>"20160930112950366229589980", "ResourceUri"=>"/v1/newsfeeds/20160930112856355141821045/schedules/20160930112950366229589980", "NewsfeedId"=>"20160930112856355141821045", "Frequency"=>"Scheduled", "Events"=>nil, "HoursOfDay"=>[12], "DaysOfWeek"=>["Friday"], "DaysOfMonth"=>nil, "CreatedTimestamp"=>"2016-09-30T16:29:50Z"}] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment