POST api/Bill/Settle
Request Information
URI Parameters
None.
Body Parameters
SettleRequestCs| Name | Description | Type | Additional information |
|---|---|---|---|
| token | string |
None. |
|
| sdate | string |
None. |
|
| edate | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"token": "sample string 1",
"sdate": "sample string 2",
"edate": "sample string 3"
}
text/xml
Sample:
<SettleRequestCs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webapitest.Models"> <edate>sample string 3</edate> <sdate>sample string 2</sdate> <token>sample string 1</token> </SettleRequestCs>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of SettleModels| Name | Description | Type | Additional information |
|---|---|---|---|
| result | integer |
None. |
|
| code | string |
None. |
|
| msg | string |
None. |
|
| data | Collection of SettleResponCs |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"result": 1,
"code": "sample string 2",
"msg": "sample string 3",
"data": [
{
"Date": "sample string 1",
"ShipNo": "sample string 2",
"Length": 3.0,
"Width": 4.0,
"Height": 5.0,
"Weight": 6.0,
"Cod": 7.0,
"Country": "sample string 8",
"Type": "sample string 9",
"BagCount": 10,
"Cost": 11.0,
"Extra": 12.0,
"Cleance": 13.0,
"Oil": 14.0,
"HandTax": 15.0,
"Other": 16.0,
"Total": 17.0,
"Note": "sample string 18"
},
{
"Date": "sample string 1",
"ShipNo": "sample string 2",
"Length": 3.0,
"Width": 4.0,
"Height": 5.0,
"Weight": 6.0,
"Cod": 7.0,
"Country": "sample string 8",
"Type": "sample string 9",
"BagCount": 10,
"Cost": 11.0,
"Extra": 12.0,
"Cleance": 13.0,
"Oil": 14.0,
"HandTax": 15.0,
"Other": 16.0,
"Total": 17.0,
"Note": "sample string 18"
}
]
},
{
"result": 1,
"code": "sample string 2",
"msg": "sample string 3",
"data": [
{
"Date": "sample string 1",
"ShipNo": "sample string 2",
"Length": 3.0,
"Width": 4.0,
"Height": 5.0,
"Weight": 6.0,
"Cod": 7.0,
"Country": "sample string 8",
"Type": "sample string 9",
"BagCount": 10,
"Cost": 11.0,
"Extra": 12.0,
"Cleance": 13.0,
"Oil": 14.0,
"HandTax": 15.0,
"Other": 16.0,
"Total": 17.0,
"Note": "sample string 18"
},
{
"Date": "sample string 1",
"ShipNo": "sample string 2",
"Length": 3.0,
"Width": 4.0,
"Height": 5.0,
"Weight": 6.0,
"Cod": 7.0,
"Country": "sample string 8",
"Type": "sample string 9",
"BagCount": 10,
"Cost": 11.0,
"Extra": 12.0,
"Cleance": 13.0,
"Oil": 14.0,
"HandTax": 15.0,
"Other": 16.0,
"Total": 17.0,
"Note": "sample string 18"
}
]
}
]
text/xml
Sample:
<ArrayOfSettleModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webapitest.Models">
<SettleModels>
<code>sample string 2</code>
<data>
<SettleResponCs>
<BagCount>10</BagCount>
<Cleance>13</Cleance>
<Cod>7</Cod>
<Cost>11</Cost>
<Country>sample string 8</Country>
<Date>sample string 1</Date>
<Extra>12</Extra>
<HandTax>15</HandTax>
<Height>5</Height>
<Length>3</Length>
<Note>sample string 18</Note>
<Oil>14</Oil>
<Other>16</Other>
<ShipNo>sample string 2</ShipNo>
<Total>17</Total>
<Type>sample string 9</Type>
<Weight>6</Weight>
<Width>4</Width>
</SettleResponCs>
<SettleResponCs>
<BagCount>10</BagCount>
<Cleance>13</Cleance>
<Cod>7</Cod>
<Cost>11</Cost>
<Country>sample string 8</Country>
<Date>sample string 1</Date>
<Extra>12</Extra>
<HandTax>15</HandTax>
<Height>5</Height>
<Length>3</Length>
<Note>sample string 18</Note>
<Oil>14</Oil>
<Other>16</Other>
<ShipNo>sample string 2</ShipNo>
<Total>17</Total>
<Type>sample string 9</Type>
<Weight>6</Weight>
<Width>4</Width>
</SettleResponCs>
</data>
<msg>sample string 3</msg>
<result>1</result>
</SettleModels>
<SettleModels>
<code>sample string 2</code>
<data>
<SettleResponCs>
<BagCount>10</BagCount>
<Cleance>13</Cleance>
<Cod>7</Cod>
<Cost>11</Cost>
<Country>sample string 8</Country>
<Date>sample string 1</Date>
<Extra>12</Extra>
<HandTax>15</HandTax>
<Height>5</Height>
<Length>3</Length>
<Note>sample string 18</Note>
<Oil>14</Oil>
<Other>16</Other>
<ShipNo>sample string 2</ShipNo>
<Total>17</Total>
<Type>sample string 9</Type>
<Weight>6</Weight>
<Width>4</Width>
</SettleResponCs>
<SettleResponCs>
<BagCount>10</BagCount>
<Cleance>13</Cleance>
<Cod>7</Cod>
<Cost>11</Cost>
<Country>sample string 8</Country>
<Date>sample string 1</Date>
<Extra>12</Extra>
<HandTax>15</HandTax>
<Height>5</Height>
<Length>3</Length>
<Note>sample string 18</Note>
<Oil>14</Oil>
<Other>16</Other>
<ShipNo>sample string 2</ShipNo>
<Total>17</Total>
<Type>sample string 9</Type>
<Weight>6</Weight>
<Width>4</Width>
</SettleResponCs>
</data>
<msg>sample string 3</msg>
<result>1</result>
</SettleModels>
</ArrayOfSettleModels>