How to download multiple envelops from the docusign - php

We have integrated DocuSign into our application and users are filling all the info and completing the docusign process. Also, we have implemented the functionality using docusign soap API to download envelop that status completed.
But now we want to download all the envelops that are completed. Is there any REST API or Soap API in php to download bulk envelops at a time. If yes please provide the details with examples.
Thanks,
Srinivas Reddy .A

Congratulations on your integration successes!
Do you want to download envelope information or the documents from the envelopers?
Use Connect
The usual technique for integrating completed envelope transactions and documents into existing systems is to use some form of the Connect feature. Connect enables you to establish a web hook, a listener, that is called by the DocuSign platform when envelopes or individual signature requests have reached a particular status level.
When you make an Envelope request through the API, you can include a call back "Connect" url as part of the request. See the eventNotification parameter
You can also establish a Connect listener at the account level instead of including the data with each envelope creation. Your Connect listener can be configured via the API or via the Preferences section of the Classic DocuSign Web App.
Message content documentation when your web hook listener is called by Connect
Another idea is to use the Retrieve product. It downloads completed envelopers and signed documents for you, to a windows server. You can then use local processes to store the data and completed documents.
Documents from envelopes
The API method Get Document from Envelope enables you to retrieve a specific document from an envelope.
Get Envelope Documents and Certificate enables you to retrieve all of the documents.
For both of these, you'd need to first loop through your envelopes to find the ones with the completed status.

Related

Interaction between service and remote api using websockets

I'm trying to create service which will interact between main service and remote api using http and websockets.
I need to send data from main platform to API and than react to API incoming events imediantly.
Remote API has two parts: Http and WS. I understand how to interact with http part but don't clearly understand about ws.
My main platform, service and sdk wrote by PHP. Also for service I use Redis as DB for save data of incoming events and their statuses.
I think I can setup WS server to send data through it to remote API. But I don't see all picture.
scheme that I imagine
How I imagine a hypothetical scenario:
Core platform - create event
My service handle this event, save data to Redis to check and for example change status,
format data and send it through my SDK to WS server
WS server has WebSocket connection with remote API. It publish my data to this stream
Remote API get this data and return response
Than, WS server is waiting incoming events from remote API
If server receive incoming data, it send it to my service (or create event which my service will catch?)
When service got incoming data it handle it and create event which main platform can handle
Am I right or it's wrong approach? Welcome to any help and tools titles :)

I to send a SOAP request to Siebel from a PHP page to insert data. FYI Seibel does not provide WSDL URL for web service

I want to send data from my PHP page to Siebel CRM. As I have seen so may sample that web service provide a WSDL URL which need to invoke and it is very easy using SOAP Client in php. but how it work in siebel as it has no WSDL url, it's provide a WSDL file
Siebel does generate and support WSDLs. But not via URLs, one needs admin access to the integration screens to generate WSDLs. Please speak with the administrator of your siebel instance. Also check oracle support pages for step-by-step instructions.
Newer versions of siebel also supports REST webservices. Again, one needs admin access to setup and get the URLs.

Is it possible to send push notifications by google api that let you watch for changes to contact

I am using google API for integrating calendar and syncing google contacts. Now I want to use auto-sync of google contacts. I have tried google push notification API reference:
It's working fine for watch event's change but I am unable to use this for watching contact changes. is it possible to use the same for watching contact change resources. I tried it with url :
POST: https://www.google.com/m8/feeds/contacts/{user-email}/full/watch
but no luck
The reference you provided is the recommended way on how to use push notifications that inform your application when a resource changes. Currently, the Drive API supports notifications for changes to the Files and Changes resources.
To use push notifications, you need to do three things:
Register the domain of your receiving URL.
For example, if you plan to use https://sampledomain.com/notifications as your receiving URL, you need to register https://sampledomain.com.
Set up your receiving URL, or "Webhook" callback receiver.
This is an HTTPS server that handles the API notification messages that are triggered when a resource changes.
Set up a notification channel for each resource endpoint you want to watch.
Check the examples.

Can I make a SOAP API call in Azure Logic App

I'm an experienced data analist with mostly SQL and R experience, little Python, and unfortunately little .NET and PHP exposure. I have searched extensively for anyone with a similar questions, but unfortunately I haven't found what I'm looking for.
Situation: I'm setting up an HDInsight cluster on Azure (with Apache Spark) and I need to pull in some data from a SOAP API (no restful API).
Problem: Where and how do I pull this data in? I thought the Logic App in Azure would be a suitable place. However, I don't quite succeed in calling on this API.
I do have a working PHP script with a proper API call. Here is a (part of) the syntax.
$client = new SoapClient('http://someURL?wsdl');
$webservice = new SoapClient('http://someotherURL?wsdl');
$session = $client->someOperationToLogin($var1, $var2, $var3);
$operation = $webservice->someOperationToGetData($session, $var4, $var5);
$session = $client->logout($session);
As you can see, I first need to obtain a session id and then use this session id in subsequent calls. As far as I understand, I can't get to this data through a simple HTTP request.
Questions:
Can I call this particular SOAP API directly through one of the existing connectors in the Azure Logic App
If (1) is not possible, can I make use of the existing PHP script? How and where?
Is there any other route I can follow to make use of the data through this SOAP API? For instance: using pyspark in the Spark/HDInsight Cluster?
I really appreciate your help and pointers.
You Can Make The Call Through The Normal HTTP Connector.
1- First Set Your Http trigger method to post and send it your xml Body.
HTTP Trigger
2- Make An Http Action with the url to Your Soap End like
abc.asmx
xyz.svc Http Call To Soap End
Don`t forget to set the Method To Post and Content-Type to text/xml as a header.
3- Finally Bind your Http Response to response action set the status code and body To the HTTP Action Status and Body Dynamically don`t forget to set to content type Here to text/xml as well Return Response Action
4- Finally Configure the run After for response component to sun after HttP Action Even If Faild , Cancled or time out Just to pass the Status code for every call Like That Right click on Response and configure run after conf Run After For response Action .
Here is The Full View Full Flow.
Like The Response If This helps.
There are no SOAP APIs called thru the existing connectors in Azure Logic App.
This is a list of Connectors and API Apps Reference: https://msdn.microsoft.com/en-us/library/azure/dn948518.aspx.
Their supported functions are all based on REST APIs via Http/Https.
All services & apis on Azure are almost based on REST APIs to compatible with crossover platform & language scenes.
But even so, you can create own SOAP APIs thru Azure App Service or Cloud Service.Please refer to http://azure.microsoft.com/en-us/documentation/services/app-service/api/ and https://azure.microsoft.com/en-us/documentation/articles/app-service-logic-arm-with-api-app-provision/.
In Azure HDInsight, you can pull in some data from Storage Service and Service Bus. If you want to use Azure Logic App, the exisiting connectors are Blob Connector and ServiceBus Connector, and even Dropbox Connector.
You can refer to the references below to use PHP script to access the Azure Storage & ServiceBus services linked as HDInsight resources to store/get or send/receive some data.
1.https://azure.microsoft.com/en-us/documentation/articles/storage-php-how-to-use-blobs/
2.https://azure.microsoft.com/en-us/documentation/articles/service-bus-php-how-to-use-queues/.
Best Regards.
It is now possible to create a REST API from a SOAP WSDL file through Azure API Management using the SOAP to Rest feature.
This can be accessed from:
Azure portal -> API Management services -> <Your API Management Service> -> APIs -> Add API -> WSDL
After this is set up, it is easy to access this API from other Azure products.

I want to create a Web Service in PHP to process Paypal transactions

I want to create a Web Service in PHP where the client will send cart and other information.
The server (Web Service) then will perform the paypal transaction using Paypal API. After the transaction is complete the service will return the result and all values in JSON encoded format.
Step1: A site creates instance of Client and sends cart information to Service.
Step2: Services processes the information and performs paypal transaction (redirects to paypal site).
Step3: After paypal transaction is complete paypal returns to service.
Step4: Service processes the transaction information (creates JSON) and returns to Client
The Service should be stand alone and can be used for any site.
My PHP class library for PayPal will make this very simple for you, as it basically does everything you're asking for here already.
You would just have to receive the data from your requesting client and then pass it into the library which has templates setup for nearly every API call PayPal offers.
It simply returns a PHP array of all the PayPal response data, so all you'd have to do is pass that into json_encode($paypal_response) to get your JSON string and output that for the requesting client.
You could have the whole thing ready to go in a matter of minutes depending on how much data you're receiving from the client.

Categories