POST api/DeliveryPackage/InsertUdiPackages

Request Information

URI Parameters

None.

Body Parameters

DeliveryPackage_InsertUdiPackagesRequest
NameDescriptionTypeAdditional information
DeviceUniqueId

string

None.

Codes

Collection of string

None.

IdOutDeliveryNoteRow

integer

None.

IdOperator

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DeviceUniqueId": "sample string 1",
  "Codes": [
    "sample string 1",
    "sample string 2"
  ],
  "IdOutDeliveryNoteRow": 1,
  "IdOperator": 2
}

application/xml, text/xml

Sample:
<DeliveryPackage_InsertUdiPackagesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PharmatoolsWarehouseAPI.Models">
  <Codes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Codes>
  <DeviceUniqueId>sample string 1</DeviceUniqueId>
  <IdOperator>2</IdOperator>
  <IdOutDeliveryNoteRow>1</IdOutDeliveryNoteRow>
</DeliveryPackage_InsertUdiPackagesRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DeliveryPackage_InsertUdiPackagesResponse
NameDescriptionTypeAdditional information
Result

DeliveryPackage_InsertUdiPackagesResult

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": 0
}

application/xml, text/xml

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