openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RHPP_Q_PROFILE_WRITE:
    post:
      tags:
      - RHPP
      summary: Create Qualifications Profile
      operationId: /rfc/RHPP_Q_PROFILE_WRITE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                OBJID:
                  type: string
                  maxLength: 45
                  description: Object ID
                OTYPE:
                  type: string
                  maxLength: 2
                  description: Object type
                PLVAR:
                  type: string
                  maxLength: 2
                  description: Plan Version
                VTASK:
                  type: string
                  default: D
                  maxLength: 1
                  description: Update (B=Buffer,D=Online,V=Update,S=Sync)
                CHANGE_PROFILE:
                  type: array
                  items:
                    type: object
                    properties:
                      TTYPE:
                        type: string
                        maxLength: 2
                        description: Type of Related Object
                      TBJID:
                        type: integer
                        format: int64
                        description: Object ID
                      SBEGD:
                        type: string
                        format: date
                        description: Start Date
                      SENDD:
                        type: string
                        format: date
                        description: End Date
                      VBEGD:
                        type: string
                        format: date
                        description: Start Date
                      VENDD:
                        type: string
                        format: date
                        description: End Date
                      ISTAT:
                        type: string
                        maxLength: 1
                        description: Planning Status
                      NOTE:
                        type: string
                        maxLength: 1
                        description: 'Flag: Object Has a Note  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      PROFCY:
                        type: integer
                        format: int64
                        description: Proficiency of a Quality Scale
                      ESSENTIAL:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Essential or Optional Requirement  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      NOT_RATED:
                        type: string
                        maxLength: 1
                        description: 'Flag: Without Rating  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                ERR_PROFILE:
                  type: array
                  items:
                    type: object
                    properties:
                      TTYPE:
                        type: string
                        maxLength: 2
                        description: Type of Related Object
                      TBJID:
                        type: integer
                        format: int64
                        description: Object ID
                      SBEGD:
                        type: string
                        format: date
                        description: Start Date
                      SENDD:
                        type: string
                        format: date
                        description: End Date
                      VBEGD:
                        type: string
                        format: date
                        description: Start Date
                      VENDD:
                        type: string
                        format: date
                        description: End Date
                      ISTAT:
                        type: string
                        maxLength: 1
                        description: Planning Status
                      NOTE:
                        type: string
                        maxLength: 1
                        description: 'Flag: Object Has a Note  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      PROFCY:
                        type: integer
                        format: int64
                        description: Proficiency of a Quality Scale
                      ESSENTIAL:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Essential or Optional Requirement  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      NOT_RATED:
                        type: string
                        maxLength: 1
                        description: 'Flag: Without Rating  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                PROFILE:
                  type: array
                  items:
                    type: object
                    properties:
                      TTYPE:
                        type: string
                        maxLength: 2
                        description: Type of Related Object
                      TBJID:
                        type: integer
                        format: int64
                        description: Object ID
                      SBEGD:
                        type: string
                        format: date
                        description: Start Date
                      SENDD:
                        type: string
                        format: date
                        description: End Date
                      VBEGD:
                        type: string
                        format: date
                        description: Start Date
                      VENDD:
                        type: string
                        format: date
                        description: End Date
                      ISTAT:
                        type: string
                        maxLength: 1
                        description: Planning Status
                      NOTE:
                        type: string
                        maxLength: 1
                        description: 'Flag: Object Has a Note  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      PROFCY:
                        type: integer
                        format: int64
                        description: Proficiency of a Quality Scale
                      ESSENTIAL:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Essential or Optional Requirement  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      NOT_RATED:
                        type: string
                        maxLength: 1
                        description: 'Flag: Without Rating  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
              required:
              - OBJID
              - OTYPE
              - PLVAR
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CHANGE_PROFILE:
                    type: array
                    items:
                      type: object
                      properties:
                        TTYPE:
                          type: string
                          maxLength: 2
                          description: Type of Related Object
                        TBJID:
                          type: integer
                          format: int64
                          description: Object ID
                        SBEGD:
                          type: string
                          format: date
                          description: Start Date
                        SENDD:
                          type: string
                          format: date
                          description: End Date
                        VBEGD:
                          type: string
                          format: date
                          description: Start Date
                        VENDD:
                          type: string
                          format: date
                          description: End Date
                        ISTAT:
                          type: string
                          maxLength: 1
                          description: Planning Status
                        NOTE:
                          type: string
                          maxLength: 1
                          description: 'Flag: Object Has a Note  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        PROFCY:
                          type: integer
                          format: int64
                          description: Proficiency of a Quality Scale
                        ESSENTIAL:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Essential or Optional Requirement  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        NOT_RATED:
                          type: string
                          maxLength: 1
                          description: 'Flag: Without Rating  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                  ERR_PROFILE:
                    type: array
                    items:
                      type: object
                      properties:
                        TTYPE:
                          type: string
                          maxLength: 2
                          description: Type of Related Object
                        TBJID:
                          type: integer
                          format: int64
                          description: Object ID
                        SBEGD:
                          type: string
                          format: date
                          description: Start Date
                        SENDD:
                          type: string
                          format: date
                          description: End Date
                        VBEGD:
                          type: string
                          format: date
                          description: Start Date
                        VENDD:
                          type: string
                          format: date
                          description: End Date
                        ISTAT:
                          type: string
                          maxLength: 1
                          description: Planning Status
                        NOTE:
                          type: string
                          maxLength: 1
                          description: 'Flag: Object Has a Note  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        PROFCY:
                          type: integer
                          format: int64
                          description: Proficiency of a Quality Scale
                        ESSENTIAL:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Essential or Optional Requirement  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        NOT_RATED:
                          type: string
                          maxLength: 1
                          description: 'Flag: Without Rating  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                  PROFILE:
                    type: array
                    items:
                      type: object
                      properties:
                        TTYPE:
                          type: string
                          maxLength: 2
                          description: Type of Related Object
                        TBJID:
                          type: integer
                          format: int64
                          description: Object ID
                        SBEGD:
                          type: string
                          format: date
                          description: Start Date
                        SENDD:
                          type: string
                          format: date
                          description: End Date
                        VBEGD:
                          type: string
                          format: date
                          description: Start Date
                        VENDD:
                          type: string
                          format: date
                          description: End Date
                        ISTAT:
                          type: string
                          maxLength: 1
                          description: Planning Status
                        NOTE:
                          type: string
                          maxLength: 1
                          description: 'Flag: Object Has a Note  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        PROFCY:
                          type: integer
                          format: int64
                          description: Proficiency of a Quality Scale
                        ESSENTIAL:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Essential or Optional Requirement  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        NOT_RATED:
                          type: string
                          maxLength: 1
                          description: 'Flag: Without Rating  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
