POST api/GoldenTradeExg/SaveModel

Request Information

URI Parameters

None.

Body Parameters

EntGoldenTradeExg
NameDescriptionTypeAdditional information
ID

integer

None.

EmsId

decimal number

None.

EmsNo

string

None.

GNo

decimal number

None.

CopGNo

string

None.

GName

string

None.

GModel

string

None.

CodeT

string

None.

CodeS

string

None.

ClassMark

string

None.

UNIT

string

None.

DecPrice

decimal number

None.

DecPriceRmb

decimal number

None.

CountryCode

decimal number

None.

CURR

decimal number

None.

Unit1

string

None.

Unit2

string

None.

Factor1

decimal number

None.

Factor2

decimal number

None.

FactorWt

decimal number

None.

FactorRate

decimal number

None.

QTY

decimal number

None.

MaxQty

decimal number

None.

FirstQty

decimal number

None.

IEType

string

None.

UseType

decimal number

None.

ModifyTimes

decimal number

None.

SourceMark

string

None.

ModifyMark

string

None.

RecordFlag

string

None.

NOTE

string

None.

Note1

string

None.

Note2

string

None.

CreateUser

string

None.

CreateTime

date

None.

PageSize

integer

None.

PageIndex

integer

None.

TotalCount

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "1",
  "emsId": 2.0,
  "emsNo": "sample string 3",
  "gNo": 4.0,
  "copGNo": "sample string 5",
  "gName": "sample string 6",
  "gModel": "sample string 7",
  "codeT": "sample string 8",
  "codeS": "sample string 9",
  "classMark": "sample string 10",
  "unit": "sample string 11",
  "decPrice": 12.0,
  "decPriceRmb": 13.0,
  "countryCode": 14.0,
  "curr": 15.0,
  "unit1": "sample string 16",
  "unit2": "sample string 17",
  "factor1": 18.0,
  "factor2": 19.0,
  "factorWt": 20.0,
  "factorRate": 21.0,
  "qty": 22.0,
  "maxQty": 23.0,
  "firstQty": 24.0,
  "ieType": "sample string 25",
  "useType": 26.0,
  "modifyTimes": 27.0,
  "sourceMark": "sample string 28",
  "modifyMark": "sample string 29",
  "recordFlag": "sample string 30",
  "note": "sample string 31",
  "note1": "sample string 32",
  "note2": "sample string 33",
  "createUser": "sample string 34",
  "createTime": "2024-11-21 16:59:58",
  "pageSize": 35,
  "pageIndex": 36,
  "totalCount": 37
}

application/xml, text/xml

Sample:
<EntGoldenTradeExg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Model">
  <PageIndex>36</PageIndex>
  <PageSize>35</PageSize>
  <TotalCount>37</TotalCount>
  <CURR>15</CURR>
  <ClassMark>sample string 10</ClassMark>
  <CodeS>sample string 9</CodeS>
  <CodeT>sample string 8</CodeT>
  <CopGNo>sample string 5</CopGNo>
  <CountryCode>14</CountryCode>
  <CreateTime>2024-11-21T16:59:58.4378272+08:00</CreateTime>
  <CreateUser>sample string 34</CreateUser>
  <DecPrice>12</DecPrice>
  <DecPriceRmb>13</DecPriceRmb>
  <EmsId>2</EmsId>
  <EmsNo>sample string 3</EmsNo>
  <Factor1>18</Factor1>
  <Factor2>19</Factor2>
  <FactorRate>21</FactorRate>
  <FactorWt>20</FactorWt>
  <FirstQty>24</FirstQty>
  <GModel>sample string 7</GModel>
  <GName>sample string 6</GName>
  <GNo>4</GNo>
  <ID>1</ID>
  <IEType>sample string 25</IEType>
  <MaxQty>23</MaxQty>
  <ModifyMark>sample string 29</ModifyMark>
  <ModifyTimes>27</ModifyTimes>
  <NOTE>sample string 31</NOTE>
  <Note1>sample string 32</Note1>
  <Note2>sample string 33</Note2>
  <QTY>22</QTY>
  <RecordFlag>sample string 30</RecordFlag>
  <SourceMark>sample string 28</SourceMark>
  <UNIT>sample string 11</UNIT>
  <Unit1>sample string 16</Unit1>
  <Unit2>sample string 17</Unit2>
  <UseType>26</UseType>
</EntGoldenTradeExg>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ReturnResultOfInt32
NameDescriptionTypeAdditional information
Status

integer

None.

Success

boolean

None.

Data

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 1,
  "success": true,
  "data": 3,
  "message": "sample string 4"
}

application/xml, text/xml

Sample:
<ReturnResultOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Model">
  <Data>3</Data>
  <Message>sample string 4</Message>
  <Status>1</Status>
  <Success>true</Success>
</ReturnResultOfint>