Do a "quick" search for an ID or Case Number
text to search the system for
Returns Promise object that represents a collection of the currently authenticated user's notifications
Execute a saved search
SearchId to execute
Optional
options: {Other options. See: /{subdirectory}/apidocs/#/service-info/Ams/Search
Returns Promise object that represents a list of Objects
Get a list of the saved searches by search type and specific entity types OR employeeSid/domainId. You cannot search for saved searches by both specific entity type AND employeeSid/domainId.
Get the saved searches for a particular type
Optional
applyToEntities: string[]Restrict GIS searches to specified entity types
Optional
employeeSid: numberThe employee SID to retrieve the searches as
Optional
domainId: numberThe domain ID of the domain to search
Returns Promise object that represents a collection of SearchDefinitionName
Convert a search definition to a query
searchIds to convert
Automatically save a query which converts with no errors, default is false
Use all values for boolean fields even though a boolean should only have one value, default is false and will only use the first boolean value
Create default filter when no filter is found, default is false
Returns Promise object that represents a SearchToQueryResult list
Delete search definitions
SearchIds to get.
Returns Promise object that represents a list (dictionary) of search IDs and deletion success boolean
Get a search definition
SearchId to get.
Optional
employeeSid: numberEnforces employee security settings on search definition if provided.
Returns Promise object that represents a SearchDefinition object
Get search definition names
SearchIds to get.
Returns Promise object that represents a collection of SearchDefinitionNames
Get search definitions
SearchIds to get.
Optional
employeeSid: numberEnforces employee security settings on search definition if provided.
Returns Promise object that represents a collection of SearchDefinition objects
Save a search definition
Name of type to search for from searchTypes
Optional
options: ObjectOther options. See: /{subdirectory}/apidocs/#/service-info/Ams/Search
SearchId to update. Defaults to "0" which is "Create new saved search"
Returns Promise object that represents a SearchDefinitionName object
Disable Service URLs on Saved Searches
Search IDs to enable eURL on
Returns Promise object that represents a dictionary of SearchIds and EURL booleans
Get a list display fields for a Search Type
Restrict GIS searches to specified entity types
Returns Promise object that represents a collection of SearchDisplayFields
Enable Service URLs on Saved Searches
Search IDs to enable eURL on
Returns Promise object that represents a dictionary of SearchIds and EURL booleans
Get a list search types
Returns Promise object that represents a collection of SearchTypeInfo objects
Search Types: Null, Request, WorkOrder, Inspection, Contract, Permit, GIS, PermitTask, PermitAddress, InspCommon, Case, WorkOrderEntity, StoreTransaction, Requisition, Material, WorkActivity, MaterialLeaf, WoTemplate, Unknown, Employee, MessageQueue, Analytics, TokenState, AssetCalculationResult, Equipment, CustomerAccount, InspTemplate, ProblemLeaf, AssetSplitRecord, PavementInsp, TvInspection, Projects