Comments (3)
You are correct that the SDK does not wrap the Program object. It would be rather simple to add but the use cases for it are rather limited. It is not possible to create/modify Programs but it is possible to start one that were already created in the UI. The object in SOAP that represents a Program is actually called Campaign. Even without support built-in it is possible to make the request to start one, similar to how QueryActivities were used in:
#8
Assuming c is an instance of the Client object, the code to start a Program would be:
c.soap_perform 'Campaign', {'ObjectID' => 'Q1'}, 'start'
Program support will be added in a future version, but the syntax above will continue to work even after it is added.
from fuelsdk-ruby.
@MichaelAllenClark, thanks for the information. For the moment it looks like I won't have to start a Program - err, I mean Campaign in SOAP land ;) - but if I need to I'll keep that in mind.
By the way, when I first started using this gem a few weeks ago, the Dot9Refactor branch seemed to be the most up to date, and then in #8 @barberj said 7 days ago that his repo was the most up to date. It looks like all the changes have been pulled into master on ExactTarget/FuelSDK-Ruby, and also the gem appears to be up to date at http://rubygems.org/gems/fuelsdk. So I think I can stop using my own fork of Dot9Refactor soon, once I do something about FuelSDK not supporting version 1.8.x of the JSON gem (I'll probably send a pull request for that shortly).
from fuelsdk-ruby.
The changes he made along with more are now currently in the master branch of the ExactTarget version. Please do send a pull request if you are able to fix the issue with JSON gem support.
Thanks!
from fuelsdk-ruby.
Related Issues (20)
- [BUG] Gem doesn't work on servers which don't have git installed
- [BUG] HTTP::TimeoutError Write timed out after 0.25 second
- [Required Update]
- [BUG] - 400 response when inserting or updating Data Extension rows HOT 2
- Open SSL Connection reset by peer HOT 3
- SSL_connect error in all Marketing Cloud API requests
- Connection reset by peer - SSL_connect
- CI through Travis
- Rubocop
- Please delete dead code
- MarketingCloudSDK::TriggeredSend doesn't support client ID
- Additional maintainer? HOT 4
- FuelSDk is showing Error message while sending a POST request HOT 3
- Delete records from Marketing cloud through Rest API
- Sidekiq : Throwing Error Message
- MarketingCloudSDK::Response.continue fails
- Status of this SDK HOT 6
- Please deprecate this repository HOT 2
- Trouble connecting to the client after the April 1st Permission update HOT 3
- Update JSON library to version 2 to 3 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fuelsdk-ruby.