Get Work Type Groups
A work type group represents a general appointment category or topic, such as a home loan or investment. Show your users your work type groups on the landing page by retrieving the list of work type groups from your Salesforce instance. Your users can select a work type group from the list while booking appointments.
-
Create a page to show your work type groups.
-
Use the
Query()request on the WorkTypeGroup object to retrieve the list of work type groups from your Salesforce instance.Sample Request
Where
YOUR_INSTANCEis a variable.Sample Response
The request returns the work type group records.
-
Parse the JSON response, and display the work type groups on a page that you created.
Your users can select a work type group for the appointment from the page.