---
swagger: "2.0"
info:
  description: "# 1. Overview\nThings that the developers should know about\n\n# 1.1 Description\n\t Shows available real-time ATP quantities per sales channel, article, and DC\n\n# 1.2 oData name\n\tREST API on Netweaver\n\n# 1.3 Name for KONG\n\tOAA\n\n\n# 2. DEV\n# 2.1 URL HCD (DEV)\n\thttp://pvhdca00.pvhcorp.com:8080/sap/car/rest/zeuoaa/availability\n\n\n\n# 2.2 Upstream URL of consuming application DEV\n\thttps://e700232-tmn.hci.eu2.hana.ondemand.com  ( IP range : 157.133.70.0/24, 157.133.205.0/24 and 157.133.206.0/24)\n\t\n\n# 2.3 Status KONG\n\t\n\tno DEV environment on KONG, not published\n\n\n# 3. QAS\n# 3.1 URL HCQ (QAS)\n\thttp://pvhqca00.pvhcorp.com:8080/sap/car/rest/zeuoaa/availability\n\t\n\n# 3.2 Upstream URL of consuming application QAS\n\n\t@Ranjith: add here upstream URL of CPI Q\n\n# 3.3 Status KONG\n\n\tpublished\n\t\n# 3.4 KONG API\n\thttps://api-beta.pvhcorp.com/v1/OAA\n\n\n\t\n# 4. PROD\n# 4.1 URL HCP\n\thttp://pvhpca00.pvhcorp.com:8080/sap/car/rest/zeuoaa/availability\n\t\n\n\n# 4.2 Upstream URL of consuming application PROD\n\thttps://l700523-tmn.hci.eu2.hana.ondemand.com  ( IP range : 157.133.70.0/24, 157.133.205.0/24 and 157.133.206.0/24)\n\t\n\t\n# 4.3 Status KONG\n\n\tnot published\n\n\n# 4.4 Expected volume for PROD\n\n\tless than 1000 calls per day\n\n\n# 5. Authentication\n\tWhat is the preferred way of using the API? \n\t\n\tBASIC\n\t(with a HANA-User and custom PW)\n\n\n# 6. Error Codes\n\tWhat errors and status codes can a user expect? \n\t\n\t# 6.1 HTTP-Code 200\n\tno errors\n\t\n\t# 6.2 other HTTP-Codes (especially 4xx and 5xx codes)\n\terrors in accordance with HTTP-standards\n\t\n\t# 6.3 Further information in response\n\t\n\t\t# 6.3.1 Model\n\t\t\n\t\t\todata.error{\n\t\terror\todata.error.main{\n\t\t\tcode\tstring\n\t\t\tmessage\todata.error.message{\n\t\t\tlang\tstring\n\t\t\tvalue\tstring\n\t\t}\n\t\tinnererror\t{\n\t\t\tdescription:\t\n\t\t\tThe contents of this object are service-defined\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\n\t\t# 6.3.2 Example\n\t\t\n\t   \t{\n\t\t  \"error\": {\n    \t  \"code\": \"string\",\n          \"message\": {\n          \"lang\": \"string\",\n          \"value\": \"string\"\n        \t}\n          }\n        }\n\n\t\t\n\t\n\n# 7. Rate limit\n\tIs there a limit to the number of requests an user can send? \n\tNot defined\n\n# 8. Example URL \n\n\tQAS:\n\n\tAll articles with last calculation timestamp greater 2019-08-27 00:00:00 for sales channel 10000 (Tommy Hilfiger Webshop) (Delta-Mode)\n\n\thttp://pvhqca00.pvhcorp.com:8080/sap/car/rest/zeuoaa/availability?q=*&sap-client=300&salesChannel=10000&lastCalcTimestamp=20190827000000\n\t\n# 9. PVH sign-in\n\thttps://api-beta.pvhcorp.com/v1/OAA"
  version: "1.0"
  title: 04 - ODF - OAA ATP Details - Available ATP Quantities
  contact: {}
host: pvhpca00.pvhcorp.com:8080
basePath: /sap/car/rest/zeuoaa
tags:
- name: Misc
  description: ""
schemes:
- http
consumes:
- application/json
produces:
- application/json
security:
- auth: []
paths:
  /availability:
    get:
      tags:
      - Misc
      summary: Get OAA Details - Available Quantities per Sales Channel
      operationId: GetOAADetails-AvailableQuantitiesperSalesChannel
      produces:
      - application/json
      parameters:
      - name: q
        in: query
        description: ""
        required: true
        type: string
      - name: salesChannel
        in: query
        description: ""
        required: true
        type: integer
        format: int32
      deprecated: false
      responses:
        "200":
          description: ""
          headers: {}
securityDefinitions:
  auth:
    type: basic
definitions: {}
