POST api/businessDeclarationForm/select

Request Information

URI Parameters

None.

Body Parameters

BusDeclFormAuditAppStockDto
NameDescriptionTypeAdditional information
SelectVal

Collection of AppStockDetail

None.

CopErpCode

string

None.

DnNo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "selectVal": [
    {
      "stockId": "1",
      "useQty": 2.0
    },
    {
      "stockId": "1",
      "useQty": 2.0
    }
  ],
  "copErpCode": "sample string 1",
  "dnNo": "sample string 2"
}

application/xml, text/xml

Sample:
<BusDeclFormAuditAppStockDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Model">
  <CopErpCode>sample string 1</CopErpCode>
  <DnNo>sample string 2</DnNo>
  <SelectVal>
    <BusDeclFormAuditAppStockDto.AppStockDetail>
      <StockId>1</StockId>
      <UseQty>2</UseQty>
    </BusDeclFormAuditAppStockDto.AppStockDetail>
    <BusDeclFormAuditAppStockDto.AppStockDetail>
      <StockId>1</StockId>
      <UseQty>2</UseQty>
    </BusDeclFormAuditAppStockDto.AppStockDetail>
  </SelectVal>
</BusDeclFormAuditAppStockDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ReturnResultOfString
NameDescriptionTypeAdditional information
Status

integer

None.

Success

boolean

None.

Data

string

None.

Message

string

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

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