Create a milestone
post
/crmRestApi/resources/11.13.18.05/milestones
Request
Header Parameters
-
Metadata-Context: string
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version: string
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
-
Upsert-Mode: string
Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
AllowAgentCompletionFlag: boolean
Title:
Allow Agent CompletionMaximum Length:1Default Value:falseAllow Agent to mark milestone as complete -
AllowDueDateOverrideFlag: boolean
Title:
Allow Due Date OverrideMaximum Length:1Default Value:falseAllow Agent to override milestone due date -
BUOrgId: integer
(int64)
The unique ID of the business unit name associated to the Milestone Config.
-
DeletedFlag: boolean
Maximum Length:
1Default Value:falseDeleted Flag -
DisabledFlag: boolean
Title:
DisabledMaximum Length:1Default Value:falseDisabled Flag -
MilestoneCode: string
Title:
Milestone CodeMaximum Length:255The unique code associated with the milestone. -
MilestoneLabel: string
Title:
Milestone LabelMaximum Length:255The user-friendly label of the milestone. -
MilestoneType: string
Title:
Milestone TypeMaximum Length:255Default Value:ORA_SVC_NO_REPEATThe type of the milestone. -
ObjectName: string
Maximum Length:
255The name of the object associated to the Milestone Configuration -
PauseCondition: string
Title:
Pauses WhenMaximum Length:1000Pause Condition -
PauseConditionLabel: string
Title:
Pauses WhenMaximum Length:1000The user-friendly label of the milestone's pause condition. -
StartCondition: string
Title:
Starts WhenMaximum Length:1000Start Condition -
StartConditionLabel: string
Title:
Starts WhenMaximum Length:1000The user-friendly label of the milestone's start condition. -
StopCondition: string
Title:
Complete WhenMaximum Length:1000Stop Condition -
StopConditionLabel: string
Title:
Completes WhenMaximum Length:1000The user-friendly label of the milestone's stop condition. -
ThresholdCode: string
Title:
Threshold CodeMaximum Length:255The unique code associated with the threshold. -
TzPreferenceCd: string
Title:
Time Zone Override SourceMaximum Length:30Indicates the object that will be used to override the time zone from the coverage.
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Root Schema : milestones-item-response
Type:
Show Source
object-
AllowAgentCompletionFlag: boolean
Title:
Allow Agent CompletionMaximum Length:1Default Value:falseAllow Agent to mark milestone as complete -
AllowDueDateOverrideFlag: boolean
Title:
Allow Due Date OverrideMaximum Length:1Default Value:falseAllow Agent to override milestone due date -
BUOrgId: integer
(int64)
The unique ID of the business unit name associated to the Milestone Config.
-
BusinessUnitName: string
Title:
Business Unit NameRead Only:trueMaximum Length:240The name of the business unit associated to the Milestone Configuration -
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:64Created By -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueCreation Date -
DeletedFlag: boolean
Maximum Length:
1Default Value:falseDeleted Flag -
DisabledFlag: boolean
Title:
DisabledMaximum Length:1Default Value:falseDisabled Flag -
LastUpdateDate: string
(date-time)
Title:
Last Updated DateRead Only:trueLast Update Date -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64Last Updated By -
LastUpdateLogin: string
Title:
Last Update LoginRead Only:trueMaximum Length:32Last Update Login -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
MilestoneCode: string
Title:
Milestone CodeMaximum Length:255The unique code associated with the milestone. -
MilestoneConfigId: integer
(int64)
Title:
Milestone Configuration IDRead Only:trueThe unique identifier of the milestone configuration. -
MilestoneLabel: string
Title:
Milestone LabelMaximum Length:255The user-friendly label of the milestone. -
MilestoneType: string
Title:
Milestone TypeMaximum Length:255Default Value:ORA_SVC_NO_REPEATThe type of the milestone. -
MilestoneTypeMeaning: string
Read Only:
trueIndicates the display value corresponding to the milestone type lookup code. -
ObjectName: string
Maximum Length:
255The name of the object associated to the Milestone Configuration -
ObjectNameMeaning: string
Read Only:
trueIndicates the display value corresponding to the object name lookup code. -
PauseCondition: string
Title:
Pauses WhenMaximum Length:1000Pause Condition -
PauseConditionLabel: string
Title:
Pauses WhenMaximum Length:1000The user-friendly label of the milestone's pause condition. -
StartCondition: string
Title:
Starts WhenMaximum Length:1000Start Condition -
StartConditionLabel: string
Title:
Starts WhenMaximum Length:1000The user-friendly label of the milestone's start condition. -
StopCondition: string
Title:
Complete WhenMaximum Length:1000Stop Condition -
StopConditionLabel: string
Title:
Completes WhenMaximum Length:1000The user-friendly label of the milestone's stop condition. -
ThresholdCode: string
Title:
Threshold CodeMaximum Length:255The unique code associated with the threshold. -
TzPreferenceCd: string
Title:
Time Zone Override SourceMaximum Length:30Indicates the object that will be used to override the time zone from the coverage. -
TzPreferenceMeaning: string
Read Only:
trueMaximum Length:255Indicates the display value corresponding to the time zone object lookup code.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Links
- YesNoLookup
-
Parameters:
- finder:
LookupTypeIsActiveEnabledFinder%3BBindLookupType%3DYES_NO
The following properties are defined on the LOV link relation:- Source Attribute: AllowAgentCompletionFlag; Target Attribute: LookupCode
- Display Attribute: Meaning
- finder: