Skip to main content
Skip table of contents

Vidinet [VC 21.3 GEN]

Cost estimation

Retrieve cost estimates from Vidinet.

The following resources support cost estimation:

Request a cost estimate

POST /cost/(path)

Requests a cost estimate for performing a specific operation.

The same query parameters and request body as used by the target request should be specified in the cost estimate request.

No additional roles or permissions are required to request a cost estimate. If a user has permission to for example transcode an item, then that user may also request a cost estimate for that operation.

Produces:

Retrieve the cost estimate results

GET /cost/estimate/(id)

Retrieves the cost estimate.

Produces:

Examples

Item transcode cost estimation

Requesting a cost estimate for transcoding an item to __mp4 using the Vidinet TRANSCODE resource VX-5:

NONE
POST /cost/item/VX-45/transcode?tag=__mp4&resource=VX-5
HTML/XML
<CostEstimateDocument xmlns="http://xml.vidispine.com/schema/vidispine">
  <id>dGVzdA==</id>
  <url>http://localhost:8080/API/cost/estimate/dGVzdA==</url>
</CostEstimateDocument>

Retrieving the cost estimate status and amount.

NONE
GET /cost/estimate/dGVzdA==
HTML/XML
<CostEstimateDocument xmlns="http://xml.vidispine.com/schema/vidispine">
  <id>dGVzdA==</id>
  <url>http://localhost:8080/API/cost/estimate/dGVzdA==</url>
  <state>FINISHED</state>
  <service>
    <resource>VX-5</resource>
    <type>TRANSCODER</type>
    <state>ONLINE</state>
  </service>
</CostEstimateDocument>
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.