Telenor Sverige Subscription Inventory API

The SubscriptionInventory API from Telenor Sverige — 6 operation(s) for subscriptioninventory.

Operations 6

GET /api/inventory/subscription/{phoneNumber}/imei Get device data based on IMEI #
GET /api/inventory/subscription/list/{agreementId}/imei Get device data based on IMEI for a list of phone numbers #
GET /api/inventory/subscription Gets simplified subscription details #
GET /api/inventory/subscription/list/{agreeId} Gets subscriptions for a given agreement, sorted by first and last name #
GET /api/inventory/subscription/puk/{msisdn} Gets PUK codes for a phone number #
GET /api/inventory/subscription/{msisdn}/mex/status Gets MEX status for a phone number #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/telenor-sverige:telenor-sverige-subscriptioninventory-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

telenor-sverige-subscriptioninventory-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mobile Subscriptions Administration Subscription Inventory…
  description: 'Provides a corporate information model, generic for SME and Large. Used for agreement details for existing customers as creating new agreements or subscriptions.

    This is an API intended for software developers and system integrators implementing client applications for handling order B2B segment. It is assumed that the reader is familiar with software API concepts such as REST, JSON and OpenAPI interface specification OpenAPI Specification.


    Response Codes

    This API follows standard response codes for REST APIs please refer to W3C response codes'
  termsOfService: https://www.telenor.se/foretag/kundservice/villkor-prislistor-och-blanketter/villkor/allmanna-villkor/
  contact:
    name: Telenor Support
    url: https://www.telenor.se/foretag/kundservice/
    email: ''
  version: 1.80.0
servers:
- url: https://apis.telenor.se/
  description: Production environment
tags:
- name: SubscriptionInventory
paths:
  /api/inventory/subscription/{phoneNumber}/imei:
    get:
      tags:
      - SubscriptionInventory
      summary: Get device data based on IMEI
      operationId: Imei_DeviceModel
      parameters:
      - name: X-Transaction-Id
        in: header
        description: Transaction id defined by calling system could be for instance Epoch time
        schema:
          type: string
        example: '1580371581117'
      - name: phoneNumber
        in: path
        description: Swedish mobile number
        required: true
        schema:
          type:
          - string
          - 'null'
          description: Swedish mobile number
          example: '46701740605'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CoreApi.SubscriptionInventory.Models.DeviceModel'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CoreApi.Common.ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CoreApi.Common.ErrorResponse'
      security:
      - bearer-access-token: []
  /api/inventory/subscription/list/{agreementId}/imei:
    get:
      tags:
      - SubscriptionInventory
      summary: Get device data based on IMEI for a list of phone numbers
      operationId: Imei_DeviceModelList
      parameters:
      - name: X-Transaction-Id
        in: header
        description: Transaction id defined by calling system could be for instance Epoch time
        schema:
          type: string
        example: '1580371581117'
      - name: agreementId
        in: path
        required: true
        schema:
          type:
          - integer
          - 'null'
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                type:
                - string
                - 'null'
                description: Swedish mobile number
                example: '46701740605'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CoreApi.SubscriptionInventory.Models.DeviceModelList'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CoreApi.Common.ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CoreApi.Common.ErrorResponse'
      security:
      - bearer-access-token: []
  /api/inventory/subscription:
    get:
      tags:
      - SubscriptionInventory
      summary: Gets simplified subscription details
      operationId: SubscriptionInventory_Subscription
      parameters:
      - name: msisdn
        in: query
        description: Swedish mobile number
        required: true
        schema:
          type:
          - string
          - 'null'
          description: Swedish mobile number
          example: '46701740605'
        example: '46701740605'
      - name: includeExternalProperties
        in: query
        schema:
          type: boolean
          default: false
      - name: X-Transaction-Id
        in: header
        description: Transaction id defined by calling system could be for instance Epoch time
        schema:
          type: string
        example: '1580371581117'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CoreApi.SubscriptionInventory.SubscriptionLight'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CoreApi.Common.ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CoreApi.Common.ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CoreApi.Common.ErrorResponse'
      security:
      - bearer-access-token: []
  /api/inventory/subscription/list/{agreeId}:
    get:
      tags:
      - SubscriptionInventory
      summary: Gets subscriptions for a given agreement, sorted by first and last name
      operationId: SubscriptionInventory_SubscriptionList
      parameters:
      - name: agreeId
        in: path
        description: Agreement ID
        required: true
        schema:
          type: integer
          format: int32
      - name: offset
        in: query
        description: ''
        schema:
          type: integer
          format: int32
          default: 0
      - name: maxItems
        in: query
        description: ''
        schema:
          type: integer
          format: int32
          default: 100
      - name: firstName
        in: query
        description: ''
        schema:
          type: string
      - name: lastName
        in: query
        description: ''
        schema:
          type: string
      - name: phoneNumber
        in: query
        description: ''
        schema:
          type: string
      - name: emailAddress
        in: query
        description: ''
        schema:
          type: string
      - name: profileId
        in: query
        description: ''
        schema:
          type: string
      - name: costCenter
        in: query
        description: ''
        schema:
          type: string
      - name: invoiceRef
        in: query
        description: ''
        schema:
          type: string
      - name: billingAccount
        in: query
        description: ''
        schema:
          type: string
      - name: pricePlan
        in: query
        schema:
          type: string
      - name: includeExternalProperties
        in: query
        description: ''
        schema:
          type: boolean
          default: false
      - name: X-Transaction-Id
        in: header
        description: Transaction id defined by calling system could be for instance Epoch time
        schema:
          type: string
        example: '1580371581117'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CoreApi.SubscriptionInventory.SubscriptionLightPaging'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CoreApi.Common.ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CoreApi.Common.ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CoreApi.Common.ErrorResponse'
      security:
      - bearer-access-token: []
  /api/inventory/subscription/puk/{msisdn}:
    get:
      tags:
      - SubscriptionInventory
      summary: Gets PUK codes for a phone number
      operationId: SubscriptionInventory_PukCodes
      parameters:
      - name: X-Transaction-Id
        in: header
        description: Transaction id defined by calling system could be for instance Epoch time
        schema:
          type: string
        example: '1580371581117'
      - name: msisdn
        in: path
        description: Swedish mobile number
        required: true
        schema:
          type:
          - string
          - 'null'
          description: Swedish mobile number
          example: '46701740605'
        example: '46701740605'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CoreApi.SubscriptionInventory.PukView'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CoreApi.Common.ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CoreApi.Common.ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CoreApi.Common.ErrorResponse'
      security:
      - bearer-access-token: []
  /api/inventory/subscription/{msisdn}/mex/status:
    get:
      tags:
      - SubscriptionInventory
      summary: Gets MEX status for a phone number
      operationId: SubscriptionInventory_MexStatus
      parameters:
      - name: X-Transaction-Id
        in: header
        description: Transaction id defined by calling system could be for instance Epoch time
        schema:
          type: string
        example: '1580371581117'
      - name: msisdn
        in: path
        description: Swedish mobile number
        required: true
        schema:
          type:
          - string
          - 'null'
          description: Swedish mobile number
          example: '46701740605'
        example: '46701740605'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/corporate_order_rule_engine.Core.Services.MexStatus'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CoreApi.Common.ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CoreApi.Common.ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CoreApi.Common.ErrorResponse'
      security:
      - bearer-access-token: []
components:
  schemas:
    corporate_order_rule_engine.Core.Services.MexStatus:
      type: object
      properties:
        LoggedIn:
          type:
          - boolean
          - 'null'
          readOnly: true
      additionalProperties: false
    CoreApi.SubscriptionInventory.SubscriptionLight:
      required:
      - AgreeId
      - PricePlan
      - ProfileId
      type: object
      properties:
        AgreeId:
          type: integer
          format: int32
        MainAgreeId:
          type: integer
          format: int32
        MobileNumber:
          type:
          - string
          - 'null'
        FixedNumber:
          type:
          - string
          - 'null'
        SimNumber:
          type:
          - string
          - 'null'
        SimNumberReserved:
          type:
          - string
          - 'null'
        ProfileId:
          type:
          - string
          - 'null'
        FirstName:
          type:
          - string
          - 'null'
        LastName:
          type:
          - string
          - 'null'
        Email:
          type:
          - string
          - 'null'
        CostCenter:
          type:
          - string
          - 'null'
        BillingAccount:
          type:
          - integer
          - 'null'
          format: int32
        PricePlan:
          type:
          - string
          - 'null'
        Addresses:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/CoreApi.ProductOrdering.Subscriptions.Address'
        SubscriptionId:
          type:
          - integer
          - 'null'
          format: int64
        ExternalProperties:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/corporate_order_rule_engine.Core.Subscriptions.ExternalProperty'
        Services:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/CoreApi.ProductOrdering.Subscriptions.SubscriptionOrderService'
        ShortNumber:
          type:
          - string
          - 'null'
      additionalProperties: false
    CoreApi.ProductOrdering.Subscriptions.Address:
      required:
      - City
      - Type
      - Zip
      type: object
      properties:
        CompanyName:
          type:
          - string
          - 'null'
          description: Required for type 'Delivery'
        Reference:
          type:
          - string
          - 'null'
        Address1:
          type:
          - string
          - 'null'
        Address2:
          type:
          - string
          - 'null'
        Zip:
          type:
          - string
          - 'null'
          description: For Swedish postal code it must only contain 5 digits
        City:
          type:
          - string
          - 'null'
        CountryCode:
          type:
          - string
          - 'null'
          description: ISO 3166-1 alpha-2 or ISO 3166-1 alpha-3
        Type:
          enum:
          - Legal
          - Delivery
          - Private
          - Invoice
          - null
          type:
          - string
          - 'null'
          description: Members [Legal=|Delivery=|Private=|Invoice=]
          example: Legal
      additionalProperties: false
    CoreApi.SubscriptionInventory.Models.DeviceModelList:
      type: object
      properties:
        Devices:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/CoreApi.SubscriptionInventory.Models.DeviceModel'
      additionalProperties: false
    CoreApi.SubscriptionInventory.Models.DeviceModel:
      type: object
      properties:
        Imei:
          type:
          - string
          - 'null'
          readOnly: true
        Model:
          type:
          - string
          - 'null'
          readOnly: true
        Msisdn:
          type:
          - string
          - 'null'
          description: Swedish mobile number
          example: '46701740605'
        LastUpdateLocationDateTime:
          type:
          - string
          - 'null'
          description: 'This is in local time (Swedish time, eg: 2023-10-10T16:13:10.711)'
          format: date-time
          readOnly: true
          example: '2023-10-10T16:13:10.711'
      additionalProperties: false
    corporate_order_rule_engine.Core.Subscriptions.ExternalProperty:
      type: object
      properties:
        Key:
          type:
          - string
          - 'null'
        Value:
          type:
          - string
          - 'null'
      additionalProperties: false
    CoreApi.SubscriptionInventory.SubscriptionLightPaging:
      type: object
      properties:
        HasMore:
          type: boolean
        Subscriptions:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/CoreApi.SubscriptionInventory.SubscriptionNoServicesView'
      additionalProperties: false
    CoreApi.SubscriptionInventory.MsisdnPukCode:
      type: object
      properties:
        PhoneNumber:
          type:
          - string
          - 'null'
          description: Swedish mobile number
          example: '46701740605'
        PukCode:
          type:
          - string
          - 'null'
        SimNumber:
          pattern: ^[1-9][0-9]{13}$
          type:
          - string
          - 'null'
      additionalProperties: false
    CoreApi.Common.ErrorResponse:
      type: object
      properties:
        ErrorMessage:
          type:
          - string
          - 'null'
        ErrorCode:
          type: integer
          format: int32
      additionalProperties: false
    CoreApi.SubscriptionInventory.PukView:
      type: object
      properties:
        PukCodes:
          type: array
          items:
            $ref: '#/components/schemas/CoreApi.SubscriptionInventory.MsisdnPukCode'
      additionalProperties: false
    CoreApi.ProductOrdering.Subscriptions.OrderServiceParameter:
      required:
      - Key
      type: object
      properties:
        Key:
          minLength: 1
          type: string
        Value:
          type:
          - string
          - 'null'
      additionalProperties: false
    CoreApi.SubscriptionInventory.SubscriptionNoServicesView:
      required:
      - AgreeId
      - PricePlan
      - ProfileId
      type: object
      properties:
        AgreeId:
          type: integer
          format: int32
        MainAgreeId:
          type: integer
          format: int32
        MobileNumber:
          type:
          - string
          - 'null'
        FixedNumber:
          type:
          - string
          - 'null'
        SimNumber:
          type:
          - string
          - 'null'
        SimNumberReserved:
          type:
          - string
          - 'null'
        ProfileId:
          type:
          - string
          - 'null'
        FirstName:
          type:
          - string
          - 'null'
        LastName:
          type:
          - string
          - 'null'
        Email:
          type:
          - string
          - 'null'
        CostCenter:
          type:
          - string
          - 'null'
        BillingAccount:
          type:
          - integer
          - 'null'
          format: int32
        PricePlan:
          type:
          - string
          - 'null'
        Addresses:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/CoreApi.ProductOrdering.Subscriptions.Address'
        SubscriptionId:
          type:
          - integer
          - 'null'
          format: int64
        ExternalProperties:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/corporate_order_rule_engine.Core.Subscriptions.ExternalProperty'
      additionalProperties: false
    CoreApi.ProductOrdering.Subscriptions.SubscriptionOrderService:
      required:
      - Name
      type: object
      properties:
        Name:
          type:
          - string
          - 'null'
        Parameters:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/CoreApi.ProductOrdering.Subscriptions.OrderServiceParameter'
      additionalProperties: false
x-provenance:
  method: harvested
  publisher: Telenor Sverige
  source: https://developer.telenor.se/mobile-order/openapi
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)