I am attempting to provision services based on the data posted to a URL when a service is added, suspended, canceled, etc. The data posted when a service is added is adequate, but unfortunately very little information is posted when a service is suspended or canceled. The JSON below is returned when a service is added. When a service is suspended, only the package options are returned (domain_prefix, maximum_contacts, provisioning_id). It would be nice if the client_id and other information was returned when a service is suspended or canceled.
{
"domain_prefix":"mobile",
"maximum_contacts":"100000",
"provisioning_id":"123456",
"_other":{
"status":"active",
"meta":{
"domain_prefix":"mobile"
},
"notify_order":"true",
"use_module":"true",
"pricing_id":"32",
"qty":"1",
"current_qty":"1",
"client_id":"1"
}
}
So I am trying to create a list of all the pricing_id's in order to build a table to provision the services based on what the customer ordered. Does anyone have a simple way of creating a master list of pricing_id's?
Any help is appreciated.