Namespaces
Methods
-
Appearition.Asset.GetAllSites (requestOptions)Array.<Appearition.Asset.SiteViewModel> static
This method will return a lists of sites to use when searching or modifying assets
-
Name Type Description requestOptionsAppearition.RequestOptions configure callbacks
Returns:
Type Description Array.<Appearition.Asset.SiteViewModel> This is returned as part of the success callback function in the requestOptions param -
Appearition.Asset.GetPartInstance (partId, requestOptions)Array.<Appearition.Asset.PartInstanceViewModel> static
This method will return a list of existing assets (aka part instances) in the database for the given part. Note, this method is very similar to GetPartInstanceDetails where the difference is that this method will not return any sub part assets
-
Name Type Description partIdnumber Unique identifier to a part. Assets of this type of part will be returned
requestOptionsAppearition.RequestOptions configure callbacks
Returns:
Type Description Array.<Appearition.Asset.PartInstanceViewModel> This is returned as part of the success callback function in the requestOptions param -
Appearition.Asset.GetPartInstanceById (partInstanceId, requestOptions)Array.<Appearition.Asset.PartInstanceViewModel> static
This method will return a specific asset from the database
-
Name Type Description partInstanceIdnumber Uniquely identifies the asset in the database
requestOptionsAppearition.RequestOptions configure callbacks
Returns:
Type Description Array.<Appearition.Asset.PartInstanceViewModel> Note, whilst the return type is a collection, there will only ever by one record returned. This is returned as part of the success callback function in the requestOptions param -
Appearition.Asset.GetPartInstanceDetails (partId, requestOptions)Appearition.Asset.GetPartInstanceDetailsResponseViewModel static
This method will return a list of existing assets (aka part instances) in the database for the given part. It will also look for assets for the given part which are sub parts of another asset.
-
Name Type Description partIdnumber Unique identifier to the part. Assets of this type of part will be returned
requestOptionsAppearition.RequestOptions configure callbacks
Returns:
Type Description Appearition.Asset.GetPartInstanceDetailsResponseViewModel This is returned as part of the success callback function in the requestOptions param -
Appearition.Asset.GetPartInstanceHistory (partInstanceId, requestOptions)Array.<Appearition.Asset.PartInstanceHistoryResponseViewModel> static
This method will return a number of fields including a flag indicating if the user is able to modify asset records
-
Name Type Description partInstanceIdnumber Uniquely identifiers the asset in the database which is also referred to as an instance of a part
requestOptionsAppearition.RequestOptions configure callbacks
Returns:
Type Description Array.<Appearition.Asset.PartInstanceHistoryResponseViewModel> This is returned as part of the success callback function in the requestOptions param -
Appearition.Asset.GetPartInstanceReminderById (partInstanceReminderId, requestOptions)Array.<Appearition.Asset.PartInstanceReminderViewModel> static
This method will return a specific part reminder for a specific asset
-
Name Type Description partInstanceReminderIdnumber Uniquely identifies the part reminder record for an asset in the database
requestOptionsAppearition.RequestOptions configure callbacks
Returns:
Type Description Array.<Appearition.Asset.PartInstanceReminderViewModel> Note, whilst the return type is a collection, only one record would ever be in the collection. This is returned as part of the success callback function in the requestOptions param -
Appearition.Asset.GetPartInstanceReminders (partInstanceId, requestOptions)Array.<Appearition.Asset.PartInstanceReminderViewModel> static
This method will return all part reminders that have been configured for the specific asset
-
Name Type Description partInstanceIdnumber Uniquely identifies the asset in the database
requestOptionsAppearition.RequestOptions configure callbacks
Returns:
Type Description Array.<Appearition.Asset.PartInstanceReminderViewModel> This is returned as part of the success callback function in the requestOptions param -
Appearition.Asset.GetPartners (requestOptions)Appearition.Asset.GetPartResponseViewModel static
This method will return various list of information used for adding or modifying assets
-
Name Type Description requestOptionsAppearition.RequestOptions configure callbacks
Returns:
Type Description Appearition.Asset.GetPartResponseViewModel This is returned as part of the success callback function in the requestOptions param -
Appearition.Asset.GetParts (partId, requestOptions)Array.<Appearition.Asset.PartViewModel> static
This method will return a collection of parts that can be used to search or create new instances
-
Name Type Description partIdnumber If specified, will return that one part, otherwise all parts will be returned. Set to NULL if you want to return all part records
requestOptionsAppearition.RequestOptions configure callbacks
Returns:
Type Description Array.<Appearition.Asset.PartViewModel> This is returned as part of the success callback function in the requestOptions param -
Appearition.Asset.GetSiteParts (request, requestOptions)Array.<Appearition.Asset.SitePartViewModel> static
This method will return all assets for a given combination of Site and Part. There are other parameters that can be used to filter results
-
Name Type Description requestAppearition.Asset.GetSitePartsRequestViewModel Parameters to configure search filter
requestOptionsAppearition.RequestOptions configure callbacks
Returns:
Type Description Array.<Appearition.Asset.SitePartViewModel> This is returned as part of the success callback function in the requestOptions param -
Appearition.Asset.GetStaticOptions (requestOptions)Appearition.Asset.GetStaticOptionsResponseViewModel static
This method will return various lists of data that need to be used when searching or maintaining assets
-
Name Type Description requestOptionsAppearition.RequestOptions configure callbacks
Returns:
Type Description Appearition.Asset.GetStaticOptionsResponseViewModel This is returned as part of the success callback function in the requestOptions param -
Appearition.Asset.GetSubpartInstance (partId, requestOptions)Array.<Appearition.Asset.PartInstanceViewModel> static
This method will return a list of existing sub part assets (aka sub part instances) in the database for the given part. Note, this method is very similar to GetPartInstanceDetails where the difference is that this method will not return any parent assets
-
Name Type Description partIdnumber Unique identifier to a part. Assets of this type of part will be returned
requestOptionsAppearition.RequestOptions configure callbacks
Returns:
Type Description Array.<Appearition.Asset.PartInstanceViewModel> This is returned as part of the success callback function in the requestOptions param -
Appearition.Asset.Index (requestOptions)Appearition.Asset.AssetMaintenanceViewModel static
This method will return a number of fields including a flag indicating if the user is able to modify asset records
-
Name Type Description requestOptionsAppearition.RequestOptions configure callbacks
Returns:
Type Description Appearition.Asset.AssetMaintenanceViewModel This is returned as part of the success callback function in the requestOptions param
Type Definitions
-
This data structure holds details retrieved as part of the index request
-
Properties:
Name Type Description IsReadOnlyboolean Indicates if the logged in user can only read asset information
UserEmailAddressstring Deprecated. The email address of the logged in user
-
This data structure holds information about assets
-
Properties:
Name Type Description PartInstancesArray.<Appearition.Asset.PartInstanceViewModel> A collection of assets which have no parent assets (i.e. they are NOT sub parts)
SubPartInstancesArray.<Appearition.Asset.PartInstanceViewModel> A collection of assets which are configured as sub parts to another asset
-
This data structure holds various lists used to modify asset records
-
Properties:
Name Type Description ManufacturersArray.<Appearition.ListItemViewModel> A collection of part manufacturers
ManufacturerModelsArray.<Appearition.ListItemViewModel> A collection of models that part manufacturers make
SuppliersArray.<Appearition.ListItemViewModel> A collection of suppliers of parts
RepairersArray.<Appearition.ListItemViewModel> A collection of repairers for faulty parts
CategoriesArray.<Appearition.ListItemViewModel> A collection of categories that parts can be grouped under
-
This data structure configures parameters when requesting a search query for assets
-
Properties:
Name Type Description PartStatusAppearition.Asset.PartStatusEnum Numeric value of PartStatusEnum
SiteIdnumber Unique identifier to a site
PartIdnumber Unique identifier to a part
PartCategoryIdnumber Unique identifier to a category of parts
BarcodeOrSerialNumberSearchStringstring Text to use for searching for assets by barcode OR serial number
SiteStatusAppearition.Site.SiteStatusEnum Numeric value of SiteStatusEnum
-
This data structure holds various lists of data used when viewing or modifying assets
-
Properties:
Name Type Description ShelterTypeOptionsArray.<Appearition.ListItemViewModel> List of Appearition.Site.ShelterTypeEnum
PartStatusOptionsArray.<Appearition.Asset.PartStatusViewModel> List of Appearition.Asset.PartStatusEnum
SiteStatusOptionsArray.<Appearition.ListItemViewModel> List of Appearition.Site.SiteStatusEnum
RecurranceTypeListArray.<Appearition.SelectListItem> List of Appearition.Part.Manage.RecurranceEnum
ReminderDateTypeListArray.<Appearition.SelectListItem> List of Appearition.Part.Manage.ReminderDateTypeEnum
FirstReminderDateIntervalTypeListArray.<Appearition.SelectListItem> List of Appearition.Part.Manage.FirstReminderDateIntervalTypeEnum
-
This data structure holds a snapshot of an asset at a point in time
-
Properties:
Name Type Description IsLinkedToSubmittedFormDataboolean Indicates if the change to this asset was a result of an action on a submitted form
JobAssignmentFormFieldIdnumber If the change to this asset was a result of an action on a submitted form, this property identifies the exact field in the exact submitted form where the action was recorded
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
ManufacturerNamestring The name of the manufacturer of this asset
ModelNostring The model of this asset
RepairerNamestring The name of the repairer for this asset
SupplierNamestring The name of the supplier for this asset
PartStatusstring The text description of the status of this asset. Refer to Appearition.Asset.PartStatusEnum
ModifiedByUsernamestring The user who made this change. If the change was a result of an action on a submitted form, then this field will contain the username on that form.
ModifiedByFirstNamestring The first name of the user who made the change
ModifiedByLastNamestring The last name of the user who made the change
ModifiedUtcDatestring The date and time in UTC format of when the change was made
ModifiedLocalDatestring The date and time in a format local to the logged in user of when the change was made. Note, if the timezone of the logged in user is not known, then the UTC date will be returned instead.
Eventstring As summary description of what change was made to the asset
PartNamestring The name of the part that this asset is
SiteNamestring The name of the site that this asset was located at the time of the change
SiteNostring An identifier the site that this asset was located at the time of the change
FormNamestring If the change to this asset was a result of an action on a submitted form, this property holds the name of that form
RelatedPartInstanceIdnumber If the change relates to another asset in the database, this property would hold a reference to that other asset. For example, moving a sub part from one parent to another
RelatedPartNamestring If the change relates to another asset in the database, this property holds the name of the part of the other asset
RelatedPartBarcodestring If the change relates to another asset in the database, this property holds the barcode of other asset
RelatedPartSerialNostring If the change relates to another asset in the database, this property holds the serial number of other asset
-
This data structure holds configuration for a reminder for a specific asset
-
Properties:
Name Type Description Idnumber Uniquely identifies the reminder record
PartIdnumber Uniquely identifies the type of part the asset it
PartInstanceIdnumber Uniquely identifies the asset which this reminder is linked to
FirstReminderDatestring The date when the first reminder is due
StopDatestring The date when the all reminders must stop
Commentsstring The text that is included as part of the reminder notification message
IsEmailReminderboolean Indicates if the reminder notification should be sent via email
IsExceptionItemRaisedboolean Indicates if the reminder notification should be raised as an asset exception message
ReminderEmailsstring If IsEmailReminder is true, this will hold a comma separated list of email addresses who will receive the reminder notification massage
RecurranceTypeAppearition.Part.Manage.RecurranceEnum e.g. days, weeks, etc. Refer to Appearition.Part.Manage.RecurranceEnum
RecurranceNamestring The name of the RecurranceType
IsOnceboolean Indicates if only one reminder should be sent
RecurranceValuenumber If the reminders will be repeated, this represents the numeric frequency. e.g. Every 3 days or Every 1 week
PartNamestring The name of the part that the asset is
-
This data structure holds the current details of an asset in the database
-
Properties:
Name Type Description Idnumber Unique identifier to the asset. System allocated
SiteIdnumber Unique identifier to the site that this asset is currently located at
SiteNostring An identifier the site that this asset was located at the time of the change
SiteNamestring The name of the site that this asset was located at the time of the change
PartIdnumber Unique identifier of the part that this asset is
PartNamestring The name of the part that this asset is
PartStatusAppearition.Asset.PartStatusEnum The numerical value of the PartStatusEnum.
PartStatusNamestring The name of the PartStatus
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
ManufacturerModelIdstring Unique identifier of the model record listed against this asset
ManufacturerIdstring Unique identifier of the manufacturer listed against this asset
ManufacturerNamestring The name of the manufacturer of this asset
ModelNostring The model of this asset
RepairerIdnumber Unique identifier of the repairer for this asset
RepairerNamestring The name of the repairer for this asset
SupplierIdnumber Unique identifier of the supplier for this asset
SupplierNamestring The name of the supplier for this asset
PartInstanceIdstring Same as Id
SubPartInstanceIdstring If this asset is a sub part, this property holds the unique identifier to the record that links this instance to the parent instance
IsActivestring always set to true
CreatedUtcDatestring The date and time in UTC format of when the asset record was first created in the database
ModifiedUtcDatestring The date and time in UTC format of when the most recent change was made to the asset record in the database
ParentBarcodestring If this asset is sub part, this property holds the barcode of the parent asset
ParentSerialNostring If this asset is sub part, this property holds the serial number of the parent asset
ParentPartNamestring If this asset is sub part, this property holds the name of the part that the parent asset is
ParentSiteIdstring If this asset is sub part, this property holds the unique identifier to the site that the parent asset is currently at
ParentSiteNostring If this asset is sub part, this property holds an identifier to the site that the parent asset is currently at
ParentSiteNamestring If this asset is sub part, this property holds that name of the site that the parent asset is currently at
ParentPartStatusAppearition.Asset.PartStatusEnum If this asset is sub part, this property holds that status of the parent asset
ParentPartStatusNamestring If this asset is sub part, this property holds that name of the ParentPartStatus
ParentManufacturerIdnumber If this asset is sub part, this property holds that unique identifier of the manufacturer of the parent asset
ParentManufacturerstring If this asset is sub part, this property holds the name of the manufacturer of the parent asset
ParentManufacturerModelIdstring If this asset is sub part, this property holds the unique identifier to the manufacturer model of the parent asset
ParentModelNostring If this asset is sub part, this property holds the model details of the parent asset
-
The various status values for an asset (aka part instance)
-
Properties:
Name Type Description InStorage:number 1201
InService:number 1202
Faulty:number 1203
AtRepairer:number 1204
Retired:number 1205
InServiceNotCommissioned:number 1206
-
This data structure holds information about the state of asset
-
Properties:
Name Type Description IsInServiceboolean Indicates if the asset is operational
IsFaultyboolean Indicates if the asset is faulty
-
This data structure holds information about a part used in assets
-
Properties:
Name Type Description Idnumber Unique identifier to the part
Namestring The name of the part
EquipmentIdentifierstring A property of part
Descriptionstring A property of part
-
This model holds the details of all assets of a particular type (i.e. part) at a given location (i.e. site)
-
Properties:
Name Type Description PartInstanceIdnumber Uniquely identifies the asset in the database
SiteIdnumber Unique identifier to a site
PartIdnumber Unique identifier to a part
PartStatusAppearition.Asset.PartStatusEnum The numerical value of the PartStatusEnum.
PartStatusNamestring The name of the PartStatus
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
ManufacturerModelIdstring Unique identifier of the model record listed against this asset
ManufacturerIdstring Unique identifier of the manufacturer listed against this asset
ManufacturerNamestring The name of the manufacturer of this asset
ModelNostring The model of this asset
RepairerIdnumber Unique identifier of the repairer for this asset
RepairerNamestring The name of the repairer for this asset
SupplierIdnumber Unique identifier of the supplier for this asset
SupplierNamestring The name of the supplier for this asset
SubPartsArray.<Appearition.Asset.PartInstanceViewModel> The collection of assets which are children (i.e. my sub parts)
SubPartsOfArray.<Appearition.Asset.PartInstanceViewModel> The collection of parents that this asset is a child of. Note in most cases there will only be 1 in this collection, however an array exist for possible future requirements
-
This model holds all the assets of a particular type (i.e. part) at a given location (i.e. site)
-
Properties:
Name Type Description SiteIdnumber Unique identifier to a site
PartIdnumber Unique identifier to a part
StockCountnumber The total number of assets (specific to the part id) at the site. This is the current value in the database.
MinCountnumber The minimum amount of assets that should exist at the site of the particular part
MaxCountnumber The maximum amount of assets that can exist at the site of the particular part
BarcodesArray.<Appearition.Asset.SitePartInstanceViewModel> The collection of all assets for this combination of site and part
-
This data structure holds information about a site used in assets
-
Properties:
Name Type Description Idnumber Unique identifier to the site
Namestring The name of the site
SiteNostring An identifier to the site
IsSiteboolean Indicates if this site record represents a location where assets exist and are in service and operational
IsDepotboolean Indicates if this site record represents a location where assets are stored and ready to be taken and installed at a site
IsRepairerboolean Indicates if this site record represents a repairer location where faulty assets are taken to for fixing.