SAP Knowledge Base Article - Public

3161292 - Create folder with the API doesn't work

Symptom

 

We tried to create a folder with the API and it doesn't work as described in the documentation of the API.

create_dir_request = requests.post(dir_url + '/' + parent_ID,
                                       cookies=cookies,
                                       headers=headers,
                                       data={'filename': dir_name}
                                       )

Resolution

The API request doesn't work because there is an error within the example. The correct call looks like this:

create_dir_request = requests.post(dir_url + '/',
                                       cookies=cookies,
                                       headers=headers,
                                       data={'filename': dir_name}
                                       )

Keywords

KBA , BPI-SIG-CA-API , REST-API for SAP Signavio , How To

Product

SAP Signavio Process Manager all versions ; Signavio Process Manager all versions