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-11-20T21:08:20.9303746+00:00", "houseId": 2 }, { "electricityReading": 1, "waterReading": 1, "readingDate": "2024-11-20T21:08:20.9303746+00: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-11-20T21:08:20.9303746+00:00</ReadingDate> <WaterReading>1</WaterReading> </MeterReadingSmallPost> <MeterReadingSmallPost> <ElectricityReading>1</ElectricityReading> <HouseId>2</HouseId> <ReadingDate>2024-11-20T21:08:20.9303746+00:00</ReadingDate> <WaterReading>1</WaterReading> </MeterReadingSmallPost> </Readings> <UserUid>sample string 1</UserUid> </MeterReadingBulkPost>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.