{
  "opencollection": "1.0.0",
  "info": {
    "name": "service-activation-aggregator",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "service-activation-controller",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieves a Service by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mtn.com/service/:id",
            "headers": [
              {
                "name": "x-origin-channelid",
                "value": ""
              },
              {
                "name": "x-country-code",
                "value": ""
              },
              {
                "name": "transactionId",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              },
              {
                "name": "transactionId",
                "value": "",
                "type": "query"
              },
              {
                "name": "fields",
                "value": "",
                "type": "query"
              },
              {
                "name": "servicePlan",
                "value": "",
                "type": "query"
              },
              {
                "name": "targetSystem",
                "value": "",
                "type": "query"
              },
              {
                "name": "queryType",
                "value": "",
                "type": "query"
              },
              {
                "name": "idType",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "This endpoint retrieves the status of a service by its ID. It supports various query parameters to filter the response."
        },
        {
          "info": {
            "name": "Updates the status of a Service",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.mtn.com/service/:id",
            "headers": [
              {
                "name": "targetSystem",
                "value": ""
              },
              {
                "name": "transactionId",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This endpoint updates the status of a service by its ID using the provided request body. It supports various headers."
        }
      ]
    },
    {
      "info": {
        "name": "netflix-integration-controller",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "This operation upgrades a Service entity",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.mtn.com/service/:id",
            "headers": [
              {
                "name": "transactionId",
                "value": ""
              },
              {
                "name": "x-country-code",
                "value": ""
              },
              {
                "name": "targetSystem",
                "value": ""
              },
              {
                "name": "partnerName",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This operation updates a Service entity for Netflix functionality, including handling upgrade and provisioning logic."
        },
        {
          "info": {
            "name": "This operation deletes a Subscriber",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.mtn.com/service/:id",
            "headers": [
              {
                "name": "transactionId",
                "value": ""
              },
              {
                "name": "x-country-code",
                "value": ""
              },
              {
                "name": "targetSystem",
                "value": ""
              },
              {
                "name": "serviceProviderID",
                "value": ""
              },
              {
                "name": "cancellationReason",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This operation deletes a subscriber for Netflix functionality by ID, including entitlement and cancellation handling."
        },
        {
          "info": {
            "name": "This operation creates a Service entity",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mtn.com/service",
            "headers": [
              {
                "name": "transactionId",
                "value": ""
              },
              {
                "name": "targetSystem",
                "value": ""
              },
              {
                "name": "x-origin-channelid",
                "value": ""
              },
              {
                "name": "x-country-code",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This operation creates a Service entity for Netflix functionality, including handling provisioning and integration logic."
        },
        {
          "info": {
            "name": "This operation deletes a Subscriber",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mtn.com/service/callback/:countryCode/:consumer/:requestType",
            "headers": [
              {
                "name": "X-Fortumo-Content-Signature",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "consumer",
                "value": "",
                "type": "path"
              },
              {
                "name": "countryCode",
                "value": "",
                "type": "path"
              },
              {
                "name": "requestType",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This operation is used to notify the third-party provider (3pp) with the entitlement result, ensuring accurate updates regarding the subscriber's entitlement status and any related changes."
        },
        {
          "info": {
            "name": "Boku Call Back",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mtn.com/bundle/callback/:entitlementType",
            "params": [
              {
                "name": "entitlementType",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This operation handles the Boku callback by the entitlement type, processing incoming data and responding accordingly."
        }
      ]
    },
    {
      "info": {
        "name": "license-aggregator-controller",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create a new license for a specified target system.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mtn.com/service/license",
            "headers": [
              {
                "name": "extTransactionId",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "targetSystem",
                "value": "",
                "type": "query"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Validates the license request, sets its type, and delegates creation to the service layer with structured response."
        },
        {
          "info": {
            "name": "Retrieve license details using ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mtn.com/service/license/:id",
            "headers": [
              {
                "name": "extTransactionId",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              },
              {
                "name": "idType",
                "value": "",
                "type": "query"
              },
              {
                "name": "targetSystem",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "This gets the license information based on the provided ID and ID type, with optional target system and transaction ID."
        },
        {
          "info": {
            "name": "Update license details for a given ID",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.mtn.com/service/license/:id",
            "headers": [
              {
                "name": "x-origin-channelid",
                "value": ""
              },
              {
                "name": "transactionId",
                "value": ""
              },
              {
                "name": "extTransactionId",
                "value": ""
              },
              {
                "name": "x-country-code",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              },
              {
                "name": "targetSystem",
                "value": "",
                "type": "query"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This handles license updates by validating the request data, logging the transaction, and invoking service logic by ID."
        }
      ]
    }
  ],
  "bundled": true
}