Get Child Bill Units

get

/bcws/webresources/v1.0/billunits/childs/{id}

Gets the child bill units of the bill unit with the specified ID.

Request

Path Parameters
Query Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

The child bill units were returned successfully.
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : schema
Type: object
An account.
Show Source
Nested Schema : ResourceRef
Type: object
Show Source
Nested Schema : billUnit
Type: array
A bill unit.
Show Source
Nested Schema : contacts
Type: array
An account's contact information.
Show Source
Nested Schema : extension
Type: object
The extended attributes.
Nested Schema : Wallet
Type: object
Show Source
Nested Schema : schema
Type: object
A bill unit.
Show Source
Nested Schema : balanceGroups
Type: array
Show Source
Nested Schema : extension
Type: object
The extended attributes.
Nested Schema : PaymentMethod
Type: object
Show Source
Nested Schema : BalanceGroup
Type: object
Show Source
Nested Schema : balances
Type: array
The list of balances associated with the balance group.
Show Source
Nested Schema : extension
Type: object
The extended attributes.
Nested Schema : services
Type: array
Show Source
Nested Schema : Balances
Type: object
The list of balances associated with the balance group.
Show Source
Nested Schema : subBalances
Type: array
Show Source
Nested Schema : tempCreditLimit
Type: array
Show Source
Nested Schema : SubBalances
Type: object
Show Source
Nested Schema : extension
Type: object
The extended attributes.
Nested Schema : TempCreditLimit
Type: object
Show Source
Nested Schema : extension
Type: object
The extended attributes.
Nested Schema : ServiceType
Type: object
Show Source
Nested Schema : aliasList
Type: array
The list of aliases associated with the service.
Show Source
Nested Schema : extension
Type: object
The extended attributes.
Nested Schema : AliasList
Type: object
The list of aliases associated with the service.
Show Source
Nested Schema : CreditCardType
Type: object
Show Source
Nested Schema : DirectDebitType
Type: object
Show Source
Nested Schema : extension
Type: object
The extended attributes.
Nested Schema : InvoiceType
Type: object
Show Source
Nested Schema : SepaType
Type: object
Show Source
Nested Schema : CreditCardTypeDetails
Type: object
Show Source
Nested Schema : extension
Type: object
The extended attributes.
Nested Schema : DebitCardTypeDetails
Type: object
Show Source
Nested Schema : extension
Type: object
The extended attributes.
Nested Schema : InvoiceTypeDetails
Type: object
Show Source
Nested Schema : extension
Type: object
The extended attributes.
Nested Schema : SepaTypeDetails
Type: object
Show Source
Nested Schema : extension
Type: object
The extended attributes.
Nested Schema : DebtorInfoDetails
Type: object
Show Source
Nested Schema : contacts
Type: object
An account's contact information.
Show Source
Nested Schema : phonenumbers
Type: array
The list of associated phone numbers.
Show Source
Nested Schema : Phonenumbers
Type: object
The list of the account's phone numbers.
Show Source
Nested Schema : extension
Type: object
The extended attributes.
Nested Schema : paymentInstrument
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : name
Type: object
Show Source
Nested Schema : PaymentInstrumentType
Type: object
Show Source
Nested Schema : extension
Type: object
The extended attributes.

500 Response

An internal server error occurred.
Back to Top

Examples

This example shows how to get child bill units by submitting a GET request on the REST resource using cURL. For more information about cURL, see "Use cURL".

cURL Command

curl -X GET 'http://hostname:port/bcws/webresources/version/billunits/childs/0.0.0.1+-billinfo+172721'

where:

  • hostname is the URL for the Billing Care REST server.
  • port is the port for the Billing Care REST server.
  • version is the version of the API you're using, such as v1.0.

Example of Response Body

This example shows the contents of the response body in JSON format.
{
   "extension":null,
   "account":[
      {
         "extension":null,
         "id":"0.0.0.1+-account+175089",
         "creationDate":null,
         "pendingDeferredActionsCount":null,
         "customerDurationDays":0,
         "customerDurationYears":null,
         "accountNumber":"0.0.0.1-175089",
         "accountFirstName":"child_2",
         "accountLastName":"child_2",
         "securityCode1":null,
         "securityCode2":null,
         "currency":0,
         "currencySecondary":null,
         "locale":null,
         "balanceGroupRef":null,
         "customerTypeCode":null,
         "organizationHierarchyTypeCode":null,
         "businessType":null,
         "parentRef":null,
         "contacts":[
            
         ],
         "statusCode":null,
         "timezoneId":null,
         "wallet":null,
         "billUnit":[
            {
               "extension":null,
               "id":"0.0.0.1+-billinfo+172041",
               "name":"Bill Unit(1)",
               "rollUp":null,
               "accountRef":null,
               "accountingCycleDom":null,
               "accountingType":null,
               "balanceGroups":[
                  
               ],
               "paymentInstrumentRef":null,
               "currency":0,
               "currencySecondary":null,
               "status":null,
               "arBillUnitRef":null,
               "parentBillUnitName":null,
               "parentAccountId":null,
               "parentFirstName":null,
               "parentLastName":null,
               "parentCompanyName":null,
               "parentSalutation":null,
               "parentAccountNumber":null,
               "invoiceTemplate":null,
               "businessProfile":null,
               "wholesaleBilling":null,
               "correctiveInvoiceType":null,
               "lastModified":null,
               "creationDate":null,
               "accountingCyclesUntilBillCycleEnds":null,
               "billForCurrentCycleRef":null,
               "defaultBillUnit":null,
               "parentBillUnit":null,
               "billingFrequencyInMonths":null,
               "accountingCycleStart":null,
               "accountingCycleEnd":null,
               "lastActualBillRef":null,
               "lastActualBillDate":null,
               "lastBillFromBillingRef":null,
               "billingCycleStart":null,
               "billingCycleEnd":null,
               "segment":null,
               "daysInBillCycle":null,
               "daysRemainingInBillCycle":null,
               "exemptFromCollections":null,
               "scenarioRef":null,
               "numSuppressedCycles":null,
               "suppressed":null,
               "suppressionCyclesLeft":null,
               "collectionDate":null,
               "paymentInstrumentName":null,
               "collectionDetailsRef":null,
               "inCollections":null,
               "paymentMethod":null,
               "paymentType":null,
               "totalChildAccounts":null
            }
         ]
      },
      {
         "extension":null,
         "id":"0.0.0.1+-account+176083",
         "creationDate":null,
         "pendingDeferredActionsCount":null,
         "customerDurationDays":0,
         "customerDurationYears":null,
         "accountNumber":"0.0.0.1-176083",
         "accountFirstName":"child_1",
         "accountLastName":"child_1",
         "securityCode1":null,
         "securityCode2":null,
         "currency":0,
         "currencySecondary":null,
         "locale":null,
         "balanceGroupRef":null,
         "customerTypeCode":null,
         "organizationHierarchyTypeCode":null,
         "businessType":null,
         "parentRef":null,
         "contacts":[
            
         ],
         "statusCode":null,
         "timezoneId":null,
         "wallet":null,
         "billUnit":[
            {
               "extension":null,
               "id":"0.0.0.1+-billinfo+173107",
               "name":"Bill Unit(1)",
               "rollUp":null,
               "accountRef":null,
               "accountingCycleDom":null,
               "accountingType":null,
               "balanceGroups":[
                  
               ],
               "paymentInstrumentRef":null,
               "currency":0,
               "currencySecondary":null,
               "status":null,
               "arBillUnitRef":null,
               "parentBillUnitName":null,
               "parentAccountId":null,
               "parentFirstName":null,
               "parentLastName":null,
               "parentCompanyName":null,
               "parentSalutation":null,
               "parentAccountNumber":null,
               "invoiceTemplate":null,
               "businessProfile":null,
               "wholesaleBilling":null,
               "correctiveInvoiceType":null,
               "lastModified":null,
               "creationDate":null,
               "accountingCyclesUntilBillCycleEnds":null,
               "billForCurrentCycleRef":null,
               "defaultBillUnit":null,
               "parentBillUnit":null,
               "billingFrequencyInMonths":null,
               "accountingCycleStart":null,
               "accountingCycleEnd":null,
               "lastActualBillRef":null,
               "lastActualBillDate":null,
               "lastBillFromBillingRef":null,
               "billingCycleStart":null,
               "billingCycleEnd":null,
               "segment":null,
               "daysInBillCycle":null,
               "daysRemainingInBillCycle":null,
               "exemptFromCollections":null,
               "scenarioRef":null,
               "numSuppressedCycles":null,
               "suppressed":null,
               "suppressionCyclesLeft":null,
               "collectionDate":null,
               "paymentInstrumentName":null,
               "collectionDetailsRef":null,
               "inCollections":null,
               "paymentMethod":null,
               "paymentType":null,
               "totalChildAccounts":null
            }
         ]
      }
   ],
   "numberOfChildren":2
}
Back to Top