GET api/packinglist/returngoods/{branchId}

Gets all return items expected.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
branchId

A specific branch, if null all branches are used.

integer

Required

Body Parameters

None.

Remarks

None.

Example

//Gets all the returning storage cards for branch with id 1.
http://localhost/api/packinglist/returngoods/1

Response Information

Resource Description

Collection of PackinglistReturnGoodsItem
NameDescriptionTypeAdditional information
StorageCardId

globally unique identifier

None.

EquipmentSetId

globally unique identifier

None.

BranchId

integer

None.

LicensePlate

string

None.

StockPlaceId

integer

None.

StockName

string

None.

MinTreadDepth

decimal number

None.

Wheels

boolean

None.

Studs

boolean

None.

SummerSeason

boolean

None.

NumberOfItems

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "StorageCardId": "3e43a6cc-93e1-42cc-a689-b80d8b5e7765",
    "EquipmentSetId": "09c1740f-cadb-46df-a00c-9cd57fa92c90",
    "BranchId": 3,
    "LicensePlate": "sample string 4",
    "StockPlaceId": 1,
    "StockName": "sample string 5",
    "MinTreadDepth": 1.0,
    "Wheels": true,
    "Studs": true,
    "SummerSeason": true,
    "NumberOfItems": 9
  },
  {
    "StorageCardId": "3e43a6cc-93e1-42cc-a689-b80d8b5e7765",
    "EquipmentSetId": "09c1740f-cadb-46df-a00c-9cd57fa92c90",
    "BranchId": 3,
    "LicensePlate": "sample string 4",
    "StockPlaceId": 1,
    "StockName": "sample string 5",
    "MinTreadDepth": 1.0,
    "Wheels": true,
    "Studs": true,
    "SummerSeason": true,
    "NumberOfItems": 9
  }
]

application/xml, text/xml

Sample:
<ArrayOfPackinglistReturnGoodsItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.TyreHotel">
  <PackinglistReturnGoodsItem>
    <BranchId>3</BranchId>
    <EquipmentSetId>09c1740f-cadb-46df-a00c-9cd57fa92c90</EquipmentSetId>
    <LicensePlate>sample string 4</LicensePlate>
    <MinTreadDepth>1</MinTreadDepth>
    <NumberOfItems>9</NumberOfItems>
    <StockName>sample string 5</StockName>
    <StockPlaceId>1</StockPlaceId>
    <StorageCardId>3e43a6cc-93e1-42cc-a689-b80d8b5e7765</StorageCardId>
    <Studs>true</Studs>
    <SummerSeason>true</SummerSeason>
    <Wheels>true</Wheels>
  </PackinglistReturnGoodsItem>
  <PackinglistReturnGoodsItem>
    <BranchId>3</BranchId>
    <EquipmentSetId>09c1740f-cadb-46df-a00c-9cd57fa92c90</EquipmentSetId>
    <LicensePlate>sample string 4</LicensePlate>
    <MinTreadDepth>1</MinTreadDepth>
    <NumberOfItems>9</NumberOfItems>
    <StockName>sample string 5</StockName>
    <StockPlaceId>1</StockPlaceId>
    <StorageCardId>3e43a6cc-93e1-42cc-a689-b80d8b5e7765</StorageCardId>
    <Studs>true</Studs>
    <SummerSeason>true</SummerSeason>
    <Wheels>true</Wheels>
  </PackinglistReturnGoodsItem>
</ArrayOfPackinglistReturnGoodsItem>