Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Next »

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.



SolarVista Provider Object Format

JSON Format
{
    "Host": "https://api-hub-live.solarvista.com",
    "Features": {
        "_queryCustomerApptInfo": {
            "Endpoint": "/ServiceCentre/v2/{AccountId}/default/jobs/{jobId}/jobActions",
            "ResponseOverwrite": {
                "ApptSearchInfo": {
                    "WorkType": {
                        "Name": "AL2"
                    },
                    "Days": "YYYYYYY",
                    "Index": 0,
                    "OfferOptions": {
                        "AllowEmpOT": true
                    }
                },
                "ApptBookingInfo": {}
            }
        },
        "_createCustomerAppt": {
            "Endpoint": "",
            "ResponseOverwrite": {
                "ApptSearchInfo": {
                    "WorkType": {
                        "Name": "AL2"
                    },
                    "Days": "YYYYYYY",
                    "Index": 0,
                    "OfferOptions": {
                        "AllowEmpOT": true
                    }
                },
                "ApptBookingInfo": {}
            }
        },
        "_queryCustomerInfo": {
            "Endpoint": "/ContactCentre/v2/{AccountId}/{InstanceId}/customers"
        },
        "_updateCustomerApptInfo": {
            "Endpoint": "/ServiceCentre/v2/{AccountId}/{InstanceId}/jobActions/{jobActionId}"
        }
    },
    "Props": {
        "AuthEndpoint": "https://login.windows.net/live.solarvista.com/oauth2/token",
        "AuthClientId": "",
        "AuthClientSecret": "",
        "AuthGrantType": "client_credentials",
        "AuthResource": "http://live.solarvista.com/live-service",
        "AccountId": "",
        "AccountCode": "",
        "InstanceId": "default",
        "customerEquipments": "/ContactCentre/v2/{AccountId}/default/customers/{customerId}/equipment",
        "problemCodes": "/ServiceCentre/v2/{AccountId}/default/jobs/{equipmentClassID}/relatedproblems"
    }
}

SolarVista Provider Object Properties


PropertyTypeRequired?Description
HoststringYesTBC
FeaturesobjectYes

TBC


_queryCustomerApptInfo

objectYesTBC


Endpoint

stringYesTBC


ResponseOverwrite

objectYesTBC



ApptSearchInfo

objectYesTBC




WorkType

objectYesTBC





Name

stringYesTBC



Days

string

YesTBC



Index

integerYesTBC



OfferOptions

objectYesTBC




AllowEmpOT

booleanYesTBC



ApptBookingInfo

objectYesTBC







TBC

_createCustomerAppt

objectYesTBC


Endpoint

stringYesTBC


ResponseOverwrite

objectYesTBC



ApptSearchInfo

objectYesTBC




WorkType

objectYesTBC





Name

stringYesTBC




Days

stringYesTBC




Index

integerYesTBC




OfferOptions

objectYesTBC





AllowEmpOT

booleanYesTBC



ApptBookingInfo

objectYesTBC







TBC

_queryCustomerInfo

objectYesTBC


Endpoint

stringYesTBC

_updateCustomerApptInfo

objectYesTBC


Endpoint

stringYesTBC

Props

objectYesTBC

AuthEndpoint

stringYesTBC

AuthClientId

stringYesTBC

AuthClientSecret

stringYesTBC

AuthGrantType

stringYesTBC

AuthResource

stringYesTBC

AccountId

stringYesTBC

AccountCode

stringYesTBC

InstanceId

stringYesTBC

customerEquipments

stringYesTBC

problemCodes

stringYesTBC
  • No labels