POST api/ComplianceControl/DeliveryNote_Get

Request Information

URI Parameters

None.

Body Parameters

CC_DeliveryNote_GetRequest
NameDescriptionTypeAdditional information
DeviceUniqueId

string

None.

DeliveryNoteBarcode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DeviceUniqueId": "sample string 1",
  "DeliveryNoteBarcode": "sample string 2"
}

application/xml, text/xml

Sample:
<CC_DeliveryNote_GetRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PharmatoolsWarehouseAPI.Models">
  <DeliveryNoteBarcode>sample string 2</DeliveryNoteBarcode>
  <DeviceUniqueId>sample string 1</DeviceUniqueId>
</CC_DeliveryNote_GetRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CC_DeliveryNote_GetResponse
NameDescriptionTypeAdditional information
Result

CC_DeliveryNote_GetResult

None.

DeliveryNote

DeliveryNote

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": 0,
  "DeliveryNote": {
    "IdDeliveryNote": 1,
    "IdSupplierOrder": 2,
    "DeliveryNoteNumber": "sample string 3",
    "DeliveryNoteDate": "2025-12-09T02:22:08.9391223+01:00",
    "ReceivedDate": "2025-12-09T02:22:08.9391223+01:00",
    "DeliveryNotePackages": 6,
    "DeliveryNoteCode": "sample string 7",
    "Status": 0,
    "IdSupplier": 8,
    "SupplierName": "sample string 9",
    "OrderType": "sample string 10",
    "OrderNumber": "sample string 11",
    "OrderDate": "2025-12-09T02:22:08.9391223+01:00",
    "OrderStatus": 0,
    "OrderRowsNumber": 13,
    "IdCustomer": 14,
    "Customer": "sample string 15",
    "StockType": "sample string 16",
    "Type": "sample string 17",
    "Note": "sample string 18",
    "IdUncompliant": 1,
    "Uncompliant": {
      "IdUncompliantType": 1,
      "Blocking": true,
      "DateInserted": "2025-12-09T02:22:08.9391223+01:00",
      "Note": "sample string 4"
    },
    "NullLotExpiryDate": "2025-12-09T02:22:08.9391223+01:00",
    "NullLotNumber": "sample string 20"
  }
}

application/xml, text/xml

Sample:
<CC_DeliveryNote_GetResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PharmatoolsWarehouseAPI.Models">
  <DeliveryNote>
    <Customer>sample string 15</Customer>
    <DeliveryNoteCode>sample string 7</DeliveryNoteCode>
    <DeliveryNoteDate>2025-12-09T02:22:08.9391223+01:00</DeliveryNoteDate>
    <DeliveryNoteNumber>sample string 3</DeliveryNoteNumber>
    <DeliveryNotePackages>6</DeliveryNotePackages>
    <IdCustomer>14</IdCustomer>
    <IdDeliveryNote>1</IdDeliveryNote>
    <IdSupplier>8</IdSupplier>
    <IdSupplierOrder>2</IdSupplierOrder>
    <IdUncompliant>1</IdUncompliant>
    <Note>sample string 18</Note>
    <NullLotExpiryDate>2025-12-09T02:22:08.9391223+01:00</NullLotExpiryDate>
    <NullLotNumber>sample string 20</NullLotNumber>
    <OrderDate>2025-12-09T02:22:08.9391223+01:00</OrderDate>
    <OrderNumber>sample string 11</OrderNumber>
    <OrderRowsNumber>13</OrderRowsNumber>
    <OrderStatus>newOrder</OrderStatus>
    <OrderType>sample string 10</OrderType>
    <ReceivedDate>2025-12-09T02:22:08.9391223+01:00</ReceivedDate>
    <Status>newDeliveryNote</Status>
    <StockType>sample string 16</StockType>
    <SupplierName>sample string 9</SupplierName>
    <Type>sample string 17</Type>
    <Uncompliant>
      <Blocking>true</Blocking>
      <DateInserted>2025-12-09T02:22:08.9391223+01:00</DateInserted>
      <IdUncompliantType>1</IdUncompliantType>
      <Note>sample string 4</Note>
    </Uncompliant>
  </DeliveryNote>
  <Result>GenericError</Result>
</CC_DeliveryNote_GetResponse>