Optional
adminAttachments methods
Request Comments methods
Request Costing methods
Get a list of problem nodes for a domain
Returns Promise that represents a collection of problem node objects.
The domain ID for which to retrieve problem nodes.
Return only view only problem nodes. Defaults to false.
Optional
displayMode: ObjectObject that should contain two properties if you provide it: DisplayTextMode: string (C = Code, D = Description, CD = Code ~ Description). DisplayTextDelimeter: string, only impacts CD display text mode.
Return only cancelled problem nodes as well. Defaults to false.
Get the records on the basis of RequestId, only populates RequestId, Description, ProblemCode properties
Returns Promise that represents a collection of the matching (limited) request objects
???, see instance docs: /{subdirectory}/apidocs/#/service-info/Ams/ServiceRequest
Get a list of possible Employee values
Returns Promise that represents an Array of Employee options.
Which list (endpoint) to get. Includes only DispatchTo & SubmitTo.
Domain to return possible dispatchTo values for
Get a list of problem codes
Returns Promise that represents an Array of problem name objects.
Return only publicly-available service requests. Defaults to false.
Return only active templates. Defaults to true.
Optional
domainIds: number[]Search for requests
Returns Promise that represents an Array of the matching request IDs
The search information to retrieve matched requests, see instance docs: /{subdirectory}/apidocs/#/service-info/Ams/ServiceRequest
Create a search definition. Save the definition by setting SaveDefinition = true and supplying a SearchName.
Returns Promise that represents a collection of Cityworks Metadata Objects. See: /{subdirectory}/apidocs/#/data-type-info;dataType=CWMetadata
Search data variables. See /{subdirectory}/apidocs/#/service-info/Ams/ServiceRequestTemplate
Optional
searchName: stringWhat to name your search (if it should be saved)
Optional
sharedWithin: numberWhat group or domain to share the search to.
Whether or not to save the search definition. Defaults to true when a search name is specified.
Get the questions and answers for a(many) request template(s)
Returns Promise that represents a collection of ProblemQAs. See /{subdirectory}/apidocs/#/data-type-info;dataType=ProblemQA
An array list of problemSids to retrieve templates for
Optional
minimumDateModified: DateOptional
maximumDateModified: DateGet request templates (problem leaf[s])
Returns Promise that represents a collection of Problem Leafs. See /{subdirectory}/apidocs/#/data-type-info;dataType=ProblemLeaf
Optional
templateIds: number[]Array of specific template IDs to retrieve
If true, only return templates the user can create, ignored if false or null, default is false
If true, returns inactive templates, default is false
Optional
minimumDateModified: Date?
Optional
maximumDateModified: Date?
Get a list of templates
Returns Promise that represents
An array list of problemSids to retrieve templates for
Optional
minimumDateModified: Date?
Optional
maximumDateModified: Date?
Get WorkOrder templates that are associated to this request template type
Returns Promise that represents a collection of Problem WO Templates. See /{subdirectory}/apidocs/#/data-type-info;dataType=ProblemWOTemplate
An array list of problemSids to retrieve Problem WO templates for
Get a list of template id results for a provided search parameters
Returns Promise that represents a list of template IDs.
Search data variables. See /{subdirectory}/apidocs/#/service-info/Ams/ServiceRequestTemplate
Cancel requests
Returns object that represents a collection of requests
An array of the IDs to cancel the matched requests
Optional
cancelReason: stringA reason for cancelling the request(s)
Optional
dateCancelled: DateThe date/time that it should be indicated the request was cancelled
Change custom field category for provided requests
Returns Promise that represents a collection of requests
The RequestIds whose custom fields should be returned
The new custom field grouping/category which should be assigned to the provided requests
Change a request's problem code
Returns Promise that represents an object describing the updated request
The request ID to change
The request's new ProblemSID
Create a search definition. Save the definition by setting SaveDefinition = true and supplying a SearchName.
Returns Promise that represents a collection of Cityworks Metadata Objects
Search data variables. See /{subdirectory}/apidocs/#/service-info/Ams/ServiceRequest
Optional
searchName: stringWhat to name your search (if it should be saved)
Optional
sharedWithin: numberWhat group or domain to share the search to.
Whether or not to save the search definition. Defaults to true when a search name is specified.
Whether or not to enable EURL for the saved search. Defaults to true.
Move a request's point
Returns Promise that represents an object describing the updated GISPoint
Should include at least WKT or WKID attribute. Can also include VcsWKID attribute.
Optional
VcsWKID?: stringOptional
WKID?: stringOptional
WKT?: stringOptional
z: numberOptional Z coordinate
Update Map Layer Fields
Returns Promise that represents a ...
The service request ID to get the map layer fields for.
Optional
x: numberOptional
y: numberOptional
domainId: numberDomain ID
Optional
z: numberOptional Z coordinate
Request Administration methods