on 11-24-2023 11:13 AM
We are trying this API https://api.sap.com/api/TMS_v2/path/NODE_EXPORT_BY_NAME_V2 does this support for SAP BTP ABAP Content type?
Yes, this API supports also the contentType BTP_ABAP: storageType needs to be REFERENCE and the uri string in the entries array needs to be a base64 encoded JSON string denoting the actual commit on a software component, e.g., {"commit_id":"b9670508","sc_name":"ZCTMS_DEV_TEST"}
However, it is not recommended to use this API directly. Instead, you should use the "Export to Cloud TMS" functionality in Manage Software Component app, see https://help.sap.com/docs/sap-btp-abap-environment/abap-environment/how-to-export-using-sap-cloud-tr...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you, Christoph, for reply. Now the API started working but it is giving error. Error and payload are attached for reference.
We tried with different combination of base 64 string but could not get success. Do you see any issue with the request payload ?
{
"message": "Object metadata - content reference mismatch",
"errorType": "com.sap.lm.sl.alm.ts.core.exception.service.TsValidationException"
}
{
"nodeName": "<Node_name>",
"contentType": "BTP_ABAP",
"storageType": "REFERENCE",
"entries": [
{
"uri": "<base_64_string>" //e.g.{sc_name:"<sc_name>",branch_name:"main",commit_id:"<commit_id>"}
}
],
"description": "Demo",
"namedUser": "<userid>"
}
User | Count |
---|---|
72 | |
8 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.