Consumption series
Update a point of delivery
POST/api/v1/serii/pod/{nis}/{pod}/
Bearer token required
Parameters
nisstringpathrequired- NIS of the building or individual unit (e.g. ABCDEF-01, ABCDEF-01-U0012).
podstringpathrequired- Point of delivery (POD) code.
Request body
reteatipstring- Network type (e.g. electricity, gas).
geomobject- GeoJSON Point, cu coordonatele în Stereo70.
geom.typestringrequired- GeoJSON geometry type (e.g. Point, MultiPolygon).
geom.coordinatesarray<number (double)>required- GeoJSON geometry coordinates.
frecventearray<string>- Available frequencies.
activboolean- The item is active.
Responses
- 200
- Success.
- 400
- Invalid request; details in erori[].
- 403
- The account is not allowed this operation.
- 404
- The resource does not exist.
- 503
- An internal service is not responding; retry.
curl -X POST "https://registrulcladirilor.graphit.ro/rndc/api/v1/serii/pod/ABCDEF-01/RO005E512345678/" \
-H "X-Api-Key: $API_KEY" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"reteatip": "electricitate",
"geom": {
"type": "…",
"coordinates": [
0.0
]
},
"frecvente": [
"…"
],
"activ": true
}'