POST api/DeliveryPackage/GetByXODN
Request Information
URI Parameters
None.
Body Parameters
DeliveryPackage_GetByXODNRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| DeviceUniqueId | string |
None. |
|
| IdOperator | integer |
None. |
|
| IdWarehouse | integer |
None. |
|
| XOutDeliveryNoteCode | string |
None. |
|
| Phase | integer |
None. |
|
| InteractionType | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"DeviceUniqueId": "sample string 1",
"IdOperator": 2,
"IdWarehouse": 3,
"XOutDeliveryNoteCode": "sample string 4",
"Phase": 5,
"InteractionType": 6
}
application/xml, text/xml
Sample:
<DeliveryPackage_GetByXODNRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PharmatoolsWarehouseAPI.Models"> <DeviceUniqueId>sample string 1</DeviceUniqueId> <IdOperator>2</IdOperator> <IdWarehouse>3</IdWarehouse> <InteractionType>6</InteractionType> <Phase>5</Phase> <XOutDeliveryNoteCode>sample string 4</XOutDeliveryNoteCode> </DeliveryPackage_GetByXODNRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DeliveryPackage_GetByXODNResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| DestinationWarehouseId | integer |
None. |
|
| OperativeUnitCode | string |
None. |
|
| OperativeUnitDescription | string |
None. |
|
| DeliveryPackages | Collection of DeliveryPackage_DeliveryPackageWithVerification |
None. |
|
| Result | DeliveryPackage_GetByXODNResult |
None. |
Response Formats
application/json, text/json
Sample:
{
"DestinationWarehouseId": 1,
"OperativeUnitCode": "sample string 1",
"OperativeUnitDescription": "sample string 2",
"DeliveryPackages": [
{
"Code": "sample string 1",
"Verified": true
},
{
"Code": "sample string 1",
"Verified": true
}
],
"Result": 0
}
application/xml, text/xml
Sample:
<DeliveryPackage_GetByXODNResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PharmatoolsWarehouseAPI.Models">
<DeliveryPackages>
<DeliveryPackage_DeliveryPackageWithVerification>
<Code>sample string 1</Code>
<Verified>true</Verified>
</DeliveryPackage_DeliveryPackageWithVerification>
<DeliveryPackage_DeliveryPackageWithVerification>
<Code>sample string 1</Code>
<Verified>true</Verified>
</DeliveryPackage_DeliveryPackageWithVerification>
</DeliveryPackages>
<DestinationWarehouseId>1</DestinationWarehouseId>
<OperativeUnitCode>sample string 1</OperativeUnitCode>
<OperativeUnitDescription>sample string 2</OperativeUnitDescription>
<Result>GenericError</Result>
</DeliveryPackage_GetByXODNResponse>