Dönecek Sonuç |
Code Block |
---|
| [
{
"ContentID":2,
"Content":
{
"DisplayName": "",
"EnumeratorID": 0,
"ContentType": "",
"HasViewer": true,
"DisableDownload": true,
"HasNote": true
},
"Summary":
{
"SummaryID": "",
"Text": ""
},
"Attributes":
{
"FolderCanBeShown": "1",
"PDisplayName": "",
"PId": "1"
},
NumberOfOccurences: 1
}
] |
Code Block |
---|
ContentID: İçeriğin ID'si. |
Content: İçerik bilgileri. DisplayName: İçeriğin görüntülenme ismi. (Dosya ismi vs.) EnumeratorID: İçeriği sağlayan enumerator'ün adı. ContentType: İçeriğin tipi, varsa uzantısı. HasViewer: İçeriğin görüntüleyicisinin olup olmadığı. DisableDownload: İçeriğin kullanıcı tarafından indirilmesininin engellenip engellenmediği. HasNote: İçeriğin not eklenmiş olup olmadığı.
Summary: Doküman özet bilgileri. İsteğe giden options nesnesinin içinde SummaryFill alanı true gönderilmişse dolu gelir. SummaryID: Özet ID'si. Text: Özet
Attributes: İçeriğe ilişkin dönen ek bilgiler.
FolderCanBeShown: PDisplayName: Parent içerik varsa, bu içeriğin görüntülenme ismi. PId: Parent içerik varsa, bu içeriğin ID'si. PcontentType: Parent içerik vars, bu içeriğin tipi
NumberOfOccurences: Kelimenin kaç kez geçtiği.
|
---|
Örnekler |
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":"Klasör",
"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":"Klasör",
"PId":"1",
"PContentType":".folder"
}
},
{
"ContentID":3,
"Content":
{
"DisplayName": "5678.xls",
"EnumeratorID": -1324,
"ContentType": ".xls",
"HasViewer": true,
"DisableDownload": false,
"HasNote": false
},
"Attributes":
{
"FolderCanBeShown":"1",
"PDisplayName":"Klasör",
"PId":"1",
"PContentType":".folder"
}
},
{
"ContentID":4,
"Content":
{
"DisplayName": "90.pdf",
"EnumeratorID": -1324,
"ContentType": ".pdf",
"HasViewer": true,
"DisableDownload": false,
"HasNote": false
},
"Attributes":
{
"FolderCanBeShown":"1",
"PDisplayName":"Klasör",
"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":"Klasör",
"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":"Klasör",
"PId":"1",
"PContentType":".folder"
},
NumberOfOccurentces: 3
},
] |
|
---|