Skip to content

Doctorsender webservice to manage campaings, lists, users, etc..

License

Notifications You must be signed in to change notification settings

x-tof/doctorsender-webservice

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webservice

Doctorsender webservice to manage campaings, lists, users, etc..

##Install

composer require x-tof/doctorsender-webservice:dev-master

Add it to your AppKernel.php

public function registerBundles()
    {
        $bundles = array(
            ...
            new Doctorsender\APIBundle\DoctorsenderAPIBundle()
        );

##Configure

Add in your config.yml or import configuration file.

doctorsender_api:
    user: "username"
    token: "your_api_token"

You can get your doctorsender ID from DOCTORSENDER

You can override the api endpoint url by adding yourself the key [url]

doctorsender_api:
    url: http://soapwebservice.doctorsender.com/server.wsdl <-default value
    user: "username"
    token: "your_api_token"

##Usage

This bundle provides a service called 'doctorsender' with all necessary method to make api calls to doctorsender.

Controller example:

public function defaultAction(){
    $doctorsender = $this->get('doctorsender');
    $doctorsender->dsCampaignNew(....);
    ...
}

You can find extended webservice api info in this link: API DOCS

About

Doctorsender webservice to manage campaings, lists, users, etc..

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%