Method GetSAPSchemaStore
GetSAPSchemaStore(String)
Get SAP schema information of this server
Declaration
SAPConfigContract GetSAPSchemaStore(string connectionId)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
Returns
Type | Description |
---|---|
SAPConfigContract | Current SAP schema store |
Examples
POST http://YourServerName/InfoShare/Json/Common/GetSAPSchemaStore
Example for get SAP schema information of this server.{
"connectionId": "e08482f2-eb69-4693-b2c1-cdc87f641ec2"
}
Response:
{
"GetSAPSchemaStoreResult": {
"AddAnnotations": false,
"AddOverlays": false,
"Culture": "de-CH",
"ExtensionMustExist": false,
"ImportTemplateId": "00000000-0000-0000-0000-000000000000",
"IndexDownloadConfigs": [],
"MimeTypeMappingMustExist": true,
"MimeTypeMappings": [{
"FileExtension": "pdf",
"Id": "8fff140c-02e1-e911-a94b-00155d290a08",
"MimeType": "application\/pdf" }, {
"FileExtension": "tif",
"Id": "96ff140c-02e1-e911-a94b-00155d290a08",
"MimeType": "image\/tiff" }, {
"FileExtension": "bin",
"Id": "9dff140c-02e1-e911-a94b-00155d290a08",
"MimeType": "application\/octet-stream" }, {
"FileExtension": "doc",
"Id": "a4ff140c-02e1-e911-a94b-00155d290a08",
"MimeType": "application\/msword" }, {
"FileExtension": "mpp",
"Id": "c0ff140c-02e1-e911-a94b-00155d290a08",
"MimeType": "application\/vnd.ms-project" }, {
"FileExtension": "ppt",
"Id": "c7ff140c-02e1-e911-a94b-00155d290a08",
"MimeType": "application\/vnd.ms-powerpoint" }, {
"FileExtension": "alf",
"Id": "ceff140c-02e1-e911-a94b-00155d290a08",
"MimeType": "application\/x-alf" }, {
"FileExtension": "otf",
"Id": "d5ff140c-02e1-e911-a94b-00155d290a08",
"MimeType": "application\/x-otf" }],
"RepositoriesConfigurations": [],
"SAPBarcodePropertyId": "00000000-0000-0000-0000-000000000000",
"SAPBarcodeSyncPropertyId": "00000000-0000-0000-0000-000000000000",
"SAPDocumentPropertyId": "00000000-0000-0000-0000-000000000000",
"SAPRepositoryPropertyId": "00000000-0000-0000-0000-000000000000" }
}
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |