Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Info

The SolarVista Provider object is part of the overall ServiceBroker Configuration object, in the following location:

SolarVista Provider object is used within the context of a REST Objects Providers (itself part of an REST Objects Configuration) to represent the details of how ServiceBroker is to be integrated with a SolarVista CRM for the relevant tenant.    

 



Panel
borderColorgrey
bgColorwhitesmoke

On this page:

Table of Contents
maxLevel3

Related pages:


SolarVista Provider Object Format

Include Page
unknown page (AC1B2805017C4895924997295675665F)
unknown page (AC1B2805017C4895924997295675665F)

SolarVista Provider Object Properties


PropertyTypeRequired?Description
HoststringYesBase URL for SolarVista API calls.
FeaturesobjectYes



_queryCustomerApptInfo

objectYes


Endpoint

stringYes"/ServiceCentre/v2/{AccountId}/default/jobs/{jobId}/jobActions", // Endpoint for querying customer appointment information, with placeholders for account ID and job ID.


ResponseOverwrite

objectYesThe predefined Object to overwrite the appointment inform



ApptSearchInfo

objectYes




WorkType

objectYes





Name

stringYesSpecifies the type of work for the appointment. e.g. "AL2"



Days

string

YesFormat or criteria for selecting appointment days.



Index

integerYesIndex for the starting point of appointment search.



OfferOptions

objectYes




AllowEmpOT

booleanYesOption to allow employee overtime for appointments. e.g. true



ApptBookingInfo

objectYesContainer for appointment booking information, currently empty.









_createCustomerAppt

objectYes


Endpoint

stringYes"https://sv-servicepowerintegration-fn-westeu-prod.azurewebsites.net/api/{AccountId}/createjob?code={AccountCode}", // Endpoint for creating a customer appointment, includes placeholders for account ID and account code.


ResponseOverwrite

objectYesSimilar structure to _queryCustomerApptInfo, use the preconfigured Object to overwrite the Appointment Search response.



ApptSearchInfo

objectYes




WorkType

objectYes





Name

stringYesSpecifies the type of work for the appointment




Days

stringYesFormat or criteria for selecting appointment days.




Index

integerYesIndex for the starting point of appointment search.




OfferOptions

objectYes





AllowEmpOT

booleanYesOption to allow employee overtime for appointments. e.g. true



ApptBookingInfo

objectYesContainer for appointment booking information, currently empty.









_queryCustomerInfo

objectYes


Endpoint

stringYesEndpoint for querying customer information, with placeholders for account ID and instance ID. e.g. "/ContactCentre/v2/{AccountId}/{InstanceId}/customers"

_updateCustomerApptInfo

objectYes


Endpoint

stringYes"/ServiceCentre/v2/{AccountId}/{InstanceId}/jobActions/{jobActionId}" // Endpoint for updating customer appointment information, with placeholders for various IDs.

Props

objectYes

AuthEndpoint

stringYes"/ServiceCentre/v2/{AccountId}/default/jobs/{jobId}/jobActions", // Endpoint for querying customer appointment information, with placeholders for account ID and job ID.

AuthClientId

stringYes"xxx-xxxx-xx-xxx-xxxx", // Client ID for OAuth2 authentication.

AuthClientSecret

stringYes"xxxxxxxxx=", // Client secret for OAuth2 authentication.

AuthGrantType

stringYes"client_credentials", // Type of grant used for OAuth2 authentication.

AuthResource

stringYes"http://live.solarvista.com/live-service", // The resource URI for OAuth2 authentication.

AccountId

stringYes"xxxxx-xxxxx-4124-a4ce-xxxxx", // Unique identifier for the account.

AccountCode

stringYes"xxxxxxxxxxxx", // Encoded account code used in API calls.

InstanceId

stringYes"default", // Instance ID, used to specify a particular instance in multi-instance setups.

customerEquipments

stringYes"/ContactCentre/v2/{AccountId}/default/customers/{customerId}/equipment", // Endpoint for querying customer equipment, with placeholders for account ID and customer ID.

problemCodes

stringYes"/ServiceCentre/v2/{AccountId}/default/jobs/{equipmentClassID}/relatedproblems" // Endpoint for querying problem codes related to a specific class of equipment.