GET | /warranty/v1/article/{referenceId} | ||
---|---|---|---|
GET | /warranty/v1/article/{referenceId}/serial/{serialNumber*} |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
referenceId | path | string | No | |
serialNumber | path | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
sid | form | string | No | |
app | form | string | No | |
_os | form | string | No | |
_appVersion | form | string | No | |
_searchMethod | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
article | form | ArticleDetail | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
_xmlns | form | string | No | |
_type | form | string | No | |
_source | form | string | No | |
_tstamp | form | string | No | |
_user | form | string | No | |
_env | form | string | No | |
_uri | form | string | No | |
_query | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ref | form | string | No | |
serial | form | string | No | |
name | form | string | No | |
shortDesc | form | string | No | |
brand | form | string | No | |
visual | form | Visual | No | |
isConsignment | form | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
asset | form | string | No | |
small | form | string | No | |
large | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
article | form | ArticleDetail | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /warranty/v1/article/{referenceId} HTTP/1.1 Host: qp-microservices-booster.richemont.com Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { article: { ref: String, serial: String, name: String, shortDesc: String, brand: String, visual: { asset: String, small: String, large: String }, isConsignment: False }, _xmlns: String, _type: String, _source: String, _tstamp: String, _user: String, _env: String, _uri: String, _query: String }