{ "info": { "name": "Mobile Customer Information API", "schema": "https:\/\/schema.getpostman.com\/json\/collection\/v2.1.0\/collection.json" }, "item": [ { "name": "Retrieve all network properties related to phoneNumber", "description": "Send network related information of subscriber as identified by phoneNumber.", "request": { "auth": { "type": "oauth2", "oauth2": [ { "key": "addTokenTo", "value": "header", "type": "string" } ] }, "method": "Get", "header": [ { "key": "Content-Type", "name": "Content-Type", "value": "application\/json", "type": "application\/json", "description": "" } ], "url": { "raw": "api.host.com\/mobile\/subscriber\/{phoneNumber}\/information", "protocol": "https", "host": [ "api", "host", "com" ], "path": { "1": "mobile", "2": "subscriber", "3": "{phoneNumber}", "4": "information" } } }, "response": [ { "code": 200, "status": "OK", "name": "Success", "schema": { "statusCode": { "type": "string", "description": "HTTP error code extension", "example": 0 }, "statusMessage": { "type": "string", "description": "Message.", "example": "Successful" }, "phoneNumber": { "type": "string", "example": 27123456789, "description": "phoneNumber provided in the input" }, "data": { "country": { "type": "string", "example": "Zambia", "description": "Country of origin of the phoneNumber provided." }, "mobileNetwork": { "type": "string", "example": "MTN", "description": "Mobile Network Operator of the phoneNumber provided" }, "subscriberIsActive": { "type": "string", "default": "", "description": "TRUE,FALSE,NONE" }, "simIsPorted": { "type": "string", "default": "", "description": "TRUE,FALSE,NONE" }, "roamingIsEnabled": { "type": "string", "default": "", "description": "TRUE,FALSE,NONE" }, "callDivertIsEnabled": { "type": "string", "default": "", "description": "TRUE,FALSE,NONE" }, "lastSimSwapDate": { "type": "string", "example": "2020-04-20", "description": "The date when the last sim swap performed on the SIM of the phoneNumber provided represented as an ISO 8601:2004 [ISO8601 2004] YYYY-MM-DD format. If the date cannot be determined, the value will be an empty string" } }, "transactionId": { "type": "string", "description": "transaction ID for tracing." } }, "body": "{\"statusCode\":\"string\",\"statusMessage\":\"string\",\"phoneNumber\":\"string\",\"data\":{\"country\":\"string\",\"mobileNetwork\":\"string\",\"subscriberIsActive\":\"string\",\"simIsPorted\":\"string\",\"roamingIsEnabled\":\"string\",\"callDivertIsEnabled\":\"string\",\"lastSimSwapDate\":\"string\"},\"transactionId\":\"string\"}", "header": [ { "key": "Content-Type", "value": "application\/json", "description": "Sending as JSON", "type": "string" } ] }, { "code": 400, "status": "Bad Request", "name": "Bad Request", "schema": { "statusCode": { "type": "integer", "description": "HTTP error code extension" }, "statusMessage": { "type": "string", "description": "More details and corrective actions related to the error which can be shown to a client." }, "SupportMessage": { "type": "string", "description": "Support Message" } }, "body": "{\"statusCode\":1,\"statusMessage\":\"string\",\"SupportMessage\":\"string\"}", "header": [ { "key": "Content-Type", "value": "application\/json", "description": "Sending as JSON", "type": "string" } ] }, { "code": 401, "status": "Unauthorized", "name": "Unauthorized", "schema": { "statusCode": { "type": "integer", "description": "HTTP error code extension" }, "statusMessage": { "type": "string", "description": "More details and corrective actions related to the error which can be shown to a client." }, "SupportMessage": { "type": "string", "description": "Support Message" } }, "body": "{\"statusCode\":1,\"statusMessage\":\"string\",\"SupportMessage\":\"string\"}", "header": [ { "key": "Content-Type", "value": "application\/json", "description": "Sending as JSON", "type": "string" } ] }, { "code": 403, "status": "Forbidden", "name": "Forbidden", "schema": { "statusCode": { "type": "integer", "description": "HTTP error code extension" }, "statusMessage": { "type": "string", "description": "More details and corrective actions related to the error which can be shown to a client." }, "SupportMessage": { "type": "string", "description": "Support Message" } }, "body": "{\"statusCode\":1,\"statusMessage\":\"string\",\"SupportMessage\":\"string\"}", "header": [ { "key": "Content-Type", "value": "application\/json", "description": "Sending as JSON", "type": "string" } ] }, { "code": 404, "status": "Not Found", "name": "Not Found", "schema": { "statusCode": { "type": "integer", "description": "HTTP error code extension" }, "statusMessage": { "type": "string", "description": "More details and corrective actions related to the error which can be shown to a client." }, "SupportMessage": { "type": "string", "description": "Support Message" } }, "body": "{\"statusCode\":1,\"statusMessage\":\"string\",\"SupportMessage\":\"string\"}", "header": [ { "key": "Content-Type", "value": "application\/json", "description": "Sending as JSON", "type": "string" } ] }, { "code": 405, "status": "Method Not Allowed", "name": "Method No Allowed", "schema": { "statusCode": { "type": "integer", "description": "HTTP error code extension" }, "statusMessage": { "type": "string", "description": "More details and corrective actions related to the error which can be shown to a client." }, "SupportMessage": { "type": "string", "description": "Support Message" } }, "body": "{\"statusCode\":1,\"statusMessage\":\"string\",\"SupportMessage\":\"string\"}", "header": [ { "key": "Content-Type", "value": "application\/json", "description": "Sending as JSON", "type": "string" } ] }, { "code": 406, "status": "Not Acceptable", "name": "Not acceptable", "schema": { "statusCode": { "type": "integer", "description": "HTTP error code extension" }, "statusMessage": { "type": "string", "description": "More details and corrective actions related to the error which can be shown to a client." }, "SupportMessage": { "type": "string", "description": "Support Message" } }, "body": "{\"statusCode\":1,\"statusMessage\":\"string\",\"SupportMessage\":\"string\"}", "header": [ { "key": "Content-Type", "value": "application\/json", "description": "Sending as JSON", "type": "string" } ] }, { "code": 500, "status": "Internal Server Error", "name": "Internal Server Error", "schema": { "statusCode": { "type": "integer", "description": "HTTP error code extension" }, "statusMessage": { "type": "string", "description": "More details and corrective actions related to the error which can be shown to a client." }, "SupportMessage": { "type": "string", "description": "Support Message" } }, "body": "{\"statusCode\":1,\"statusMessage\":\"string\",\"SupportMessage\":\"string\"}", "header": [ { "key": "Content-Type", "value": "application\/json", "description": "Sending as JSON", "type": "string" } ] } ] } ] }