Standalone Billing Schedule Metadata Input

Input representation of the metadata details to create a billing schedule. This representation includes the name of the context definition and context mapping along with the mapping details of the transaction, billing schedule, and billing schedule group.

JSON Example 

1{
2  "transactionDetails": "{\"nodeName\": [{\"id\":\"001SG000004FvlGYAS\", \"businessSobjectType\": \"Account\", \"Quantity\":\"4\" , \"Name\": \"TestAccount\"}]}",
3  "transactionContextDetails": {
4    "contextDefinitionName": "StandaloneBillingContext",
5    "intraContextCustomMappingName": "CustomContextMapping",
6    "readContextMappingName": "OrderTransactionMapping",
7    "saveContextMappingName": "BSGEntitiesMapping"
8  }
9}

This example shows a sample request to generate billing schedules from order items by specifying the BillingContext standard context definition as the context definition name.

1{
2  "transactionDetails": "{\"nodeName\": [{\"id\":\"001SG000004FvlGYAS\", \"businessSobjectType\": \"Account\", \"Quantity\":\"4\" , \"Name\": \"TestAccount\"}]}",
3  "transactionContextDetails": {
4    "contextDefinitionName": "BillingContext__stdctx",
5    "readContextMappingName": "OrderEntitiesMapping",
6    "saveContextMappingName": "BSGEntitiesMapping"
7  }
8}

Properties 

NameTypeDescriptionRequired or OptionalAvailable Version
context​Definition​NameStringName of the context definition that’s used to hydrate the context to generate the billing schedule. To generate billing schedules from order items, specify the BillingContext standard context definition as the context definition name. Applicable from API version 66.0 and later.Required64.0
intraContext​CustomMapping​NameStringName of the cross-context custom mapping that’s used to map Billing fields to Transaction fields. Use this mapping to populate the Billing fields with the values stored in custom transaction fields.Optional65.0
readContext​Mapping​NameStringName of the context mapping with the mapping for the transaction.Required64.0
saveContext​Mapping​NameStringName of the context mapping with the mapping for the billing schedule and billing schedule group.Required64.0