GET api/Rep/Autoship/Profiles/{repDID}
Retrieves the autoship profiles for a given rep
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
repDID | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of AutoshipScheduleViewModelName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
AutoShipID | integer |
None. |
|
PeriodTypeID | integer |
None. |
|
PeriodDay | integer |
None. |
|
StartDate | date |
None. |
|
StopDate | date |
None. |
|
IsActive | boolean |
None. |
|
DateNextRun | date |
None. |
|
DateLastRun | date |
None. |
|
ShipMethodID | integer |
None. |
|
ShipStreet1 | string |
None. |
|
ShipStreet2 | string |
None. |
|
ShipCity | string |
None. |
|
ShipState | string |
None. |
|
ShipPostalCode | string |
None. |
|
ShipCountry | string |
None. |
|
ShipPhone | string |
None. |
|
ShipName1 | string |
None. |
|
ShipName2 | string |
None. |
|
ShipCounty | string |
None. |
|
ShipGeoCode | string |
None. |
|
IsOverrideShipping | boolean |
None. |
|
ShippingTotal | decimal number |
None. |
|
CurrencyTypeID | integer |
None. |
|
Products | Collection of AutoShipProduct |
None. |
|
PaymentType | string |
None. |
Response Formats
application/xml, text/xml
Sample:
<ListOfAutoshipScheduleViewModel> <AutoshipScheduleViewModel> <ID>1</ID> <AutoShipID>2</AutoShipID> <PeriodTypeID>3</PeriodTypeID> <PeriodDay>4</PeriodDay> <StartDate>01/09/2025 01:36:36</StartDate> <StopDate>01/09/2025 01:36:36</StopDate> <IsActive>True</IsActive> <DateNextRun>01/09/2025 01:36:36</DateNextRun> <DateLastRun>01/09/2025 01:36:36</DateLastRun> <ShipMethodID>1</ShipMethodID> <ShipStreet1>sample string 9</ShipStreet1> <ShipStreet2>sample string 10</ShipStreet2> <ShipCity>sample string 11</ShipCity> <ShipState>sample string 12</ShipState> <ShipPostalCode>sample string 13</ShipPostalCode> <ShipCountry>sample string 14</ShipCountry> <ShipPhone>sample string 15</ShipPhone> <ShipName1>sample string 16</ShipName1> <ShipName2>sample string 17</ShipName2> <ShipCounty>sample string 18</ShipCounty> <ShipGeoCode>sample string 19</ShipGeoCode> <IsOverrideShipping>True</IsOverrideShipping> <ShippingTotal>21</ShippingTotal> <CurrencyTypeID>1</CurrencyTypeID> <Products> <AutoShipProduct> <ID>sample string 1</ID> <Quantity>1</Quantity> </AutoShipProduct> <AutoShipProduct> <ID>sample string 1</ID> <Quantity>1</Quantity> </AutoShipProduct> </Products> <PaymentType>sample string 22</PaymentType> </AutoshipScheduleViewModel> <AutoshipScheduleViewModel> <ID>1</ID> <AutoShipID>2</AutoShipID> <PeriodTypeID>3</PeriodTypeID> <PeriodDay>4</PeriodDay> <StartDate>01/09/2025 01:36:36</StartDate> <StopDate>01/09/2025 01:36:36</StopDate> <IsActive>True</IsActive> <DateNextRun>01/09/2025 01:36:36</DateNextRun> <DateLastRun>01/09/2025 01:36:36</DateLastRun> <ShipMethodID>1</ShipMethodID> <ShipStreet1>sample string 9</ShipStreet1> <ShipStreet2>sample string 10</ShipStreet2> <ShipCity>sample string 11</ShipCity> <ShipState>sample string 12</ShipState> <ShipPostalCode>sample string 13</ShipPostalCode> <ShipCountry>sample string 14</ShipCountry> <ShipPhone>sample string 15</ShipPhone> <ShipName1>sample string 16</ShipName1> <ShipName2>sample string 17</ShipName2> <ShipCounty>sample string 18</ShipCounty> <ShipGeoCode>sample string 19</ShipGeoCode> <IsOverrideShipping>True</IsOverrideShipping> <ShippingTotal>21</ShippingTotal> <CurrencyTypeID>1</CurrencyTypeID> <Products> <AutoShipProduct> <ID>sample string 1</ID> <Quantity>1</Quantity> </AutoShipProduct> <AutoShipProduct> <ID>sample string 1</ID> <Quantity>1</Quantity> </AutoShipProduct> </Products> <PaymentType>sample string 22</PaymentType> </AutoshipScheduleViewModel> </ListOfAutoshipScheduleViewModel>
application/json, text/json
Sample:
[ { "ID": 1, "AutoShipID": 2, "PeriodTypeID": 3, "PeriodDay": 4, "StartDate": "2025-01-09T01:36:36.5785333-05:00", "StopDate": "2025-01-09T01:36:36.5785333-05:00", "IsActive": true, "DateNextRun": "2025-01-09T01:36:36.5785333-05:00", "DateLastRun": "2025-01-09T01:36:36.5785333-05:00", "ShipMethodID": 1, "ShipStreet1": "sample string 9", "ShipStreet2": "sample string 10", "ShipCity": "sample string 11", "ShipState": "sample string 12", "ShipPostalCode": "sample string 13", "ShipCountry": "sample string 14", "ShipPhone": "sample string 15", "ShipName1": "sample string 16", "ShipName2": "sample string 17", "ShipCounty": "sample string 18", "ShipGeoCode": "sample string 19", "IsOverrideShipping": true, "ShippingTotal": 21.0, "CurrencyTypeID": 1, "Products": [ { "ID": "sample string 1", "Quantity": 1 }, { "ID": "sample string 1", "Quantity": 1 } ], "PaymentType": "sample string 22" }, { "ID": 1, "AutoShipID": 2, "PeriodTypeID": 3, "PeriodDay": 4, "StartDate": "2025-01-09T01:36:36.5785333-05:00", "StopDate": "2025-01-09T01:36:36.5785333-05:00", "IsActive": true, "DateNextRun": "2025-01-09T01:36:36.5785333-05:00", "DateLastRun": "2025-01-09T01:36:36.5785333-05:00", "ShipMethodID": 1, "ShipStreet1": "sample string 9", "ShipStreet2": "sample string 10", "ShipCity": "sample string 11", "ShipState": "sample string 12", "ShipPostalCode": "sample string 13", "ShipCountry": "sample string 14", "ShipPhone": "sample string 15", "ShipName1": "sample string 16", "ShipName2": "sample string 17", "ShipCounty": "sample string 18", "ShipGeoCode": "sample string 19", "IsOverrideShipping": true, "ShippingTotal": 21.0, "CurrencyTypeID": 1, "Products": [ { "ID": "sample string 1", "Quantity": 1 }, { "ID": "sample string 1", "Quantity": 1 } ], "PaymentType": "sample string 22" } ]