Namespaces
Methods
-
Retrieves the contents of a specific submitted file
-
Name Type Description siteDocumentIdnumber The unique identifier of the document
requestOptionsAppearition.RequestOptions Contains the various callback methods for this request
Returns:
Type Description object File stream -
Appearition.Site.GetSiteSyncManifest (request, requestOptions)Appearition.Site.SiteSyncManifestViewModel static
Retrieves a delta of modified site on the server. The delta is determined from the view model sent in the request body Will return the Appearition.Site.SiteSyncManifestViewModel model
-
Name Type Description requestAppearition.Site.SiteSyncManifestViewModel Contains the identifiers for retrieving the required records
requestOptionsAppearition.RequestOptions Contains the various callback methods for this request
Returns:
Type Description Appearition.Site.SiteSyncManifestViewModel This is returned as part of the success callback function in the requestOptions param
Type Definitions
-
The various values for a the Mains Hybrid Genset property of a site
-
Properties:
Name Type Description NotApplicablenumber 900
Unknownnumber 901
-
The various types of shelters which is a property of a site. Please note, these values are subject to change. They are dependent on the customer requirements and change from instance to instance. The consistency is the numbers, but the labels do change. More numbers can also be added. It is often used to describe the type of site record.
-
Properties:
Name Type Description Solarnumber 101
Standardnumber 102
Depotnumber 104
Repairernumber 105
-
This data structure holds the details of a document specific to a site
-
Properties:
Name Type Description DocumentIdnumber The unique identifier of the document
FormKeystring Identifies the specific form that this document relates to. If set, this document will only be presented when the user is working with the specified form. If left empty, then all forms will present this document
VersionNonumber Identifies the specific version of this document
DocumentNamestring The title given to the document. Note this will differ to the File Name
DateModifiedstring The date/time as UTC, that this document was last changed.
FileNamestring The name of the file
IsActiveboolean During the site sync process, if the client posted a document which is not longer available on the server, then this field will be set to false and the client should immediately remove the document from any local cache
-
The various status values for a site. Please note, these values are subject to change. They are dependent on the customer requirements and change from instance to instance. The consistency is the numbers, but the labels do change. More numbers can also be added.
-
Properties:
Name Type Description NotApplicablenumber 700
PreCAPEXOperationalnumber 701
UnderCAPEXUpgradenumber 702
OperationalNotCommissionednumber 703
OperationalInServicenumber 704
Cancellednumber 705
-
This data structure holds the details of all sites synchronised from server to client
-
Properties:
Name Type Description SitesArray.<Appearition.Site.SiteSyncViewModel> A collection of site records
-
Represents a Site and all of the details
-
Properties:
Name Type Description SiteIdnumber The unique identifier for the site
SiteNamestring The name of the Site
MainsHybridGensetAppearition.Site.MainsHybridGensetEnum The numerical value of the MainsHybridGensetEnum.
ShelterTypeAppearition.Site.ShelterTypeEnum The numerical value of the ShelterTypeEnum.
AtlTypestring A text property of site
EquipmentDispositionstring A text property of site
UpgradeSpecialRequirementsstring A text property of site
Regionstring A text property of site
SiteTypestring A text property of site
Housingstring A text property of site
AccessDetailsstring A text property of site
Mapstring A text property of site
MapRefstring A text property of site
Addressstring A text property of site
AmgGridstring A text property of site
Eastingstring A text property of site
Northingstring A text property of site
MobileCoverstring A text property of site
KeyAccessstring A text property of site
Ownerstring A text property of site
IsKeySafeInstalledboolean A boolean property of site
CompoundKeystring A text property of site
ShelterKeystring A text property of site
CabinetKeystring A text property of site
Latitudenumber A coordinate used for the GPS location
Longitudenumber A coordinate used for the GPS location
DocsArray.<Appearition.Site.SiteDocSyncManifestViewModel> A collection of documents related to this specific site