...
Check the availability of updates. tst
Method | GET |
---|
Path | /update/check |
Parameter |
| Values | Description |
| @max_client_modified_load_id | integer: e.g., 251234 | The maximum modified_load_id in the table xml.t_patent_document_values of the on-site PostgreSQL database |
| @limit | integer: e.g., 10 | Number of load structures to return. Default: 10 |
Example
Request
...
...
--header 'x-user:x' \ --header 'x-password:y' \ |
...
...
https://cdws21.ificlaims.com/update/check?max_client_modified_load_id=260221&limit=1' |
Response
Code Block |
---|
|
{
"status" : "success",
"time" : "0.112",
"load_info" : {
"start_load_id" : 260222,
"earliest" : "2017-03-22 22:13:03.325308",
"end_load_id" : 260247,
"nloads" : "19",
"latest" : "2017-03-23 05:10:34.620999",
"loads" : [
{
"session_id" : "000000260222-IFI-Cont",
"load_source" : "IFI-Cont",
"completed_stamp" : "2017-03-22 22:13:03.325308",
"load_id" : 260222,
"running_status" : "complete",
"entered_stamp" : "2017-03-22 22:12:59.04867",
"completed_status" : "success",
"client_extract_process_id" : 121592,
"url" : "httphttps://alexandria.fairviewresearch.com/dwh/20170322/000000260222-IFI-Cont.tar.gz",
"ndocs" : 1,
"server_name" : "adbbr02"
}
]
}
} |
...
Code Block |
---|
|
wget -O- -q \
--header 'x-user:x' \
--header 'x-password:y' \
'httphttps://cdws21.ificlaims.com/update/next?max_client_modified_load_id=260221' |
Response
Code Block |
---|
|
{
"status" : "success",
"time" : "0.111",
"load_info" : {
"session_id" : "000000260222-IFI-Cont",
"load_source" : "IFI-Cont",
"completed_stamp" : "2017-03-22 22:13:03.325308",
"load_id" : 260222,
"running_status" : "complete",
"entered_stamp" : "2017-03-22 22:12:59.04867",
"completed_status" : "success",
"client_extract_process_id" : 121592,
"url" : "httphttps://alexandria.fairviewresearch.com/dwh/20170322/000000260222-IFI-Cont.tar.gz",
"ndocs" : 1,
"server_name" : "adbbr02"
}
} |
...
Code Block |
---|
|
wget -O- -q \
--header 'x-user:x' \
--header 'x-password:y' \
'httphttps://cdws21.ificlaims.com/update/info?load_id=372122' |
Response
Code Block |
---|
|
{
"status" : "success",
"time" : "0.105",
"load_info" : {
"priority" : 0,
"load_source" : "DOCDB",
"completed_stamp" : "2019-07-18 10:35:28.128316",
"load_id" : 372122,
"office" : "EP",
"running_status" : "complete",
"completed_status" : "success",
"entered_stamp" : "2019-07-18 10:24:37.959904",
"ndocs" : 1
}
} |
...