GET api/autoshipaddonitem/rep/{repId}

Gets the AddOn Items for the next AutoShip order of the rep

Request Information

URI Parameters

NameDescriptionTypeAdditional information
repId

The repID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of AutoShipAddOnItemViewModel
NameDescriptionTypeAdditional information
AutoShipScheduleId

integer

None.

AutoShipPeriodTypeId

integer

None.

IsActive

boolean

None.

ProductId

string

None.

Quantity

integer

None.

Price

decimal number

None.

TaxableAmount

decimal number

None.

Volume

decimal number

None.

Volume2

decimal number

None.

Volume3

decimal number

None.

Volume4

decimal number

None.

Response Formats

application/xml, text/xml

Sample:
<ListOfAutoShipAddOnItemViewModel>
  <AutoShipAddOnItemViewModel>
    <AutoShipScheduleId>1</AutoShipScheduleId>
    <AutoShipPeriodTypeId>1</AutoShipPeriodTypeId>
    <IsActive>True</IsActive>
    <ProductId>sample string 1</ProductId>
    <Quantity>1</Quantity>
    <Price>1</Price>
    <TaxableAmount>1</TaxableAmount>
    <Volume>1</Volume>
    <Volume2>1</Volume2>
    <Volume3>1</Volume3>
    <Volume4>1</Volume4>
  </AutoShipAddOnItemViewModel>
  <AutoShipAddOnItemViewModel>
    <AutoShipScheduleId>1</AutoShipScheduleId>
    <AutoShipPeriodTypeId>1</AutoShipPeriodTypeId>
    <IsActive>True</IsActive>
    <ProductId>sample string 1</ProductId>
    <Quantity>1</Quantity>
    <Price>1</Price>
    <TaxableAmount>1</TaxableAmount>
    <Volume>1</Volume>
    <Volume2>1</Volume2>
    <Volume3>1</Volume3>
    <Volume4>1</Volume4>
  </AutoShipAddOnItemViewModel>
</ListOfAutoShipAddOnItemViewModel>

application/json, text/json

Sample:
[
  {
    "AutoShipScheduleId": 1,
    "AutoShipPeriodTypeId": 1,
    "IsActive": true,
    "ProductId": "sample string 1",
    "Quantity": 1,
    "Price": 1.0,
    "TaxableAmount": 1.0,
    "Volume": 1.0,
    "Volume2": 1.0,
    "Volume3": 1.0,
    "Volume4": 1.0
  },
  {
    "AutoShipScheduleId": 1,
    "AutoShipPeriodTypeId": 1,
    "IsActive": true,
    "ProductId": "sample string 1",
    "Quantity": 1,
    "Price": 1.0,
    "TaxableAmount": 1.0,
    "Volume": 1.0,
    "Volume2": 1.0,
    "Volume3": 1.0,
    "Volume4": 1.0
  }
]