Get product compatibility

Tuduu आंतरिक पहचानकर्ता से पहचाने गए उत्पाद के लेबल से पोषण संबंधी संगतता की लाइव गणना करें। flagId और outcomeId को Definitions एंडपॉइंट के माध्यम से डिकोड करें। केवल इतालवी: यह एंडपॉइंट किसी भी अन्य Accept-Language के लिए 406 लौटाता है, क्योंकि मुख्य उत्पाद सूची में इतालवी डेटा है।

GET
/products/{id}/compatibility
Products
लागत: 60 क्रेडिट

प्रतिक्रिया

200
application/json
object

ProductCompatibilityResult

उत्पाद के ingredients और label से live रूप से compute की गई nutritional compatibility

object

id

Tuduu आंतरिक उत्पाद पहचानकर्ता

integer<int64>

compatibility

object[]

AnalysisResultItem

एक लाइफ़स्टाइल फ़्लैग के लिए एकल पोषण-संगतता परिणाम — इसमें फ़्लैग और परिणाम पहचानकर्ता होते हैं, जिन्हें स्थानीयकृत विवरण प्राप्त करने के लिए 'Definitions' एंडपॉइंट का उपयोग करके डीकोड किया जा सकता है

object

flagId

लाइफ़स्टाइल फ़्लैग पहचानकर्ता (जैसे vegetarian, vegan, gluten-free) — इस ID को डीकोड करने और स्थानीयकृत विवरण प्राप्त करने के लिए 'Definitions' एंडपॉइंट देखें

integer<int16>

outcomeId?

संगतता परिणाम दर्शाने वाला परिणाम प्रकार पहचानकर्ता — इस ID को डीकोड करने और स्थानीयकृत विवरण प्राप्त करने के लिए 'Definitions' एंडपॉइंट देखें। कोई परिणाम निर्धारित न होने पर Null

integer<uint8> | null
204
application/json

No Content

इस एंडपॉइंट के लिए कोई स्कीमा उपलब्ध नहीं हैं।

401
application/json
object

अनधिकृत

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
403
application/json
object

निषिद्ध

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
406
application/json
object

स्वीकार्य नहीं

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
422
application/json
object

अप्रक्रियायोग्य इकाई

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
429
application/json
object

बहुत अधिक अनुरोध (APIM)

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
500
application/json
object

आंतरिक सर्वर त्रुटि

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
502
application/json
object

खराब गेटवे (APIM)

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
504
application/json
object

गेटवे टाइमआउट (APIM)

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string