POST api/stock/insertinitial
Request Information
URI Parameters
None.
Body Parameters
EntGoldenStockInitialName | Description | Type | Additional information |
---|---|---|---|
EmsNo | string |
None. |
|
UnitCn | string |
None. |
|
ID | integer |
None. |
|
HeadId | integer |
None. |
|
HeadName | string |
None. |
|
CopGNo | string |
None. |
|
GNo | integer |
None. |
|
GName | string |
None. |
|
QTY | decimal number |
None. |
|
CreateTime | date |
None. |
|
CreateUser | string |
None. |
|
FileName | string |
None. |
|
UpdateTime | date |
None. |
|
UpdateUser | string |
None. |
|
Unit | string |
None. |
|
HSCode | string |
None. |
|
ErpNo | string |
None. |
|
PageSize | integer |
None. |
|
PageIndex | integer |
None. |
|
TotalCount | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "emsNo": "sample string 1", "unitCn": "sample string 2", "id": "3", "headId": "4", "headName": "sample string 5", "copGNo": "sample string 6", "gNo": "7", "gName": "sample string 8", "qty": 9.0, "createTime": "2024-11-21 16:31:00", "createUser": "sample string 10", "fileName": "sample string 11", "updateTime": "2024-11-21 16:31:00", "updateUser": "sample string 12", "unit": "sample string 13", "hsCode": "sample string 14", "erpNo": "sample string 15", "pageSize": 16, "pageIndex": 17, "totalCount": 18 }
application/xml, text/xml
Sample:
<EntGoldenStockInitial xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Model"> <PageIndex>17</PageIndex> <PageSize>16</PageSize> <TotalCount>18</TotalCount> <CopGNo>sample string 6</CopGNo> <CreateTime>2024-11-21T16:31:00.7776167+08:00</CreateTime> <CreateUser>sample string 10</CreateUser> <EmsNo>sample string 1</EmsNo> <ErpNo>sample string 15</ErpNo> <FileName>sample string 11</FileName> <GName>sample string 8</GName> <GNo>7</GNo> <HSCode>sample string 14</HSCode> <HeadId>4</HeadId> <HeadName>sample string 5</HeadName> <ID>3</ID> <QTY>9</QTY> <Unit>sample string 13</Unit> <UnitCn>sample string 2</UnitCn> <UpdateTime>2024-11-21T16:31:00.7776167+08:00</UpdateTime> <UpdateUser>sample string 12</UpdateUser> </EntGoldenStockInitial>
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>