--- 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: /unsubscribe: post: responses: 200: description: 200 OK parameters: - name: request required: false in: body schema: $ref: '#/definitions/unsub-req' /getconsentandsubscribe: post: responses: 200: description: 200 OK parameters: - name: request required: false in: body schema: $ref: '#/definitions/consent-req' /playandwaitforinputasync: post: responses: 200: description: 200 OK parameters: - name: request required: false in: body schema: $ref: '#/definitions/play-wait-async-req' /playfilelistssync: post: responses: 200: description: 200 OK parameters: - name: request required: false in: body schema: $ref: '#/definitions/play-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' /getconsentandcharge: post: responses: 200: description: 200 OK parameters: - name: request required: false in: body schema: $ref: '#/definitions/consent-chg-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 consent: properties: organization: type: string txid: properties: [] type: string ivrno: properties: [] type: string callerid: properties: [] type: string productid: properties: [] type: string language: properties: [] type: string additionalProperties: false required: - organization - txid - ivrno - callerid consent-req: properties: txdata: properties: [] $ref: '#/definitions/basic-input-req' productid: properties: [] type: string language: properties: [] type: string additionalProperties: false required: - productid - language unsub: properties: organization: type: string callerid: properties: [] type: string productid: properties: [] type: string additionalProperties: false unsub-req: properties: callerid: type: string productid: properties: [] type: string additionalProperties: false consent-charge: properties: organization: type: string txid: type: string ivrno: type: string callerid: type: string amount: type: string language: type: string additionalProperties: false consent-chg-req: properties: amount: type: string language: type: string txdata: $ref: '#/definitions/basic-input-req' additionalProperties: false tags: [] x-ibm-endpoints: - endpointUrl: https://apphub.mobitel.lk/mobext/mapi type: - production - development ...