GET api/DispatchRental/AvailableAsset?ApiToken={ApiToken}&SearchText={SearchText}&CustomerID={CustomerID}&UserID={UserID}

Get Available Rental Assets

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ApiToken

string

None.

SearchText

string

None.

CustomerID

integer

None.

UserID

integer

None.

Body Parameters

None.

Response Information

Resource Description

Collection of DispatchRentalAssetData
NameDescriptionTypeAdditional information
ItemID

integer

None.

Code

string

None.

Item

string

None.

Price

decimal number

None.

ItemDescription

string

None.

RentPerMinute

decimal number

None.

HourlyRentRate

decimal number

None.

DailyRentRate

decimal number

None.

WeeklyRentRate

decimal number

None.

MonthlyRentRate

decimal number

None.

DamagedRate

decimal number

None.

DelayedRate

decimal number

None.

LocationID

integer

None.

LocationName

string

None.

Response Formats

application/json, text/json, text/plain, text/html

Sample:
[
  {
    "itemID": 1,
    "code": "sample string 2",
    "item": "sample string 3",
    "price": 4.0,
    "itemDescription": "sample string 5",
    "rentPerMinute": 6.0,
    "hourlyRentRate": 7.0,
    "dailyRentRate": 8.0,
    "weeklyRentRate": 9.0,
    "monthlyRentRate": 10.0,
    "damagedRate": 11.0,
    "delayedRate": 12.0,
    "locationID": 1,
    "locationName": "sample string 13"
  },
  {
    "itemID": 1,
    "code": "sample string 2",
    "item": "sample string 3",
    "price": 4.0,
    "itemDescription": "sample string 5",
    "rentPerMinute": 6.0,
    "hourlyRentRate": 7.0,
    "dailyRentRate": 8.0,
    "weeklyRentRate": 9.0,
    "monthlyRentRate": 10.0,
    "damagedRate": 11.0,
    "delayedRate": 12.0,
    "locationID": 1,
    "locationName": "sample string 13"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDispatchRentalAssetData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.DataModel">
  <DispatchRentalAssetData>
    <Code>sample string 2</Code>
    <DailyRentRate>8</DailyRentRate>
    <DamagedRate>11</DamagedRate>
    <DelayedRate>12</DelayedRate>
    <HourlyRentRate>7</HourlyRentRate>
    <Item>sample string 3</Item>
    <ItemDescription>sample string 5</ItemDescription>
    <ItemID>1</ItemID>
    <LocationID>1</LocationID>
    <LocationName>sample string 13</LocationName>
    <MonthlyRentRate>10</MonthlyRentRate>
    <Price>4</Price>
    <RentPerMinute>6</RentPerMinute>
    <WeeklyRentRate>9</WeeklyRentRate>
  </DispatchRentalAssetData>
  <DispatchRentalAssetData>
    <Code>sample string 2</Code>
    <DailyRentRate>8</DailyRentRate>
    <DamagedRate>11</DamagedRate>
    <DelayedRate>12</DelayedRate>
    <HourlyRentRate>7</HourlyRentRate>
    <Item>sample string 3</Item>
    <ItemDescription>sample string 5</ItemDescription>
    <ItemID>1</ItemID>
    <LocationID>1</LocationID>
    <LocationName>sample string 13</LocationName>
    <MonthlyRentRate>10</MonthlyRentRate>
    <Price>4</Price>
    <RentPerMinute>6</RentPerMinute>
    <WeeklyRentRate>9</WeeklyRentRate>
  </DispatchRentalAssetData>
</ArrayOfDispatchRentalAssetData>

multipart/form-data

Sample:
<ArrayOfDispatchRentalAssetData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.DataModel"><DispatchRentalAssetData><Code>sample string 2</Code><DailyRentRate>8</DailyRentRate><DamagedRate>11</DamagedRate><DelayedRate>12</DelayedRate><HourlyRentRate>7</HourlyRentRate><Item>sample string 3</Item><ItemDescription>sample string 5</ItemDescription><ItemID>1</ItemID><LocationID>1</LocationID><LocationName>sample string 13</LocationName><MonthlyRentRate>10</MonthlyRentRate><Price>4</Price><RentPerMinute>6</RentPerMinute><WeeklyRentRate>9</WeeklyRentRate></DispatchRentalAssetData><DispatchRentalAssetData><Code>sample string 2</Code><DailyRentRate>8</DailyRentRate><DamagedRate>11</DamagedRate><DelayedRate>12</DelayedRate><HourlyRentRate>7</HourlyRentRate><Item>sample string 3</Item><ItemDescription>sample string 5</ItemDescription><ItemID>1</ItemID><LocationID>1</LocationID><LocationName>sample string 13</LocationName><MonthlyRentRate>10</MonthlyRentRate><Price>4</Price><RentPerMinute>6</RentPerMinute><WeeklyRentRate>9</WeeklyRentRate></DispatchRentalAssetData></ArrayOfDispatchRentalAssetData>