openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/LXE_PCY_CONT_EDIT_FIX:
    post:
      tags:
      - LXE_PCY
      operationId: /rfc/LXE_PCY_CONT_EDIT_FIX
      requestBody:
        content:
          application/json:
            schema:
              properties:
                WRKOB:
                  type: object
                  properties:
                    TARG_LANG:
                      type: string
                      maxLength: 4
                      description: ISO Language ID
                    CUSTMNR:
                      type: string
                      maxLength: 6
                      description: Translation Area
                    OBJTYPE:
                      type: string
                      maxLength: 4
                      description: Type of Translation Object
                    OBJNAME:
                      type: string
                      maxLength: 70
                      description: Name of Translation Object
                    DOMATYP:
                      type: string
                      maxLength: 1
                      description: 'Domain Type  enumValues: R=Application Area (Local System),X=External'
                      enum:
                      - R
                      - X
                    DOMANAM:
                      type: string
                      maxLength: 2
                      description: Domain Name
                    COLLTYP:
                      type: string
                      maxLength: 1
                      description: 'Collection Type  enumValues: X=External,R=Package (Local System)'
                      enum:
                      - X
                      - R
                    COLLNAM:
                      type: string
                      maxLength: 32
                      description: Collection Name
                    ORIG_LANG:
                      type: string
                      maxLength: 4
                      description: ISO Language ID
                    SOUR_LANG:
                      type: string
                      maxLength: 4
                      description: ISO Language ID
                    WLISTID:
                      type: string
                      maxLength: 4
                      description: Worklist ID
                    STATWKL:
                      type: string
                      maxLength: 1
                      description: Worklist Status
                    STATDRV:
                      type: string
                      maxLength: 1
                      description: 'Secondary translation status  enumValues: 0=Untested,1=Source text translatable, valuation was updated,3=Source text cannot be translated at present,4=Source text cannot be checked in current system,2=Source text translatable, valuation was not updated'
                      enum:
                      - '0'
                      - '1'
                      - '3'
                      - '4'
                      - '2'
                    STATTRN:
                      type: string
                      maxLength: 1
                      description: 'Translation Status  enumValues: N=New,M=Modified,T=Translated,D=Deleted'
                      enum:
                      - N
                      - M
                      - T
                      - D
                    CNTTOT:
                      type: integer
                      format: int32
                      description: Total Number of Translation Units
                    CNTNEW:
                      type: integer
                      format: int32
                      description: Number of New Translation Units
                    CNTMOD:
                      type: integer
                      format: int32
                      description: Modified Translation Units
                    CNTAVL:
                      type: integer
                      format: int32
                      description: Available Translation Units
                    UNAME:
                      type: string
                      maxLength: 12
                      description: Last Changed by
                    UDATE:
                      type: string
                      format: date
                      description: Date of Last Change
                    UTIME:
                      type: string
                      maxLength: 6
                      description: Last changed at
                    RESRVID:
                      type: integer
                      format: int64
                      description: Object Reservation Number
                    STATRSV:
                      type: string
                      maxLength: 1
                      description: Object Reservation Status
              required:
              - WRKOB
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERR_MESS:
                    type: string
                    description: Process Status
                  PSTATUS:
                    type: string
                    maxLength: 1
                    description: Process Status
                  WRKOB:
                    type: object
                    properties:
                      TARG_LANG:
                        type: string
                        maxLength: 4
                        description: ISO Language ID
                      CUSTMNR:
                        type: string
                        maxLength: 6
                        description: Translation Area
                      OBJTYPE:
                        type: string
                        maxLength: 4
                        description: Type of Translation Object
                      OBJNAME:
                        type: string
                        maxLength: 70
                        description: Name of Translation Object
                      DOMATYP:
                        type: string
                        maxLength: 1
                        description: 'Domain Type  enumValues: R=Application Area (Local System),X=External'
                        enum:
                        - R
                        - X
                      DOMANAM:
                        type: string
                        maxLength: 2
                        description: Domain Name
                      COLLTYP:
                        type: string
                        maxLength: 1
                        description: 'Collection Type  enumValues: X=External,R=Package (Local System)'
                        enum:
                        - X
                        - R
                      COLLNAM:
                        type: string
                        maxLength: 32
                        description: Collection Name
                      ORIG_LANG:
                        type: string
                        maxLength: 4
                        description: ISO Language ID
                      SOUR_LANG:
                        type: string
                        maxLength: 4
                        description: ISO Language ID
                      WLISTID:
                        type: string
                        maxLength: 4
                        description: Worklist ID
                      STATWKL:
                        type: string
                        maxLength: 1
                        description: Worklist Status
                      STATDRV:
                        type: string
                        maxLength: 1
                        description: 'Secondary translation status  enumValues: 0=Untested,1=Source text translatable, valuation was updated,3=Source text cannot be translated at present,4=Source text cannot be checked in current system,2=Source text translatable, valuation was not updated'
                        enum:
                        - '0'
                        - '1'
                        - '3'
                        - '4'
                        - '2'
                      STATTRN:
                        type: string
                        maxLength: 1
                        description: 'Translation Status  enumValues: N=New,M=Modified,T=Translated,D=Deleted'
                        enum:
                        - N
                        - M
                        - T
                        - D
                      CNTTOT:
                        type: integer
                        format: int32
                        description: Total Number of Translation Units
                      CNTNEW:
                        type: integer
                        format: int32
                        description: Number of New Translation Units
                      CNTMOD:
                        type: integer
                        format: int32
                        description: Modified Translation Units
                      CNTAVL:
                        type: integer
                        format: int32
                        description: Available Translation Units
                      UNAME:
                        type: string
                        maxLength: 12
                        description: Last Changed by
                      UDATE:
                        type: string
                        format: date
                        description: Date of Last Change
                      UTIME:
                        type: string
                        maxLength: 6
                        description: Last changed at
                      RESRVID:
                        type: integer
                        format: int64
                        description: Object Reservation Number
                      STATRSV:
                        type: string
                        maxLength: 1
                        description: Object Reservation Status
                required:
                - WRKOB
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
