Gets list of stop sales for a part
Endpoint:
GET v1/stopsale/{id}?locationId={locationId}&countryId={countryId}
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Part Id |
string |
None. |
locationId |
State Abbreviation (ie. OR, WA, CA, etc. ) |
string |
None. |
countryId |
Country (ie. USA, Canada, etc. ) |
string |
None. |
Body Parameters
None.
Response Information
Collection of PartStopSaleName | Description | Type | Additional information |
---|---|---|---|
PartId | string |
None. |
|
Name | string |
None. |
|
LocationId | string |
None. |
|
CountryId | string |
None. |
Response Examples
application/json, text/json :
[ { "PartId": "sample string 1", "Name": "sample string 2", "LocationId": "sample string 3", "CountryId": "sample string 4" }, { "PartId": "sample string 1", "Name": "sample string 2", "LocationId": "sample string 3", "CountryId": "sample string 4" } ]
text/javascript :
[{"PartId":"sample string 1","Name":"sample string 2","LocationId":"sample string 3","CountryId":"sample string 4"},{"PartId":"sample string 1","Name":"sample string 2","LocationId":"sample string 3","CountryId":"sample string 4"}]
application/xml, text/xml :
<ArrayOfPartStopSale xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sunlight.Library.Models"> <PartStopSale> <CountryId>sample string 4</CountryId> <LocationId>sample string 3</LocationId> <Name>sample string 2</Name> <PartId>sample string 1</PartId> </PartStopSale> <PartStopSale> <CountryId>sample string 4</CountryId> <LocationId>sample string 3</LocationId> <Name>sample string 2</Name> <PartId>sample string 1</PartId> </PartStopSale> </ArrayOfPartStopSale>
text/csv :
PartId,Name,LocationId,CountryId sample string 1,sample string 2,sample string 3,sample string 4 sample string 1,sample string 2,sample string 3,sample string 4
text/tsv :
PartId Name LocationId CountryId sample string 1 sample string 2 sample string 3 sample string 4 sample string 1 sample string 2 sample string 3 sample string 4