openapi: 3.0.0 info: title: SAP API version: 1.0.0 servers: - url: http://localhost:8080 paths: /rfc/DATE_CONVERT_TO_FACTORYDATE: post: tags: - SCAL summary: 'Calendar function: Returns factory calendar date for a date' operationId: /rfc/DATE_CONVERT_TO_FACTORYDATE requestBody: content: application/json: schema: properties: CORRECT_OPTION: type: string default: + maxLength: 1 description: Flag how workday should be calculated DATE: type: string format: date description: Date to be converted into factory calendar date FACTORY_CALENDAR_ID: type: string maxLength: 2 description: Factory calendar ID required: - DATE - FACTORY_CALENDAR_ID responses: '200': description: OK content: application/json: schema: properties: DATE: type: string format: date description: Date to be converted into factory calendar date FACTORYDATE: type: integer format: int64 description: Number of the workday in the specified calendar WORKINGDAY_INDICATOR: type: string maxLength: 1 description: Flag whether date is a workday '400': description: Bad request. 5XX: description: Unexpected error.