GET api/Toolbox/GetBatteries?versionId={versionId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
versionId

integer

Default value is -1

Body Parameters

None.

Response Information

Resource Description

Collection of ToolboxBatteryViewModel
NameDescriptionTypeAdditional information
BatteryId

integer

None.

Name

string

None.

GroupSize

string

None.

VendorPart

string

None.

CCA

integer

None.

RC

integer

None.

CA

integer

None.

Line

string

None.

BatteryType

string

None.

WeightInKg

decimal number

None.

LengthInMm

integer

None.

WidthInMm

integer

None.

HeightInMm

integer

None.

VersionId

integer

None.

Action

RowType

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "BatteryId": 1,
    "Name": "sample string 2",
    "GroupSize": "sample string 3",
    "VendorPart": "sample string 4",
    "CCA": 5,
    "RC": 6,
    "CA": 7,
    "Line": "sample string 8",
    "BatteryType": "sample string 9",
    "WeightInKg": 10.0,
    "LengthInMm": 11,
    "WidthInMm": 12,
    "HeightInMm": 13,
    "VersionId": 14,
    "Action": 0
  },
  {
    "BatteryId": 1,
    "Name": "sample string 2",
    "GroupSize": "sample string 3",
    "VendorPart": "sample string 4",
    "CCA": 5,
    "RC": 6,
    "CA": 7,
    "Line": "sample string 8",
    "BatteryType": "sample string 9",
    "WeightInKg": 10.0,
    "LengthInMm": 11,
    "WidthInMm": 12,
    "HeightInMm": 13,
    "VersionId": 14,
    "Action": 0
  }
]

application/xml, text/xml

Sample:
<ArrayOfToolboxBatteryViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webapi.Models">
  <ToolboxBatteryViewModel>
    <Action>Add</Action>
    <BatteryId>1</BatteryId>
    <BatteryType>sample string 9</BatteryType>
    <CA>7</CA>
    <CCA>5</CCA>
    <GroupSize>sample string 3</GroupSize>
    <HeightInMm>13</HeightInMm>
    <LengthInMm>11</LengthInMm>
    <Line>sample string 8</Line>
    <Name>sample string 2</Name>
    <RC>6</RC>
    <VendorPart>sample string 4</VendorPart>
    <VersionId>14</VersionId>
    <WeightInKg>10</WeightInKg>
    <WidthInMm>12</WidthInMm>
  </ToolboxBatteryViewModel>
  <ToolboxBatteryViewModel>
    <Action>Add</Action>
    <BatteryId>1</BatteryId>
    <BatteryType>sample string 9</BatteryType>
    <CA>7</CA>
    <CCA>5</CCA>
    <GroupSize>sample string 3</GroupSize>
    <HeightInMm>13</HeightInMm>
    <LengthInMm>11</LengthInMm>
    <Line>sample string 8</Line>
    <Name>sample string 2</Name>
    <RC>6</RC>
    <VendorPart>sample string 4</VendorPart>
    <VersionId>14</VersionId>
    <WeightInKg>10</WeightInKg>
    <WidthInMm>12</WidthInMm>
  </ToolboxBatteryViewModel>
</ArrayOfToolboxBatteryViewModel>