Skip to content

Create a new Cost Milestone

Request

Create a new Cost Milestone

Security
bearerAuth
Bodyapplication/jsonrequired
Namestringrequired

The name of the cost milestone. REQUIRED.

DeliveryElementIdstringrequired

The Salesforce ID of the delivery element this milestone belongs to. REQUIRED.

MilestoneDatestringrequired

The date of the milestone. Must be in YYYY-MM-DD format. REQUIRED.

MilestonePercentagenumber

Type 1 (Percentage-based): The percentage of the contract cost this milestone represents (0-100). Only applicable when the delivery element uses DeliveryElement forecast mode.

SupplierInvoicingCurrencyCostnumber

Type 2 (Fixed value): The supplier invoicing currency cost value. Only applicable when the delivery element is not unit-generated. Use the SupplierInvoicingCurrencyCode returned on the delivery element to determine the currency.

Unitsnumber

Type 3 (Unit-based): The number of units. Only applicable together with SupplierInvoicingCurrencyUnitValue when the delivery element is unit-generated.

SupplierInvoicingCurrencyUnitValuenumber

Type 3 (Unit-based): The supplier invoicing currency value per unit. Only applicable together with Units when the delivery element is unit-generated. Use the SupplierInvoicingCurrencyCode returned on the delivery element to determine the currency.

Notesstring

Any free-form text notes or comments for the new milestone.

CustomFieldsMapArray of objects

A map of custom field API name to value to be saved on the milestone. Use this to set org-specific custom fields added to Milestone__c.

{ "Name": "string", "DeliveryElementId": "string", "MilestoneDate": "string", "MilestonePercentage": 0, "SupplierInvoicingCurrencyCost": 0, "Units": 0, "SupplierInvoicingCurrencyUnitValue": 0, "Notes": "string", "CustomFieldsMap": [ { "Key": "string", "Value": "string" } ] }

Responses

Success - Created

Response
No content