POST api/parts/prices?supplierId={supplierId}&supplierRepairerReference={supplierRepairerReference}&vehicleBrand={vehicleBrand}&assessmentId={assessmentId}
Get price for parts from a supplier
Required Scopes
Parts.GetParts
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| supplierId |
The unique SupplierID of the part Supplier. |
integer |
Required |
| supplierRepairerReference |
Supplier reference to the repairer |
string |
Required |
| vehicleBrand |
The brand code for the vehicle manufacturer |
string |
Required |
| assessmentId | globally unique identifier |
Required |
Body Parameters
ids the suppliers part ids
Collection of stringRequest Formats
[ "sample string 1", "sample string 2" ]
<ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <string>sample string 1</string> <string>sample string 2</string> </ArrayOfstring>
Response Information
Resource Description
prices for for parts from this supplier for the connected company (repairerid is taken from the Context
PartsPriceResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Prices | Collection of SupplierPartPrice |
None. |
|
| Status | Status |
None. |
|
| Error | string |
None. |
Response Formats
{
"Prices": [
{
"SupplierID": 1,
"Description": "sample string 2",
"PartNumber": "sample string 3",
"NonOEPartNumber": "sample string 3",
"Status": "sample string 4",
"Availability": 5,
"Quantity": 6,
"Price": 7.1
},
{
"SupplierID": 1,
"Description": "sample string 2",
"PartNumber": "sample string 3",
"NonOEPartNumber": "sample string 3",
"Status": "sample string 4",
"Availability": 5,
"Quantity": 6,
"Price": 7.1
}
],
"Status": 0,
"Error": "sample string 1"
}
Sample not available.
Sample not available.