GetHistoryForId

Updated on
 
Delivers the data for a selected history entry, e.g. if a new history entry was created by an
import process and only these data should be retrieved.

Input

<GetHistoryForId xmlns="http://services.zanox.com/erp">
    <historyid>10</historyid>
</GetHistoryForId>

 

Object Data type Description Mandatory?
<historyid> int
ID of the history entry whose data
should be retrieved
x

 

Output

<GetHistoryForIdResponse xmlns="http://services.zanox.com/erp">
    <historydata>
        <history id="1" importtype="1" programid="10" trackingtype="3" status="1">
            <uploaded>2005-01-01T01:12:01</uploaded>
            <records>
                <received imported="100" rejected="5"/>
                <processed imported="97 "rejected="2" ignored="1"/>
            </records>
            <completed loginid="50">2005-01-03T21:22:00</completed>
        </history>
    </historydata>
</GetHistoryForIdResponse>

 

Object Data type Description
<historydata>   Contains n elements <history> as children
<history>    
id int ID of the import process
importtype unsignedbyte
Indicates whether it involved an Update or an
Insert process
• 1 = Insert
• 2 = Update
programid int
ID of the program for which the export was
executed
trackingtype unsignedbyte
ID of the tracking type for which the import was
executed
status byte
Status of the history entry:
• 1 - received = Data have been received
by zanox ERP Web Services
• 2 - processed = Data have been partially
processed
• 3 - rejected = Data have been completely
rejected
• 4 - completed = Data have been completely
processed
<uploaded> datetime Time stamp of the import
<records> int Number of imported datasets
<received>    
imported int
Number of datasets that were imported during
import
rejected int
Number of datasets that were rejected during
import as a result of data errors
<processed>    
imported int
Number of datasets, which were imported during
the subsequent registration process
(or -1, in the event that the registration process
has not yet occurred)
rejected int
Number of datasets, which were rejected during
the subsequent registration process as a result of
data errors
(or -1, in the event that the registration process
has not yet occurred)
ignored int
Number of datasets, which were ignored during
the subsequent registration process as a result of
data errors
(or -1, in the event that the registration process
has not yet occurred)
<completed> datetime Date on which the process was concluded
loginid int Login ID with which the process was concluded
 

Resource Information

Rate Limited? No
Requests per rate limit window N/A
Authentication Requires Authentication
Response Formats xml
Resource family historydata
Response Object history
API Version 3.0.1.1