Retrieve Rate Plan List

Get rate plan list

GET
/v2/triggers/rateplanlist/{ecpdId}

Retrieves the rate plans and rate plan details for a profile ID.

Authorization

AuthorizationBearer <token>

This is the ThingSpace token, from Credentials and Tokens is used

In: header

Path Parameters

ecpdId*string

The Enterprise Customer Profile Database ID. This is the same as the accountName value

Response Body

application/json

application/json

curl -X GET "https://example.com/v2/triggers/rateplanlist/0000123456-00001"
{  "ratePlanGroup": [    {      "ratePlanGroupDescription": "AGS Description_73",      "ratePlanType": "AccountShareGroup",      "ratePlan": [        {          "description": "PlanDescription 2",          "sizeKb": "1048576",          "carrierRatePlanCode": "Service plan code value",          "zeroDollarBilling": false,          "promotionOffered": false,          "promotionDays": -2147483648,          "ratePlanType": "accountShare",          "account": [            {              "accountName": "0000123456-00001",              "mtasAccountNumber": "0000123456-00001"            },            {              "accountName": "0000123456-00001",              "mtasAccountNumber": "0000123456-00001"            }          ]        }      ]    },    {      "description": "PlanDescription 2",      "sizeKb": "1048576",      "carrierRatePlanCode": "Service plan code value",      "zeroDollarBilling": false,      "promotionOffered": false,      "promotionDays": -2147483648,      "ratePlanType": "accountShare",      "account": [        {          "accountName": "0000123456-00001",          "mtasAccountNumber": "0000123456-00001"        },        {          "accountName": "0000123456-00001",          "mtasAccountNumber": "0000123456-00001"        }      ]    }  ]}