π§Create Fault Report
Use this endpoint to register a fault against a valid meter.
post
Header parameters
AuthorizationstringRequiredExample:
API token for user authentication
{"value":"Token tk-abc-1234-xyz"}Body
Following fields are mandatory
- 'name'
- 'address'
- 'fault'
- 'desc'
Valid options for fault are as below:
- SeriousBoxDamage
- FireWaterDamage
- MeterDead
- KeepsTripping
- NoTrip
- DisplayLightsButtons
- IncorrectTI
- IncorrectSGC
- RecordMissing_NewInstallation
- RecordMissing_MeterChangedOut
- RecordMissing_ConvertedFrmConventional
- NetworkFaultReport
When fault is != NetworkFaultReport -> one of below meter combinations must be provided:
- 'meter_no'
- 'meter_card'
- ['meter_no', 'supply_group_code', 'key_rev_no', 'tariff_index', 'token_tech', 'algo_tech']
Optional parameters:
- 'contact_no'
addressstringOptionalExample:
123 Main Stalgo_techstringOptionalExample:
29contact_nostringOptionalExample:
+27812345678descstringOptionalExample:
The meter is not reading the correct consumption.faultstringOptionalExample:
RecordMissing_MeterChangedOutkey_rev_nostringOptionalExample:
R2meter_nostringOptionalExample:
12345678namestringOptionalExample:
John Doesupply_group_codestringOptionalExample:
S123tariff_indexstringOptionalExample:
T5token_techstringOptionalExample:
98Responses
200
Fault reported successfully
application/json
Responseall of
and
400
Invalid input
application/json
500
Failed to report fault
application/json
post
/api/v1/meter/report-faultLast updated