Skip to main content

Social Media & CRM Endpoints (cont.)

Opps (continued)

GET /Opportunities (additional parameters)

ParameterTypeDescription
order2stringSecondary sort field
startdatestringStart date (for use with datesearch)
enddatestringEnd date (for use with datesearch)
datesearchstringDate field to search — e.g. dateoccured, datecleared
domainstringFilter by domain — reqs, opps, or prjs
facebook_idstringFilter by Facebook ID
site_idintegerFilter by site ID
teamstringArray of team IDs
user_idintegerFilter by user ID
view_idintegerFilter profile ID
include_custom_fieldsstringComma-separated custom field IDs to include
cf_display_values_onlybooleanReturn display values only for custom fields (faster query)
includedetails (various)booleanVarious flags to include detail sub-objects
ticketidonlybooleanReturn only ID fields (not compatible with pagination)
default_columnsbooleanInclude only default columns
utcoffsetnumberUTC offset to apply to dates

POST /Opportunities

Create a new Opportunity.

Request Body: Array of Faults

Response: Faults (201 Created)

Key fields:

FieldTypeDescription
idintegerOpportunity ID (auto-assigned)
summarystringOpportunity title/summary
detailsstringFull description
dateoccurreddatetimeDate opportunity was created
status_idintegerStatus ID
tickettype_idintegerTicket type ID
client_idintegerAssociated client ID
site_idintegerAssociated site ID
user_idintegerAssociated user/contact ID
agent_idintegerAssigned agent ID
team_idintegerAssigned team ID
priority_idintegerPriority ID
sla_idintegerSLA ID
oppcontactnamestringOpportunity contact name
oppcompanynamestringOpportunity company name
oppemailaddressstringOpportunity email address
opptelstringOpportunity telephone
oppvaluenumberOpportunity value
oppvalue_monthlynumberMonthly recurring value
oppvalue_annualnumberAnnual recurring value
oppvalue_oneoffnumberOne-off value
oppconversionprobabilitynumberConversion probability (0-100)
oppprofitnumberExpected profit
oppcurrentsystemstringProspect's current system
oppcompetitorsstringCompetitors involved
oppdemodatedatetimeDemo date
opptrialdatedatetimeTrial date
oppdiscountdatedatetimeDiscount expiry date
oppconverteddatedatetimeDate opportunity was converted
oppreasonstringWin/loss reason
pipeline_stage_idintegerCRM pipeline stage ID
followupdatedatetimeFollow-up date
startdatedatetimeStart date
targetdatedatetimeTarget close date
customfieldsarrayCustom field values

GET /Opportunities/{id}

Summary: Get one Faults (Opportunity)

Returns a single Opportunity. Requires authentication.

ParameterTypeDescription
idinteger (path, required)Opportunity ID
includedetailsbooleanInclude extra objects in the response
includelastactionbooleanInclude the last action
includelastappointmentbooleanInclude the last appointment
includenextappointmentbooleanInclude the next appointment
includelinkedobjectsbooleanInclude linked objects
include_auditingbooleanInclude audit trail
nocachebooleanBypass response cache
ticketidonlybooleanReturn only ticket ID details
isteamsbooleanReturn as Teams-compatible format
utcoffsetnumberUTC offset to apply to dates

Response Schema: Faults

DELETE /Opportunities/{id}

Summary: Delete one Faults (Opportunity)

Deletes a specific Opportunity. Requires authentication.

ParameterTypeDescription
idinteger (path, required)Opportunity ID
reasonstringDeletion reason

POST /Opportunities/View

Submit a view event for an Opportunity.

Request Body: Array of Faults


Journey

Manage journey/travel records associated with tickets (mileage tracking for field service).

GET /Journey

Returns a list of Journey records.

POST /Journey

Create or update Journey records.

Request Body: Array of Journey

Key fields:

FieldTypeDescription
idintegerJourney ID
faultidintegerAssociated ticket ID
actionnumberintegerAssociated action number
descriptionstringJourney description
startdatedatetimeJourney start date/time
enddatedatetimeJourney end date/time
startodometernumberStarting odometer reading
endodometernumberEnding odometer reading
vehiclestringVehicle identifier
startgpsstringStarting GPS coordinates
endgpsstringEnding GPS coordinates
invoiceablebooleanWhether the journey is billable
typeintegerJourney type

GET /Journey/{id}

Summary: Get one Journey

Returns a single Journey instance. Requires authentication.

ParameterTypeDescription
idinteger (path, required)Journey ID
includedetailsbooleanInclude extra detail objects

DELETE /Journey/{id}

Delete a Journey record.

ParameterTypeDescription
idinteger (path, required)Journey ID

Feed

Activity feed for agents — a chronological stream of events across tickets, clients, and assets.

GET /Feed

Summary: List of Feed

Returns multiple Feed items. Requires authentication.

ParameterTypeDescription
accountmanager_idintegerFilter by account manager ID
agent_onlybooleanReturn only agent-related items
countintegerNumber of feed items to return
exclude_privatebooleanExclude private feed items
followed_onlybooleanReturn only items from followed tickets/clients
newer_than_idintegerReturn items newer than this feed ID
older_than_idintegerReturn items older than this feed ID
one_agent_idintegerFilter to a single agent's activity
one_agents_tickets_idintegerFilter to tickets assigned to a specific agent
one_user_idintegerFilter to a single user's activity
related_asset_idintegerFilter by related asset ID
related_client_idintegerFilter by related client ID
related_site_idintegerFilter by related site ID
related_user_idintegerFilter by related user ID
user_onlybooleanReturn only end-user-related items

Feedback

Manage customer satisfaction survey responses.

GET /Feedback

Returns a list of Feedback records.

POST /Feedback

Create or update Feedback records.

Request Body: Array of Feedback

Key fields:

FieldTypeDescription
idintegerFeedback ID
ticket_idintegerAssociated ticket ID
keystringUnique feedback key/token
scoreintegerSatisfaction score
score_bandintegerScore band/category
datedatetimeDate feedback was submitted
commentstringCustomer comment
user_messagestringMessage shown to the user
is_surveybooleanWhether this is a survey response
customsurveyfieldsarrayCustom survey field responses
fieldsarrayRequest type field values
automation_idintegerAssociated automation ID

GET /Feedback/{id}

Summary: Get one Feedback

Returns a single Feedback instance. Requires authentication.

ParameterTypeDescription
idinteger (path, required)Feedback ID
includedetailsbooleanInclude extra detail objects
keystringFeedback access key/token
clearcommentbooleanClear the comment after retrieval

DELETE /Feedback/{id}

Delete a Feedback record.

ParameterTypeDescription
idinteger (path, required)Feedback ID

GET /Feedback/FeedbackMessage

Returns feedback message templates.


HaloNews

Manage HaloPSA news/announcement banners displayed to agents or end users.

GET /HaloNews

Returns a list of HaloNews records.

POST /HaloNews

Create or update HaloNews records.

Request Body: Array of HaloNews

Key fields:

FieldTypeDescription
idintegerNews item ID
namestringInternal name
titlestringDisplay title
detailsstringContent body
cssstringCustom CSS (max 4000 chars)
usestringWhere the news item is displayed
button_labelstringCall-to-action button label
button_urlstringCall-to-action button URL
start_datedatetimeWhen the announcement becomes active
end_datedatetimeWhen the announcement expires
agent_typeintegerWhich agent type can see this
customer_typeintegerWhich customer type can see this
enabled_moduleintegerModule required to be enabled
readbooleanWhether the current user has read it
min_versionstringMinimum HaloPSA version required
max_versionstringMaximum HaloPSA version applicable

GET /HaloNews/{id}

Summary: Get one HaloNews

Returns a single HaloNews instance. Requires authentication.

ParameterTypeDescription
idinteger (path, required)HaloNews ID
includedetailsbooleanInclude extra detail objects

DELETE /HaloNews/{id}

Delete a HaloNews record.

ParameterTypeDescription
idinteger (path, required)HaloNews ID

POST /HaloNews/read

Mark HaloNews items as read.

Request Body: Array of integers (HaloNews IDs)


MessageContent

Manage email templates (also called message content) used for notifications and communications.

GET /EmailTemplate

Summary: List of MessageContent

Returns multiple MessageContent records. Requires authentication.

ParameterTypeDescription
access_control_levelintegerFilter by access control level
messagegroupintegerFilter by message group ID
isconfigbooleanReturn configuration templates only
ignore_mgbooleanIgnore message group filtering
release_onlybooleanReturn release-related templates only
portalcssbooleanReturn portal CSS templates

POST /EmailTemplate

Create or update email templates.

Request Body: Array of MessageContent

Key fields:

FieldTypeDescription
idintegerTemplate ID
namestringTemplate name
descriptionstringTemplate description
body_textstringPlain text body
body_htmlstringHTML body
body_smsstringSMS body
call_scriptstringPhone call script
typeintegerTemplate type
usestringTemplate usage context
messagegroup_idintegerMessage group ID
access_control_levelintegerAccess control level
announcement_end_datedatetimeExpiry date for announcement templates
variablesarrayTemplate variable definitions
approvalprocessesarrayAssociated approval processes
emailrulesarrayEmail trigger rules
tickettypesarrayAssociated ticket types
statusesarrayAssociated statuses

GET /EmailTemplate/{id}

Summary: Get one MessageContent

Returns a single MessageContent record. Requires authentication.

ParameterTypeDescription
idinteger (path, required)Template ID
includedetailsbooleanInclude extra detail objects
messagegroupintegerMessage group context

DELETE /EmailTemplate/{id}

Delete a MessageContent record.

ParameterTypeDescription
idinteger (path, required)Template ID

POST /EmailTemplate/preview

Generate a preview of a message template.

Request Body: Single MessageContent object


MessageContentVariable

Manage custom variables for email templates.

GET /EmailTemplateVariable

Returns a list of MessageContentVariable records.

POST /EmailTemplateVariable

Create or update MessageContentVariable records.

Request Body: Array of MessageContentVariable

Key fields:

FieldTypeDescription
idintegerVariable ID
emailtemplate_idintegerAssociated template ID
variablestringVariable name/token
textstringVariable default content (max 100000 chars)
translationsarrayTranslated values per language

GET /EmailTemplateVariable/{id}

Returns a single MessageContentVariable record.

ParameterTypeDescription
idinteger (path, required)Variable ID

DELETE /EmailTemplateVariable/{id}

Delete a MessageContentVariable record.

ParameterTypeDescription
idinteger (path, required)Variable ID

NotificationContent

Manage notification message templates for push/in-app notifications.

GET /NotificationMessage

Returns a list of NotificationContent records.

POST /NotificationMessage

Create or update NotificationContent records.

Request Body: Array of NotificationContent

Key fields:

FieldTypeDescription
idintegerNotification ID
namestringNotification name
messagestringShort notification message
body_textstringFull notification body text

GET /NotificationMessage/{id}

Summary: Get one NotificationContent

Returns a single NotificationContent instance. Requires authentication.

ParameterTypeDescription
idinteger (path, required)NotificationContent ID
includedetailsbooleanInclude extra detail objects

DELETE /NotificationMessage/{id}

Delete a NotificationContent record.

ParameterTypeDescription
idinteger (path, required)NotificationContent ID

NotificationLog

GET /NotificationLog

Returns the notification log — a history of notifications sent by the system.