POST api/InvLabPreProductionExportLotInspectionHeader/Save

Request Information

URI Parameters

None.

Body Parameters

InvLabPreProductionExportLotInspectionHeader
NameDescriptionTypeAdditional information
IsApproved

boolean

None.

ApprovedDate

date

None.

EntryDate

date

None.

ModifyDate

date

None.

ReportDate

date

None.

ConfirmationDate

date

None.

QtyKgs

decimal number

None.

ApprovedUserId

integer

None.

BranchesId

integer

None.

CompanyId

integer

None.

EntryUserId

integer

None.

Id

integer

None.

InspectedByLabId

integer

None.

ItemId

integer

None.

ModifyUserId

integer

None.

OrganizationId

integer

None.

ProjectsId

integer

None.

ReportDocNo

integer

None.

JobLotId

integer

None.

InspectionRemarks

string

None.

LotRefNo

string

None.

ReportRefNo

string

None.

ProductSpecification

string

None.

ReportStatus

string

None.

JobLotDescription

string

None.

LotInspectionDetails

Collection of InvLabPreProductionExportLotInspectionDetail

None.

Request Formats

application/json, text/json

Sample:
{
  "IsApproved": true,
  "ApprovedDate": "2025-10-29T13:17:23.6194068+05:00",
  "EntryDate": "2025-10-29T13:17:23.6194068+05:00",
  "ModifyDate": "2025-10-29T13:17:23.6194068+05:00",
  "ReportDate": "2025-10-29T13:17:23.6194068+05:00",
  "ConfirmationDate": "2025-10-29T13:17:23.6194068+05:00",
  "QtyKgs": 6.1,
  "ApprovedUserId": 7,
  "BranchesId": 8,
  "CompanyId": 9,
  "EntryUserId": 10,
  "Id": 11,
  "InspectedByLabId": 12,
  "ItemId": 13,
  "ModifyUserId": 14,
  "OrganizationId": 15,
  "ProjectsId": 16,
  "ReportDocNo": 17,
  "JobLotId": 18,
  "InspectionRemarks": "sample string 19",
  "LotRefNo": "sample string 20",
  "ReportRefNo": "sample string 21",
  "ProductSpecification": "sample string 22",
  "ReportStatus": "sample string 23",
  "JobLotDescription": "sample string 24",
  "LotInspectionDetails": [
    {
      "ContractId": 1,
      "Id": 2,
      "InvLabPreProductionExportLotInspectionHeaderId": 3,
      "Qty": 4,
      "SupplierCustomerId": 5,
      "Status": "sample string 6",
      "SubLot": "sample string 7",
      "SubRemarks": "sample string 8",
      "SupplierCustomer": "sample string 9",
      "ContractNo": "sample string 10"
    },
    {
      "ContractId": 1,
      "Id": 2,
      "InvLabPreProductionExportLotInspectionHeaderId": 3,
      "Qty": 4,
      "SupplierCustomerId": 5,
      "Status": "sample string 6",
      "SubLot": "sample string 7",
      "SubRemarks": "sample string 8",
      "SupplierCustomer": "sample string 9",
      "ContractNo": "sample string 10"
    }
  ]
}

application/xml, text/xml

Sample:
<InvLabPreProductionExportLotInspectionHeader xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model.Export">
  <ApprovedDate>2025-10-29T13:17:23.6194068+05:00</ApprovedDate>
  <ApprovedUserId>7</ApprovedUserId>
  <BranchesId>8</BranchesId>
  <CompanyId>9</CompanyId>
  <ConfirmationDate>2025-10-29T13:17:23.6194068+05:00</ConfirmationDate>
  <EntryDate>2025-10-29T13:17:23.6194068+05:00</EntryDate>
  <EntryUserId>10</EntryUserId>
  <Id>11</Id>
  <InspectedByLabId>12</InspectedByLabId>
  <InspectionRemarks>sample string 19</InspectionRemarks>
  <IsApproved>true</IsApproved>
  <ItemId>13</ItemId>
  <JobLotDescription>sample string 24</JobLotDescription>
  <JobLotId>18</JobLotId>
  <LotInspectionDetails>
    <InvLabPreProductionExportLotInspectionDetail>
      <ContractId>1</ContractId>
      <ContractNo>sample string 10</ContractNo>
      <Id>2</Id>
      <InvLabPreProductionExportLotInspectionHeaderId>3</InvLabPreProductionExportLotInspectionHeaderId>
      <Qty>4</Qty>
      <Status>sample string 6</Status>
      <SubLot>sample string 7</SubLot>
      <SubRemarks>sample string 8</SubRemarks>
      <SupplierCustomer>sample string 9</SupplierCustomer>
      <SupplierCustomerId>5</SupplierCustomerId>
    </InvLabPreProductionExportLotInspectionDetail>
    <InvLabPreProductionExportLotInspectionDetail>
      <ContractId>1</ContractId>
      <ContractNo>sample string 10</ContractNo>
      <Id>2</Id>
      <InvLabPreProductionExportLotInspectionHeaderId>3</InvLabPreProductionExportLotInspectionHeaderId>
      <Qty>4</Qty>
      <Status>sample string 6</Status>
      <SubLot>sample string 7</SubLot>
      <SubRemarks>sample string 8</SubRemarks>
      <SupplierCustomer>sample string 9</SupplierCustomer>
      <SupplierCustomerId>5</SupplierCustomerId>
    </InvLabPreProductionExportLotInspectionDetail>
  </LotInspectionDetails>
  <LotRefNo>sample string 20</LotRefNo>
  <ModifyDate>2025-10-29T13:17:23.6194068+05:00</ModifyDate>
  <ModifyUserId>14</ModifyUserId>
  <OrganizationId>15</OrganizationId>
  <ProductSpecification>sample string 22</ProductSpecification>
  <ProjectsId>16</ProjectsId>
  <QtyKgs>6.1</QtyKgs>
  <ReportDate>2025-10-29T13:17:23.6194068+05:00</ReportDate>
  <ReportDocNo>17</ReportDocNo>
  <ReportRefNo>sample string 21</ReportRefNo>
  <ReportStatus>sample string 23</ReportStatus>
</InvLabPreProductionExportLotInspectionHeader>

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 'InvLabPreProductionExportLotInspectionHeader'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.