GET api/Packet/GetPacketTypes
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
ResponseModelOfListOfPacketType| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Errors | Collection of string |
None. |
|
| Code | integer |
None. |
|
| Data | Collection of PacketType |
None. |
|
| Warning | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"message": "sample string 2",
"errors": [
"sample string 1",
"sample string 2"
],
"code": 3,
"data": [
{
"packetTypeCode": 64,
"packetTypeDescription": "sample string 2",
"isBlocked": true,
"barcodeStartWith": "sample string 4",
"lastBarcode": "sample string 5"
},
{
"packetTypeCode": 64,
"packetTypeDescription": "sample string 2",
"isBlocked": true,
"barcodeStartWith": "sample string 4",
"lastBarcode": "sample string 5"
}
],
"warning": true
}
application/xml, text/xml
Sample:
<ResponseModelOfArrayOfPacketTypelmxkWvTr xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VolisServer.CustomClasses">
<Code>3</Code>
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/VolisServer.Domain.ErpEntities">
<d2p1:PacketType>
<d2p1:BarcodeStartWith>sample string 4</d2p1:BarcodeStartWith>
<d2p1:IsBlocked>true</d2p1:IsBlocked>
<d2p1:LastBarcode>sample string 5</d2p1:LastBarcode>
<d2p1:PacketTypeCode>64</d2p1:PacketTypeCode>
<d2p1:PacketTypeDescription>sample string 2</d2p1:PacketTypeDescription>
</d2p1:PacketType>
<d2p1:PacketType>
<d2p1:BarcodeStartWith>sample string 4</d2p1:BarcodeStartWith>
<d2p1:IsBlocked>true</d2p1:IsBlocked>
<d2p1:LastBarcode>sample string 5</d2p1:LastBarcode>
<d2p1:PacketTypeCode>64</d2p1:PacketTypeCode>
<d2p1:PacketTypeDescription>sample string 2</d2p1:PacketTypeDescription>
</d2p1:PacketType>
</Data>
<Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Errors>
<Message>sample string 2</Message>
<Success>true</Success>
<Warning>true</Warning>
</ResponseModelOfArrayOfPacketTypelmxkWvTr>