openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RPY_ENTITY_SELECT:
    post:
      tags:
      - SIDM
      operationId: /rfc/RPY_ENTITY_SELECT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CICO_MODE:
                  type: string
                  default: R
                  maxLength: 1
                  description: Checkin / checkout mode
                CICO_REQUEST_NO:
                  type: string
                  default: ' '
                  maxLength: 20
                  description: Checkin / check out administration number
                ENTITY_ID_PATTERN:
                  type: string
                  default: ' '
                  maxLength: 26
                  description: Pattern of entity types to be read
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language for reading the descriptions
                SHORT_TEXT_PATTERN:
                  type: string
                  default: ' '
                  maxLength: 60
                  description: Patt. of short descr. of entity types to be read
                ENTITY_INFOS:
                  type: array
                  items:
                    type: object
                    properties:
                      LANGUAGE:
                        type: string
                        maxLength: 1
                        description: Language Key
                      ENTITY_ID:
                        type: string
                        maxLength: 26
                        description: Entity type name
                      FLGTIMEDEP:
                        type: string
                        maxLength: 1
                        description: 'Time-dependency flag  enumValues: ""=Non-time-dependent,X=Time-dependent'
                        enum:
                        - ''
                        - X
                      TIME_UNIT:
                        type: string
                        maxLength: 2
                        description: 'Time unit  enumValues: 40=Value date,28=Fiscal year,23=Planning periods,8=Time,1=History,34=Fiscal year/acquisition year,""=Not a measurement unit,32=Acquisition year/asset retirement year,3=Month,29=Calendar year,12=Schedule line date,26=Acquisition year,10=Valid from date,24=Planning time,35=Fiscal year/acquisition period,36=Fiscal year/calendar year,30=Movement time,14=Creation time,27=Asset retirement year,7=Section of the day,19=Time of birth,31=Execution
                          time,39=Due Date,18=Shift,41=Approval year,5=Hour,20=Time of physical inventory,22=Posting period,4=Period,13=Delivery date,15=Requirements time,17=End time,37=Posting period/calendar year,2=Year,38=Posting period/acquisition period,21=Posting time,25=Acquisition period,33=Planning period/planning time,9=Validity period,6=Day,16=Start time,11=End of validity period'
                        enum:
                        - '40'
                        - '28'
                        - '23'
                        - '8'
                        - '1'
                        - '34'
                        - ''
                        - '32'
                        - '3'
                        - '29'
                        - '12'
                        - '26'
                        - '10'
                        - '24'
                        - '35'
                        - '36'
                        - '30'
                        - '14'
                        - '27'
                        - '7'
                        - '19'
                        - '31'
                        - '39'
                        - '18'
                        - '41'
                        - '5'
                        - '20'
                        - '22'
                        - '4'
                        - '13'
                        - '15'
                        - '17'
                        - '37'
                        - '2'
                        - '38'
                        - '21'
                        - '25'
                        - '33'
                        - '9'
                        - '6'
                        - '16'
                        - '11'
                      CUSTOMIZ:
                        type: string
                        maxLength: 1
                        description: 'Flag: customizing object  enumValues: A=Is generally applicable,C=Is only used in customizing,""=Is not used in customizing'
                        enum:
                        - A
                        - C
                        - ''
                      SHORTTEXT:
                        type: string
                        maxLength: 60
                        description: Short text
                      FSTUSER:
                        type: string
                        maxLength: 12
                        description: Created by
                      FSTDATE:
                        type: string
                        format: date
                        description: Date on which the record was created
                      FSTTIME:
                        type: string
                        maxLength: 6
                        description: Creation Time
                      LSTUSER:
                        type: string
                        maxLength: 12
                        description: Changed by
                      LSTDATE:
                        type: string
                        format: date
                        description: Changed on
                      LSTTIME:
                        type: string
                        maxLength: 6
                        description: Last changed at
                ERRORS:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJECTID:
                        type: string
                        maxLength: 30
                        description: Object name
                      OBJECTTYPE:
                        type: string
                        maxLength: 4
                        description: Object Type
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGTYPE:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGNUMBER:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGVAR1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGVAR2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGVAR3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGVAR4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      ERRORCLASS:
                        type: string
                        maxLength: 10
                        description: 'Error class repository API  enumValues: ERR_AUTH=Authorization error,ERR_INT=Internal error,ERR_TRLOCK=Long-term lock on object,ERR_CONSIS=Object is inconsistent,ERR_LANGU=Object has other master language,ERR_PARAM=Function module incorrectly parameterized,ERR_ENQ=Temporary lock on object,ERR_EXIST=Object does not exist,ERR_DOUBLE=Object already exists'
                        enum:
                        - ERR_AUTH
                        - ERR_INT
                        - ERR_TRLOCK
                        - ERR_CONSIS
                        - ERR_LANGU
                        - ERR_PARAM
                        - ERR_ENQ
                        - ERR_EXIST
                        - ERR_DOUBLE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ENTITY_INFOS:
                    type: array
                    items:
                      type: object
                      properties:
                        LANGUAGE:
                          type: string
                          maxLength: 1
                          description: Language Key
                        ENTITY_ID:
                          type: string
                          maxLength: 26
                          description: Entity type name
                        FLGTIMEDEP:
                          type: string
                          maxLength: 1
                          description: 'Time-dependency flag  enumValues: ""=Non-time-dependent,X=Time-dependent'
                          enum:
                          - ''
                          - X
                        TIME_UNIT:
                          type: string
                          maxLength: 2
                          description: 'Time unit  enumValues: 40=Value date,28=Fiscal year,23=Planning periods,8=Time,1=History,34=Fiscal year/acquisition year,""=Not a measurement unit,32=Acquisition year/asset retirement year,3=Month,29=Calendar year,12=Schedule line date,26=Acquisition year,10=Valid from date,24=Planning time,35=Fiscal year/acquisition period,36=Fiscal year/calendar year,30=Movement time,14=Creation time,27=Asset retirement year,7=Section of the day,19=Time of birth,31=Execution
                            time,39=Due Date,18=Shift,41=Approval year,5=Hour,20=Time of physical inventory,22=Posting period,4=Period,13=Delivery date,15=Requirements time,17=End time,37=Posting period/calendar year,2=Year,38=Posting period/acquisition period,21=Posting time,25=Acquisition period,33=Planning period/planning time,9=Validity period,6=Day,16=Start time,11=End of validity period'
                          enum:
                          - '40'
                          - '28'
                          - '23'
                          - '8'
                          - '1'
                          - '34'
                          - ''
                          - '32'
                          - '3'
                          - '29'
                          - '12'
                          - '26'
                          - '10'
                          - '24'
                          - '35'
                          - '36'
                          - '30'
                          - '14'
                          - '27'
                          - '7'
                          - '19'
                          - '31'
                          - '39'
                          - '18'
                          - '41'
                          - '5'
                          - '20'
                          - '22'
                          - '4'
                          - '13'
                          - '15'
                          - '17'
                          - '37'
                          - '2'
                          - '38'
                          - '21'
                          - '25'
                          - '33'
                          - '9'
                          - '6'
                          - '16'
                          - '11'
                        CUSTOMIZ:
                          type: string
                          maxLength: 1
                          description: 'Flag: customizing object  enumValues: A=Is generally applicable,C=Is only used in customizing,""=Is not used in customizing'
                          enum:
                          - A
                          - C
                          - ''
                        SHORTTEXT:
                          type: string
                          maxLength: 60
                          description: Short text
                        FSTUSER:
                          type: string
                          maxLength: 12
                          description: Created by
                        FSTDATE:
                          type: string
                          format: date
                          description: Date on which the record was created
                        FSTTIME:
                          type: string
                          maxLength: 6
                          description: Creation Time
                        LSTUSER:
                          type: string
                          maxLength: 12
                          description: Changed by
                        LSTDATE:
                          type: string
                          format: date
                          description: Changed on
                        LSTTIME:
                          type: string
                          maxLength: 6
                          description: Last changed at
                  ERRORS:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJECTID:
                          type: string
                          maxLength: 30
                          description: Object name
                        OBJECTTYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        MSGTYPE:
                          type: string
                          maxLength: 1
                          description: Message Type
                        MSGNUMBER:
                          type: integer
                          format: int64
                          description: Message Number
                        MSGVAR1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGVAR2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGVAR3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGVAR4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        ERRORCLASS:
                          type: string
                          maxLength: 10
                          description: 'Error class repository API  enumValues: ERR_AUTH=Authorization error,ERR_INT=Internal error,ERR_TRLOCK=Long-term lock on object,ERR_CONSIS=Object is inconsistent,ERR_LANGU=Object has other master language,ERR_PARAM=Function module incorrectly parameterized,ERR_ENQ=Temporary lock on object,ERR_EXIST=Object does not exist,ERR_DOUBLE=Object already exists'
                          enum:
                          - ERR_AUTH
                          - ERR_INT
                          - ERR_TRLOCK
                          - ERR_CONSIS
                          - ERR_LANGU
                          - ERR_PARAM
                          - ERR_ENQ
                          - ERR_EXIST
                          - ERR_DOUBLE
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
