API - Get cost quotation

In some scenarios the end user might want to preview word counts and cost prior to actually submitting content for translation. The basic idea is simple. Instead of sending the files to Beebox for translation, you would send them instead to an intermediary location, the “sandbox”.

The steps are:

  1. Clear the sandbox (method)
  2. Send content to sandbox (method)
  3. Get word count and cost (method)
  4. Display counts & cost to user
  5. If the user confirms now or later, you would send the content again to the Beebox using the regular API method.
  6. (If the user declines, you do not need to do anything else)

 

If your system needs the count & cost but does not ask a user for confirmation, you would proceed like this:

  1. Clear the sandbox (method)
  2. Send content to sandbox (method)
  3. Get word count and cost and save (method)
  4. Commit sandbox content (method): Beebox copies all files from sandbox to regular input in a single call.

Concurrent access to a project's sandbox

Please note that there is a single sandbox per Beebox project.

You may run into conflicts if multiple systems manipulate the same project's sandbox at the same time.

 

For API calls please see:

 

 

Copyright Wordbee - Buzzin' Outside the Box since 2008