Methods
-
Appearition.Asset.Manage.AddPartInstance (request, requestOptions)Appearition.Asset.PartInstanceViewModel static
Creates a new instance of a part at the given site (i.e. new asset)
-
Name Type Description requestAppearition.Asset.Manage.AddPartInstanceRequest Contains the details required to complete this action
requestOptionsAppearition.RequestOptions Contains the various callback methods for this request
Returns:
Type Description Appearition.Asset.PartInstanceViewModel This is returned as part of the success callback function in the requestOptions param -
Will add a reminder event to an existing asset
-
Name Type Description requestAppearition.Asset.Manage.AddPartInstanceReminderRequest Contains the details required to complete this action
requestOptionsAppearition.RequestOptions Contains the various callback methods for this request
-
Will associate the given part to an existing site and set stock level thresholds
-
Name Type Description requestAppearition.Asset.Manage.AddPartToSiteRequest Contains the details of the part and site and thresholds
requestOptionsAppearition.RequestOptions Contains the various callback methods for this request
-
Appearition.Asset.Manage.AddSubpartInstance (request, requestOptions)Appearition.Asset.PartInstanceViewModel static
Will link an existing asset (i.e. request.SubPartInstanceId) as a child of another existing asset (i.e. request.PartInstanceId)
-
Name Type Description requestAppearition.Asset.Manage.AddSubPartInstanceRequest Contains the details of the existing assets being linked together
requestOptionsAppearition.RequestOptions Contains the various callback methods for this request
Returns:
Type Description Appearition.Asset.PartInstanceViewModel This is returned as part of the success callback function in the requestOptions param -
Will add reminder events to all existing assets that are of a particular type of part. If the reminder exists on the part, any changes will be updated. If the reminder does not exist, it will be created and added to the part. Note if the request.UpdatePartInstanceReminder is set to true, then all existing assets of this type of part will be updated to include the new reminder event.
-
Name Type Description requestAppearition.Asset.Manage.CreatePartInstancesRemindersRequest Contains the details required to complete this action
requestOptionsAppearition.RequestOptions Contains the various callback methods for this request
-
Deletes an asset (i.e. part instance) from the database. A comment must be provided for audit purposes
-
Name Type Description requestAppearition.Asset.Manage.DeletePartInstanceRequest Contains the details required to complete this action
requestOptionsAppearition.RequestOptions Contains the various callback methods for this request
-
Will unlink a child asset from its parent
-
Name Type Description requestAppearition.Asset.Manage.DeleteSubPartInstanceRequest Contains the details of the assets being unlinked
requestOptionsAppearition.RequestOptions Contains the various callback methods for this request
-
Will move an asset back from a repairer to a depot
-
Name Type Description requestAppearition.Asset.Manage.MovePartInstanceFromRepairerRequest Contains the details required to complete this action
requestOptionsAppearition.RequestOptions Contains the various callback methods for this request
-
Will move an asset to a repairer site
-
Name Type Description requestAppearition.Asset.Manage.MovePartInstanceToRepairerRequest Contains the details required to complete this action
requestOptionsAppearition.RequestOptions Contains the various callback methods for this request
-
Will disassociate the part from the site. This can only happen when there is no stock for the combination of part, part status and site
-
Name Type Description requestAppearition.Asset.Manage.RemovePartFromSiteRequest Contains the details required to complete this action
requestOptionsAppearition.RequestOptions Contains the various callback methods for this request
-
Appearition.Asset.Manage.UpdatePart (request, requestOptions) Deprecated : The Appearition.Part.Manage module has an update part method which in the future will be extended to handle the extra update fields that this method performs static
Will update the details of a part. Deprecated.
-
Name Type Description requestAppearition.Asset.Manage.UpdatePartRequest Contains the details required to complete this action
requestOptionsAppearition.RequestOptions Contains the various callback methods for this request
-
Will modify the details of an asset in the database
-
Name Type Description requestAppearition.Asset.Manage.UpdatePartInstanceRequest Contains the details required to complete this action
requestOptionsAppearition.RequestOptions Contains the various callback methods for this request
-
Will update an existing reminder event on an existing asset
-
Name Type Description requestAppearition.Asset.Manage.UpdatePartInstanceReminderRequest Contains the details required to complete this action
requestOptionsAppearition.RequestOptions Contains the various callback methods for this request
-
Will move an asset to a different site
-
Name Type Description requestAppearition.Asset.Manage.UpdatePartInstanceSiteRequest Contains the details required to complete this action
requestOptionsAppearition.RequestOptions Contains the various callback methods for this request
-
This method will update the details of existing asset reminder events. If the request.PartReminderUpdateRecord property is true, the existing reminder record on the part will be updated, otherwise a new reminder record will be created for the part. Note, if the request.UpdatePartInstanceReminder is set to true, then all existing assets of this type of part will be updated to include the changes to the reminder event.
-
Name Type Description requestAppearition.Asset.Manage.UpdatePartInstancesRemindersRequest Contains the details required to complete this action
requestOptionsAppearition.RequestOptions Contains the various callback methods for this request
-
Will modify the status of an asset in the database
-
Name Type Description requestAppearition.Asset.Manage.UpdatePartInstanceStatusRequest Contains the details required to complete this action
requestOptionsAppearition.RequestOptions Contains the various callback methods for this request
-
Updates the stock count and threshold levels for a part and a particular part status at a particular site.
-
Name Type Description requestAppearition.Asset.Manage.UpdateSitePartRequest Contains the details required to complete this action
requestOptionsAppearition.RequestOptions Contains the various callback methods for this request
Type Definitions
-
This data structure is posted to the server when creating a new reminder event for an existing asset
-
Properties:
Name Type Description PartInstanceIdnumber Uniquely identifies the asset. Required
PartIdnumber Uniquely identifies the part. Required
StopDatestring If the reminders are recurring, this is the date when the event notifications should stop
Commentsstring The text that is sent as part of the notification
IsEmailReminderboolean Indicates if the notification should be made via email
IsExceptionItemRaisedboolean Indicates if an asset exception record should be created for this event
ReminderEmailsstring If IsEmailReminder=true, this holds a comma separated list of email addresses that need to receive the notification
FirstReminderDatestring The date when the first event notifications will happen
RecurranceTypeAppearition.Part.Manage.RecurranceEnum Relates to repeating reminders and indicates whether they happen daily, weekly, etc. It is the numerical value of the RecurranceEnum.
RecurranceValuenumber If this reminder needs to repeat, this holds the number of times the reminders will happen per RecurranceType. (e.g. repeat every 3 days)
IsOnceboolean Indicates if only one reminder should be made
PartNamestring The name of the part
Barcodestring The name of the part
SerialNostring The name of the part
-
This data structure is posted to the server when creating a new asset
-
Properties:
Name Type Description SiteIdnumber Uniquely identifies the site. Required
PartIdnumber Uniquely identifies the part. Required
PartStatusAppearition.Asset.PartStatusEnum The numerical value of the PartStatusEnum. Stock levels are based on functional status of a part, hence the same site and part can have different stock levels for different part states
JobAssignmentFormFieldIdnumber If this action was initiated as part of a submitted form, this property is the unique identifier to the specific field on that form which registered the action.
Barcodestring Is an identifier of this asset
SerialNostring Is an identifier of this asset
DateOfPurchasestring The date when this asset was purchased
WarrantyExpiryDatestring The date when the warranty on this asset will expire
Commentstring Arbitrary text about this asset
ManufacturerIdstring Unique identifier of the manufacturer listed against this asset
ManufacturerModelIdstring Unique identifier of the model record listed against this asset
RepairerIdnumber Unique identifier of the repairer for this asset
SupplierIdnumber Unique identifier of the supplier for this asset
-
This data structure is posted to the server when associating a part to a site and setting stock level thresholds.
-
Properties:
Name Type Description SiteIdnumber Uniquely identifies the site. Required
PartIdnumber Uniquely identifies the part. Required
StockCountnumber The existing number of stock at the site. Required, can be zero
PartStatusAppearition.Asset.PartStatusEnum The numerical value of the PartStatusEnum. Stock levels are based on functional status of a part, hence the same site and part can have different stock levels for different part states
MinCountnumber The minimum number of items that must be in stock. Required, can be zero and cannot be greater than MaxCount
MaxCountnumber The maximum number of items that can be in stock. Required and cannot be less than MinCount
-
This data structure is posted to the server when linking an existing asset as a child of another.
-
Properties:
Name Type Description PartInstanceIdnumber Uniquely identifies the asset which is the parent. Required.
SubPartInstanceIdnumber Uniquely identifies the asset which is the child. Required.
ParentStatusAppearition.Asset.PartStatusEnum The numerical value of the PartStatusEnum. Represents the Part Status of the parent asset
SubPartIdnumber Uniquely identifies the part of the child asset
JobAssignmentFormFieldIdnumber If this action was initiated as part of a submitted form, this property is the unique identifier to the specific field on that form which registered the action.
-
This data structure is posted to the server when creating new reminder events on all existing assets of particular type of part
-
Properties:
Name Type Description Idnumber Uniquely identifies the reminder record that has been configured as part of part management
PartIdnumber Uniquely identifies the part. Required
StopDatestring If the reminders are recurring, this is the date when the event notifications should stop
Commentsstring The text that is sent as part of the notification
IsEmailReminderboolean Indicates if the notification should be made via email
IsExceptionItemRaisedboolean Indicates if an asset exception record should be created for this event
ReminderEmailsstring If IsEmailReminder=true, this holds a comma separated list of email addresses that need to receive the notification
DefaultPartInstanceReminderboolean Is used when creating or editing reminders. If set to true, then this reminder will be automatically assigned to each new instance of this part in the asset database.
UpdatePartInstanceReminderboolean Is used when creating or editing reminders. If set to true, then the system will automatically update ALL existing instances of this part and set the reminder on them.
FirstReminderDateTypeAppearition.Part.Manage.ReminderDateTypeEnum Relates to the first reminder. It is the numerical value of the ReminderDateTypeEnum. (e.g. PurchaseDate)
FirstReminderDateIntervalTypeAppearition.Part.Manage.FirstReminderDateIntervalTypeEnum Relates to the first reminder. It is the numerical value of the FirstReminderDateIntervalTypeEnum (e.g. before)
FirstReminderDateIntervalRecurranceTypeAppearition.Part.Manage.RecurranceEnum Relates to the first reminder. It is the numerical value of the RecurranceEnum (e.g. days).
FirstReminderDateIntervalnumber Relates to the first reminder. Is the number of days, weeks, etc (i.e. FirstReminderDateIntervalRecurranceType) before or after (i.e. FirstReminderDateIntervalType) the date of reminder (i.e. FirstReminderDateType)
RecurranceTypeAppearition.Part.Manage.RecurranceEnum Relates to repeating reminders and indicates whether they happen daily, weekly, etc. It is the numerical value of the RecurranceEnum.
RecurranceValuenumber If this reminder needs to repeat, this holds the number of times the reminders will happen per RecurranceType. (e.g. repeat every 3 days)
IsOnceboolean Indicates if only one reminder should be made
PartReminderUpdateRecordboolean Directs if the reminder event exists on the part and that it should be updated (i.e. true) or if a new reminder event should be created against the part (i.e. false).
-
This data structure is posted to the server when deleting an asset
-
Properties:
Name Type Description PartInstanceIdnumber Uniquely identifies the asset. Required
DeleteCommentstring Text explaining why the asset is being deleted. Requires minimum of 5 characters
-
This data structure is posted to the server when unlinking an existing asset from its parent asset.
-
Properties:
Name Type Description PartInstanceIdnumber Uniquely identifies the asset which is the parent. Required.
SubPartInstanceIdnumber Uniquely identifies the asset which is the child. Required.
Idnumber Same as SubPartInstanceId.
-
This data structure is posted to the server when moving an asset back from a repairer and to a depot
-
Properties:
Name Type Description PartInstanceIdnumber Uniquely identifies the asset. Required
JobAssignmentFormFieldIdnumber If this action was initiated as part of a submitted form, this property is the unique identifier to the specific field on that form which registered the action.
NewSiteIdnumber Uniquely identifies the new site that the asset is going to. Represents a site where the ShelterType is a depot (refer to Appearition.Site.Manage.SiteViewModel and Appearition.Site.ShelterTypeEnum)
-
This data structure is posted to the server when moving an asset to a repairer site
-
Properties:
Name Type Description PartInstanceIdnumber Uniquely identifies the asset. Required
JobAssignmentFormFieldIdnumber If this action was initiated as part of a submitted form, this property is the unique identifier to the specific field on that form which registered the action.
NewSiteIdnumber Uniquely identifies the new site that the asset is going to. Represents a site where the ShelterType is a repairer (refer to Appearition.Site.Manage.SiteViewModel and Appearition.Site.ShelterTypeEnum)
-
This data structure is posted to the server when disassociating a part from a site.
-
Properties:
Name Type Description SiteIdnumber Uniquely identifies the site. Required
PartIdnumber Uniquely identifies the part. Required
PartStatusAppearition.Asset.PartStatusEnum The numerical value of the PartStatusEnum. Stock levels are based on functional status of a part, hence the same site and part can have different stock levels for different part states
-
This data structure is posted to the server when updating an existing reminder event on an asset
-
Properties:
Name Type Description Idnumber Uniquely identifies the reminder record in the database. Required
StopDatestring If the reminders are recurring, this is the date when the event notifications should stop
Commentsstring The text that is sent as part of the notification
IsEmailReminderboolean Indicates if the notification should be made via email
IsExceptionItemRaisedboolean Indicates if an asset exception record should be created for this event
ReminderEmailsstring If IsEmailReminder=true, this holds a comma separated list of email addresses that need to receive the notification
FirstReminderDatestring The date when the first event notifications will happen
RecurranceTypeAppearition.Part.Manage.RecurranceEnum Relates to repeating reminders and indicates whether they happen daily, weekly, etc. It is the numerical value of the RecurranceEnum.
RecurranceValuenumber If this reminder needs to repeat, this holds the number of times the reminders will happen per RecurranceType. (e.g. repeat every 3 days)
IsOnceboolean Indicates if only one reminder should be made
PartNamestring The name of the part
Barcodestring The name of the part
SerialNostring The name of the part
-
This data structure is posted to the server when deleting an asset
-
Properties:
Name Type Description PartInstanceIdnumber Uniquely identifies the asset. Required
Barcodestring Is an identifier of this asset
SerialNostring Is an identifier of this asset
DateOfPurchasestring The date when this asset was purchased
WarrantyExpiryDatestring The date when the warranty on this asset will expire
Commentstring Arbitrary text about this asset
ManufacturerIdstring Unique identifier of the manufacturer listed against this asset
ManufacturerModelIdstring Unique identifier of the model record listed against this asset
RepairerIdnumber Unique identifier of the repairer for this asset
SupplierIdnumber Unique identifier of the supplier for this asset
JobAssignmentFormFieldIdnumber If this action was initiated as part of a submitted form, this property is the unique identifier to the specific field on that form which registered the action.
SiteIdnumber Uniquely identifies the site.
-
This data structure is posted to the server when moving an asset to another site
-
Properties:
Name Type Description PartInstanceIdnumber Uniquely identifies the asset. Required
JobAssignmentFormFieldIdnumber If this action was initiated as part of a submitted form, this property is the unique identifier to the specific field on that form which registered the action.
NewSiteIdnumber Uniquely identifies the new site that the asset is going to
-
This data structure is posted to the server when creating new reminder events on all existing assets of particular type of part
-
Properties:
Name Type Description Idnumber Uniquely identifies the reminder record that has been configured as part of part management
PartIdnumber Uniquely identifies the part. Required
StopDatestring If the reminders are recurring, this is the date when the event notifications should stop
Commentsstring The text that is sent as part of the notification
IsEmailReminderboolean Indicates if the notification should be made via email
IsExceptionItemRaisedboolean Indicates if an asset exception record should be created for this event
ReminderEmailsstring If IsEmailReminder=true, this holds a comma separated list of email addresses that need to receive the notification
DefaultPartInstanceReminderboolean Is used when creating or editing reminders. If set to true, then this reminder will be automatically assigned to each new instance of this part in the asset database.
UpdatePartInstanceReminderboolean Is used when creating or editing reminders. If set to true, then the system will automatically update ALL existing instances of this part and set the reminder on them.
FirstReminderDateTypeAppearition.Part.Manage.ReminderDateTypeEnum Relates to the first reminder. It is the numerical value of the ReminderDateTypeEnum. (e.g. PurchaseDate)
FirstReminderDateIntervalTypeAppearition.Part.Manage.FirstReminderDateIntervalTypeEnum Relates to the first reminder. It is the numerical value of the FirstReminderDateIntervalTypeEnum (e.g. before)
FirstReminderDateIntervalRecurranceTypeAppearition.Part.Manage.RecurranceEnum Relates to the first reminder. It is the numerical value of the RecurranceEnum (e.g. days).
FirstReminderDateIntervalnumber Relates to the first reminder. Is the number of days, weeks, etc (i.e. FirstReminderDateIntervalRecurranceType) before or after (i.e. FirstReminderDateIntervalType) the date of reminder (i.e. FirstReminderDateType)
RecurranceTypeAppearition.Part.Manage.RecurranceEnum Relates to repeating reminders and indicates whether they happen daily, weekly, etc. It is the numerical value of the RecurranceEnum.
RecurranceValuenumber If this reminder needs to repeat, this holds the number of times the reminders will happen per RecurranceType. (e.g. repeat every 3 days)
IsOnceboolean Indicates if only one reminder should be made
PartReminderUpdateRecordboolean Directs if the reminder event exists on the part and that it should be updated (i.e. true) or if a new reminder event should be created against the part (i.e. false).
-
This data structure is posted to the server when updating the part status of an asset
-
Properties:
Name Type Description PartInstanceIdnumber Uniquely identifies the asset. Required
JobAssignmentFormFieldIdnumber If this action was initiated as part of a submitted form, this property is the unique identifier to the specific field on that form which registered the action.
NewPartStatusAppearition.Asset.PartStatusEnum The numerical value of the PartStatusEnum.
-
This data structure is posted to the server when updating part information
-
Properties:
Name Type Description Idnumber Uniquely identifies the part. Required
PartNamestring The name of the part. Required
EquipmentIdentifierstring A property of part
Descriptionstring A property of part
-
This data structure is posted to the server when updating stock threshold levels
-
Properties:
Name Type Description SiteIdnumber Uniquely identifies the site. Required
PartIdnumber Uniquely identifies the part. Required
PartStatusAppearition.Asset.PartStatusEnum The numerical value of the PartStatusEnum. Stock levels are based on functional status of a part, hence the same site and part can have different stock levels for different part states
StockCountnumber The existing number of stock at the site. Required, can be zero
MinCountnumber The minimum number of items that must be in stock. Required, can be zero and cannot be greater than MaxCount
MaxCountnumber The maximum number of items that can be in stock. Required and cannot be less than MinCount