Events (1.0.0)
Download OpenAPI specification:Download
Created Webhook
A new project has been created
Request Body schema: application/jsonrequired
type required | string Value: "Project.Created" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
data required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Project.Created",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": { },
- "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
ContractAccepted Webhook
The contract for a project has been accepted by the customer
Request Body schema: application/jsonrequired
type required | string Value: "Project.ContractAccepted" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Project.ContractAccepted",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "acceptedAt": "2019-08-24T14:15:22Z"
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
DepositPaid Webhook
The user has paid the deposit on a project
Request Body schema: application/jsonrequired
type required | string Value: "Project.DepositPaid" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Project.DepositPaid",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "amount": {
- "currency": "string",
- "formatted": "string",
- "precision": 0,
- "value": 0
}
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
FileAdded Webhook
A file has been added to a project
Request Body schema: application/jsonrequired
type required | string Value: "Project.FileAdded" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Project.FileAdded",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "file": {
- "code": "string",
- "directory": "string",
- "fileName": "string",
- "hash": "string",
- "href": "string",
- "label": "string",
- "lastModified": "2019-08-24T14:15:22Z",
- "sizeBytes": 0,
- "type": "string"
}
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
Rejected Webhook
A project has been rejected
Request Body schema: application/jsonrequired
type required | string Value: "Project.Rejected" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Project.Rejected",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "rejectReason": "Cannot service location"
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
StageChanged Webhook
A project has a new stage
Request Body schema: application/jsonrequired
type required | string Value: "Project.StageChanged" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Project.StageChanged",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "oldStage": "ONBOARDING",
- "newStage": "QUOTING",
- "state": "DESIGNING"
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
StateChanged Webhook
A project has a new state
Request Body schema: application/jsonrequired
type required | string Value: "Project.StateChanged" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Project.StateChanged",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "oldState": "ONBOARDING",
- "newState": "DESIGNING",
- "stage": "QUOTING"
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
AddressChanged Webhook
The address on a site has been changed
Request Body schema: application/jsonrequired
type required | string Value: "Site.AddressChanged" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Site.AddressChanged",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "addressLine1": "100 Main Road",
- "suburb": "Hobart",
- "state": "TAS",
- "postCode": 1234,
- "latitudeDeg": -42.967508,
- "longitudeDeg": 147.214441
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac"
}
ContactChanged Webhook
The contact details on a site have been changed. Only used for commercial sites.
Request Body schema: application/jsonrequired
type required | string Value: "Site.ContactChanged" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Site.ContactChanged",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "contactFirstName": "Ray",
- "contactLastName": "Beam",
- "contactMobile": 61400000000
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac"
}
Created Webhook
A new Site has been created
Request Body schema: application/jsonrequired
type required | string Value: "Site.Created" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Site.Created",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "addressLine1": "100 Main Road",
- "suburb": "Hobart",
- "state": "TAS",
- "postCode": 1234,
- "latitudeDeg": -42.967508,
- "longitudeDeg": 147.214441,
- "timezone": "Australia/Hobart",
- "phaseNum": 2,
- "dnsp": "NL0000TSTEST0",
- "nmi": 123456789
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac"
}
Rejected Webhook
A site has been rejected
Request Body schema: application/jsonrequired
type required | string Value: "Site.Rejected" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Site.Rejected",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "siteId": "string",
- "rejectionReason": "This is not a house, it is a cow."
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac"
}
VppAssetDetailsConfirmed Webhook
The VPP asset details on a site have been confirmed
Request Body schema: application/jsonrequired
type required | string Value: "Site.VppAssetDetailsConfirmed" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Site.VppAssetDetailsConfirmed",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "siteId": "string"
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac"
}
VppAssetOnboarded Webhook
The VPP asset has been onboarded
Request Body schema: application/jsonrequired
type required | string Value: "Site.VppAssetOnboarded" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Site.VppAssetOnboarded",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "siteId": "string"
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac"
}
VppAssetRejected Webhook
The VPP asset has been rejected
Request Body schema: application/jsonrequired
type required | string Value: "Site.VppAssetRejected" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Site.VppAssetRejected",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "siteId": "string"
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac"
}
Created Webhook
A new customer has been created
Request Body schema: application/jsonrequired
type required | string Value: "Customer.Created" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Customer.Created",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "firstName": "string",
- "lastName": "string",
- "mobile": "string",
- "ref": "string",
- "xref": "string",
- "class": "string",
- "primeContractor": "string"
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
ContactDetailsChanged Webhook
The name, email, mobile number, or mobile verification status of the customer has been changed
Request Body schema: application/jsonrequired
type required | string Value: "Customer.ContactDetailsChanged" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Customer.ContactDetailsChanged",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "firstName": "string",
- "lastName": "string",
- "mobile": "+61400000000",
- "isVerifiedMobile": true
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
PrimeContractorChanged Webhook
The prime contractor for a customer has been changed
Request Body schema: application/jsonrequired
type required | string Value: "Customer.PrimeContractorChanged" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Customer.PrimeContractorChanged",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "primeContractor": "initech"
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
Created Webhook
A new job has been created
Request Body schema: application/jsonrequired
type required | string Value: "Job.Created" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Job.Created",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "jobRef": "string",
- "parentJobId": "f191323c-cca3-42d1-b291-1b7622b505c0",
- "jobType": "string"
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
StateChanged Webhook
A job has a new state. NOTE: This event will fire even if the state is the same as it was before.
Request Body schema: application/jsonrequired
type required | string Value: "Job.StateChanged" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Job.StateChanged",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "jobRef": "string",
- "parentJobId": "f191323c-cca3-42d1-b291-1b7622b505c0",
- "jobType": "string",
- "oldState": "CREATED",
- "newState": "CREATED"
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
Assigned Webhook
A job has been assigned to an installer company
Request Body schema: application/jsonrequired
type required | string Value: "Job.Assigned" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Job.Assigned",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "jobRef": "string",
- "parentJobId": "f191323c-cca3-42d1-b291-1b7622b505c0",
- "jobType": "string",
- "installerCompanyId": "initech",
- "isAssignedToApp": true
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
Unassigned Webhook
A job has been unassigned from an installer company
Request Body schema: application/jsonrequired
type required | string Value: "Job.Unassigned" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Job.Unassigned",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "jobRef": "string",
- "parentJobId": "f191323c-cca3-42d1-b291-1b7622b505c0",
- "jobType": "string",
- "installerCompanyId": "initech",
- "isAssignedToApp": true
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
Scheduled Webhook
A job has been scheduled by the installer. NOTE: Jobs can be scheduled when they are accepted. In those cases this event will not fire
Request Body schema: application/jsonrequired
type required | string Value: "Job.Scheduled" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Job.Scheduled",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "jobRef": "string",
- "parentJobId": "f191323c-cca3-42d1-b291-1b7622b505c0",
- "jobType": "string",
- "installerCompanyId": "initech",
- "scheduledAt": "2019-08-24T14:15:22Z",
- "scheduledAtLocal": "2019-08-24T14:15:22Z"
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
Accepted Webhook
A job has been accepted by the installer
Request Body schema: application/jsonrequired
type required | string Value: "Job.Accepted" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Job.Accepted",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "jobRef": "string",
- "parentJobId": "f191323c-cca3-42d1-b291-1b7622b505c0",
- "jobType": "string",
- "installerCompanyId": "initech",
- "scheduledAt": "2019-08-24T14:15:22Z",
- "scheduledAtLocal": "2019-08-24T14:15:22Z"
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
Confirmed Webhook
A job has been confirmed by the installer
Request Body schema: application/jsonrequired
type required | string Value: "Job.Confirmed" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Job.Confirmed",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "jobRef": "string",
- "parentJobId": "f191323c-cca3-42d1-b291-1b7622b505c0",
- "jobType": "string",
- "installerCompanyId": "initech",
- "scheduledAt": "2019-08-24T14:15:22Z",
- "scheduledAtLocal": "2019-08-24T14:15:22Z"
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
Rescheduled Webhook
A job has been rescheduled by the installer
Request Body schema: application/jsonrequired
type required | string Value: "Job.Rescheduled" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Job.Rescheduled",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "jobRef": "string",
- "parentJobId": "f191323c-cca3-42d1-b291-1b7622b505c0",
- "jobType": "string",
- "installerCompanyId": "initech",
- "scheduledAt": "2019-08-24T14:15:22Z",
- "scheduledAtLocal": "2019-08-24T14:15:22Z",
- "rescheduleReason": "Clash with Taylor Swift concert",
- "previouslyScheduledAt": "2019-08-24T14:15:22Z",
- "previouslyScheduledAtLocal": "2019-08-24T14:15:22Z"
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
Rejected Webhook
A job has been rejected by the installer
Request Body schema: application/jsonrequired
type required | string Value: "Job.Rejected" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Job.Rejected",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "jobRef": "string",
- "parentJobId": "f191323c-cca3-42d1-b291-1b7622b505c0",
- "jobType": "string",
- "installerCompanyId": "initech",
- "rejectionReason": "I'm on holiday in a yurt without an internet connection",
- "rejectedByInstallerUserId": "string"
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
Cancelled Webhook
A job has been cancelled
Request Body schema: application/jsonrequired
type required | string Value: "Job.Cancelled" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Job.Cancelled",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "jobRef": "string",
- "parentJobId": "f191323c-cca3-42d1-b291-1b7622b505c0",
- "jobType": "string",
- "cancelReason": "Customer believes solar panels cause covid",
- "cancelledByUserId": "string"
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
Completed Webhook
A new job has been completed
Request Body schema: application/jsonrequired
type required | string Value: "Job.Completed" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Job.Completed",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "jobRef": "string",
- "parentJobId": "f191323c-cca3-42d1-b291-1b7622b505c0",
- "jobType": "string"
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
FileAdded Webhook
A file has been added to a job
Request Body schema: application/jsonrequired
type required | string Value: "Job.FileAdded" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Job.FileAdded",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "jobRef": "string",
- "parentJobId": "f191323c-cca3-42d1-b291-1b7622b505c0",
- "jobType": "string",
- "file": {
- "code": "string",
- "directory": "string",
- "fileName": "string",
- "hash": "string",
- "href": "string",
- "label": "string",
- "lastModified": "2019-08-24T14:15:22Z",
- "sizeBytes": 0,
- "type": "string"
}
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
InstallerTaskSubmitted Webhook
The installer has submitted a task on a job
Request Body schema: application/jsonrequired
type required | string Value: "Job.InstallerTaskSubmitted" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Job.InstallerTaskSubmitted",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "jobRef": "string",
- "parentJobId": "f191323c-cca3-42d1-b291-1b7622b505c0",
- "jobType": "string",
- "taskId": "customer_survey"
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
Submitted Webhook
The installer has submitted all tasks on a job
Request Body schema: application/jsonrequired
type required | string Value: "Job.Submitted" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Job.Submitted",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "jobRef": "string",
- "parentJobId": "f191323c-cca3-42d1-b291-1b7622b505c0",
- "jobType": "string",
- "taskIds": [
- "customer_survey",
- "site_inspection"
]
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
Reviewed Webhook
A review has been added to a job
Request Body schema: application/jsonrequired
type required | string Value: "Job.Reviewed" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Job.Reviewed",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "jobRef": "string",
- "parentJobId": "f191323c-cca3-42d1-b291-1b7622b505c0",
- "jobType": "string",
- "reviewType": "Site inspection review",
- "reviewData": {
- "outcome": "no_action",
- "comments": "The site was clean and tidy"
}, - "displayReviewData": [
- {
- "name": "outcome",
- "label": "QA Outcome",
- "value": "no_action",
- "displayValue": "Compliant and meets standards"
}
]
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
WeatherForecastAdded Webhook
A weather forecast has been added to a job
Request Body schema: application/jsonrequired
type required | string Value: "Job.WeatherForecastAdded" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Job.WeatherForecastAdded",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "jobRef": "string",
- "parentJobId": "f191323c-cca3-42d1-b291-1b7622b505c0",
- "jobType": "string",
- "forecastDate": "2019-08-24T14:15:22Z",
- "minTemperatureC": 12,
- "maxTemperatureC": 24,
- "precipitationMm": 0,
- "rainProbability": 0,
- "windSpeedKmh": 10,
- "windDirection": "NNW",
- "conditions": "Clear"
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
Created Webhook
A new quote has been created
Request Body schema: application/jsonrequired
type required | string Value: "Quote.Created" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Quote.Created",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "quoteId": "826e5192-f8c6-4e24-aab3-3910e46c52b7",
- "duplicateOfQuoteId": "7c512968-e53a-4ab3-9370-410bf1dc3783",
- "replacementOfQuoteId": "0196dfaf-e6b4-4204-a861-c89c82ddeca7"
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
StateChanged Webhook
A quote has a new state.
Request Body schema: application/jsonrequired
type required | string Value: "Quote.StateChanged" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Quote.StateChanged",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "quoteId": "826e5192-f8c6-4e24-aab3-3910e46c52b7",
- "oldState": "INITIATED",
- "newState": "INITIATED"
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
FileAdded Webhook
A file has been added to a quote
Request Body schema: application/jsonrequired
type required | string Value: "Quote.FileAdded" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Quote.FileAdded",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "quoteId": "826e5192-f8c6-4e24-aab3-3910e46c52b7",
- "file": {
- "code": "string",
- "directory": "string",
- "fileName": "string",
- "hash": "string",
- "href": "string",
- "label": "string",
- "lastModified": "2019-08-24T14:15:22Z",
- "sizeBytes": 0,
- "type": "string"
}
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
Accepted Webhook
A quote has been accepted
Request Body schema: application/jsonrequired
type required | string Value: "Quote.Accepted" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Quote.Accepted",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "quoteId": "826e5192-f8c6-4e24-aab3-3910e46c52b7"
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
Published Webhook
A quote has been published
Request Body schema: application/jsonrequired
type required | string Value: "Quote.Published" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Quote.Published",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "quoteId": "826e5192-f8c6-4e24-aab3-3910e46c52b7",
- "customerCostAmount": {
- "currency": "string",
- "formatted": "string",
- "precision": 0,
- "value": 0
}, - "customerGrossCostAmount": {
- "currency": "string",
- "formatted": "string",
- "precision": 0,
- "value": 0
}, - "customerGstAmount": {
- "currency": "string",
- "formatted": "string",
- "precision": 0,
- "value": 0
}, - "depositAmount": {
- "currency": "string",
- "formatted": "string",
- "precision": 0,
- "value": 0
}, - "isBattery": true,
- "isSolar": true
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
Rejected Webhook
A quote has been rejected
Request Body schema: application/jsonrequired
type required | string Value: "Quote.Rejected" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Quote.Rejected",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "quoteId": "826e5192-f8c6-4e24-aab3-3910e46c52b7"
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
Voided Webhook
A quote has been voided
Request Body schema: application/jsonrequired
type required | string Value: "Quote.Voided" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Quote.Voided",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "quoteId": "826e5192-f8c6-4e24-aab3-3910e46c52b7"
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
DiscountChanged Webhook
The discount on a quote has been changed
Request Body schema: application/jsonrequired
type required | string Value: "Quote.DiscountChanged" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Quote.DiscountChanged",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "quoteId": "826e5192-f8c6-4e24-aab3-3910e46c52b7",
- "customerCostAmount": {
- "currency": "string",
- "formatted": "string",
- "precision": 0,
- "value": 0
}, - "customerGrossCostAmount": {
- "currency": "string",
- "formatted": "string",
- "precision": 0,
- "value": 0
}, - "customerGstAmount": {
- "currency": "string",
- "formatted": "string",
- "precision": 0,
- "value": 0
}, - "depositAmount": {
- "currency": "string",
- "formatted": "string",
- "precision": 0,
- "value": 0
}, - "discountAmount": {
- "currency": "string",
- "formatted": "string",
- "precision": 0,
- "value": 0
}
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
ItemsUpdated Webhook
The items on a quote have been updated
Request Body schema: application/jsonrequired
type required | string Value: "Quote.ItemsUpdated" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Quote.ItemsUpdated",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "quoteId": "826e5192-f8c6-4e24-aab3-3910e46c52b7",
- "customerCostAmount": {
- "currency": "string",
- "formatted": "string",
- "precision": 0,
- "value": 0
}, - "customerGrossCostAmount": {
- "currency": "string",
- "formatted": "string",
- "precision": 0,
- "value": 0
}, - "customerGstAmount": {
- "currency": "string",
- "formatted": "string",
- "precision": 0,
- "value": 0
}, - "depositAmount": {
- "currency": "string",
- "formatted": "string",
- "precision": 0,
- "value": 0
}
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
GovernmentSupportUpdated Webhook
The government support configuration on a quote has been updated
Request Body schema: application/jsonrequired
type required | string Value: "Quote.GovernmentSupportUpdated" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Quote.GovernmentSupportUpdated",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "quoteId": "826e5192-f8c6-4e24-aab3-3910e46c52b7",
- "customerCostAmount": {
- "currency": "string",
- "formatted": "string",
- "precision": 0,
- "value": 0
}, - "customerGrossCostAmount": {
- "currency": "string",
- "formatted": "string",
- "precision": 0,
- "value": 0
}, - "customerGstAmount": {
- "currency": "string",
- "formatted": "string",
- "precision": 0,
- "value": 0
}, - "isGovSubsidyApplied": true,
- "govSupportProgram": "string",
- "govSubsidyAmount": {
- "currency": "string",
- "formatted": "string",
- "precision": 0,
- "value": 0
}, - "isGovLoanRequested": true,
- "isGovLoanApplied": true,
- "govLoanAmount": {
- "currency": "string",
- "formatted": "string",
- "precision": 0,
- "value": 0
}
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
SystemForecasted Webhook
The system forecast on a quote has been recalculated
Request Body schema: application/jsonrequired
type required | string Value: "Quote.SystemForecasted" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Quote.SystemForecasted",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "quoteId": "826e5192-f8c6-4e24-aab3-3910e46c52b7",
- "avoidedImportsKwh": 0,
- "savingsAmount": {
- "currency": "string",
- "formatted": "string",
- "precision": 0,
- "value": 0
}
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
ExternalApprovalRequested Webhook
An external approval has been requested on a quote
Request Body schema: application/jsonrequired
type required | string Value: "Quote.ExternalApprovalRequested" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Quote.ExternalApprovalRequested",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "quoteId": "826e5192-f8c6-4e24-aab3-3910e46c52b7"
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
ExternalApprovalResponded Webhook
An external approval has been responded to on a quote - this may be approved or rejected
Request Body schema: application/jsonrequired
type required | string Value: "Quote.ExternalApprovalResponded" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Quote.ExternalApprovalResponded",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "quoteId": "826e5192-f8c6-4e24-aab3-3910e46c52b7",
- "approved": true
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
FinanceRequested Webhook
A finance request has been initiated on a quote
Request Body schema: application/jsonrequired
type required | string Value: "Quote.FinanceRequested" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Quote.FinanceRequested",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "quoteId": "826e5192-f8c6-4e24-aab3-3910e46c52b7",
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",
- "requestProviderName": "string",
- "requestProductName": "string",
- "requestState": "string",
- "requestXRef": "string"
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
FinanceRequestApproved Webhook
A finance request on a quote has been approved
Request Body schema: application/jsonrequired
type required | string Value: "Quote.FinanceRequestApproved" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Quote.FinanceRequestApproved",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "quoteId": "826e5192-f8c6-4e24-aab3-3910e46c52b7",
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",
- "requestProviderName": "string",
- "requestProductName": "string",
- "requestState": "string",
- "requestXRef": "string",
- "amount": {
- "currency": "string",
- "formatted": "string",
- "precision": 0,
- "value": 0
}
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
FinanceRequestRejected Webhook
A finance request on a quote has been rejected
Request Body schema: application/jsonrequired
type required | string Value: "Quote.FinanceRequestRejected" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Quote.FinanceRequestRejected",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "quoteId": "826e5192-f8c6-4e24-aab3-3910e46c52b7",
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",
- "requestProviderName": "string",
- "requestProductName": "string",
- "requestState": "string",
- "requestXRef": "string"
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}
FinanceRequestCancelled Webhook
A finance request on a quote has been cancelled
Request Body schema: application/jsonrequired
type required | string Value: "Quote.FinanceRequestCancelled" |
specversion required | string Value: "1.0" The version of the CloudEvents specification which the event uses. |
source required | string Identifies the context in which an event happened. |
id required | string A unique identifier for the event. |
sequence required | number A unique (when combined with source), monotonically increasing sequence number that starts with 0. It can be used to detect duplicate events.. |
time required | string <date-time> Timestamp of when the event happened. |
required | object The event payload. |
customerId required | string <uuid> |
projectId required | string <uuid> |
Responses
Request samples
- Payload
{- "type": "Quote.FinanceRequestCancelled",
- "specversion": "1.0",
- "source": "cloud.upowr.<env>",
- "id": "string",
- "sequence": 0,
- "time": "2019-08-24T14:15:22Z",
- "data": {
- "quoteId": "826e5192-f8c6-4e24-aab3-3910e46c52b7",
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",
- "requestProviderName": "string",
- "requestProductName": "string",
- "requestState": "string",
- "requestXRef": "string"
}, - "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}