openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CRM_STATUS_PRE_READ_DATA:
    post:
      tags:
      - CRMBSVA
      operationId: /rfc/CRM_STATUS_PRE_READ_DATA
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CLIENT:
                  type: string
                  default: SY-MANDT
                  maxLength: 3
                JEST_DATA_TABLE:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      OBJNR:
                        type: string
                        format: byte
                        description: GUID of a CRM Order Object
                      STAT:
                        type: string
                        maxLength: 5
                        description: Object Status
                      INACT:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Status Is Inactive  enumValues: ""=Active,X=Inactive'
                        enum:
                        - ''
                        - X
                      CHGNR:
                        type: integer
                        format: int64
                        description: Change Number
                JSTO_DATA_TABLE:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      OBJNR:
                        type: string
                        format: byte
                        description: GUID of a CRM Order Object
                      OBTYP:
                        type: string
                        maxLength: 3
                        description: Object Category
                      STSMA:
                        type: string
                        maxLength: 8
                        description: Status profile
                      CHGKZ:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Change documents are active  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      CHGNR:
                        type: integer
                        format: int64
                        description: Change number
                JSTO_PRE_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJNR:
                        type: string
                        format: byte
                        description: GUID of a CRM Order Object
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  NUMBER_OF_FETCHES:
                    type: integer
                    format: int32
                    description: Number of Status Objects Read
                  JEST_DATA_TABLE:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        OBJNR:
                          type: string
                          format: byte
                          description: GUID of a CRM Order Object
                        STAT:
                          type: string
                          maxLength: 5
                          description: Object Status
                        INACT:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Status Is Inactive  enumValues: ""=Active,X=Inactive'
                          enum:
                          - ''
                          - X
                        CHGNR:
                          type: integer
                          format: int64
                          description: Change Number
                  JSTO_DATA_TABLE:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        OBJNR:
                          type: string
                          format: byte
                          description: GUID of a CRM Order Object
                        OBTYP:
                          type: string
                          maxLength: 3
                          description: Object Category
                        STSMA:
                          type: string
                          maxLength: 8
                          description: Status profile
                        CHGKZ:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Change documents are active  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        CHGNR:
                          type: integer
                          format: int64
                          description: Change number
                  JSTO_PRE_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJNR:
                          type: string
                          format: byte
                          description: GUID of a CRM Order Object
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
