---
swagger: '2.0'
info:
  description: ''
  version: ''
  title: ''
host: localhost:7777
basePath: "/sample/openapi"
schemes:
- http
paths:
  "/listofcontacts/2":
    post:
      summary: a simple query-operation to demo apiUi
      description: ''
      operationId: listofcontacts
      consumes:
      - application/json
      produces:
      - application/json
      parameters:
      - name: listof
        in: body
        required: true
        schema:
          "$ref": "#/definitions/querycontacts_req"
      responses:
        '200':
          description: Success response
          schema:
            "$ref": "#/definitions/querycontacts_rpy"
definitions:
  querycontacts_req:
    type: object
    properties:
      contact:
        type: array
        items:
          contactId:
            type: string
  querycontacts_rpy:
    type: object
    properties:
      ListOfcontacts:
        type: object
        properties:
          contact:
            type: array
            items:
             "$ref": "#/definitions/contact"
  contact:
    type: object
    properties:
      contactId:
        type: string
        description: Unique identifier for a contact. Identifier is automatically determined by the server when you create a contact.
      contactType:
        type: string
        enum: [prospect, suspect, customer, supplier]
      name:
        type: string
      phonenumber:
        type: string
      emailaddress:
        type: string
      created:
        type: string
        format: date-time
