Query Parameter Extensions
You can extend the BRM REST Services Manager API to use additional query parameters.
This document shows the additional query parameters that are supported for each TMF Open API:
- TMF 666: Account Management API
- TMF 678: Customer Bill Management API
- TMF 676: Payment Management API
- TMF 654: Prepay Balance Management API
Note:
You can also use the extended response payload attributes in the fields query parameter. See "Response Payload Extensions" for more information about these attributes.
TMF 666: Account Management API
You can extend query parameters in the following Account Management API endpoints.
Get Billing Cycle Specifications endpoint
-
Extended query parameters:
-
Get billing cycle specifications for an account (billingAccount.id)
-
Get billing cycle specifications for an account number (accountNo)
-
-
Example URL syntax:
Get billing cycle specifications with the billingAccount.id query parameter.
https://hostname:port/brm/accountManagement/version/billingCycleSpecification?@type=BillingCycleSpecificationOracle&billingAccount.id=0.0.0.1+-account+57943
TMF 678: Customer Bill Management API
You can extend query parameters in the following Customer Bill Management API endpoints.
Get Customer Bills endpoint
-
Extended query parameters:
Get customer bills for a billing cycle specification (billingCycleSpecification.id)
-
Example URL syntax:
To get bills with the billingCycleSpecification.id query parameter.
http://hostname:port/brm/customerBillManagement/version/customerBill?billingAccount.id=0.0.0.1+-account+354831&billingCycleSpecification.id=0.0.0.1+-billinfo+352527&@type=CustomerBillOracle
Get Applied Customer Billing Rates endpoint
-
Extended query parameters:
Get applied customer billing rates for a service ID (serviceId)
-
Example URL syntax:
Get applied customer billing rate with the serviceId query parameter.
http://hostname:port/brm/customerBillManagement/version/appliedCustomerBillingRate?serviceId=0.0.0.1+-service-telco-gsm+375335&@type=AppliedCustomerBillingRateOracle
TMF 676: Payment Management API
You can extend query parameters in the following Payment Management API endpoints.
Get Payments endpoint
-
Extended query parameters:
- Get payments for a bill ID (bill.id)
- Get payments for a billing cycle specification (billingCycleSpecification.id)
-
Example URL syntax:
Get payments with the bill.id and billingCycleSpecification.id query parameters.
http://hostname:port/brm/payment/version/payment?bill.id=0.0.0.1+-bill+85169&billingCycleSpecification.id=0.0.0.1+-billinfo+76203&@type=PaymentOracle
Get Refunds endpoint
-
Extended query parameters:
- Get refunds for a specified bill ID or bill number (bill.id)
- Get refunds for a billing cycle specification (billingCycleSpecification.id)
-
Example URL syntax:
Get refunds with the bill.id and billingCycleSpecification.id query parameters.
http://hostname:port/brm/payment/version/refund?bill.id=0.0.0.1+-bill+85169&billingCycleSpecification.id=0.0.0.1+-billinfo+76203&@type=RefundOracle
TMF 654: Prepay Balance Management API
You can extend query parameters in the following Prepay Balance Management API endpoints.
Get Accumulated Balances endpoint
-
Extended query parameters:
- Get accumulated balances for a billing cycle specification ID (billingCycleSpecification.id).
- Get accumulated balances for a bill structure ID (billStructure.id).
-
Example URL syntax:
Get accumulated balances with the billingCycleSpecification.id query parameter.
http://hostname:port/brm/prepayBalanceManagement/version/accumulatedBalance?@type=AccumulatedBalanceOracle&billingCycleSpecification.id=0.0.0.1+-billinfo+69271
Get accumulated balances with the billStructure.id query parameter.
http://hostname:port/brm/prepayBalanceManagement/version/accumulatedBalance?@type=AccumulatedBalanceOracle&billStructure.id=test_bill_structure_174268
When you filter by billStructure.id, the response includes the billStructure object and sets billingCycleSpecification to null.
Get Bucket Balances endpoint
-
Extended query parameters:
- Get non-currency balances for a bucket (nonCurrencyFlag)
- Get bucket balances for a billing cycle specification ID (billingCycleSpecification.id)
-
Example URL syntax:
Get bucket balances with the nonCurrencyFlag and billingCycleSpecificationRef.id query parameters.
https://hostname:port/brm/prepayBalanceManagement/version/bucket?@type=BucketOracle&nonCurrencyFlag=true&billingCycleSpecification.id=0.0.0.1+-billinfo+370767