[This is preliminary documentation and is subject to change.]

The IOccurrence type exposes the following members.

Methods

  NameDescription
Public methodCreateNewOccurrence
Enables a user to raise a new occurrence.
Public methodGetChangedForms
Returns a list of forms that have changed from the versions and last synced date passed in along with an indication of whether the change was a delete
Public methodGetDataFields
Gets a list of DataFields that are supported by the Occurrence module
Public methodGetDataFieldsForReportType
Gets a list of DataFields supported for a given report type.
Public methodGetFormDataByFormIDs
Returns layout and field information about all the requested occurrence\ report forms
Public methodGetOccurrence
Enables a user to view an existing occurrence.
Public methodGetOccurrenceGotoUrl
Enables a user to return a Url to open an occurrence in QPulse Web.
Public methodGetOccurrenceIDs
Enables a user to search for occurrences. This method is an alternative to GetOccurrences(). Where GetOccurrences() returns full descriptions of found records, GetOccurrenceIDs() returns only the Occurrence Numbers. You can then retrieve the full details using GetOccurrence()
Public methodGetOccurrences
Enables a user to search for occurrences. This method is an alternative to GetOccurrenceIDs(). Where GetOccurrenceIDs() returns only the Occurrence Numbers, GetOccurrences() returns full descriptions of found records.
Public methodGetReferenceList
Exposes a list of items for use in completing occurrence forms (within DataFields).
Public methodGetReportTypesForJobRole
Returns a list of report types that are filtered by the job roles that the user defined in the authentication is assigned to and that have a non-archived, active report form associated with it. If job role filtering is not enabled all report types will be returned.
Public methodListAvailableReportTypes
Gets a list of ReportTypes that are supported by the Occurrence Module.
Public methodRejectOccurrence
Reject occurrence takes an occurence Id and sets the Occurrence record with that Id to be Rejected. It will throw an exception when the occurrence does not exist or when the occurrence has already been accepted. Otherwise it successfully rejects the occurrence and will store a note detailing the reason behind the rejection

See Also