production
development
https://apphub.mobitel.lk/mobext/mapi
Paths
/unSubscribe
Example Request
Example Response
POST https://apphub.mobitel.lk/mobext/mapi/subscription/unSubscribe
Try this operation
No response. This is a mixed content call. It is not possible to test HTTP APIs from an HTTPS secured Portal site and vice versa.
No response. This is a cross-origin call. Make sure the server accepts requests from this portal. Or if using self-signed SSL certificates then paste the URL above into your browser to accept the certificate before trying again (On Internet Explorer it must be the same browser tab.).
/manualRenewal
Example Request
Example Response
POST https://apphub.mobitel.lk/mobext/mapi/subscription/manualRenewal
Try this operation
No response. This is a mixed content call. It is not possible to test HTTP APIs from an HTTPS secured Portal site and vice versa.
No response. This is a cross-origin call. Make sure the server accepts requests from this portal. Or if using self-signed SSL certificates then paste the URL above into your browser to accept the certificate before trying again (On Internet Explorer it must be the same browser tab.).
/checkSub
Example Request
Example Response
POST https://apphub.mobitel.lk/mobext/mapi/subscription/checkSub
Try this operation
No response. This is a mixed content call. It is not possible to test HTTP APIs from an HTTPS secured Portal site and vice versa.
No response. This is a cross-origin call. Make sure the server accepts requests from this portal. Or if using self-signed SSL certificates then paste the URL above into your browser to accept the certificate before trying again (On Internet Explorer it must be the same browser tab.).
/addSubscription
Example Request
Example Response
POST https://apphub.mobitel.lk/mobext/mapi/subscription/addSubscription
Try this operation
No response. This is a mixed content call. It is not possible to test HTTP APIs from an HTTPS secured Portal site and vice versa.
No response. This is a cross-origin call. Make sure the server accepts requests from this portal. Or if using self-signed SSL certificates then paste the URL above into your browser to accept the certificate before trying again (On Internet Explorer it must be the same browser tab.).
/displayActSub
post /displayActSub
clientIdHeader
X-IBM-Client-Id
(apiKey located in header)
request
Optional in body
object
Content-Type
Optional in header
string
application/json
Accept
Optional in header
string
application/json
200
200 OK
Example Request
Example Response
POST https://apphub.mobitel.lk/mobext/mapi/subscription/displayActSub
Try this operation
No response. This is a mixed content call. It is not possible to test HTTP APIs from an HTTPS secured Portal site and vice versa.
No response. This is a cross-origin call. Make sure the server accepts requests from this portal. Or if using self-signed SSL certificates then paste the URL above into your browser to accept the certificate before trying again (On Internet Explorer it must be the same browser tab.).
/displayUnSub
post /displayUnSub
clientIdHeader
X-IBM-Client-Id
(apiKey located in header)
req
Optional in body
object
Content-Type
Optional in header
string
application/json
Accept
Optional in header
string
application/json
200
200 OK
Example Request
Example Response
POST https://apphub.mobitel.lk/mobext/mapi/subscription/displayUnSub
Try this operation
No response. This is a mixed content call. It is not possible to test HTTP APIs from an HTTPS secured Portal site and vice versa.
No response. This is a cross-origin call. Make sure the server accepts requests from this portal. Or if using self-signed SSL certificates then paste the URL above into your browser to accept the certificate before trying again (On Internet Explorer it must be the same browser tab.).
/displayCurrentStatus
post /displayCurrentStatus
clientIdHeader
X-IBM-Client-Id
(apiKey located in header)
req
Optional in body
object
Content-Type
Optional in header
string
application/json
Accept
Optional in header
string
application/json
200
200 OK
Example Request
Example Response
POST https://apphub.mobitel.lk/mobext/mapi/subscription/displayCurrentStatus
Try this operation
No response. This is a mixed content call. It is not possible to test HTTP APIs from an HTTPS secured Portal site and vice versa.
No response. This is a cross-origin call. Make sure the server accepts requests from this portal. Or if using self-signed SSL certificates then paste the URL above into your browser to accept the certificate before trying again (On Internet Explorer it must be the same browser tab.).
Definitions
{
"properties": {
"productId": {
"type": "integer",
"format": "int32"
},
"customerNo": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
"productId",
"customerNo"
]
}
{
"properties": {
"status": {
"type": "integer",
"format": "int32"
},
"message": {
"type": "string"
},
"reference": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
"status",
"message",
"reference"
]
}
{
"properties": {
"productId": {
"type": "integer",
"format": "int32"
},
"customerNo": {
"type": "string"
},
"orgName": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
"productId",
"customerNo",
"orgName"
]
}
{
"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
}
{
"properties": {
"productId": {
"type": "string"
},
"dateTo": {
"type": "string"
},
"dateFrom": {
"type": "string"
}
},
"additionalProperties": false
}
{
"properties": {
"day": {
"type": "string"
},
"total": {
"type": "string"
},
"preList": {
"type": "string"
},
"posList": {
"type": "string"
},
"status": {
"type": "string"
}
},
"additionalProperties": false
}
{
"properties": {
"productId": {
"type": "string"
},
"dateTo": {
"type": "string"
},
"dateFrom": {
"type": "string"
}
},
"additionalProperties": false
}