Open APIs

 View Only
  • 1.  Check whether a logical resource that has MSISND (phone number) as input is a prepaid or postpaid element

    TM Forum Member
    Posted May 12, 2022 09:10
    What is the TMF API I should use to know if a MISIDN number is prepaid or postpaid?
    I am evaluating TMF639 - Resource Inventory, but I can't find the correct attribute to associate in the response, for example:

    Request:
    GET /tmf-api/resourceInventoryManagement/v4/logicalResource/60759865​


    Response:
    {
        "id": "42",
        "href": "http://server:port/resourceInventoryManagement/resource/42",
        "publicIdentifier": "07455559833",
        "administrativeState": "unlocked",
        "operationalState": "enable",
        "usageState": "idle",
        "resourceStatus": "available",
        "serialNumber": "12444545544",
    
    
        //I am not sure if this is the correct mapping. 
        "resourceCharacteristic": [
            {
                "name": "SystemProfile",
                "valueType": "string",
                "value": "POSTPAID"
            }
        ],
        //END OF EXAMPLE BLOCK
    
    
        "@type": "MSISDN",
        "@schemaLocation": "http://server:port/MSISDN.schema.json",
        "@baseType": "Resource"
    }​


    ------------------------------
    Francisco Nieves
    Liberty Latin America
    ------------------------------


  • 2.  RE: Check whether a logical resource that has MSISND (phone number) as input is a prepaid or postpaid element

    TM Forum Member
    Posted May 12, 2022 10:22
    Hi Francisco
    An MSISDN per se is a resource, it is not inherently prepaid or postpaid. What you need to do is to find the Product that is using that resource, and then understand from the ProductPrice(s) attached to the Product what the nature is of the usage.
    An alternative approach might be to search for Prepay Balance buckets that are connected to the MSISDN, if you find one then you have a prepaid, otherwise it's postpaid.
    Hope it helps

    ------------------------------
    Jonathan Goldberg
    Amdocs Management Limited
    Any opinions and statements made by me on this forum are purely personal, and do not necessarily reflect the position of the TM Forum or my employer.
    ------------------------------



  • 3.  RE: Check whether a logical resource that has MSISND (phone number) as input is a prepaid or postpaid element

    TM Forum Member
    Posted Mar 29, 2023 06:21

    Hi Jonathan, 

    For certain operator, the range of the MSISDN already pre-define for prepaid and postpaid.

    e.g from range x-y is reserved for postpaid where when we query in the resource inventory to query and reserve a postpaid number to be allocate to a service? 



    ------------------------------
    Chio Chuan Ooi
    SingTel Optus
    ------------------------------



  • 4.  RE: Check whether a logical resource that has MSISND (phone number) as input is a prepaid or postpaid element

    TM Forum Member
    Posted Mar 30, 2023 14:52

    If your business model is such that you always know if an MSISDN is prepaid or postpaid, you could expand the resource model with a concrete property indicating prepaid/postpaid, or perhaps define a ResourceCharacteristic to hold this information.

    Hope it helps



    ------------------------------
    Jonathan Goldberg
    Amdocs Management Limited
    Any opinions and statements made by me on this forum are purely personal, and do not necessarily reflect the position of the TM Forum or my employer.
    ------------------------------