--- swagger: "2.0" info: x-ibm-name: subscription-service title: Subscription Service version: 1.0.0 description: "" schemes: - https basePath: /subscription 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 schema: $ref: '#/definitions/Res' parameters: - name: request required: false in: body schema: $ref: '#/definitions/Req' /manualRenewal: post: responses: 200: description: 200 OK schema: $ref: '#/definitions/Res' parameters: - name: request required: false in: body schema: $ref: '#/definitions/Req' /checkSub: post: responses: 200: description: 200 OK schema: $ref: '#/definitions/checkRes' parameters: - name: request required: false in: body schema: $ref: '#/definitions/Req' /addSubscription: post: responses: 200: description: 200 OK schema: $ref: '#/definitions/Res' parameters: - name: Request required: false in: body schema: $ref: '#/definitions/Req' /displayActSub: post: responses: 200: description: 200 OK parameters: - name: request required: false in: body schema: $ref: '#/definitions/dashboardReq' /displayUnSub: post: responses: 200: description: 200 OK parameters: - name: req required: false in: body schema: $ref: '#/definitions/dashboardReq' /displayCurrentStatus: post: responses: 200: description: 200 OK parameters: - name: req required: false in: body schema: $ref: '#/definitions/dashboardReq' tags: [] definitions: Req: properties: productId: type: integer format: int32 customerNo: type: string additionalProperties: false required: - productId - customerNo Res: properties: status: type: integer format: int32 message: type: string reference: type: string additionalProperties: false required: - status - message - reference Req_Back: properties: productId: type: integer format: int32 customerNo: type: string orgName: type: string additionalProperties: false required: - productId - customerNo - orgName checkRes: properties: productId: type: string orgName: properties: [] type: string amount: properties: [] type: string planType: properties: [] type: string autoRenewal: properties: [] type: string customerNo: properties: [] type: string cusPackage: properties: [] type: string expiresOn: properties: [] type: string status: properties: [] type: string addedOn: properties: [] type: string updatedOn: properties: [] type: string terminatedOn: properties: [] type: string additionalProperties: false dashboardReq: properties: productId: type: string dateTo: type: string dateFrom: type: string additionalProperties: false DashboardRes: properties: day: type: string total: type: string preList: type: string posList: type: string status: type: string additionalProperties: false dashboardReqBck: properties: productId: type: string dateTo: type: string dateFrom: type: string additionalProperties: false x-ibm-endpoints: - endpointUrl: https://apphub.mobitel.lk/mobext/mapi type: - production - development ...