dxp-ux

(0 reviews)

TMF-666

Retrieve Account Details(TMF666)

/billingAccount/{id}

[GET]

This operation retrieves a billing account entity used by billingAccountNumber or msisdn or client account id or BAN-CAN.

Key considerations for DC markets.

Account status will be derived using the offers linked to account. if any of the Suspended offers are present in account, then the account state would be considered as "Suspended". Below are the offers list.

|OFFER_ID |DISPLAY_VALUE |

|---------|-----------------|

|51002454 |CUR Wireline Barring|

|51006038 |CUR Wireless Barring |

|51006040 |CUR Wireless CHCO Barring |

|51006047 |SXM Wireless Barring |

|51006143 |CUR Data Connectivity Barring |

|51007682 |CUR Wireless CHCO Barring up to 10 Members |

|51007683 |CUR Wireless CHCO Barring 11 to 50 Members |

|51007688 |BES Wireless CHCO Barring up to 10 Members |

|51009190 |CUR Wireless Disconnection Fees for Collections |

|51009192 |BES Wireless Disconnection Fees for Collections |

|51009694 |SXM Wireless Disconnection Fees for Collections |

|51009695 |FSXM Wireless Disconnection Fees for Collections |

|51010077 |CUR Disconnection Fees for Collections |

|51010078 |BES Wireline Disconnection Fees for Collections |

|51010079 |SXM Wireline Disconnection Fees for Collections |

|51010080 |FSXM Wireline Disconnection Fees for Collections

URL

```http

```

URL PARAMS

| name | type | description | required |

| ---------- | ------ | ------------------------------------------------------------ | -------- |

| businessId | string | 2 letter ISO 3166 country code (TT, BB, JM, PA, PR etc.) identifying the business unit. Expected one is "PR"-Puerto Rico | Y |

| id | string | To retrieve 'account' information provide Billing Account Number or msisdn To retrieve 'balance' information provide account number. Example: msisdn: 17874047209,billingAccountNumber: 33541396-33542750 | Y |

**Note:**

1.To retrieve 'balance' information need to pass 'targetSystem'.

2.To retrieve 'account' information need to pass 'lob'.

| name | value | description | required |

| ---------------- | ------ | ------------------------------------------------------------ | -------- |

| client_id | string | The client_id identifying the channel. | Y |

| client_secret | string | Password associated with the client_id. | Y |

| X-Correlation-ID | string | An identifier for the current call chain that can be used to tie together log entries on multiple layers (e.g. client, server, mainframe). This identifier must be designed to be unique across all applications. **Note** - Mule default behavior creates a sample x-correlation-id field if value is not passed from client, API will use this value in case value is not passed in API request| N It is Mandatory for business |

|channelId |string | Expected value APP | Y |

| lob | String | Enum: PREPAID, POSTPAID,FIXED Expected value : PREPAID, POSTPAID | Y |

|targetSystem | String | Expected value "aria". | Y |

Query Parameters

**Note:**

  1. To retrieve 'account' information need to pass 'extendedCharacteristics.name', 'extendedCharacteristics.value', 'type'.

| name | value | description | required |

| ---------------- | ------ | ------------------------------------------------------------ | -------- |

|extendedCharacteristics.name| string |Expected value is sourceSystem|Y |

|extendedCharacteristics.value| string | Expected value is Digital | Y |

|type | string | Need to pass 'billingAccountNumber' or 'msisdn' | Y |

[GET] Retrieve Balance Response - CSG FIXED

From this operation we can fetch Auto Pay is enabled or disabled, auto-pay date and day, Delinquency status, payment status and payment method EFT or Card.

**Note** In the response if PaymentPlan.planType is AutoPay Enable, AutoPay Date can be displayed in the extended Characteristics else AutoPay Date cannot be displayed.

**AutoPay Date Enable**

```json

{

"id": "8211990010018869",

"accountType": "RES",

"description": "MARIA VICTORIA MURILLO",

"lastModified": "2023-01-16T00:00:00.000Z",

"name": "MARIA VICTORIA MURILLO",

"paymentStatus": "",

"state": "NORMAL",

"accountBalance": [

    {

        "amount": {

            "unit": "USD",

            "value": -76.98

        },

        "balanceType": "ReceivableBalance",

        "validFor": {

            "startDateTime": "2023-01-16T00:00:00.000Z",

            "endDateTime": "2023-02-15T00:00:00.000Z"

        }

    },

    {

        "amount": {

            "unit": "USD",

            "value": 80.00

        },

        "balanceType": "LastPaymentAmount",

        "validFor": {

            "endDateTime": "2022-12-26T00:00:00.000Z"

        }

    }

],

"accountRelationship": [

    {

        "relationshipType": "contains",

        "account": {

            "id": "8211990010018869",

            "description": "RES MARIA VICTORIA MURILLO",

            "name": "MARIA VICTORIA MURILLO",

            "@type": "BillingAccount"

        },

        "validFor": {

            "startDateTime": "2021-01-16T00:00:00.000Z",

            "endDateTime": "2021-02-14T00:00:00.000Z"

        }

    }

],

"billStructure": {

    "cycleSpecification": {

        "name": "monthly Billing",

        "dateShift": 16,

        "frequency": "monthly"

    },

    "presentationMedia": [

        {

            "name": "Mail"

        }

    ]

},

"contact": [

    {

        "contactName": "MARIA VICTORIA MURILLO",

        "contactType": "Primary",

        "partyRoleType": "Owner",

        "contactMedium": [

            {

                "mediumType": "PostalAddress",

                "preferred": true,

                "ulmCharacteristic": {

                    "city": "SAN JUAN",

                    "country": "USA",

                    "postCode": "009171920",

                    "street1": "279 AVE PONCE DE LEON APT 2001"

                },

                "characteristic": {

                    "city": "SAN JUAN",

                    "country": "USA",

                    "postCode": "00917",

                    "street1": "279 AVE PONCE DE LEON APT 2001"

                }

            },

            {

                "mediumType": "Phone",

                "characteristic": {

                    "contactType": "Home",

                    "phoneNumber": "7876552030"

                }

            },

            {

                "mediumType": "Phone",

                "characteristic": {

                    "contactType": "Business",

                    "phoneNumber": "9059334010"

                }

            }

        ],

        "relatedParty": {

            "id": "6789",

            "name": "MARIA VICTORIA MURILLO",

            "role": "Owner",

            "@type": "relatedParty"

        }

    }

],

"creditLimit": {

    "unit": "USD",

    "value": 100.00

},

"defaultPaymentMethod": {

    "id": "E",

    "name": "EFT"

},

"financialAccount": {

    "id": "2063",

    "accountBalance": {

        "balanceType": "ReceivableBalance",

        "amount": {

            "unit": "USD",

            "value": 16

        },

        "validFor": {

            "startDateTime": "2023-01-16T00:00:00.000Z",

            "endDateTime": "2023-02-15T00:00:00.000Z"

        }

    },

    "@referredType": "financialAccount"

},

"paymentPlan": [

    {

        "paymentFrequency": "01",

        "planType": "Auto Pay Enable"

    }

],

"characteristic": [

    {

        "name": "DunningGroup",

        "value": "090"

    },

    {

        "name": "autoPayDate",

        "value": "2023-02-03T00:00:00.000Z"

    },

    {

        "name": "DebitDay",

        "value": "03"

    },

    {

        "name": "CreditScore",

        "value": "A"

    },

    {

        "name": "LocationId",

        "value": "00917192001084"

    }

],

"relatedParty": [

    {

        "id": "1101521721766",

        "name": "MARIA VICTORIA MURILLO",

        "role": "Customer",

        "@referredType": "Customer"

    }

],

"@type": "BillingAccount"

}

```

**AutoPay Disable**

```json

{

"id": "8211990010018869",

"accountType": "RES",

"description": "MARIA VICTORIA MURILLO",

"lastModified": "2023-01-16T00:00:00.000Z",

"name": "MARIA VICTORIA MURILLO",

"paymentStatus": "",

"state": "NORMAL",

"accountBalance": [

    {

        "amount": {

            "unit": "USD",

            "value": -76.98

        },

        "balanceType": "ReceivableBalance",

        "validFor": {

            "startDateTime": "2023-01-16T00:00:00.000Z",

            "endDateTime": "2023-02-15T00:00:00.000Z"

        }

    },

    {

        "amount": {

            "unit": "USD",

            "value": 80.00

        },

        "balanceType": "LastPaymentAmount",

        "validFor": {

            "endDateTime": "2022-12-26T00:00:00.000Z"

        }

    }

],

"accountRelationship": [

    {

        "relationshipType": "contains",

        "account": {

            "id": "8211990010018869",

            "description": "RES MARIA VICTORIA MURILLO",

            "name": "MARIA VICTORIA MURILLO",

            "@type": "BillingAccount"

        },

        "validFor": {

            "startDateTime": "2021-01-16T00:00:00.000Z",

            "endDateTime": "2021-02-14T00:00:00.000Z"

        }

    }

],

"billStructure": {

    "cycleSpecification": {

        "name": "monthly Billing",

        "dateShift": 16,

        "frequency": "monthly"

    },

    "presentationMedia": [

        {

            "name": "Mail"

        }

    ]

},

"contact": [

    {

        "contactName": "MARIA VICTORIA MURILLO",

        "contactType": "Primary",

        "partyRoleType": "Owner",

        "contactMedium": [

            {

                "mediumType": "PostalAddress",

                "preferred": true,

                "characteristic": {

                    "city": "SAN JUAN",

                    "country": "USA",

                    "postCode": "009171920",

                    "street1": "279 AVE PONCE DE LEON APT 2001"

                }

            },

            {

                "mediumType": "Phone",

                "characteristic": {

                    "contactType": "Home",

                    "phoneNumber": "7876552030"

                }

            }

        ],

        "relatedParty": {

            "id": "6789",

            "name": "MARIA VICTORIA MURILLO",

            "role": "Owner",

            "@type": "relatedParty"

        }

    }

],

"creditLimit": {

    "unit": "USD",

    "value": 100.00

},

"defaultPaymentMethod": {

    "id": "E",

    "name": "EFT"

},

"financialAccount": {

    "id": "2063",

    "accountBalance": {

        "balanceType": "ReceivableBalance",

        "amount": {

            "unit": "USD",

            "value": 16

        },

        "validFor": {

            "startDateTime": "2023-01-16T00:00:00.000Z",

            "endDateTime": "2023-02-15T00:00:00.000Z"

        }

    },

    "@referredType": "financialAccount"

},

"paymentPlan": [

    {

        "paymentFrequency": "01",

    }

],

"characteristic": [

    {

        "name": "DunningGroup",

        "value": "090"

    },

    {

        "name": "CreditScore",

        "value": "A"

    },

    {

        "name": "LocationId",

        "value": "00917192001084"

    }

],

"relatedParty": [

    {

        "id": "1101521721766",

        "name": "MARIA VICTORIA MURILLO",

        "role": "Customer",

        "@referredType": "Customer"

    }

],

"@type": "BillingAccount"

}

```

Response Data Model:

Each of the response parameters is detailed.

| name | type | description | required |

| ----------------------------------------------------- | ------- | ------------------------------------------------------------ | -------- |

| id | string | Billing Account Number (Salesforce Record Id) | N |

| accountType | string | A categorization of an account, Possible Value - RES | N |

| description | string | name of the account owner | N |

| name | string | name of the billing account | N |

| state | string | Contains the lifecycle state such as: "voluntary disconnect","Non-Pay Disc","Chard Off","NORMAL" | N |

|paymentStatus | string |The account's delinquency status or payment status may have the following values:, Possible Delinquency status values are NORMAL, C - VOLUNTARY DISC, E - NON-PAY DISC, A - OPEN NP EQPTACT, F - OPEN NP EQPT FT, P - PEND NP SVC RES,S - PND CHG SERV WO, T - PPV RESTRICTED, U - DWNGRD-SVCS, V - OPEN VOL DISC, W - OPEN NP EQPTDIS, Z -CHARGED OFF,OR payment status are "NORMAL","S" : Suspend, "B" : Balance is less than EFT minimum debit amount. The API will return a single character, such as "C" or "NORMAL," as obtained from CSG. The meaning of each character is given here for reference. | N |

| lastModified | string | Date of last modification of the account | N |

| accountBalance | array | Balances linked to the account | N |

| accountBalance.balanceType | string | Type of the balance ; DelinquentBalance, LastPaymentAmount, ReceivableBalance| N |

| accountBalance.amount | string | Balance amount| N |

| accountBalance.amount.unit | string | USD | N|

| accountBalance.validFor | object |A period, either as a deadline (endDateTime only) a startDateTime only, or both| N |

| accountBalance.validFor.endDateTime |datetime | End of the time period, using ISO 8601 format | N |

| accountBalance.validFor.startDateTime | datetime | Start of the period, using ISO 8601 format. If you define a start, you must also define an end | N|

| accountRelationship | array | Significant connection between accounts. For instance an aggregating account for a list of shop branches each having its billing account | N |

| accountRelationship.relationshipType | string | Type of relationship. | N |

| accountRelationship.account | object | An account may be a party account or a financial account. | N |

| accountRelationship.account.id | string | Unique identifier Id of the EntityDescriptionRef. | N |

| accountRelationship.account.description | string |Detailed description of the EntityDescriptionRef | N |

| accountRelationship.account.name | string | Name of the account. | N |

| accountRelationship.account.@type | string | When sub-classing, this defines the sub-class entity name | N |

| accountRelationship.validFor.endDateTime | datetime| End of the time period, using ISO 8601 format | N |

| accountRelationship.validFor.startDateTime | datetime| Start of the period, using ISO 8601 format. If you define a start, you must also define an end | N|

| billStructure | object | The structure of the bill for party accounts (billing or settlement). | N |

| billStructure.cycleSpecification | object | An attachment by value or by reference. | N |

| billStructure.cycleSpecification.name | string | Expected value "monthly Billing" "bi-monthly billing" | N |

| billStructure.cycleSpecification.dateShift | string | An offset of a billing/settlement date. The offset is expressed as number of days with regard to the start of the billing/settlement period. | N |

| billStructure.cycleSpecification.frequency | string | Possible values are "monthly" or "bi-monthly billing". | N |

| billStructure.presentationMedia.name | string | Possible values are "Mail""Email | N |

| contact | array | Contact point for a given account and accessed via some contact medium. | N |

| contact.name | string | name of the contact | N |

| contact.partyRoleType | string | Identifies what kind of party role type is linked to the contact Ex: Owner | N |

| contact.contactMedium | array | Indicates the contact medium that could be used to contact the party. Possible values are | N |

| contact.contactMedium.mediumType | string | Type of the contact medium, possible values are: "Phone" or "PostalAddress". | N |

| contact.contactMedium.preferred | boolean | If true, it indicates that it is the preferred contact medium. Ex: true,false | N |

| contact.contactMedium.characteristic | object | Any additional characteristic(s) of this contact medium. | N |

| contact.contactMedium.characteristic.contactType | string | if mediumType = "Phone" then possible values are "Home","Business" | N |

| contact.contactMedium.characteristic.city | string | The city | N |

| contact.contactMedium. characteristic.country | string | The country | N |

| contact.contactMedium. characteristic.postCode | string | Postcode | N |

| contact.contactMedium. characteristic.stateOrProvince | string | State or province | N |

| contact.contactMedium. characteristic.street1 | string | Describes the street | N |

| contact.contactMedium. characteristic.phoneNumber | string | phone number of the customer | N |

| contact.contactMedium. characteristic.emailAddress | string | email address of the customer | N |

| contact.relatedParty | object | Related Entity reference | N |

| contact.relatedParty.id | string | last 4 digits of SSN number | N |

| contact.relatedParty.name | string | name of the customer account | N |

| contact.relatedParty.@type | string | hard-coded as "relatedParty" | N |

| creditLimit | object | The maximum amount of money that may be charged to an account| N |

| creditLimit.unit | string | USD | N |

| creditLimit.value | integer | value | N |

| defaultPaymentMethod | object | The maximum amount of money that may be charged on an account| N |

| defaultPaymentMethod.id | string | Unique identifier ID of the default payment method. Possible values are "C" "E" "" | N |

| defaultPaymentMethod.name | integer | Payment Method Name.Possible values are "Credit Card" "EFT" "Non Default Payment Method" | N |

| financialAccount | array | AccountReceivable reference. An account of money owed by a party to another entity in exchange for goods or services that have been delivered or used. An account receivable aggregates the amounts of one or more party accounts (billing or settlement) owned by a given party. | N |

| financialAccount.id | string | Hard coded as "2063" | N |

| financialAccount.accountBalance | object |

| financialAccount.accountBalance.balanceType | string | Type of the balance ; DelinquentBalance, LastPaymentAmount, ReceivableBalance | N |

| financialAccount.accountBalance.amount | string | Balance amount| N |

| financialAccount.accountBalance.amount.unit | string | USD | N|

| financialAccount.accountBalance.validFor | object |A period, either as a deadline (endDateTime only) a startDateTime only, or both | N |

| financialAccount.accountBalance.validFor.endDateTime |datetime | End of the time period, using ISO 8601 format | N |

| financialAccount.accountBalance.validFor.startDateTime | datetime| start of the time period | N |

| financialAccount.@referredType | string | possible value is "financialAccount" | N |

| paymentPlan | array | A list of payment plans | N |

| paymentPlan.paymentFrequency | string | Frequency of the payments, such as monthly and bimonthly | N |

| paymentPlan.planType | string | status of autopsy. possible values are "Auto Pay Enable" , "Auto Pay Disable | N |

| characteristic | array | Describes a given characteristic of an object or entity through a name/value pair. | N |

| characteristics.name | string | Name of the characteristic."LocationId" "DunningGroup" "DelinquencyDays" "autoPayDate "DebitDay" "CreditScore" | N |

| characteristics.value | any | Value of the characteristic | N |

| relatedParty | array | Related Entity reference | N |

| relatedParty.id | string | CSG Customer Id | N |

| relatedParty.name | string | Customer name | N |

| relatedParty.role | string | role of the party. "customer" | N |

| relatedParty.@referredType | string | Reference type. "customer" | N |

| @type | string | Type of the reference. "BillingAccount" | N |

[ 200 ] **PREPAID Salesforce**

**Retrieving account details and autopay status for a PREPAID account from Salesforce using billingAccountNumber:**

Below is the response:

```json

{

"id": "31515070-31513558",

"href": "https://cwc--propeac01.sandbox.my.salesforce.com/0016300001MwDHbAAN",

"ratingType": "Prepaid",

"name": "Connection Fee Prepaid",

"state": "Active",

"contact": [

    {

        "contactType": "BillingAddress",

        "contactMedium": [

            {

                "preferred": true,

                "characteristic": {

                    "city": "San Juan",

                    "country": "US",

                    "postCode": "00921",

                    "stateOrProvince": "PR",

                    "street1": "767 Calle 31 S O",

                    "emailAddress": "mobileconnectionfee@gmail.com"

                }

            }

        ]

    },

    {

        "contactType": "customerAccount",

        "contactMedium": [

            {

                "preferred": true,

                "characteristic": {

                    "city": "San Juan",

                    "country": "US",

                    "postCode": "00921",

                    "stateOrProvince": "PR",

                    "street1": "767 Calle 31 S O"

                }

            }

        ],

        "relatedParty": {

            "id": "0016300001MwDHaAAN",

            "name": "Connection Fee Prepaid",

            "@type": "CustomerAccountRef"

        }

    },

    {

        "name": "Connection Fee Prepaid",

        "contactType": "Primary",

        "contactMedium": [

            {

                "preferred": true,

                "characteristic": {

                    "phoneNumber": "3765786457",

                    "emailAddress": "mobileconnectionfee@gmail.com"

                }

            }

        ]

    }

],

"paymentPlan": [

    {

        "planType": "Auto Pay disabled",

        "paymentMethod": {

            "id": "a6I63000000DV0xEAG"

        },

        "extendedCharacteristic": [

            {

                "name": "methodType",

                "value": "BrainTreeToken"

            },

            {

                "name": "externalCustomerIdentifier",

                "value": "639338417"

            },

            {

                "name": "token",

                "value": "cGF5bWVudG1ldGhvZF9jY19hOWFxemd0aA"

            },

            {

                "name": "externalPaymentMethodIdentifier",

                "value": "2"

            },

            {

                "name": "isPrimary",

                "value": "Y"

            }

        ]

    }

],

"billStructure": {

    "presentationMedia": [

        {

            "name": "eBill disabled"

        }

    ]

},

"extendedCharacteristics": [

    {

        "name": "msisdn",

        "valueType": "array",

        "value": [

            "12112221058"

        ]

    }

],

"@type": "BillingAccount",

"relatedParty": [

    {

        "id": "0016300001MwDHbAAN",

        "@type": "SalesforceBillingAccountRef"

    }

]

}

```

Response Data Model:

Each of the request parameters is detailed.

| name | type | description | required |

| ----------------------------------------------------- | ------- | ------------------------------------------------------------ | -------- |

| id | string | Billing Account Number (Salesforce Record Id) | N |

| href | string | URL reference of the billing account in Salesforce | N |

| ratingType | string | payment type of the billing account and the options are:Prepaid Postpaid | N |

| name | string | name of the billing account | N |

| state | string | Status of the account:ActiveSuspendDisconnected | N |

| autopayEnabled | string | indicator of the Auto Pay enabled | N |

| extendedCharacteristics | array | A list of characteristics that characterize this billingAccount | N |

| extendedCharacteristics.name | string | Name of the characteristic Example: methodType,token,externalPaymentMethodIdentifier | N |

| extendedCharacteristics.value | any | The value of the characteristic Example: BrainTreeToken,639338417,2 | N |

| contact | array | Contact point for a given account and accessed via some contact medium. | N |

| contact.partyRoleType | string | Identifies what kind of party role type is linked to the contact Ex:Owner | N |

| contact.contactMedium | array | Indicates the contact medium that could be used to contact the party. | N |

| contact.contactMedium.preferred | boolean | If true, indicates that is the preferred contact medium. Ex: true,false | N |

| contact.contactMedium.characteristic | object | Any additional characteristic(s) of this contact medium. | N |

| contact.contactMedium.characteristic.city | string | The city | N |

| contact.contactMedium. characteristic.country | string | The country | N |

| contact.contactMedium. characteristic.postCode | string | Postcode | N |

| contact.contactMedium. characteristic.stateOrProvince | string | State or province | N |

| contact.contactMedium. characteristic.street1 | string | Describes the street | N |

| contact.contactMedium. characteristic.phoneNumber | string | phone number of the customer | N |

| contact.contactMedium. characteristic.emailAddress | string | email address of the customer | N |

| contact.relatedParty | object | Related Entity reference | N |

| contact.relatedParty.id | string | Customer Account Number (Salesforce Record Id) | N |

| contact.relatedParty.name | string | name of the Customer account | N |

| contact.relatedParty.@type | string | type of reference | N |

| contact.name | string | name of the contact | N |

| paymentPlan | array | A list of payment plans | N |

| paymentPlan.planType | string | status of autopay | N |

| paymentPlan.paymentMethod | object | A payment method reference | N |

| paymentPlan.paymentMethod.id | string | internal reference id of the payment method in Salesforce | N |

| paymentPlan.extendedCharacteristics | array | A list of characteristics that characterize the payment method details | N |

| paymentPlan.extendedCharacteristics.name | string | Name of the characteristic | N |

| paymentPlan.extendedCharacteristics.value | string | Value of the characteristic | N |

| @type | string | Type of the reference | N |

| relatedParty | array | Related Entity reference | N |

| relatedParty.id | string | Salesforce reference Id of the billing account | N |

| relatedParty.@type | string | Referencetype | N |

| relatedParty.id | string | consumerPIN value | N |

| relatedParty.role | string | role of the party | N |

| relatedParty.@type | string | Reference type | N |

**Retrieving account details for a PREPAID account from Salesforce using MSISDN:**

Below is the response:

```json

{

"contact": [

    {

        "name": "GUILHERME CLEVELAND",

        "contactType": "Secondary",

        "contactMedium": [

            {

                "preferred": true,

                "characteristic": {

                    "city": "San Juan",

                    "country": "Colombia",

                    "postCode": "00907",

                    "stateOrProvince": "PR",

                    "street1": "1479 Ashford Avenue",

                    "phoneNumber": "+55 24 2104 8708",

                    "emailAddress": "guilherme.cleveland@orange.com"

                }

            }

        ]

    }

],

"billStructure": {

    "presentationMedia": [

        {

            "name": "eBill disabled"

        }

    ]

},

"@type": "BillingAccount",

"relatedParty": [

    {

        "@type": "SalesforceBillingAccountRef"

    }

]

}

```

Response Data Model:

| name | type | description | required |

| ----------------------------------------------------- | ------- | ------------------------------------------------------------ | -------- |

| contact | array | Contact point for a given account and accessed via some contact medium. | N |

| contact.contactType | string | Indicates the type of contact | N |

| contact.contactMedium | array | Indicates the contact medium that could be used to contact the party. | N |

| contact.contactMedium.preferred | boolean | If true, indicates that is the preferred contact medium. | N |

| contact.contactMedium.characteristic | object | Any additional characteristic(s) of this contact medium. | N |

| contact.contactMedium.characteristic.city | string | The city | N |

| contact.contactMedium. characteristic.country | string | The country | N |

| contact.contactMedium. characteristic.postCode | string | Postcode | N |

| contact.contactMedium. characteristic.stateOrProvince | string | State or province | N |

| contact.contactMedium. characteristic.street1 | string | Describes the street | N |

| contact.contactMedium. characteristic.phoneNumber | string | phone number of the customer | N |

| contact.contactMedium. characteristic.emailAddress | string | email address of the customer | N |

| contact.name | string | name of the contact | N |

| @type | string | Type of the reference | N |

| relatedParty | array | Related Entity reference | N |

| relatedParty.id | string | Salesforce reference Id of the billing account | N |

| relatedParty.@type | string | Referencetype | N |

| billStructure | Object | | N |

| billStructure.presentationMedia | Array | | N |

| billStructure.presentationMedia.name | String | ebill flag indicator | N |

[ 200 ] **POSTPAID Salesforce**

**Retrieving account details and autopay status for a POSTPAID account from Salesforce using billingAccountNumber:**

Below is the response:

```json

{

"id": "21003695-21003694",

"href": "https://cwc--propeac01.sandbox.my.salesforce.com/0016300001MhqRXAAZ",

"ratingType": "Postpaid",

"name": "Prakash Prakash",

"state": "Active",

"contact": [

    {

        "contactType": "BillingAddress",

        "contactMedium": [

            {

                "preferred": true,

                "characteristic": {

                    "city": "San Juan",

                    "country": "US",

                    "postCode": "00907",

                    "stateOrProvince": "PR",

                    "street1": "1479 Ashford Avenue",

                    "emailAddress": "pra@com.com"

                }

            }

        ]

    },

    {

        "contactType": "customerAccount",

        "contactMedium": [

            {

                "preferred": true,

                "characteristic": {

                    "city": "San Juan",

                    "country": "US",

                    "postCode": "00907",

                    "stateOrProvince": "PR",

                    "street1": "1479 Ashford Avenue"

                }

            }

        ],

        "relatedParty": {

            "id": "0016300001MhqRWAAZ",

            "name": "Prakash Prakash",

            "@type": "CustomerAccountRef"

        }

    },

    {

        "name": "Prakash Prakash",

        "contactType": "Primary",

        "contactMedium": [

            {

                "preferred": true,

                "characteristic": {

                    "phoneNumber": "7655454545",

                    "emailAddress": "pra@com.com"

                }

            }

        ]

    }

],

 "paymentPlan": [

    {

        "planType": "Auto Pay enabled",

        "paymentMethod": {

            "id": "a6I63000000DTq7EAG"

        },

        "extendedCharacteristic": [

            {

                "name": "methodType",

                "value": "BrainTreeToken"

            },

            {

                "name": "externalCustomerIdentifier",

                "value": "163429995"

            },

            {

                "name": "token",

                "value": "cGF5bWVudG1ldGhvZF9jY18yZ3NjZ2Zzeg"

            },

            {

                "name": "isPrimary",

                "value": "Y"

            }

        ]

    }

],

"billStructure": {

    "presentationMedia": [

        {

            "name": "eBill disabled"

        }

    ]

},

"extendedCharacteristics": [

    {

        "name": "msisdn",

        "valueType": "array",

        "value": [

            "17874031934"

        ]

    }

],

"@type": "BillingAccount",

"relatedParty": [

    {

        "id": "0016300001MhqRXAAZ",

        "@type": "SalesforceBillingAccountRef"

    }

]

}

```

Response Data Model:

Each of the request parameters is detailed.

| name | type | description | required |

| ----------------------------------------------------- | ------- | ------------------------------------------------------------ | -------- |

| id | string | Billing Account Number (Salesforce Record Id) | N |

| href | string | URL reference of the billing account in Salesforce | N |

| ratingType | string | payment type of the billing account and the options are:Prepaid Postpaid | N |

| name | string | name of the billing account | N |

| state | string | Status of the account:ActiveSuspendDisconnected | N |

| autopayEnabled | string | indicator of the Auto Pay enabled | N |

| extendedCharacteristics | array | A list of characteristics that characterize this billingAccount | N |

| extendedCharacteristics.name | string | Name of the characteristic | N |

| extendedCharacteristics.value | any | The value of the characteristic | N |

| contact | array | Contact point for a given account and accessed via some contact medium. | N |

| contact.partyRoleType | string | Identifies what kind of party role type is linked to the contact | N |

| contact.contactMedium | array | Indicates the contact medium that could be used to contact the party. | N |

| contact.contactMedium.preferred | boolean | If true, indicates that is the preferred contact medium. | N |

| contact.contactMedium.characteristic | object | Any additional characteristic(s) of this contact medium. | N |

| contact.contactMedium.characteristic.city | string | The city | N |

| contact.contactMedium. characteristic.country | string | The country | N |

| contact.contactMedium. characteristic.postCode | string | Postcode | N |

| contact.contactMedium. characteristic.stateOrProvince | string | State or province | N |

| contact.contactMedium. characteristic.street1 | string | Describes the street | N |

| contact.contactMedium. characteristic.phoneNumber | string | phone number of the customer | N |

| contact.contactMedium. characteristic.emailAddress | string | email address of the customer | N |

| contact.relatedParty | object | Related Entity reference | N |

| contact.relatedParty.id | string | Customer Account Number (Salesforce Record Id) | N |

| contact.relatedParty.name | string | name of the Customer account | N |

| contact.relatedParty.@type | string | type of reference | N |

| contact.name | string | name of the contact | N |

| paymentPlan | array | A list of payment plans | N |

| paymentPlan.planType | string | status of autopay | N |

| paymentPlan.paymentMethod | object | A payment method reference | N |

| paymentPlan.paymentMethod.id | string | internal reference id of the payment method in Salesforce | N |

| paymentPlan.extendedCharacteristics | array | A list of characteristics that characterize the payment method details | N |

| paymentPlan.extendedCharacteristics.name | string | Name of the characteristic | N |

| paymentPlan.extendedCharacteristics.value | string | Value of the characteristic | N |

| @type | string | Type of the reference | N |

| relatedParty | array | Related Entity reference | N |

| relatedParty.id | string | Salesforce reference Id of the billing account | N |

| relatedParty.@type | string | Referencetype | N |

| relatedParty.id | string | consumerPIN value | N |

| relatedParty.role | string | role of the party | N |

| relatedParty.@type | string | Reference type | N |

**Retrieving account details and autopay status for a POSTPAID account from Salesforce using MSISDN:**

Below is the response:

```json

{

"href": "https://cwc--qapeac.sandbox.my.salesforce.com/0013K000012fb7dQAA",

"ratingType": "Postpaid",

"name": "Hilda C. Alvarez",

"state": "Active",

"characteristic": [

    {

        "value": "Y",

        "name": "autoPaymentEnabled"

    }

],

"contact": [

    {

        "contactType": "BillingAddress",

        "contactMedium": [

            {

                "preferred": true,

                "characteristic": {

                    "city": "San Juan",

                    "country": "US",

                    "postCode": "00911",

                    "stateOrProvince": "PR",

                    "street1": "110 Calle del Parque",

                    "emailAddress": "testconsentaddline5@care.com"

                }

            }

        ]

    },

    {

        "contactType": "customerAccount",

        "contactMedium": [

            {

                "preferred": true,

                "characteristic": {

                    "city": "San Juan",

                    "country": "US",

                    "postCode": "00911",

                    "stateOrProvince": "PR",

                    "street1": "110 Calle del Parque"

                }

            }

        ],

        "relatedParty": {

            "id": "23540074",

            "name": "Hilda C. Alvarez",

            "@type": "CustomerAccountRef"

        }

    },

    {

        "name": "Hilda Alvarez",

        "contactType": "Primary",

        "contactMedium": [

            {

                "preferred": true,

                "characteristic": {

                    "phoneNumber": "13453454364",

                    "emailAddress": "testconsentaddline5@care.com"

                }

            }

        ]

    }

],

"paymentPlan": [

    {

        "paymentMethod": {

            "id": "PM-a6I3K0000009JgzUAE"

        },

        "extendedCharacteristic": [

            {

                "name": "methodType",

                "value": "BrainTreeToken"

            },

            {

                "name": "externalCustomerIdentifier",

                "value": "19553474953"

            },

            {

                "name": "token",

                "value": "cGF5bWVudG1ldGhvZF9jY184amYzaDVneA"

            },

            {

                "name": "externalPaymentMethodIdentifier",

                "value": "PM-a6I3K0000009JgzUAE"

            },

            {

                "name": "isPrimary",

                "value": "Y"

            }

        ]

    },

    {

        "paymentMethod": {

            "id": "PM-MWJkZmQ4ZDUtYjRlNS"

        },

        "extendedCharacteristic": [

            {

                "name": "methodType",

                "value": "BrainTreeToken"

            },

            {

                "name": "externalCustomerIdentifier",

                "value": "88822287153"

            },

            {

                "name": "token",

                "value": "cGF5bWVudG1ldGhvZF9jY19xOXpleWd0cg"

            },

            {

                "name": "externalPaymentMethodIdentifier",

                "value": "PM-MWJkZmQ4ZDUtYjRlNS"

            },

            {

                "name": "isPrimary",

                "value": "N"

            }

        ]

    },

    {

        "paymentMethod": {

            "id": "PM-a6I3K0000009JiMUAU"

        },

        "extendedCharacteristic": [

            {

                "name": "methodType",

                "value": "Bank Account"

            },

            {

                "name": "externalCustomerIdentifier",

                "value": "89213959036"

            },

            {

                "name": "token",

                "value": "cGF5bWVudG1ldGhvZF91c2JfajBzcDJqOWg"

            },

            {

                "name": "externalPaymentMethodIdentifier",

                "value": "PM-a6I3K0000009JiMUAU"

            },

            {

                "name": "isPrimary",

                "value": "N"

            }

        ]

    }

],

"billStructure": {

    "presentationMedia": [

        {

            "name": "eBill disabled"

        }

    ]

},

"extendedCharacteristics": [

    {

        "name": "msisdn",

        "valueType": "array",

        "value": [

            "12218000634",

            "12218000752"

        ]

    }

],

"@type": "BillingAccount",

"relatedParty": [

    {

        "id": "0013K000012fb7dQAA",

        "@type": "SalesforceBillingAccountRef"

    },

    {

        "id": "1234",

        "role": "CustomerSecurity",

        "@type": "ConsumerPIN"

    }

]

}

```

Response Data Model:

Each of the request parameters is detailed.

| name | type | description | required |

| ----------------------------------------------------- | ------- | ------------------------------------------------------------ | -------- |

| href | string | URL reference of the billing account in Salesforce | N |

| ratingType | string | payment type of the billing account and the options are:Prepaid Postpaid | N |

| name | string | name of the billing account | N |

| state | string | Status of the account:ActiveSuspendDisconnected | N |

| autopayEnabled | string | indicator of the Auto Pay enabled | N |

| extendedCharacteristics | array | A list of characteristics that characterize this billingAccount | N |

| extendedCharacteristics.name | string | Name of the characteristic | N |

| extendedCharacteristics.value | any | The value of the characteristic | N |

| contact | array | Contact point for a given account and accessed via some contact medium. | N |

| contact.partyRoleType | string | Identifies what kind of party role type is linked to the contact | N |

| contact.contactMedium | array | Indicates the contact medium that could be used to contact the party. | N |

| contact.contactMedium.preferred | boolean | If true, indicates that is the preferred contact medium. | N |

| contact.contactMedium.characteristic | object | Any additional characteristic(s) of this contact medium. | N |

| contact.contactMedium.characteristic.city | string | The city | N |

| contact.contactMedium. characteristic.country | string | The country | N |

| contact.contactMedium. characteristic.postCode | string | Postcode | N |

| contact.contactMedium. characteristic.stateOrProvince | string | State or province | N |

| contact.contactMedium. characteristic.street1 | string | Describes the street | N |

| contact.contactMedium. characteristic.phoneNumber | string | phone number of the customer | N |

| contact.contactMedium. characteristic.emailAddress | string | email address of the customer | N |

| contact.relatedParty | object | Related Entity reference | N |

| contact.relatedParty.id | string | Customer Account Number (Salesforce Record Id) | N |

| contact.relatedParty.name | string | name of the Customer account | N |

| contact.relatedParty.@type | string | type of reference | N |

| contact.name | string | name of the contact | N |

| paymentPlan | array | A list of payment plans | N |

| paymentPlan.paymentMethod | object | A payment method reference | N |

| paymentPlan.paymentMethod.id | string | internal reference id of the payment method in Salesforce | N |

| paymentPlan.extendedCharacteristics | array | A list of characteristics that characterize the payment method details | N |

| paymentPlan.extendedCharacteristics.name | string | Name of the characteristic | N |

| paymentPlan.extendedCharacteristics.value | string | Value of the characteristic | N |

| @type | string | Type of the reference | N |

| relatedParty | array | Related Entity reference | N |

| relatedParty.id | string | Salesforce reference Id of the billing account | N |

| relatedParty.@type | string | Referencetype | N |

| relatedParty.id | string | consumerPIN value | N |

| relatedParty.role | string | role of the party | N |

| relatedParty.@type | string | Reference type | N |

[ 200 ] **ARIA Retrieve Balance Response**

**Retrieve the client account balance from Aria:**

Below is the response:

```json

{

"@type": "BillingAccount",

"relatedParty": [

    {

        "id": "123456-MA",

        "@type": "MigratedAccountRef",

        "name": "BAN"

    }

],

"accountBalance": [

    {

        "amount": {

            "unit": "USD",

            "value": 0

        }

    }

],

"billStructure": {

    "cycleSpecification": {

        "paymentDueDateOffset": 0

    }

},

"extendedCharacteristics": [

    {

        "name": "billDate",

        "value": "2023-03-10"

    },

    {

        "name": "autoPayDate",

        "value": "2023-03-10"

    }

]

}

```

Response data model:

| name | type | description | required |

| ----------------------------------------------------- | ------------- | ------------------------------------------------------------ | -------- |

| @type | string | When sub-classing, this defines the sub-class entity name and value refers to "BillingAccount" | Y |

| accountBalance | object Array | Balances linked to the account | Y |

| accountBalance.amount | object | Balance amount | Y |

| accountBalance.amount.unit | string | Currency (ISO4217 norm uses 3 letters to define the currency) | Y |

| accountBalance.amount.value | number, float | A positive floating point number | Y |

| relatedParty | Array | Related Entity reference | Y |

| relatedParty.id | string | Aria reference Id of the billing account | Y |

| relatedParty.@type | string | Referencetype | Y |

| relatedParty.name | string | relatedParty Name | Y |

| billStructure | Object | | Y |

| billStructure.cycleSpecification | object | | Y |

| billStructure.cycleSpecification.paymentDueDateOffset | number | number of days between bill date and current date | Y |

| extendedCharacteristics | array | extendedCharacteristics. Example: billDate, autoPayDate | Y |

| extendedCharacteristics.value | any | name of the characteristics | Y |

| extendedCharacteristics.name | string | value of the characteristics | Y |

Possible Error Scenarios: :

IF WE ARE PASSING INVALID MSISDN IN URIPARAMS

```json

{

"errors": [

    {

        "code": 400,

        "message": "SF:GET_BillingAccount_BY_ID",

        "description": "MSISDN provided is not valid"

    }

]

}

```

INVALID URL

```json

{

"errors": [

    {

        "code": 404,

        "message": "APIKIT:NOT_FOUND",

        "description": "/PR/billingAccounts/CUSTOMER_8011"

    }

]

}

```

INVALID CHANNELID

```json

{

"errors": [

    {

        "code": 501,

        "message": "Not implemented",

        "description": "Operation GET for Business Id: PR and channelId:ECOM not implemented"

    }

]

}

```

Expected values for CSG FIXED Auto Pay

For paymentStatus below are expected fields Delinquency Status or Payment Status

**Delinquency Status**

|Mule Field Value |BSS Field Value| Description|

|----|----|---|

|NORMAL |“” or null| NORMAL|

|C| C |VOLUNTARY DISC|

|E| E |NON-PAY DISC|

|A| A| OPEN NP EQPTACT|

|F| F |OPEN NP EQPT FT|

|P| P| PEND NP SVC RES|

|S| S |PND CHG SERV WO|

|T| T |PPV RESTRICTED|

|U| U |DWNGRD-SVCS|

|V| V |OPEN VOL DISC|

|W| W |OPEN NP EQPTDIS|

|Z| Z| CHARGED OFF|

**Payment Status**

|Mule Field Value |BSS Field Value| Description|

|-------------------|---------------|-------------|

|NORMAL |“” or null| NORMAL|

|S | S | Suspended |

|B | B | Balance is less than EFT minimum debit amount |

|D | D | Debit Error |

|E | E | Prenote Error |

|G | G | EFT debit had been sent to ACH processor |

|P | P | Prenote Error |

|W | W | Waiting |

List billingAccount (TMF666)

/billingAccount

[GET]

This operation retrieves a billing account entity used by identityType & identityNumber or locationId.

URL

https://[localhost]:[port]/dxp-ux/v1/{businessId}/billingAccount

URL PARAMS

nametypedescriptionrequired
businessIdstring2 letter ISO 3166 country code (PR, JM, PA, etc.) identifying the business unit.Y

NOTE: To retrieve debit check details based on SSN need to pass "x-tax-identifier"

namevaluedescriptionrequired
client_idstringThe client_id identifying the channel. Minimum characters: 5Y
client_secretstringPassword associated with the client_id. Minimum characters: 5Y
x-tax-identifierstringTax identifier value/ SSN. This is encrypted value.N
channeIdstringChannel to identify the business group.
Can be: "APP"
M
Correlation-IDstringAn identifier for the current call chain that can be used to tie together log entries on multiple layers (e.g. client, server, mainframe). This identifier must be designed to be unique across all applications.
Pattern: ^[a-zA-Z0-9-+/=_]{16,64}$
Minimum characters: 16
Maximum characters: 64
N
lobStringEnum: PREPAID, POSTPAID,FIXED
Expected value : FIXED
O

Query Param

NOTE: To retrieve debit check details based on Location ID need to pass "locationId "

nametypedescriptionrequired
identityTypestringDescribes the type of the id. Eg: "SSN"N
balanceCheckbooleanFlag for customer account debt information. API will return customer accounts balance if this flag is true.N

Response

In this section all the possible data structures received by the client at the moment of responding the method are defined.

Possible response success

[ 200 ]

From this operation we can fetch Auto Pay is enabled or disabled, auto pay date and day, Delinquency status, payment status.

Note In the response if PaymentPlan.planType is AutoPay Enable, AutoPay Date can be dislpayed in the extended Characteristics else AutoPay Date cannot be displayed.

By SSN (x-tax-idenitfier)

AutoPay Enable for debtCheck by SSN

[
    {
        "id": "8211990010009223",
        "name": "TIVO APP TEST LIBERTY GO",
        "@type": "BillingAccount",
        "accountType": "RES",
        "state": "E",
        "paymentStatus": "E",
        "paymentPlan": [
            {
                "planType": "Auto Pay Enable"
            }
        ],
        "accountBalance": [
            {
                "amount": {
                    "unit": "USD",
                    "value": -135.33
                },
                "balanceType": "AccountBalance",
                "validFor": {
                    "startDateTime": "2022-12-13",
                    "endDateTime": "2023-01-12"
                }
            },
            {
                "amount": {
                    "unit": "USD",
                    "value": 0.00
                },
                "balanceType": "DelinquentBalance"
            }
        ],
        "creditLimit": {
            "unit": "USD",
            "value": 100.00
        },
        "contact": [
            {
                "contactName": "TIVO APP TEST LIBERTY GO",
                "contactMedium": [
                    {
                        "mediumType": "Address",
                        "preferred": true,
                        "characteristic": {
                            "contactType": "BillingAddress",
                            "stateOrProvince": "PR",
                            "city": "SAN JUAN",
                            "street1": "279 AVE PONCE DE LEON",
                            "street2": "APT 8",
                            "postCode": "009171920"
                        }
                    },
                    {
                        "mediumType": "Phone",
                        "characteristic": {
                            "contactType": "Home",
                            "phoneNumber": "7879257001"
                        }
                    },
                    {
                        "mediumType": "Phone",
                        "characteristic": {
                            "contactType": "Business",
                            "phoneNumber": "9059334010"
                        }
                    }
                ]
            }
        ],
        "relatedParty": [
            {
                "id": "1101520693636",
                "name": "TIVO APP TEST LIBERTY GO",
                "role": "Customer",
                "@referredType": "Individual"
            }
        ],
        "characteristic": [
            {
                "name": "autoPayDate",
                "value": "2023-01-07T00:00:00.000Z"
            },
            {
                "name": "DebitDay",
                "value": "03"
            },
            {
                "name": "CreditScore",
                "value": "A"
            },
            {
                "name": "LocationId",
                "value": "00917192001084"
            }
        ]
    }
]

AutoPay Disable for debtCheck by SSN

[
    {
        "id": "8211990010013175",
        "name": "FABIAN DIAZ",
        "@type": "BillingAccount",
        "accountType": "RES",
        "state": "E",
        "paymentStatus": "E",
        "paymentPlan": [
            {
                "planType": "Auto Pay Disable"
            }
        ],
        "accountBalance": [
            {
                "amount": {
                    "unit": "USD",
                    "value": 194.78
                },
                "balanceType": "AccountBalance",
                "validFor": {
                    "startDateTime": "2022-12-26",
                    "endDateTime": "2023-01-25"
                }
            },
            {
                "amount": {
                    "unit": "USD",
                    "value": 194.78
                },
                "balanceType": "DelinquentBalance"
            }
        ],
        "creditLimit": {
            "unit": "USD",
            "value": 100.00
        },
        "contact": [
            {
                "contactName": "FABIAN DIAZ",
                "contactMedium": [
                    {
                        "mediumType": "Address",
                        "preferred": true,
                        "characteristic": {
                            "contactType": "BillingAddress",
                            "stateOrProvince": "PR",
                            "city": "SAN JUAN",
                            "street1": "279 AVE PONCE DE LEON",
                            "street2": "APT 2004",
                            "postCode": "009171920"
                        }
                    },
                    {
                        "mediumType": "Phone",
                        "characteristic": {
                            "contactType": "Home",
                            "phoneNumber": "3184337043"
                        }
                    }
                ]
            }
        ],
        "relatedParty": [
            {
                "id": "1101521367339",
                "name": "FABIAN DIAZ",
                "role": "Customer",
                "@referredType": "Individual"
            }
        ],
       "characteristic": [
            {
                "name": "CreditScore",
                "value": "A"
            },
            {
                "name": "LocationId",
                "value": "00917192001084"
            }
        ]
    }
]
By locationId
[
    {
        "id": "8211990010026953",
        "@type": "BillingAccount",
        "accountType": "RES",
        "state": "NORMAL",
        "paymentStatus": "NORMAL",
        "accountBalance": [
            {
                "amount": {
                    "unit": "USD",
                    "value": 70.22
                },
                "balanceType": "AccountBalance"
            },
            {
                "amount": {
                    "unit": "USD",
                    "value": 50.22
                },
                "balanceType": "DelinquentBalance"
            }
        ],
        "relatedParty": [
            {
                "id": "1101523725161",
                "role": "Customer",
                "@referredType": "Individual"
            }
        ],
        "characteristic": [
            {
                "valueType": "string",
                "value": "917000000385",
                "name": "locationId"
            }
        ]
    },
    {
        "id": "8211990010024400",
        "@type": "BillingAccount",
        "accountType": "RES",
        "state": "E",
        "paymentStatus": "E",
        "accountBalance": [
            {
                "amount": {
                    "unit": "USD",
                    "value": 30.22
                },
                "balanceType": "AccountBalance"
            },
            {
                "amount": {
                    "unit": "USD",
                    "value": 20.22
                },
                "balanceType": "DelinquentBalance"
            }
        ],
        "relatedParty": [
            {
                "id": "1101522746259",
                "role": "Customer",
                "@referredType": "Individual"
            }
        ],
        "characteristic": [
            {
                "valueType": "string",
                "value": "917000000385",
                "name": "locationId"
            }
        ]
    }
]
Expected values for CSG FIXED Auto Pay
Field NameDescription
paymentStatusblank - Active or Normal
S - Suspended
B - Balance is less than EFT minimum debit amount
D - Debit Error
E - Prenote Error
G - EFT debit had been sent to ACH processor
P - Prenote Error
W - Waiting

Enable or Disable or change Autopay ( TMF666 PATCH)

Request to enable or disable auto pay

URL
https://[localhost]:[port]/dxp-ux/v1/{businessId}/billingAccount/{id}

Base URI Parameter

URL PARAMS

nametypedescriptionrequired
businessIdstring2 letter ISO 3166 country code (PR) identifying the business unit.Y
idstringBilling Account Number.Y

Headers

namevaluedescriptionrequired
client_idstringThe client_id identifying the channel. Minimum characters: 5Y
client_secretstringPassword associated with the client_id. Minimum characters: 5Y
X-Correlation-IDstringAn identifier for the current call chain that can be used to tie together log entries on multiple layers (e.g. client, server, mainframe). This identifier must be designed to be unique across all applications.Note - Mule default behavior creates a sample x-correlation-id field if value is not passed from client, API will use this value in case value is not passed in API request
Pattern: ^[a-zA-Z0-9-+/=_]{16,64}$
Minimum characters: 16
Maximum characters: 64
Y
Request
curl --location --request PATCH 'https://nonprod.esb.cloud.lla.com/dev/dxp-ux/dxp-ux/v1/PR/billingAccount/31516278-31514752' \
--header 'X-Correlation-ID: 644e1dd7-2a7f-18fb-b8ed-ed78c3F92c2gk' \
--header 'client_id: abcd' \
--header 'client_secret: 12345' \
--header 'Content-Type: application/json' \
--data-raw '{
    "defaultPaymentMethod": {
        "@referredType": "Autopay",
        "id": "PM-a6Idq00000005FpEAI"
    },
    "extendedCharacteristic": [
        {
            "value": "Digital",
            "name": "sourceSystem"
        },
        {
            "value": "true",
            "name": "restrictOrder"
        },
        {
            "value": "9",
            "name": "autopayConsentTextVersion"
        }

    ],
    "relatedParty": [
        {
            "id": "12218008051",
            "@type": "msisdn"
        }
    ]
}'
Definitions
namevalue (length)descriptionrequired
defaultPaymentMethodobjectDetails of payment methodY
defaultPaymentMethod.@referredTypeStringtype of payment.
Allowed Values
To enable: Autopay
To disable: Non-Autopay
To change: ChangeAutopay
Y
defaultPaymentMethod.idString (30)unique identifier of payment typeY
extendedCharacteristicArraydetails of characteristicY
extendedCharacteristic.valueStringvalue of characteristicY*
extendedCharacteristic.nameStringname of characteristicY*
relatedPartyArraydetails of relatedPartyN
relatedParty.idString (20)id of relatedParty, Mobile Device numberN
relatedParty.@typeStringtype of relatedParty, expecting static value 'msisdn'N
extendedCharacteristic values
namevaluedescriptionrequired
sourceSystemstring (30)Source System information for tracking purpose: possible value IVR/DigitalY
restrictOrderbooleanRestrict the order submission if it is call center flowN
[ 200 ]

OK - updateBillingAccount request processed successfully, response body contains an entity corresponding to the requested resource.

Response
{
    "status": 200,
    "description": "Autopay change request received"
}
Definitions
namevaluedescriptionrequired
statusnumberstatus code of the responseN
descriptionstringstatus description of the responseN

Update billing address ( TMF666 PATCH)

Request to update billing address

URL
https://[localhost]:[port]/dxp-ux/v1/{businessId}/billingAccount/{id}

Base URI Parameter

URL PARAMS

nametypedescriptionrequired
businessIdstring2 letter ISO 3166 country code (PR) identifying the business unit.Y
idstringBilling Account Number.Y

Headers

namevaluedescriptionrequired
client_idstringThe client_id identifying the channel. Minimum characters: 5Y
client_secretstringPassword associated with the client_id. Minimum characters: 5Y
X-Correlation-IDstringAn identifier for the current call chain that can be used to tie together log entries on multiple layers (e.g. client, server, mainframe). This identifier must be designed to be unique across all applications.Note - Mule default behavior creates a sample x-correlation-id field if value is not passed from client, API will use this value in case value is not passed in API request
Pattern: ^[a-zA-Z0-9-+/=_]{16,64}$
Minimum characters: 16
Maximum characters: 64
Y
Request
curl --location --request PATCH 'https://nonprod.esb.cloud.lla.com/dev/dxp-ux/dxp-ux/v1/PR/billingAccount/21519514-21517998' \
--header 'X-Correlation-ID: 644e1dd7-2a7f-18fb-b8ed-ed78c3F92c2gk' \
--header 'client_id: xxx' \
--header 'client_secret: yyy' \
--header 'Content-Type: application/json' \
--data-raw '{
    "relatedParty": [
        {
            "id": "15468766786",
            "@type": "msisdn"
        },
        {
            "@type": "channel",
            "name": "Digital"
        }
    ],
    "contact": [
        {
            "contactMedium": [
                {
                    "characteristic": {
                        "emailAddress": "test@test.com",
                        "street1": "123 Calle Juan Pablo Duarte",
                        "stateOrProvince": "PR",
                        "postCode": "0907",
                        "country": "US",
                        "city": "San Juan"
                    },
                    "@referredType": "billingAccount"
                }
            ]
        }
    ]
}'
Definitions
namevalue (length)descriptionrequired
relatedPartyarrayrelated party array, refer below relatedParty table for more infoY
relatedParty.idstringunique identifier of related partyY*
relatedParty.@typestringtype of the related partyY*
relatedParty.namestringname of the related partyY*
contactArrayContact arrayY
contact.contactMediumArraydetails of contact mediumY
contact.contactMedium.charactersticObjectCharacterstic ObjectY
contact.contactMedium.characterstic.stateOrProvincestring (70)billing address state/provinceY*
contact.contactMedium.characterstic.citystring (70)billing address cityY*
contact.contactMedium.characterstic.emailAddressstring (50)required on requestType is EMAILY*
contact.contactMedium.characterstic.countrystring (70)billing address countryY*
contact.contactMedium.characterstic.street1string (70)billing address streetY*
contact.contactMedium.characterstic.postCodestring (30)billing address postal codeY*
contact.contactMedium.@referredTypestringtype of the account, status value like "billingAccount"N
relatedParty Values
namevalue (length)descriptionrequired
msisdnstring (20)related party arrayY
channelstring (20)Source System information for tracking purpose, Possible values IVR, DigitalY
[ 200 ]

OK - updateBillingAccount request processed successfully, response body contains an entity corresponding to the requested resource.

Response
{
    "status": 200,
    "description": "Email or Address change request received"
}
Definitions
namevaluedescriptionrequired
statusNumberstatus code of the responseN
descriptionstringstatus description of the responseN

Patch BillingAccount (TMF666) Update ebill flag

CASE 1 Unitary Test

Request to enable the ebill

URL
https://[localhost]:[port]/dxp-ux/v1/{businessId}/billingAccount/{id}

Base URI Parameter

URL PARAMS

nametypedescriptionrequired
businessIdstring2 letter ISO 3166 country code (PR, JM, PA, etc.) identifying the business unit.Y
idstringBilling Account Number.Y

Headers

namevaluedescriptionrequired
client_idstringThe client_id identifying the channel. Minimum characters: 5Y
client_secretstringPassword associated with the client_id. Minimum characters: 5Y
X-Correlation-IDstringAn identifier for the current call chain that can be used to tie together log entries on multiple layers (e.g. client, server, mainframe). This identifier must be designed to be unique across all applications.Note - Mule default behavior creates a sample x-correlation-id field if value is not passed from client, API will use this value in case value is not passed in API request
Pattern: ^[a-zA-Z0-9-+/=_]{16,64}$
Minimum characters: 16
Maximum characters: 64
Y
Request
curl --location --request PATCH 'https://nonprod.esb.cloud.lla.com/dev/dxp-ux/dxp-ux/v1/PR/billingAccount/21519514-21517998' \
--header 'X-Correlation-ID: 644e1dd7-2a7f-18fb-b8ed-ed78c3F92c2gk' \
--header 'client_id: xxx' \
--header 'client_secret: yyy' \
--header 'Content-Type: application/json' \
--data-raw '{
    "relatedParty": [
        {
            "id": "15468766786",
            "@type": "msisdn"
        },
        {
            "@type": "channel",
            "name": "Digital"
        }
    ],
    "billStructure": {
        "presentationMedia": [
            {
                "@type": "non-eBill"
            }
        ]
    }
}'
Definitions
namevaluedescriptionrequired
relatedPartyarrayrelated party arrayY
relatedParty.idstringunique identifier of related partyN
relatedParty.@typestringtype of the related partyY*
relatedParty.namestringname of the realted partyY*
billStructureObjectbill structure objectY
billStructure.presentationMediaArraydetails of presentation mediaY
billStructure.presentationMedia.@typeStringtype of bill subscriptionY
[ 200 ]

OK - updateBillingAccount request processed successfully, response body contains an entity corresponding to the requested resource.

Response
{
    "status": 200,
    "description": "Request to update the Ebill Flag received"
}
Definitions
namevaluedescriptionrequired
statusnumberstatus code of the responseN
descriptionstringstatus description of the responseN
[ 200 ] FIXED

OK - updateBillingAccount request processed successfully, response body contains an entity corresponding to the requested resource.

Request
{
    "billStructure": {
        "presentationMedia": [
            {
                "name": "email"
            }
        ]
    }
}
Response
{
    "id": "8211990010042315",
    "state": "acknowledged",
    "billStructure": {
        "presentationMedia": [
            {
                "name": "email"
            }
        ]
    }
}
FIXED Definitions
namevaluedescriptionrequired
idstringunique identifierY
statestringstate of the operationY
billStructureObjectbill structure objectY
billStructure.presentationMediaArraydetails of presentation media.Y
billStructure.presentationMedia.nameStringName of the referred entity.Possible values are
email
mail
Y

Get BillingAccountByServiceById

billingAccount/service/{id}

[GET]

This operation gets the account details based on service number for resources with operations that allow fetching of Account Details

URL
https://[localhost]:[port]/dxp-ux/v1/{businessId}/billingAccount/service/{id}
URL PARAMS
nametypedescriptionrequired
businessIdstring2 letter ISO 3166 country code (TT, BB, JM, PA, PR etc.) identifying the business unit. Expected one is "PR"-Puerto RicoY
idstringcustomer phone numberY
nametypedescriptionrequired
client_idstringThe client_id identifying the channel.Y
client_secretstringPassword associated with the client_id.Y
X-Correlation-IDstringAn identifier for the current call chain that can be used to tie together log entries on multiple layers (e.g. client, server, mainframe). This identifier must be designed to be unique across all applications. Note - Mule default behavior creates a sample x-correlation-id field if value is not passed from client, API will use this value in case value is not passed in API requestN It is mandatory for Business
channelIdstringExpected value 'APP'Y
lobenumThe Line of Business Identifier currently available are: FIXED PREPAID POSTPAIDN
Response [ 200 ]
LCPR Success Response

This is non-tmf response, which is used to retrieve the migration status from DynamoDB.

OK - request processed successfully, response body contains an entity corresponding to the requested resource.

{
  "subscriptionId": "165682573434",
  "accountType": "B2C",
  "state": "Active",
  "recurringFlag": false,
  "fraudFlag": false,
  "pin": "3472163402",
  "migrationStatus": "success",
  "salesforceAccountNumber": "169338844735",
  "migrationETA": "testing",
  "bssSourceSystem": "Anatares"
}
Possible response error

HTTP Status response is 400

with Response

[ 400 ]

Bad Request - the request could not be understood by the server due to malformed syntax. The client SHOULD NOT repeat the request without modifications.

{
    "errors": [
        {
            "code": 400,
            "message": "APIKIT:BAD_REQUEST",
            "description": "Invalid value 'M' for uri parameter businessId. M is not a valid enum value"
        }
    ]
}
[ 401 ]

Unauthorized - The request has not been applied because it lacks valid authentication credentials for the target resource.

{
  "errors" : [{
      "code" : 401,
      "message" : "The user could not be authenticated for this request.",
      "description" : "The request has not been applied because it lacks valid authentication credentials for the target resource"
    }]
}
[ 403 ]

Forbidden - Indicates that the server understood the request but refuses to fulfill it. If authentication credentials were provided in the request, the server considers them insufficient to grant access. The client SHOULD NOT automatically repeat the request with the same credentials. The client MAY repeat the request with new or different credentials.

[ 404 ]

Not Found - server has not found a resource with that URI. This may be temporary and permanent condition. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.

{
    "errors": [
        {
            "code": 404,
            "message": "DYNAMO_DB :Account details not found for serviceNumber: 7872000007",
            "description": "NOACCTSFOUND-No Accounts found"
        }
    ]
}
[ 405 ]

Method Not Allowed - HTTP method not allowed for this resource. The method specified in the Request-Line is not allowed for the resource identified by the Request-URI.

{
    "errors": [
        {
            "code": 405,
            "message": "APIKIT:METHOD_NOT_ALLOWED",
            "description": "HTTP Method post not allowed for : /{businessId}/billingAccount/service/{id}"
        }
    ]
}
[ 500 ]

Internal Server Error - server encountered an error processing request. This should not happen normally, but it is a generic error message, given when no more specific message is suitable.

{
"errors" : [{
"code" : 500,
"message" : "The request failed due to an internal error.",
"description": "error description"
}]
}
[ 501 ]

Check for the other BU Flows, if not implemented then throw a standard error message as below.

{
    "errors": [
        {
            "code": 501,
            "message": "NOT IMPLEMENTED",
            "description": "Operation GET /billingAccount/service/id for Business Id: JM not implemented"
        }
    ]
}
[ 503 ]

Service Unavailable

    {
    "errors": [
        {
            "code": 503,
            "message": "HTTP:SERVICE_UNAVAILABLE",
            "description": "HTTP POST on resource 'http://0.0.0.0:9091/nontmf-biz/v1/{businessId}/customerMigrationInfo?serviceNumber' failed: service unavailable (503)."
        }
    ]
}
Definitions
TMF 666
nametypedescriptionrequired
idstringUnique identifier of the accountN
hrefstringUnique reference of the accountN
accountTypestringA categorization of an account, such as individual, joint, and so forth, whose instances share some of the same characteristics. Note: for flexibility we use a String here but an implementation may use an enumeration with a limited list of valid valuesN
descriptionstringDetailed description of the party accountN
lastModifieddatetimeDate of last modification of the accountN
namestringName of the accountN
paymentStatusstringThe condition of the account, such as due, paid, in arrearsN
ratingTypestringIndicates whether the account follows a specific payment option such as prepaid or postpaidN
statestringContains the lifecycle state such as: Active, Closed, Suspended and so on.N
accountBalanceobject ArrayBalances linked to the accountN
accountBalance.balanceTypestringType of the balance ; deposit balance, disputed balance, loyalty balance, receivable balance...N
accountBalance.amountobjectBalance amountN
accountBalance.amount.unitstringCurrency (ISO4217 norm uses 3 letters to define the currency)N
accountBalance.amount.valuenumber, floatA positive floating point numberN
accountBalance.validForobject'A period of time, either as a deadline (endDateTime only) a startDateTime only, or bothN
accountBalance.validFor.endDateTimedatetimeEnd of the time period, using IETC-RFC-3339 formatN
accountBalance.validFor.startDateTimedatetimeStart of the time period, using IETC-RFC-3339 format. If you define a start, you must also define an endN
accountBalance.@baseTypestringWhen sub-classing, this defines the super-classN
accountBalance.@schemaLocationstringA URI to a JSON-Schema file that defines additional attributes and relationshipsN
accountBalance.@typestringWhen sub-classing, this defines the sub-class entity nameN
accountRelationshipobject ArraySignificant connection between accounts. For instance an aggregating account for a list of shop branches each having its own billing accountN
accountRelationship.relationshipTypestringType of relationship.N
accountRelationship.accountobject.An account may be a party account or a financial account.N
accountRelationship.account.idstringUnique identifier Id of the EntityDescriptionRef.N
accountRelationship.account.hrefstringUnique reference of the EntityDescriptionRefN
accountRelationship.account.descriptionstringDetailed description of the EntityDescriptionRefN
accountRelationship.account.namestringName of the account.N
accountRelationship.account.@baseTypestringWhen sub-classing, this defines the super-classN
accountRelationship.account.@schemaLocationstringA URI to a JSON-Schema file that defines additional attributes and relationshipsN
accountRelationship.account.@typestringWhen sub-classing, this defines the sub-class entity nameN
accountRelationship.account.@referredTypestringThe actual type of the target instance when needed for disambiguationN
accountRelationship.validForaccountBalance.validFor'A period of time, either as a deadline (endDateTime only) a startDateTime only, or bothN
accountRelationship.@baseTypestringWhen sub-classing, this defines the super-classN
accountRelationship.@schemaLocationstringA URI to a JSON-Schema file that defines additional attributes and relationshipsN
accountRelationship.@typestringWhen sub-classing, this defines the sub-class entity nameN
billStructureobjectThe structure of the bill for party accounts (billing or settlement).N
billStructure.cycleSpecificationobjectAn attachment by value or by reference.N
billStructure.cycleSpecification.idstringUnique identifier of the billing cycle specificationN
billStructure.cycleSpecification.hrefstringReference of the billing cycle specificationN
billStructure.cycleSpecification.billingDateShiftintegerAn offset of a billing/settlement date. The offset is expressed as number of days with regard to the start of the billing/settlement period.N
billStructure.cycleSpecification.billingPeriodstringA billing time period. It can be recurring, for example: week, month, quarter of year, year .N
billStructure.cycleSpecification.chargeDateOffsetintegerAn offset of a date through which charges previously received by the billing system will appear on the bill. The offset is expressed as number of days with regard to the start of the BillingPeriodN
billStructure.cycleSpecification.creditDateOffsetintegerAn offset of a date through which charges previously received by the billing system will appear on the bill. The offset is expressed as number of days with regard to the start of the BillingPeriodN
billStructure.cycleSpecification.dateShiftintegerAn offset of a billing/settlement date. The offset is expressed as number of days with regard to the start of the billing/settlement period.N
billStructure.cycleSpecification.descriptionstringAn explanation regarding this billing cycle specificationN
billStructure.cycleSpecification.frequencystringFrequency of the billing cycle (monthly for instance)N
billStructure.cycleSpecification.mailingDateOffsetintegerAn offset of a customer bill mailing date. The offset is expressed as number of days with regard to the start of the BillingPeriod.N
billStructure.cycleSpecification.namestringA short descriptive nameN
billStructure.cycleSpecification.paymentDueDateOffsetintegerAn offset of a payment due date. The offset is expressed as number of days with regard to the start of the BillingPeriod.N
billStructure.cycleSpecification.@baseTypestringWhen sub-classing, this defines the super-classN
billStructure.cycleSpecification.@schemaLocationstringA URI to a JSON-Schema file that defines additional attributes and relationshipsN
billStructure.cycleSpecification.@typestringWhen sub-classing, this defines the sub-class entity nameN
billStructure.cycleSpecification.@referredTypestringThe actual type of the target instance when needed for disambiguationN
billStructure.formataccountRelationship.accountAn attachment by value or by reference.N
billStructure.presentationMediaaccountRelationship.accountA list of bill presentation media ref or values
billStructure.@baseTypestringWhen sub-classing, this defines the super-classN
billStructure.@schemaLocationstringA URI to a JSON-Schema file that defines additional attributes and relationshipsN
billStructure.@typestringWhen sub-classing, this defines the sub-class entity nameN
contactobject ArrayAn individual or an organization used as a contact point for a given account and accessed via some contact medium.N
contact.contactNamestringA displayable name for that contactN
contact.contactTypestringType of contact (primary, secondary...)N
contact.partyRoleTypestringIdentifies what kind of party role type is linked to the contact (a account manager...)N
contact.contactMediumobject ArrayIndicates the contact medium that could be used to contact the party.N
contact.contactMedium.mediumTypestringType of the contact medium, such as: email address, telephone number, postal addressN
contact.contactMedium.preferredbooleanIf true, indicates that is the preferred contact mediumN
contact.contactMedium.characteristicobjectAny additional characteristic(s) of this contact mediumN
contact.contactMedium.characteristic.citystringCityN
contact.contactMedium.characteristic.contactTypestringThe type of contact, for example; phone number such as mobile, fixed home, fixed office. postal address such as shipping installationN
contact.contactMedium.characteristic.countrystringN
contact.contactMedium.characteristic.emailAddressstringFull email address in standard formatN
contact.contactMedium.characteristic.faxNumberstringThe fax number of the contactN
contact.contactMedium.characteristic.phoneNumberstringThe primary phone number of the contactN
contact.contactMedium.characteristic.postCodestringPostcodeN
contact.contactMedium.characteristic.socialNetworkIdstringIdentifier as a member of a social networkN
contact.contactMedium.characteristic.stateOrProvincestringState or provinceN
contact.contactMedium.characteristic.street1stringDescribes the streetN
contact.contactMedium.characteristic.street2stringComplementary street descriptionN
contact.contactMedium.characteristic..@baseTypestringWhen sub-classing, this defines the super-classN
contact.contactMedium.characteristic..@schemaLocationstringA URI to a JSON-Schema file that defines additional attributes and relationshipsN
contact.contactMedium.characteristic..@typestringWhen sub-classing, this defines the sub-class entity nameN
contact.contactMedium.characteristic.geoCodestringGeoCodeN
contact.contactMedium.validForaccountRelationship.validForN
contact.contactMedium.@baseTypestringWhen sub-classing, this defines the super-classN
contact.contactMedium.@schemaLocationstringA URI to a JSON-Schema file that defines additional attributes and relationshipsN
contact.contactMedium.@typestringWhen sub-classing, this defines the sub-class entity nameN
contact.relatedPartyrelatedPartyN
contact.validForaccountRelationship.validForN
contact.@baseTypestringWhen sub-classing, this defines the super-classN
contact.@schemaLocationstringA URI to a JSON-Schema file that defines additional attributes and relationshipsN
contact.@typestringWhen sub-classing, this defines the sub-class entity nameN
creditLimitobjectThe maximum amount of money that may be charged on an accountN
defaultPaymentMethodobjectN
defaultPaymentMethod.idstringUnique identifier Id of the EntityRef.N
defaultPaymentMethod.hrefstringUnique reference of the EntityRefN
defaultPaymentMethod.namestringName of the EntityRef.N
defaultPaymentMethod.@baseTypestringWhen sub-classing, this defines the super-classN
defaultPaymentMethod@schemaLocationstringA URI to a JSON-Schema file that defines additional attributes and relationshipsN
defaultPaymentMethod.@typestringWhen sub-classing, this defines the sub-class entity nameN
defaultPaymentMethod.@referredTypestringThe actual type of the target instance when needed for disambiguationN
financialAccountobjectAccountReceivable reference. An account of money owed by a party to another entity in exchange for goods or services that have been delivered or used. An account receivable aggregates the amounts of one or more party accounts (billing or settlement) owned by a given party.N
financialAccount.idstringUnique identifier Id of the EntityRef.N
financialAccount.hrefstringUnique reference of the EntityRefN
financialAccount.namestringName of the EntityRef.N
financialAccount.accountBalanceaccountBalancen
financialAccount.@baseTypestringWhen sub-classing, this defines the super-classN
financialAccount@schemaLocationstringA URI to a JSON-Schema file that defines additional attributes and relationshipsN
financialAccount.@typestringWhen sub-classing, this defines the sub-class entity nameN
financialAccount.@referredTypestringThe actual type of the target instance when needed for disambiguationN
paymentPlanobject ArrayDefines a plan for payment (when a party wants to spread his payments)N
paymentPlan.numberOfPaymentsintegerNumber of payments used to spread the global paymentN
paymentPlan.paymentFrequencystringFrequency of the payments, such as monthly and bimonthlyN
paymentPlan.planTypestringType of payment planN
paymentPlan.priorityintegerPriority of the payment planN
paymentPlan.statusstringStatus of the payment plan (effective, ineffective)N
paymentPlan.paymentMethoddefaultPaymentMethod
paymentPlan.totalAmountaccountBalance.amountAmount paid
paymentPlan.validForaccountRelationship.validFor
paymentPlan.@baseTypestringWhen sub-classing, this defines the super-classN
paymentPlan.@schemaLocationstringA URI to a JSON-Schema file that defines additional attributes and relationshipsN
paymentPlan.@typestringWhen sub-classing, this defines the sub-class entity nameN
characteristicobject ArrayDescribes a given characteristic of an object or entity through a name/value pair.N
characteristic.namestringName of the characteristicN
characteristic.valueTypestringData type of the value of the characteristicN
characteristic.valueanyThe value of the characteristicN
characteristic.@baseTypestringWhen sub-classing, this defines the super-classN
characteristic.@schemaLocationstringA URI to a JSON-Schema file that defines additional attributes and relationshipsN
characteristic.@typestringWhen sub-classing, this defines the sub-class entity nameN
relatedPartyobject ArrayN
relatedParty.idstringUnique identifier Id of the EntityRef.N
relatedParty.hrefstringUnique reference of the EntityRefN
relatedParty.namestringName of the EntityRef.N
relatedParty.rolerole played by the related party
relatedParty.@baseTypestringWhen sub-classing, this defines the super-classN
relatedParty@schemaLocationstringA URI to a JSON-Schema file that defines additional attributes and relationshipsN
relatedParty.@typestringWhen sub-classing, this defines the sub-class entity nameN
relatedParty.@referredTypestringThe actual type of the target instance when needed for disambiguation
taxExemptionobject ArrayProof of freedom from taxes imposed by a taxing jurisdiction.N
taxExemption.certificateNumberstringIdentifier of a document that shows proof of exemption from taxes for the taxing jurisdiction.N
taxExemption.issuingJurisdictionstringName of the taxing jurisdiction for which taxes are exempt.N
taxExemption.reasonstringReason of the tax exemptionN
taxExemption.validForaccountRelationship.validForN
taxExemption.@baseTypestringWhen sub-classing, this defines the super-classN
taxExemption.@schemaLocationstringA URI to a JSON-Schema file that defines additional attributes and relationshipsN
taxExemption.@typestringWhen sub-classing, this defines the sub-class entity nameN
@baseTypestringWhen sub-classing, this defines the super-classN
@schemaLocationstringA URI to a JSON-Schema file that defines additional attributes and relationshipsN
@typestringWhen sub-classing, this defines the sub-class entity nameN
fraudFlagbooleanfraud flag which indicates the flagN
recurringFlagbooleanrecurringFlag which indicates the caller frequencyN
pinstringpin of the deviceN
migrationStatusstringindicates the migration status of the customerN
salesforceAccountNumberstringassociated salesforce account numbeN
migrationETAstringETA of the migrationN
bssSourceSystemstringIf(migrationStatus == "In Progress" or "Failed" or "Success") "Anatares" else if("Not Started") ATT else ""N
subscriptionIdstringUnique identifier of the accountN
money.unitstringUnit of moneyN

Administration and data management

In this section you define all the transformations, temporary and final repositories of the data within the method flow.

Transformation Request

nontmf-biz
URL
http://0.0.0.0:9091/nontmf-api/v1/{businessId}/customerMigrationInfo?serviceNumber=XXXXXX
Headers
namevaluedescriptionrequired
X-Correlation-IDstringThis is a unique identifier for the current call chain that can be used to tie together log entries on multiple layers. Example: 644e1dd7-2a7f-18fb-b8ed-ed78c3F92c2bO
lobStringPREPAIDO
client_idstringClient Id value for Client Id Enforcement policy. Environment Specific Value. Eg:6f0ed16a7b494d76b2d60e05bc3b3332M
client_secretstringClient secret value for Client Id Enforcement policy. Environment Specific Value Eg: e4CD4D43449846aA9D8Cb9c43fAd324aM
channelIdstringChannel to identify the business group. Eg:APPO
QueryParameters
Original ParameterMulesofttransformation
serviceNumberattributes.uriParams.id

Services dependencies

This section defines all the connections to the web services and the methods that are used within the method.

nontmf-biz
MethodType
/customerMigrationInfoGET

Reviews