openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWW_WI_DEADLINES_READ:
    post:
      tags:
      - SWWA
      summary: Read Deadline Data of Work Item
      operationId: /rfc/SWW_WI_DEADLINES_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                WI_ID:
                  type: integer
                  format: int64
                  description: Work Item ID
              required:
              - WI_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  WI_DEADLINES:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      WI_ID:
                        type: integer
                        format: int64
                        description: Work item ID
                      WI_DSD:
                        type: string
                        format: date
                        description: Requested Start Date for Work Item
                      WI_DST:
                        type: string
                        maxLength: 6
                        description: Requested start time for work item
                      WI_LSD:
                        type: string
                        format: date
                        description: Latest Start Date for Work Item
                      WI_LST:
                        type: string
                        maxLength: 6
                        description: Latest start time for work item
                      WI_LSACT:
                        type: string
                        maxLength: 30
                        description: Action on latest start
                      WI_DED:
                        type: string
                        format: date
                        description: Requested End Date for Work Item
                      WI_DET:
                        type: string
                        maxLength: 6
                        description: Requested end time for work item
                      WI_DEACT:
                        type: string
                        maxLength: 30
                        description: Action on requested end date/time
                      WI_LED:
                        type: string
                        format: date
                        description: Latest End Date for Work Item
                      WI_LET:
                        type: string
                        maxLength: 6
                        description: Latest end time for work item
                      WI_LEACT:
                        type: string
                        maxLength: 30
                        description: Action on Latest End
                      WI_LEESC:
                        type: integer
                        format: int64
                        description: Escalation levels on latest end date/time of a work item
                      WI_DH_STAT:
                        type: integer
                        format: int64
                        description: 'Deadline Status of a Work Item  enumValues: 8996=Latest Start,8990=Requested Start,8998=Latest End,0000=Deadline Not Yet Reached,8997=Requested End'
                        enum:
                        - '8996'
                        - '8990'
                        - '8998'
                        - '0000'
                        - '8997'
                      INH_DSD:
                        type: string
                        format: date
                        description: Inherited requested start date
                      INH_DST:
                        type: string
                        maxLength: 6
                        description: Inherited requested start
                      INH_WIDS:
                        type: integer
                        format: int64
                        description: Work item which inherits requested start deadline
                      INH_LSD:
                        type: string
                        format: date
                        description: Inherited latest start date
                      INH_LST:
                        type: string
                        maxLength: 6
                        description: Inherited latest start
                      INH_LSACT:
                        type: string
                        maxLength: 30
                        description: Inherited action for latest start
                      INH_WILS:
                        type: integer
                        format: int64
                        description: Work item which inherits latest start deadline
                      INH_DED:
                        type: string
                        format: date
                        description: Inherited requested end date
                      INH_DET:
                        type: string
                        maxLength: 6
                        description: Inherited requested end
                      INH_DEACT:
                        type: string
                        maxLength: 30
                        description: Inherited action for requested end
                      INH_WIDE:
                        type: integer
                        format: int64
                        description: Work item which inherits requested end deadline
                      INH_LED:
                        type: string
                        format: date
                        description: Inherited latest end date
                      INH_LET:
                        type: string
                        maxLength: 6
                        description: Inherited latest end
                      INH_LEACT:
                        type: string
                        maxLength: 30
                        description: Inherited action for latest end
                      INH_LEESC:
                        type: integer
                        format: int64
                        description: Inherited latest end escalation
                      INH_WILE:
                        type: integer
                        format: int64
                        description: Work item which inherits requested end deadline
                      WI_DS_UTC:
                        type: string
                        maxLength: 1
                        description: 'Workflow: Requested Start in UTC  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      WI_LS_UTC:
                        type: string
                        maxLength: 1
                        description: 'Workflow: Latest Start in UTC  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      WI_DE_UTC:
                        type: string
                        maxLength: 1
                        description: 'Workflow: Requested End in UTC  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      WI_LE_UTC:
                        type: string
                        maxLength: 1
                        description: 'Workflow: Latest End (Deadline) in UTC  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                  WI_DEADLINES_NEW:
                    type: object
                    properties:
                      WI_ID:
                        type: integer
                        format: int64
                        description: Work item ID
                      WI_DSD:
                        type: string
                        format: date
                        description: Requested Start Date for Work Item
                      WI_DST:
                        type: string
                        maxLength: 6
                        description: Requested start time for work item
                      WI_DSACT:
                        type: string
                        maxLength: 30
                        description: Action on Requested Start
                      WI_DS_ZONLO:
                        type: string
                        maxLength: 6
                        description: Time Zone for Requested Start
                      WI_DS_STMP:
                        type: integer
                        format: int64
                        description: UTC Time Stamp for Requested Start
                      WI_DS_UTC:
                        type: string
                        maxLength: 1
                        description: 'Workflow: Requested Start in UTC  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      WI_LSD:
                        type: string
                        format: date
                        description: Latest Start Date for Work Item
                      WI_LST:
                        type: string
                        maxLength: 6
                        description: Latest start time for work item
                      WI_LSACT:
                        type: string
                        maxLength: 30
                        description: Action on latest start
                      WI_LS_ZONLO:
                        type: string
                        maxLength: 6
                        description: Time Zone for Latest Start
                      WI_LS_STMP:
                        type: integer
                        format: int64
                        description: UTC Time Stamp for Latest Start
                      WI_LS_UTC:
                        type: string
                        maxLength: 1
                        description: 'Workflow: Latest Start in UTC  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      WI_DED:
                        type: string
                        format: date
                        description: Requested End Date for Work Item
                      WI_DET:
                        type: string
                        maxLength: 6
                        description: Requested end time for work item
                      WI_DEACT:
                        type: string
                        maxLength: 30
                        description: Action on requested end date/time
                      WI_DE_ZONLO:
                        type: string
                        maxLength: 6
                        description: Time Zone for Requested End
                      WI_DE_STMP:
                        type: integer
                        format: int64
                        description: UTC Time Stamp for Requested End
                      WI_DE_UTC:
                        type: string
                        maxLength: 1
                        description: 'Workflow: Requested End in UTC  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      WI_LED:
                        type: string
                        format: date
                        description: Latest End Date for Work Item
                      WI_LET:
                        type: string
                        maxLength: 6
                        description: Latest end time for work item
                      WI_LEACT:
                        type: string
                        maxLength: 30
                        description: Action on Latest End
                      WI_LE_ZONLO:
                        type: string
                        maxLength: 6
                        description: Time Zone for Latest End
                      WI_LE_STMP:
                        type: integer
                        format: int64
                        description: UTC Time Stamp for Latest End
                      WI_LE_UTC:
                        type: string
                        maxLength: 1
                        description: 'Workflow: Latest End (Deadline) in UTC  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      WI_LEESC:
                        type: integer
                        format: int64
                        description: Escalation levels on latest end date/time of a work item
                      WI_DH_STAT:
                        type: integer
                        format: int64
                        description: 'Deadline Status of a Work Item  enumValues: 8996=Latest Start,8990=Requested Start,8998=Latest End,0000=Deadline Not Yet Reached,8997=Requested End'
                        enum:
                        - '8996'
                        - '8990'
                        - '8998'
                        - '0000'
                        - '8997'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
