SearchFileLTU
Draft documentation version
Documentation is partial and not validated !
Search
FileLTUBase
Route
Parameters
Parameter |
Required |
Sample |
Description |
WAC |
|
WAC123456789012
|
Code of BusinessAccount
|
Skip |
|
0
|
Number of elements to skip
|
Take |
|
10
|
Number of elements to take
|
Global |
|
false
|
Search in Global store or in WAC store
|
Kinds |
|
WK2
|
Filter by file kind as FileLTUKindEnum
|
LTUID |
|
23
|
Return Files received or sent on LTU
|
Name |
|
BCKP
|
Property Name of returned entities contains this parameter when set
|
Orders |
|
|
Result is ordered by array of FileLTURequestOrder. An error is returned entities count is greater than MAX. You can avoid this error by setting Take parameter (this should be set on each request) and/or adding more filtering parameters
|
Remarks
- To override Content-type in your clients HTTP Accept Header, append the
.json
suffix or ?format=json
- To embed the response in a jsonp callback, append
?callback=myCallback
Post Data sample
Skip=0&Take=10&Global=false&Kinds=WK2<UID=23&Name=BCKP&Orders=&
cURL command sample
curl -k -H "Authorization: Bearer [YOUR_ACCESS_TOKEN]" -H "Content-Type:application/json" https://api.wit-datacenter.com/WAC123456789012/FileLTU?Name=BCKP&Global=false<UID=23&Kinds=WK2&Take=10&Skip=0&Orders=
Returned Entity
FileLTUContainer
JSON Sample
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"wType":"FileLTUContainer","count":0,"fileLTUs":[{"wType":"FileLTU","description":"String","isGlobal":false,"ltuid":0,"kind":"Undef","creationDate":"0001-01-01T00:00:00.0000000Z","lastUseDate":"0001-01-01T00:00:00.0000000Z","countUse":0,"size":0,"lastSentDate":"0001-01-01T00:00:00.0000000Z","sentCount":0,"id":0,"picture":"00000000000000000000000000000000","name":"String"}]}