POST api/entry/addOtherPackage

Request Information

URI Parameters

None.

Body Parameters

EntTgBusinessOtherpack
NameDescriptionTypeAdditional information
Guid

integer

None.

EntryId

string

None.

PackType

string

None.

PackQty

decimal number

None.

HeadGuid

integer

None.

CreateDate

date

None.

CreateUser

string

None.

PageSize

integer

None.

PageIndex

integer

None.

TotalCount

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "guid": 1,
  "entryId": "sample string 2",
  "packType": "sample string 3",
  "packQty": 4.0,
  "headGuid": "5",
  "createDate": "2024-11-21 16:54:31",
  "createUser": "sample string 6",
  "pageSize": 7,
  "pageIndex": 8,
  "totalCount": 9
}

application/xml, text/xml

Sample:
<EntTgBusinessOtherpack xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Model">
  <PageIndex>8</PageIndex>
  <PageSize>7</PageSize>
  <TotalCount>9</TotalCount>
  <CreateDate>2024-11-21T16:54:31.909124+08:00</CreateDate>
  <CreateUser>sample string 6</CreateUser>
  <EntryId>sample string 2</EntryId>
  <Guid>1</Guid>
  <HeadGuid>5</HeadGuid>
  <PackQty>4</PackQty>
  <PackType>sample string 3</PackType>
</EntTgBusinessOtherpack>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ReturnResultOfPagedResult
NameDescriptionTypeAdditional information
Status

integer

None.

Success

boolean

None.

Data

PagedResult

None.

Message

string

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<ReturnResultOfPagedResultDN9A7J8d xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Model">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Epass.Vue.WebApi.Models">
    <d2p1:items />
    <d2p1:totalCount>1</d2p1:totalCount>
  </Data>
  <Message>sample string 3</Message>
  <Status>1</Status>
  <Success>true</Success>
</ReturnResultOfPagedResultDN9A7J8d>