--- swagger: "2.0" info: x-ibm-name: mobitel-voice-api title: Mobitel Voice API version: 1.0.0 description: "" schemes: - https basePath: /mvoice consumes: - application/json produces: - application/json securityDefinitions: clientIdHeader: type: apiKey in: header name: X-IBM-Client-Id security: - clientIdHeader: [] x-ibm-configuration: testable: true enforced: true phase: realized paths: /playandwaitforinputasync: post: responses: 200: description: 200 OK parameters: - name: request required: false in: body schema: $ref: '#/definitions/play-wait-async-req' /playfilelistasync: post: responses: 200: description: 200 OK parameters: - name: request required: false in: body schema: $ref: '#/definitions/play-list-async-req' /playfileasync: post: responses: 200: description: 200 OK parameters: - name: request required: false in: body schema: $ref: '#/definitions/play-async-req' /saynumber: post: responses: 200: description: 200 OK parameters: - name: request required: false in: body schema: $ref: '#/definitions/say-number-req' /saydigits: post: responses: 200: description: 200 OK parameters: - name: request required: false in: body schema: $ref: '#/definitions/say-digit-req' /playandwaitforinput: post: responses: 200: description: 200 OK parameters: - name: request required: false in: body schema: $ref: '#/definitions/play-wait-req' /playfile: post: responses: 200: description: 200 OK parameters: - name: request required: false in: body schema: $ref: '#/definitions/play-file-req' /hangupcall: post: responses: 200: description: 200 OK parameters: - name: request required: false in: body schema: $ref: '#/definitions/basic-input-req' /helloworld: post: responses: 200: description: 200 OK parameters: - name: request required: false in: body schema: $ref: '#/definitions/basic-input-req' definitions: basic-input: properties: txid: properties: [] type: string ivrno: properties: [] type: string callerid: properties: [] type: string organization: properties: [] type: string additionalProperties: false required: - txid - ivrno - callerid - organization play-file: properties: txid: properties: [] type: string ivrno: properties: [] type: string callerid: properties: [] type: string filename: properties: [] type: string organization: properties: [] type: string additionalProperties: false required: - txid - ivrno - callerid - filename - organization play-wait: properties: timeout: properties: [] type: string numdigits: properties: [] type: string filename: properties: [] type: string txid: properties: [] type: string ivrno: properties: [] type: string callerid: properties: [] type: string organization: properties: [] type: string additionalProperties: false required: - timeout - numdigits - filename say-digit: properties: language: properties: [] type: string digits: properties: [] type: string txid: properties: [] type: string ivrno: properties: [] type: string callerid: properties: [] type: string organization: properties: [] type: string additionalProperties: false required: - language - digits say-number: properties: number: properties: [] type: string language: properties: [] type: string organization: properties: [] type: string txid: properties: [] type: string ivrno: properties: [] type: string callerid: properties: [] type: string additionalProperties: false required: - number - language basic-input-req: properties: txid: properties: [] type: string ivrno: properties: [] type: string callerid: properties: [] type: string additionalProperties: false required: - txid - ivrno - callerid play-file-req: properties: filename: properties: [] type: string txdata: $ref: '#/definitions/basic-input-req' additionalProperties: false play-wait-req: properties: timeout: properties: [] type: string numdigits: properties: [] type: string filename: properties: [] type: string txdata: $ref: '#/definitions/basic-input-req' additionalProperties: false required: - timeout - numdigits - filename - txdata say-digit-req: properties: language: properties: [] type: string digits: properties: [] type: string txdata: $ref: '#/definitions/basic-input-req' additionalProperties: false required: - txdata say-number-req: properties: number: properties: [] type: string language: properties: [] type: string txdata: $ref: '#/definitions/basic-input-req' additionalProperties: false required: - txdata play-async: properties: organization: type: string txid: properties: [] type: string ivrno: properties: [] type: string callerid: properties: [] type: string callbackurl: properties: [] type: string filename: properties: [] type: string additionalProperties: false play-async-req: properties: txdata: $ref: '#/definitions/basic-input-req' filename: properties: [] type: string callbackurl: properties: [] type: string additionalProperties: false required: - txdata play-wait-async: properties: organization: type: string txid: properties: [] type: string ivrno: properties: [] type: string callerid: properties: [] type: string filename: properties: [] type: string timeout: properties: [] type: integer format: int32 numdigits: properties: [] type: integer format: int32 callbackurl: properties: [] type: string additionalProperties: false required: - organization - txid - ivrno - callerid play-wait-async-req: properties: txdata: $ref: '#/definitions/basic-input-req' filename: properties: [] type: string timeout: properties: [] type: integer format: int32 numdigits: properties: [] type: integer format: int32 callbackurl: properties: [] type: string additionalProperties: false required: - txdata - filename - timeout play-list-async: properties: organization: type: string txid: properties: [] type: string ivrno: properties: [] type: string callerid: properties: [] type: string filenames: properties: [] type: array items: type: string callbackurl: properties: [] type: string additionalProperties: false play-list-async-req: properties: txdata: $ref: '#/definitions/basic-input-req' filenames: properties: [] type: array items: type: string callbackurl: properties: [] type: string additionalProperties: false required: - txdata tags: [] x-ibm-endpoints: - endpointUrl: https://apphubstg.mobitel.lk/mobitelstg/sb description: Base Gateway API Endpoint type: - production - development ...