|
Information about dependencies is passed within the WorkOrders wrapper of the input JSON, in the relations segment. This is because the dependencies are primarily driven in terms of work orders. The dependency is always between two or more work orders.
|
Input Type
|
Field
|
Mandatory / Optional?
|
Description
|
Default Value / Example
|
||
---|---|---|---|---|---|---|
relations (in the workOrders wrapper of the input JSON)
|
relationshipType
|
Mandatory if resourceDependencyType has not been provided.
|
Type of time dependency you want to enforce between two or more work orders.
|
Possible values are: FINISHSTART, STARTSTART, FINISHFINISH, STARTFINISH, FINISHUNISON, STARTUNISON, NONE
Note: The value cannot be NONE if the value in the resourceDependencyType field is NONE.
|
||
relatedNodeId
|
Mandatory
|
Work order number of the work order with which dependency is being set.
|
||||
resourceDependencyType
|
Mandatory if relationshipType is not provided.
|
Type of resource dependency you want to enforce between two or more work orders.
|
Possible values are: SAMERESOURCE, DIFFERENTRESOURCE, NONE
Note:
1. The value cannot be NONE if the value in the relationshipType field is NONE.
2. SAMERESOURCE is not allowed in case relationshipType is STARTFINISH, FINISHUNISON, or STARTUNISON.
|
|||
minBuffer
|
Optional
|
The minimum time buffer from which the time dependency needs to be met.
Format: PT<h>H<m>M<s>S
Note: Applicable only for the time dependency group. The default value is 0 seconds.
|
Example: “PT5M”
Note: If the relationshipType value is FINISHUNISON or STARTUNISON, minBuffer value will not be considered even if provided.
|
|||
maxBuffer
|
Optional
|
The maximum time buffer up to which the time dependency needs to be met.
Format: PT<h>H<m>M<s>S
Note: Applicable only for the time dependency group. The default value is 365 days.
|
Example: “PT1H”
|