Create Installation Work Package
You can create installation work package (IWP) along with their properties using the Web APIs.
POST {{url}}/SPCCreateInstallationWorkPackage
Content |
{ IWPCreateInfo: { "Name": "[Name of the IWP]", "Description": "[Description of the IWP]", "Status": "[Status of the IWP]", "CWPID": "[Construction Work Package ID]", "EWPNumber": "[Engineering Work Package Number]", "ContractId": "[Contract ID]", "ContractorId": "[Contractor ID]", "Discipline": "[Discipline]", "Purpose": "[IWP Purpose]", "DesignAreaId": "[Design Area ID]", "Scope": "[Scope of work]", "Notes": "[Notes]", "PlannedStartDate": "[YYYY-MM-DD]", "PlannedFinishDate": "[YYYY-MM-DD]", "ActualStartDate": "[YYYY-MM-DD]", "ActualFinishDate": "[YYYY-MM-DD]", "EstimatedManhours": "[Estimated Man Hours for IWP]", "CrewSize": "[Crew Size]"(OR)"NamedCrewId": "[Crew ID]", "ForemanId": "[Foreman ID]", "GeneralForemanId": "[General Foreman ID]", "FieldEngineerId": "[Field Engineer ID]", "SuperintendentId": "[Superitendent ID]" }, } |
Required information |
|
Notes |
None |
For example,
{
IWPCreateInfo:
{
"Name": "IWP-001",
"Description": "Test CWP",
"Status": "Preliminary",
"CWPId": "6GH7000A",
"EWPNumber":"EWP-001",
"ContractId": "6GH7002A",
"ContractorId": "6GH7004A",
"Discipline": "Piping",
"Purpose": "Installation",
"DesignAreaId": "6GT8000A",
"Scope": "Test IWP",
"Notes": "Testing IWP",
"PlannedStartDate": "2018-09-25",
"PlannedFinishDate": "2018-09-27",
"ActualStartDate": "2018-09-28",
"ActualFinishDate":"2018-09-30",
"EstimatedManhours":"65.8",
"CrewSize": "XXXX" (OR) "NamedCrewId": "6HG5000A",
"ForemanId":"6GFC000A",
"GeneralForemanId":"6GFC001A",
"FieldEngineerId":"6GFC002A",
"SuperintendentId":"6GFC003A"
},
}
Update Installation Work Package
You can update some properties for the installation work package (IWP) using the Web APIs.
POST {{url}}/SPCUpdateInstallationWorkPackage
Content |
{ “ID”: “[ Installation Work Package ID]” IWPUpdateInfo: { "Description": "[Description of the IWP]", "Status": "[Status of the IWP]", "CWPID": "[Construction Work Package ID]", "EWPNumber": "[Engineering Work Package Number]", "ContractId": "[Contract ID]", "ContractorId": "[Contractor ID]", "DesignAreaId": "[Design Area ID]", "Scope": "[Scope of work]", "Notes": "[Notes]", "PlannedStartDate": "[YYYY-MM-DD]", "PlannedFinishDate": "[YYYY-MM-DD]", "ActualStartDate": "[YYYY-MM-DD]", "ActualFinishDate": "[YYYY-MM-DD]", "EstimatedManhours": "[Estimated Man Hours for IWP]", "CrewSize": "[Crew Size]"(OR)"NamedCrewId": "[Crew ID]", }, } |
Required information |
|
Notes |
None |
For example,
{
ID:"6GRX000A",
IWPUpdateInfo:
{
"Description": "Updated the description",
"Status": "Complete",
"CWPId": "6GOP000A",
"EWPNumber": "Updated EWP",
"Scope": "Updated Scope-IWP",
"Notes": "Updated Notes-IWP",
"ContractId": "6GH7002A",
"ContractorId": "6GH7004A",
"DesignAreaId": "6GT8000A",
"PlannedStartDate": "2018-09-28",
"PlannedFinishDate": "2018-09-30",
"ActualStartDate": "2018-10-28",
"ActualFinishDate": "2018-10-30",
"EstimatedManhours": "56",
"CrewSize": "8",
"NamedCrewId": "6GLZ000A",
}
}
Delete Installation Work Package
You can delete an installation work package (IWP) using the Web APIs.
POST {{url}}/SPCDeleteInstallationWorkPackage
Content |
{ "ID": "[Package ID of the IWP]" } |
Required information |
|
Notes |
None |
For example,
{
"ID": "6GYF000A"
}