POST api/autoshipaddonitem/rep/{repId}
AutoShip Add On Items allow adding an inventory item to be inserted into a rep's next AutoShip order
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
repId |
The repID |
integer |
Required |
Body Parameters
AutoShipAddOnItemViewModelName | Description | Type | Additional 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. |
Request Formats
application/xml, text/xml
Sample:
<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>
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 }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/xml, text/xml, application/json, text/json
Sample:
Sample not available.