The Case Object to attach the data group to.
Whether or not to update the Case's X/Y values when attaching the asset. Defaults to true.
Optional
options: {Options for CaseDataGroup including Address, AddressId, AssetId, AssetObjectId, AssetType, CityName, CrossStreet, DateExpired, ExpiredFlag, Facility_Id, FeatureAssetId, FeatureClass, FeatureObjectId, LegacyId, Level_Id, LndObjectId, Location, MasterFlag, ObjectId, StateCode, StreetDirection, StreetFraction, StreetName, StreetNumber, StreetPostDir, StreetType, Suite, TileNo, UpdateCaseData, XCoord, YCoord, ZCoord, and ZipCode
Returns Promise that represents an object describing CaAddress. // {"AddressId":OBJECTID,"AssetId":"GUID","AssetType":"ASSET_NAME","CaObjectId":CA_OBJECTID,"FeatureAssetId":"GUID","FeatureClass":"ASSET_NAME","FeatureObjectId":OBJECTID,"Location":"Address string","ObjectId":"OBJECTID","XCoord":,"YCoord":,"UpdateCaseData":false}
Detach specific asset from case
Whether or not to update the Case's X/Y values when detaching the assets. Defaults to true.
Returns Promise that represents a collection of the default CaDataGroupItemBases.
Detach all assets from case
The Case Object to detach the assets from.
Whether or not to update the Case's X/Y values when detaching the asset(s). Defaults to false.
Returns Promise that represents a collection of detached CaAddressIds.
Get assets attached to a specific case
The Case Object from which to get attached assets
Returns Promise that represents a collection of the default CaAddresses.
Search for Case Assets. Include one or more of the search fields. A logical 'and' operation is applied to muliple search fields
Optional
filters: ObjectThe parameters to search by. (AssetType, CaAddressId, CaObjectId, CityName, ExpiredFlag, StateCode, StateName, StreetName, StreetNumber, Suite, ZipCode)
Returns Promise that represents an Array of resulting CaAddresses
Attach asset to case