openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/OCS_GET_SDC_ATTRIBUTES:
    post:
      tags:
      - OCSB
      operationId: /rfc/OCS_GET_SDC_ATTRIBUTES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_PATCH:
                  type: string
                  maxLength: 20
                ET_CVERS:
                  type: array
                  items:
                    type: object
                    properties:
                      COMPONENT:
                        type: string
                        maxLength: 30
                        description: Software Component
                      RELEASE:
                        type: string
                        maxLength: 10
                        description: SAP Release
                      EXTRELEASE:
                        type: string
                        maxLength: 10
                        description: Support Package Level of a Software Component
                      COMP_TYPE:
                        type: string
                        maxLength: 1
                        description: 'Component Type Values  enumValues: V=Application Platform Component,A=Add-On Component (Old),X=Netweaver Plug-In,""=Main Component (Old),R=Application Component,C=Projects,O=Common Application Objects,F=Industry Solution - Layer 4,G=Industry Solution - Layer 3,S=Netweaver Basis Component,E=Industry Solution - Layer 5,N=Application Extensions,H=Industry Solution - Layer 2,W=Netweaver Add-On,I=Industry Solution - Layer 1,P=Application Plug-In'
                        enum:
                        - V
                        - A
                        - X
                        - ''
                        - R
                        - C
                        - O
                        - F
                        - G
                        - S
                        - E
                        - N
                        - H
                        - W
                        - I
                        - P
                ET_E071:
                  type: array
                  items:
                    type: object
                    properties:
                      TRKORR:
                        type: string
                        maxLength: 20
                        description: Request/Task
                      AS4POS:
                        type: integer
                        format: int64
                        description: 'Dictionary: Line item'
                      PGMID:
                        type: string
                        maxLength: 4
                        description: Program ID in Requests and Tasks
                      OBJECT:
                        type: string
                        maxLength: 4
                        description: Object Type
                      OBJ_NAME:
                        type: string
                        maxLength: 120
                        description: Object Name in Object List
                      OBJFUNC:
                        type: string
                        maxLength: 1
                        description: 'Object function  enumValues: M=Delete and recreate on the database,""=Normally: transport to the target system (see F1 help),D=The object was deleted (only functions with deleted objects),K=Object keys according to entries in the key list'
                        enum:
                        - M
                        - ''
                        - D
                        - K
                      LOCKFLAG:
                        type: string
                        maxLength: 1
                        description: 'Lock status or import status of an object entry  enumValues: ""=Do not set flag,X=Set flag'
                        enum:
                        - ''
                        - X
                      GENNUM:
                        type: string
                        maxLength: 3
                        description: Language information for object entry in Transport Organizer
                      LANG:
                        type: string
                        maxLength: 1
                        description: Language Key
                      ACTIVITY:
                        type: string
                        maxLength: 20
                        description: Activity that wrote the entry to the object list
                ET_E071K:
                  type: array
                  items:
                    type: object
                    properties:
                      TRKORR:
                        type: string
                        maxLength: 20
                        description: Request/Task
                      PGMID:
                        type: string
                        maxLength: 4
                        description: Program ID in Requests and Tasks
                      OBJECT:
                        type: string
                        maxLength: 4
                        description: Object Type
                      OBJNAME:
                        type: string
                        maxLength: 30
                        description: Table Name
                      AS4POS:
                        type: integer
                        format: int64
                        description: 'Dictionary: Line item'
                      MASTERTYPE:
                        type: string
                        maxLength: 4
                        description: Object Type
                      MASTERNAME:
                        type: string
                        maxLength: 40
                        description: Object Name in Object Directory
                      VIEWNAME:
                        type: string
                        maxLength: 30
                        description: Name of SAP table view
                      OBJFUNC:
                        type: string
                        maxLength: 1
                        description: Do not use
                      TABKEY:
                        type: string
                        maxLength: 120
                        description: Object Name in Object List
                      SORTFLAG:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      FLAG:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      LANG:
                        type: string
                        maxLength: 1
                        description: Language Key
                      ACTIVITY:
                        type: string
                        maxLength: 20
                        description: Activity that wrote the entry to the object list
                ET_OCS_TADIR:
                  type: array
                  items:
                    type: object
                    properties:
                      TRKORR:
                        type: string
                        maxLength: 20
                        description: Request/Task
                      AS4POS:
                        type: integer
                        format: int64
                        description: 'Dictionary: Line item'
                      PGMID:
                        type: string
                        maxLength: 4
                        description: Program ID in Requests and Tasks
                      OBJECT:
                        type: string
                        maxLength: 4
                        description: Object Type of Element
                      OBJ_NAME:
                        type: string
                        maxLength: 40
                        description: Object Name in Object Directory
                ET_PAT08:
                  type: array
                  items:
                    type: object
                    properties:
                      PATCH:
                        type: string
                        maxLength: 20
                        description: Support Package name
                      X_ATTRIB:
                        type: string
                        maxLength: 20
                        description: 'PAT08: Name of extended attribute'
                      CNT:
                        type: integer
                        format: int64
                        description: 'PAT07/PAT08/PAT13: Sequence'
                      VALUE:
                        type: string
                        maxLength: 60
                        description: 'PAT08: Value of extended Support Package attribute'
                      FLAG:
                        type: string
                        maxLength: 1
                        description: 'PAT07: Flag  enumValues: D=Deleted'
                        enum:
                        - D
                      DESCRIPT:
                        type: string
                        maxLength: 60
                        description: Support Package description
              required:
              - IV_PATCH
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ES_E070:
                    type: object
                    properties:
                      TRKORR:
                        type: string
                        maxLength: 20
                        description: Request/Task
                      TRFUNCTION:
                        type: string
                        maxLength: 1
                        description: 'Type of request/task  enumValues: P=Piece List for Upgrade,C=Relocation of Objects Without Package Change,M=Client Transport Request,K=Workbench Request,T=Transport of Copies,X=Unclassified Task,Q=Customizing Task,S=Development/Correction,O=Relocation of Objects with Package Change,E=Relocation of Complete Package,G=Piece List for CTS Project,F=Piece List,W=Customizing Request,R=Repair,D=Piece List for Support Package'
                        enum:
                        - P
                        - C
                        - M
                        - K
                        - T
                        - X
                        - Q
                        - S
                        - O
                        - E
                        - G
                        - F
                        - W
                        - R
                        - D
                      TRSTATUS:
                        type: string
                        maxLength: 1
                        description: 'Status of request/task  enumValues: N=Released (with Import Protection for Repaired Objects),L=Modifiable, Protected,R=Released,O=Release Started,D=Modifiable'
                        enum:
                        - N
                        - L
                        - R
                        - O
                        - D
                      TARSYSTEM:
                        type: string
                        maxLength: 10
                        description: Transport Target of Request
                      KORRDEV:
                        type: string
                        maxLength: 4
                        description: 'Request or task category  enumValues: CUST=Client-specific Customizing,SYST=Repository, cross-client objects'
                        enum:
                        - CUST
                        - SYST
                      AS4USER:
                        type: string
                        maxLength: 12
                        description: Owner of a Request or Task
                      AS4DATE:
                        type: string
                        format: date
                        description: Date of Last Change
                      AS4TIME:
                        type: string
                        maxLength: 6
                        description: Last changed at
                      STRKORR:
                        type: string
                        maxLength: 20
                        description: Higher-Level Request
                  ES_E07T:
                    type: object
                    properties:
                      TRKORR:
                        type: string
                        maxLength: 20
                        description: Request/Task
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      AS4TEXT:
                        type: string
                        maxLength: 60
                        description: Short Description of Repository Objects
                  ES_PAT03:
                    type: object
                    properties:
                      PATCH:
                        type: string
                        maxLength: 20
                        description: Support Package name
                      SHORT_TEXT:
                        type: string
                        maxLength: 60
                        description: Support Package description
                      STATUS:
                        type: string
                        maxLength: 1
                        description: 'Support Package import status  enumValues: N=Patch has not yet been applied,U=Patch was included in the upgrade,?=Patch application has aborted,D=Patch applied without SPAM,I=Patch has been applied'
                        enum:
                        - N
                        - U
                        - '?'
                        - D
                        - I
                      DELIV_DATE:
                        type: string
                        format: date
                        description: Support Package arrival date
                      DELIV_TIME:
                        type: string
                        maxLength: 6
                        description: Support Package arrival time
                      RESPONSIBL:
                        type: string
                        maxLength: 12
                        description: Person responsible for Support Package import
                      IMPLE_DATE:
                        type: string
                        format: date
                        description: Support Package import date
                      IMPLE_TIME:
                        type: string
                        maxLength: 6
                        description: Support Package import time
                      L_IMPL_REL:
                        type: string
                        maxLength: 4
                        description: Release Status of SAP System
                      CONFLICTS:
                        type: string
                        maxLength: 1
                        description: Conflicts between Support Package and add-on
                      CONFIRMED:
                        type: string
                        maxLength: 1
                        description: 'Confirmed  enumValues: ""=Unconfirmed,X=confirmed'
                        enum:
                        - ''
                        - X
                      BACKUP:
                        type: string
                        maxLength: 20
                        description: Request/Task
                      FROM_REL:
                        type: string
                        maxLength: 4
                        description: Release Status of SAP System
                      TO_REL:
                        type: string
                        maxLength: 4
                        description: Release Status of SAP System
                      OS:
                        type: string
                        maxLength: 10
                        description: Operating System of Application Server
                      DB:
                        type: string
                        maxLength: 10
                        description: Central Database System
                      PATCH_TYPE:
                        type: string
                        maxLength: 3
                        description: 'OCS Package Type  enumValues: LAN=Language Package,HOT=Hot Package,AOS=Add-On Supplement Description,PAT=SPAM/SAINT Update,AOX=Add-On Exchange Package,CRT=Conflict Resolution Transport (CRT),MOD=Modification Adjustment,FFD=FCS Final Delta Package (FFDP),CSP=Component Support Package (from 6.40),AOU=Add-on upgrade,PCS=PCS (Preconfigured System),AOI=Add-On Installation,BWP=BW Support Package (BWP),COP=Component Support Package (until 6.20),AOP=Add-On Support Package
                          (until 6.20),LCP=Legal Change Package (LCP)'
                        enum:
                        - LAN
                        - HOT
                        - AOS
                        - PAT
                        - AOX
                        - CRT
                        - MOD
                        - FFD
                        - CSP
                        - AOU
                        - PCS
                        - AOI
                        - BWP
                        - COP
                        - AOP
                        - LCP
                      ANCESTOR:
                        type: string
                        maxLength: 20
                        description: Support Package predecessor
                      STRICT_SEQ:
                        type: string
                        maxLength: 1
                        description: Flag for fixed predecessor
                      NO_GEN:
                        type: string
                        maxLength: 1
                        description: 'Suppress generation when importing Support Package  enumValues: O=Generation can take place,N=No generation can take place'
                        enum:
                        - O
                        - N
                      SPAMFIX:
                        type: string
                        maxLength: 1
                        description: Support Package is an update of SAP Patch Manager (SPAM)
                      ADDON_ID:
                        type: string
                        maxLength: 10
                        description: Name of an Add-On Product
                      ADDON_REL:
                        type: string
                        maxLength: 12
                        description: Version of an "Add-On" Product
                      IGN_CONFLI:
                        type: string
                        maxLength: 1
                        description: Ignore conflicts with the respective add-on
                      AP_ANCEST:
                        type: string
                        maxLength: 20
                        description: Add-on Support Package predecessor
                      EPSFILSIZ:
                        type: string
                        maxLength: 4
                        description: 'File Size Placeholder (for Unicode, Original: EPSFILSIZ)'
                      HI_ANCEST:
                        type: string
                        maxLength: 2
                        description: High predecessor (for CRTs only)
                      COMP_REL:
                        type: string
                        maxLength: 10
                        description: Component release
                      COMPONENT:
                        type: string
                        maxLength: 30
                        description: Component
                  EV_SDC_RELEASED:
                    type: string
                    maxLength: 1
                    description: Support Package import status
                  ET_CVERS:
                    type: array
                    items:
                      type: object
                      properties:
                        COMPONENT:
                          type: string
                          maxLength: 30
                          description: Software Component
                        RELEASE:
                          type: string
                          maxLength: 10
                          description: SAP Release
                        EXTRELEASE:
                          type: string
                          maxLength: 10
                          description: Support Package Level of a Software Component
                        COMP_TYPE:
                          type: string
                          maxLength: 1
                          description: 'Component Type Values  enumValues: V=Application Platform Component,A=Add-On Component (Old),X=Netweaver Plug-In,""=Main Component (Old),R=Application Component,C=Projects,O=Common Application Objects,F=Industry Solution - Layer 4,G=Industry Solution - Layer 3,S=Netweaver Basis Component,E=Industry Solution - Layer 5,N=Application Extensions,H=Industry Solution - Layer 2,W=Netweaver Add-On,I=Industry Solution - Layer 1,P=Application Plug-In'
                          enum:
                          - V
                          - A
                          - X
                          - ''
                          - R
                          - C
                          - O
                          - F
                          - G
                          - S
                          - E
                          - N
                          - H
                          - W
                          - I
                          - P
                  ET_E071:
                    type: array
                    items:
                      type: object
                      properties:
                        TRKORR:
                          type: string
                          maxLength: 20
                          description: Request/Task
                        AS4POS:
                          type: integer
                          format: int64
                          description: 'Dictionary: Line item'
                        PGMID:
                          type: string
                          maxLength: 4
                          description: Program ID in Requests and Tasks
                        OBJECT:
                          type: string
                          maxLength: 4
                          description: Object Type
                        OBJ_NAME:
                          type: string
                          maxLength: 120
                          description: Object Name in Object List
                        OBJFUNC:
                          type: string
                          maxLength: 1
                          description: 'Object function  enumValues: M=Delete and recreate on the database,""=Normally: transport to the target system (see F1 help),D=The object was deleted (only functions with deleted objects),K=Object keys according to entries in the key list'
                          enum:
                          - M
                          - ''
                          - D
                          - K
                        LOCKFLAG:
                          type: string
                          maxLength: 1
                          description: 'Lock status or import status of an object entry  enumValues: ""=Do not set flag,X=Set flag'
                          enum:
                          - ''
                          - X
                        GENNUM:
                          type: string
                          maxLength: 3
                          description: Language information for object entry in Transport Organizer
                        LANG:
                          type: string
                          maxLength: 1
                          description: Language Key
                        ACTIVITY:
                          type: string
                          maxLength: 20
                          description: Activity that wrote the entry to the object list
                  ET_E071K:
                    type: array
                    items:
                      type: object
                      properties:
                        TRKORR:
                          type: string
                          maxLength: 20
                          description: Request/Task
                        PGMID:
                          type: string
                          maxLength: 4
                          description: Program ID in Requests and Tasks
                        OBJECT:
                          type: string
                          maxLength: 4
                          description: Object Type
                        OBJNAME:
                          type: string
                          maxLength: 30
                          description: Table Name
                        AS4POS:
                          type: integer
                          format: int64
                          description: 'Dictionary: Line item'
                        MASTERTYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        MASTERNAME:
                          type: string
                          maxLength: 40
                          description: Object Name in Object Directory
                        VIEWNAME:
                          type: string
                          maxLength: 30
                          description: Name of SAP table view
                        OBJFUNC:
                          type: string
                          maxLength: 1
                          description: Do not use
                        TABKEY:
                          type: string
                          maxLength: 120
                          description: Object Name in Object List
                        SORTFLAG:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        FLAG:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        LANG:
                          type: string
                          maxLength: 1
                          description: Language Key
                        ACTIVITY:
                          type: string
                          maxLength: 20
                          description: Activity that wrote the entry to the object list
                  ET_OCS_TADIR:
                    type: array
                    items:
                      type: object
                      properties:
                        TRKORR:
                          type: string
                          maxLength: 20
                          description: Request/Task
                        AS4POS:
                          type: integer
                          format: int64
                          description: 'Dictionary: Line item'
                        PGMID:
                          type: string
                          maxLength: 4
                          description: Program ID in Requests and Tasks
                        OBJECT:
                          type: string
                          maxLength: 4
                          description: Object Type of Element
                        OBJ_NAME:
                          type: string
                          maxLength: 40
                          description: Object Name in Object Directory
                  ET_PAT08:
                    type: array
                    items:
                      type: object
                      properties:
                        PATCH:
                          type: string
                          maxLength: 20
                          description: Support Package name
                        X_ATTRIB:
                          type: string
                          maxLength: 20
                          description: 'PAT08: Name of extended attribute'
                        CNT:
                          type: integer
                          format: int64
                          description: 'PAT07/PAT08/PAT13: Sequence'
                        VALUE:
                          type: string
                          maxLength: 60
                          description: 'PAT08: Value of extended Support Package attribute'
                        FLAG:
                          type: string
                          maxLength: 1
                          description: 'PAT07: Flag  enumValues: D=Deleted'
                          enum:
                          - D
                        DESCRIPT:
                          type: string
                          maxLength: 60
                          description: Support Package description
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
