Inferences
Bill of Lading Inference
You can have the inference via the API or the vision-SDK while the vision-SDK will do the network request for you, the responses from this document will remain the same.
New Inference
To create a new inference for bill of lading, you'll need to pass the image as a base64 encoded data URL or public web URL. There's a soft cap of about 7.5MB per image for the base64 URL.
You're also able to specify what type of image the parser is looking at, so it can better extract data accurately along with other helpful information listed below:
image string (required)
Base64 encoded image.
barcode_values Array.<String>
Any existing values you've already extracted from the barcode.
location_id String
The ID of the location you want to attribute to this scan.
options Object
Option contains different other optional parameters you can provide along with the image. Those parameters are described below
Show Details
custom_attributes Array.<String>
This parameter allows you to provide custom attributes as an array of strings.
Each string can be a maximum of 127 characters, and the array can contain up to 25 elements.
Duplicate attributes (case-insensitive) will be removed, and the final array will retain the original casing of the first occurrence.
If omitted, the default value is an empty array.
match Object
All the options associated with matching logic.
These parameters are required only if matching is used.
Show Details
For example,
List Bill of Lading Inferences
Retrieve a paginated list of Bill of Lading inferences for your organization. Results are returned in descending order by default, meaning the most recently created inference appears first.
Query Parameters
Pagination
The response includes a pagination object. If has_more is true, there are additional inferences not yet returned. Use the page and limit query parameters to paginate through results. The total_count property returns the total number of inferences matching your query.
Filtering by Location
Filtering by Status
Retrieve Bill of Lading Inference
Retrieve a single Bill of Lading inference by its ID.
Update Bill of Lading Inference
Update an existing Bill of Lading inference. You can modify the inferred data, set the status, or update metadata. At least one property must be provided in the request body.
Body Parameters
Inference Object Properties
Inferences in a processing state (inferring, matching, transforming) cannot be updated. Inferences in a finished state (completed, canceled) can only have their metadata updated.
Delete Bill of Lading Inference
Permanently delete a Bill of Lading inference and its associated image. This action cannot be undone.