POST api/customers/{customerId}/deliverypoints/{deliveryPointId}/readings
Save a reading for a delivery point.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| customerId |
Customer ID |
integer |
Required |
| deliveryPointId |
Delivery point ID |
integer |
Required |
Body Parameters
ReadingsRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
None. |
|
| DeliveryPointId | integer |
None. |
|
| ReadingDate | date |
None. |
|
| Value | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerId": 1,
"DeliveryPointId": 2,
"ReadingDate": "2025-12-26T10:31:44.5258135+00:00",
"Value": 4
}
text/html
Sample:
{"CustomerId":1,"DeliveryPointId":2,"ReadingDate":"2025-12-26T10:31:44.5258135+00:00","Value":4}
Response Information
Resource Description
200-OK
Reading| Name | Description | Type | Additional information |
|---|---|---|---|
| DeliveryPointId | string |
None. |
|
| MeterNo | string |
None. |
|
| MeterUnit | string |
None. |
|
| ReadingDate | date |
None. |
|
| Value | decimal number |
None. |
|
| Consumption | decimal number |
None. |
|
| Reader | string |
None. |
|
| Constant | string |
None. |
|
| NumberOfDigits | integer |
None. |
|
| NumberOfDecimals | integer |
None. |
|
| ResponseStatus | ResponseStatus |
None. |
Response Formats
application/json, text/json
Sample:
{
"DeliveryPointId": "sample string 1",
"MeterNo": "sample string 2",
"MeterUnit": "sample string 3",
"ReadingDate": "2025-12-26T10:31:44.588288+00:00",
"Value": 5.1,
"Consumption": 6.1,
"Reader": "sample string 7",
"Constant": "sample string 8",
"NumberOfDigits": 9,
"NumberOfDecimals": 10,
"ResponseStatus": {
"ErrorCode": "sample string 1",
"Message": "sample string 2",
"StackTrace": "sample string 3"
}
}
text/html
Sample:
{"DeliveryPointId":"sample string 1","MeterNo":"sample string 2","MeterUnit":"sample string 3","ReadingDate":"2025-12-26T10:31:44.588288+00:00","Value":5.1,"Consumption":6.1,"Reader":"sample string 7","Constant":"sample string 8","NumberOfDigits":9,"NumberOfDecimals":10,"ResponseStatus":{"ErrorCode":"sample string 1","Message":"sample string 2","StackTrace":"sample string 3"}}