GET | /dealers/parts | Retrieves part info based on multiple part numbers. |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
PartNumbers | query | List<string> | Yes | Multiple part numbers to retrieve info for. |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
SessionToken | query | string | Yes | Session token received from successful authentication. |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
UnknownParts | form | List<string> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Result | model | T | No | Result value |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
IsSuccessful | model | bool | No | Specifies if the operation was successful. |
ErrorMessage | model | string | No | States error message in case of unsuccessful operation. |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /dealers/parts HTTP/1.1 Host: services.acct.2service.nl Accept: text/csv
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"UnknownParts":["String"],"Result":[{}],"IsSuccessful":false,"ErrorMessage":"String"}