The tia Webservice exposes the following APIs.
Service name | Service method | Description | Parameter Description | Return codes / Return Type | Availability |
---|---|---|---|---|---|
ServiceCheck | String ServiceCheck(String ApplicationName, String UserName, String seckey) | This API may be used in order to check whether a service is available for an application. This API returns the application name. Please note: In case an application is configured and deactivated, it will still return the application name. | ApplikationName: Application which is mapped against a specific Content Server. UserName: Username which is delivered / provided by the client (Authentication should be handled at the remote end. Webservice itself doesn’t offer user authentication.) seckey: The seckey represents a signed ApplicationName. In case the security is enabled and the alias is specified, the seckey will be verified against the configured alias in the keystore. | Returns a string indicating whether web service is availble for the specified application name. | API available since version 1 |
serverInfo | int ContentServerInfo(String ApplicationName, String UserName, String seckey) | API may be used to check whether configured content server is available. This API is equivalent to an SAP ArchiveLink Server Info-command. It returns a response code. Please refer to SAP Content Server HTTP Interface guide for more details regarding the response code. | ApplicationName: Application which is mapped against a specified Content Server. UserName: Username which is provided by the client (Authentication should be handled at the remote end. Webservice itself doesn’t offer user authentication.) seckey: The seckey represents a signed ApplicationName. In case the security is enabled and the alias is specified, the seckey will be verified against the configured alias in the keystore. | 200: OK 400: Bad request
401: Forbidden
500: Internal Server Error
| 1 |
info | Document ContentServerDocInfo(String ApplicationName, Document document, String UserName, String seckey) | The API may be used in order to fetch information regarding a certain Document and its respective components. This API returns a Document structure which should be implemented by the client application. Please refer to Structures used in Webservice (WA) for additional information. | ApplicationName: Application which is mapped against a specific Content Server. document: A document structure needs to be provided with the following fields filled.
seckey: The seckey represents a signed ApplicationName. In case the security is enabled and the alias is specified, the seckey will be verified against the configured alias in the keystore. (Seckey is optional for info-Requests). | Returns a document structure containing the following.
Return code: 200: OK 400: Bad request
401: Forbidden
500: Internal Server Error
| 1 |
delete | int ContentServerDocDel(String ApplicationName, Document document, String UserName, String seckey) | This API may be used in order to delete the specified document. | ApplicationName: Application which is mapped against a specific Content Server. document: A document structure needs to be provided with the following fields filled.
seckey: The seckey represents a signed ApplicationName. In case the security is enabled and the alias is specified, the seckey will be verified against the configured alias in the keystore. (Seckey is optional for delete-Requests). | Return code: 200: OK 400: Bad request
401: Forbidden
500: Internal Server Error
| 1 |
get | Document ContentServerDocGet(String ApplicationName, Document document, String UserName, String seckey) | This API may be used in order to fetch the specified document. In case no component was specified the default data component will be fetched. | ApplicationName: Application which is mapped against a specific Content Server. document: A document structure needs to be provided with the following fields filled.
UserName: Username which is delivered / provided by the client (Authentication should be handled at the remote end. Webservice itself doesn’t offer user authentication.) seckey: The seckey represents a signed ApplicationName. In case the security is enabled and the alias is specified, the seckey will be verified against the configured alias in the keystore. (Seckey is optional for delete-Requests). | Returns a document structure containing the following:
Return code: 200: OK 400: Bad request
401: Forbidden
500: Internal Server Error
| 1 |
MDocument ContentServerDocGetv2(String ApplicationName, MDocument recvDoc, String UserName, String seckey, Boolean ConvertToPdf, String Watermark) | 2 |