Price Control REST Bindings
The HTTP Price Controller service enables the price control REST APIs. Use these APIs to automate pricing file management and loading.
Note: You must start the HTTP Price Controller service before making calls with the REST APIs. For more information about
starting the service, see the discussion about starting the HTTP Price Controller REST service.
All input is form-data. Responses are in JSON format.
Price Control REST APIs describes the price control REST APIs.
API | Description |
---|---|
GET /data/pricecompilation?<optional parameters> | Get a list of the scheduled compilations. Optional parameters
are:
For example:
All returned lists are sorted based on ID in descending order. |
GET /data/pricecompilation/{oid} | Get a specific price compilation by its object ID. |
POST /data/pricecompilation/{type} | Request to schedule a new compilation by engine type (production or development). |
PUT /data/pricecompilation/{oid} | Update a compilation by its object ID. You can pass the
following HTTP parameters:
|
DELETE /data/pricecompilation/{oid} | Deletes a compilation. A compilation cannot be deleted if it is locked or in the in-process or in-use state. A Domain Administrator user (domainmgr role) can delete any compilation when the compilation is in a deletable state. Users with the user role can only delete their own compilations. |
GET /data/pricecompilation/{oid}/download | Download the price compilation zip file where {compilationId}
is the price compilation object ID. Returns a zip file with naming format: mtx_pricing_<domain>_<current_timestamp>_<oid>.zip. |
GET /data/pricecompilation/{oid}/deployment | Retrieve all engine deployment information records for a
specific price compilation by {oid}. Returns a list of
deployments without the rest of the pricing compilation
object. Sample
response:
|
GET /data/pricecompilation/{oid}/deployment/{DeploymentId} | Get the deployment details for a price compilation for a
specific deployment using the {DeploymentId}. Sample
response:
|
PUT /data/pricecompilation/{oid}/deployment/{DeploymentId} | Update an engine compilation deployment details. You can pass
the following HTTP parameters:
|
DELETE /data/pricecompilation/{oid}/deployment/{DeploymentId} | Delete one deployment object by resource ID for a price compilation by object ID. |
GET /data/engineconnection | Returns a list of engine connections for the current domain
only. Sample
response:
|
GET /data/engineConnection/{oid} | Returns information about the specified engine. Sample
response:
|
POST /data/engineconnection | Create a connection to the specified engine in the current
domain. You can pass the following HTTP parameters:
For example: 'Name=myConnection&NetworkAddress=http%3A%2F%2F10.10.126.87%3A4044&EngineType=development' |
PUT /data/engineconnection/{oid} | This service updates the information about an engine
connection. All parameters are optional. You can pass the
following HTTP parameters:
|
GET /data/engineconnection/{oid}/status | Check the engine status by engine object ID. |