POST api/v1/BaseMeterRead/AddBaseMeterRead

Request Information

URI Parameters

None.

Body Parameters

Collection of EmDbrtdbvalLogVModel
NameDescriptionTypeAdditional information
Factory_ID

string

None.

Basic_Em_Type_ID

string

None.

Em_Meter_Code

string

None.

QTY

decimal number

None.

ReadTime

date

None.

WriteTime

date

None.

Basic_EM_MeterdataType_ID

string

None.

Basic_MeterCompanyID_ID

string

None.

Times

decimal number

None.

IsNeedTimes

boolean

None.

IsNew

boolean

None.

IsReset

boolean

None.

Em_Dbrtdbval_Config_ID

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Factory_ID": "sample string 1",
    "Basic_Em_Type_ID": "sample string 2",
    "Em_Meter_Code": "sample string 3",
    "QTY": 1.1,
    "ReadTime": "2022-09-26 06:20:57",
    "WriteTime": "2022-09-26 06:20:57",
    "Basic_EM_MeterdataType_ID": "sample string 4",
    "Basic_MeterCompanyID_ID": "sample string 5",
    "Times": 1.1,
    "IsNeedTimes": true,
    "IsNew": true,
    "IsReset": true,
    "Em_Dbrtdbval_Config_ID": "sample string 9"
  },
  {
    "Factory_ID": "sample string 1",
    "Basic_Em_Type_ID": "sample string 2",
    "Em_Meter_Code": "sample string 3",
    "QTY": 1.1,
    "ReadTime": "2022-09-26 06:20:57",
    "WriteTime": "2022-09-26 06:20:57",
    "Basic_EM_MeterdataType_ID": "sample string 4",
    "Basic_MeterCompanyID_ID": "sample string 5",
    "Times": 1.1,
    "IsNeedTimes": true,
    "IsNew": true,
    "IsReset": true,
    "Em_Dbrtdbval_Config_ID": "sample string 9"
  }
]

application/xml, text/xml

Sample:
<ArrayOfEmDbrtdbvalLogVModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StrongWebAPI.Areas.BaseMeterRead.Models">
  <EmDbrtdbvalLogVModel>
    <Basic_EM_MeterdataType_ID>sample string 4</Basic_EM_MeterdataType_ID>
    <Basic_Em_Type_ID>sample string 2</Basic_Em_Type_ID>
    <Basic_MeterCompanyID_ID>sample string 5</Basic_MeterCompanyID_ID>
    <Em_Dbrtdbval_Config_ID>sample string 9</Em_Dbrtdbval_Config_ID>
    <Em_Meter_Code>sample string 3</Em_Meter_Code>
    <Factory_ID>sample string 1</Factory_ID>
    <IsNeedTimes>true</IsNeedTimes>
    <IsNew>true</IsNew>
    <IsReset>true</IsReset>
    <QTY>1.1</QTY>
    <ReadTime>2022-09-26T18:20:57.3308784+08:00</ReadTime>
    <Times>1.1</Times>
    <WriteTime>2022-09-26T18:20:57.3308784+08:00</WriteTime>
  </EmDbrtdbvalLogVModel>
  <EmDbrtdbvalLogVModel>
    <Basic_EM_MeterdataType_ID>sample string 4</Basic_EM_MeterdataType_ID>
    <Basic_Em_Type_ID>sample string 2</Basic_Em_Type_ID>
    <Basic_MeterCompanyID_ID>sample string 5</Basic_MeterCompanyID_ID>
    <Em_Dbrtdbval_Config_ID>sample string 9</Em_Dbrtdbval_Config_ID>
    <Em_Meter_Code>sample string 3</Em_Meter_Code>
    <Factory_ID>sample string 1</Factory_ID>
    <IsNeedTimes>true</IsNeedTimes>
    <IsNew>true</IsNew>
    <IsReset>true</IsReset>
    <QTY>1.1</QTY>
    <ReadTime>2022-09-26T18:20:57.3308784+08:00</ReadTime>
    <Times>1.1</Times>
    <WriteTime>2022-09-26T18:20:57.3308784+08:00</WriteTime>
  </EmDbrtdbvalLogVModel>
</ArrayOfEmDbrtdbvalLogVModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseOfObject
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

ResultList

Collection of Object

None.

Result

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "ResultList": [
    {},
    {}
  ],
  "Result": {}
}

application/xml, text/xml

Sample:
<ResponseOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StrongWebAPI">
  <Message>sample string 2</Message>
  <Result />
  <ResultList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:anyType />
    <d2p1:anyType />
  </ResultList>
  <Success>true</Success>
</ResponseOfanyType>