{ "opencollection": "1.0.0", "info": { "name": "Document Service (DEMO1) HTTP API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "X-XNSG_WEB_TOKEN", "value": "{{X-XNSG_WEB_TOKEN}}", "placement": "header" } }, "items": [ { "info": { "name": "CoreBFBean", "type": "folder" }, "items": [ { "info": { "name": "checkBFFunctionExists", "type": "http" }, "http": { "method": "POST", "url": "https://rz3.aeb.de/demo1docs/rest/CoreBFBean/checkBFFunctionExists", "body": { "type": "json", "data": "{}" } }, "docs": "Can be called to know if a BF function exist." }, { "info": { "name": "echo", "type": "http" }, "http": { "method": "POST", "url": "https://rz3.aeb.de/demo1docs/rest/CoreBFBean/echo", "params": [ { "name": "echo", "value": "", "type": "query" } ] }, "docs": "Returns the given echo parameter value." }, { "info": { "name": "echoUpperCase", "type": "http" }, "http": { "method": "POST", "url": "https://rz3.aeb.de/demo1docs/rest/CoreBFBean/echoUpperCase", "params": [ { "name": "echo", "value": "", "type": "query" } ] }, "docs": "Returns the given echo parameter value in uppercase." }, { "info": { "name": "getAllMonitoringValues", "type": "http" }, "http": { "method": "GET", "url": "https://rz3.aeb.de/demo1docs/rest/CoreBFBean/getAllMonitoringValues" }, "docs": "Returns all available monitoring values of the server." }, { "info": { "name": "getBuildForSolution", "type": "http" }, "http": { "method": "GET", "url": "https://rz3.aeb.de/demo1docs/rest/CoreBFBean/getBuildForSolution", "params": [ { "name": "solutionName", "value": "", "type": "query", "description": "solutionName the name of the solution for which version information is to be obtained" } ] }, "docs": "Return the build information of a solution that is deployed in the product on this server. The RFC name of this function is \\\"/AEB/XNSG_IF_BLDSOL\\\"." }, { "info": { "name": "getMonitoringValue", "type": "http" }, "http": { "method": "GET", "url": "https://rz3.aeb.de/demo1docs/rest/CoreBFBean/getMonitoringValue", "params": [ { "name": "groupName", "value": "", "type": "query" }, { "name": "valueName", "value": "", "type": "query" } ] }, "docs": "Returns the current monitoring value for the given group and name." }, { "info": { "name": "getProductInfo", "type": "http" }, "http": { "method": "GET", "url": "https://rz3.aeb.de/demo1docs/rest/CoreBFBean/getProductInfo" }, "docs": "Return information about the server that is answering this request. This includes the product name and various version informations. The RFC name of this function is \\\"/AEB/XNSG_IF_PRINFO\\\"." }, { "info": { "name": "getRuntimeInfo", "type": "http" }, "http": { "method": "GET", "url": "https://rz3.aeb.de/demo1docs/rest/CoreBFBean/getRuntimeInfo" }, "docs": "Return runtime information about the server that is answering this request. This includes the server name, ports and various other runtime informations. The RFC name of this function is \\\"/AEB/XNSG_IF_RTINFO\\\"." }, { "info": { "name": "getRuntimeState", "type": "http" }, "http": { "method": "POST", "url": "https://rz3.aeb.de/demo1docs/rest/CoreBFBean/getRuntimeState", "body": { "type": "json", "data": "{}" } }, "docs": "Return runtime state information about the server that is answering this request. This includes if the server is doing fine or not. Also included are the supported operations (bfs) for the installation repository The RFC name of this function is \\\"/AEB/XNSG_IF_RTSTATE\\\"." }, { "info": { "name": "getThreadDump", "type": "http" }, "http": { "method": "GET", "url": "https://rz3.aeb.de/demo1docs/rest/CoreBFBean/getThreadDump" }, "docs": "Generate Thread-Dump." }, { "info": { "name": "getVersionForSolution", "type": "http" }, "http": { "method": "GET", "url": "https://rz3.aeb.de/demo1docs/rest/CoreBFBean/getVersionForSolution", "params": [ { "name": "solutionName", "value": "", "type": "query", "description": "solutionName the name of the solution for which version information is to be obtained" } ] }, "docs": "Return the version information of a solution that is deployed in the product on this server. The RFC name of this function is \\\"/AEB/XNSG_IF_VERSOL\\\"." }, { "info": { "name": "restartRFCServer", "type": "http" }, "http": { "method": "POST", "url": "https://rz3.aeb.de/demo1docs/rest/CoreBFBean/restartRFCServer" }, "docs": "This method is only usefull to be called from SAP via RFC. It will restart the RFCServer which receives this method call. This method is useful to be called from SAP, if within SAP some structure definitions had changed, e.g. after installing a transport. The RFC name of this function is \\\"/AEB/XNSG_IF_RSTRFCSRV\\\"." } ] }, { "info": { "name": "DocumentService", "type": "folder" }, "items": [ { "info": { "name": "getWorkstations", "type": "http" }, "http": { "method": "GET", "url": "https://rz3.aeb.de/demo1docs/rest/DocumentService/workstation" }, "docs": "
Returns an information about all registered workstations as json or xml list.
" }, { "info": { "name": "parseDocumentTemplateContent", "type": "http" }, "http": { "method": "GET", "url": "https://rz3.aeb.de/demo1docs/rest/DocumentService/template/:fileName/parse", "params": [ { "name": "fileName", "value": "DemoDoc10.pdf", "type": "path", "description": "Relative file name of the document template in file system (without path). This name, together with the version, uniquely identifies a template resource." }, { "name": "processor", "value": "PDF-XFA", "type": "query", "description": "Document processor tag. It decides, which processor takes care of the document." }, { "name": "query", "value": "", "type": "query", "description": "Parse query. Defines, which part of the template is to be returned." } ] }, "docs": "Parses the referenced template data and returns the required information, as specified in the parse query parameters. The supported query parameters are individual to each document processor. The referenced template must already exist in the system.
" }, { "info": { "name": "queryDocumentTemplates", "type": "http" }, "http": { "method": "GET", "url": "https://rz3.aeb.de/demo1docs/rest/DocumentService/template", "params": [ { "name": "processor", "value": "PDF-XFA", "type": "query", "description": "Document processor tag" } ] }, "docs": "Returns a list of available templates for the specified processor. The templates are resolved in the context of a session client. Processor parameter is optional; templates for all supported processors are returned when empty.
" }, { "info": { "name": "openPrintRequestQueue", "type": "http" }, "http": { "method": "GET", "url": "https://rz3.aeb.de/demo1docs/rest/DocumentService/ui/printQueue", "params": [ { "name": "user", "value": "API_TEST", "type": "query", "description": "The user of the new session.Returns print request queue in url.
" }, { "info": { "name": "openStagedDocumentEditor", "type": "http" }, "http": { "method": "GET", "url": "https://rz3.aeb.de/demo1docs/rest/DocumentService/ui/document/:documentId", "params": [ { "name": "documentId", "value": "", "type": "path", "description": "The documentId of the document to be edited." }, { "name": "editorAction", "value": "", "type": "query", "description": "The action to start with. Default initial action is PREVIEW" }, { "name": "user", "value": "API_TEST", "type": "query", "description": "The user of the new session.Returns document editor url.
" }, { "info": { "name": "openStagedDocumentSearch", "type": "http" }, "http": { "method": "GET", "url": "https://rz3.aeb.de/demo1docs/rest/DocumentService/ui/document", "params": [ { "name": "user", "value": "API_TEST", "type": "query", "description": "The user of the new session.Returns document search link.
" }, { "info": { "name": "queryDocuments", "type": "http" }, "http": { "method": "GET", "url": "https://rz3.aeb.de/demo1docs/rest/DocumentService/document", "params": [ { "name": "referenceType", "value": "", "type": "query", "description": "Document reference type (only exact match)" }, { "name": "documentType", "value": "", "type": "query", "description": "Document type (only exact match)" }, { "name": "referenceNumberPattern", "value": "", "type": "query", "description": "Document reference number pattern (can contain wildcards)" }, { "name": "referenceNumber", "value": "", "type": "query", "description": "List of document reference numbers (max. 1000 elements allowed). Only documents exactly matching these numbers will be returned.Consider using `/documentByRef` instead.
" }, { "name": "documentId", "value": "", "type": "query", "description": "List of document IDs (max. 1000 elements allowed). Only documents exactly matching these IDs will be returned.Consider using `/documentById` instead.
" }, { "name": "returnTotalCount", "value": "", "type": "query", "description": "If `true`, total number of documents found is returned in field `totalCount`. Total number can be different from number of actually returned documents in case total document count exceeds value `maxResults`" }, { "name": "maxResults", "value": "", "type": "query", "description": "Defines how many documents will be returned. Default value: 30, maximum value: 100" }, { "name": "skipFirst", "value": "", "type": "query", "description": "If set, defines the number of documents that will be skipped before collecting results. Use this to retrieve further documents if a previous query did not return all required documents. The number must not exceed 10000" }, { "name": "orderBy", "value": "", "type": "query", "description": "Defines how the requested documents are sorted.Executes a search query on the documents stored in the document storage. Only the documents that are visible to the caller (session user and session client) are returned. The results can be sorted by predefined criteria, the limit of the number of results is configurable, too.
Use one of the given attributes to pass the filter. If more than one attribute is filled attributes will be used in the follo" }, { "info": { "name": "createDocument", "type": "http" }, "http": { "method": "POST", "url": "https://rz3.aeb.de/demo1docs/rest/DocumentService/document", "params": [ { "name": "async", "value": "", "type": "query", "description": "Asynchronous document creation. If `true`, the request returns immediately, whereas the document is being prepared in the background." }, { "name": "processor", "value": "PDF-XFA", "type": "query", "description": "Processing Options: Document processor tag" }, { "name": "templateName", "value": "DemoDoc10.pdf", "type": "query", "description": "Processing Options: Document template name" }, { "name": "format", "value": "", "type": "query", "description": "Processing Options: Format of the generated document (one of the formats supported by the processor)" }, { "name": "documentLocale", "value": "", "type": "query", "description": "Processing Options: Language of the generated document (if applicable)" }, { "name": "documentName", "value": "DEMO_4711", "type": "query", "description": "Processing Options: Suggested base file name of the generated document (without extension)" }, { "name": "referenceNumber", "value": "4711", "type": "query", "description": "Staging Options: Document reference number" }, { "name": "referenceType", "value": "SHIPMENT", "type": "query", "description": "Staging Options: Document reference type" }, { "name": "documentType", "value": "DEMODOC", "type": "query", "description": "Staging Options: Document type" }, { "name": "retentionDaysLimit", "value": "3", "type": "query", "description": "Staging Options: How long should the generated document be retained (max 90 days)" }, { "name": "tag", "value": "foo,bar", "type": "query", "description": "Staging Options: Additional tags that help to further describe the document (e.g. document source system, context, category...) and allows it to be found again by browsing and searching.
Tags must follow the kebab case naming convention (lowercase, words separated by hyphens)
Existing tags are retained if no value is defined. Defined values replace the existing tags. To delete all text without creating a tag, an empty tag has to be defined (e.g. `&tag=`)
" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a document from the referenced template and document data. The template is resolved in the context of the session client. If any of the Staging options is filled the created document contents will be retained for later reuse.
An existing document can be updated in `POST /document/{documentId}` and sto"
},
{
"info": {
"name": "createDocument",
"type": "http"
},
"http": {
"method": "PUT",
"url": "https://rz3.aeb.de/demo1docs/rest/DocumentService/document",
"params": [
{
"name": "fileName",
"value": "INV_4711.pdf",
"type": "query",
"description": "Document file name"
},
{
"name": "referenceNumber",
"value": "4711",
"type": "query",
"description": "Staging Options: Document reference number"
},
{
"name": "referenceType",
"value": "SHIPMENT",
"type": "query",
"description": "Staging Options: Document reference type"
},
{
"name": "documentType",
"value": "INVOICE",
"type": "query",
"description": "Staging Options: Document type"
},
{
"name": "retentionDaysLimit",
"value": "3",
"type": "query",
"description": "Staging Options: How long should the generated document be retained (max 90 days)"
},
{
"name": "tag",
"value": "foo,bar",
"type": "query",
"description": "Staging Options: Additional tags that help to further describe the document (e.g. document source system, context, category...) and allows it to be found again by browsing and searching.
Tags must follow the kebab case naming convention (lowercase, words separated by hyphens)
Existing tags are retained if no value is defined. Defined values replace the existing tags. To delete all text without creating a tag, an empty tag has to be defined (e.g. `&tag=`)
" } ] }, "docs": "Uploads an external document (which does not depend on any document templates). Like `POST /document`, the uploaded document can be queried, deleted and fetched by calling the corresponding method with the received `documentId`. The document also has a date to which it is at least stored in the document store.
Currently only PDF documents up to a maximum size of 10MB are supported, without embedded links, scripts or attachments.
Tags must follow the kebab case naming convention (lowercase, words separated by hyphens)
Existing tags are retained if no value is defined. Defined values replace the existing tags. To delete all text without creating a tag, an empty tag has to be defined (e.g. `&tag=`)
" } ] }, "docs": "Like `PUT /document` but with less limitations to the uploaded contents.
" }, { "info": { "name": "getDocument", "type": "http" }, "http": { "method": "GET", "url": "https://rz3.aeb.de/demo1docs/rest/DocumentService/document/:documentId", "params": [ { "name": "documentId", "value": "012345678-abcd-4eff-9876-543210fedcba", "type": "path", "description": "Unique document id (as returned from POST/PUT/GET document)" }, { "name": "contentVariant", "value": "", "type": "query", "description": "Document content variant (optional)" }, { "name": "searchInArchive", "value": "", "type": "query", "description": "Search archives if not found in common storage" } ] }, "docs": "Returns the requested document content if it is available for the user. A document may contain several contents, so the user has to define which content to return by the documentId and the variant.
" }, { "info": { "name": "updateDocument", "type": "http" }, "http": { "method": "POST", "url": "https://rz3.aeb.de/demo1docs/rest/DocumentService/document/:documentId", "params": [ { "name": "documentId", "value": "012345678-abcd-4eff-9876-543210fedcba", "type": "path", "description": "Unique document id (as returned from POST/PUT/GET document)" }, { "name": "async", "value": "", "type": "query", "description": "Asynchronous document creation. If `true`, the request returns immediately, whereas the document is being prepared in the background." }, { "name": "processor", "value": "PDF-XFA", "type": "query", "description": "Processing Options: Document processor tag" }, { "name": "templateName", "value": "DemoDoc10.pdf", "type": "query", "description": "Processing Options: Document template name" }, { "name": "format", "value": "", "type": "query", "description": "Processing Options: Format of the generated document (one of the formats supported by the processor)" }, { "name": "documentLocale", "value": "", "type": "query", "description": "Processing Options: Language of the generated document (if applicable)" }, { "name": "documentName", "value": "DEMO_4711", "type": "query", "description": "Processing Options: Suggested base file name of the generated document (without extension)" }, { "name": "referenceNumber", "value": "4711", "type": "query", "description": "Staging Options: Document reference number" }, { "name": "referenceType", "value": "SHIPMENT", "type": "query", "description": "Staging Options: Document reference type" }, { "name": "documentType", "value": "DEMODOC", "type": "query", "description": "Staging Options: Document type" }, { "name": "retentionDaysLimit", "value": "3", "type": "query", "description": "Staging Options: How long should the generated document be retained (max 90 days)" }, { "name": "tag", "value": "foo,bar", "type": "query", "description": "Staging Options: Additional tags that help to further describe the document (e.g. document source system, context, category...) and allows it to be found again by browsing and searching.Tags must follow the kebab case naming convention (lowercase, words separated by hyphens)
Existing tags are retained if no value is defined. Defined values replace the existing tags. To delete all text without creating a tag, an empty tag has to be defined (e.g. `&tag=`)
" } ], "body": { "type": "json", "data": "{}" } }, "docs": " Possibilities to update the stored document contents:
Tags must follow the kebab case naming convention (lowercase, words separated by hyphens)
Existing tags are retained if no value is defined. Defined values replace the existing tags. To delete all text without creating a tag, an empty tag has to be defined (e.g. `&tag=`)
" } ] }, "docs": "Uploads an external document (which does not depend on any document templates). Like `POST /document/{documentId}` the uploaded document can be queried, deleted and fetched by calling the corresponding method with received `documentId`. The document also has a date to which it is at least stored in the document store.
Currently only PDF documents up to a maximum size of 10MB are supported, without embedded links, scripts or attachments.
Deletes the document with the requested documentId.
" }, { "info": { "name": "queryDocumentsById", "type": "http" }, "http": { "method": "POST", "url": "https://rz3.aeb.de/demo1docs/rest/DocumentService/documentById", "body": { "type": "json", "data": "{}" } }, "docs": "Executes a search query on the documents stored in the document storage. Only the documents that are visible to the caller (session user and session client) are returned. The results can be sorted by predefined criteria, the limit of the number of results is configurable, too.
Use one of the given attributes to pass the filter. If more than one attribute is filled attributes will be used in the follo" }, { "info": { "name": "queryDocumentsByRef", "type": "http" }, "http": { "method": "POST", "url": "https://rz3.aeb.de/demo1docs/rest/DocumentService/documentByRef", "body": { "type": "json", "data": "{}" } }, "docs": "
Executes a search query on the documents stored in the document storage. Only the documents that are visible to the caller (session user and session client) are returned. The results can be sorted by predefined criteria, the limit of the number of results is configurable, too.
Use one of the given attributes to pass the filter. If more than one attribute is filled attributes will be used in the follo" }, { "info": { "name": "updateDocumentTrusted", "type": "http" }, "http": { "method": "PUT", "url": "https://rz3.aeb.de/demo1docs/rest/DocumentService/documentTrusted/:documentId", "params": [ { "name": "documentId", "value": "012345678-abcd-4eff-9876-543210fedcba", "type": "path", "description": "Unique document id (as returned from POST/PUT/GET document)" }, { "name": "fileName", "value": "INV_4711.pdf", "type": "query", "description": "Document file name" }, { "name": "referenceNumber", "value": "4711", "type": "query", "description": "Staging Options: Document reference number" }, { "name": "referenceType", "value": "SHIPMENT", "type": "query", "description": "Staging Options: Document reference type" }, { "name": "documentType", "value": "INVOICE", "type": "query", "description": "Staging Options: Document type" }, { "name": "retentionDaysLimit", "value": "3", "type": "query", "description": "Staging Options: How long should the generated document be retained (max 90 days)" }, { "name": "tag", "value": "foo,bar", "type": "query", "description": "Staging Options: Additional tags that help to further describe the document (e.g. document source system, context, category...) and allows it to be found again by browsing and searching.
Tags must follow the kebab case naming convention (lowercase, words separated by hyphens)
Existing tags are retained if no value is defined. Defined values replace the existing tags. To delete all text without creating a tag, an empty tag has to be defined (e.g. `&tag=`)
" } ] }, "docs": "Like `PUT /document/{documentId}` but with less limitations to the uploaded contents.
" }, { "info": { "name": "getDocumentInstance", "type": "http" }, "http": { "method": "GET", "url": "https://rz3.aeb.de/demo1docs/rest/DocumentService/documentInstance/:referenceType/:referenceNumber/:documentType", "params": [ { "name": "referenceType", "value": "SHIPMENT", "type": "path", "description": "Document reference type" }, { "name": "referenceNumber", "value": "4711", "type": "path", "description": "Document reference number" }, { "name": "documentType", "value": "DEMODOC", "type": "path", "description": "Document type" }, { "name": "contentVariant", "value": "", "type": "query", "description": "Format of the document content" }, { "name": "searchInArchive", "value": "", "type": "query", "description": "Search archives if not found in common storage" } ] }, "docs": "Returns the document instance for the given reference object and document type.
" }, { "info": { "name": "createDocumentInstance", "type": "http" }, "http": { "method": "POST", "url": "https://rz3.aeb.de/demo1docs/rest/DocumentService/documentInstance/:referenceType/:referenceNumber/:documentType", "params": [ { "name": "referenceType", "value": "SHIPMENT", "type": "path", "description": "Document reference type" }, { "name": "referenceNumber", "value": "4711", "type": "path", "description": "Document reference number" }, { "name": "documentType", "value": "DEMODOC", "type": "path", "description": "Document type" }, { "name": "async", "value": "false", "type": "query", "description": "Create document asynchronously" }, { "name": "replaceExistingContent", "value": "", "type": "query", "description": "Remove document contents prior to creation" }, { "name": "autoCreateRefObject", "value": "true", "type": "query", "description": "Automatically create reference object" }, { "name": "retentionDaysLimit", "value": "3", "type": "query", "description": "How long should the generated document be retained (max 90 days)" }, { "name": "storageRetentionDaysLimit", "value": "300", "type": "query", "description": "How long should the generated document be retained in storage (applicable only with archive activation)" }, { "name": "documentLocale", "value": "", "type": "query", "description": "Language of the generated document (if applicable)" }, { "name": "translateDataRequired", "value": "false", "type": "query", "description": "Translate of data is required" }, { "name": "userName", "value": "", "type": "query", "description": "User name (if different from the authentication)" }, { "name": "workstationId", "value": "", "type": "query", "description": "Workstation for print (required e.g. for labels to identify the target printer type)" }, { "name": "tag", "value": "foo,bar", "type": "query", "description": "Additional tags that help to further describe the document (e.g. document source system, context, category...) and allows it to be found again by browsing and searching.Tags must follow the kebab case naming convention(lowercase, and words are separated by hyphens)
" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Prepares a document immediately within response or asynchronously from the referenced document type and document data. The document type and reference object are resolved in the context of the session client. The output format and archive options are defined in the referenced document type. Created documents are retained for later reuse, e.g. fetching or printing the document. The caller can fetch the document contents by calling Tags must follow the kebab case naming convention(lowercase, and words are separated by hyphens) Uploads an external document which does not depend on templates of the document. The document type and reference object are resolved in the context of the session client. The archive options are defined in the referenced document type. Like Deletes the document instance for the given reference object and document type. Returns the document instances for the given reference object. Creates a print request for the requested document. The document must have been created by The print request is processed asynchronously and may fail if the cloud p"
},
{
"info": {
"name": "updateDocumentInstanceTrusted",
"type": "http"
},
"http": {
"method": "PUT",
"url": "https://rz3.aeb.de/demo1docs/rest/DocumentService/documentInstanceTrusted/:referenceType/:referenceNumber/:documentType",
"params": [
{
"name": "referenceType",
"value": "SHIPMENT",
"type": "path",
"description": "Document reference type"
},
{
"name": "referenceNumber",
"value": "4711",
"type": "path",
"description": "Document reference number"
},
{
"name": "documentType",
"value": "INVOICE",
"type": "path",
"description": "Document type"
},
{
"name": "autoCreateRefObject",
"value": "true",
"type": "query",
"description": "Automatically create reference object"
},
{
"name": "fileName",
"value": "INV_4711.pdf",
"type": "query",
"description": "Document file name"
},
{
"name": "retentionDaysLimit",
"value": "3",
"type": "query",
"description": "How long should the generated document be retained (max 90 days)"
},
{
"name": "storageRetentionDaysLimit",
"value": "300",
"type": "query",
"description": "How long should the generated document be retained in storage (applicable only with archive activation)"
},
{
"name": "userName",
"value": "",
"type": "query",
"description": "User name (if different from the authentication)"
},
{
"name": "tag",
"value": "foo,bar",
"type": "query",
"description": "Additional tags that help to further describe the document (e.g. document source system, context, category...) and allows it to be found again by browsing and searching. Tags must follow the kebab case naming convention(lowercase, and words are separated by hyphens) Like Returns the requested document reference object if it is available for the user. Creates new or updates existing document reference object. Deletes the document reference object with the requested Executes a search query on the document reference objects. Only the document reference objects that are visible to the caller (session user and session client) are returned. The results can be sorted by predefined criteria, the limit of the number of results is configurable, too. Returns the state of a print request identified by its unique ID (obtained by Updates a print request identified by its unique ID (obtained by Removes a specific print request identified by its unique ID (obtained by Returns list of all print requests for the specified queue (default: active only). The state of the queue may influence the individual request states. Returns an information on functions and/or features supported by the processor. Collects tags of all document processors that are supported in this service.GET /document/{"
},
{
"info": {
"name": "updateDocumentInstance",
"type": "http"
},
"http": {
"method": "PUT",
"url": "https://rz3.aeb.de/demo1docs/rest/DocumentService/documentInstance/:referenceType/:referenceNumber/:documentType",
"params": [
{
"name": "referenceType",
"value": "SHIPMENT",
"type": "path",
"description": "Document reference type"
},
{
"name": "referenceNumber",
"value": "4711",
"type": "path",
"description": "Document reference number"
},
{
"name": "documentType",
"value": "INVOICE",
"type": "path",
"description": "Document type"
},
{
"name": "autoCreateRefObject",
"value": "true",
"type": "query",
"description": "Automatically create reference object"
},
{
"name": "fileName",
"value": "INV_4711.pdf",
"type": "query",
"description": "Document file name"
},
{
"name": "retentionDaysLimit",
"value": "3",
"type": "query",
"description": "How long should the generated document be retained (max 90 days)"
},
{
"name": "storageRetentionDaysLimit",
"value": "300",
"type": "query",
"description": "How long should the generated document be retained in storage (applicable only with archive activation)"
},
{
"name": "userName",
"value": "",
"type": "query",
"description": "User name (if different from the authentication)"
},
{
"name": "tag",
"value": "foo,bar",
"type": "query",
"description": "Additional tags that help to further describe the document (e.g. document source system, context, category...) and allows it to be found again by browsing and searching. Update specified document instance.
POST /documentInstance/{referenceType}/{referenceNumber}/{documentType} the uploaded document can be queried, deleted and fetched by calling the corresponding method with the received documentId.The "
},
{
"info": {
"name": "deleteDocumentInstance",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "https://rz3.aeb.de/demo1docs/rest/DocumentService/documentInstance/:referenceType/:referenceNumber/:documentType",
"params": [
{
"name": "referenceType",
"value": "SHIPMENT",
"type": "path",
"description": "Document reference type"
},
{
"name": "referenceNumber",
"value": "4711",
"type": "path",
"description": "Document reference number"
},
{
"name": "documentType",
"value": "DEMODOC",
"type": "path",
"description": "Document type"
},
{
"name": "ignorePendingContent",
"value": "",
"type": "query",
"description": "If set to true, the document will be deleted even when the document content is yet being generated or archived. Otherwise (default behavior), the deletion is rejected in such case."
}
]
},
"docs": "Delete an existing document instance
Query information on existing document instances
Create a print request for document instance.
POST /documentInstance/{referenceType}/{referenceNumber}/{documentType} and defined by its documentId.The printing location depends on the session context (e.g. user/client or workstation) and the printing output settings in the document type of the document.
Example : ZEBRA GK420d"
},
{
"name": "printerId",
"value": "",
"type": "query",
"description": "Some ERP systems responsible for printing need more information about the printer (only relevant for content-type \"print/raw\")"
},
{
"name": "resolution",
"value": "",
"type": "query",
"description": "Print resolution in DPI (only relevant for content-type \"image/*\")"
},
{
"name": "offsetX",
"value": "",
"type": "query",
"description": "X offset in mm (only relevant for content-type \"image/*\")"
},
{
"name": "offsetY",
"value": "",
"type": "query",
"description": "Y offset in mm (only relevant for content-type \"image/*\")"
}
]
},
"docs": "Generate a new document instance.
Access is restricted to I_DOCUMENTSERVICEBF_TRUSTED role.PUT /documentInstance/{referenceType}/{referenceNumber}/{documentType} but with less limitations to the uploaded contents.Find one document reference object
Create or update document reference object.
Delete an existing document reference object
referenceType and referenceNumber along with all its documents (optionally the documents can be preserved).true, the total number of document reference objects found is returned in field totalCount. The total number can be different from the number of returned reference objects in case maxResults value is exceeded."
},
{
"name": "maxResults",
"value": "",
"type": "query",
"description": "Defines how many document reference objects will be returned. The number must not exceed the maximum value of 100If no value is passed, default value 30 will be set."
},
{
"name": "skipFirst",
"value": "",
"type": "query",
"description": "Number of document reference objects that will be skipped before collecting results. Use this to retrieve other document reference objects (next page) if a previous query did not return all of the required document reference objects. The number must not exceed 10000."
},
{
"name": "orderBy",
"value": "",
"type": "query",
"description": "Defines how the requested document reference objects are sorted.
"
}
]
},
"docs": "REFERENCE_NUMBER_ASC : Sorted by reference number, alphabetically ascending.REFERENCE_NUMBER_DESC : Sorted by reference number, alphabetically descending.Search document reference objects
Get information on print request state
POST /documentInstance/{documentId}/print).
"
},
{
"name": "timeout",
"value": "",
"type": "query",
"description": "Action timeout in seconds; currently applicable to CANCEL only, this parameter allows to set maximum time to wait for selected action to finish."
}
]
},
"docs": "CANCEL : The pool is contacted with request to cancel selected requestIGNORE : Print request is being ignored.RESET : Printing process is reset.Update print request
POST /documentInstance/{documentId}/print) with a specific action.Delete print request.
POST /documentInstance/{documentId}/print).Get information on print requests
Fetch processor detailed information
Supported output formats are controlled by the Accept header. Currently only application/json and application/xml are available.Fetch supported processors
Convert proprietary schema descriptor to XSD format
"
},
{
"info": {
"name": "xsdToSchema",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://rz3.aeb.de/demo1docs/rest/DocumentService/util/xsdToSchema"
},
"docs": "Convert XSD input to a proprietary schema descriptor
Supported output formats are controlled by the Accept header. Currently only application/json and application/xml are available.
clientSystemId are returned (mandatory field)clientSystemId and businessObjectType (both mandatory fields).clientSystemId and businessObjectType (both mandatory fields).