openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SO_SOFM_UPDATE:
    post:
      tags:
      - SOB7
      operationId: /rfc/SO_SOFM_UPDATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                SOFM_DAT:
                  type: object
                  properties:
                    PERMA:
                      type: string
                      maxLength: 1
                      description: 'SAPoffice: Object is displayed independent of selection date  enumValues: X=Value for activated,""=Value for deactivated'
                      enum:
                      - X
                      - ''
                    HOLDO:
                      type: string
                      maxLength: 1
                      description: 'The object has status HOLD  enumValues: X=Value for activated,""=Value for deactivated'
                      enum:
                      - X
                      - ''
                    ARCHI:
                      type: string
                      maxLength: 1
                      description: 'The document is stored in archive  enumValues: X=Value for activated,""=Value for deactivated'
                      enum:
                      - X
                      - ''
                    DLDAT:
                      type: string
                      format: date
                      description: Document Expiration Date
                    DLTIM:
                      type: string
                      maxLength: 6
                      description: Expiry time of object
                    NOTTP:
                      type: string
                      maxLength: 3
                      description: Default setting of document class
                    NOTYR:
                      type: string
                      maxLength: 2
                      description: 'Object note: year from the ID'
                    NOTNO:
                      type: string
                      maxLength: 12
                      description: 'Object note: number from the ID'
                    RCDAT:
                      type: string
                      format: date
                      description: Date document was received
                    RCTIM:
                      type: string
                      maxLength: 6
                      description: Time object was received
                    SNDDR:
                      type: string
                      maxLength: 1
                      description: 'Send: As disregard  enumValues: X=Value for activated,""=Value for deactivated'
                      enum:
                      - X
                      - ''
                    SNDEX:
                      type: string
                      maxLength: 1
                      description: 'Send express  enumValues: X=Value for activated,""=Value for deactivated'
                      enum:
                      - X
                      - ''
                    SNDCP:
                      type: string
                      maxLength: 1
                      description: 'Send: As copy  enumValues: X=Value for activated,""=Value for deactivated'
                      enum:
                      - X
                      - ''
                    SNDBC:
                      type: string
                      maxLength: 1
                      description: 'Send as a blind copy  enumValues: X=Value for activated,""=Value for deactivated'
                      enum:
                      - X
                      - ''
                    OBJAC:
                      type: string
                      maxLength: 1
                      description: 'The recipient must take action  enumValues: X=Value for activated,""=Value for deactivated'
                      enum:
                      - X
                      - ''
                    OBJRR:
                      type: string
                      maxLength: 1
                      description: 'A reply must be sent for this object  enumValues: X=Value for activated,""=Value for deactivated'
                      enum:
                      - X
                      - ''
                    OBJRD:
                      type: string
                      maxLength: 1
                      description: 'Object has already been viewed  enumValues: X=Value for activated,""=Value for deactivated'
                      enum:
                      - X
                      - ''
                    RESUB:
                      type: string
                      maxLength: 1
                      description: 'SAPoffice: folder entry is a resubmitted object  enumValues: 1=Possible values,""=No specification made'
                      enum:
                      - '1'
                      - ''
                    RECPRI:
                      type: string
                      maxLength: 1
                      description: 'Priority  enumValues: 8=,9=Lowest priority,1=Highest priority'
                      enum:
                      - '8'
                      - '9'
                      - '1'
                    FLAG1:
                      type: string
                      maxLength: 1
                      description: 'Search of private or shared folders  enumValues: X=Value for activated,""=Value for deactivated'
                      enum:
                      - X
                      - ''
                    FLAG2:
                      type: string
                      maxLength: 1
                      description: 'Search of private or shared folders  enumValues: X=Value for activated,""=Value for deactivated'
                      enum:
                      - X
                      - ''
                    FLAG3:
                      type: string
                      maxLength: 1
                      description: 'Search of private or shared folders  enumValues: X=Value for activated,""=Value for deactivated'
                      enum:
                      - X
                      - ''
                    FLAG4:
                      type: string
                      maxLength: 1
                      description: 'Search of private or shared folders  enumValues: X=Value for activated,""=Value for deactivated'
                      enum:
                      - X
                      - ''
                    FLAG5:
                      type: string
                      maxLength: 1
                      description: 'Search of private or shared folders  enumValues: X=Value for activated,""=Value for deactivated'
                      enum:
                      - X
                      - ''
                    RBDAT:
                      type: string
                      format: date
                      description: Date On Which The Object Was Resubmitted
                    LFOLTP:
                      type: string
                      maxLength: 3
                      description: 'Object folder: Object type from ID'
                    LFOLYR:
                      type: string
                      maxLength: 2
                      description: 'Object folder: Year from ID'
                    LFOLNO:
                      type: string
                      maxLength: 12
                      description: 'Object folder: Number from ID'
                SOFM_KEY:
                  type: object
                  properties:
                    FOLTP:
                      type: string
                      maxLength: 3
                      description: 'Object folder: Object type from ID'
                    FOLYR:
                      type: string
                      maxLength: 2
                      description: 'Object folder: Year from ID'
                    FOLNO:
                      type: string
                      maxLength: 12
                      description: 'Object folder: Number from ID'
                    DOCTP:
                      type: string
                      maxLength: 3
                      description: 'Object: Object Type From ID'
                    DOCYR:
                      type: string
                      maxLength: 2
                      description: 'Object: Year from ID'
                    DOCNO:
                      type: string
                      maxLength: 12
                      description: 'Object: Number from ID'
                    FORTP:
                      type: string
                      maxLength: 3
                      description: 'Forwarder: Object type from ID'
                    FORYR:
                      type: string
                      maxLength: 2
                      description: 'Forwarder: year from the ID'
                    FORNO:
                      type: string
                      maxLength: 12
                      description: 'Forwarder: number from the ID'
              required:
              - SOFM_DAT
              - SOFM_KEY
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
