openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SDOK_M_ENTS_DELETE:
    post:
      tags:
      - SDC_MODEL
      operationId: /rfc/SDOK_M_ENTS_DELETE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                AVOID_TR_RECORD:
                  type: string
                  default: ' '
                  maxLength: 1
                X_ONLY_CHECK:
                  type: string
                  default: ' '
                  maxLength: 1
                X_PARTS_ONLY:
                  type: string
                  default: ' '
                  maxLength: 1
                BAD_ENTITIES:
                  type: array
                  items:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Model: Model Object Type  enumValues: P=PHIO class,4=Virtual PHIO class,R=RELA class,1=Real LOIO class,+=PHIO secondary table,p=PHIO (Instance Layer),T=Context class attribute assignment,x=PHIO (Instance Layer / Header),A=IO attribute,y=PHIO (Instance Layer / Check-out),X=Context class,u=LOIO (Instance Layer / Description),2=Virtual LOIO class,""=No model entity,5=Real RELA class,*=LOIO secondary table,S=IO class attribute assignment,O=LOIO/PHIO class,C=Class
                          connection space,l=LOIO (Instance Layer),W=Real class,L=LOIO class,t=LOIO (Instance Layer /Header),M=Document area,3=Real PHIO class,>=RELA secondary table,<=LOIO Secondary Table for Relations Attributes,r=RELA (Instance Layer),6=Virtual RELA class,o=LOIO/PHIO (Instance Layer),V=Virtual class,K=IO class,-=PHIO Secondary Table for Relations Attributes'
                        enum:
                        - P
                        - '4'
                        - R
                        - '1'
                        - +
                        - p
                        - T
                        - x
                        - A
                        - y
                        - X
                        - u
                        - '2'
                        - ''
                        - '5'
                        - '*'
                        - S
                        - O
                        - C
                        - l
                        - W
                        - L
                        - t
                        - M
                        - '3'
                        - '>'
                        - <
                        - r
                        - '6'
                        - o
                        - V
                        - K
                        - '-'
                      ENTITY:
                        type: string
                        maxLength: 30
                        description: 'Model: Entity Name'
                      VERSION:
                        type: string
                        maxLength: 1
                        description: 'Model: Entity Version  enumValues: 0=Active,9=Inactive,""=Active/Inactive,2=Deleted,1=Transport'
                        enum:
                        - '0'
                        - '9'
                        - ''
                        - '2'
                        - '1'
                      ERR:
                        type: integer
                        format: int64
                        description: 'Model: Error code for entity check  enumValues: 24=Assignment of attributes inconsistent with replications,18="Outgoing" table missing,30=Tabulation / incorrect field length,14=Entity cannot be instantiated,22=There are instances,35=Instantiated class / attribute deleted,00=No error,19="Incoming" table missing,13=Invalid name,15=Error in correction system,25=Instantiated class cannot be adjusted,17=Header table missing,34=Instantiated class / attribute cardinality
                          changed,99=Unknown,23=Entity is being used elsewhere,01=Invalid Attribute,10=Entity does not exist,16=Necessary table for one of the contained IO classes missing,21="Taraget document" table missing,33=Instantiated class / type of relationship changed,31=Instantiated class / header table changed,26=Tabulation incorrect,20="Hyperlink" table missing,32=Instantiated class / attribute field changed,11=Entity locked,27=Tabulation / table not valid,29=Tabulation / incorrect field
                          type,12=Document model area is not empty,28=Tabulation / table field not valid'
                        enum:
                        - '24'
                        - '18'
                        - '30'
                        - '14'
                        - '22'
                        - '35'
                        - '00'
                        - '19'
                        - '13'
                        - '15'
                        - '25'
                        - '17'
                        - '34'
                        - '99'
                        - '23'
                        - '01'
                        - '10'
                        - '16'
                        - '21'
                        - '33'
                        - '31'
                        - '26'
                        - '20'
                        - '32'
                        - '11'
                        - '27'
                        - '29'
                        - '12'
                        - '28'
                      SUBTYPE:
                        type: string
                        maxLength: 1
                        description: 'Model: Model Object Type  enumValues: P=PHIO class,4=Virtual PHIO class,R=RELA class,1=Real LOIO class,+=PHIO secondary table,p=PHIO (Instance Layer),T=Context class attribute assignment,x=PHIO (Instance Layer / Header),A=IO attribute,y=PHIO (Instance Layer / Check-out),X=Context class,u=LOIO (Instance Layer / Description),2=Virtual LOIO class,""=No model entity,5=Real RELA class,*=LOIO secondary table,S=IO class attribute assignment,O=LOIO/PHIO class,C=Class
                          connection space,l=LOIO (Instance Layer),W=Real class,L=LOIO class,t=LOIO (Instance Layer /Header),M=Document area,3=Real PHIO class,>=RELA secondary table,<=LOIO Secondary Table for Relations Attributes,r=RELA (Instance Layer),6=Virtual RELA class,o=LOIO/PHIO (Instance Layer),V=Virtual class,K=IO class,-=PHIO Secondary Table for Relations Attributes'
                        enum:
                        - P
                        - '4'
                        - R
                        - '1'
                        - +
                        - p
                        - T
                        - x
                        - A
                        - y
                        - X
                        - u
                        - '2'
                        - ''
                        - '5'
                        - '*'
                        - S
                        - O
                        - C
                        - l
                        - W
                        - L
                        - t
                        - M
                        - '3'
                        - '>'
                        - <
                        - r
                        - '6'
                        - o
                        - V
                        - K
                        - '-'
                      SUBENTITY:
                        type: string
                        maxLength: 30
                        description: 'Model: Entity Name'
                      SUBERR:
                        type: integer
                        format: int64
                        description: 'Model: Error code for entity check  enumValues: 24=Assignment of attributes inconsistent with replications,18="Outgoing" table missing,30=Tabulation / incorrect field length,14=Entity cannot be instantiated,22=There are instances,35=Instantiated class / attribute deleted,00=No error,19="Incoming" table missing,13=Invalid name,15=Error in correction system,25=Instantiated class cannot be adjusted,17=Header table missing,34=Instantiated class / attribute cardinality
                          changed,99=Unknown,23=Entity is being used elsewhere,01=Invalid Attribute,10=Entity does not exist,16=Necessary table for one of the contained IO classes missing,21="Taraget document" table missing,33=Instantiated class / type of relationship changed,31=Instantiated class / header table changed,26=Tabulation incorrect,20="Hyperlink" table missing,32=Instantiated class / attribute field changed,11=Entity locked,27=Tabulation / table not valid,29=Tabulation / incorrect field
                          type,12=Document model area is not empty,28=Tabulation / table field not valid'
                        enum:
                        - '24'
                        - '18'
                        - '30'
                        - '14'
                        - '22'
                        - '35'
                        - '00'
                        - '19'
                        - '13'
                        - '15'
                        - '25'
                        - '17'
                        - '34'
                        - '99'
                        - '23'
                        - '01'
                        - '10'
                        - '16'
                        - '21'
                        - '33'
                        - '31'
                        - '26'
                        - '20'
                        - '32'
                        - '11'
                        - '27'
                        - '29'
                        - '12'
                        - '28'
                ENTITIES:
                  type: array
                  items:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Model: Model Object Type  enumValues: P=PHIO class,4=Virtual PHIO class,R=RELA class,1=Real LOIO class,+=PHIO secondary table,p=PHIO (Instance Layer),T=Context class attribute assignment,x=PHIO (Instance Layer / Header),A=IO attribute,y=PHIO (Instance Layer / Check-out),X=Context class,u=LOIO (Instance Layer / Description),2=Virtual LOIO class,""=No model entity,5=Real RELA class,*=LOIO secondary table,S=IO class attribute assignment,O=LOIO/PHIO class,C=Class
                          connection space,l=LOIO (Instance Layer),W=Real class,L=LOIO class,t=LOIO (Instance Layer /Header),M=Document area,3=Real PHIO class,>=RELA secondary table,<=LOIO Secondary Table for Relations Attributes,r=RELA (Instance Layer),6=Virtual RELA class,o=LOIO/PHIO (Instance Layer),V=Virtual class,K=IO class,-=PHIO Secondary Table for Relations Attributes'
                        enum:
                        - P
                        - '4'
                        - R
                        - '1'
                        - +
                        - p
                        - T
                        - x
                        - A
                        - y
                        - X
                        - u
                        - '2'
                        - ''
                        - '5'
                        - '*'
                        - S
                        - O
                        - C
                        - l
                        - W
                        - L
                        - t
                        - M
                        - '3'
                        - '>'
                        - <
                        - r
                        - '6'
                        - o
                        - V
                        - K
                        - '-'
                      ENTITY:
                        type: string
                        maxLength: 30
                        description: 'Model: Entity Name'
                      VERSION:
                        type: string
                        maxLength: 1
                        description: 'Model: Entity Version  enumValues: 0=Active,9=Inactive,""=Active/Inactive,2=Deleted,1=Transport'
                        enum:
                        - '0'
                        - '9'
                        - ''
                        - '2'
                        - '1'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  BAD_ENTITIES:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'Model: Model Object Type  enumValues: P=PHIO class,4=Virtual PHIO class,R=RELA class,1=Real LOIO class,+=PHIO secondary table,p=PHIO (Instance Layer),T=Context class attribute assignment,x=PHIO (Instance Layer / Header),A=IO attribute,y=PHIO (Instance Layer / Check-out),X=Context class,u=LOIO (Instance Layer / Description),2=Virtual LOIO class,""=No model entity,5=Real RELA class,*=LOIO secondary table,S=IO class attribute assignment,O=LOIO/PHIO class,C=Class
                            connection space,l=LOIO (Instance Layer),W=Real class,L=LOIO class,t=LOIO (Instance Layer /Header),M=Document area,3=Real PHIO class,>=RELA secondary table,<=LOIO Secondary Table for Relations Attributes,r=RELA (Instance Layer),6=Virtual RELA class,o=LOIO/PHIO (Instance Layer),V=Virtual class,K=IO class,-=PHIO Secondary Table for Relations Attributes'
                          enum:
                          - P
                          - '4'
                          - R
                          - '1'
                          - +
                          - p
                          - T
                          - x
                          - A
                          - y
                          - X
                          - u
                          - '2'
                          - ''
                          - '5'
                          - '*'
                          - S
                          - O
                          - C
                          - l
                          - W
                          - L
                          - t
                          - M
                          - '3'
                          - '>'
                          - <
                          - r
                          - '6'
                          - o
                          - V
                          - K
                          - '-'
                        ENTITY:
                          type: string
                          maxLength: 30
                          description: 'Model: Entity Name'
                        VERSION:
                          type: string
                          maxLength: 1
                          description: 'Model: Entity Version  enumValues: 0=Active,9=Inactive,""=Active/Inactive,2=Deleted,1=Transport'
                          enum:
                          - '0'
                          - '9'
                          - ''
                          - '2'
                          - '1'
                        ERR:
                          type: integer
                          format: int64
                          description: 'Model: Error code for entity check  enumValues: 24=Assignment of attributes inconsistent with replications,18="Outgoing" table missing,30=Tabulation / incorrect field length,14=Entity cannot be instantiated,22=There are instances,35=Instantiated class / attribute deleted,00=No error,19="Incoming" table missing,13=Invalid name,15=Error in correction system,25=Instantiated class cannot be adjusted,17=Header table missing,34=Instantiated class / attribute cardinality
                            changed,99=Unknown,23=Entity is being used elsewhere,01=Invalid Attribute,10=Entity does not exist,16=Necessary table for one of the contained IO classes missing,21="Taraget document" table missing,33=Instantiated class / type of relationship changed,31=Instantiated class / header table changed,26=Tabulation incorrect,20="Hyperlink" table missing,32=Instantiated class / attribute field changed,11=Entity locked,27=Tabulation / table not valid,29=Tabulation / incorrect field
                            type,12=Document model area is not empty,28=Tabulation / table field not valid'
                          enum:
                          - '24'
                          - '18'
                          - '30'
                          - '14'
                          - '22'
                          - '35'
                          - '00'
                          - '19'
                          - '13'
                          - '15'
                          - '25'
                          - '17'
                          - '34'
                          - '99'
                          - '23'
                          - '01'
                          - '10'
                          - '16'
                          - '21'
                          - '33'
                          - '31'
                          - '26'
                          - '20'
                          - '32'
                          - '11'
                          - '27'
                          - '29'
                          - '12'
                          - '28'
                        SUBTYPE:
                          type: string
                          maxLength: 1
                          description: 'Model: Model Object Type  enumValues: P=PHIO class,4=Virtual PHIO class,R=RELA class,1=Real LOIO class,+=PHIO secondary table,p=PHIO (Instance Layer),T=Context class attribute assignment,x=PHIO (Instance Layer / Header),A=IO attribute,y=PHIO (Instance Layer / Check-out),X=Context class,u=LOIO (Instance Layer / Description),2=Virtual LOIO class,""=No model entity,5=Real RELA class,*=LOIO secondary table,S=IO class attribute assignment,O=LOIO/PHIO class,C=Class
                            connection space,l=LOIO (Instance Layer),W=Real class,L=LOIO class,t=LOIO (Instance Layer /Header),M=Document area,3=Real PHIO class,>=RELA secondary table,<=LOIO Secondary Table for Relations Attributes,r=RELA (Instance Layer),6=Virtual RELA class,o=LOIO/PHIO (Instance Layer),V=Virtual class,K=IO class,-=PHIO Secondary Table for Relations Attributes'
                          enum:
                          - P
                          - '4'
                          - R
                          - '1'
                          - +
                          - p
                          - T
                          - x
                          - A
                          - y
                          - X
                          - u
                          - '2'
                          - ''
                          - '5'
                          - '*'
                          - S
                          - O
                          - C
                          - l
                          - W
                          - L
                          - t
                          - M
                          - '3'
                          - '>'
                          - <
                          - r
                          - '6'
                          - o
                          - V
                          - K
                          - '-'
                        SUBENTITY:
                          type: string
                          maxLength: 30
                          description: 'Model: Entity Name'
                        SUBERR:
                          type: integer
                          format: int64
                          description: 'Model: Error code for entity check  enumValues: 24=Assignment of attributes inconsistent with replications,18="Outgoing" table missing,30=Tabulation / incorrect field length,14=Entity cannot be instantiated,22=There are instances,35=Instantiated class / attribute deleted,00=No error,19="Incoming" table missing,13=Invalid name,15=Error in correction system,25=Instantiated class cannot be adjusted,17=Header table missing,34=Instantiated class / attribute cardinality
                            changed,99=Unknown,23=Entity is being used elsewhere,01=Invalid Attribute,10=Entity does not exist,16=Necessary table for one of the contained IO classes missing,21="Taraget document" table missing,33=Instantiated class / type of relationship changed,31=Instantiated class / header table changed,26=Tabulation incorrect,20="Hyperlink" table missing,32=Instantiated class / attribute field changed,11=Entity locked,27=Tabulation / table not valid,29=Tabulation / incorrect field
                            type,12=Document model area is not empty,28=Tabulation / table field not valid'
                          enum:
                          - '24'
                          - '18'
                          - '30'
                          - '14'
                          - '22'
                          - '35'
                          - '00'
                          - '19'
                          - '13'
                          - '15'
                          - '25'
                          - '17'
                          - '34'
                          - '99'
                          - '23'
                          - '01'
                          - '10'
                          - '16'
                          - '21'
                          - '33'
                          - '31'
                          - '26'
                          - '20'
                          - '32'
                          - '11'
                          - '27'
                          - '29'
                          - '12'
                          - '28'
                  ENTITIES:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'Model: Model Object Type  enumValues: P=PHIO class,4=Virtual PHIO class,R=RELA class,1=Real LOIO class,+=PHIO secondary table,p=PHIO (Instance Layer),T=Context class attribute assignment,x=PHIO (Instance Layer / Header),A=IO attribute,y=PHIO (Instance Layer / Check-out),X=Context class,u=LOIO (Instance Layer / Description),2=Virtual LOIO class,""=No model entity,5=Real RELA class,*=LOIO secondary table,S=IO class attribute assignment,O=LOIO/PHIO class,C=Class
                            connection space,l=LOIO (Instance Layer),W=Real class,L=LOIO class,t=LOIO (Instance Layer /Header),M=Document area,3=Real PHIO class,>=RELA secondary table,<=LOIO Secondary Table for Relations Attributes,r=RELA (Instance Layer),6=Virtual RELA class,o=LOIO/PHIO (Instance Layer),V=Virtual class,K=IO class,-=PHIO Secondary Table for Relations Attributes'
                          enum:
                          - P
                          - '4'
                          - R
                          - '1'
                          - +
                          - p
                          - T
                          - x
                          - A
                          - y
                          - X
                          - u
                          - '2'
                          - ''
                          - '5'
                          - '*'
                          - S
                          - O
                          - C
                          - l
                          - W
                          - L
                          - t
                          - M
                          - '3'
                          - '>'
                          - <
                          - r
                          - '6'
                          - o
                          - V
                          - K
                          - '-'
                        ENTITY:
                          type: string
                          maxLength: 30
                          description: 'Model: Entity Name'
                        VERSION:
                          type: string
                          maxLength: 1
                          description: 'Model: Entity Version  enumValues: 0=Active,9=Inactive,""=Active/Inactive,2=Deleted,1=Transport'
                          enum:
                          - '0'
                          - '9'
                          - ''
                          - '2'
                          - '1'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
