FreeUnitsPackages

Access to free units packages


Parameters

Name In Type Required Description
org_id path string true Organization name
id path string true Subscription Id

Request example

1
2
3
4

curl -X GET https://subscriptions.masstack.com/v1/orgs/masmovil/subscriptions/3821002/free_units_packages \
  -H "Accept: application/json"

Responses

Code Meaning Description Schema
200 OK OK. Empty list if the correspondent subscription does not have free units packages [GetFreeUnitsPackage]
404 Not Found A subscription with the specified criteria was not found ErrorMessage
500 Internal Server Error Unexpected error ErrorMessage

200 - instance of GetFreeUnitsPackage

Custom schema example

1
2
3
4
5
6
7
8
9
[
  {
    "id": 1233094,
    "free_units_package_id": 76,
    "activation_date": "2017-09-15T22:00:00Z",
    "deactivation_date": "2017-09-15T22:00:00Z",
    "user_name": "test@test.com"
  }
]
Name Type Required Description
anonymous FreeUnitsPackage false none
Name Type Required Description
anonymous object false none

Endpoints

AccountBundles

    Apple Watch

      Credit Limits

        Devices

          Fraud Requests

            FreeUnitsPackages

              Promotions

                Segments

                  Subscription Commercial Products

                    Subscriptions

                      Contracts