Partially Update a Billing Account
/billingAccount/{id}
Request
-
id(required): string
The resource's ID.
-
fields: string
Specifies the comma-separated properties to include in the response.
- application/json-patch+json
- application/json
- application/merge-patch+json
- application/json-patch-query+json
array-
Array of:
object JsonPatch
A JSON Patch document as defined by RFC 6902.
object-
from: string
A string that contains a JSON Pointer value.
-
op(required): string
Allowed Values:
[ "add", "remove", "replace", "move", "copy", "test" ]The operation to perform. -
path(required): string
A JSON Pointer.
-
value:
The value to use in the operation.
array-
Array of:
object JsonPatch
A JSON Patch document as defined by RFC 6902.
object-
from: string
A string that contains a JSON Pointer value.
-
op(required): string
Allowed Values:
[ "add", "remove", "replace", "move", "copy", "test" ]The operation to perform. -
path(required): string
A JSON Pointer.
-
value:
The value to use in the operation.
-
allOf
PartyAccount_MVO
-
object
type
Represents a party account used for billing purposes. It includes a bill structure that defines frequency presentation media format. It specializes PartyAccount.
-
allOf
Account_MVO
-
object
PartyAccount_MVO-allOf[1]
Represents an account used for billing or settlement purposes for a party. Specializes Account.
-
object
allOf
Entity_MVO
Represents a base entity schema for TM Forum Open APIs.
-
object
Account_MVO-allOf[1]
Defines a generic account structure shared by PartyAccount, FinancialAccount, and other account types supported by the API.
object-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
object-
@baseType: string
The superclass.
-
@schemaLocation: string
The URI of a JSON Schema file that defines additional attributes and relationships.
-
@type(required): string
The subclass Extensible name.
object-
accountRelationship: array
accountRelationship
-
accountType: string
The account's category. Examples individual joint. For flexibility, the API uses a string, but implementations can use an enumeration with a limited list of valid values.
-
contact: array
contact
-
creditLimit: object
Money
Represents a monetary amount.
-
description: string
The account's detailed description.
-
name: string
The account's name.
- relatedParty: array relatedParty
-
state: string
Contains the lifecycle state such as: Active, Closed, Suspended and so on.
-
taxExemption: array
taxExemption
objectobjectobject-
unit: string
The currency's ISO 4217 three-letter code.
-
value: number
(double)
A signed floating-point number whose sign depends on the API context.
-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
AccountRelationship_MVO-allOf[1]
Represents a significant connection between accounts. For example, an aggregating account for a list of shop branches, each with its own billing account.
object-
account: object
AccountRef_MVO
Refers to an account. An account may be a party account or a financial account.
-
relationshipType: string
The relationship type.
object-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
Addressable
Defines a base schema for addressable entities.
-
object
EntityRef-allOf[2]
Represents an entity reference schema for EntityRef classes.
object-
href: string
The hyperlink reference.
-
id: string
The ID.
object-
@referredType: string
The actual type of the target instance when needed for disambiguation.
-
href: string
The URI of the referred entity.
-
id(required): string
The identifier of the referred entity.
-
name: string
The referred entity's name.
-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
Contact_MVO-allOf[1]
Represents an individual or organization that serves as an account contact through a contact medium.
object-
contactMedium: array
contactMedium
-
contactName: string
The contact's display name.
-
contactType: string
The contact type, for example primary secondary.
-
id: string
The contact's ID within the contact list.
-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
ContactMedium_MVO-allOf[1]
Indicates the contact medium that can contact the party.
object-
id: string
The contact medium's ID.
-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
RelatedPartyRefOrPartyRoleRef_MVO-allOf[1]
Refers to a related party or party role linked to a specific entity.
object-
partyOrPartyRole: object
Discriminator: @type
Discriminator:
{ "propertyName":"@type", "mapping":{ "PartyRef":"#/components/schemas/PartyRef_MVO", "PartyRoleRef":"#/components/schemas/PartyRoleRef_MVO" } } -
role: string
The related party or party role role for the linked entity. Examples initiator customer salesAgent user.
objectDiscriminator Values
-
object
PartyRef_MVO
Refers to a party.
-
PartyRoleRef_MVO
object-
allOf
EntityRef
-
object
PartyRoleRef_MVO-allOf[1]
Refers to a party role. A party role represents the part that a party plays in a context.
object-
partyId: string
The engaged party's ID.
-
partyName: string
The engaged party's name.
-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
TaxExemptionCertificate_MVO-allOf[1]
Represents a tax exemption certificate granted by a tax jurisdiction. Defines the exempt portion of each tax.
object-
certificateNumber: string
The ID of the document that proves a tax exemption for the taxing jurisdiction.
-
id: string
The tax exemption's ID within the exemption list.
-
issuingJurisdiction: string
The name of the jurisdiction that issued the exemption.Example:
USA -
reason: string
The reason for the tax exemption.
-
taxDefinition: array
taxDefinition
-
validFor: object
TimePeriod
Represents a time period with a start date, an end date, or both.
object-
endDateTime: string
(date-time)
The end of the time period in IETF RFC 3339 format.Example:
1985-04-12T23:20:50.52Z -
startDateTime: string
(date-time)
The start of the time period in IETF RFC 3339 format.Example:
1985-04-12T23:20:50.52Z
-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
TaxDefinition_MVO-allOf[1]
Refers to a tax definition. A tax jurisdiction levies the tax.
object-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
BillStructure_MVO-allOf[1]
Represents the bill structure for party accounts, including billing and settlement accounts.
object-
cycleSpecification: object
Discriminator: @type
Discriminator:
{ "propertyName":"@type", "mapping":{ "BillingCycleSpecification":"#/components/schemas/BillingCycleSpecification_MVO", "BillingCycleSpecificationRef":"#/components/schemas/BillingCycleSpecificationRef_MVO" } }The BillingCycleSpecification entity, not the BillingCycleSpecificationRefOrValue class, uses the polymorphic @type, @schemaLocation, and @referredType attributes. -
format: object
Discriminator: @type
Discriminator:
{ "propertyName":"@type", "mapping":{ "BillFormat":"#/components/schemas/BillFormat_MVO", "BillFormatRef":"#/components/schemas/BillFormatRef_MVO" } }The BillFormat entity, not the BillFormatRefOrValue class, uses the polymorphic @type, @schemaLocation, and @referredType attributes. -
presentationMedia: array
presentationMedia
objectDiscriminator Values
-
BillingCycleSpecification_MVO
-
object
BillingCycleSpecificationRef_MVO
Refers to a billing cycle specification. Describes when to initiate a billing cycle and its substeps.
objectDiscriminator Values
-
schema
-
object
BillFormatRef_MVO
Refers to a bill format. A bill format describes how a bill is presented.
array-
Array of:
object Discriminator: @type
Discriminator:
{ "propertyName":"@type", "mapping":{ "BillPresentationMedia":"#/components/schemas/BillPresentationMedia_MVO", "BillPresentationMediaRef":"#/components/schemas/BillPresentationMediaRef_MVO" } }The BillPresentationMedia entity, not the BillPresentationMediaRefOrValue class, uses the polymorphic @type, @schemaLocation, and @referredType attributes.
-
object
allOf
Entity_MVO
Represents a base entity schema for TM Forum Open APIs.
-
object
BillingCycleSpecification_MVO-allOf[1]
Describes when to initiate a billing cycle and its substeps.
objectobject-
billingDateShift: integer
The billing or settlement date offset, expressed in days from the start of the billing or settlement period.
-
description: string
The billing cycle specification's explanatory text.
-
frequency: string
The billing cycle frequency, for example monthly.
-
name: string
The billing cycle specification's short descriptive name.
-
paymentDueDateOffset: integer
The payment due date offset, expressed in days from the start of the billing period.
-
object
allOf
Entity_MVO
Represents a base entity schema for TM Forum Open APIs.
-
object
type
Represents a detailed description of how a bill is presented.
objectobject-
description: string
The bill format's explanatory text.
-
name: string
The bill format's short descriptive name.
objectDiscriminator Values
-
schema
-
object
BillPresentationMediaRef_MVO
Refers to bill presentation media. Bill presentation media represents a means of communicating a bill that the associated bill format supports. For example post mail email web page.
-
object
allOf
Entity_MVO
Represents a base entity schema for TM Forum Open APIs.
-
object
type
Represents a means of communicating a bill that the associated bill format supports. For example post mail email web page.
objectobject-
description: string
The bill presentation media's explanatory text.
-
name: string
The bill presentation media's short descriptive name.
-
allOf
PartyAccount_MVO
-
object
type
Represents a party account used for billing purposes. It includes a bill structure that defines frequency presentation media format. It specializes PartyAccount.
-
object
allOf
Entity
Represents a base entity schema for TM Forum Open APIs.
-
object
BillingAccountOracle_MVO-allOf[1]
Represents a party account used for billing purposes. It includes a bill structure that defines frequency presentation media format. It specializes PartyAccount.
-
allOf
Account_MVO
-
object
PartyAccount_MVO-allOf[1]
Represents an account used for billing or settlement purposes for a party. Specializes Account.
-
object
allOf
Entity_MVO
Represents a base entity schema for TM Forum Open APIs.
-
object
Account_MVO-allOf[1]
Defines a generic account structure shared by PartyAccount, FinancialAccount, and other account types supported by the API.
object-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
object-
@baseType: string
The superclass.
-
@schemaLocation: string
The URI of a JSON Schema file that defines additional attributes and relationships.
-
@type(required): string
The subclass Extensible name.
object-
accountRelationship: array
accountRelationship
-
accountType: string
The account's category. Examples individual joint. For flexibility, the API uses a string, but implementations can use an enumeration with a limited list of valid values.
-
contact: array
contact
-
creditLimit: object
Money
Represents a monetary amount.
-
description: string
The account's detailed description.
-
name: string
The account's name.
- relatedParty: array relatedParty
-
state: string
Contains the lifecycle state such as: Active, Closed, Suspended and so on.
-
taxExemption: array
taxExemption
objectobjectobject-
unit: string
The currency's ISO 4217 three-letter code.
-
value: number
(double)
A signed floating-point number whose sign depends on the API context.
-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
AccountRelationship_MVO-allOf[1]
Represents a significant connection between accounts. For example, an aggregating account for a list of shop branches, each with its own billing account.
object-
account: object
AccountRef_MVO
Refers to an account. An account may be a party account or a financial account.
-
relationshipType: string
The relationship type.
object-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
Addressable
Defines a base schema for addressable entities.
-
object
EntityRef-allOf[2]
Represents an entity reference schema for EntityRef classes.
object-
href: string
The hyperlink reference.
-
id: string
The ID.
object-
@referredType: string
The actual type of the target instance when needed for disambiguation.
-
href: string
The URI of the referred entity.
-
id(required): string
The identifier of the referred entity.
-
name: string
The referred entity's name.
-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
Contact_MVO-allOf[1]
Represents an individual or organization that serves as an account contact through a contact medium.
object-
contactMedium: array
contactMedium
-
contactName: string
The contact's display name.
-
contactType: string
The contact type, for example primary secondary.
-
id: string
The contact's ID within the contact list.
-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
ContactMedium_MVO-allOf[1]
Indicates the contact medium that can contact the party.
object-
id: string
The contact medium's ID.
-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
RelatedPartyRefOrPartyRoleRef_MVO-allOf[1]
Refers to a related party or party role linked to a specific entity.
object-
partyOrPartyRole: object
Discriminator: @type
Discriminator:
{ "propertyName":"@type", "mapping":{ "PartyRef":"#/components/schemas/PartyRef_MVO", "PartyRoleRef":"#/components/schemas/PartyRoleRef_MVO" } } -
role: string
The related party or party role role for the linked entity. Examples initiator customer salesAgent user.
objectDiscriminator Values
-
object
PartyRef_MVO
Refers to a party.
-
PartyRoleRef_MVO
object-
allOf
EntityRef
-
object
PartyRoleRef_MVO-allOf[1]
Refers to a party role. A party role represents the part that a party plays in a context.
object-
partyId: string
The engaged party's ID.
-
partyName: string
The engaged party's name.
-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
TaxExemptionCertificate_MVO-allOf[1]
Represents a tax exemption certificate granted by a tax jurisdiction. Defines the exempt portion of each tax.
object-
certificateNumber: string
The ID of the document that proves a tax exemption for the taxing jurisdiction.
-
id: string
The tax exemption's ID within the exemption list.
-
issuingJurisdiction: string
The name of the jurisdiction that issued the exemption.Example:
USA -
reason: string
The reason for the tax exemption.
-
taxDefinition: array
taxDefinition
-
validFor: object
TimePeriod
Represents a time period with a start date, an end date, or both.
object-
endDateTime: string
(date-time)
The end of the time period in IETF RFC 3339 format.Example:
1985-04-12T23:20:50.52Z -
startDateTime: string
(date-time)
The start of the time period in IETF RFC 3339 format.Example:
1985-04-12T23:20:50.52Z
-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
TaxDefinition_MVO-allOf[1]
Refers to a tax definition. A tax jurisdiction levies the tax.
object-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
BillStructure_MVO-allOf[1]
Represents the bill structure for party accounts, including billing and settlement accounts.
object-
cycleSpecification: object
Discriminator: @type
Discriminator:
{ "propertyName":"@type", "mapping":{ "BillingCycleSpecification":"#/components/schemas/BillingCycleSpecification_MVO", "BillingCycleSpecificationRef":"#/components/schemas/BillingCycleSpecificationRef_MVO" } }The BillingCycleSpecification entity, not the BillingCycleSpecificationRefOrValue class, uses the polymorphic @type, @schemaLocation, and @referredType attributes. -
format: object
Discriminator: @type
Discriminator:
{ "propertyName":"@type", "mapping":{ "BillFormat":"#/components/schemas/BillFormat_MVO", "BillFormatRef":"#/components/schemas/BillFormatRef_MVO" } }The BillFormat entity, not the BillFormatRefOrValue class, uses the polymorphic @type, @schemaLocation, and @referredType attributes. -
presentationMedia: array
presentationMedia
objectDiscriminator Values
-
BillingCycleSpecification_MVO
-
object
BillingCycleSpecificationRef_MVO
Refers to a billing cycle specification. Describes when to initiate a billing cycle and its substeps.
objectDiscriminator Values
-
schema
-
object
BillFormatRef_MVO
Refers to a bill format. A bill format describes how a bill is presented.
array-
Array of:
object Discriminator: @type
Discriminator:
{ "propertyName":"@type", "mapping":{ "BillPresentationMedia":"#/components/schemas/BillPresentationMedia_MVO", "BillPresentationMediaRef":"#/components/schemas/BillPresentationMediaRef_MVO" } }The BillPresentationMedia entity, not the BillPresentationMediaRefOrValue class, uses the polymorphic @type, @schemaLocation, and @referredType attributes.
-
object
allOf
Entity_MVO
Represents a base entity schema for TM Forum Open APIs.
-
object
BillingCycleSpecification_MVO-allOf[1]
Describes when to initiate a billing cycle and its substeps.
objectobject-
billingDateShift: integer
The billing or settlement date offset, expressed in days from the start of the billing or settlement period.
-
description: string
The billing cycle specification's explanatory text.
-
frequency: string
The billing cycle frequency, for example monthly.
-
name: string
The billing cycle specification's short descriptive name.
-
paymentDueDateOffset: integer
The payment due date offset, expressed in days from the start of the billing period.
-
object
allOf
Entity_MVO
Represents a base entity schema for TM Forum Open APIs.
-
object
type
Represents a detailed description of how a bill is presented.
objectobject-
description: string
The bill format's explanatory text.
-
name: string
The bill format's short descriptive name.
objectDiscriminator Values
-
schema
-
object
BillPresentationMediaRef_MVO
Refers to bill presentation media. Bill presentation media represents a means of communicating a bill that the associated bill format supports. For example post mail email web page.
-
object
allOf
Entity_MVO
Represents a base entity schema for TM Forum Open APIs.
-
object
type
Represents a means of communicating a bill that the associated bill format supports. For example post mail email web page.
objectobject-
description: string
The bill presentation media's explanatory text.
-
name: string
The bill presentation media's short descriptive name.
object-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
Addressable
Defines a base schema for addressable entities.
object-
accountNum: string
The account number.
-
accountRelationship: array
accountRelationship
-
accountType: string
Allowed Values:
[ "consumer", "business" ]The account's category. Examples individual joint. For flexibility, the API uses a string, but implementations can use an enumeration with a limited list of valid values. -
billStructure:
BillStructureOracle_MVO
-
contact: array
contact
-
currency: string
The currency's ISO 4217 three-letter code.
-
currencySecondary: string
The secondary currency's ISO 4217 three-letter code.
-
customerSegmentList: string
The customer segment list.
-
description: string
The account's detailed description.
-
glSegment: string
The GL segment value.
-
locale: string
The locale. Default value en_US.
-
name: string
The account's name.
-
serviceBillStructure: array
ServiceBillStructureOracle_MVO
Represents an array of bill structures.
-
state: string
Allowed Values:
[ "active", "inactive", "closed" ]The account's lifecycle state. Examples active inactive closed. -
taxExemption: array
taxExemption
-
vatCertificate: string
The resource's or account's VAT certificate.
-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
BillStructureOracle_MVO-allOf[1]
Represents an extended bill structure for Oracle implementation.
array-
allOf
AccountRelationship_MVO
-
object
AccountRelationshipOracle_MVO-allOf[1]
Represents a significant connection between accounts. For example, an aggregating account for a list of shop branches, each with its own billing account.
object-
account: object
account
Refers to an account. An account may be a party account or a financial account.
-
billStructure: object
billStructure
The child account's bill structure.
-
relationshipType: string
Allowed Values:
[ "Parent", "AR", "Subordinate", "Child" ]The relationship type.
object-
billStructure: object
billStructure
The account's bill structure.
-
id: string
The account's ID.
object-
id: string
The child account's bill structure ID.
object-
id: string
The parent account's bill structure ID.
-
name: string
The parent account's bill structure name.
object-
acctSuppressed: boolean
Specifies whether the account is suppressed. Accepted values true false.
-
actgType: string
Allowed Values:
[ "open_items", "balance_forward" ]The accounting type. Accepted values open_items balance_forward. -
balanceGroup: array
balanceGroup
-
billingSegment: string
The bill structure's billing segment.
-
businessProfileId: string
The business profile ID.
-
cycleSpecification: object
Discriminator: @type
Discriminator:
{ "propertyName":"@type", "mapping":{ "BillingCycleSpecification":"#/components/schemas/BillingCycleSpecificationOracle_MVO", "BillingCycleSpecificationRef":"#/components/schemas/BillingCycleSpecificationRef_MVO" } }The BillingCycleSpecification entity, not the BillingCycleSpecificationRefOrValue class, uses the polymorphic @type, @schemaLocation, and @referredType attributes. -
format: object
Discriminator: @type
Discriminator:
{ "propertyName":"@type", "mapping":{ "BillFormat":"#/components/schemas/BillFormat_MVO", "BillFormatRef":"#/components/schemas/BillFormatRef_MVO" } }The BillFormat entity, not the BillFormatRefOrValue class, uses the polymorphic @type, @schemaLocation, and @referredType attributes. -
id: string
The bill unit ID.
-
name: string
The bill unit's name.
-
presentationMedia: array
presentationMedia
objectDiscriminator Values
-
BillingCycleSpecificationOracle_MVO
-
object
BillingCycleSpecificationRef_MVO
Refers to a billing cycle specification. Describes when to initiate a billing cycle and its substeps.
array-
Array of:
object Discriminator: @type
Discriminator:
{ "propertyName":"@type", "mapping":{ "BillPresentationMedia":"#/components/schemas/BillPresentationMedia_MVO", "BillPresentationMediaRef":"#/components/schemas/BillPresentationMediaRef_MVO" } }The BillPresentationMedia entity, not the BillPresentationMediaRefOrValue class, uses the polymorphic @type, @schemaLocation, and @referredType attributes.
object-
id: string
The balance group's ID.
-
isDefault: boolean
Boolean value for default balance group.
-
limit: array
limit
-
name: string
The balance group's name.
-
rolledUpCreditLimit: number
(double)
The rolled-up credit limit.
-
rules: array
rules
-
tempLimit: array
tempLimit
object-
creditFloor: number
(double)
The credit floor.
-
creditLimit(required): number
(double)
The balance group's credit limit.
-
creditThreshold: number
(double)
The credit threshold.
-
dynamicCreditFloor: boolean
Specifies whether the credit floor is dynamic.
-
overrideCreditLimit: number
(double)
The overridden credit limit.
-
thresholds: array
thresholds
-
unit(required): string
The credit limit's unit.
object-
amount: number
(double)
The threshold's amount.
-
threshold: number
(double)
The threshold's value.
object-
consumptionRule(required): string
Allowed Values:
[ "EST", "LST", "EET", "LET", "ESTLET", "ESTEET", "LSTEET", "LSTLET", "EETEST", "EETLST", "LETEST", "LETLST" ]The consumption rule. -
unit(required): string
The consumption rule.'s unit.
object-
creditLimit(required): number
(double)
The credit limit.
-
recId: string
The record ID.
-
unit(required): string
The credit limit's unit.
-
validFrom: string
(date-time)
The start date.Example:
1985-04-12T23:20:50.52Z -
validFromDuration: object
validFromDuration
-
validTo: string
(date-time)
The end date.Example:
1985-04-12T23:20:50.52Z -
validToDuration: object
validToDuration
object-
offset: integer
(double)
The start date's offset.
-
unit: string
(date-time)
The start date's unit.Example:
1985-04-12T23:20:50.52Z
object-
offset: integer
(double)
The end date's offset.
-
unit: string
(date-time)
The end date's unit.Example:
1985-04-12T23:20:50.52Z
-
object
allOf
Entity_MVO
Represents a base entity schema for TM Forum Open APIs.
-
object
BillingCycleSpecificationOracle_MVO-allOf[1]
Describes when to initiate a billing cycle and its substeps.
object-
billingDateShift: integer
The billing or settlement date offset, expressed in days from the start of the billing or settlement period.
-
description: string
The billing cycle specification's explanatory text.
-
frequency: string
Allowed Values:
[ "monthly", "bi-monthly", "quarterly", "semiyearly", "yearly" ]The billing cycle frequency, for example monthly. -
name: string
The billing cycle specification's short descriptive name.
-
paymentDueDateOffset: integer
The payment due date offset, expressed in days from the start of the billing period.
-
validFor: object
TimePeriod
Represents a time period with a start date, an end date, or both.
-
object
ContactOracle_MVO-allOf[0]
Represents an individual or organization that serves as an account contact through a contact medium.
object-
contactMedium: array
contactMedium
-
contactName: string
The contact's name.
-
contactType: string
The contact type.
-
salutation: string
The contact's salutation.
-
object
ContactMediumOracle_MVO-allOf[0]
Indicates the contact medium that can contact the party.
object-
company: string
The associated company name.
-
geoCode: string
The address geographic code.
-
mediumType: string
Allowed Values:
[ "PostalAddress", "Phone", "Email", "Fax" ]The contact medium type. -
phoneType: string
Allowed Values:
[ "home", "work", "pager", "portable", "pop", "support" ]The phone type classification, for example home work fax.
-
allOf
TaxExemptionCertificate_MVO
-
object
TaxExemptionCertificateOracle_MVO-allOf[1]
Represents a tax exemption certificate granted by a tax jurisdiction. Defines the exempt portion of each tax.
object-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
TaxDefinitionOracle_MVO-allOf[1]
Refers to a tax definition. A tax jurisdiction levies the tax.
object-
percent: number
(double)
The tax percentage.
-
Type: string
Allowed Values:
[ "federal", "state", "country", "city", "secondary country", "secondary city", "territory", "secondary state", "district", "secondary federal", "country district", "city district", "other" ]The tax issuing jurisdiction.
Response
200 Response
-
allOf
PartyAccount
-
object
BillingAccount-allOf[1]
Represents a party account used for billing purposes. It includes a bill structure that defines frequency presentation media format. It specializes PartyAccount.
-
object
allOf
Entity
Represents a base entity schema for TM Forum Open APIs.
-
object
BillingAccountOracle-allOf[1]
Represents a party account used for billing purposes. It includes a bill structure that defines frequency presentation media format. It specializes PartyAccount.
-
allOf
Account
-
object
PartyAccount-allOf[1]
Represents an account used for billing or settlement purposes for a party. Specializes Account.
-
object
allOf
Entity
Represents a base entity schema for TM Forum Open APIs.
-
object
Account-allOf[1]
Defines a generic account structure shared by PartyAccount, FinancialAccount, and other account types supported by the API.
object-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
Addressable
Defines a base schema for addressable entities.
object-
@baseType: string
The superclass.
-
@schemaLocation: string
The URI of a JSON Schema file that defines additional attributes and relationships.
-
@type(required): string
The subclass Extensible name.
object-
href: string
The hyperlink reference.
-
id: string
The ID.
object-
accountBalance: array
accountBalance
-
accountRelationship: array
accountRelationship
-
accountType: string
The account's category. Examples individual joint. For flexibility, the API uses a string, but implementations can use an enumeration with a limited list of valid values.
-
contact: array
contact
-
creditLimit: object
Money
Represents a monetary amount.
-
description: string
The account's detailed description.
-
lastUpdate: string
(date-time)
The date and time when the system last updated the account.
-
name: string
The account's name.
- relatedParty: array relatedParty
-
state: string
Contains the lifecycle state such as: Active, Closed, Suspended and so on.
-
taxExemption: array
taxExemption
objectobject-
ratingType: string
The account's payment option, such as prepaid postpaid.
object-
unit: string
The currency's ISO 4217 three-letter code.
-
value: number
(double)
A signed floating-point number whose sign depends on the API context.
-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
AccountBalance-allOf[1]
Represents balances linked to an account.
object-
amount: object
Money
Represents a monetary amount.
-
balanceType: string
The balance's type, such as a deposit, disputed, loyalty, or receivable balance.
-
id: string
The balance's ID within the list of balances.
-
validFor: object
TimePeriod
Represents a time period with a start date, an end date, or both.
object-
endDateTime: string
(date-time)
The end of the time period in IETF RFC 3339 format.Example:
1985-04-12T23:20:50.52Z -
startDateTime: string
(date-time)
The start of the time period in IETF RFC 3339 format.Example:
1985-04-12T23:20:50.52Z
-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
AccountRelationship-allOf[1]
Represents a significant connection between accounts. For example, an aggregating account for a list of shop branches, each with its own billing account.
object-
account: object
AccountRef
Refers to an account. An account may be a party account or a financial account.
-
relationshipType: string
The relationship type.
object-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
Addressable
Defines a base schema for addressable entities.
-
object
EntityRef-allOf[2]
Represents an entity reference schema for EntityRef classes.
object-
@referredType: string
The actual type of the target instance when needed for disambiguation.
-
href: string
The URI of the referred entity.
-
id(required): string
The identifier of the referred entity.
-
name: string
The referred entity's name.
-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
Contact-allOf[1]
Represents an individual or organization that serves as an account contact through a contact medium.
object-
contactMedium: array
contactMedium
-
contactName: string
The contact's display name.
-
contactType: string
The contact type, for example primary secondary.
-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
ContactMedium-allOf[1]
Indicates the contact medium that can contact the party.
object-
id: string
The contact medium's ID.
-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
RelatedPartyRefOrPartyRoleRef-allOf[1]
Refers to a related party or party role linked to a specific entity.
object-
partyOrPartyRole: object
Discriminator: @type
Discriminator:
{ "propertyName":"@type", "mapping":{ "PartyRef":"#/components/schemas/PartyRef", "PartyRoleRef":"#/components/schemas/PartyRoleRef" } } -
role: string
The related party or party role role for the linked entity. Examples initiator customer salesAgent user.
objectDiscriminator Values
-
object
PartyRef
Refers to a party.
-
PartyRoleRef
-
allOf
EntityRef
-
object
PartyRoleRef-allOf[1]
Refers to a party role. A party role represents the part that a party plays in a context.
object-
partyId: string
The engaged party's ID.
-
partyName: string
The engaged party's name.
-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
TaxExemptionCertificate-allOf[1]
Represents a tax exemption certificate granted by a tax jurisdiction. Defines the exempt portion of each tax.
object-
attachment: object
Discriminator: @type
Discriminator:
{ "propertyName":"@type", "mapping":{ "Attachment":"#/components/schemas/Attachment", "AttachmentRef":"#/components/schemas/AttachmentRef" } }The Attachment entity, not the AttachmentRefOrValue class, uses the polymorphic @type, @schemaLocation, and @referredType attributes. -
certificateNumber: string
The ID of the document that proves a tax exemption for the taxing jurisdiction.
-
id: string
The tax exemption's ID within the exemption list.
-
issuingJurisdiction: string
The name of the jurisdiction that issued the exemption.Example:
USA -
reason: string
The reason for the tax exemption.
-
taxDefinition: array
taxDefinition
-
validFor: object
TimePeriod
Represents a time period with a start date, an end date, or both.
objectDiscriminator Values
-
object
allOf
Entity
Represents a base entity schema for TM Forum Open APIs.
-
object
Attachment-allOf[1]
Represents an attachment that complements an element's description, such as a product description, through videos or pictures.
-
allOf
EntityRef
-
object
AttachmentRef-allOf[1]
Represents an attachment reference. An attachment complements an element's description, such as a product description, through videos or pictures.
object-
attachmentType: string
The business characterization of the attachment's purpose, for example logo instructionManual contractCopy.
-
content: string
(base64)
The attachment's Base64-encoded content when embedded.
-
description: string
The attachment's description.Example:
Photograph of the Product -
mimeType: string
The technical characterization of the attachment content format using IETF MIME types.
-
name: string
The attachment's name.
-
size: object
Quantity
Represents an amount in a specified unit.
-
url: string
The URL of the attachment content.Example:
http://host/Content/4aafacbd-11ff-4dc8-b445-305f2215715f -
validFor: object
TimePeriod
Represents a time period with a start date, an end date, or both.
object-
amount: number
(double)
Default Value:
1The numeric value in the specified unit. -
units: string
The unit.
object-
description: string
The attachment's description.
-
url: string
The link to the attachment media or content.
-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
TaxDefinition-allOf[1]
Refers to a tax definition. A tax jurisdiction levies the tax.
object-
certificateNumber: string
The certificate number.
-
id: string
The tax's ID.
-
issuingJurisdiction: string
The tax issuing jurisdiction.
-
jurisdictionLevel: string
The level of the jurisdiction that levies the tax.Example:
Country -
jurisdictionName: string
The name of the jurisdiction that levies the tax.Example:
USA -
name: string
The tax's name.
-
percent: integer
The tax percentage.
-
reason: string
The tax reason.
-
taxType: string
The tax type.Example:
VAT -
validFor: object
TimePeriod
Represents a time period with a start date, an end date, or both.
-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
BillStructure-allOf[1]
Represents the bill structure for party accounts, including billing and settlement accounts.
object-
cycleSpecification: object
Discriminator: @type
Discriminator:
{ "propertyName":"@type", "mapping":{ "BillingCycleSpecification":"#/components/schemas/BillingCycleSpecification", "BillingCycleSpecificationRef":"#/components/schemas/BillingCycleSpecificationRef" } }The BillingCycleSpecification entity, not the BillingCycleSpecificationRefOrValue class, uses the polymorphic @type, @schemaLocation, and @referredType attributes. -
format: object
Discriminator: @type
Discriminator:
{ "propertyName":"@type", "mapping":{ "BillFormat":"#/components/schemas/BillFormat", "BillFormatRef":"#/components/schemas/BillFormatRef" } }The BillFormat entity, not the BillFormatRefOrValue class, uses the polymorphic @type, @schemaLocation, and @referredType attributes. -
presentationMedia: array
presentationMedia
objectDiscriminator Values
-
BillingCycleSpecification
-
object
BillingCycleSpecificationRef
Refers to a billing cycle specification. Describes when to initiate a billing cycle and its substeps.
objectDiscriminator Values
-
BillFormat
-
object
BillFormatRef
Refers to a bill format. A bill format describes how a bill is presented.
array-
Array of:
object Discriminator: @type
Discriminator:
{ "propertyName":"@type", "mapping":{ "BillPresentationMedia":"#/components/schemas/BillPresentationMedia", "BillPresentationMediaRef":"#/components/schemas/BillPresentationMediaRef" } }The BillPresentationMedia entity, not the BillPresentationMediaRefOrValue class, uses the polymorphic @type, @schemaLocation, and @referredType attributes.
-
object
allOf
Entity
Represents a base entity schema for TM Forum Open APIs.
-
object
BillingCycleSpecification-allOf[1]
Describes when to initiate a billing cycle and its substeps.
objectobject-
billingDateShift: integer
The billing or settlement date offset, expressed in days from the start of the billing or settlement period.
-
description: string
The billing cycle specification's explanatory text.
-
frequency: string
The billing cycle frequency, for example monthly.
-
name: string
The billing cycle specification's short descriptive name.
-
paymentDueDateOffset: integer
The payment due date offset, expressed in days from the start of the billing period.
-
object
allOf
Entity
Represents a base entity schema for TM Forum Open APIs.
-
object
BillFormat-allOf[1]
Represents a detailed description of how a bill is presented.
objectobject-
description: string
The bill format's explanatory text.
-
name: string
The bill format's short descriptive name.
objectDiscriminator Values
-
BillPresentationMedia
-
object
BillPresentationMediaRef
Refers to bill presentation media. Bill presentation media represents a means of communicating a bill that the associated bill format supports. For example post mail email web page.
-
object
allOf
Entity
Represents a base entity schema for TM Forum Open APIs.
-
object
BillPresentationMedia-allOf[1]
Represents a means of communicating a bill that the associated bill format supports. For example post mail email web page.
objectobject-
description: string
The bill presentation media's explanatory text.
-
name: string
The bill presentation media's short descriptive name.
object-
accountBalance: array
accountBalance
-
accountNum: string
The account number.
-
accountRelationship: array
accountRelationship
-
accountType: string
Allowed Values:
[ "unknown", "consumer", "business" ]The account's category. Examples individual joint. For flexibility, the API uses a string, but implementations can use an enumeration with a limited list of valid values. -
attribute: integer
The attribute.
-
billStructure: object
billStructure
-
brmAccountType: string
Allowed Values:
[ "standard", "brand" ]The BRM account type. Accepted values standard brand. -
contact: array
contact
-
currency: string
The currency's ISO 4217 three-letter code.
-
currencySecondary: string
The secondary currency's ISO 4217 three-letter code.
-
customerSegmentList: string
The customer segment list.
-
description: string
The account's detailed description.
-
glSegment: string
The GL segment value.
-
href: string
The hyperlink reference.
-
id: string
The ID.
-
locale: string
The locale. Default value en_US.
-
name: string
The account's name.
- relatedParty: array relatedParty
-
serviceBillStructure: array
ServiceBillStructureOracle
Represents an array of bill structures.
-
state: string
Allowed Values:
[ "active", "inactive", "closed" ]The account's lifecycle state. Examples active inactive closed. -
taxExemption: array
taxExemption
-
vatCertificate: string
The resource's or account's VAT certificate.
array-
allOf
AccountBalance
-
object
AccountBalanceOracle-allOf[1]
Balances linked to the account
object-
delayedBal: object
Money
Represents a monetary amount.
-
grantedBal: object
Money
Represents a monetary amount.
-
nextBal: object
Money
Represents a monetary amount.
-
allOf
AccountRelationship
-
object
AccountRelationshipOracle-allOf[1]
Represents a significant connection between accounts. For example, an aggregating account for a list of shop branches, each with its own billing account.
object-
account: object
account
Refers to an account. An account may be a party account or a financial account.
-
billStructure: object
billStructure
The child account's bill structure.
-
relationshipType: string
Allowed Values:
[ "AR", "Parent", "Subordinate", "Child" ]The relationship type.
object-
billStructure: object
billStructure
The account's bill structure.
-
id: string
The account's ID.
object-
id: string
The child account's bill structure ID.
-
name: string
The bill structure name of child account.
object-
id: string
The parent account's bill structure ID.
-
name: string
The parent account's bill structure name.
-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
BillStructureOracle-allOf[1]
Represents an extended bill structure for Oracle implementation.
object-
acctSuppressed: boolean
Specifies whether the account is suppressed. Accepted values true false.
-
actgType: string
Allowed Values:
[ "open_items", "balance_forward" ]The accounting type. Accepted values open_items balance_forward. -
balanceGroup: array
balanceGroup
-
billingSegment: string
The bill structure's billing segment.
-
businessProfileId: string
The business profile ID.
-
cycleSpecification: object
cycleSpecification
-
format: object
format
-
id: string
The bill unit ID.
-
name: string
The bill unit's name.
-
payType: string
Allowed Values:
[ "invoice", "credit_card", "direct_debit", "subordinate" ]The payment type. Accepted values invoice credit_card direct_debit subordinate. -
presentationMedia: array
presentationMedia
object-
object
Discriminator: @type
Discriminator:
{ "propertyName":"@type", "mapping":{ "BillingCycleSpecification":"#/components/schemas/BillingCycleSpecification", "BillingCycleSpecificationRef":"#/components/schemas/BillingCycleSpecificationRef" } }The BillingCycleSpecification entity, not the BillingCycleSpecificationRefOrValue class, uses the polymorphic @type, @schemaLocation, and @referredType attributes.
object-
object
Discriminator: @type
Discriminator:
{ "propertyName":"@type", "mapping":{ "BillFormat":"#/components/schemas/BillFormat", "BillFormatRef":"#/components/schemas/BillFormatRef" } }The BillFormat entity, not the BillFormatRefOrValue class, uses the polymorphic @type, @schemaLocation, and @referredType attributes.
array-
Array of:
object Discriminator: @type
Discriminator:
{ "propertyName":"@type", "mapping":{ "BillPresentationMedia":"#/components/schemas/BillPresentationMedia", "BillPresentationMediaRef":"#/components/schemas/BillPresentationMediaRef" } }The BillPresentationMedia entity, not the BillPresentationMediaRefOrValue class, uses the polymorphic @type, @schemaLocation, and @referredType attributes.
object-
balances: array
balances
-
id: string
The balance group's ID.
-
isDefault: boolean
Boolean value for default balance group.
-
limit: array
limit
-
name: string
The balance group's name.
-
rolledUpCreditLimit: number
(double)
description: The rolled-up credit limit.
-
rules: array
rules
-
services: array
services
-
tempLimit: array
tempLimit
object-
amount: object
Money
Represents a monetary amount.
-
grantedBal: object
Money
Represents a monetary amount.
-
outstandingAmount: object
Money
Represents a monetary amount.
-
totalAmount: object
Money
Represents a monetary amount.
object-
creditFloor: number
(double)
The credit floor.
-
creditLimit: number
(double)
The balance group's credit limit.
-
creditThreshold: number
(double)
The credit threshold
-
dynamicCreditFloor: boolean
Specifies whether the credit floor is dynamic.
-
fixedThreshold: string
The fixed credit threshold
-
overrideCreditLimit: number
(double)
The overridden credit limit.
-
thresholds: array
thresholds
-
unit: string
The credit limit's unit.
object-
amount: number
(double)
The threshold's amount.
-
threshold: number
(double)
The threshold's value.
object-
consumptionRule: string
Allowed Values:
[ "EST", "LST", "EET", "LET", "ESTLET", "ESTEET", "LSTEET", "LSTLET", "EETEST", "EETLST", "LETEST", "LETLST" ]The consumption rule. -
unit: string
The consumption rule.'s unit.
object-
id: string
The balance group's associated service ID.
object-
creditLimit: number
(double)
The credit limit.
-
recId: string
The record ID.
-
unit: string
The credit limit's unit.
-
validFrom: string
(date-time)
The start date.Example:
1985-04-12T23:20:50.52Z -
validFromDuration: object
validFromDuration
-
validTo: string
(date-time)
The end date.Example:
1985-04-12T23:20:50.52Z -
validToDuration: object
validToDuration
object-
offset: integer
(double)
The start date's offset.
-
unit: string
(date-time)
The start date's unit.Example:
1985-04-12T23:20:50.52Z
object-
offset: integer
(double)
The end date's offset.
-
unit: string
(date-time)
The end date's unit.Example:
1985-04-12T23:20:50.52Z
objectDiscriminator Values
-
BillingCycleSpecificationOracle
-
object
BillingCycleSpecificationRef
Refers to a billing cycle specification. Describes when to initiate a billing cycle and its substeps.
-
object
ContactOracle-allOf[0]
Represents account contacts accessed through contact media.
object-
contactMedium: array
contactMedium
-
contactName: string
The contact's name.
-
contactType: string
The contact type.
-
salutation: string
The contact's salutation.
-
object
ContactMediumOracle-allOf[0]
Indicates the contact medium that can contact the party.
object-
company: string
The associated company name.
-
geoCode: string
The address geographic code.
-
mediumType: string
Allowed Values:
[ "PostalAddress", "Phone", "Email", "Fax" ]The contact medium type. -
phoneType: string
Allowed Values:
[ "home", "work", "pager", "portable", "pop", "support" ]The phone type classification, for example home work fax.
-
object
allOf
TaxExemptionCertificateOracle-allOf[0]
Represents a tax exemption certificate granted by a tax jurisdiction. Defines the exempt portion of each tax.
object-
certificateNumber: string
The ID of the document that proves a tax exemption for the taxing jurisdiction.
-
id: string
The tax exemption's ID within the exemption list.
-
issuingJurisdiction: string
The name of the jurisdiction that issued the exemption.Example:
USA -
reason: string
The reason for the tax exemption.
-
taxDefinition: array
taxDefinition
-
validFor: object
TimePeriod
Represents a time period with a start date, an end date, or both.
-
object
allOf
Entity
Represents a base entity schema for TM Forum Open APIs.
202 Response
400 Response
-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
Error-allOf[1]
object-
@baseType: string
The superclass.
-
@schemaLocation: string
The URI of a JSON Schema file that defines additional attributes and relationships.
-
@type(required): string
The subclass Extensible name.
object-
code(required): string
The application-specific error detail defined by the API or a common list.
-
message: string
Provides error details and corrective actions for a client user.
-
reason(required): string
Explains the error to a client user.
-
referenceError: string
The URI of documentation that describes the error.
-
status: string
The HTTP error code extension.
401 Response
-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
Error-allOf[1]
object-
@baseType: string
The superclass.
-
@schemaLocation: string
The URI of a JSON Schema file that defines additional attributes and relationships.
-
@type(required): string
The subclass Extensible name.
object-
code(required): string
The application-specific error detail defined by the API or a common list.
-
message: string
Provides error details and corrective actions for a client user.
-
reason(required): string
Explains the error to a client user.
-
referenceError: string
The URI of documentation that describes the error.
-
status: string
The HTTP error code extension.
403 Response
-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
Error-allOf[1]
object-
@baseType: string
The superclass.
-
@schemaLocation: string
The URI of a JSON Schema file that defines additional attributes and relationships.
-
@type(required): string
The subclass Extensible name.
object-
code(required): string
The application-specific error detail defined by the API or a common list.
-
message: string
Provides error details and corrective actions for a client user.
-
reason(required): string
Explains the error to a client user.
-
referenceError: string
The URI of documentation that describes the error.
-
status: string
The HTTP error code extension.
404 Response
-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
Error-allOf[1]
object-
@baseType: string
The superclass.
-
@schemaLocation: string
The URI of a JSON Schema file that defines additional attributes and relationships.
-
@type(required): string
The subclass Extensible name.
object-
code(required): string
The application-specific error detail defined by the API or a common list.
-
message: string
Provides error details and corrective actions for a client user.
-
reason(required): string
Explains the error to a client user.
-
referenceError: string
The URI of documentation that describes the error.
-
status: string
The HTTP error code extension.
405 Response
-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
Error-allOf[1]
object-
@baseType: string
The superclass.
-
@schemaLocation: string
The URI of a JSON Schema file that defines additional attributes and relationships.
-
@type(required): string
The subclass Extensible name.
object-
code(required): string
The application-specific error detail defined by the API or a common list.
-
message: string
Provides error details and corrective actions for a client user.
-
reason(required): string
Explains the error to a client user.
-
referenceError: string
The URI of documentation that describes the error.
-
status: string
The HTTP error code extension.
409 Response
-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
Error-allOf[1]
object-
@baseType: string
The superclass.
-
@schemaLocation: string
The URI of a JSON Schema file that defines additional attributes and relationships.
-
@type(required): string
The subclass Extensible name.
object-
code(required): string
The application-specific error detail defined by the API or a common list.
-
message: string
Provides error details and corrective actions for a client user.
-
reason(required): string
Explains the error to a client user.
-
referenceError: string
The URI of documentation that describes the error.
-
status: string
The HTTP error code extension.
500 Response
-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
Error-allOf[1]
object-
@baseType: string
The superclass.
-
@schemaLocation: string
The URI of a JSON Schema file that defines additional attributes and relationships.
-
@type(required): string
The subclass Extensible name.
object-
code(required): string
The application-specific error detail defined by the API or a common list.
-
message: string
Provides error details and corrective actions for a client user.
-
reason(required): string
Explains the error to a client user.
-
referenceError: string
The URI of documentation that describes the error.
-
status: string
The HTTP error code extension.
501 Response
-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
Error-allOf[1]
object-
@baseType: string
The superclass.
-
@schemaLocation: string
The URI of a JSON Schema file that defines additional attributes and relationships.
-
@type(required): string
The subclass Extensible name.
object-
code(required): string
The application-specific error detail defined by the API or a common list.
-
message: string
Provides error details and corrective actions for a client user.
-
reason(required): string
Explains the error to a client user.
-
referenceError: string
The URI of documentation that describes the error.
-
status: string
The HTTP error code extension.
503 Response
-
object
Extensible
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
-
object
Error-allOf[1]
object-
@baseType: string
The superclass.
-
@schemaLocation: string
The URI of a JSON Schema file that defines additional attributes and relationships.
-
@type(required): string
The subclass Extensible name.
object-
code(required): string
The application-specific error detail defined by the API or a common list.
-
message: string
Provides error details and corrective actions for a client user.
-
reason(required): string
Explains the error to a client user.
-
referenceError: string
The URI of documentation that describes the error.
-
status: string
The HTTP error code extension.
Examples
Example 1: Update consumption rules
This example shows how to update the consumption rules for a billing account by submitting a PATCH request on the REST resource using cURL. For more information about cURL, see Use cURL.
The -d option specifies the sample request body file.
curl -X PATCH 'http://hostname:port/brm/accountManagement/v5/billingAccount/billing-account-post-rules' -H 'Content-Type: application/json' -d @patchBillingAccount1.json
Request Body
The following example shows the contents of the patchBillingAccount1.json file sent as the request body.
{
"billStructure": {
"@type": "BillStructure",
"balanceGroup": [
{
"isDefault": true,
"limit": [
{
"unit": "USD",
"creditLimit": 10000
}
],
"rules": [
{
"unit": "USD",
"consumptionRule": "EST"
}
],
"id": "0.0.0.1+-balance_group+165765"
}
],
"name": "BI_NAME405",
"format": {
"name": "Summary Invoice-test-id",
"id": "test3"
},
"cycleSpecification": {
"billingDateShift": 3,
"paymentDueDateOffset": 3,
"@type": "BillingCycleSpecification",
"name": "Annual billing-testid",
"id": "test4",
"frequency": "yearly"
},
"id": "billing-account-strucuture-post-rules",
"presentationMedia": [
{
"name": "Post Mail-1"
},
{
"name": "Electronic-1"
}
]
}
}
Response Body
If successful, the response code 200 is returned with the following response body.
{
"customerSegmentList": "",
"accountNum": "billing-account-post-rules",
"vatCertificate": "",
"@type": "BillingAccountOracle",
"billStructure": {
"@type": "BillStructureOracle",
"billingSegment": "0",
"balanceGroup": [
{
"isDefault": true,
"name": "",
"limit": [
{
"unit": "CAD",
"overrideCreditLimit": 0,
"creditFloor": null,
"dynamicCreditFloor": false,
"creditThreshold": 0
},
{
"unit": "USD",
"overrideCreditLimit": 0,
"creditLimit": 10000,
"creditFloor": null,
"dynamicCreditFloor": false,
"creditThreshold": 0
}
],
"rules": [
{
"unit": "CAD",
"consumptionRule": null
},
{
"unit": "USD",
"consumptionRule": "EST"
}
],
"id": "0.0.0.1+-balance_group+165765"
}
],
"name": "BI_NAME405",
"format": {
"@type": "BillFormat",
"name": "Summary Invoice-test-id",
"id": "test3",
"href": "https://host:port/brm/accountManagement/v5/billFormat/test3"
},
"cycleSpecification": {
"billingDateShift": 3,
"paymentDueDateOffset": 3,
"@type": "BillingCycleSpecificationOracle",
"name": "",
"id": "test4",
"href": "https://host:port/brm/accountManagement/v5/billingCycleSpecification/test4",
"frequency": "yearly"
},
"id": "billing-account-strucuture-post-rules",
"presentationMedia": [
{
"@type": "BillPresentationMedia",
"name": "Post Mail-1",
"id": "0.0.0.1+-config-bill_presentation_media+164027",
"href": "https://host:port/brm/accountManagement/v5/billPresentationMedia/0.0.0.1+-config-bill_presentation_media+164027"
},
{
"@type": "BillPresentationMedia",
"name": "Electronic-1",
"id": "0.0.0.1+-config-bill_presentation_media+166075",
"href": "https://host:port/brm/accountManagement/v5/billPresentationMedia/0.0.0.1+-config-bill_presentation_media+166075"
}
],
"acctSuppressed": false,
"businessProfileId": "0.0.0.0++0",
"actgType": "balance_forward"
},
"accountType": "consumer",
"brmAccountType": "standard",
"description": "This billing account represents the main household billing structure",
"glSegment": ".",
"relatedParty": [
{
"partyOrPartyRole": {
"@type": "PartyRefOrPartyRoleRef",
"name": "Related Party Name",
"partyName": "PartyName101",
"id": "9947",
"partyId": "PartyId101"
},
"role": "service provider",
"@type": "RelatedPartyRefOrPartyRoleRef"
},
{
"partyOrPartyRole": {
"@type": "PartyRefOrPartyRoleRef",
"name": "Related Party Name2",
"partyName": "",
"id": "9948",
"partyId": ""
},
"role": "service provider2",
"@type": "RelatedPartyRefOrPartyRoleRef"
}
],
"locale": "en_US",
"lastUpdate": "2018-01-01T08:00:00.00Z",
"contact": [
{
"contactMedium": [
{
"country": "France",
"stateOrProvince": "IN",
"city": "France",
"@type": "GeographicAddressContactMediumOracle",
"mediumType": "PostalAddress",
"geoCode": "IN",
"street1": "Rue des Canards",
"postCode": "75014",
"company": "IN",
"street2": "test2 blr"
},
{
"emailAddress": "test@oracle.com",
"@type": "EmailContactMedium",
"mediumType": "Email"
},
{
"phoneType": null,
"phoneNumber": "28412",
"@type": "PhoneContactMediumOracle",
"mediumType": "Phone"
},
{
"phoneType": "fax",
"@type": "FaxContactMedium",
"mediumType": "Fax",
"faxNumber": "141231112"
}
],
"@type": "ContactOracle",
"contactName": "John",
"contactType": "primary",
"salutation": ""
},
{
"contactMedium": [
{
"country": "France",
"stateOrProvince": "IN",
"city": "Paris",
"@type": "GeographicAddressContactMediumOracle",
"mediumType": "PostalAddress",
"street1": "Rue des Canards",
"postCode": "75014",
"company": "IN",
"street2": "test ind"
},
{
"emailAddress": "test@oracle.com",
"@type": "EmailContactMedium",
"mediumType": "Email"
},
{
"phoneType": "home",
"phoneNumber": "890128412",
"@type": "PhoneContactMediumOracle",
"mediumType": "Phone"
},
{
"phoneType": "home",
"phoneNumber": "890128412",
"@type": "PhoneContactMediumOracle",
"mediumType": "Phone"
}
],
"@type": "ContactOracle",
"contactName": "Rachel Douglas",
"contactType": "secondary",
"salutation": ""
}
],
"name": "Home Account",
"currencySecondary": "",
"currency": "USD",
"state": "active",
"id": "billing-account-post-rules",
"href": "https://host:port/brm/accountManagement/v5/billingAccount/billing-account-post-rules",
"attribute": 0
}
Example 2: Add an account relationship
This example shows how to add an account relationship to a billing account by submitting a PATCH request on the REST resource using cURL. For more information about cURL, see Use cURL.
The -d option specifies the sample request body file.
curl -X PATCH 'http://hostname:port/brm/accountManagement/v5/billingAccount/0.0.0.1+-account+234351' -H 'Content-Type: application/json' -d @patchBillingAccount2.json
Request Body
The following example shows the contents of the patchBillingAccount2.json file sent as the request body.
{
"accountRelationship": [
{
"relationshipType": "Parent",
"billStructure": {
"name": "childBill"
},
"account": {
"id": "0.0.0.1+-account+233565",
"billStructure": {
"id": "0.0.0.1+-bill_structure+237149"
}
}
},
{
"relationshipType": "AR",
"billStructure": {
"name": "childBill"
},
"account": {
"id": "0.0.0.1+-account+233565",
"billStructure": {
"id": "0.0.0.1+-bill_structure+237149"
}
}
}
]
}
Response Body
If successful, the response code 200 is returned with the following response body.
{
"vatCertificate": "",
"name": "Home Account",
"@type": "BillingAccount",
"billStructure": {
"id": "0.0.0.1+-bill_structure+236783",
"name": "childBill",
"businessProfileId": "0.0.0.0++0",
"actgType": "balance_forward",
"billingSegment": "0",
"@type": "BillStructure",
"format": {
"id": "0.0.0.1+-config-bill_format+226556",
"href": "https://host:port/brm/accountManagement/v5/billFormat/0.0.0.1+-config-bill_format+226556",
"name": "Summary Invoice-test-id",
"@type": "BillFormat"
},
"acctSuppressed": false,
"cycleSpecification": {
"id": "0.0.0.1+-config-bill_cycle_specification+237469",
"href": "https://host:port/brm/accountManagement/v5/billingCycleSpecification/0.0.0.1+-config-bill_cycle_specification+237469",
"name": "Annual billing-testid",
"@type": "BillingCycleSpecification",
"billingDateShift": 3,
"paymentDueDateOffset": 3,
"frequency": "yearly"
},
"balanceGroup": [
{
"id": "0.0.0.1+-balance_group+236271",
"name": "",
"rules": [
{
"unit": "USD",
"consumptionRule": null
}
],
"isDefault": true,
"limit": [
{
"unit": "USD",
"dynamicCreditFloor": false,
"creditFloor": null,
"overrideCreditLimit": 0.0,
"creditThreshold": 0.0,
"creditLimit": 10000.0
}
]
},
{
"id": "0.0.0.1+-balance_group+235247",
"name": "",
"rules": [
{
"unit": "CAD",
"consumptionRule": null
},
{
"unit": "USD",
"consumptionRule": null
},
{
"unit": "YES",
"consumptionRule": null
}
],
"limit": [
{
"unit": "CAD",
"dynamicCreditFloor": false,
"creditFloor": -500.0,
"overrideCreditLimit": 0.0,
"creditThreshold": 0.0,
"creditLimit": 1000.0
},
{
"unit": "USD",
"dynamicCreditFloor": false,
"creditFloor": null,
"overrideCreditLimit": 0.0,
"creditThreshold": 0.0,
"creditLimit": 1000.0
},
{
"unit": "YES",
"dynamicCreditFloor": false,
"creditFloor": null,
"overrideCreditLimit": 0.0,
"creditThreshold": 0.0,
"creditLimit": 10000.0
}
]
}
],
"presentationMedia": [
{
"id": "0.0.0.1+-config-bill_presentation_media+9229",
"href": "https://host:port/brm/accountManagement/v5/billPresentationMedia/0.0.0.1+-config-bill_presentation_media+9229",
"name": "Post Mail",
"@type": "BillPresentationMedia"
},
{
"id": "0.0.0.1+-config-bill_presentation_media+9102",
"href": "https://host:port/brm/accountManagement/v5/billPresentationMedia/0.0.0.1+-config-bill_presentation_media+9102",
"name": "Electronic",
"@type": "BillPresentationMedia"
}
]
},
"accountRelationship": [
{
"@type": "AccountRelationship",
"billStructure": {
"id": "0.0.0.1+-bill_structure+236783",
"name": "childBill"
},
"relationshipType": "AR",
"account": {
"id": "0.0.0.1+-account+233565",
"billStructure": {
"id": "0.0.0.1+-bill_structure+237149",
"name": "parentBill"
}
}
},
{
"@type": "AccountRelationship",
"billStructure": {
"id": "0.0.0.1+-bill_structure+236783",
"name": "childBill"
},
"relationshipType": "Parent",
"account": {
"id": "0.0.0.1+-account+233565",
"billStructure": {
"id": "0.0.0.1+-bill_structure+237149",
"name": "parentBill"
}
}
}
],
"glSegment": ".",
"description": "This billing account represents the main household billing structure",
"accountType": "consumer",
"state": "active",
"relatedParty": [
{
"partyOrPartyRole": {
"id": "0.0.0.1+-profile-related_party+234991",
"name": "Related Party Name",
"partyName": "PartyName101",
"@type": "PartyRefOrPartyRoleRef",
"partyId": "PartyId101"
},
"@type": "RelatedPartyRefOrPartyRoleRef",
"role": "service provider"
},
{
"partyOrPartyRole": {
"id": "0.0.0.1+-profile-related_party+237039",
"name": "Related Party Name2",
"partyName": "",
"@type": "PartyRefOrPartyRoleRef",
"partyId": ""
},
"@type": "RelatedPartyRefOrPartyRoleRef",
"role": "service provider2"
}
],
"id": "0.0.0.1+-account+234351",
"href": "https://host:port/brm/accountManagement/v5/billingAccount/0.0.0.1+-account+234351",
"lastUpdate": "2018-01-15T00:00:00.00Z",
"brmAccountType": "standard",
"currencySecondary": "",
"attribute": 0,
"accountNum": "0.0.0.1-234351",
"contact": [
{
"contactMedium": [
{
"stateOrProvince": "IN",
"@type": "GeographicAddressContactMedium",
"mediumType": "PostalAddress",
"country": "France",
"city": "France",
"street1": "Rue des Canards test2 blr",
"postCode": "75014",
"company": "IN",
"geoCode": "IN"
},
{
"@type": "EmailContactMedium",
"emailAddress": "test@oracle.com",
"mediumType": "Email"
},
{
"phoneType": null,
"@type": "PhoneContactMedium",
"phoneNumber": "28412",
"mediumType": "Phone"
},
{
"phoneType": "fax",
"@type": "FaxContactMedium",
"faxNumber": "141231112",
"mediumType": "Fax"
}
],
"@type": "Contact",
"contactType": "primary",
"contactName": "child-billunit",
"salutation": ""
}
],
"customerSegmentList": "",
"locale": "en_US",
"currency": "USD"
}