If something was updated in fixtures, Type 1 will provide us with the updates only. If nothing changed (no updates occurred) it will return an empty result. We have to keep calling the above type 1 call until an update occurs. Every time we make a type 1 call and there are results returned, we will get a new hid which we have to use for our next call to get the updates.
Note
History id is an incremental unique id generated by the system and is NOT a sequential number.
When we request a type 1 call:
/exporter/?state=clientUpdate&usr=USER&pwd=PASSWORD&type=1&s=1&h=4111251
XML
We get the following result:
<GeneralInformation>
is the date, time and timestamp of the response<Sport>
is the sport details that includes the latest history id (hid)<Information>
has the country and league information<bitArray>
denotes that 2 fields were updated since last call