Description: Retrieves a list of all subscriptions configured for your API Token. It returns an array of subscriptions that you can get updates for.

URL: https://api.altalis.com/altalis/acquisition_api/v1/subscriptions

Request Method: GET

Response Content Type:  application/json

Response data:

[{
    id:<subscriptionId>,
    products (array):
    [{
        id (string):<subscriptionProductId> : Identifier of product for the given subscription 
        name (string):<productName> : Name of the product,
        format (string):<productFormat> : Format of the product ,
        projection (string):<productProjection> : Projection of the product,
        aoi (object):<subscriptionProductAoi> : Spatial Area of Interest of the subscription for the the given product,
     }]
}]


AOI Object:

{
  type (string) = [Polygon] : Type of the spatial area 
  crs (object) : Projection information for  spatial area 
  {
    type (string, optional) : Expected to be empty,
    name (string, optional) : Expected to be empty,
    properties(object):
    {
      name (string) : Name of the crs  projection
    }
  }
  coordinates (array) : Points for the spatial area 
}



C# Sample:

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