SAP Knowledge Base Article - Public

2843653 - How to download files from Document Center using REST API calls - Onboarding 1.0


How to download files from Document Center using the Document Center REST API calls?

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.  


SAP Successfactors Onboarding 1.0


    1. The first API method to be used is the authenticate method. In below sample, the API will be used in the SAP demo environment. The URL to be used needs to be replaced by the URL of your Onboarding instance, sample:"WEBSERVICE_LOGIN"&Password="WEBSERVICE_PASSWORD"


    1. The next step will be copy the authentication token, present in the Cookies section;
    2. Open a new tab in your API development tool and in the headers section and create a POST method;
    3. In the Headers section include the value Cookie copied from your previous tab;
    4. In content type, select the type application/json;


  1. The next step will be define the filters for your search, for this particular search we are using the document name and searching for the US W4 form. For more information about these filters names, please refer to: Onboarding and Offboarding API
  2. There's a copy of this filter attached in this article, please refer to the file: filter.txt;
  3. The final step will be send your call and download the file.


See Also

Onboarding and Offboarding API


REST, API, Document Center, bulk, download, upload, ONB 1.0, OBD, Onboarding 1.0 , KBA , LOD-SF-OBD-API , Webservices & API's , How To


SAP SuccessFactors Onboarding