POST api/ComplianceControl/DeliveryNote_CheckItemLotSite

Request Information

URI Parameters

None.

Body Parameters

CC_DeliveryNote_CheckItemLotSiteRequest
NameDescriptionTypeAdditional information
DeviceUniqueId

string

None.

IdOperator

integer

None.

IdDeliveryNote

integer

None.

SupplierOrderRow

SupplierOrderRow

None.

ItemLot

SupplierOrderItemLot

None.

ItemLotSite

SupplierOrderItemLotSite

None.

Request Formats

application/json, text/json

Sample:
{
  "DeviceUniqueId": "sample string 1",
  "IdOperator": 2,
  "IdDeliveryNote": 3,
  "SupplierOrderRow": {
    "IdOrderRow": 1,
    "IdSupplierOrder": 2,
    "OrderRow": 3,
    "DeliveryRow": 4,
    "Quantity": 5.0,
    "Temperature": "sample string 6",
    "Note": "sample string 7",
    "ExpectedDeliveryDate": "2025-12-09T02:28:09.2628724+01:00",
    "StorageType": "sample string 9",
    "OperativeUnit": "sample string 10",
    "Lots": [
      {
        "IdItemLot": 1,
        "CustomerLotNumber": "sample string 2",
        "ExpiryDate": "2025-12-09T02:28:09.2628724+01:00",
        "ExpiryDateInserted": "2025-12-09T02:28:09.2628724+01:00",
        "Sites": [
          {
            "Id": 1,
            "Index": 2,
            "BoxNumber": 3,
            "PackageInBoxNumber": 4,
            "QuantityInPackage": 5.0,
            "TotalQuantity": 6.0,
            "Code": "sample string 7",
            "IdUncompliant": 1,
            "Uncompliant": {
              "IdUncompliantType": 1,
              "Blocking": true,
              "DateInserted": "2025-12-09T02:28:09.2628724+01:00",
              "Note": "sample string 4"
            }
          },
          {
            "Id": 1,
            "Index": 2,
            "BoxNumber": 3,
            "PackageInBoxNumber": 4,
            "QuantityInPackage": 5.0,
            "TotalQuantity": 6.0,
            "Code": "sample string 7",
            "IdUncompliant": 1,
            "Uncompliant": {
              "IdUncompliantType": 1,
              "Blocking": true,
              "DateInserted": "2025-12-09T02:28:09.2628724+01:00",
              "Note": "sample string 4"
            }
          }
        ],
        "QuantityCounted": 5.0,
        "Note": "sample string 6",
        "ManufacturedDate": "2025-12-09T02:28:09.2628724+01:00",
        "ManufacturedDateInserted": "2025-12-09T02:28:09.2628724+01:00",
        "UDI": "sample string 7",
        "ReadUDI": true
      },
      {
        "IdItemLot": 1,
        "CustomerLotNumber": "sample string 2",
        "ExpiryDate": "2025-12-09T02:28:09.2628724+01:00",
        "ExpiryDateInserted": "2025-12-09T02:28:09.2628724+01:00",
        "Sites": [
          {
            "Id": 1,
            "Index": 2,
            "BoxNumber": 3,
            "PackageInBoxNumber": 4,
            "QuantityInPackage": 5.0,
            "TotalQuantity": 6.0,
            "Code": "sample string 7",
            "IdUncompliant": 1,
            "Uncompliant": {
              "IdUncompliantType": 1,
              "Blocking": true,
              "DateInserted": "2025-12-09T02:28:09.2628724+01:00",
              "Note": "sample string 4"
            }
          },
          {
            "Id": 1,
            "Index": 2,
            "BoxNumber": 3,
            "PackageInBoxNumber": 4,
            "QuantityInPackage": 5.0,
            "TotalQuantity": 6.0,
            "Code": "sample string 7",
            "IdUncompliant": 1,
            "Uncompliant": {
              "IdUncompliantType": 1,
              "Blocking": true,
              "DateInserted": "2025-12-09T02:28:09.2628724+01:00",
              "Note": "sample string 4"
            }
          }
        ],
        "QuantityCounted": 5.0,
        "Note": "sample string 6",
        "ManufacturedDate": "2025-12-09T02:28:09.2628724+01:00",
        "ManufacturedDateInserted": "2025-12-09T02:28:09.2628724+01:00",
        "UDI": "sample string 7",
        "ReadUDI": true
      }
    ],
    "QuantityCounted": 11.0,
    "MaxLoadQuantity": 12.0,
    "IdUncompliant": 1,
    "Uncompliant": {
      "IdUncompliantType": 1,
      "Blocking": true,
      "DateInserted": "2025-12-09T02:28:09.2628724+01:00",
      "Note": "sample string 4"
    },
    "IdItem": 13,
    "IdCustomer": 14,
    "CustomerName": "sample string 15",
    "CustomerShortName": "sample string 16",
    "CustomerCode": "sample string 17",
    "Code": "sample string 18",
    "ProductCode": "sample string 19",
    "ProductCode2": "sample string 20",
    "RepertoireCode": "sample string 21",
    "ProductorCode": "sample string 22",
    "Description": "sample string 23",
    "AlternativeDescription": "sample string 24",
    "MeasureUnit": "sample string 25",
    "PickingMeasureUnit": "sample string 26",
    "PickingConvertingRate": 27.0,
    "Packaging": 28,
    "Cytotoxic": true,
    "Flammable": true,
    "Frozen": true,
    "Frigo": true,
    "Cupboard": true,
    "IsValid": true,
    "IdItemCategory": 35,
    "ItemCategory": "sample string 36",
    "PickingNotes": "sample string 37"
  },
  "ItemLot": {
    "IdItemLot": 1,
    "CustomerLotNumber": "sample string 2",
    "ExpiryDate": "2025-12-09T02:28:09.2628724+01:00",
    "ExpiryDateInserted": "2025-12-09T02:28:09.2628724+01:00",
    "Sites": [
      {
        "Id": 1,
        "Index": 2,
        "BoxNumber": 3,
        "PackageInBoxNumber": 4,
        "QuantityInPackage": 5.0,
        "TotalQuantity": 6.0,
        "Code": "sample string 7",
        "IdUncompliant": 1,
        "Uncompliant": {
          "IdUncompliantType": 1,
          "Blocking": true,
          "DateInserted": "2025-12-09T02:28:09.2628724+01:00",
          "Note": "sample string 4"
        }
      },
      {
        "Id": 1,
        "Index": 2,
        "BoxNumber": 3,
        "PackageInBoxNumber": 4,
        "QuantityInPackage": 5.0,
        "TotalQuantity": 6.0,
        "Code": "sample string 7",
        "IdUncompliant": 1,
        "Uncompliant": {
          "IdUncompliantType": 1,
          "Blocking": true,
          "DateInserted": "2025-12-09T02:28:09.2628724+01:00",
          "Note": "sample string 4"
        }
      }
    ],
    "QuantityCounted": 5.0,
    "Note": "sample string 6",
    "ManufacturedDate": "2025-12-09T02:28:09.2628724+01:00",
    "ManufacturedDateInserted": "2025-12-09T02:28:09.2628724+01:00",
    "UDI": "sample string 7",
    "ReadUDI": true
  },
  "ItemLotSite": {
    "Id": 1,
    "Index": 2,
    "BoxNumber": 3,
    "PackageInBoxNumber": 4,
    "QuantityInPackage": 5.0,
    "TotalQuantity": 6.0,
    "Code": "sample string 7",
    "IdUncompliant": 1,
    "Uncompliant": {
      "IdUncompliantType": 1,
      "Blocking": true,
      "DateInserted": "2025-12-09T02:28:09.2628724+01:00",
      "Note": "sample string 4"
    }
  }
}

application/xml, text/xml

Sample:
<CC_DeliveryNote_CheckItemLotSiteRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PharmatoolsWarehouseAPI.Models">
  <DeviceUniqueId>sample string 1</DeviceUniqueId>
  <IdDeliveryNote>3</IdDeliveryNote>
  <IdOperator>2</IdOperator>
  <ItemLot>
    <CustomerLotNumber>sample string 2</CustomerLotNumber>
    <ExpiryDate>2025-12-09T02:28:09.2628724+01:00</ExpiryDate>
    <ExpiryDateInserted>2025-12-09T02:28:09.2628724+01:00</ExpiryDateInserted>
    <IdItemLot>1</IdItemLot>
    <ManufacturedDate>2025-12-09T02:28:09.2628724+01:00</ManufacturedDate>
    <ManufacturedDateInserted>2025-12-09T02:28:09.2628724+01:00</ManufacturedDateInserted>
    <Note>sample string 6</Note>
    <QuantityCounted>5</QuantityCounted>
    <ReadUDI>true</ReadUDI>
    <Sites>
      <SupplierOrderItemLotSite>
        <BoxNumber>3</BoxNumber>
        <Code>sample string 7</Code>
        <Id>1</Id>
        <IdUncompliant>1</IdUncompliant>
        <Index>2</Index>
        <PackageInBoxNumber>4</PackageInBoxNumber>
        <QuantityInPackage>5</QuantityInPackage>
        <TotalQuantity>6</TotalQuantity>
        <Uncompliant>
          <Blocking>true</Blocking>
          <DateInserted>2025-12-09T02:28:09.2628724+01:00</DateInserted>
          <IdUncompliantType>1</IdUncompliantType>
          <Note>sample string 4</Note>
        </Uncompliant>
      </SupplierOrderItemLotSite>
      <SupplierOrderItemLotSite>
        <BoxNumber>3</BoxNumber>
        <Code>sample string 7</Code>
        <Id>1</Id>
        <IdUncompliant>1</IdUncompliant>
        <Index>2</Index>
        <PackageInBoxNumber>4</PackageInBoxNumber>
        <QuantityInPackage>5</QuantityInPackage>
        <TotalQuantity>6</TotalQuantity>
        <Uncompliant>
          <Blocking>true</Blocking>
          <DateInserted>2025-12-09T02:28:09.2628724+01:00</DateInserted>
          <IdUncompliantType>1</IdUncompliantType>
          <Note>sample string 4</Note>
        </Uncompliant>
      </SupplierOrderItemLotSite>
    </Sites>
    <UDI>sample string 7</UDI>
  </ItemLot>
  <ItemLotSite>
    <BoxNumber>3</BoxNumber>
    <Code>sample string 7</Code>
    <Id>1</Id>
    <IdUncompliant>1</IdUncompliant>
    <Index>2</Index>
    <PackageInBoxNumber>4</PackageInBoxNumber>
    <QuantityInPackage>5</QuantityInPackage>
    <TotalQuantity>6</TotalQuantity>
    <Uncompliant>
      <Blocking>true</Blocking>
      <DateInserted>2025-12-09T02:28:09.2628724+01:00</DateInserted>
      <IdUncompliantType>1</IdUncompliantType>
      <Note>sample string 4</Note>
    </Uncompliant>
  </ItemLotSite>
  <SupplierOrderRow>
    <AlternativeDescription>sample string 24</AlternativeDescription>
    <Code>sample string 18</Code>
    <Cupboard>true</Cupboard>
    <CustomerCode>sample string 17</CustomerCode>
    <CustomerName>sample string 15</CustomerName>
    <CustomerShortName>sample string 16</CustomerShortName>
    <Cytotoxic>true</Cytotoxic>
    <Description>sample string 23</Description>
    <Flammable>true</Flammable>
    <Frigo>true</Frigo>
    <Frozen>true</Frozen>
    <IdCustomer>14</IdCustomer>
    <IdItem>13</IdItem>
    <IdItemCategory>35</IdItemCategory>
    <IsValid>true</IsValid>
    <ItemCategory>sample string 36</ItemCategory>
    <MeasureUnit>sample string 25</MeasureUnit>
    <Packaging>28</Packaging>
    <PickingConvertingRate>27</PickingConvertingRate>
    <PickingMeasureUnit>sample string 26</PickingMeasureUnit>
    <PickingNotes>sample string 37</PickingNotes>
    <ProductCode>sample string 19</ProductCode>
    <ProductCode2>sample string 20</ProductCode2>
    <ProductorCode>sample string 22</ProductorCode>
    <RepertoireCode>sample string 21</RepertoireCode>
    <DeliveryRow>4</DeliveryRow>
    <ExpectedDeliveryDate>2025-12-09T02:28:09.2628724+01:00</ExpectedDeliveryDate>
    <IdOrderRow>1</IdOrderRow>
    <IdSupplierOrder>2</IdSupplierOrder>
    <IdUncompliant>1</IdUncompliant>
    <Lots>
      <SupplierOrderItemLot>
        <CustomerLotNumber>sample string 2</CustomerLotNumber>
        <ExpiryDate>2025-12-09T02:28:09.2628724+01:00</ExpiryDate>
        <ExpiryDateInserted>2025-12-09T02:28:09.2628724+01:00</ExpiryDateInserted>
        <IdItemLot>1</IdItemLot>
        <ManufacturedDate>2025-12-09T02:28:09.2628724+01:00</ManufacturedDate>
        <ManufacturedDateInserted>2025-12-09T02:28:09.2628724+01:00</ManufacturedDateInserted>
        <Note>sample string 6</Note>
        <QuantityCounted>5</QuantityCounted>
        <ReadUDI>true</ReadUDI>
        <Sites>
          <SupplierOrderItemLotSite>
            <BoxNumber>3</BoxNumber>
            <Code>sample string 7</Code>
            <Id>1</Id>
            <IdUncompliant>1</IdUncompliant>
            <Index>2</Index>
            <PackageInBoxNumber>4</PackageInBoxNumber>
            <QuantityInPackage>5</QuantityInPackage>
            <TotalQuantity>6</TotalQuantity>
            <Uncompliant>
              <Blocking>true</Blocking>
              <DateInserted>2025-12-09T02:28:09.2628724+01:00</DateInserted>
              <IdUncompliantType>1</IdUncompliantType>
              <Note>sample string 4</Note>
            </Uncompliant>
          </SupplierOrderItemLotSite>
          <SupplierOrderItemLotSite>
            <BoxNumber>3</BoxNumber>
            <Code>sample string 7</Code>
            <Id>1</Id>
            <IdUncompliant>1</IdUncompliant>
            <Index>2</Index>
            <PackageInBoxNumber>4</PackageInBoxNumber>
            <QuantityInPackage>5</QuantityInPackage>
            <TotalQuantity>6</TotalQuantity>
            <Uncompliant>
              <Blocking>true</Blocking>
              <DateInserted>2025-12-09T02:28:09.2628724+01:00</DateInserted>
              <IdUncompliantType>1</IdUncompliantType>
              <Note>sample string 4</Note>
            </Uncompliant>
          </SupplierOrderItemLotSite>
        </Sites>
        <UDI>sample string 7</UDI>
      </SupplierOrderItemLot>
      <SupplierOrderItemLot>
        <CustomerLotNumber>sample string 2</CustomerLotNumber>
        <ExpiryDate>2025-12-09T02:28:09.2628724+01:00</ExpiryDate>
        <ExpiryDateInserted>2025-12-09T02:28:09.2628724+01:00</ExpiryDateInserted>
        <IdItemLot>1</IdItemLot>
        <ManufacturedDate>2025-12-09T02:28:09.2628724+01:00</ManufacturedDate>
        <ManufacturedDateInserted>2025-12-09T02:28:09.2628724+01:00</ManufacturedDateInserted>
        <Note>sample string 6</Note>
        <QuantityCounted>5</QuantityCounted>
        <ReadUDI>true</ReadUDI>
        <Sites>
          <SupplierOrderItemLotSite>
            <BoxNumber>3</BoxNumber>
            <Code>sample string 7</Code>
            <Id>1</Id>
            <IdUncompliant>1</IdUncompliant>
            <Index>2</Index>
            <PackageInBoxNumber>4</PackageInBoxNumber>
            <QuantityInPackage>5</QuantityInPackage>
            <TotalQuantity>6</TotalQuantity>
            <Uncompliant>
              <Blocking>true</Blocking>
              <DateInserted>2025-12-09T02:28:09.2628724+01:00</DateInserted>
              <IdUncompliantType>1</IdUncompliantType>
              <Note>sample string 4</Note>
            </Uncompliant>
          </SupplierOrderItemLotSite>
          <SupplierOrderItemLotSite>
            <BoxNumber>3</BoxNumber>
            <Code>sample string 7</Code>
            <Id>1</Id>
            <IdUncompliant>1</IdUncompliant>
            <Index>2</Index>
            <PackageInBoxNumber>4</PackageInBoxNumber>
            <QuantityInPackage>5</QuantityInPackage>
            <TotalQuantity>6</TotalQuantity>
            <Uncompliant>
              <Blocking>true</Blocking>
              <DateInserted>2025-12-09T02:28:09.2628724+01:00</DateInserted>
              <IdUncompliantType>1</IdUncompliantType>
              <Note>sample string 4</Note>
            </Uncompliant>
          </SupplierOrderItemLotSite>
        </Sites>
        <UDI>sample string 7</UDI>
      </SupplierOrderItemLot>
    </Lots>
    <MaxLoadQuantity>12</MaxLoadQuantity>
    <Note>sample string 7</Note>
    <OperativeUnit>sample string 10</OperativeUnit>
    <OrderRow>3</OrderRow>
    <Quantity>5</Quantity>
    <QuantityCounted>11</QuantityCounted>
    <StorageType>sample string 9</StorageType>
    <Temperature>sample string 6</Temperature>
    <Uncompliant>
      <Blocking>true</Blocking>
      <DateInserted>2025-12-09T02:28:09.2628724+01:00</DateInserted>
      <IdUncompliantType>1</IdUncompliantType>
      <Note>sample string 4</Note>
    </Uncompliant>
  </SupplierOrderRow>
</CC_DeliveryNote_CheckItemLotSiteRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CC_DeliveryNote_CheckItemLotSiteResponse
NameDescriptionTypeAdditional information
Result

CC_DeliveryNote_CheckItemLotSiteResult

None.

ItemLot

SupplierOrderItemLot

None.

ItemLotSite

SupplierOrderItemLotSite

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": 0,
  "ItemLot": {
    "IdItemLot": 1,
    "CustomerLotNumber": "sample string 2",
    "ExpiryDate": "2025-12-09T02:28:09.2784769+01:00",
    "ExpiryDateInserted": "2025-12-09T02:28:09.2784769+01:00",
    "Sites": [
      {
        "Id": 1,
        "Index": 2,
        "BoxNumber": 3,
        "PackageInBoxNumber": 4,
        "QuantityInPackage": 5.0,
        "TotalQuantity": 6.0,
        "Code": "sample string 7",
        "IdUncompliant": 1,
        "Uncompliant": {
          "IdUncompliantType": 1,
          "Blocking": true,
          "DateInserted": "2025-12-09T02:28:09.2784769+01:00",
          "Note": "sample string 4"
        }
      },
      {
        "Id": 1,
        "Index": 2,
        "BoxNumber": 3,
        "PackageInBoxNumber": 4,
        "QuantityInPackage": 5.0,
        "TotalQuantity": 6.0,
        "Code": "sample string 7",
        "IdUncompliant": 1,
        "Uncompliant": {
          "IdUncompliantType": 1,
          "Blocking": true,
          "DateInserted": "2025-12-09T02:28:09.2784769+01:00",
          "Note": "sample string 4"
        }
      }
    ],
    "QuantityCounted": 5.0,
    "Note": "sample string 6",
    "ManufacturedDate": "2025-12-09T02:28:09.2784769+01:00",
    "ManufacturedDateInserted": "2025-12-09T02:28:09.2784769+01:00",
    "UDI": "sample string 7",
    "ReadUDI": true
  },
  "ItemLotSite": {
    "Id": 1,
    "Index": 2,
    "BoxNumber": 3,
    "PackageInBoxNumber": 4,
    "QuantityInPackage": 5.0,
    "TotalQuantity": 6.0,
    "Code": "sample string 7",
    "IdUncompliant": 1,
    "Uncompliant": {
      "IdUncompliantType": 1,
      "Blocking": true,
      "DateInserted": "2025-12-09T02:28:09.2784769+01:00",
      "Note": "sample string 4"
    }
  }
}

application/xml, text/xml

Sample:
<CC_DeliveryNote_CheckItemLotSiteResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PharmatoolsWarehouseAPI.Models">
  <ItemLot>
    <CustomerLotNumber>sample string 2</CustomerLotNumber>
    <ExpiryDate>2025-12-09T02:28:09.2784769+01:00</ExpiryDate>
    <ExpiryDateInserted>2025-12-09T02:28:09.2784769+01:00</ExpiryDateInserted>
    <IdItemLot>1</IdItemLot>
    <ManufacturedDate>2025-12-09T02:28:09.2784769+01:00</ManufacturedDate>
    <ManufacturedDateInserted>2025-12-09T02:28:09.2784769+01:00</ManufacturedDateInserted>
    <Note>sample string 6</Note>
    <QuantityCounted>5</QuantityCounted>
    <ReadUDI>true</ReadUDI>
    <Sites>
      <SupplierOrderItemLotSite>
        <BoxNumber>3</BoxNumber>
        <Code>sample string 7</Code>
        <Id>1</Id>
        <IdUncompliant>1</IdUncompliant>
        <Index>2</Index>
        <PackageInBoxNumber>4</PackageInBoxNumber>
        <QuantityInPackage>5</QuantityInPackage>
        <TotalQuantity>6</TotalQuantity>
        <Uncompliant>
          <Blocking>true</Blocking>
          <DateInserted>2025-12-09T02:28:09.2784769+01:00</DateInserted>
          <IdUncompliantType>1</IdUncompliantType>
          <Note>sample string 4</Note>
        </Uncompliant>
      </SupplierOrderItemLotSite>
      <SupplierOrderItemLotSite>
        <BoxNumber>3</BoxNumber>
        <Code>sample string 7</Code>
        <Id>1</Id>
        <IdUncompliant>1</IdUncompliant>
        <Index>2</Index>
        <PackageInBoxNumber>4</PackageInBoxNumber>
        <QuantityInPackage>5</QuantityInPackage>
        <TotalQuantity>6</TotalQuantity>
        <Uncompliant>
          <Blocking>true</Blocking>
          <DateInserted>2025-12-09T02:28:09.2784769+01:00</DateInserted>
          <IdUncompliantType>1</IdUncompliantType>
          <Note>sample string 4</Note>
        </Uncompliant>
      </SupplierOrderItemLotSite>
    </Sites>
    <UDI>sample string 7</UDI>
  </ItemLot>
  <ItemLotSite>
    <BoxNumber>3</BoxNumber>
    <Code>sample string 7</Code>
    <Id>1</Id>
    <IdUncompliant>1</IdUncompliant>
    <Index>2</Index>
    <PackageInBoxNumber>4</PackageInBoxNumber>
    <QuantityInPackage>5</QuantityInPackage>
    <TotalQuantity>6</TotalQuantity>
    <Uncompliant>
      <Blocking>true</Blocking>
      <DateInserted>2025-12-09T02:28:09.2784769+01:00</DateInserted>
      <IdUncompliantType>1</IdUncompliantType>
      <Note>sample string 4</Note>
    </Uncompliant>
  </ItemLotSite>
  <Result>GenericError</Result>
</CC_DeliveryNote_CheckItemLotSiteResponse>