Create Configuration Object

post

/pdc/config

Creates the configuration object using the criteria provided in the request body.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : attributeSpecMaps
Type: array
Show Source
Nested Schema : balanceElements
Type: array
Show Source
Nested Schema : businessProfiles
Type: array
Show Source
Nested Schema : customAnalyzerRules
Type: array
Show Source
Nested Schema : deliverables
Type: array
Show Source
Nested Schema : dynamicQuotaSelectors
Type: array
Show Source
Nested Schema : geoZoneModel
Type: array
Show Source
Nested Schema : holidayCalendar
Type: array
Show Source
Nested Schema : itemTypeSelectors
Type: array
Show Source
Nested Schema : policyLabels
Type: array
Show Source
Nested Schema : policySpecifications
Type: array
Show Source
Nested Schema : priceTagConfigs
Type: array
Show Source
Nested Schema : productSpecCharacteristicTemplates
Type: array
Show Source
Nested Schema : rumConfigurations
Type: array
Show Source
Nested Schema : standardZoneModel
Type: array
Show Source
Nested Schema : taxCodes
Type: array
Show Source
Nested Schema : taxExemptionCodes
Type: array
Show Source
Nested Schema : valueMap
Type: array
Show Source
Nested Schema : zoneResultConfiguration
Type: array
Show Source
Nested Schema : AttributeSpecMapJXB
Type: object
Show Source
Nested Schema : eventRUMSpec
Type: array
Show Source
Nested Schema : EventRUMSpecJXB
Type: object
Show Source
Nested Schema : rumSpec
Type: array
Show Source
Nested Schema : RUMSpecJXB
Type: object
Show Source
Nested Schema : ARumExpressionJXB
Type: object
Show Source
Nested Schema : BinaryRUMExpressionJXB
Type: object
Show Source
Nested Schema : EventFieldExpressionJXB
Type: object
Show Source
Nested Schema : NumericRumExpressionJXB
Type: object
Show Source
Nested Schema : BalanceElementJXB
Type: object
Show Source
Nested Schema : roundingRules
Type: array
Show Source
Nested Schema : RoundingRuleJXB
Type: object
Show Source
Nested Schema : BusinessProfileJXB
Type: object
Show Source
Nested Schema : businessProfileItems
Type: array
Show Source
Nested Schema : businessProfileRules
Type: array
Show Source
Nested Schema : BusinessProfileItemJXB
Type: object
Show Source
Nested Schema : BusinessProfileRuleJXB
Type: object
Show Source
Nested Schema : CustomAnalyzerRuleJXB
Type: object
Show Source
Nested Schema : CustomRuleExpressionJXB
Type: object
Show Source
Nested Schema : customRuleScopes
Type: array
Show Source
Nested Schema : ComplexCRExpressionJXB
Type: object
Show Source
Nested Schema : DynamicFieldCRExpressionJXB
Type: object
Show Source
Nested Schema : FieldToFieldCRExpressionJXB
Type: object
Show Source
Nested Schema : FieldToValueCRExpressionJXB
Type: object
Show Source
Nested Schema : FieldIdentifierJXB
Type: object
Show Source
Nested Schema : FieldSelectorJXB
Type: object
Show Source
Nested Schema : CustomRuleScopeJXB
Type: object
Show Source
Nested Schema : DeliverableJXB
Type: object
Show Source
Nested Schema : EntitlementJXB
Type: object
Show Source
Nested Schema : RevenueBasisItemJXB
Type: object
Show Source
Nested Schema : DynamicQuotaSelectorJXB
Type: object
Show Source
Nested Schema : validityPeriod
Type: array
Show Source
Nested Schema : ValidityPeriodJXB
Type: object
Show Source
Nested Schema : RuleJXB
Type: object
Show Source
Nested Schema : rule
Type: array
Show Source
Nested Schema : configuration
Type: array
Show Source
Nested Schema : dynamicQuotaComplexExpression
Type: array
Show Source
Nested Schema : dynamicQuotaFieldToValueExpression
Type: array
Show Source
Nested Schema : requestedUnits
Type: array
Show Source
Nested Schema : ConfigurationJXB
Type: object
Show Source
Nested Schema : DynamicQuotaComplexExpressionJXB
Type: object
Show Source
Nested Schema : DynamicQuotaBinaryExpressionJXB
Type: object
Show Source
Nested Schema : DynamicQuotaBinaryOperandExpressionJXB
Type: object
Show Source
Nested Schema : DynamicQuotaBalanceExpressionJXB
Type: object
Show Source
Nested Schema : DynamicQuotaNumberExpressionJXB
Type: object
Show Source
Nested Schema : DynamicQuotaFieldToValueExpressionJXB
Type: object
Show Source
Nested Schema : RequestedUnitJXB
Type: object
Show Source
Nested Schema : GeoZoneModelJXB
Type: object
Show Source
Nested Schema : zoneItem
Type: array
Show Source
Nested Schema : GeoLinkItemJXB
Type: object
Show Source
Nested Schema : GeoDistanceItemJXB
Type: object
Show Source
Nested Schema : RoutingZoneResultJXB
Type: object
Show Source
Nested Schema : ZoneResultJXB
Type: object
Show Source
Nested Schema : HolidayCalendarJXB
Type: object
Show Source
Nested Schema : holiday
Type: array
Show Source
Nested Schema : MoyDomHolidayJXB
Type: object
Show Source
Nested Schema : ItemTypeSelectorJXB
Type: object
Show Source
Nested Schema : itemSpec
Type: array
Show Source
Nested Schema : rule
Type: array
Show Source
Nested Schema : ItemSpecJXB
Type: object
Show Source
Nested Schema : ItemTypeSelectorRuleJXB
Type: object
Show Source
Nested Schema : customExpression
Type: array
Show Source
Nested Schema : expression
Type: array
Show Source
Nested Schema : ItemTypeSelectorCustomExpressionJXB
Type: object
Show Source
Nested Schema : ItemTypeSelectorValueExpressionJXB
Type: object
Show Source
Nested Schema : PolicyLabelJXB
Type: object
Show Source
Nested Schema : subLabels
Type: array
Show Source
Nested Schema : PolicySubLabelJXB
Type: object
Show Source
Nested Schema : PolicySpecificationJXB
Type: object
Show Source
Nested Schema : counterPolicies
Type: array
Show Source
Nested Schema : CounterPolicyJXB
Type: object
Show Source
Nested Schema : CounterRanges
Type: array
Show Source
Nested Schema : CounterRangeJXB
Type: object
Show Source
Nested Schema : PriceTagConfigJXB
Type: object
Show Source
Nested Schema : tags
Type: array
Show Source
Nested Schema : TagJXB
Type: object
Show Source
Nested Schema : permittedNames
Type: array
Show Source
Nested Schema : PermittedNameJXB
Type: object
Show Source
Nested Schema : ProductSpecCharacteristicTemplateJXB
Type: object
Show Source
Nested Schema : productSpecCharacteristics
Type: array
Show Source
Nested Schema : ProductSpecCharacteristicJXB
Type: object
Key-value pair for defining special characteristics in a product.
Show Source
Nested Schema : product spec char values
Type: array
Title: product spec char values
List of special characteristics added for a given name.
Show Source
Nested Schema : RumConfigurationJXB
Type: object
Show Source
Nested Schema : StandardZoneModelJXB
Type: object
Show Source
Nested Schema : zoneItem
Type: array
Show Source
Nested Schema : StandardZoneItemJXB
Type: object
Show Source
Nested Schema : TaxCodeJXB
Type: object
Show Source
Nested Schema : taxCodeValidityPeriods
Type: array
Show Source
Nested Schema : TaxCodeValidityPeriodJXB
Type: object
Show Source
Nested Schema : taxCodeMaps
Type: array
Show Source
Nested Schema : TaxCodeMapJXB
Type: object
Show Source
Nested Schema : taxJurisdictions
Type: array
Show Source
Nested Schema : TaxExemptionCodeJXB
Type: object
Show Source
Nested Schema : taxExemptionCodeMaps
Type: array
Show Source
Nested Schema : TaxExemptionCodeMapJXB
Type: object
Show Source
Nested Schema : ValueMapJXB
Type: object
Show Source
Nested Schema : validityPeriod
Type: array
Show Source
Nested Schema : ValueMapValidityPeriodJXB
Type: object
Show Source
Nested Schema : valueMapKey
Type: array
Show Source
Nested Schema : valueMapValue
Type: array
Show Source
Nested Schema : ValueMapKeyJXB
Type: object
Show Source
Nested Schema : valueMapKey
Type: array
Show Source
Nested Schema : valueMapValue
Type: array
Show Source
Nested Schema : ZoneResultConfigurationJXB
Type: object
Show Source
Back to Top

Response

201 Response

The configuration objects were created successfully. The response includes the response code and a JSON changeSetStatusReport with changeset IDs, names, statuses, transformation details, and any warnings.

400 Response

The request is invalid.

500 Response

The system encountered an error when processing the configuration objects.
Back to Top

Examples

This example shows how to create a balance element by submitting a POST request on the REST resource using cURL. For more information about cURL, see Use cURL.

The -d option specifies the file to attach as the request body.

curl -X POST 'http://hostname:port/pdc/config' -H 'Content-Type: application/json’ -d @balanceElement.json

where:

  • hostname is the URL for the PDC REST server.

  • port is the port for the PDC REST server.

  • balanceElement.json is the JSON file that specifies the details of the balance element to create.

Example of Request Body

The following is an example of the contents of the balanceElement.json file sent as the request body.
{
  "balanceElements": [
    {
      "name": "FM3",
      "description": "FM3",
      "priceListName": "Default",
      "obsolete": false,
      "code": "FMN3",
      "numericCode": 100215,
      "symbol": "FMN3",
      "transientElement": false,
      "foldable": true,
      "counter": false,
      "accumulator": false,
      "expiryNotification": true,
      "postExpiryNotification": true,
      "roundingRules": [
        {
          "precision": 5,
          "toleranceMin": 0,
          "toleranceMax": 0,
          "tolerancePercentage": 0,
          "roundingMode": "NEAREST",
          "processingStage": "CHARGING"
        },
        {
          "precision": 5,
          "toleranceMin": 0,
          "toleranceMax": 0,
          "tolerancePercentage": 0,
          "roundingMode": "NEAREST",
          "processingStage": "ALTERATION"
        },
        {
          "precision": 5,
          "toleranceMin": 0,
          "toleranceMax": 0,
          "tolerancePercentage": 0,
          "roundingMode": "NEAREST",
          "processingStage": "TAXATION"
        },
        {
          "precision": 5,
          "toleranceMin": 0,
          "toleranceMax": 0,
          "tolerancePercentage": 0,
          "roundingMode": "NEAREST",
          "processingStage": "AR"
        }
      ],
      "consumptionRule": "NONE"
    }
  ]
}
  

Example of Response Body

If successful, the response code 201 is returned with the following response body, containing the changeSetStatusReport in JSON format:

{
  "changeSetStatusReport": {
    "changeSets": [
      {
        "changeSetId": "42304",
        "changeSetName": "ieChangeSetMon Apr 13 03:43:29 PDT 2026",
        "changeSetStatus": "PENDING",
        "transformations": [
          {
            "jobId": 42351,
            "jobStatus": "DISPATCHED",
            "type": "BRE"
          },
          {
            "jobId": 42357,
            "jobStatus": "DISPATCHED",
            "type": "ECE"
          },
          {
            "jobId": 42363,
            "jobStatus": "DISPATCHED",
            "type": "RRE"
          }
        ]
      }
    ]
  }
}
Back to Top