This call makes a request to query the status of the currently-loaded mtx_pricing.xml configuration file. The information returned includes the time the pricing was
activated in the database (either by a load or revert operation), the date the pricing configuration file was compiled, the log in ID of the user who compiled it, the name of the pricing domain,
and the directory path of the pricing repository. You can optionally specify a TenantId
to return information for a specific tenant.
REST Example
URL
|
GET http://host:port/rsgateway/data/v3/pricing/status
|
Request Parameters |
TrafficRouteData — Optional routing data used by the TRA to route this subman call to the correct engine.
tenantId — Only data for the tenant specified by the tenantId is returned.
|
Response
|
No pricing loaded: <MtxResponsePricingStatus>
<IsActivePricing>false</IsActivePricing>
<Result>0</Result>
<ResultText>OK</ResultText>
</MtxResponsePricingStatus> Pricing loaded: <MtxResponsePricingStatus>
<IsActivePricing>true</IsActivePricing>
<Domain>Sample</Domain>
<ModifiedTime>2015-05-29T18:22:37.963000Z</ModifiedTime>
<CreateLoginId>guest</CreateLoginId>
<Repository>file:///var/mtx_catalog_builder/repo/trunk/xyz_corp</Repository>
<RouteId>1</RouteId>
<Result>0</Result>
<ResultText>OK</ResultText>
</MtxResponsePricingStatus>
|