openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CRM_IOBJECT_GET_FAVORITES_PORT:
    post:
      tags:
      - CRM_PRODUCT_GET_FAVORITES
      operationId: /rfc/CRM_IOBJECT_GET_FAVORITES_PORT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IT_OBJECT_TYPE:
                  type: array
                  items:
                    type: string
                    maxLength: 10
                    description: Object Type
                UNAME:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                  description: User Name
                ET_FAVORITES_DETAIL:
                  type: array
                  items:
                    type: object
                    properties:
                      PRODUCT_GUID:
                        type: string
                        maxLength: 32
                        description: Internal Unique ID of Product
                      PRODUCT_ID:
                        type: string
                        maxLength: 40
                        description: Product ID
                      PRODUCT_TYPE:
                        type: string
                        maxLength: 2
                        description: Product Type
                      PRODUCT_TYPE_TEXT:
                        type: string
                        maxLength: 40
                        description: Product Type Description
                      PRSHTEXT:
                        type: string
                        maxLength: 40
                        description: Product Description
                      ROOT_CAT_GUID:
                        type: string
                        maxLength: 32
                        description: Category GUID as CHAR32
                      ROOT_CAT_ID:
                        type: string
                        maxLength: 20
                        description: Base Category ID
                      ROOT_CAT_TEXT:
                        type: string
                        maxLength: 80
                        description: Base Category Description
                      LOGSYS:
                        type: string
                        maxLength: 10
                        description: Original System
                      SOURCE_LOGSYS:
                        type: string
                        maxLength: 10
                        description: Original System
                      PRODUCT_STATUS:
                        type: string
                        maxLength: 5
                        description: Status
                      PRODUCT_STATUS_TEXT:
                        type: string
                        maxLength: 30
                        description: Status
                      SALES_CAT_GUID:
                        type: string
                        maxLength: 32
                        description: Category GUID as CHAR32
                      SALES_CAT_ID:
                        type: string
                        maxLength: 20
                        description: Category ID
                      SALES_CAT_TEXT:
                        type: string
                        maxLength: 80
                        description: Category Description
                      OBJTYPE:
                        type: string
                        maxLength: 10
                        description: Object Type
                      OBJECT_FAMILY:
                        type: string
                        maxLength: 4
                        description: Object Family
                      OBJECT_FAMILY_DESC:
                        type: string
                        maxLength: 40
                        description: Description of Object Family
              required:
              - UNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  HITS:
                    type: integer
                    format: int64
                  ET_FAVORITES_DETAIL:
                    type: array
                    items:
                      type: object
                      properties:
                        PRODUCT_GUID:
                          type: string
                          maxLength: 32
                          description: Internal Unique ID of Product
                        PRODUCT_ID:
                          type: string
                          maxLength: 40
                          description: Product ID
                        PRODUCT_TYPE:
                          type: string
                          maxLength: 2
                          description: Product Type
                        PRODUCT_TYPE_TEXT:
                          type: string
                          maxLength: 40
                          description: Product Type Description
                        PRSHTEXT:
                          type: string
                          maxLength: 40
                          description: Product Description
                        ROOT_CAT_GUID:
                          type: string
                          maxLength: 32
                          description: Category GUID as CHAR32
                        ROOT_CAT_ID:
                          type: string
                          maxLength: 20
                          description: Base Category ID
                        ROOT_CAT_TEXT:
                          type: string
                          maxLength: 80
                          description: Base Category Description
                        LOGSYS:
                          type: string
                          maxLength: 10
                          description: Original System
                        SOURCE_LOGSYS:
                          type: string
                          maxLength: 10
                          description: Original System
                        PRODUCT_STATUS:
                          type: string
                          maxLength: 5
                          description: Status
                        PRODUCT_STATUS_TEXT:
                          type: string
                          maxLength: 30
                          description: Status
                        SALES_CAT_GUID:
                          type: string
                          maxLength: 32
                          description: Category GUID as CHAR32
                        SALES_CAT_ID:
                          type: string
                          maxLength: 20
                          description: Category ID
                        SALES_CAT_TEXT:
                          type: string
                          maxLength: 80
                          description: Category Description
                        OBJTYPE:
                          type: string
                          maxLength: 10
                          description: Object Type
                        OBJECT_FAMILY:
                          type: string
                          maxLength: 4
                          description: Object Family
                        OBJECT_FAMILY_DESC:
                          type: string
                          maxLength: 40
                          description: Description of Object Family
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
