openapi: 3.0.0 info: title: SAP API version: 1.0.0 servers: - url: http://localhost:8080 paths: /rfc/BAPI_BUPA_HOURS_GETDETAIL: post: tags: - BUPA_HOURS_BAPI summary: Reading of an Appointment Rule for a BP operationId: /rfc/BAPI_BUPA_HOURS_GETDETAIL requestBody: content: application/json: schema: properties: BUSINESSPARTNER: type: string maxLength: 10 description: Business Partner Number SCHEDULE_TYPE: type: object properties: SCHEDULE_TYPE: type: string maxLength: 1 description: Schedule Type COMBINEDRULE: type: array items: type: object properties: RULE_ID: type: string maxLength: 25 description: Internal Identification of Rules of Periodic Appointments TYPE: type: string maxLength: 2 description: Version Number Component START_DATE: type: string format: date description: Start Date for Rule Period END_DATE: type: string format: date description: End Date for Rule Period CONFLICTS: type: string maxLength: 1 description: Exception Rule for Non-Working Days FCALID: type: string maxLength: 2 description: Factory Calendar HCALID: type: string maxLength: 2 description: Public Holiday Calendar INFO_DEL: type: string maxLength: 1 description: Maintenance identifier RULE_INDEX: type: string maxLength: 20 description: Char 20 RULE_REF: type: integer format: int32 description: Reference counter RULEID1: type: string maxLength: 25 description: Internal Identification of Rules of Periodic Appointments RULEID2: type: string maxLength: 25 description: Internal Identification of Rules of Periodic Appointments RULEID3: type: string maxLength: 25 description: Internal Identification of Rules of Periodic Appointments RULEID4: type: string maxLength: 25 description: Internal Identification of Rules of Periodic Appointments RULEID5: type: string maxLength: 25 description: Internal Identification of Rules of Periodic Appointments RULEID6: type: string maxLength: 25 description: Internal Identification of Rules of Periodic Appointments RULEID7: type: string maxLength: 25 description: Internal Identification of Rules of Periodic Appointments RULEID8: type: string maxLength: 25 description: Internal Identification of Rules of Periodic Appointments DAILYRULES: type: array items: type: object properties: RULE_ID: type: string maxLength: 25 description: Internal Identification of Rules of Periodic Appointments TYPE: type: string maxLength: 2 description: Version Number Component START_DATE: type: string format: date description: Start Date for Rule Period END_DATE: type: string format: date description: End Date for Rule Period CONFLICTS: type: string maxLength: 1 description: Exception Rule for Non-Working Days FCALID: type: string maxLength: 2 description: Factory Calendar HCALID: type: string maxLength: 2 description: Public Holiday Calendar INFO_DEL: type: string maxLength: 1 description: Maintenance identifier RULE_INDEX: type: string maxLength: 20 description: Char 20 RULE_REF: type: integer format: int32 description: Reference counter DAYS: type: string maxLength: 3 description: Number of Days Between Appointments TIME_FROM: type: string maxLength: 6 description: Start Time on this Weekday TIME_TO: type: string maxLength: 6 description: Finish time of this weekday TZONE: type: string maxLength: 6 description: Time zone for this weekday OVER: type: integer format: int32 description: Number of skipped days for this weekday FIXEDRULES: type: array items: type: object properties: RULE_ID: type: string maxLength: 25 description: Internal Identification of Rules of Periodic Appointments TYPE: type: string maxLength: 2 description: Version Number Component START_DATE: type: string format: date description: Start Date for Rule Period END_DATE: type: string format: date description: End Date for Rule Period CONFLICTS: type: string maxLength: 1 description: Exception Rule for Non-Working Days FCALID: type: string maxLength: 2 description: Factory Calendar HCALID: type: string maxLength: 2 description: Public Holiday Calendar INFO_DEL: type: string maxLength: 1 description: Maintenance identifier RULE_INDEX: type: string maxLength: 20 description: Char 20 RULE_REF: type: integer format: int32 description: Reference counter YEAR_FROM: type: string maxLength: 4 description: Year MONTH_FROM: type: string maxLength: 2 description: Month in year DAY_FROM: type: string maxLength: 2 description: Day in the month TIME_FROM: type: string maxLength: 6 description: From Time ZONE_FROM: type: string maxLength: 6 description: 'Appointment calendar: Time zone of start of appointment' YEAR_TO: type: string maxLength: 4 description: Year MONTH_TO: type: string maxLength: 2 description: Month in year DAY_TO: type: string maxLength: 2 description: Day in the month TIME_TO: type: string maxLength: 6 description: To Time ZONE_TO: type: string maxLength: 6 description: 'Appointment calendar: Time zone of end of appointment' OVER: type: integer format: int32 description: Number of skipped days for this weekday MONTHLYRULES1: type: array items: type: object properties: RULE_ID: type: string maxLength: 25 description: Internal Identification of Rules of Periodic Appointments TYPE: type: string maxLength: 2 description: Version Number Component START_DATE: type: string format: date description: Start Date for Rule Period END_DATE: type: string format: date description: End Date for Rule Period CONFLICTS: type: string maxLength: 1 description: Exception Rule for Non-Working Days FCALID: type: string maxLength: 2 description: Factory Calendar HCALID: type: string maxLength: 2 description: Public Holiday Calendar INFO_DEL: type: string maxLength: 1 description: Maintenance identifier RULE_INDEX: type: string maxLength: 20 description: Char 20 RULE_REF: type: integer format: int32 description: Reference counter DAYS: type: string maxLength: 2 description: Version Number Component MONTH: type: string maxLength: 2 description: Version Number Component TIME_FROM: type: string maxLength: 6 description: Start Time on this Weekday TIME_TO: type: string maxLength: 6 description: Finish time of this weekday TZONE: type: string maxLength: 6 description: Time zone for this weekday OVER: type: integer format: int32 description: Number of skipped days for this weekday MONTHLYRULES2: type: array items: type: object properties: RULE_ID: type: string maxLength: 25 description: Internal Identification of Rules of Periodic Appointments TYPE: type: string maxLength: 2 description: Version Number Component START_DATE: type: string format: date description: Start Date for Rule Period END_DATE: type: string format: date description: End Date for Rule Period CONFLICTS: type: string maxLength: 1 description: Exception Rule for Non-Working Days FCALID: type: string maxLength: 2 description: Factory Calendar HCALID: type: string maxLength: 2 description: Public Holiday Calendar INFO_DEL: type: string maxLength: 1 description: Maintenance identifier RULE_INDEX: type: string maxLength: 20 description: Char 20 RULE_REF: type: integer format: int32 description: Reference counter DAY_NR: type: integer format: int32 description: 2 byte integer (signed) WEEKDAY_NR: type: string maxLength: 1 description: 'Calendar: Number of day' MONTHS: type: string maxLength: 2 description: Version Number Component TIME_FROM: type: string maxLength: 6 description: Start Time on this Weekday TIME_TO: type: string maxLength: 6 description: Finish time of this weekday TZONE: type: string maxLength: 6 description: Time zone for this weekday OVER: type: integer format: int32 description: Number of skipped days for this weekday WEEKLYRULES: type: array items: type: object properties: RULE_ID: type: string maxLength: 25 description: Internal Identification of Rules of Periodic Appointments TYPE: type: string maxLength: 2 description: Version Number Component START_DATE: type: string format: date description: Start Date for Rule Period END_DATE: type: string format: date description: End Date for Rule Period CONFLICTS: type: string maxLength: 1 description: Exception Rule for Non-Working Days FCALID: type: string maxLength: 2 description: Factory Calendar HCALID: type: string maxLength: 2 description: Public Holiday Calendar INFO_DEL: type: string maxLength: 1 description: Maintenance identifier RULE_INDEX: type: string maxLength: 20 description: Char 20 RULE_REF: type: integer format: int32 description: Reference counter WEEKS: type: string maxLength: 2 description: Number of weeks in the week rule MONDAY: type: string maxLength: 1 description: Is this weekday active? TUESDAY: type: string maxLength: 1 description: Is this weekday active? WEDNESDAY: type: string maxLength: 1 description: Is this weekday active? THURSDAY: type: string maxLength: 1 description: Is this weekday active? FRIDAY: type: string maxLength: 1 description: Is this weekday active? SATURDAY: type: string maxLength: 1 description: Is this weekday active? SUNDAY: type: string maxLength: 1 description: Is this weekday active? MONDA_FROM: type: string maxLength: 6 description: Start Time on this Weekday TUESD_FROM: type: string maxLength: 6 description: Start Time on this Weekday WEDNE_FROM: type: string maxLength: 6 description: Start Time on this Weekday THURS_FROM: type: string maxLength: 6 description: Start Time on this Weekday FRIDA_FROM: type: string maxLength: 6 description: Start Time on this Weekday SATUR_FROM: type: string maxLength: 6 description: Start Time on this Weekday SUNDA_FROM: type: string maxLength: 6 description: Start Time on this Weekday MONDAY_TO: type: string maxLength: 6 description: Finish time of this weekday TUESDAY_TO: type: string maxLength: 6 description: Finish time of this weekday WEDNESD_TO: type: string maxLength: 6 description: Finish time of this weekday THURSDA_TO: type: string maxLength: 6 description: Finish time of this weekday FRIDAY_TO: type: string maxLength: 6 description: Finish time of this weekday SATURDA_TO: type: string maxLength: 6 description: Finish time of this weekday SUNDAY_TO: type: string maxLength: 6 description: Finish time of this weekday MOND_TZONE: type: string maxLength: 6 description: Time zone for this weekday TUES_TZONE: type: string maxLength: 6 description: Time zone for this weekday WEDN_TZONE: type: string maxLength: 6 description: Time zone for this weekday THUR_TZONE: type: string maxLength: 6 description: Time zone for this weekday FRID_TZONE: type: string maxLength: 6 description: Time zone for this weekday SATU_TZONE: type: string maxLength: 6 description: Time zone for this weekday SUND_TZONE: type: string maxLength: 6 description: Time zone for this weekday MONDY_OVER: type: integer format: int32 description: Number of skipped days for this weekday TUESD_OVER: type: integer format: int32 description: Number of skipped days for this weekday WEDNE_OVER: type: integer format: int32 description: Number of skipped days for this weekday THURS_OVER: type: integer format: int32 description: Number of skipped days for this weekday FRIDA_OVER: type: integer format: int32 description: Number of skipped days for this weekday SATUR_OVER: type: integer format: int32 description: Number of skipped days for this weekday SUNDA_OVER: type: integer format: int32 description: Number of skipped days for this weekday required: - BUSINESSPARTNER - SCHEDULE_TYPE responses: '200': description: OK content: application/json: schema: properties: RULE_ID: type: string maxLength: 25 description: Internal Identification of Rules of Periodic Appointments COMBINEDRULE: type: array items: type: object properties: RULE_ID: type: string maxLength: 25 description: Internal Identification of Rules of Periodic Appointments TYPE: type: string maxLength: 2 description: Version Number Component START_DATE: type: string format: date description: Start Date for Rule Period END_DATE: type: string format: date description: End Date for Rule Period CONFLICTS: type: string maxLength: 1 description: Exception Rule for Non-Working Days FCALID: type: string maxLength: 2 description: Factory Calendar HCALID: type: string maxLength: 2 description: Public Holiday Calendar INFO_DEL: type: string maxLength: 1 description: Maintenance identifier RULE_INDEX: type: string maxLength: 20 description: Char 20 RULE_REF: type: integer format: int32 description: Reference counter RULEID1: type: string maxLength: 25 description: Internal Identification of Rules of Periodic Appointments RULEID2: type: string maxLength: 25 description: Internal Identification of Rules of Periodic Appointments RULEID3: type: string maxLength: 25 description: Internal Identification of Rules of Periodic Appointments RULEID4: type: string maxLength: 25 description: Internal Identification of Rules of Periodic Appointments RULEID5: type: string maxLength: 25 description: Internal Identification of Rules of Periodic Appointments RULEID6: type: string maxLength: 25 description: Internal Identification of Rules of Periodic Appointments RULEID7: type: string maxLength: 25 description: Internal Identification of Rules of Periodic Appointments RULEID8: type: string maxLength: 25 description: Internal Identification of Rules of Periodic Appointments DAILYRULES: type: array items: type: object properties: RULE_ID: type: string maxLength: 25 description: Internal Identification of Rules of Periodic Appointments TYPE: type: string maxLength: 2 description: Version Number Component START_DATE: type: string format: date description: Start Date for Rule Period END_DATE: type: string format: date description: End Date for Rule Period CONFLICTS: type: string maxLength: 1 description: Exception Rule for Non-Working Days FCALID: type: string maxLength: 2 description: Factory Calendar HCALID: type: string maxLength: 2 description: Public Holiday Calendar INFO_DEL: type: string maxLength: 1 description: Maintenance identifier RULE_INDEX: type: string maxLength: 20 description: Char 20 RULE_REF: type: integer format: int32 description: Reference counter DAYS: type: string maxLength: 3 description: Number of Days Between Appointments TIME_FROM: type: string maxLength: 6 description: Start Time on this Weekday TIME_TO: type: string maxLength: 6 description: Finish time of this weekday TZONE: type: string maxLength: 6 description: Time zone for this weekday OVER: type: integer format: int32 description: Number of skipped days for this weekday FIXEDRULES: type: array items: type: object properties: RULE_ID: type: string maxLength: 25 description: Internal Identification of Rules of Periodic Appointments TYPE: type: string maxLength: 2 description: Version Number Component START_DATE: type: string format: date description: Start Date for Rule Period END_DATE: type: string format: date description: End Date for Rule Period CONFLICTS: type: string maxLength: 1 description: Exception Rule for Non-Working Days FCALID: type: string maxLength: 2 description: Factory Calendar HCALID: type: string maxLength: 2 description: Public Holiday Calendar INFO_DEL: type: string maxLength: 1 description: Maintenance identifier RULE_INDEX: type: string maxLength: 20 description: Char 20 RULE_REF: type: integer format: int32 description: Reference counter YEAR_FROM: type: string maxLength: 4 description: Year MONTH_FROM: type: string maxLength: 2 description: Month in year DAY_FROM: type: string maxLength: 2 description: Day in the month TIME_FROM: type: string maxLength: 6 description: From Time ZONE_FROM: type: string maxLength: 6 description: 'Appointment calendar: Time zone of start of appointment' YEAR_TO: type: string maxLength: 4 description: Year MONTH_TO: type: string maxLength: 2 description: Month in year DAY_TO: type: string maxLength: 2 description: Day in the month TIME_TO: type: string maxLength: 6 description: To Time ZONE_TO: type: string maxLength: 6 description: 'Appointment calendar: Time zone of end of appointment' OVER: type: integer format: int32 description: Number of skipped days for this weekday MONTHLYRULES1: type: array items: type: object properties: RULE_ID: type: string maxLength: 25 description: Internal Identification of Rules of Periodic Appointments TYPE: type: string maxLength: 2 description: Version Number Component START_DATE: type: string format: date description: Start Date for Rule Period END_DATE: type: string format: date description: End Date for Rule Period CONFLICTS: type: string maxLength: 1 description: Exception Rule for Non-Working Days FCALID: type: string maxLength: 2 description: Factory Calendar HCALID: type: string maxLength: 2 description: Public Holiday Calendar INFO_DEL: type: string maxLength: 1 description: Maintenance identifier RULE_INDEX: type: string maxLength: 20 description: Char 20 RULE_REF: type: integer format: int32 description: Reference counter DAYS: type: string maxLength: 2 description: Version Number Component MONTH: type: string maxLength: 2 description: Version Number Component TIME_FROM: type: string maxLength: 6 description: Start Time on this Weekday TIME_TO: type: string maxLength: 6 description: Finish time of this weekday TZONE: type: string maxLength: 6 description: Time zone for this weekday OVER: type: integer format: int32 description: Number of skipped days for this weekday MONTHLYRULES2: type: array items: type: object properties: RULE_ID: type: string maxLength: 25 description: Internal Identification of Rules of Periodic Appointments TYPE: type: string maxLength: 2 description: Version Number Component START_DATE: type: string format: date description: Start Date for Rule Period END_DATE: type: string format: date description: End Date for Rule Period CONFLICTS: type: string maxLength: 1 description: Exception Rule for Non-Working Days FCALID: type: string maxLength: 2 description: Factory Calendar HCALID: type: string maxLength: 2 description: Public Holiday Calendar INFO_DEL: type: string maxLength: 1 description: Maintenance identifier RULE_INDEX: type: string maxLength: 20 description: Char 20 RULE_REF: type: integer format: int32 description: Reference counter DAY_NR: type: integer format: int32 description: 2 byte integer (signed) WEEKDAY_NR: type: string maxLength: 1 description: 'Calendar: Number of day' MONTHS: type: string maxLength: 2 description: Version Number Component TIME_FROM: type: string maxLength: 6 description: Start Time on this Weekday TIME_TO: type: string maxLength: 6 description: Finish time of this weekday TZONE: type: string maxLength: 6 description: Time zone for this weekday OVER: type: integer format: int32 description: Number of skipped days for this weekday RETURN: type: array items: type: object properties: TYPE: type: string maxLength: 1 description: 'Message type: S Success, E Error, W Warning, I Info, A Abort' ID: type: string maxLength: 20 description: Message Class NUMBER: type: integer format: int64 description: Message Number MESSAGE: type: string maxLength: 220 description: Message Text LOG_NO: type: string maxLength: 20 description: 'Application log: log number' LOG_MSG_NO: type: integer format: int64 description: 'Application log: Internal message serial number' MESSAGE_V1: type: string maxLength: 50 description: Message Variable MESSAGE_V2: type: string maxLength: 50 description: Message Variable MESSAGE_V3: type: string maxLength: 50 description: Message Variable MESSAGE_V4: type: string maxLength: 50 description: Message Variable PARAMETER: type: string maxLength: 32 description: Parameter Name ROW: type: integer format: int32 description: Lines in parameter FIELD: type: string maxLength: 30 description: Field in parameter SYSTEM: type: string maxLength: 10 description: Logical system from which message originates WEEKLYRULES: type: array items: type: object properties: RULE_ID: type: string maxLength: 25 description: Internal Identification of Rules of Periodic Appointments TYPE: type: string maxLength: 2 description: Version Number Component START_DATE: type: string format: date description: Start Date for Rule Period END_DATE: type: string format: date description: End Date for Rule Period CONFLICTS: type: string maxLength: 1 description: Exception Rule for Non-Working Days FCALID: type: string maxLength: 2 description: Factory Calendar HCALID: type: string maxLength: 2 description: Public Holiday Calendar INFO_DEL: type: string maxLength: 1 description: Maintenance identifier RULE_INDEX: type: string maxLength: 20 description: Char 20 RULE_REF: type: integer format: int32 description: Reference counter WEEKS: type: string maxLength: 2 description: Number of weeks in the week rule MONDAY: type: string maxLength: 1 description: Is this weekday active? TUESDAY: type: string maxLength: 1 description: Is this weekday active? WEDNESDAY: type: string maxLength: 1 description: Is this weekday active? THURSDAY: type: string maxLength: 1 description: Is this weekday active? FRIDAY: type: string maxLength: 1 description: Is this weekday active? SATURDAY: type: string maxLength: 1 description: Is this weekday active? SUNDAY: type: string maxLength: 1 description: Is this weekday active? MONDA_FROM: type: string maxLength: 6 description: Start Time on this Weekday TUESD_FROM: type: string maxLength: 6 description: Start Time on this Weekday WEDNE_FROM: type: string maxLength: 6 description: Start Time on this Weekday THURS_FROM: type: string maxLength: 6 description: Start Time on this Weekday FRIDA_FROM: type: string maxLength: 6 description: Start Time on this Weekday SATUR_FROM: type: string maxLength: 6 description: Start Time on this Weekday SUNDA_FROM: type: string maxLength: 6 description: Start Time on this Weekday MONDAY_TO: type: string maxLength: 6 description: Finish time of this weekday TUESDAY_TO: type: string maxLength: 6 description: Finish time of this weekday WEDNESD_TO: type: string maxLength: 6 description: Finish time of this weekday THURSDA_TO: type: string maxLength: 6 description: Finish time of this weekday FRIDAY_TO: type: string maxLength: 6 description: Finish time of this weekday SATURDA_TO: type: string maxLength: 6 description: Finish time of this weekday SUNDAY_TO: type: string maxLength: 6 description: Finish time of this weekday MOND_TZONE: type: string maxLength: 6 description: Time zone for this weekday TUES_TZONE: type: string maxLength: 6 description: Time zone for this weekday WEDN_TZONE: type: string maxLength: 6 description: Time zone for this weekday THUR_TZONE: type: string maxLength: 6 description: Time zone for this weekday FRID_TZONE: type: string maxLength: 6 description: Time zone for this weekday SATU_TZONE: type: string maxLength: 6 description: Time zone for this weekday SUND_TZONE: type: string maxLength: 6 description: Time zone for this weekday MONDY_OVER: type: integer format: int32 description: Number of skipped days for this weekday TUESD_OVER: type: integer format: int32 description: Number of skipped days for this weekday WEDNE_OVER: type: integer format: int32 description: Number of skipped days for this weekday THURS_OVER: type: integer format: int32 description: Number of skipped days for this weekday FRIDA_OVER: type: integer format: int32 description: Number of skipped days for this weekday SATUR_OVER: type: integer format: int32 description: Number of skipped days for this weekday SUNDA_OVER: type: integer format: int32 description: Number of skipped days for this weekday '400': description: Bad request. 5XX: description: Unexpected error.