SAP Cloud Platform Open Connectors

Connector Builder - How To Export and Import Extended Connector Resources

In order to be able to export a resource and import it into another environment, take these steps: 

  1. For the extended connector, call `GET /elements/{keyOrId}/resources?accountOnly=true`
  2. For each object in the response, you can call `POST /elements/{keyOrId}/resources` in your custom connector in whatever environment, using the body from the previous request.

The swagger docs for that can be found here.

After extending the resource a call to GET /elements/{keyOrId}/resources reflects your user's ID in the "ownerAccountId" field, and the resource can be subsequently updated through PUT /elements/{keyOrId}/resources/{id}

Note that resources that have not been extended will have ownerAccountId=1.