GET api/packinglist/lines/{headId}

Gets all the packing list lines for a specific packing list.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
headId

The id for the packing list.

globally unique identifier

Required

Body Parameters

None.

Remarks

None.

Example

//Gets the lines for a packing list with id 00000000-0000-0000-0000-000000000000
http://localhost/api/packinglist/lines/00000000-0000-0000-0000-000000000000

Response Information

Resource Description

Collection of PackinglistLine
NameDescriptionTypeAdditional information
Status

Indicates which status the packing list line is in.

PackinglistLineStatus

None.

StorageCardId

The Storage card assigned to this packing list line.

globally unique identifier

None.

EquipmentSetId

The Equipment set assigned to this packing list line.

globally unique identifier

None.

LicensePlate

The license plate for the storage card assigned to the packing list line.

string

None.

StockPlaceId

The stock place id for the storage card assigned to the packing list line.

integer

None.

StockName

The stock name for the storage card assigned to the packing list line.

string

None.

IsReturn

Indicates if the equipment is expected to be returned.

boolean

None.

ReservationBranchId

Indicates where the equipment is going

integer

None.

ReservationDate

Indicates when the equipment is being expected to arrive.

date

None.

ReservationDepartment

Indicates which department expecting the equipment.

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Status": {
      "Id": 1,
      "Name": "sample string 2"
    },
    "StorageCardId": "23c6be8d-5a7f-4684-9559-4b78804cc237",
    "EquipmentSetId": "b6d6608f-0c36-4571-b68e-be34ab8e410b",
    "LicensePlate": "sample string 3",
    "StockPlaceId": 1,
    "StockName": "sample string 4",
    "IsReturn": true,
    "ReservationBranchId": 6,
    "ReservationDate": "12/21/2025 1:04:35 PM",
    "ReservationDepartment": "sample string 8"
  },
  {
    "Status": {
      "Id": 1,
      "Name": "sample string 2"
    },
    "StorageCardId": "23c6be8d-5a7f-4684-9559-4b78804cc237",
    "EquipmentSetId": "b6d6608f-0c36-4571-b68e-be34ab8e410b",
    "LicensePlate": "sample string 3",
    "StockPlaceId": 1,
    "StockName": "sample string 4",
    "IsReturn": true,
    "ReservationBranchId": 6,
    "ReservationDate": "12/21/2025 1:04:35 PM",
    "ReservationDepartment": "sample string 8"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPackinglistLine xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.TyreHotel">
  <PackinglistLine>
    <EquipmentSetId>b6d6608f-0c36-4571-b68e-be34ab8e410b</EquipmentSetId>
    <IsReturn>true</IsReturn>
    <LicensePlate>sample string 3</LicensePlate>
    <ReservationBranchId>6</ReservationBranchId>
    <ReservationDate>2025-12-21T13:04:35.9004956+00:00</ReservationDate>
    <ReservationDepartment>sample string 8</ReservationDepartment>
    <Status>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </Status>
    <StockName>sample string 4</StockName>
    <StockPlaceId>1</StockPlaceId>
    <StorageCardId>23c6be8d-5a7f-4684-9559-4b78804cc237</StorageCardId>
  </PackinglistLine>
  <PackinglistLine>
    <EquipmentSetId>b6d6608f-0c36-4571-b68e-be34ab8e410b</EquipmentSetId>
    <IsReturn>true</IsReturn>
    <LicensePlate>sample string 3</LicensePlate>
    <ReservationBranchId>6</ReservationBranchId>
    <ReservationDate>2025-12-21T13:04:35.9004956+00:00</ReservationDate>
    <ReservationDepartment>sample string 8</ReservationDepartment>
    <Status>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </Status>
    <StockName>sample string 4</StockName>
    <StockPlaceId>1</StockPlaceId>
    <StorageCardId>23c6be8d-5a7f-4684-9559-4b78804cc237</StorageCardId>
  </PackinglistLine>
</ArrayOfPackinglistLine>