POST ops/housing/meterReadings/bulk
Request Information
URI Parameters
None.
Body Parameters
MeterReadingBulkPostName | Description | Type | Additional information |
---|---|---|---|
Readings | Collection of MeterReadingSmallPost |
None. |
|
UserUid | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "readings": [ { "electricityReading": 1, "waterReading": 1, "readingDate": "2024-09-08T06:36:03.9476019+02:00", "houseId": 2 }, { "electricityReading": 1, "waterReading": 1, "readingDate": "2024-09-08T06:36:03.9476019+02:00", "houseId": 2 } ], "userUid": "sample string 1" }
application/xml, text/xml
Sample:
<MeterReadingBulkPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Housing"> <Readings> <MeterReadingSmallPost> <ElectricityReading>1</ElectricityReading> <HouseId>2</HouseId> <ReadingDate>2024-09-08T06:36:03.9476019+02:00</ReadingDate> <WaterReading>1</WaterReading> </MeterReadingSmallPost> <MeterReadingSmallPost> <ElectricityReading>1</ElectricityReading> <HouseId>2</HouseId> <ReadingDate>2024-09-08T06:36:03.9476019+02:00</ReadingDate> <WaterReading>1</WaterReading> </MeterReadingSmallPost> </Readings> <UserUid>sample string 1</UserUid> </MeterReadingBulkPost>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.