Problems with Endevor Rest API after upgrading to 18.0.12
search cancel

Problems with Endevor Rest API after upgrading to 18.0.12

book

Article ID: 135254

calendar_today

Updated On:

Products

Endevor Endevor Natural Integration Endevor - ECLIPSE Plugin Endevor - Enterprise Workbench

Issue/Introduction

  

The issue is, I use cURL Endevor REST API calls for endevor functions, but one of its function (PUT) seem to fail now which was working fine before the upgrade.



Environment

Release :18.0.8

Component : CA Endevor Software Change Manager

Resolution

Client is using cURL to create package with fromDSN and fromMember parameters in a way like this:

curl -X PUT 'http://host:port/xxx/packages/PackageName?fromDSN=xxx&fromMember=YYY' 


This doesn't work currently because of recent enhancement in the code. The correct way to do the same thing in cURL is something like this:

curl -F fromDSN=xxx -F fromMember=YYY -X PUT 'http://host:port/xxx/packages/PackageName'


reference the current RESTful API syntax. https://docops.ca.com/ca-endevor-SCM/18-0/en/using/using-the-rest-api/package-actions-for-restful-api#PackageActionsforRESTfulAPI-CreatePackage