openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/IWB_SHE_EXPORT_HTML:
    post:
      tags:
      - SI25
      operationId: /rfc/IWB_SHE_EXPORT_HTML
      requestBody:
        content:
          application/json:
            schema:
              properties:
                EXP_ITEM:
                  type: object
                  properties:
                    EXP_ID:
                      type: integer
                      format: int64
                      description: HTML Export ID
                    F_CLASS:
                      type: string
                      maxLength: 10
                      description: Class of logical document
                    F_OBJID:
                      type: string
                      maxLength: 32
                      description: Logical document
                    F_NAME:
                      type: string
                      maxLength: 40
                      description: Technical name of an information object
                    F_TITLE:
                      type: string
                      maxLength: 64
                      description: Title
                    S_CLASS:
                      type: string
                      maxLength: 10
                      description: Class of logical document
                    S_OBJID:
                      type: string
                      maxLength: 32
                      description: Logical document
                    S_NAME:
                      type: string
                      maxLength: 40
                      description: Technical name of an information object
                    S_TITLE:
                      type: string
                      maxLength: 64
                      description: Title
                    RELEASE:
                      type: string
                      maxLength: 12
                      description: Release of SAP System
                    LANGU:
                      type: string
                      maxLength: 1
                      description: Translation Source Language
                    IND_ID:
                      type: string
                      maxLength: 10
                      description: Enhancement
                    IND_REL:
                      type: string
                      maxLength: 12
                      description: Enhancement Release
                    ORG_LANGU:
                      type: string
                      maxLength: 1
                      description: Original language
                    RESP:
                      type: string
                      maxLength: 30
                      description: Person Responsible
                    AREA:
                      type: string
                      maxLength: 10
                      description: Area
                    COMPONENT:
                      type: string
                      maxLength: 24
                      description: Application component ID
                    DELIVERY:
                      type: string
                      maxLength: 1
                      description: 'Productive folder  enumValues: N=Not productive,Y=Productive'
                      enum:
                      - N
                      - Y
                    EXP_TYPE:
                      type: string
                      maxLength: 1
                      description: 'HTML export type  enumValues: S=Selected structures,A=All Structures'
                      enum:
                      - S
                      - A
                    PRIO:
                      type: string
                      maxLength: 1
                      description: 'Priority  enumValues: 6=Low (Prio 6),1=High (Prio 1),2=High (Prio 2),4=Medium (Prio 4),3=Medium (Prio 3),9=Inactive,5=Low (Prio 5)'
                      enum:
                      - '6'
                      - '1'
                      - '2'
                      - '4'
                      - '3'
                      - '9'
                      - '5'
                    OPT_ID:
                      type: integer
                      format: int64
                      description: HTML export option ID
                    DEST_ID:
                      type: integer
                      format: int64
                      description: HTML export destination ID
                    PROC_ID:
                      type: integer
                      format: int64
                      description: HTML export server process ID
                    STATUS:
                      type: string
                      maxLength: 1
                      description: 'HTML export status  enumValues: R=Ready,B=Active,X=File transfer,?=Unknown,Y=Copy,A=Analysis,C=Compiile,T=XML Transformation,F=Completed,#=Canceled,P=Planned,0=Initial'
                      enum:
                      - R
                      - B
                      - X
                      - '?'
                      - Y
                      - A
                      - C
                      - T
                      - F
                      - '#'
                      - P
                      - '0'
                    I_DATE:
                      type: string
                      format: date
                      description: Date of initialization
                    I_TIME:
                      type: string
                      maxLength: 6
                      description: Time of initialization
                    A_DATE:
                      type: string
                      format: date
                      description: Date analysis
                    A_TIME:
                      type: string
                      maxLength: 6
                      description: Time analysis
                    W_DATE:
                      type: string
                      format: date
                      description: Date of wait
                    W_TIME:
                      type: string
                      maxLength: 6
                      description: Time of wait
                    X_DATE:
                      type: string
                      format: date
                      description: Date of export
                    X_TIME:
                      type: string
                      maxLength: 6
                      description: Export time
                    C_DATE:
                      type: string
                      format: date
                      description: Date of compilation
                    C_TIME:
                      type: string
                      maxLength: 6
                      description: Time of compilation
                    Y_DATE:
                      type: string
                      format: date
                      description: Date of copy
                    Y_TIME:
                      type: string
                      maxLength: 6
                      description: Time of copy
                    F_DATE:
                      type: string
                      format: date
                      description: Date finished
                    F_TIME:
                      type: string
                      maxLength: 6
                      description: Time finished
                    A_ERRORS:
                      type: integer
                      format: int64
                      description: Number of errors
                    A_WARNINGS:
                      type: integer
                      format: int64
                      description: Number of warning messages
                    ERRORS:
                      type: integer
                      format: int64
                      description: Number of errors
                    WARNINGS:
                      type: integer
                      format: int64
                      description: Number of warning messages
                    JOBCOUNT:
                      type: string
                      maxLength: 8
                      description: Job ID
                    RFCCALLS:
                      type: integer
                      format: int64
                      description: Counter for RFC Calls
                TRACE_LEVEL:
                  type: integer
                  format: int64
                  default: 0
                CONTENTS:
                  type: array
                  items:
                    type: object
                    properties:
                      SCLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      SOBJID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      NODE_LEVEL:
                        type: integer
                        format: int64
                        description: Node level
                      CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      NODE_TYPE:
                        type: integer
                        format: int64
                        description: Type of a node in a structure
                      CLOSED:
                        type: string
                        maxLength: 8
                        description: Icon name for help display in the web browser
                      OPENED:
                        type: string
                        maxLength: 8
                        description: Icon name for help display in the web browser
                CONTEXT:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
                      VALUE:
                        type: string
                        maxLength: 64
                        description: Attribute Value
                MESSAGES:
                  type: array
                  items:
                    type: object
                    properties:
                      CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      TYPE:
                        type: string
                        maxLength: 1
                        description: Message Type
                      'NO':
                        type: integer
                        format: int64
                        description: Message Number
                      V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                OBJECTS:
                  type: array
                  items:
                    type: object
                    properties:
                      SCLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      SOBJID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                OPTIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
                      VALUE:
                        type: string
                        maxLength: 64
                        description: Attribute Value
                PROPERTIES:
                  type: array
                  items:
                    type: object
                    properties:
                      CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      NAME:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
                      VALUE:
                        type: string
                        maxLength: 64
                        description: Attribute Value
                REFERENCES:
                  type: array
                  items:
                    type: object
                    properties:
                      CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      SCLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      SOBJID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                STRUCTURES:
                  type: array
                  items:
                    type: object
                    properties:
                      CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
              required:
              - EXP_ITEM
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CONTENTS:
                    type: array
                    items:
                      type: object
                      properties:
                        SCLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        SOBJID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        NODE_LEVEL:
                          type: integer
                          format: int64
                          description: Node level
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        NODE_TYPE:
                          type: integer
                          format: int64
                          description: Type of a node in a structure
                        CLOSED:
                          type: string
                          maxLength: 8
                          description: Icon name for help display in the web browser
                        OPENED:
                          type: string
                          maxLength: 8
                          description: Icon name for help display in the web browser
                  CONTEXT:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
                        VALUE:
                          type: string
                          maxLength: 64
                          description: Attribute Value
                  MESSAGES:
                    type: array
                    items:
                      type: object
                      properties:
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        ID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        TYPE:
                          type: string
                          maxLength: 1
                          description: Message Type
                        'NO':
                          type: integer
                          format: int64
                          description: Message Number
                        V1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        V2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        V3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        V4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                  OBJECTS:
                    type: array
                    items:
                      type: object
                      properties:
                        SCLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        SOBJID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                  OPTIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
                        VALUE:
                          type: string
                          maxLength: 64
                          description: Attribute Value
                  PROPERTIES:
                    type: array
                    items:
                      type: object
                      properties:
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        NAME:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
                        VALUE:
                          type: string
                          maxLength: 64
                          description: Attribute Value
                  REFERENCES:
                    type: array
                    items:
                      type: object
                      properties:
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        SCLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        SOBJID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                  STRUCTURES:
                    type: array
                    items:
                      type: object
                      properties:
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
