openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/APPOINTMENT_TYPE_GET:
    post:
      tags:
      - SSC6
      operationId: /rfc/APPOINTMENT_TYPE_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                APPT_GROUP:
                  type: string
                  default: '*'
                  maxLength: 12
                  description: Technical Name of Appointment Type Group
                APPT_TYPE:
                  type: string
                  default: '*'
                  maxLength: 12
                  description: Technical appointment type name
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language
                APPOINTMENT_TYPES:
                  type: array
                  items:
                    type: object
                    properties:
                      APPT_TYPE:
                        type: string
                        maxLength: 12
                        description: Technical Date Type Name
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      TXT_LONG:
                        type: string
                        maxLength: 40
                        description: Description
                      REQU_TEXT:
                        type: string
                        maxLength: 1
                        description: 'Appointment title required entry flag  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      REQU_ROOM:
                        type: string
                        maxLength: 1
                        description: 'A Room Must Be Specified for Appointments of this Type  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      NO_CREATEE:
                        type: string
                        maxLength: 1
                        description: 'Locked Functions for this Appt. Type in SAP or Externally  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      NO_CREATEI:
                        type: string
                        maxLength: 1
                        description: 'Locked Functions for this Appt. Type in SAP or Externally  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      NO_CHANGEE:
                        type: string
                        maxLength: 1
                        description: 'Locked Functions for this Appt. Type in SAP or Externally  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      NO_CHANGEI:
                        type: string
                        maxLength: 1
                        description: 'Locked Functions for this Appt. Type in SAP or Externally  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      NO_DELETEE:
                        type: string
                        maxLength: 1
                        description: 'Locked Functions for this Appt. Type in SAP or Externally  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      NO_DELETEI:
                        type: string
                        maxLength: 1
                        description: 'Locked Functions for this Appt. Type in SAP or Externally  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      COLOR:
                        type: integer
                        format: int32
                        description: 'Appointment Management: Color of Appts. of Certain Types  enumValues: 7=Red,8=Violet,1=Background,4=Yellow,5=Blue-green,3=Light gray,2=Gray-blue,6=Green'
                        enum:
                        - '7'
                        - '8'
                        - '1'
                        - '4'
                        - '5'
                        - '3'
                        - '2'
                        - '6'
                      ICON:
                        type: string
                        maxLength: 4
                        description: 'Appointment Management: Icon for Appts of Certain Types'
                      FUNCMODULE:
                        type: string
                        maxLength: 30
                        description: Name of function module
                      APPT_GROUP:
                        type: string
                        maxLength: 12
                        description: Technical Name of Appointment Type Group
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN_CODE:
                    type: integer
                    format: int32
                    description: Return Code
                  APPOINTMENT_TYPES:
                    type: array
                    items:
                      type: object
                      properties:
                        APPT_TYPE:
                          type: string
                          maxLength: 12
                          description: Technical Date Type Name
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        TXT_LONG:
                          type: string
                          maxLength: 40
                          description: Description
                        REQU_TEXT:
                          type: string
                          maxLength: 1
                          description: 'Appointment title required entry flag  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        REQU_ROOM:
                          type: string
                          maxLength: 1
                          description: 'A Room Must Be Specified for Appointments of this Type  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        NO_CREATEE:
                          type: string
                          maxLength: 1
                          description: 'Locked Functions for this Appt. Type in SAP or Externally  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        NO_CREATEI:
                          type: string
                          maxLength: 1
                          description: 'Locked Functions for this Appt. Type in SAP or Externally  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        NO_CHANGEE:
                          type: string
                          maxLength: 1
                          description: 'Locked Functions for this Appt. Type in SAP or Externally  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        NO_CHANGEI:
                          type: string
                          maxLength: 1
                          description: 'Locked Functions for this Appt. Type in SAP or Externally  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        NO_DELETEE:
                          type: string
                          maxLength: 1
                          description: 'Locked Functions for this Appt. Type in SAP or Externally  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        NO_DELETEI:
                          type: string
                          maxLength: 1
                          description: 'Locked Functions for this Appt. Type in SAP or Externally  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        COLOR:
                          type: integer
                          format: int32
                          description: 'Appointment Management: Color of Appts. of Certain Types  enumValues: 7=Red,8=Violet,1=Background,4=Yellow,5=Blue-green,3=Light gray,2=Gray-blue,6=Green'
                          enum:
                          - '7'
                          - '8'
                          - '1'
                          - '4'
                          - '5'
                          - '3'
                          - '2'
                          - '6'
                        ICON:
                          type: string
                          maxLength: 4
                          description: 'Appointment Management: Icon for Appts of Certain Types'
                        FUNCMODULE:
                          type: string
                          maxLength: 30
                          description: Name of function module
                        APPT_GROUP:
                          type: string
                          maxLength: 12
                          description: Technical Name of Appointment Type Group
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
