StopSale
Endpoint:
GET v2/Part/StopSale?PartId={PartId}&State={State}&CountryId={CountryId}&ReferenceId={ReferenceId}
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
PartId | string |
None. |
|
State | string |
None. |
|
CountryId | string |
None. |
|
ReferenceId | globally unique identifier |
None. |
Body Parameters
None.
Response Information
ResponseDataOfListOfPartStopSaleName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
ResponseId | globally unique identifier |
None. |
|
ReferenceId | globally unique identifier |
None. |
|
SuccessCount | integer |
None. |
|
Message | string |
None. |
|
ValidationResults | Validation |
None. |
|
QueryTime | string |
None. |
|
Data | Collection of PartStopSale |
None. |
Response Examples
application/json, text/json :
{ "Success": true, "ResponseId": "645a8d6e-8281-4521-81ce-7960f3320e97", "ReferenceId": "3e5a8cca-4b68-452b-929f-11cb5f5f5362", "SuccessCount": 3, "Message": "sample string 4", "ValidationResults": { "IsValid": false, "Errors": [], "Warnings": [], "Info": [ { "FieldName": "sample string 1", "FieldValue": "sample string 2", "Allow": true, "Message": "sample string 5", "Severity": 0, "Category": 0 }, { "FieldName": "sample string 1", "FieldValue": "sample string 2", "Allow": true, "Message": "sample string 5", "Severity": 0, "Category": 0 } ] }, "QueryTime": "sample string 5", "Data": [ { "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 :
{"Success":true,"ResponseId":"645a8d6e-8281-4521-81ce-7960f3320e97","ReferenceId":"3e5a8cca-4b68-452b-929f-11cb5f5f5362","SuccessCount":3,"Message":"sample string 4","ValidationResults":{"IsValid":false,"Errors":[],"Warnings":[],"Info":[{"FieldName":"sample string 1","FieldValue":"sample string 2","Allow":true,"Message":"sample string 5","Severity":0,"Category":0},{"FieldName":"sample string 1","FieldValue":"sample string 2","Allow":true,"Message":"sample string 5","Severity":0,"Category":0}]},"QueryTime":"sample string 5","Data":[{"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 :
<ResponseDataOfArrayOfPartStopSaleuwLiWYs0 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sunlight.Library.Models.Api.V2.Responses"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Sunlight.Library.Models"> <d2p1:PartStopSale> <d2p1:CountryId>sample string 4</d2p1:CountryId> <d2p1:LocationId>sample string 3</d2p1:LocationId> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:PartId>sample string 1</d2p1:PartId> </d2p1:PartStopSale> <d2p1:PartStopSale> <d2p1:CountryId>sample string 4</d2p1:CountryId> <d2p1:LocationId>sample string 3</d2p1:LocationId> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:PartId>sample string 1</d2p1:PartId> </d2p1:PartStopSale> </Data> <Message>sample string 4</Message> <QueryTime>sample string 5</QueryTime> <ReferenceId>3e5a8cca-4b68-452b-929f-11cb5f5f5362</ReferenceId> <ResponseId>645a8d6e-8281-4521-81ce-7960f3320e97</ResponseId> <Success>true</Success> <SuccessCount>3</SuccessCount> <ValidationResults xmlns:d2p1="http://schemas.datacontract.org/2004/07/Sunlight.Library.Models"> <d2p1:Errors /> <d2p1:Info> <d2p1:ValidationSummary> <d2p1:Allow>true</d2p1:Allow> <d2p1:Category>Missing</d2p1:Category> <d2p1:FieldName>sample string 1</d2p1:FieldName> <d2p1:FieldValue>sample string 2</d2p1:FieldValue> <d2p1:Severity>Info</d2p1:Severity> </d2p1:ValidationSummary> <d2p1:ValidationSummary> <d2p1:Allow>true</d2p1:Allow> <d2p1:Category>Missing</d2p1:Category> <d2p1:FieldName>sample string 1</d2p1:FieldName> <d2p1:FieldValue>sample string 2</d2p1:FieldValue> <d2p1:Severity>Info</d2p1:Severity> </d2p1:ValidationSummary> </d2p1:Info> <d2p1:Warnings /> </ValidationResults> </ResponseDataOfArrayOfPartStopSaleuwLiWYs0>