/
_SolarVista Provider Object Format

_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"
    }
}