Return Value |
[
{
"ContentID":2,
"Content":
{
"DisplayName": "",
"EnumeratorID": 0,
"ContentType": "",
"HasViewer": true,
"DisableDownload": true,
"HasNote": true
},
"Summary":
{
"SummaryID": "",
"Text": ""
},
"Attributes":
{
"FolderCanBeShown": "1",
"PDisplayName": "",
"PId": "1"
},
NumberOfOccurences: 1
}
] |
ContentID: ID of the content. |
Content: Content information. DisplayName: The display name of the content. (Filename, etc.) EnumeratorID: The name of the enumerator that provides the content. ContentType: The type of content, extension. HasViewer: Whether the content has a viewer or not
DisableDownload: Whether the content is prevented from downloading by the user or not
HasNote: Whether the content has a note or not
Summary: Document summary information. Returns if SummaryFill field in options is true Attributes: Extra information about the content
FolderCanBeShown: PDisplayName: If parent content exists, the display name of that content. PId: If parent content exists, the ID of that content. PcontentType: Parent content exists, type of content
NumberOfOccurences: How many times the word has occurred.
|
---|
Examples |
//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"
}
}
] |
//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"
}
}
] |
//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"
}
},
] |
//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
},
] |
|
---|