Packages

Packages_Query

Used to search for one or more Packages (e.g. 100 Minutes Monthly for $19.99) from Settings > Packages.

Required Input

None

Optional/Conditional Input

  • PackageIDAs Integer – when specified, will only return an item matching this.
  • StateAs String – when specified, will only return items valid in this state
  • CarrierIDAs Integer – when specified, will only return items for this provider. Cannot be used with CarrierCode.
  • CarrierCodeAs String – when specified, will only return items for this provider. Cannot be used with CarrierID.
  • CustomerClassAs String – when specified, will only return items that are Business or Residential. By default it returns all.
  • ZipAs String – when specified, must be 5 digits. Must be valid zip code.
  • BillProfileIDAs Integer – when specified, will only return items assigned to this Bill Profile.
  • AvailabilityLocationAs String – when specified, will only return items available based on this setting. Valid values:
    • Available_On_Agent_Portal_Flag
    • Available_On_Signup_Flag
  • PackageCategoryIDAs Integer – when specified, will only return item with the specified Package Category.
  • PackageCategoryAs String – when specified, will only return item with the specified Package Category by String (can be used instead of PackageCategoryID).
  • Inventory – when specified, will only return items applicable for the specified inventory item.
    • IdentifierAs String – The inventory identifier (ESN, MEID, ICCID, etc.). Required when Inventory object is not null.
    • TypeAs String – The type of inventory. Required when Inventory object is not null. Valid values are:
      • Mobile_Device – A wireless mobile device (handset).
      • SIM_Card – A SIM card or RUIM.
      • IP_Address – An IP address.
      • Telephone_Number – A telephone number.
      • General – Other inventory not of a specific type.
  • ServiceTypeIDAs Integer – when specified, will return items assigned to this Service Type or that do not have Service Type association.

Output

  • A list of matching:
    • IDAs Integer – Package_ID field from Rev.io's Package (Settings > Packages)
    • NameAs String – Description field from Rev.io's Package (Settings > Packages)
    • DescriptionAs String – Description On Bill field from Rev.io's Package (Settings > Packages)
    • DetailsAs String – Long Description field from Rev.io's Package (Settings > Packages)
    • RateMonthlyAs String – Pre-tax recurring charge for this Package.
    • RateOneTimeAs Decimal – Pre-tax non-recurring charge for this Package.
    • IsLifelineOnlyAs Boolean – True if this Package is only available for Lifeline customers.
    • IsTribalOnlyAs Boolean – True if this Package is only available for Tribal Lifeline customers.
    • PackageCategoryIDAs Integer – Returns a PackageCategoryID of a package
    • PackageCategoryAs String – Returns the string value of the PackageCategory