Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Commit

Permalink
User specific endpoints (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
ipetresf authored and manivinesh committed Nov 19, 2018
1 parent 188970a commit 3331a15
Show file tree
Hide file tree
Showing 24 changed files with 863 additions and 500 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,8 @@ objsamples/sample-testing.php
/objsamples/sample-asset-upload.php
/tests/CampaignAssetTest.php
/tests/ImportListTest.php
.vscode
phpunit-*.phar
composer.phar
.idea
.cache
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ Salesforce Marketing Cloud Fuel SDK for PHP
## Overview ##
The Fuel SDK for PHP provides easy access to Salesforce Marketic Cloud's Fuel API Family services, including a collection of REST and SOAP API. These APIs provide access to Salesforce Marketing Cloud (previously called ExactTarget) functionality via common collection types such as array/hash.

## New Features in Version 1.2.0 ##

* Added support for your tenant’s endpoints - [More Details](https://developer.salesforce.com/docs/atlas.en-us.mc-apis.meta/mc-apis/your-subdomain-tenant-specific-endpoints.htm)

## New Features in Version 1.1.0 ##

* **namespace :** namespace is introduced.
Expand Down Expand Up @@ -89,6 +93,8 @@ See the ET_Client section below for details on how to specify these values at th

If you have not registered your application or you need to lookup your Application Key or Application Signature values, please go to Salesforce Marketing Cloud App Center.

You can define your own REST, SOAP and Authentication base urls both in the config file and the ET_Client constructor params argument. If the REST & SOAP base urls are not defined, it should default to `https://www.exacttargetapis.com` and `https://auth.exacttargetapis.com`.

## Example Request ##
All ExactTarget objects exposed through the Fuel SDK begin with be prefixed with "ET\_". Start by working with the ET_List object:

Expand Down Expand Up @@ -178,6 +184,11 @@ Example passing JWT:
Example passing ClientID/ClientSecret:
> $myclient = new ET_Client(true, array("clientid" => "3bjbc3mg4nbk64z5kzczf89n", "clientsecret"=>"ssnGAPvZg6kmm775KPj2Q4Cs"));
Example passing base urls for REST, Authentication and SOAP:
> $myclient = new ET_Client(true, array("baseUrl" => "http://rest.endpoint.com", "baseAuthUrl" => "http://auth.endpoint.com", "baseSoapUrl" => "http://soap.endpoint.com"));


## Responses ##
All methods on Fuel SDK objects return a generic object that follows the same structure, regardless of the type of call. This object contains a common set of properties used to display details about the request.

Expand Down
Loading

0 comments on commit 3331a15

Please sign in to comment.