How to list Package Shipment Status via Endevor Rest API

book

Article ID: 211898

calendar_today

Updated On:

Products

CA Endevor Software Change Manager (SCM)

Issue/Introduction

Documentation explains way of calling Rest API functions for Packages (ie. Approve, Reset, Deny, List).
But is there a corresponding Rest API that can be called to List Package Shipment status?

Environment

Release : 18.1
Component : CA Endevor Software Change Manager

Resolution

The /Ship WebServices endpoint in API allows to get shipment status (this is not in API doc yet).
Use REST API GET method {protocol}://{host}:{port}/EndevorService/api/v2/{datasource}/packages/{packageName}/Ship
It returns the same information which is displayed from the "Package shipment status" ISPF panel.

It's working for all API versions (/rest, /api/v1, /api/v2)