Generating Fedex Shipping Labels - soap

I'm using Fedex web services and would like to regenerate a shipping label. Is there a SOAP request where I can supply a tracking number and have fedex return a pdf label, or do I need to save the generated pdf when using the ShipService to create the shipment? Generating the pdf on the fly would be cleaner than having to store each generated pdf.

There is no FedEx API to regenerate/reprint the label.
You have to store it on your side or somewhere in the cloud.

If you use the Shiprush SDK, the label can be refetched from the Shiprush system. When you go direct to fedex api, then you have to handle saving the label yourself, and managing the reprint process yourself.

Related

General question about SmartSheet API and creating a user interface

My company keeps individual employee schedules. Each employee manages their own schedule. Admin,supervisors and project manager have to go to each sheet and look for the information.
I need to create a system that allows someone to select a date range and skill set then produce a sheet with the information that matches the criteria. I have installed the Python API and worked through a few tutorials.
Now I need to know how to make command buttons, date pickers . . .
A quick read of my search results indicates that this is not part of the Smartsheet API!
Is there a way to do this through the SmartSheet API? Or how would you approach this?
The Smartsheet API enables you to programmatically access data in Smartsheet (i.e., create, read, update, delete data in Smartsheet). This is true for all APIs -- they simply provide a means for you to programmatically access data. You'll need to build the web app's user interface (UI) yourself by using HTML, CSS, JavaScript, etc.
Alternatively -- instead of building a custom web application like you've described -- I'd suggest that you look into the possibility of creating Smartsheet Reports that can provide the data you've described. You can create Smartsheet Reports via the Smartsheet UI -- so you wouldn't need to do any programming at all.

Reset default filters for tableau view via rest api

I am using tableau rest api for view data to fetch data for views. There are some default filter values applied to the view filters and I am getting data filtered according to that. I want the complete data. How can I clear the filters via tableau rest api. I cannot use their javascript api.
There is no endpoint in the rest api that enables this functionality out-of-the-box. You may be able to download the workbook and script something that interrogates the raw xml (a twb/twbx file is simply xml) and updates the default filter(s). You can then re-package the workbook and push back to server, then fetch the data.
If you are restricted due to row-level security rules on the data source...the above will not work.

DocuSign and Manage Service Desk Plus Integration

I need some guidance for integrating DocuSign and Service Desk Plus. This will be my first time working with APIs.
I would like to have Manage Engine Service Desk Plus (SDP) send information over to DocuSign. This information will then be used to create a PDF that will be sent by DocuSign to a user.
So far I have been using Postman's POST function to pull the information I need from SDP. I have also used the same function to create envelopes and send envelopes with DocuSign.
I am unable to understand how to get the information I retrieved using Postman from SDP to DocuSign.
Please let me know if there is any other information that I can provide.
Good work on getting the data you want out of Service Desk by using Postman.
That is an important first step.
Next, choose a software language (I suggest a scripting style language such as PHP, Python, Node or Ruby) and write a software program that pulls the same data from Service Desk programmatically.
Then convert the information to PDF (there are many libraries for doing so).
Or just create an HTML file with the data since DocuSign can convert the HTML file to PDF for you. As an example of this, check out line 203 of this example Node.js file.
Then call the DocuSign Envelopes::create API method to send your envelope.
Please open new questions on StackOverflow if you run into problems.

Magento 2 - receive XML in post data (API)

In my store, I need to build Soap API, which accepts XML data from 3rd party solution, parses it and creates new customer based on provided data.
My questions is how can I get XML from post body data?
Thanks!
Just don't. Create separate service that is going to do that using Magento framework (check Customer or Catalog module for guidance). Because your request at the moment looks like you're going wrong way.
Just capture the XML in Controller's execute function.

Regarding REST API

I'm new to REST APIs and trying to understand the basics of them. So lets begin by saying that I have created a simple CMS web application using PHP (You create an user, you post an entry and assign some categories maybe, etc...).
That being said, if I wanted to create a mobile app that would do the same, I'll have to create some PHP functions in order to send data as JSON or XML and also in order to process a POST or PUT request.
is a REST API the collection of those functions I'd use to handle the mobile app POST, PUT and GET request using JSON or XML as the data format? if not, can I get an example, not a definition, please.
To answer your question,yes, the REST API is a collection of those functions for any client you wish to expose it to for creating an user, posting an entry etc. The accepted data format is something you decide for your API. It may be JSON, XML or even both.
Some examples:
http://coenraets.org/blog/2011/12/restful-services-with-jquery-php-and-the-slim-framework/
http://peter.neish.net/building-a-mobile-app-backend-using-mongodb-and-slim-a-php-rest-framework/