Get product compatibility

उत्पाद के लेबल से पोषणीय अनुकूलता को Tuduu आंतरिक पहचानकर्ता द्वारा वास्तविक समय में गणना करें। Definitions endpoints के माध्यम से flagId और outcomeId को डिकोड करें।

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

उत्तर

200
application/json
object

ProductCompatibilityResult

उत्पाद की सामग्री और लेबल से लाइव गणना की गई पोषणीय संगतता

object

id

टुडू आंतरिक उत्पाद पहचानकर्ता

integer<int64>

compatibility

object[]

AnalysisResultItem

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

object

flagId

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

integer<int16>

outcomeId?

परिणाम प्रकार पहचानकर्ता जो संगतता परिणाम को दर्शाता है - इस आईडी को डिकोड करने और स्थानीयकृत विवरण प्राप्त करने के लिए 'परिभाषाएँ' एंडपॉइंट्स देखें। जब कोई परिणाम निर्धारित नहीं किया जाता है तो शून्य।

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