ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Unable to release reserved data using API calls

book

Article ID: 212469

calendar_today

Updated On:

Products

CA Test Data Manager (Data Finder / Grid Tools)

Issue/Introduction

 am building the FnR functionality further and facing below issues:

 

  1. When I am trying to release the reserved data by using the API as below

 

DELETE http://<server:host>/TDMDataReservationService/api/ca/v1/reservations//?reservationId={{reservationid}}

 

I am getting error:

{

    "status" : 405,

    "errorCode" : "405 METHOD_NOT_ALLOWED",

    "errorMsg" : "Request method 'DELETE' not supported",

    "errorDetail" : "",

    "timestamp" : "2021-04-09T12:18+0000"

}

 

  1. When I am using below API to check the reservation status by passing a reservation id, in the output I am getting the status (Purged) of  all the previously reserved data also. Is this the expected behavior of this API?

GET http://<server:host>/TDMDataReservationService/api/ca/v1/reservations/?reservationId={{reservationid}}

 

Can you suggest if there are any updated URl for these functionalities.

Environment

Release : 4.9.1

Component : CA Agile Requirements Designer - TMX Script Generator

Resolution

 Please use below API call to release the reservation.

Method:  DELETE
End point:   https://<Hostname>:<ip_address>/TDMDataReservationService/api/ca/v1/reservations/<reservation_id>?projectId=<Project_ID>&versionId=<Version_id>


To retrieve reservation details for given reservation ID,

Method:  GET
End point:   https://<Hostname>:<ip_address>/TDMDataReservationService/api/ca/v1/reservations/<reservation_id>?projectId=<Project_ID>&versionId=<Version_id>