Skip to main content

Dealing with Errors

This page is still under construction

<ReportError>​

If a piece has a questionable scan, it’s possible to report an error to us. This will upload the previous scan’s data to our cloud (including your calibration) where we can investigate what may have happened. Such cases can also be added to our regressions to better ensure accuracy in future versions. When using this reporting tool, we ask you to measure the cargo by an alternative method and then provide us with the measured: Length, Width, and Height (using the unit of measurement that your Cargo Spectre is set to).

Request​

Request report an error at a machine that has recently with local IP address 10.1.1.2 set to port 7100.

Endpoint​

GET http://10.1.1.2:7100/ReportError?Length=value&Width=value&Height=value

Desired response format:

Accept: application/xml (DEFAULT)

Response​

<Responses>
<ReportError code="0"/>
</Responses>

<GetErrorStatus>​

This returns the last status code set by the Cargo Spectre server, whether error or success.

Request​

Receive last status code of machine with local IP address 10.1.1.2 set to port 7100.

Endpoint​

GET http://10.1.1.2:7100/GetErrorStatus

Header​

Desired response format:

Accept: application/xml (DEFAULT)

Response​

<Responses>
<GetErrorStatus code="0"/>
</Responses>