POST api/stock/insertactual

Request Information

URI Parameters

None.

Body Parameters

EntGoldenStockActual
NameDescriptionTypeAdditional information
UnitCn

string

None.

EmsNo

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.

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:
{
  "unitCn": "sample string 1",
  "emsNo": "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:39:03",
  "createUser": "sample string 10",
  "updateTime": "2024-11-21 16:39:03",
  "updateUser": "sample string 11",
  "unit": "sample string 12",
  "hsCode": "sample string 13",
  "erpNo": "sample string 14",
  "pageSize": 15,
  "pageIndex": 16,
  "totalCount": 17
}

application/xml, text/xml

Sample:
<EntGoldenStockActual xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Model">
  <PageIndex>16</PageIndex>
  <PageSize>15</PageSize>
  <TotalCount>17</TotalCount>
  <CopGNo>sample string 6</CopGNo>
  <CreateTime>2024-11-21T16:39:03.9553069+08:00</CreateTime>
  <CreateUser>sample string 10</CreateUser>
  <EmsNo>sample string 2</EmsNo>
  <ErpNo>sample string 14</ErpNo>
  <GName>sample string 8</GName>
  <GNo>7</GNo>
  <HeadId>4</HeadId>
  <HeadName>sample string 5</HeadName>
  <HsCode>sample string 13</HsCode>
  <ID>3</ID>
  <QTY>9</QTY>
  <Unit>sample string 12</Unit>
  <UnitCn>sample string 1</UnitCn>
  <UpdateTime>2024-11-21T16:39:03.9553069+08:00</UpdateTime>
  <UpdateUser>sample string 11</UpdateUser>
</EntGoldenStockActual>

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>