Return Value |
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
| [
{
"ContentID":2,
"Content":
{
"DisplayName": "",
"EnumeratorID": 0,
"ContentType": "",
"HasViewer": true,
"DisableDownload": true,
"HasNote": true
},
"Summary":
{
"SummaryID": "",
"Text": ""
},
"Attributes":
{
"FolderCanBeShown": "1",
"PDisplayName": "",
"PId": "1"
},
NumberOfOccurences: 1
}
] |
|
---|
Examples |
Code Block |
---|
//Request : [GEODIURL]/QueryHandler?op=Query&wsName=PROJE&q=ankara,&StartIndex=0&EndIndex=1
[
{
"ContentID":2,
"Content":
{
"DisplayName": "1234.doc",
"EnumeratorID": -1324,
"ContentType": ".doc",
"HasViewer": true,
"DisableDownload": false,
"HasNote": false
},
"Attributes":
{
"FolderCanBeShown":"1",
"PDisplayName":"Folder",
"PId":"1",
"PContentType":"foldercontent:.folder"
}
}
] |
Code Block |
---|
//Request : [GEODIURL]/QueryHandler?op=Query&wsName=PROJE&q=ankara,&StartIndex=0&EndIndex=3
[
{
"ContentID":2,
"Content":
{
"DisplayName": "1234.doc",
"EnumeratorID": -1324,
"ContentType": ".doc",
"HasViewer": true,
"DisableDownload": false,
"HasNote": false
},
"Attributes":
{
"FolderCanBeShown":"1",
"PDisplayName":"Folder",
"PId":"1",
"PContentType":".folder"
}
},
{
"ContentID":3,
"Content":
{
"DisplayName": "5678.xls",
"EnumeratorID": -1324,
"ContentType": ".xls",
"HasViewer": true,
"DisableDownload": false,
"HasNote": false
},
"Attributes":
{
"FolderCanBeShown":"1",
"PDisplayName":"Folder",
"PId":"1",
"PContentType":".folder"
}
},
{
"ContentID":4,
"Content":
{
"DisplayName": "90.pdf",
"EnumeratorID": -1324,
"ContentType": ".pdf",
"HasViewer": true,
"DisableDownload": false,
"HasNote": false
},
"Attributes":
{
"FolderCanBeShown":"1",
"PDisplayName":"Folder",
"PId":"1",
"PContentType":".folder"
}
}
] |
Code Block |
---|
//Request : [GEODIURL]/QueryHandler?op=Query&wsName=PROJE&q=ankara,&StartIndex=0&EndIndex=1&options={"SummaryFill":true}
[
{
"ContentID":2,
"Content":
{
"DisplayName": "1234.doc",
"EnumeratorID": -1324,
"ContentType": ".doc",
"HasViewer": true,
"DisableDownload": false,
"HasNote": false
},
"Summary":
{
"SummaryID": "FTS_0_123_4567_8"
"Text": ... ankara ...
}
"Attributes":
{
"FolderCanBeShown":"1",
"PDisplayName":"Folder",
"PId":"1",
"PContentType":".folder"
}
},
] |
Code Block |
---|
//Request : [GEODIURL]/QueryHandler?op=Query&wsName=PROJE&q=ankara,&StartIndex=0&EndIndex=1&options={"CalculateCounts":true}
[
{
"ContentID":2,
"Content":
{
"DisplayName": "1234.doc",
"EnumeratorID": -1324,
"ContentType": ".doc",
"HasViewer": true,
"DisableDownload": false,
"HasNote": false
},
"Attributes":
{
"FolderCanBeShown":"1",
"PDisplayName":"Folder",
"PId":"1",
"PContentType":".folder"
},
NumberOfOccurentces: 3
},
] |
|
---|