openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWA_CHECK_CONTAINER_MODIFY:
    post:
      tags:
      - SWA8
      operationId: /rfc/SWA_CHECK_CONTAINER_MODIFY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONTAINER_DESCRIPT:
                  type: string
                  maxLength: 20
                  description: Description of container (->message variable)
                DATAFLOW:
                  type: string
                  maxLength: 1
                  description: Binding direction
                INTERNAL_DATE_N_TIME:
                  type: string
                  maxLength: 1
                  description: Date and time entries in internal format
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language for messages
                CONTAINER_DEFINITION:
                  type: array
                  items:
                    type: object
                    properties:
                      ELEMENT:
                        type: string
                        maxLength: 32
                        description: Element
                      VERBTYPE:
                        type: string
                        maxLength: 1
                        description: 'Verb type (key, attr., method)  enumValues: ""=No verb,A=Attribute,K=Key field,E=Event,M=Method'
                        enum:
                        - ''
                        - A
                        - K
                        - E
                        - M
                      EDITORDER:
                        type: integer
                        format: int64
                        description: Editing sequence
                      ISINTERF:
                        type: string
                        maxLength: 1
                        description: 'Interface object type  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      CREA_REL:
                        type: string
                        maxLength: 4
                        description: Release at Creation
                      OBJTYPE:
                        type: string
                        maxLength: 10
                        description: Object Type
                      OBJTYPECLS:
                        type: string
                        maxLength: 2
                        description: 'Object Type Class  enumValues: 01=Object type,99=Internal use,""=Workflow object type 2.1,06=Object type area,03=Interface'
                        enum:
                        - '01'
                        - '99'
                        - ''
                        - '06'
                        - '03'
                      REFTYPE:
                        type: string
                        maxLength: 1
                        description: 'Dictionary  enumValues: R=Organizational object type,D=Data Dictionary table field or table,""=No data type reference,M=Microsoft OLE data type,O=Object type'
                        enum:
                        - R
                        - D
                        - ''
                        - M
                        - O
                      REFSTRUCT:
                        type: string
                        maxLength: 30
                        description: Reference table
                      REFFIELD:
                        type: string
                        maxLength: 30
                        description: Reference field
                      REFOBJTYPE:
                        type: string
                        maxLength: 10
                        description: Reference obj. type
                      EDITELEM:
                        type: string
                        maxLength: 32
                        description: Element name in upper/lower case
                      OLEINDEX:
                        type: integer
                        format: int64
                        description: OLE verb index
                      WINHLPIND:
                        type: integer
                        format: int64
                        description: WinHelp index
                      DESCRIPT:
                        type: string
                        maxLength: 20
                        description: Name
                      SHORTTEXT:
                        type: string
                        maxLength: 80
                        description: Description
                      OLETYPE:
                        type: integer
                        format: int64
                        description: OLE data type
                      OLETYPE_P:
                        type: string
                        maxLength: 1
                        description: 'OLE pointer  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      ELEMTYPE:
                        type: string
                        maxLength: 1
                        description: 'Element type  enumValues: I=Import,A=Export and import,E=Export'
                        enum:
                        - I
                        - A
                        - E
                      OBLIGIMP:
                        type: string
                        maxLength: 1
                        description: 'Required  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      OBLIG:
                        type: string
                        maxLength: 1
                        description: 'Mandatory element  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      TABELEM:
                        type: string
                        maxLength: 1
                        description: 'Multiline element  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      MCODE:
                        type: string
                        maxLength: 30
                        description: Search Help (Formerly Matchcode)
                      HLPPARAM:
                        type: string
                        maxLength: 30
                        description: Name of a search help parameter
                      ATTRTYPE:
                        type: string
                        maxLength: 1
                        description: 'Attribute type  enumValues: S=Object Status,D=Database Field from Data Dictionary,V=Virtual Attribute'
                        enum:
                        - S
                        - D
                        - V
                      ISTAT:
                        type: string
                        maxLength: 5
                        description: Object status
                      ABAPTYPE:
                        type: string
                        maxLength: 1
                        description: 'ABAP function type  enumValues: D=Dialog module,T=Transaction,R=ABAP report,F=Function module,""=No special ABAP/4 function'
                        enum:
                        - D
                        - T
                        - R
                        - F
                        - ''
                      ISAPI:
                        type: string
                        maxLength: 1
                        description: 'Method is R/3 interface function  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      ABAPNAME:
                        type: string
                        maxLength: 30
                        description: Name of ABAP Function
                      FUNCPNAME:
                        type: string
                        maxLength: 30
                        description: Name of corresponding function module parameter
                      DIALOG:
                        type: string
                        maxLength: 1
                        description: 'Method with dialog  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      SYNCHRON:
                        type: string
                        maxLength: 1
                        description: 'Synchronous method  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      RESULT:
                        type: string
                        maxLength: 1
                        description: 'Method with result parameter  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      NOEDIT:
                        type: string
                        maxLength: 1
                        description: 'No editing due to inheritance or needs to be overridden  enumValues: ""=No,X=Yes, with implementation,A=No, without implementation'
                        enum:
                        - ''
                        - X
                        - A
                      SORTORDER:
                        type: integer
                        format: int64
                        description: Sort sequence
                      FILTER:
                        type: string
                        maxLength: 1
                        description: 'Filter is set  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      COUNTPARAM:
                        type: integer
                        format: int64
                        description: Number of parameters in method
                      OLEARRAY:
                        type: string
                        maxLength: 1
                        description: 'Number of columns  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      GUISELECT:
                        type: string
                        maxLength: 1
                        description: 'Relevant for user interface  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      CLASSVERB:
                        type: string
                        maxLength: 1
                        description: 'Instance-independent  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      INVATTRIB:
                        type: string
                        maxLength: 32
                        description: Inverse attribute
                      MODELONLY:
                        type: string
                        maxLength: 1
                        description: 'Release status verb  enumValues: X=Object type is only modeled,""=Object type is implemented,R=Object type is released'
                        enum:
                        - X
                        - ''
                        - R
                      FROZEN:
                        type: string
                        maxLength: 1
                        description: 'Flag: DDIC structure frozen  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      OBSOLETE:
                        type: string
                        maxLength: 4
                        description: Release in which object type was set as obsolete
                      EVNOINST:
                        type: string
                        maxLength: 1
                        description: 'Triggering instance for event not available  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      INTAPI:
                        type: string
                        maxLength: 1
                        description: 'Flag: Internal API method  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                CONTAINER_INSTANCE:
                  type: array
                  items:
                    type: object
                    properties:
                      ELEMENT:
                        type: string
                        maxLength: 32
                        description: Element
                      TAB_INDEX:
                        type: integer
                        format: int64
                        description: Index for table element
                      ELEMLENGTH:
                        type: integer
                        format: int64
                        description: Length of the field in bytes
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'ABAP Type of element  enumValues: N=Character string with only digits,s=2-byte integer, only for length field before LCHR or LRAW,h=Table type,y=Byte sequence with variable length (ABAP type XSTRING),l=Reference to data object,b=1-byte integer, integer number <= 254,P=Packed number,T=Time (Time: HHMMSS),u=Structured type, flat,I=Integer number (4-byte integer with sign),F=Floating point number to accuracy of 8 bytes,v=Structured type, deep,V=Character string (old
                          Dictionary type VARC),X=Byte sequence (heXadecimal),C=Character string,g=Character string with variable length (ABAP type STRING),r=Reference to class/interface,D=Date (Date: YYYYMMDD)'
                        enum:
                        - N
                        - s
                        - h
                        - y
                        - l
                        - b
                        - P
                        - T
                        - u
                        - I
                        - F
                        - v
                        - V
                        - X
                        - C
                        - g
                        - r
                        - D
                      VALUE:
                        type: string
                        maxLength: 255
                        description: Character value
                CONTAINER_VALUES:
                  type: array
                  items:
                    type: object
                    properties:
                      ELEMENT:
                        type: string
                        maxLength: 32
                        description: Element
                      VALUE:
                        type: string
                        maxLength: 255
                        description: Character value
                MESSAGES:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 273
                        description: Text line for message
                STRUCTURED_MESSAGES:
                  type: array
                  items:
                    type: object
                    properties:
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGNO:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: Message Variable
              required:
              - DATAFLOW
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RESULT:
                    type: integer
                    format: int32
                    description: Return code (0,1,2)
                  CONTAINER_DEFINITION:
                    type: array
                    items:
                      type: object
                      properties:
                        ELEMENT:
                          type: string
                          maxLength: 32
                          description: Element
                        VERBTYPE:
                          type: string
                          maxLength: 1
                          description: 'Verb type (key, attr., method)  enumValues: ""=No verb,A=Attribute,K=Key field,E=Event,M=Method'
                          enum:
                          - ''
                          - A
                          - K
                          - E
                          - M
                        EDITORDER:
                          type: integer
                          format: int64
                          description: Editing sequence
                        ISINTERF:
                          type: string
                          maxLength: 1
                          description: 'Interface object type  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        CREA_REL:
                          type: string
                          maxLength: 4
                          description: Release at Creation
                        OBJTYPE:
                          type: string
                          maxLength: 10
                          description: Object Type
                        OBJTYPECLS:
                          type: string
                          maxLength: 2
                          description: 'Object Type Class  enumValues: 01=Object type,99=Internal use,""=Workflow object type 2.1,06=Object type area,03=Interface'
                          enum:
                          - '01'
                          - '99'
                          - ''
                          - '06'
                          - '03'
                        REFTYPE:
                          type: string
                          maxLength: 1
                          description: 'Dictionary  enumValues: R=Organizational object type,D=Data Dictionary table field or table,""=No data type reference,M=Microsoft OLE data type,O=Object type'
                          enum:
                          - R
                          - D
                          - ''
                          - M
                          - O
                        REFSTRUCT:
                          type: string
                          maxLength: 30
                          description: Reference table
                        REFFIELD:
                          type: string
                          maxLength: 30
                          description: Reference field
                        REFOBJTYPE:
                          type: string
                          maxLength: 10
                          description: Reference obj. type
                        EDITELEM:
                          type: string
                          maxLength: 32
                          description: Element name in upper/lower case
                        OLEINDEX:
                          type: integer
                          format: int64
                          description: OLE verb index
                        WINHLPIND:
                          type: integer
                          format: int64
                          description: WinHelp index
                        DESCRIPT:
                          type: string
                          maxLength: 20
                          description: Name
                        SHORTTEXT:
                          type: string
                          maxLength: 80
                          description: Description
                        OLETYPE:
                          type: integer
                          format: int64
                          description: OLE data type
                        OLETYPE_P:
                          type: string
                          maxLength: 1
                          description: 'OLE pointer  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        ELEMTYPE:
                          type: string
                          maxLength: 1
                          description: 'Element type  enumValues: I=Import,A=Export and import,E=Export'
                          enum:
                          - I
                          - A
                          - E
                        OBLIGIMP:
                          type: string
                          maxLength: 1
                          description: 'Required  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        OBLIG:
                          type: string
                          maxLength: 1
                          description: 'Mandatory element  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        TABELEM:
                          type: string
                          maxLength: 1
                          description: 'Multiline element  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        MCODE:
                          type: string
                          maxLength: 30
                          description: Search Help (Formerly Matchcode)
                        HLPPARAM:
                          type: string
                          maxLength: 30
                          description: Name of a search help parameter
                        ATTRTYPE:
                          type: string
                          maxLength: 1
                          description: 'Attribute type  enumValues: S=Object Status,D=Database Field from Data Dictionary,V=Virtual Attribute'
                          enum:
                          - S
                          - D
                          - V
                        ISTAT:
                          type: string
                          maxLength: 5
                          description: Object status
                        ABAPTYPE:
                          type: string
                          maxLength: 1
                          description: 'ABAP function type  enumValues: D=Dialog module,T=Transaction,R=ABAP report,F=Function module,""=No special ABAP/4 function'
                          enum:
                          - D
                          - T
                          - R
                          - F
                          - ''
                        ISAPI:
                          type: string
                          maxLength: 1
                          description: 'Method is R/3 interface function  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        ABAPNAME:
                          type: string
                          maxLength: 30
                          description: Name of ABAP Function
                        FUNCPNAME:
                          type: string
                          maxLength: 30
                          description: Name of corresponding function module parameter
                        DIALOG:
                          type: string
                          maxLength: 1
                          description: 'Method with dialog  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        SYNCHRON:
                          type: string
                          maxLength: 1
                          description: 'Synchronous method  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        RESULT:
                          type: string
                          maxLength: 1
                          description: 'Method with result parameter  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        NOEDIT:
                          type: string
                          maxLength: 1
                          description: 'No editing due to inheritance or needs to be overridden  enumValues: ""=No,X=Yes, with implementation,A=No, without implementation'
                          enum:
                          - ''
                          - X
                          - A
                        SORTORDER:
                          type: integer
                          format: int64
                          description: Sort sequence
                        FILTER:
                          type: string
                          maxLength: 1
                          description: 'Filter is set  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        COUNTPARAM:
                          type: integer
                          format: int64
                          description: Number of parameters in method
                        OLEARRAY:
                          type: string
                          maxLength: 1
                          description: 'Number of columns  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        GUISELECT:
                          type: string
                          maxLength: 1
                          description: 'Relevant for user interface  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        CLASSVERB:
                          type: string
                          maxLength: 1
                          description: 'Instance-independent  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        INVATTRIB:
                          type: string
                          maxLength: 32
                          description: Inverse attribute
                        MODELONLY:
                          type: string
                          maxLength: 1
                          description: 'Release status verb  enumValues: X=Object type is only modeled,""=Object type is implemented,R=Object type is released'
                          enum:
                          - X
                          - ''
                          - R
                        FROZEN:
                          type: string
                          maxLength: 1
                          description: 'Flag: DDIC structure frozen  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        OBSOLETE:
                          type: string
                          maxLength: 4
                          description: Release in which object type was set as obsolete
                        EVNOINST:
                          type: string
                          maxLength: 1
                          description: 'Triggering instance for event not available  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        INTAPI:
                          type: string
                          maxLength: 1
                          description: 'Flag: Internal API method  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                  CONTAINER_INSTANCE:
                    type: array
                    items:
                      type: object
                      properties:
                        ELEMENT:
                          type: string
                          maxLength: 32
                          description: Element
                        TAB_INDEX:
                          type: integer
                          format: int64
                          description: Index for table element
                        ELEMLENGTH:
                          type: integer
                          format: int64
                          description: Length of the field in bytes
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'ABAP Type of element  enumValues: N=Character string with only digits,s=2-byte integer, only for length field before LCHR or LRAW,h=Table type,y=Byte sequence with variable length (ABAP type XSTRING),l=Reference to data object,b=1-byte integer, integer number <= 254,P=Packed number,T=Time (Time: HHMMSS),u=Structured type, flat,I=Integer number (4-byte integer with sign),F=Floating point number to accuracy of 8 bytes,v=Structured type, deep,V=Character string
                            (old Dictionary type VARC),X=Byte sequence (heXadecimal),C=Character string,g=Character string with variable length (ABAP type STRING),r=Reference to class/interface,D=Date (Date: YYYYMMDD)'
                          enum:
                          - N
                          - s
                          - h
                          - y
                          - l
                          - b
                          - P
                          - T
                          - u
                          - I
                          - F
                          - v
                          - V
                          - X
                          - C
                          - g
                          - r
                          - D
                        VALUE:
                          type: string
                          maxLength: 255
                          description: Character value
                  CONTAINER_VALUES:
                    type: array
                    items:
                      type: object
                      properties:
                        ELEMENT:
                          type: string
                          maxLength: 32
                          description: Element
                        VALUE:
                          type: string
                          maxLength: 255
                          description: Character value
                  MESSAGES:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 273
                          description: Text line for message
                  STRUCTURED_MESSAGES:
                    type: array
                    items:
                      type: object
                      properties:
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: Message Type
                        MSGNO:
                          type: integer
                          format: int64
                          description: Message Number
                        MSGV1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV4:
                          type: string
                          maxLength: 50
                          description: Message Variable
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
