Layer 7 API Management

Expand all | Collapse all

Update service with REST API

Jump to Best Answer
  • 1.  Update service with REST API

    Posted 03-06-2017 06:21 AM


    I need to update one existing service with REST API. I created one service whose version is "1" by default and I can update it successfully with REST API without setting service version in request at the first time. But I got "mismatch version" error when I tried to update the second time because the service version in Gateway is "2" but I didn't set version in the API request.

    Is there a way to call API to update service without setting version in request? In another word, I hope the Gateway can increase the version automatically when calling the API to update service.




  • 2.  Re: Update service with REST API

    Posted 03-09-2017 08:17 AM

    Hi YangChen,


    Put here the details of the POST performed.



  • 3.  Re: Update service with REST API
    Best Answer

    Posted 03-21-2017 10:53 PM

    Hi Matmoreno,


    I resolved by getting service version and updating it to the request xml.