openapi: 3.0.0
info:
  title: NISHAT
  version: 1.0.0
servers:
  - url: https://sap2.nishat.com:50000
  - url: http://{{protocol}}
paths:
  /b1s/v2/Login:
    post:
      tags:
        - General
      summary: Login
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                UserName: manager
                Password: SAP@1234
                CompanyDB: Nishat_AbuDhabi_Live_01
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  //{ServerName}:{Port}/b1s/v2/Items:
    post:
      tags:
        - General
      summary: item-add
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                ItemCode: 0114-test
                ItemName: DELI PILER PUNCH 0114,12PC/BOX
                ForeignName: null
                ItemsGroupCode: 110
      parameters:
        - name: ServerName
          in: path
          schema:
            type: string
          required: true
        - name: Port
          in: path
          schema:
            type: string
          required: true
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
