Document List Next Page API returns the next page of list of documents within a project folder. Extract the session id from the xml of the login API Call <Sessionid> tag from the resultant xml of Login API and URI tag for Document List Next Page API from resultant XML of Document List API to execute Folder List API Service.
Extract the session id from the xml of the login API Call <Sessionid> tag from the resultant xml
Usage Rules
User must have been logged in to Asite Platform using Login API
Function
User must have executed Doc list API to get the URI for Next Page
of Doc List
Use the following cURL command to navigate to next page of the Document
List
curl --cacert "<certificate filepath>\AsiteAPI.cer" --cookie ASessionID="<session ID from the resultant XML of Login API call> <URI tag value for Next page doc list from the resultant XML of first page listing API call> >[?sharelinkoptional_param1=value1& sharelinkoptional_param2=value2]
Pick up the URI Tag value for the next page listing
Input Parameters
Parameter Name |
Description |
--cacert |
Asite certificate file path |
ASessionID |
session ID from the resultant XML of Login API call> |
<URI> |
URI tag value for Next page doc list from the resultant XML of first page listing API call |
generateShareLink |
Optional parameter to specify whether to generate document link or not value can be : true : public link false : direct/private link(require login) |
showLatestRevision |
Optional parameter to specify whether to access latest revision or not for link value can be : true : access latest revision of document false : access revision on which link was created ACCESS can be view/download based on openAndView option |
notifiyOnDownload |
Optional parameter to specify whether to send mail to link creator, when document download using shared link(only receive mail for public link) |
openAndView |
Optional parameter to specify whether to open document for view or download document when access document using link |
expiryAfterDuration |
Shared link param which specify unit after that link will expire after specified unit Unit can be h : hours or d : days [1-24] h : after specific hours link will expiry [1-n]d : after specific day link will expiry Example : 9d , 10h |
expiryAfterViewCnt |
Shared link param which specify ACCESS count after that link will expiry Value can be any number greater than 0 |
Note : expiryAfterDuration and expiryAfterViewCnt only applied if generateShareLink:true and folder level setting Enable Public Links sets to true
In case of generateShareLink:true and (expiryAfterDuration or expiryAfterViewCnt) is not specify then it will generate link which never expiry respect to folder level Enable Public Links option.
Click here for detailed
help on Asite API Services.
Useful Links:
Incomplete Form actions API Service