GET api/Packet/GetBlockedSections

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

ResponseModelOfListOfBlockedSectionDTO
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Errors

Collection of string

None.

Code

integer

None.

Data

Collection of BlockedSectionDTO

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": [
    {
      "id": 1,
      "sectionCode": "sample string 2",
      "barcode": "sample string 3",
      "packetTypeCode": 64,
      "blockedBy": "sample string 5",
      "blockedDate": "2025-12-10T17:40:25.3903599+03:00"
    },
    {
      "id": 1,
      "sectionCode": "sample string 2",
      "barcode": "sample string 3",
      "packetTypeCode": 64,
      "blockedBy": "sample string 5",
      "blockedDate": "2025-12-10T17:40:25.3903599+03:00"
    }
  ],
  "warning": true
}

application/xml, text/xml

Sample:
<ResponseModelOfArrayOfBlockedSectionDTOc9tsg1aB 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.DTOs.Packet">
    <d2p1:BlockedSectionDTO>
      <d2p1:Barcode>sample string 3</d2p1:Barcode>
      <d2p1:BlockedBy>sample string 5</d2p1:BlockedBy>
      <d2p1:BlockedDate>2025-12-10T17:40:25.3903599+03:00</d2p1:BlockedDate>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:PacketTypeCode>64</d2p1:PacketTypeCode>
      <d2p1:SectionCode>sample string 2</d2p1:SectionCode>
    </d2p1:BlockedSectionDTO>
    <d2p1:BlockedSectionDTO>
      <d2p1:Barcode>sample string 3</d2p1:Barcode>
      <d2p1:BlockedBy>sample string 5</d2p1:BlockedBy>
      <d2p1:BlockedDate>2025-12-10T17:40:25.3903599+03:00</d2p1:BlockedDate>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:PacketTypeCode>64</d2p1:PacketTypeCode>
      <d2p1:SectionCode>sample string 2</d2p1:SectionCode>
    </d2p1:BlockedSectionDTO>
  </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>
</ResponseModelOfArrayOfBlockedSectionDTOc9tsg1aB>