openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SO_SUBSTITUTION_ACTIVE:
    post:
      tags:
      - SOA4
      summary: 'SAPoffice: Active Substitutions'
      operationId: /rfc/SO_SUBSTITUTION_ACTIVE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DATUM:
                  type: string
                  format: date
                  default: SY-DATUM
                  description: Date of the desired active phase
                SUBSTITUTE:
                  type: string
                  default: ' '
                  maxLength: 12
                  description: Substitute Office name
                USER:
                  type: string
                  default: ' '
                  maxLength: 12
                  description: User Office name
                UZEIT:
                  type: string
                  default: SY-UZEIT
                  maxLength: 6
                  description: Time of day of desired active phase
                SUBSTITUTIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      USRNAM:
                        type: string
                        maxLength: 12
                        description: SAPoffice user name
                      USRADRNAM:
                        type: string
                        maxLength: 35
                        description: Name in address management
                      USRSAPNAM:
                        type: string
                        maxLength: 12
                        description: SAP name of a SAPoffice user
                      SUBNAM:
                        type: string
                        maxLength: 12
                        description: 'Substitute: Name of substitute'
                      SBDAT:
                        type: string
                        format: date
                        description: Start date for substitution or automatic forwarding
                      SBTIM:
                        type: string
                        maxLength: 6
                        description: Time at which substitution or forwarding begins
                      SEDAT:
                        type: string
                        format: date
                        description: End date for substitution or automatic forwarding
                      SETIM:
                        type: string
                        maxLength: 6
                        description: Time at which substitution or automatic forwarding ends
                      PSTHR1:
                        type: string
                        maxLength: 1
                        description: 'Functional substitute: Forward and delete  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      PSTHR2:
                        type: string
                        maxLength: 1
                        description: 'Automatic forwarding without deletion  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      AUTINT:
                        type: string
                        maxLength: 1
                        description: 'Authorization: send internally  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      AUTEXT:
                        type: string
                        maxLength: 1
                        description: Authorization to send externally
                      AUSER:
                        type: string
                        maxLength: 1
                        description: 'Substitute can maintain user  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      PUBDL:
                        type: string
                        maxLength: 1
                        description: 'Substitute: Maintain shared distribution lists  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      BCOPY:
                        type: string
                        maxLength: 1
                        description: 'Substitute can access blind copies  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      OBJAPR:
                        type: string
                        maxLength: 1
                        description: 'Substitute can access private objects  enumValues: 2=Change Object,1=Display Object,3=Delete Object,0=No authorization exists'
                        enum:
                        - '2'
                        - '1'
                        - '3'
                        - '0'
                      OBJACO:
                        type: string
                        maxLength: 1
                        description: 'Substitute can access confidential objects  enumValues: 2=Change Object,1=Display Object,3=Delete Object,0=No authorization exists'
                        enum:
                        - '2'
                        - '1'
                        - '3'
                        - '0'
                      OBJACC:
                        type: string
                        maxLength: 1
                        description: 'Substitute can access company confidential objects  enumValues: 2=Change Object,1=Display Object,3=Delete Object,0=No authorization exists'
                        enum:
                        - '2'
                        - '1'
                        - '3'
                        - '0'
                      OBJAFC:
                        type: string
                        maxLength: 1
                        description: 'Substitute can access functional objects  enumValues: 2=Change Object,1=Display Object,3=Delete Object,0=No authorization exists'
                        enum:
                        - '2'
                        - '1'
                        - '3'
                        - '0'
                      AUANS:
                        type: string
                        maxLength: 1
                        description: 'Substitute can access automatic replies  enumValues: 2=Change Object,1=Display Object,3=Delete Object,0=No authorization exists'
                        enum:
                        - '2'
                        - '1'
                        - '3'
                        - '0'
                      RESUB:
                        type: string
                        maxLength: 1
                        description: 'Substitute can access resubmissions  enumValues: 2=Change Object,1=Display Object,3=Delete Object,0=No authorization exists'
                        enum:
                        - '2'
                        - '1'
                        - '3'
                        - '0'
                      AUSSL:
                        type: string
                        maxLength: 1
                        description: 'Substitute can access subscription list  enumValues: 2=Change Object,1=Display Object,3=Delete Object,0=No authorization exists'
                        enum:
                        - '2'
                        - '1'
                        - '3'
                        - '0'
                      PUFOL:
                        type: string
                        maxLength: 1
                        description: 'Authorization: Shared folders  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      PROTI:
                        type: string
                        maxLength: 1
                        description: 'Substitute can access the inbox  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      PROTO:
                        type: string
                        maxLength: 1
                        description: 'Substitute can access the outbox  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      PROT1:
                        type: string
                        maxLength: 1
                        description: 'Substitute can access class 1 folders  enumValues: 2=Change Object,1=Display Object,3=Delete Object,0=No authorization exists'
                        enum:
                        - '2'
                        - '1'
                        - '3'
                        - '0'
                      PROT2:
                        type: string
                        maxLength: 1
                        description: 'Substitute can access class 2 folders  enumValues: 2=Change Object,1=Display Object,3=Delete Object,0=No authorization exists'
                        enum:
                        - '2'
                        - '1'
                        - '3'
                        - '0'
                      PROT3:
                        type: string
                        maxLength: 1
                        description: 'Substitute can access class 3 folders  enumValues: 2=Change Object,1=Display Object,3=Delete Object,0=No authorization exists'
                        enum:
                        - '2'
                        - '1'
                        - '3'
                        - '0'
                      PROT4:
                        type: string
                        maxLength: 1
                        description: 'Substitute can access class 4 folders  enumValues: 2=Change Object,1=Display Object,3=Delete Object,0=No authorization exists'
                        enum:
                        - '2'
                        - '1'
                        - '3'
                        - '0'
                      PROT5:
                        type: string
                        maxLength: 1
                        description: 'Substitute can access class 5 folders  enumValues: 2=Change Object,1=Display Object,3=Delete Object,0=No authorization exists'
                        enum:
                        - '2'
                        - '1'
                        - '3'
                        - '0'
                      PROT6:
                        type: string
                        maxLength: 1
                        description: 'Substitute can access class 6 folders  enumValues: 2=Change Object,1=Display Object,3=Delete Object,0=No authorization exists'
                        enum:
                        - '2'
                        - '1'
                        - '3'
                        - '0'
                      PROT7:
                        type: string
                        maxLength: 1
                        description: 'Substitute can access class 7 folders  enumValues: 2=Change Object,1=Display Object,3=Delete Object,0=No authorization exists'
                        enum:
                        - '2'
                        - '1'
                        - '3'
                        - '0'
                      PROT8:
                        type: string
                        maxLength: 1
                        description: 'Substitute can access class 8 folders  enumValues: 2=Change Object,1=Display Object,3=Delete Object,0=No authorization exists'
                        enum:
                        - '2'
                        - '1'
                        - '3'
                        - '0'
                      PROT9:
                        type: string
                        maxLength: 1
                        description: 'Substitute can access class 9 folders  enumValues: 2=Change Object,1=Display Object,3=Delete Object,0=No authorization exists'
                        enum:
                        - '2'
                        - '1'
                        - '3'
                        - '0'
                      OBJTP1:
                        type: string
                        maxLength: 3
                        description: 'Substitute: Additional folder auth. - object type from ID'
                      OBJYR1:
                        type: string
                        maxLength: 2
                        description: 'Substitute: Additional folder auth. - year from ID'
                      OBJNO1:
                        type: string
                        maxLength: 12
                        description: 'Substitute: Additional folder auth. - number from the ID'
                      OBJTP2:
                        type: string
                        maxLength: 3
                        description: 'Substitute: Note - object type from ID'
                      OBJYR2:
                        type: string
                        maxLength: 2
                        description: 'Substitute: Note - year from ID'
                      OBJNO2:
                        type: string
                        maxLength: 12
                        description: 'Substitute: Note number from the ID'
                      OBJTP3:
                        type: string
                        maxLength: 3
                        description: 'Substitute: Alternative object type from ID'
                      OBJYR3:
                        type: string
                        maxLength: 2
                        description: 'Substitute: Alternative year from ID'
                      OBJNO3:
                        type: string
                        maxLength: 12
                        description: 'Substitute: Alternative number from ID'
                      FLAG0:
                        type: string
                        maxLength: 1
                        description: 'Authorization for private folders  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      FLAG1:
                        type: string
                        maxLength: 1
                        description: 'Forward all documents automatically  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      FLAG2:
                        type: string
                        maxLength: 1
                        description: 'Substitute: Flag 2  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      FLAG3:
                        type: string
                        maxLength: 1
                        description: 'Substitute: Flag 3  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      FLAG4:
                        type: string
                        maxLength: 1
                        description: 'Substitute: Flag 4  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      FLAG5:
                        type: string
                        maxLength: 1
                        description: 'Substitute: Flag 5  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      FLAG6:
                        type: string
                        maxLength: 1
                        description: 'Substitute: Flag 6  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      FLAG7:
                        type: string
                        maxLength: 1
                        description: 'Substitute: Flag 7  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      FLAG8:
                        type: string
                        maxLength: 1
                        description: 'Substitute: Flag 8  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      FLAG9:
                        type: string
                        maxLength: 1
                        description: 'Substitute: Flag 9  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      AUTFW:
                        type: string
                        maxLength: 1
                        description: 'SAPoffice: Automatic forwarding  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      AUTFW1:
                        type: string
                        maxLength: 1
                        description: 'SAPoffice: Automatic forwarding and deletion in inbox  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      COMART:
                        type: string
                        maxLength: 3
                        description: 'SAPoffice: Communication method'
                      LFDNR:
                        type: string
                        maxLength: 3
                        description: 'Addresses: Sequence number'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SUBSTITUTIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        USRNAM:
                          type: string
                          maxLength: 12
                          description: SAPoffice user name
                        USRADRNAM:
                          type: string
                          maxLength: 35
                          description: Name in address management
                        USRSAPNAM:
                          type: string
                          maxLength: 12
                          description: SAP name of a SAPoffice user
                        SUBNAM:
                          type: string
                          maxLength: 12
                          description: 'Substitute: Name of substitute'
                        SBDAT:
                          type: string
                          format: date
                          description: Start date for substitution or automatic forwarding
                        SBTIM:
                          type: string
                          maxLength: 6
                          description: Time at which substitution or forwarding begins
                        SEDAT:
                          type: string
                          format: date
                          description: End date for substitution or automatic forwarding
                        SETIM:
                          type: string
                          maxLength: 6
                          description: Time at which substitution or automatic forwarding ends
                        PSTHR1:
                          type: string
                          maxLength: 1
                          description: 'Functional substitute: Forward and delete  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        PSTHR2:
                          type: string
                          maxLength: 1
                          description: 'Automatic forwarding without deletion  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        AUTINT:
                          type: string
                          maxLength: 1
                          description: 'Authorization: send internally  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        AUTEXT:
                          type: string
                          maxLength: 1
                          description: Authorization to send externally
                        AUSER:
                          type: string
                          maxLength: 1
                          description: 'Substitute can maintain user  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        PUBDL:
                          type: string
                          maxLength: 1
                          description: 'Substitute: Maintain shared distribution lists  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        BCOPY:
                          type: string
                          maxLength: 1
                          description: 'Substitute can access blind copies  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        OBJAPR:
                          type: string
                          maxLength: 1
                          description: 'Substitute can access private objects  enumValues: 2=Change Object,1=Display Object,3=Delete Object,0=No authorization exists'
                          enum:
                          - '2'
                          - '1'
                          - '3'
                          - '0'
                        OBJACO:
                          type: string
                          maxLength: 1
                          description: 'Substitute can access confidential objects  enumValues: 2=Change Object,1=Display Object,3=Delete Object,0=No authorization exists'
                          enum:
                          - '2'
                          - '1'
                          - '3'
                          - '0'
                        OBJACC:
                          type: string
                          maxLength: 1
                          description: 'Substitute can access company confidential objects  enumValues: 2=Change Object,1=Display Object,3=Delete Object,0=No authorization exists'
                          enum:
                          - '2'
                          - '1'
                          - '3'
                          - '0'
                        OBJAFC:
                          type: string
                          maxLength: 1
                          description: 'Substitute can access functional objects  enumValues: 2=Change Object,1=Display Object,3=Delete Object,0=No authorization exists'
                          enum:
                          - '2'
                          - '1'
                          - '3'
                          - '0'
                        AUANS:
                          type: string
                          maxLength: 1
                          description: 'Substitute can access automatic replies  enumValues: 2=Change Object,1=Display Object,3=Delete Object,0=No authorization exists'
                          enum:
                          - '2'
                          - '1'
                          - '3'
                          - '0'
                        RESUB:
                          type: string
                          maxLength: 1
                          description: 'Substitute can access resubmissions  enumValues: 2=Change Object,1=Display Object,3=Delete Object,0=No authorization exists'
                          enum:
                          - '2'
                          - '1'
                          - '3'
                          - '0'
                        AUSSL:
                          type: string
                          maxLength: 1
                          description: 'Substitute can access subscription list  enumValues: 2=Change Object,1=Display Object,3=Delete Object,0=No authorization exists'
                          enum:
                          - '2'
                          - '1'
                          - '3'
                          - '0'
                        PUFOL:
                          type: string
                          maxLength: 1
                          description: 'Authorization: Shared folders  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        PROTI:
                          type: string
                          maxLength: 1
                          description: 'Substitute can access the inbox  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        PROTO:
                          type: string
                          maxLength: 1
                          description: 'Substitute can access the outbox  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        PROT1:
                          type: string
                          maxLength: 1
                          description: 'Substitute can access class 1 folders  enumValues: 2=Change Object,1=Display Object,3=Delete Object,0=No authorization exists'
                          enum:
                          - '2'
                          - '1'
                          - '3'
                          - '0'
                        PROT2:
                          type: string
                          maxLength: 1
                          description: 'Substitute can access class 2 folders  enumValues: 2=Change Object,1=Display Object,3=Delete Object,0=No authorization exists'
                          enum:
                          - '2'
                          - '1'
                          - '3'
                          - '0'
                        PROT3:
                          type: string
                          maxLength: 1
                          description: 'Substitute can access class 3 folders  enumValues: 2=Change Object,1=Display Object,3=Delete Object,0=No authorization exists'
                          enum:
                          - '2'
                          - '1'
                          - '3'
                          - '0'
                        PROT4:
                          type: string
                          maxLength: 1
                          description: 'Substitute can access class 4 folders  enumValues: 2=Change Object,1=Display Object,3=Delete Object,0=No authorization exists'
                          enum:
                          - '2'
                          - '1'
                          - '3'
                          - '0'
                        PROT5:
                          type: string
                          maxLength: 1
                          description: 'Substitute can access class 5 folders  enumValues: 2=Change Object,1=Display Object,3=Delete Object,0=No authorization exists'
                          enum:
                          - '2'
                          - '1'
                          - '3'
                          - '0'
                        PROT6:
                          type: string
                          maxLength: 1
                          description: 'Substitute can access class 6 folders  enumValues: 2=Change Object,1=Display Object,3=Delete Object,0=No authorization exists'
                          enum:
                          - '2'
                          - '1'
                          - '3'
                          - '0'
                        PROT7:
                          type: string
                          maxLength: 1
                          description: 'Substitute can access class 7 folders  enumValues: 2=Change Object,1=Display Object,3=Delete Object,0=No authorization exists'
                          enum:
                          - '2'
                          - '1'
                          - '3'
                          - '0'
                        PROT8:
                          type: string
                          maxLength: 1
                          description: 'Substitute can access class 8 folders  enumValues: 2=Change Object,1=Display Object,3=Delete Object,0=No authorization exists'
                          enum:
                          - '2'
                          - '1'
                          - '3'
                          - '0'
                        PROT9:
                          type: string
                          maxLength: 1
                          description: 'Substitute can access class 9 folders  enumValues: 2=Change Object,1=Display Object,3=Delete Object,0=No authorization exists'
                          enum:
                          - '2'
                          - '1'
                          - '3'
                          - '0'
                        OBJTP1:
                          type: string
                          maxLength: 3
                          description: 'Substitute: Additional folder auth. - object type from ID'
                        OBJYR1:
                          type: string
                          maxLength: 2
                          description: 'Substitute: Additional folder auth. - year from ID'
                        OBJNO1:
                          type: string
                          maxLength: 12
                          description: 'Substitute: Additional folder auth. - number from the ID'
                        OBJTP2:
                          type: string
                          maxLength: 3
                          description: 'Substitute: Note - object type from ID'
                        OBJYR2:
                          type: string
                          maxLength: 2
                          description: 'Substitute: Note - year from ID'
                        OBJNO2:
                          type: string
                          maxLength: 12
                          description: 'Substitute: Note number from the ID'
                        OBJTP3:
                          type: string
                          maxLength: 3
                          description: 'Substitute: Alternative object type from ID'
                        OBJYR3:
                          type: string
                          maxLength: 2
                          description: 'Substitute: Alternative year from ID'
                        OBJNO3:
                          type: string
                          maxLength: 12
                          description: 'Substitute: Alternative number from ID'
                        FLAG0:
                          type: string
                          maxLength: 1
                          description: 'Authorization for private folders  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        FLAG1:
                          type: string
                          maxLength: 1
                          description: 'Forward all documents automatically  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        FLAG2:
                          type: string
                          maxLength: 1
                          description: 'Substitute: Flag 2  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        FLAG3:
                          type: string
                          maxLength: 1
                          description: 'Substitute: Flag 3  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        FLAG4:
                          type: string
                          maxLength: 1
                          description: 'Substitute: Flag 4  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        FLAG5:
                          type: string
                          maxLength: 1
                          description: 'Substitute: Flag 5  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        FLAG6:
                          type: string
                          maxLength: 1
                          description: 'Substitute: Flag 6  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        FLAG7:
                          type: string
                          maxLength: 1
                          description: 'Substitute: Flag 7  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        FLAG8:
                          type: string
                          maxLength: 1
                          description: 'Substitute: Flag 8  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        FLAG9:
                          type: string
                          maxLength: 1
                          description: 'Substitute: Flag 9  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        AUTFW:
                          type: string
                          maxLength: 1
                          description: 'SAPoffice: Automatic forwarding  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        AUTFW1:
                          type: string
                          maxLength: 1
                          description: 'SAPoffice: Automatic forwarding and deletion in inbox  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        COMART:
                          type: string
                          maxLength: 3
                          description: 'SAPoffice: Communication method'
                        LFDNR:
                          type: string
                          maxLength: 3
                          description: 'Addresses: Sequence number'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
