SAP Knowledge Base Article - Public

3568026 - KBA HUB - API

Symptom

This Knowledge Base Article is a list of all KBAs which are related to APIs and API Documentation.

Resolution

KBASymptomLink
CPQ SCIM API is not returning the completed dataUnable to transfer more than 100 entries with SCIM API call.3547274
Error message while updating custom table with more than 10 rows via API callYou are getting the error message: Sorry for the inconvenience, but there seems to be an error in the system. An automatic notification has been sent our way and we'll be fixing the error as soon as possible. In the meantime, you can continue working in SAP CPQ Custom Table Microservice.3521193
SAP CPQ call to regenerate JWT Token Signing KeysFrom the 2405 SAP CPQ release onwards, the generation of JWT Token Signing Keys within the Trusted Applications administration is now 128 characters long, and the Secret field on the Credential Management page (for records of type Secret) now requires at least 32 characters.
This is being done to ensure that the length of the JWT secret satisfies the minimum security requirements, which will be necessary for a security patch that is planned to be deployed in the near future.
The security patch will update the library that generates JWT tokens and will require secrets to be at least 32 characters long.
3480995
How to access swagger/API documentation from the tenant URLHow to access swagger/API documentation from the tenant URL?3529129
Custom Table APIs are not working correctlyGetting 500 Internal Server error when trying to use patch method with https://CPQ TENANT URL/api/custom-table/v1/customTables/CUSTOM TABLE NAME/entries3375364
Unable to delete backend synched products in CPQEven when trying to delete these products in bulk using REST API call (setup/api/v1/admin/products/{id}), since these are backend synched products, we get error.
Error: Products that are synched from back office cannot be deleted.
3480351
How to export CPQ LogsHow export the CPQ logs (Setup > Developer Tools > Log) to a file?3506114
Unable to replicate Business Partner from SAP Business Suite. Error message: ApiDisabledWhen replicating Business Partners from S4 to CPQ using SOAP API, you're getting API disabled response in CPQ.
Your tenant is on Quote 2.0 engine, and Business Partners feature is already enabled in your tenant.
3483483
How to remove a User from a Usertype group by using SCIM APIWhen using PATCH <URL>/api/scim/v2/Groups/{UserTypeID} -USERTYPE to remove a member from the UserType group, CPQ is returning Status 200 OK but no changes are occurring on the usertype members list. 3459576
Update Custom Field value through APIUsing Quote Items API with body to update custom field does not work.3441596
Rejected by policy error is thrown when performing SOAP API callWhen attempting to perform a SOAP API Call to CPQ, Rejected by policy error is thrown. 3373532
Wrong pricing type for product when using ADDORUPDATE action during SOAP API callProducts are replicated to CPQ with pricing type "Pricebook" instead of "Variant Pricing".3342169
Creation of visibility rule through API do not pass value in Quote Status fieldWhen attempting to create a visibility rule through POST /api/v1/quote/visibility, Quote Status field is not being populated in CPQ, even though call is completed successfully. 3401664
Using Upload Document API in Quote 1.0Customer wants to upload a document through Stateful API UploadDocument in Quote 1.0 environment.3417551
Bulk Import Countries and States into CPQAs per implementation requirements, it is needed to bulk import Countries and States into CPQ.3408735
SAP CPQ Workflow GET and POST APIs are inconsistent with the environmentWhen calling SAP CPQs "POST /api/workflow/v1/workflow/bulk" endpoint, if any existing workflow status transitions exist on the environment that are in conflict with the bulk change, the API returns 400 even if the changes within the bulk update would have removed that conflict as part of the update.3436094
Product cannot be replicated via SimpleProductAdministration APIWhen attempting to replicate a product using Simple Product Administration SOAP API, "Duplicated attribute names are not allowed" error is thrown.3311275
Content attribute is missing for an autocomplete custom field in the /quotes/{quoteId} RESTful API call responseYou cannot see the "Content" attribute for autocomplete custom field in the response when using /quotes/{quoteId} REST API endpoint to fetch details of the quote.
The expectation is that, even if the auto-complete custom field has no value in it, it should show the "Content" attribute in the response with a blank or null value.
3432202
Export the quote data Export quote data from a period of time.3331008
CPQ API endpoint works very slowCPQ API endpoints is very slow.3317993
Limitation in translations for SimpleProductAdministration and ImportMaterialsFromERP API Error message in SoapUI response when trying to ADDORUPDATE languages that contain special characters as separator or in the name via SimpleProductAdministration and ImportMaterialsFromERP API: 
"Server was unable to process request. ---> '/' is an unexpected token. The expected token is '>'."
3311173
How to use Custom Tables API Endpoint for Retrieving 500 Table Entries or more than 500 table entriesThe Custom Tables API Endpoint for Retrieving Table Entries is not working for more than 500 records, and it encounters an error message of "400 BAD REQUEST."3309505
Getting Gzip Compression in Rest WebserviceCapability of receiving Gzip compressed payload through REST API.3303263
How to use API to invoke  “Submit for Approval” actionsHow to Submit for Approval using REST API POST quotes/{id}/actions/{id}/invoke/ 3298893
SSL handshake error or exceptionYou may receive SSLHandshakeException when passing some API calls or when you try to pass value from CPI to CPQ (integration).3350142
No Translation for Product Name when using SOAP API ImportMaterialsFromERPTranslation of product names does not arrive in CPQ system when using  SOAP API ImportMaterialsFromERP.3289989
GET quoteCustomField API endpoint for permissionsUnable to access the API endpoint for permissions. Received a 400 error and a message that the API is no longer supported.
The API Call being used was {{url}}/api/quote/v1/quoteCustomField/{quoteCustomFieldId}/permissions
3564554
Creation of visibility rule through API do not pass value  in Quote Status fieldWhen attempting to create a visibility rule through POST /api/v1/quote/visibility, Quote Status field is not being populated in CPQ, even though call is completed successfully. 3401664
Internal Server Error on CPQ API callsError Message: "Incorrect syntax near the keyword 'for'.\r\nInvalid usage of the option NEXT in the FETCH statement.\r\nIncorrect syntax near the keyword 'for'."3447677
Internal Server Error on API due to incorrect visibility ruleRunning the API endpoint /api/v1/quotes?$filter=quotenumber eq 'QuoteNumber' returns the error: Incorrect syntax near the keyword 'for'.\r\nInvalid usage of the option NEXT in the FETCH statement.\r\nIncorrect syntax near the keyword 'for'.3434320
CpqTableEntryModifiedBy and CpqTableEntryDateModified columns are not updated when populating a Custom Table via ScriptThe CpqTableEntryModifiedBy and CpqTableEntryDateModified columns do not get updated when filling a Custom Table through a Script.3425818
Error 500 when using Custom Table APIError 500 when using Custom Table API.3375054

Keywords

API, Documentation, Hub , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Problem

Product

SAP CPQ 2025