POST api/QR/AddQrBatch

Request Information

URI Parameters

None.

Body Parameters

QRGenDto
NameDescriptionTypeAdditional information
ProductId

integer

None.

ProductTypeId

integer

None.

MaterialTypeId

integer

None.

ProductColorId

integer

None.

DesignPositionId

integer

None.

ProductNameId

integer

None.

BrandId

integer

None.

ModelId

integer

None.

Count

integer

None.

GenerationDate

date

None.

JobNumber

string

None.

ProductCode

string

None.

BarCodeData

string

None.

ProductDescription

string

None.

QRCodes

Collection of string

None.

ProductCagtegoryId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ProductId": 1,
  "ProductTypeId": 1,
  "MaterialTypeId": 1,
  "ProductColorId": 1,
  "DesignPositionId": 1,
  "ProductNameId": 1,
  "BrandId": 1,
  "ModelId": 1,
  "Count": 2,
  "GenerationDate": "2023-02-09T14:38:01.5968782+05:30",
  "JobNumber": "sample string 4",
  "ProductCode": "sample string 5",
  "BarCodeData": "sample string 6",
  "ProductDescription": "sample string 7",
  "QRCodes": [
    "sample string 1",
    "sample string 2"
  ],
  "ProductCagtegoryId": 8
}

application/xml, text/xml

Sample:
<QRGenDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BreakProtection.Common.Dto">
  <BarCodeData>sample string 6</BarCodeData>
  <BrandId>1</BrandId>
  <Count>2</Count>
  <DesignPositionId>1</DesignPositionId>
  <GenerationDate>2023-02-09T14:38:01.5968782+05:30</GenerationDate>
  <JobNumber>sample string 4</JobNumber>
  <MaterialTypeId>1</MaterialTypeId>
  <ModelId>1</ModelId>
  <ProductCagtegoryId>8</ProductCagtegoryId>
  <ProductCode>sample string 5</ProductCode>
  <ProductColorId>1</ProductColorId>
  <ProductDescription>sample string 7</ProductDescription>
  <ProductId>1</ProductId>
  <ProductNameId>1</ProductNameId>
  <ProductTypeId>1</ProductTypeId>
  <QRCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </QRCodes>
</QRGenDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
Status

integer

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "Message": "sample string 2",
  "Data": {}
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BreakProtection.Common.Dto">
  <Data />
  <Message>sample string 2</Message>
  <Status>1</Status>
</Response>