Parameter
|
Mandatory (Yes/No)
|
Description
|
---|---|---|
maintenancePlanId
|
Yes
|
The SFDC record ID of the Maintenance Plan record.
|
maintenanceAssetDataList: The list which will have the information of the assets which need to be converted to Maintenance Asset. The following parameters are part of the list.
|
||
assetId
|
Yes
|
The SFDC record ID of the Asset record.
|
dateOfFirstWorkOrderInNextBatch
|
No
|
The date of the first work order in the next batch that will be used to populate in the Maintenance Asset record.
|
subscribedAssetId
|
No
|
The ID of the Subscribed Asset object which needs to be copied to one of the Maintenance Asset's fields.
|
subscribedAssetFieldName
|
No
|
The field name on the Maintenance Asset object is a lookup to a Subscribed Asset object.
|
Parameters
|
Description
|
---|---|
success
|
The request status.
|
message
|
The status message.
|
errors
|
Error messages, if any.
|
data:
The set of output data for all the added maintenace assets.
|
|
maintenanceAssetDataList: The list which has the information of the assets which need to be converted to Maintenance Asset for a Maintenace Plan. The following parametrs are part of the list.
|
|
maintenancePlanId
|
The SFDC record ID of the Maintenance Plan record.
|
assetId
|
The SFDC record ID of the Asset record.
|
dateOfFirstWorkOrderInNextBatch
|
The date of the first work order in the next batch that is used to populate in the Maintenance Asset record.
|
subscribedAssetId
|
The ID of the Subscribed Asset object that is copied to one of the Maintenance Asset's fields.
|
subscribedAssetFieldName
|
The field name on the Maintenance Asset object is a lookup to a Subscribed Asset object.
|
maintenanceAssetId
|
The SFDC ID of the Maintenance Asset record which got created for the given Asset ID.
|