POST api/forSingle/saveHeader
Request Information
URI Parameters
None.
Body Parameters
EntCusStockHeadName | Description | Type | Additional information |
---|---|---|---|
Guid | integer |
None. |
|
CopErpCode | string |
None. |
|
SeqNo | string |
None. |
|
SasStockNo | string |
None. |
|
DclType | string |
None. |
|
SasDclNo | string |
None. |
|
MasterCuscd | string |
None. |
|
StockTypecd | string |
None. |
|
BusinessType | string |
None. |
|
RltSasStockNo | string |
None. |
|
DclEr | string |
None. |
|
InputCode | string |
None. |
|
InputName | string |
None. |
|
EtpsPreentNo | string |
None. |
|
PackageQty | decimal number |
None. |
|
GrossWt | decimal number |
None. |
|
NetWt | decimal number |
None. |
|
PackType | string |
None. |
|
EportReplaceMark | string |
None. |
|
RMK | string |
None. |
|
Col1 | string |
None. |
|
Col2 | string |
None. |
|
Col3 | string |
None. |
|
Col4 | string |
None. |
|
CreateTime | date |
None. |
|
CreateUser | string |
None. |
|
UpdateTime | date |
None. |
|
UpdateUser | string |
None. |
|
Status | string |
None. |
|
UserDefine1 | string |
None. |
|
UserDefine2 | string |
None. |
|
UserDefine3 | string |
None. |
|
UserDefine4 | string |
None. |
|
UserDefine5 | string |
None. |
|
UserDefine6 | string |
None. |
|
SendFlag | string |
None. |
|
EmsNo | string |
None. |
|
TradeCode | string |
None. |
|
TradeName | string |
None. |
|
TradeCredit | string |
None. |
|
AgentCode | string |
None. |
|
AgentName | string |
None. |
|
AgentCredit | string |
None. |
|
InputCredit | string |
None. |
|
GoodsFlag | string |
None. |
|
InputDate | date |
None. |
|
GGdate | date |
None. |
|
applyPeople | string |
None. |
|
CustomerCode | string |
None. |
|
WFlag | string |
None. |
|
MtpckEndprdTypecd | string |
None. |
|
AreainOriactNo | string |
None. |
|
AreainEtpsno | string |
None. |
|
AreainEtpsNm | string |
None. |
|
AreainEtpsSccd | string |
None. |
|
DclEtpsno | string |
None. |
|
DclEtpsNm | string |
None. |
|
DclEtpsSccd | string |
None. |
|
InputSccd | string |
None. |
|
Pecd | string |
None. |
|
ApproveStatus | integer |
None. |
|
HasBody | boolean |
None. |
|
PageSize | integer |
None. |
|
PageIndex | integer |
None. |
|
TotalCount | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "guid": 1, "copErpCode": "sample string 2", "seqNo": "sample string 3", "sasStockNo": "sample string 4", "dclType": "sample string 5", "sasDclNo": "sample string 6", "masterCuscd": "sample string 7", "stockTypecd": "sample string 8", "businessType": "sample string 9", "rltSasStockNo": "sample string 10", "dclEr": "sample string 11", "inputCode": "sample string 12", "inputName": "sample string 13", "etpsPreentNo": "sample string 14", "packageQty": 15.0, "grossWt": 16.0, "netWt": 17.0, "packType": "sample string 18", "eportReplaceMark": "sample string 19", "rmk": "sample string 20", "col1": "sample string 21", "col2": "sample string 22", "col3": "sample string 23", "col4": "sample string 24", "createTime": "2024-11-21 16:46:10", "createUser": "sample string 26", "updateTime": "2024-11-21 16:46:10", "updateUser": "sample string 28", "status": "sample string 29", "userDefine1": "sample string 30", "userDefine2": "sample string 31", "userDefine3": "sample string 32", "userDefine4": "sample string 33", "userDefine5": "sample string 34", "userDefine6": "sample string 35", "sendFlag": "sample string 36", "emsNo": "sample string 37", "tradeCode": "sample string 38", "tradeName": "sample string 39", "tradeCredit": "sample string 40", "agentCode": "sample string 41", "agentName": "sample string 42", "agentCredit": "sample string 43", "inputCredit": "sample string 44", "goodsFlag": "sample string 45", "inputDate": "2024-11-21 16:46:10", "gGdate": "2024-11-21 16:46:10", "applyPeople": "sample string 46", "customerCode": "sample string 47", "wFlag": "sample string 48", "mtpckEndprdTypecd": "sample string 49", "areainOriactNo": "sample string 50", "areainEtpsno": "sample string 51", "areainEtpsNm": "sample string 52", "areainEtpsSccd": "sample string 53", "dclEtpsno": "sample string 54", "dclEtpsNm": "sample string 55", "dclEtpsSccd": "sample string 56", "inputSccd": "sample string 57", "pecd": "sample string 58", "approveStatus": 59, "hasBody": true, "pageSize": 61, "pageIndex": 62, "totalCount": 63 }
application/xml, text/xml
Sample:
<EntCusStockHead xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Model"> <PageIndex>62</PageIndex> <PageSize>61</PageSize> <TotalCount>63</TotalCount> <AgentCode>sample string 41</AgentCode> <AgentCredit>sample string 43</AgentCredit> <AgentName>sample string 42</AgentName> <ApproveStatus>59</ApproveStatus> <AreainEtpsNm>sample string 52</AreainEtpsNm> <AreainEtpsSccd>sample string 53</AreainEtpsSccd> <AreainEtpsno>sample string 51</AreainEtpsno> <AreainOriactNo>sample string 50</AreainOriactNo> <BusinessType>sample string 9</BusinessType> <Col1>sample string 21</Col1> <Col2>sample string 22</Col2> <Col3>sample string 23</Col3> <Col4>sample string 24</Col4> <CopErpCode>sample string 2</CopErpCode> <CreateTime>2024-11-21T16:46:10.8514141+08:00</CreateTime> <CreateUser>sample string 26</CreateUser> <CustomerCode>sample string 47</CustomerCode> <DclEr>sample string 11</DclEr> <DclEtpsNm>sample string 55</DclEtpsNm> <DclEtpsSccd>sample string 56</DclEtpsSccd> <DclEtpsno>sample string 54</DclEtpsno> <DclType>sample string 5</DclType> <EmsNo>sample string 37</EmsNo> <EportReplaceMark>sample string 19</EportReplaceMark> <EtpsPreentNo>sample string 14</EtpsPreentNo> <GGdate>2024-11-21T16:46:10.8514141+08:00</GGdate> <GoodsFlag>sample string 45</GoodsFlag> <GrossWt>16</GrossWt> <Guid>1</Guid> <HasBody>true</HasBody> <InputCode>sample string 12</InputCode> <InputCredit>sample string 44</InputCredit> <InputDate>2024-11-21T16:46:10.8514141+08:00</InputDate> <InputName>sample string 13</InputName> <InputSccd>sample string 57</InputSccd> <MasterCuscd>sample string 7</MasterCuscd> <MtpckEndprdTypecd>sample string 49</MtpckEndprdTypecd> <NetWt>17</NetWt> <PackType>sample string 18</PackType> <PackageQty>15</PackageQty> <Pecd>sample string 58</Pecd> <RMK>sample string 20</RMK> <RltSasStockNo>sample string 10</RltSasStockNo> <SasDclNo>sample string 6</SasDclNo> <SasStockNo>sample string 4</SasStockNo> <SendFlag>sample string 36</SendFlag> <SeqNo>sample string 3</SeqNo> <Status>sample string 29</Status> <StockTypecd>sample string 8</StockTypecd> <TradeCode>sample string 38</TradeCode> <TradeCredit>sample string 40</TradeCredit> <TradeName>sample string 39</TradeName> <UpdateTime>2024-11-21T16:46:10.8514141+08:00</UpdateTime> <UpdateUser>sample string 28</UpdateUser> <UserDefine1>sample string 30</UserDefine1> <UserDefine2>sample string 31</UserDefine2> <UserDefine3>sample string 32</UserDefine3> <UserDefine4>sample string 33</UserDefine4> <UserDefine5>sample string 34</UserDefine5> <UserDefine6>sample string 35</UserDefine6> <WFlag>sample string 48</WFlag> <applyPeople>sample string 46</applyPeople> </EntCusStockHead>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ReturnResultOfInt32Name | Description | Type | Additional 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>