openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BAPI_ACTIVTY_GETDIAGRAMIDS:
    post:
      tags:
      - BEACTIVITY
      summary: Read diagram
      operationId: /rfc/BAPI_ACTIVTY_GETDIAGRAMIDS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ADDON:
                  type: string
                  maxLength: 15
                  description: Industry sector
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language key
                LANGUAGEISO:
                  type: string
                  maxLength: 2
                  description: Language according to ISO 639
                LOCKDIAVAR:
                  type: string
                  maxLength: 1
                  description: Lock diagram variant
                LOCKOCCDIAVAR:
                  type: string
                  maxLength: 1
                  description: Lock occurrence diagram variant
                LOCKPROCDIA:
                  type: string
                  maxLength: 1
                  description: Lock diagram module
                ACTIVITIES_ALL:
                  type: array
                  items:
                    type: object
                    properties:
                      NODE_GUID:
                        type: string
                        format: byte
                        description: 16 byte GUID
                      NODE_TYPE:
                        type: string
                        maxLength: 4
                        description: Valid Node Types in Structure Repository
                      NAME:
                        type: string
                        maxLength: 75
                        description: Explanatory text
                      REF_TYPE:
                        type: string
                        maxLength: 4
                        description: Valid Reference Types in Structure Repository
                      REF_OBJECT:
                        type: string
                        maxLength: 70
                        description: Referenced object for node
                      DEVCLASS:
                        type: string
                        maxLength: 30
                        description: Package
                      ONLINE:
                        type: string
                        maxLength: 1
                        description: 'Processing type: online  enumValues: ""=Attribute does not apply,X=Attribute applies'
                        enum:
                        - ''
                        - X
                      BATCH:
                        type: string
                        maxLength: 1
                        description: 'Processing type: background  enumValues: ""=Attribute does not apply,X=Attribute applies'
                        enum:
                        - ''
                        - X
                      AUTOMATIC:
                        type: string
                        maxLength: 1
                        description: 'Processing type: automatic  enumValues: ""=Attribute does not apply,X=Attribute applies'
                        enum:
                        - ''
                        - X
                      MANUAL:
                        type: string
                        maxLength: 1
                        description: 'Processing type: manual  enumValues: ""=Attribute does not apply,X=Attribute applies'
                        enum:
                        - ''
                        - X
                      OPTIONAL:
                        type: string
                        maxLength: 1
                        description: 'Functional use: optional function  enumValues: ""=Attribute does not apply,X=Attribute applies'
                        enum:
                        - ''
                        - X
                      MODEL_ONLY:
                        type: string
                        maxLength: 1
                        description: 'Modeling function  enumValues: ""=Attribute does not apply,X=Attribute applies'
                        enum:
                        - ''
                        - X
                      HIER_ONLY:
                        type: string
                        maxLength: 1
                        description: 'Data element for Flag - Any use  enumValues: ""=Attribute does not apply,X=Attribute applies'
                        enum:
                        - ''
                        - X
                      STATE:
                        type: string
                        maxLength: 2
                        description: 'Modeling status  enumValues: 01=In Process,02=Locked,""=Released'
                        enum:
                        - '01'
                        - '02'
                        - ''
                      APP_COMP:
                        type: string
                        maxLength: 20
                        description: Application Component
                      PROC_COMP:
                        type: string
                        maxLength: 20
                        description: Object definition
                      OCC_ACTIVE:
                        type: string
                        maxLength: 1
                        description: 'Data element for Flag - Any use  enumValues: ""=Attribute does not apply,X=Attribute applies'
                        enum:
                        - ''
                        - X
                      VAR_ACTIVE:
                        type: string
                        maxLength: 1
                        description: 'Data element for Flag - Any use  enumValues: ""=Attribute does not apply,X=Attribute applies'
                        enum:
                        - ''
                        - X
                      HAS_DIA:
                        type: string
                        maxLength: 1
                        description: 'Data element for Flag - Any use  enumValues: ""=Attribute does not apply,X=Attribute applies'
                        enum:
                        - ''
                        - X
                DIAVARHEADER:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 20
                        description: Variant
                      GUID:
                        type: string
                        format: byte
                        description: 16 byte GUID
                      DEVCLASS:
                        type: string
                        maxLength: 30
                        description: Package
                      HSTRUCT_ID:
                        type: string
                        format: byte
                        description: 16 byte GUID
                      HNODE_ID:
                        type: string
                        format: byte
                        description: 16 byte GUID
                      COMP_DIA:
                        type: string
                        maxLength: 20
                        description: Parent object ID
                      PROC_VAR:
                        type: string
                        maxLength: 20
                        description: Variant
                      STATE:
                        type: string
                        maxLength: 2
                        description: 'Modeling status  enumValues: 01=In Process,02=Locked,""=Released'
                        enum:
                        - '01'
                        - '02'
                        - ''
                      NAME:
                        type: string
                        maxLength: 100
                        description: Name
                OCCDIAVARHEADER:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 20
                        description: Variant
                      GUID:
                        type: string
                        format: byte
                        description: 16 byte GUID
                      DEVCLASS:
                        type: string
                        maxLength: 30
                        description: Package
                      HSTRUCT_ID:
                        type: string
                        format: byte
                        description: 16 byte GUID
                      HNODE_ID:
                        type: string
                        format: byte
                        description: 16 byte GUID
                      COMP_DIA:
                        type: string
                        maxLength: 20
                        description: Parent object ID
                      PROC_VAR:
                        type: string
                        maxLength: 20
                        description: Variant
                      STATE:
                        type: string
                        maxLength: 2
                        description: 'Modeling status  enumValues: 01=In Process,02=Locked,""=Released'
                        enum:
                        - '01'
                        - '02'
                        - ''
                      NAME:
                        type: string
                        maxLength: 100
                        description: Name
                PROCDIAHEADER:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 20
                        description: Parent object ID
                      GUID:
                        type: string
                        format: byte
                        description: 16 byte GUID
                      DEVCLASS:
                        type: string
                        maxLength: 30
                        description: Package
                      HSTRUCT_ID:
                        type: string
                        format: byte
                        description: 16 byte GUID
                      HNODE_ID:
                        type: string
                        format: byte
                        description: 16 byte GUID
                      STATE:
                        type: string
                        maxLength: 2
                        description: 'Modeling status  enumValues: 01=In Process,02=Locked,""=Released'
                        enum:
                        - '01'
                        - '02'
                        - ''
                      PROC_COMP:
                        type: string
                        maxLength: 20
                        description: Object definition
                      NAME:
                        type: string
                        maxLength: 100
                        description: Name
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ACTIVITIES_ALL:
                    type: array
                    items:
                      type: object
                      properties:
                        NODE_GUID:
                          type: string
                          format: byte
                          description: 16 byte GUID
                        NODE_TYPE:
                          type: string
                          maxLength: 4
                          description: Valid Node Types in Structure Repository
                        NAME:
                          type: string
                          maxLength: 75
                          description: Explanatory text
                        REF_TYPE:
                          type: string
                          maxLength: 4
                          description: Valid Reference Types in Structure Repository
                        REF_OBJECT:
                          type: string
                          maxLength: 70
                          description: Referenced object for node
                        DEVCLASS:
                          type: string
                          maxLength: 30
                          description: Package
                        ONLINE:
                          type: string
                          maxLength: 1
                          description: 'Processing type: online  enumValues: ""=Attribute does not apply,X=Attribute applies'
                          enum:
                          - ''
                          - X
                        BATCH:
                          type: string
                          maxLength: 1
                          description: 'Processing type: background  enumValues: ""=Attribute does not apply,X=Attribute applies'
                          enum:
                          - ''
                          - X
                        AUTOMATIC:
                          type: string
                          maxLength: 1
                          description: 'Processing type: automatic  enumValues: ""=Attribute does not apply,X=Attribute applies'
                          enum:
                          - ''
                          - X
                        MANUAL:
                          type: string
                          maxLength: 1
                          description: 'Processing type: manual  enumValues: ""=Attribute does not apply,X=Attribute applies'
                          enum:
                          - ''
                          - X
                        OPTIONAL:
                          type: string
                          maxLength: 1
                          description: 'Functional use: optional function  enumValues: ""=Attribute does not apply,X=Attribute applies'
                          enum:
                          - ''
                          - X
                        MODEL_ONLY:
                          type: string
                          maxLength: 1
                          description: 'Modeling function  enumValues: ""=Attribute does not apply,X=Attribute applies'
                          enum:
                          - ''
                          - X
                        HIER_ONLY:
                          type: string
                          maxLength: 1
                          description: 'Data element for Flag - Any use  enumValues: ""=Attribute does not apply,X=Attribute applies'
                          enum:
                          - ''
                          - X
                        STATE:
                          type: string
                          maxLength: 2
                          description: 'Modeling status  enumValues: 01=In Process,02=Locked,""=Released'
                          enum:
                          - '01'
                          - '02'
                          - ''
                        APP_COMP:
                          type: string
                          maxLength: 20
                          description: Application Component
                        PROC_COMP:
                          type: string
                          maxLength: 20
                          description: Object definition
                        OCC_ACTIVE:
                          type: string
                          maxLength: 1
                          description: 'Data element for Flag - Any use  enumValues: ""=Attribute does not apply,X=Attribute applies'
                          enum:
                          - ''
                          - X
                        VAR_ACTIVE:
                          type: string
                          maxLength: 1
                          description: 'Data element for Flag - Any use  enumValues: ""=Attribute does not apply,X=Attribute applies'
                          enum:
                          - ''
                          - X
                        HAS_DIA:
                          type: string
                          maxLength: 1
                          description: 'Data element for Flag - Any use  enumValues: ""=Attribute does not apply,X=Attribute applies'
                          enum:
                          - ''
                          - X
                  DIAVARHEADER:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 20
                          description: Variant
                        GUID:
                          type: string
                          format: byte
                          description: 16 byte GUID
                        DEVCLASS:
                          type: string
                          maxLength: 30
                          description: Package
                        HSTRUCT_ID:
                          type: string
                          format: byte
                          description: 16 byte GUID
                        HNODE_ID:
                          type: string
                          format: byte
                          description: 16 byte GUID
                        COMP_DIA:
                          type: string
                          maxLength: 20
                          description: Parent object ID
                        PROC_VAR:
                          type: string
                          maxLength: 20
                          description: Variant
                        STATE:
                          type: string
                          maxLength: 2
                          description: 'Modeling status  enumValues: 01=In Process,02=Locked,""=Released'
                          enum:
                          - '01'
                          - '02'
                          - ''
                        NAME:
                          type: string
                          maxLength: 100
                          description: Name
                  OCCDIAVARHEADER:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 20
                          description: Variant
                        GUID:
                          type: string
                          format: byte
                          description: 16 byte GUID
                        DEVCLASS:
                          type: string
                          maxLength: 30
                          description: Package
                        HSTRUCT_ID:
                          type: string
                          format: byte
                          description: 16 byte GUID
                        HNODE_ID:
                          type: string
                          format: byte
                          description: 16 byte GUID
                        COMP_DIA:
                          type: string
                          maxLength: 20
                          description: Parent object ID
                        PROC_VAR:
                          type: string
                          maxLength: 20
                          description: Variant
                        STATE:
                          type: string
                          maxLength: 2
                          description: 'Modeling status  enumValues: 01=In Process,02=Locked,""=Released'
                          enum:
                          - '01'
                          - '02'
                          - ''
                        NAME:
                          type: string
                          maxLength: 100
                          description: Name
                  PROCDIAHEADER:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 20
                          description: Parent object ID
                        GUID:
                          type: string
                          format: byte
                          description: 16 byte GUID
                        DEVCLASS:
                          type: string
                          maxLength: 30
                          description: Package
                        HSTRUCT_ID:
                          type: string
                          format: byte
                          description: 16 byte GUID
                        HNODE_ID:
                          type: string
                          format: byte
                          description: 16 byte GUID
                        STATE:
                          type: string
                          maxLength: 2
                          description: 'Modeling status  enumValues: 01=In Process,02=Locked,""=Released'
                          enum:
                          - '01'
                          - '02'
                          - ''
                        PROC_COMP:
                          type: string
                          maxLength: 20
                          description: Object definition
                        NAME:
                          type: string
                          maxLength: 100
                          description: Name
                  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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
