openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CARD_CHAR_READ_DEP:
    post:
      tags:
      - CACTR
      operationId: /rfc/CARD_CHAR_READ_DEP
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CHANGE_NO:
                  type: string
                  default: ' '
                  maxLength: 12
                  description: with change number
                CHARACTERISTIC:
                  type: string
                  maxLength: 30
                  description: Characteristic
                DATE:
                  type: string
                  default: SY-DATUM
                  maxLength: 10
                  description: from
                GET_NEXT_DEPENDENCY:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: 'Flag: read next object dependency, otherwise: first'
                DEP_ASSIGN:
                  type: array
                  items:
                    type: object
                    properties:
                      DEPENDENCY:
                        type: string
                        maxLength: 30
                        description: Name of Dependency
                      PROC_ORDER:
                        type: integer
                        format: int64
                        description: Counter for sorting object allocations
                DESCRIPTION:
                  type: array
                  items:
                    type: object
                    properties:
                      LANGUAGE:
                        type: string
                        maxLength: 1
                        description: Language Key
                      DESCRIPT:
                        type: string
                        maxLength: 30
                        description: Dependency Description
                      FLDELETE:
                        type: string
                        maxLength: 1
                        description: 'Deletion Indicator  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      LANGUAGE_ISO:
                        type: string
                        maxLength: 2
                        description: Language according to ISO 639
                DOCUMENTATION:
                  type: array
                  items:
                    type: object
                    properties:
                      LANGUAGE:
                        type: string
                        maxLength: 1
                        description: Language Key
                      LINE_NO:
                        type: integer
                        format: int64
                        description: Row Number
                      TXT_FORM:
                        type: string
                        maxLength: 2
                        description: Tag column
                      TXT_LINE:
                        type: string
                        maxLength: 132
                        description: Text Line
                      LANGUAGE_ISO:
                        type: string
                        maxLength: 2
                        description: Language according to ISO 639
                SOURCE:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE_NO:
                        type: integer
                        format: int64
                        description: Row Number
                      LINE:
                        type: string
                        maxLength: 72
                        description: Line of object dependency source (72 characters)
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DEPENDENCY_DATA:
                    type: object
                    properties:
                      DEP_TYPE:
                        type: string
                        maxLength: 4
                        description: 'Dependency type  enumValues: 3=Action,1=Constraint,2=Precondition,7=Procedure,4=Rule,5=Selection condition,6=Dependency net'
                        enum:
                        - '3'
                        - '1'
                        - '2'
                        - '7'
                        - '4'
                        - '5'
                        - '6'
                      DEP_TYPE2:
                        type: string
                        maxLength: 1
                        description: 'Dependency type - supplement  enumValues: 1=Event-controlled,""=Standard,2=Monitoring'
                        enum:
                        - '1'
                        - ''
                        - '2'
                      SCE_FLAG:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Dependencies for SCE Format  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      STATUS:
                        type: string
                        maxLength: 1
                        description: Dependency status
                      GROUP:
                        type: string
                        maxLength: 10
                        description: Dependency Group
                      WHR_TO_USE:
                        type: string
                        maxLength: 3
                        description: Authorization to Maintain Object Dependencies for Objects
                  DEPENDENCY_ORDER:
                    type: integer
                    format: int64
                    description: Procedure order_
                  RETURN:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                      CODE:
                        type: string
                        maxLength: 5
                        description: Message code
                      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
                  DEP_ASSIGN:
                    type: array
                    items:
                      type: object
                      properties:
                        DEPENDENCY:
                          type: string
                          maxLength: 30
                          description: Name of Dependency
                        PROC_ORDER:
                          type: integer
                          format: int64
                          description: Counter for sorting object allocations
                  DESCRIPTION:
                    type: array
                    items:
                      type: object
                      properties:
                        LANGUAGE:
                          type: string
                          maxLength: 1
                          description: Language Key
                        DESCRIPT:
                          type: string
                          maxLength: 30
                          description: Dependency Description
                        FLDELETE:
                          type: string
                          maxLength: 1
                          description: 'Deletion Indicator  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        LANGUAGE_ISO:
                          type: string
                          maxLength: 2
                          description: Language according to ISO 639
                  DOCUMENTATION:
                    type: array
                    items:
                      type: object
                      properties:
                        LANGUAGE:
                          type: string
                          maxLength: 1
                          description: Language Key
                        LINE_NO:
                          type: integer
                          format: int64
                          description: Row Number
                        TXT_FORM:
                          type: string
                          maxLength: 2
                          description: Tag column
                        TXT_LINE:
                          type: string
                          maxLength: 132
                          description: Text Line
                        LANGUAGE_ISO:
                          type: string
                          maxLength: 2
                          description: Language according to ISO 639
                  SOURCE:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE_NO:
                          type: integer
                          format: int64
                          description: Row Number
                        LINE:
                          type: string
                          maxLength: 72
                          description: Line of object dependency source (72 characters)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
