{
  "opencollection": "1.0.0",
  "info": {
    "name": "Subscriber Management API",
    "version": "1.0.2"
  },
  "items": [
    {
      "info": {
        "name": "subscriberinfo",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieves a Subscriber info by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/subscriber/:id",
            "headers": [
              {
                "name": "transactionId",
                "value": ""
              },
              {
                "name": "countryCode",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Identifier of the subscriber"
              },
              {
                "name": "queryType",
                "value": "",
                "type": "query",
                "description": "'personalDetail' will return only personal data of the subscriber, i.e., Subscriberinfo object. 'identityDetail' will return only identity information of the subscriber , i.e., SubscriberIdentification object. 'addressDetail' will return only address of the subscriber , i.e., Address object. 'deviceDetail' will return only device related information of the subscriber like puk number , imsi number etc. It will return only SubscriberAsset object in response. 'basicProfile' will return subscriber details , like- subscriber id , subscriber type, subscriber status etc. along with subscriber asset information. 'completeProfile' will return complete information of the subscriber. It will return SubscriberProfile object in response."
              },
              {
                "name": "additionalFilter",
                "value": "",
                "type": "query",
                "description": "Reserve for future use. This can be used to further filter the response object. For example - if we want to retrieve only username a subscriber, then choose queryType as 'personalDetail' and additionalFilter as 'username'. Use comma seperation if case of retrive multiple attributes of an object"
              }
            ]
          },
          "docs": "This operation retrieves a subscriber's detail based upon the filter criteria."
        },
        {
          "info": {
            "name": "Retrieves MTN numbers linked to an ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/linkednumber/:id",
            "headers": [
              {
                "name": "transactionId",
                "value": ""
              },
              {
                "name": "countryCode",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "National ID of a subscriber, which is linked to his/her subscribed MTN numbers."
              },
              {
                "name": "certificateType",
                "value": "",
                "type": "query",
                "description": "Type of National ID"
              },
              {
                "name": "serviceNumber",
                "value": "",
                "type": "query",
                "description": "MSISDN of the subscriber"
              }
            ]
          },
          "docs": "This operation will be used to retrieve the linked numbers associated to an identity, which will be sent to subscriber's msisdn."
        }
      ]
    }
  ],
  "bundled": true
}