CreateOrUpdateSiteworksAppointmentInput
Input fields
Address of the property where the appointment is taking place.
The market ID of the agent that carried out the work. This should be an electricity market participant ID or gas market code.
The scheduled date of the appointment. Required if the appointment is not already booked.
The unique appointment reference of the agent.
Determines which communications will be sent to customers for the appointment. The default is to send all available messages (e.g. appointment confirmed, job completed).
A list of electricity meters that the work applies to.
Please use the 'electricity_meters' field within 'mpans_with_meters' field instead.
- Marked as deprecated on 2025-03-04.
- Scheduled for removal on or after 2026-01-01.
Name of engineer currently assigned to the appointment.
The categories of meter the work applies to.
The payment mode for the new meters. If not provided it will default to the payment mode for the current meters.
A list of electricity meters that the work applies to.
Please use the 'gas_meters' field within 'mprns_with_meters' field instead.
- Marked as deprecated on 2025-03-04.
- Scheduled for removal on or after 2026-01-01.
Boolean flag to indicate an emergency appointment.
Free text comments about the appointment.
Required if fuel_type is ELECTRICITY or DUAL_FUEL.
Please use the 'mpans_with_meters' field instead.
- Marked as deprecated on 2025-02-01.
- Scheduled for removal on or after 2026-01-01.
List of MPANs with optional electricity meters. Required if fuel_type is ELECTRICITY or DUAL_FUEL.
Required if fuel_type is GAS or DUAL_FUEL.
Please use the 'mprns_with_meters' field instead.
- Marked as deprecated on 2025-02-01.
- Scheduled for removal on or after 2026-01-01.
List of MPRNs with optional gas meters. Required if fuel_type is GAS or DUAL_FUEL.
If applicable, the category of new meters installed.
The status of the appointment.
Extra context to a change in status such as abort or cancellation reason.
The end time of the slot during which the engineer is scheduled at the property.
The start time of the slot during which the engineer is scheduled at the property.
The type of work the appointment has been booked for.
Example
{
"address": AddressInput,
"agentId": "91350058",
"appointmentDate": "2024-04-28",
"appointmentReference": "number-computer-economy-design-now",
"commsStrategy": "SEND_ALL",
"electricitySupplyType": "SINGLE_PHASE",
"engineerName": "serious-appear-race-response-girl",
"fuelType": "ELECTRICITY",
"futurePaymentMode": "PREPAY",
"gasSupplyType": "STANDARD",
"isEmergency": true,
"jobNotes": "middle-close-role-American-wonder",
"mpansWithMeters": MpanInput,
"mprnsWithMeters": MprnInput,
"newMeterCategory": "SMETS1",
"status": "REQUIRES_TIMESLOT",
"statusReason": "space-pick-environment-tree-where",
"timeSlotEnd": "05:46:37.428312",
"timeSlotStart": "03:08:51.431066",
"workType": "success-process-red-knowledge-under"
}