Search Engine: Elastic

Article ID: 120836, created on Apr 1, 2014, last review on Oct 18, 2016

  • Applies to:
  • Operations Automation 5.5
  • Operations Automation 5.4

Use this instruction to change the default phone number format.

  1. Get Application Instance Token with the pem.APS.getApplicationInstanceToken OA Public API method.
  2. Get the Phone Number Provider resource with curl: curl -i -k "https://<MN IP>:6308/aps/2/resources/?implementing(" -X GET -H "APS-Token: $ApplicationInstanceToken".
  3. Update phone number formats of the Phone Number Provider resource:
    • Normalization Phone Number Formats - regex list to validate and to transform any types of phone numbers to E164 format.
    • Display Phone Number Formats - regex list to transform a phone number to the displayed format.
    • System Phone Number Formats - regex list to transform a phone number to POA format (phone number must be separated by the # symbol to the local number, country code and area code).


curl -i -k "https://<MN_IP>:6308/aps/2/resources/$PhoneNumberProvider.ID" -X PUT -H "Content-Type: application/json" -H "Accept: application/json, text/javascript" -d@"C:\request.json" -H "APS-Token: $ApplicationInstanceToken"

where the request.json file contains the following data:

                "name":"Australian national",
                "name":"Australian 10-digits",
                "pattern":"0$1 $2 $3"

Note: After updating, the existing formats will be removed. If you wish to keep the existing formats, list them in the query.

  • <MN IP> is the IP address of the Management Node
  • ApplicationInstanceToken - is the token you received at step 1.
  • PhoneNumberProvider.ID - is the ID of the phone number provider you received at step 2.

caea8340e2d186a540518d08602aa065 5356b422f65bdad1c3e9edca5d74a1ae 2554725ed606193dd9bbce21365bed4e ac82ce33439a9c1feec4ff4f2f638899 e12cea1d47a3125d335d68e6d4e15e07 5b048d9bddf8048a00aba7e0bdadef37

Email subscription for changes to this article
Save as PDF