POST api/DeliveryPackage/SignDelivery

Request Information

URI Parameters

None.

Body Parameters

DeliveryPackage_SignDeliveryRequest
NameDescriptionTypeAdditional information
DeviceUniqueId

string

None.

IdOperator

integer

None.

IdWarehouse

integer

None.

XOutDeliveryNoteCode

string

None.

IdDeliverySignatureAnomalies

Collection of integer

None.

FileContentAsBase64String

string

None.

OperativeUnitScanFromBarcode

boolean

None.

Note

string

None.

Packages

Collection of DeliveryPackage_SignDeliveryPackage

None.

Request Formats

application/json, text/json

Sample:
{
  "DeviceUniqueId": "sample string 1",
  "IdOperator": 2,
  "IdWarehouse": 3,
  "XOutDeliveryNoteCode": "sample string 4",
  "IdDeliverySignatureAnomalies": [
    1,
    2
  ],
  "FileContentAsBase64String": "sample string 5",
  "OperativeUnitScanFromBarcode": true,
  "Note": "sample string 7",
  "Packages": [
    {
      "DeliveryPackageCode": "sample string 1",
      "InteractionType": 2
    },
    {
      "DeliveryPackageCode": "sample string 1",
      "InteractionType": 2
    }
  ]
}

application/xml, text/xml

Sample:
<DeliveryPackage_SignDeliveryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PharmatoolsWarehouseAPI.Models">
  <DeviceUniqueId>sample string 1</DeviceUniqueId>
  <FileContentAsBase64String>sample string 5</FileContentAsBase64String>
  <IdDeliverySignatureAnomalies xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </IdDeliverySignatureAnomalies>
  <IdOperator>2</IdOperator>
  <IdWarehouse>3</IdWarehouse>
  <Note>sample string 7</Note>
  <OperativeUnitScanFromBarcode>true</OperativeUnitScanFromBarcode>
  <Packages>
    <DeliveryPackage_SignDeliveryPackage>
      <DeliveryPackageCode>sample string 1</DeliveryPackageCode>
      <InteractionType>2</InteractionType>
    </DeliveryPackage_SignDeliveryPackage>
    <DeliveryPackage_SignDeliveryPackage>
      <DeliveryPackageCode>sample string 1</DeliveryPackageCode>
      <InteractionType>2</InteractionType>
    </DeliveryPackage_SignDeliveryPackage>
  </Packages>
  <XOutDeliveryNoteCode>sample string 4</XOutDeliveryNoteCode>
</DeliveryPackage_SignDeliveryRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DeliveryPackage_SignDeliveryResponse
NameDescriptionTypeAdditional information
Result

DeliveryPackage_SignDeliveryResult

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": 0
}

application/xml, text/xml

Sample:
<DeliveryPackage_SignDeliveryResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PharmatoolsWarehouseAPI.Models">
  <Result>GenericError</Result>
</DeliveryPackage_SignDeliveryResponse>