Update Tracking Status
This endpoint allows you to set the tracking status of a document to "resolved". Useful when using the "resolved" option in the Get Tracking API call.
POST Parameters
| Parameter | Required | Value | Description |
|---|---|---|---|
api_key | {key} | An API key that has access to the resource you want to query for | |
input_id | {integer} | The input ID of the document you want to update the status for |
Tracking Status Update: This endpoint sets the tracking status of a document to "resolved", which can be used with the "resolved" filter in the Get Tracking API call.
Response Information
| Element | Description |
|---|---|
<status> | A status code in response to the operation. |
<message> | Additional information about the operation – human readable. |
<input_id> | The input id used in the call. |
Sample Request
POST https://api-app.xtracta.com/v1/tracking/resolve HTTP/1.1 api_key=123&input_id=456789
Sample Response
<?xml version="1.0" encoding="UTF-8"?>
<tracking_response>
<status>200</status>
<message>The request has been successfully processed</message>
<input_id>1425900862</input_id>
</tracking_response>
Schema Definition
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:simpleType name="ConfidenceType">
<xs:union>
<xs:simpleType>
<xs:restriction base="xs:integer">
<xs:minInclusive value="0"/>
<xs:maxInclusive value="100"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value=""/>
</xs:restriction>
</xs:simpleType>
</xs:union>
</xs:simpleType>
<xs:complexType name="TrackingresponseType">
<xs:sequence>
<xs:element name="status" type="xs:integer" minOccurs="0"/>
<xs:element name="message" type="xs:string" minOccurs="0"/>
<xs:element name="input_id" type="xs:integer" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:element name="tracking_response">
<xs:complexType>
<xs:sequence>
<xs:element name="status" type="xs:integer" minOccurs="0"/>
<xs:element name="message" type="xs:string" minOccurs="0"/>
<xs:element name="input_id" type="xs:integer" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>