POST api/WeighData/WeCarNumGatherList

Request Information

URI Parameters

None.

Body Parameters

WeightStatisticsInfo
NameDescriptionTypeAdditional information
loginTable

string

None.

stateDate

string

None.

endDate

string

None.

weighNumber

string

None.

listSW

Collection of WeightStatisticsWhere

None.

listS

Collection of integer

None.

page

integer

None.

limit

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "loginTable": "sample string 1",
  "stateDate": "sample string 2",
  "endDate": "sample string 3",
  "weighNumber": "sample string 4",
  "listSW": [
    {
      "fieldName": 1,
      "fieldNameWhere": "sample string 2"
    },
    {
      "fieldName": 1,
      "fieldNameWhere": "sample string 2"
    }
  ],
  "listS": [
    1,
    2
  ],
  "page": 5,
  "limit": 6
}

application/xml, text/xml

Sample:
<WeightStatisticsInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interface.Entity">
  <endDate>sample string 3</endDate>
  <limit>6</limit>
  <listS xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </listS>
  <listSW>
    <WeightStatisticsWhere>
      <fieldName>1</fieldName>
      <fieldNameWhere>sample string 2</fieldNameWhere>
    </WeightStatisticsWhere>
    <WeightStatisticsWhere>
      <fieldName>1</fieldName>
      <fieldNameWhere>sample string 2</fieldNameWhere>
    </WeightStatisticsWhere>
  </listSW>
  <loginTable>sample string 1</loginTable>
  <page>5</page>
  <stateDate>sample string 2</stateDate>
  <weighNumber>sample string 4</weighNumber>
</WeightStatisticsInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ReslutGatherEntity
NameDescriptionTypeAdditional information
code

string

None.

msg

string

None.

count

integer

None.

data

Collection of WeighGatherEntity

None.

Response Formats

application/json, text/json

Sample:
{
  "code": "sample string 1",
  "msg": "sample string 2",
  "count": 3,
  "data": [
    {
      "weCarNum": "sample string 1",
      "trainNumber": 2,
      "weColName": "sample string 3",
      "weSupName": "sample string 4",
      "weMatName": "sample string 5",
      "totalWeGross": 6.0,
      "totalWeTare": 7.0,
      "totalWeSuttle": 8.0,
      "weighNumber": "sample string 9"
    },
    {
      "weCarNum": "sample string 1",
      "trainNumber": 2,
      "weColName": "sample string 3",
      "weSupName": "sample string 4",
      "weMatName": "sample string 5",
      "totalWeGross": 6.0,
      "totalWeTare": 7.0,
      "totalWeSuttle": 8.0,
      "weighNumber": "sample string 9"
    }
  ]
}

application/xml, text/xml

Sample:
<ReslutGatherEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interface.Entity">
  <code>sample string 1</code>
  <count>3</count>
  <data>
    <WeighGatherEntity>
      <totalWeGross>6</totalWeGross>
      <totalWeSuttle>8</totalWeSuttle>
      <totalWeTare>7</totalWeTare>
      <trainNumber>2</trainNumber>
      <weCarNum>sample string 1</weCarNum>
      <weColName>sample string 3</weColName>
      <weMatName>sample string 5</weMatName>
      <weSupName>sample string 4</weSupName>
      <weighNumber>sample string 9</weighNumber>
    </WeighGatherEntity>
    <WeighGatherEntity>
      <totalWeGross>6</totalWeGross>
      <totalWeSuttle>8</totalWeSuttle>
      <totalWeTare>7</totalWeTare>
      <trainNumber>2</trainNumber>
      <weCarNum>sample string 1</weCarNum>
      <weColName>sample string 3</weColName>
      <weMatName>sample string 5</weMatName>
      <weSupName>sample string 4</weSupName>
      <weighNumber>sample string 9</weighNumber>
    </WeighGatherEntity>
  </data>
  <msg>sample string 2</msg>
</ReslutGatherEntity>