SAP Knowledge Base Article - Public

3636299 - Error "No HTTP resource was found that matches the request URI" when calling SAP CPQ REST API endpoints

Symptom

Error message encountered when attempting to call the "GetAllPricebooksPerMarket" REST API endpoint.

Error: "No HTTP resource was found that matches the request URI 'http://xxxxxx.cpq.cloud.sap/api/v1/admin/Pricebooks/GetAllPricebooksPerMarket'.".

    Environment

    SAP Sales Cloud CPQ

    Reproducing the Issue

    Attempt to call the API endpoint Pricebooks/GetAllPricebooksPerMarket via an external application such as Postman.

    Cause

    The error occurs if the necessary input parameters are not passed in the call.

    Resolution

    Please make sure to pass the required input parameters as shown in the Swagger documentation for the respective API endpoint.

    For the GetAllPricebooksPerMarket endpoint, the parameter that needs to be passed in the Params section of the API call is 'marketId'.

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

    See Also

    Keywords

    sap cpq, rest api, no http resource found, getallpricebookspermarket, approvalhistory, api error, input parameters missing, endpoint error, sap cpq integration, api troubleshooting, sap cpq api call failure, sap cpq rest api endpoints, api request format, sap cpq authentication, sap cpq headers configuration, sap cpq api resolution. , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Problem

    Product

    SAP CPQ all versions