POST api/ESSystem/v1/MainCounterSources/reads/update

Request Information

URI Parameters

None.

Body Parameters

MainCounterSourceReadModel
NameDescriptionTypeAdditional information
ID

globally unique identifier

None.

MainCounterID

globally unique identifier

None.

ReadTime

date

None.

MeterRead

decimal number

None.

SourceGuid

globally unique identifier

None.

ReadReason

integer

None.

IsReset

boolean

None.

Note

string

None.

Image

Collection of byte

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": "2c15d831-5626-47c5-a040-21ca2b8524eb",
  "MainCounterID": "97385dcd-a7b9-4e99-b24b-b3261081aa6d",
  "ReadTime": "2026-11-15T02:22:17.0889523+03:00",
  "MeterRead": 1.0,
  "SourceGuid": "3692d155-12d6-4f96-a00d-0245eaf8d677",
  "ReadReason": 1,
  "IsReset": true,
  "Note": "sample string 2",
  "Image": "QEA="
}

application/xml, text/xml

Sample:
<MainCounterSourceReadModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
  <ID>2c15d831-5626-47c5-a040-21ca2b8524eb</ID>
  <Image>QEA=</Image>
  <IsReset>true</IsReset>
  <MainCounterID>97385dcd-a7b9-4e99-b24b-b3261081aa6d</MainCounterID>
  <MeterRead>1</MeterRead>
  <Note>sample string 2</Note>
  <ReadReason>1</ReadReason>
  <ReadTime>2026-11-15T02:22:17.0889523+03:00</ReadTime>
  <SourceGuid>3692d155-12d6-4f96-a00d-0245eaf8d677</SourceGuid>
</MainCounterSourceReadModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResult
NameDescriptionTypeAdditional information
Error

integer

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Error": 1,
  "Message": "sample string 2",
  "Data": {}
}

application/xml, text/xml

Sample:
<ApiResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Core.Common">
  <Data />
  <Error>1</Error>
  <Message>sample string 2</Message>
</ApiResult>