Add Components to Installation Work Package
If you have configured rules of credit for this plant in this site, you cannot use this API to add components to installation work packages.
You can add one or more components to a installation work package (IWP) using the Web APIs.
POST {{url}}/SPCAddComponentsToInstallationWorkPackage
Content |
{ IWPID: "[Package ID of the IWP]", ComponentIDs: "['XXXXXX', 'XXXXXX', 'XXXXXX']", AutoAddDrawings: "[Boolean – True OR False]", AddComponentValidationOptions: { IgnoreDisciplineMismatch: "[Boolean – True OR False]", IgnoresNoAvailableSteps: "[Boolean – True OR False]", IgnoreCWPMismatch: "[Boolean – True OR False]", IgnoreComponentsComplete: "[Boolean – True OR False]", IgnoreAll: "[Boolean – True OR False]" } } |
Required information |
|
Notes |
None |
For example,
{
IWPID:"6GKO000A",
ComponentIDs: "['6GGF2GKA']",
AutoAddDrawings: "False",
AddComponentValidationOptions:
{
IgnoreDisciplineMismatch: "True",
IgnoresNoAvailableSteps: "True",
IgnoreCWPMismatch: "True",
IgnoreComponentsComplete: "True",
IgnoreAll: "True"
}
}
Update Components in Installation Work Package
If you have configured rules of credit for this plant in this site, you cannot use this API to update properties for components in installation work packages.
You can update few component properties in an installation work package (IWP) using the Web APIs.
POST {{url}}/SPCUpdateInstallationWorkPackageComponent
Content |
{ "IWPID": "[Package ID of the IWP]", "ComponentID": "[Component ID]", "IWPComponentUpdateInfo": { "Sequence": "[Sequence Number]", "IsComplete": "[Boolean – True OR False]" } } |
Required information |
|
Notes |
None |
For example,
{
"IWPID": "6GKO000A",
"ComponentID": "6GGN6SLA",
"IWPComponentUpdateInfo":
{
"Sequence": "2",
"IsComplete": "True"
}
}
Remove Components from Installation Work Package
You can remove one or more components from an installation work package (IWP) using the Web APIs.
POST {{url}}/SPCRemoveAdhocComponentsFromInstallationWorkPackage
Content |
{ IWPID: "[Package ID of the IWP]", ComponentIDs: "[‘XXXXX’,‘XXXXX’,‘XXXXX’]" RemoveNonrelatedDrawing: "[Boolean – True or False]", } |
Required information |
|
Notes |
None |
For example,
{
IWPID: "6GKO000A",
ComponentIDs: "['6HSM000A']",
RemoveNonrelatedDrawing: "false"
}