Description: Retrieves the status of the package that is currently being processed. As soon as the package is marked as Finished it is ready to be downloaded using the download package method.

URL: https://api.altalis.com/altalis/acquisition_api/v1/packageStatus/{packageId}

Request Method: GET

Response Content Type:  application/json

Response data:

{
     status (string) = ['Pending', 'InProgress', 'ReadyToPkg', 'Finished' or 'Failed'] : Status of the package, Finished packages can be downloaded, 
}

Statuses:

Pending - The system has received your request and is queue to begin processing at the next available moment

InProgress - The system is actively processing your request. Depending on the size of your subscription area this can take a while.

ReadyToPkg - The system is now ZIPping up your package and getting it ready for delivery.

Finished - The package is ready to be downloaded. The package will remain available for download for up to 7 days.

Failed - An unexpected error has occurred during the packaging process. Altalis will be automatically notified by the system if this occurs.


C# Sample:

var client = new RestClient("https://api.altalis.com/altalis/acquisition_api/v1/packageStatus/##");
var request = new RestRequest(Method.GET);
request.AddHeader("accept", "application/json");
request.AddHeader("authorization", "Bearer <API_TOKEN>");
IRestResponse response = client.Execute(request);