ServicePrice
Version: 1.33
Parameters
Extends: TractObject
Element | Type | Required? | Description |
CHOICE:
|
oneTimeProductPrice |
Y |
The price of the product for this service. |
promotion |
promotion |
A promotion that applies to the price. |
|
servicePriceRanges |
servicePriceRanges |
The ranges for tiered pricing based on service quantity. |
|
scheduledCharges |
scheduledCharges |
A list of scheduled charges for this service price. |
Attribute | Required? | Datatype | Description |
amount |
decimal |
The total service price. |
|
startDate |
dateTime |
The effective date for this price. |
|
endDate |
dateTime |
The date this price ends. |
|
billInAdvance |
boolean |
Is this price set to bill in advance? |
|
recurrencePeriod |
RecurrencePeriod |
BILLCYCLE DAY FOURYEARS FIVEYEARS MONTH QUARTER THREEYEARS TWICEAMONTH TWICEAYEAR TWOWEEKS TWOYEARS WEEK YEAR FOURMONTHS |
|
estimatedInvoiceAmount |
decimal |
An estimated total invoice amount. |
|
invoiceQuantity |
decimal |
How many invoices will this price generate? |
|
prorateOnCancel |
boolean |
Querying ServicePrice
For paged results, use the plural of the entity name (for example, billingAccounts, productCategories). For more information, refer to Understanding Queries.
Key | Type |
eid |
Long |
serviceEid |
Long |
startDate |
Timestamp |
endDate |
Timestamp |
recurrencePeriod |
RecurrencePeriod |
productPriceEid |
Long |
REST Endpoints
getServicePrices |
GET |
https://my.tractbilling.com/t/s/r/1.33/servicePrices |
getServicePrice |
GET |
https://my.tractbilling.com/t/s/r/1.33/servicePrices/{eid: \d+} |