GET models/getchecks/{categoryKey}
Returns a list of checks to be performed (=checklist) for a certain category (eg 'GSM', 'TABLETS'). The checks describe the condition of the device and need to be answered with true or false.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
categoryKey |
Category of the product. Possible values: 'GSM', 'TABLETS'. If you add 'GSM', you'll get the 'checklist questions' for mobile phones. If you add 'TABLETS' (plural), you get the 'checklist questions' for tablets. Note: the checklist is different for phones and tablets. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
A list of 'ModelCheck' class, having the properties 'Id', a dictionary of 'Names' (key: language code, value: name in defined language) containing the questions (e.g. 'en:Display/glass OK') and a dictionary of 'Tooltips' (key: language code, value: tooltip in defined language) giving more info about the question (e.g.: 'en:Physical aspect of the screen / glass: tap 'yes' if screen is fully intact, not broken or leaking, no stains, not burnt in, glass is completely intact.'. Supported languages are 'nl', 'en', 'de' and 'fr'.
Collection of ModelCheckName | Description | Type | Additional information |
---|---|---|---|
Id |
The Id of the Model (=article) |
integer |
None. |
Names |
Gets or sets the names. |
Dictionary of string [key] and string [value] |
None. |
Tooltips |
Gets or sets the tooltips. |
Dictionary of string [key] and string [value] |
None. |
Response Formats
application/json, text/json
[ { "Id": 1, "Names": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "Tooltips": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" } }, { "Id": 1, "Names": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "Tooltips": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" } } ]
application/xml, text/xml
<ArrayOfModelCheck xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrainscapeBuyBackApi.Classes"> <ModelCheck> <Id>1</Id> <Names xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:KeyValueOfstringstring> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:KeyValueOfstringstring> <d3p1:KeyValueOfstringstring> <d3p1:Key>sample string 3</d3p1:Key> <d3p1:Value>sample string 4</d3p1:Value> </d3p1:KeyValueOfstringstring> </Names> <Tooltips xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:KeyValueOfstringstring> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:KeyValueOfstringstring> <d3p1:KeyValueOfstringstring> <d3p1:Key>sample string 3</d3p1:Key> <d3p1:Value>sample string 4</d3p1:Value> </d3p1:KeyValueOfstringstring> </Tooltips> </ModelCheck> <ModelCheck> <Id>1</Id> <Names xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:KeyValueOfstringstring> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:KeyValueOfstringstring> <d3p1:KeyValueOfstringstring> <d3p1:Key>sample string 3</d3p1:Key> <d3p1:Value>sample string 4</d3p1:Value> </d3p1:KeyValueOfstringstring> </Names> <Tooltips xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:KeyValueOfstringstring> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:KeyValueOfstringstring> <d3p1:KeyValueOfstringstring> <d3p1:Key>sample string 3</d3p1:Key> <d3p1:Value>sample string 4</d3p1:Value> </d3p1:KeyValueOfstringstring> </Tooltips> </ModelCheck> </ArrayOfModelCheck>