POST new/uniqueqr/sci/saveBatch

批量提交(仅提交传入的字段,null 不改)

Request Information

URI Parameters

None.

Body Parameters

UniqueQRSciInfoSaveBatchRequest
NameDescriptionTypeAdditional information
DeptId

integer

None.

Rows

Collection of UniqueQRSciInfoSavePatchRequest

None.

Request Formats

application/json, text/json

Sample:
{
  "DeptId": 1,
  "Rows": [
    {
      "CodeId": "sample string 1",
      "Purchaser": "sample string 2",
      "ProductionLine": "sample string 3",
      "Model": "sample string 4",
      "SerialNo": "sample string 5",
      "Quantity": 1,
      "AfterSalesArea": "sample string 6",
      "LabelOperator": "sample string 7",
      "InfoUrl": "sample string 8"
    },
    {
      "CodeId": "sample string 1",
      "Purchaser": "sample string 2",
      "ProductionLine": "sample string 3",
      "Model": "sample string 4",
      "SerialNo": "sample string 5",
      "Quantity": 1,
      "AfterSalesArea": "sample string 6",
      "LabelOperator": "sample string 7",
      "InfoUrl": "sample string 8"
    }
  ]
}

application/xml, text/xml

Sample:
<UniqueQRSciInfoSaveBatchRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ma.Api.Controllers.Dtos">
  <DeptId>1</DeptId>
  <Rows>
    <UniqueQRSciInfoSavePatchRequest>
      <AfterSalesArea>sample string 6</AfterSalesArea>
      <CodeId>sample string 1</CodeId>
      <InfoUrl>sample string 8</InfoUrl>
      <LabelOperator>sample string 7</LabelOperator>
      <Model>sample string 4</Model>
      <ProductionLine>sample string 3</ProductionLine>
      <Purchaser>sample string 2</Purchaser>
      <Quantity>1</Quantity>
      <SerialNo>sample string 5</SerialNo>
    </UniqueQRSciInfoSavePatchRequest>
    <UniqueQRSciInfoSavePatchRequest>
      <AfterSalesArea>sample string 6</AfterSalesArea>
      <CodeId>sample string 1</CodeId>
      <InfoUrl>sample string 8</InfoUrl>
      <LabelOperator>sample string 7</LabelOperator>
      <Model>sample string 4</Model>
      <ProductionLine>sample string 3</ProductionLine>
      <Purchaser>sample string 2</Purchaser>
      <Quantity>1</Quantity>
      <SerialNo>sample string 5</SerialNo>
    </UniqueQRSciInfoSavePatchRequest>
  </Rows>
</UniqueQRSciInfoSaveBatchRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UniqueQRSciInfoSaveBatchRequest'.

Response Information

Resource Description

ApiDataResponse
NameDescriptionTypeAdditional information
Ok

接口是否成功。

boolean

None.

Data

返回数据。

Object

None.

Msg

返回消息。

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Ok": true,
  "Data": {},
  "Msg": "sample string 3"
}

application/xml, text/xml

Sample:
<ApiDataResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ma.Api.Controllers.Dtos">
  <Data />
  <Msg>sample string 3</Msg>
  <Ok>true</Ok>
</ApiDataResponse>