Reference for https://tmbi-ws-develop.azurewebsites.net/GetRecipeDetails
Url: https://tmbi-ws-develop.azurewebsites.net/GetRecipeDetails
HTTP Method: POST
Message direction | Format | Body |
---|---|---|
Request | Xml | Example,Schema |
Request | Json | Example |
Response | Xml | Example,Schema |
Response | Json | Example |
The following is an example request Xml body:
<GetRecipeDetailsRequest xmlns="http://schemas.datacontract.org/2004/07/RDA.ViewModels.DigitalDatabaseService"> <RecipeIds> <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string> <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string> </RecipeIds> </GetRecipeDetailsRequest>
The following is an example request Json body:
{ "RecipeIds":["String content"] }
The following is an example response Xml body:
<GetRecipeDetailsResponse xmlns="http://schemas.datacontract.org/2004/07/RDA.ViewModels.DigitalDatabaseService"> <Code>2147483647</Code> <Description>String content</Description> <DetailedMessages> <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string> <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string> </DetailedMessages> <Errorcode>2147483647</Errorcode> <StatusCode>String content</StatusCode> <Recipes> <RecipeModel> <AttachPhotoYn>255</AttachPhotoYn> <AttachmentSourceDescription>String content</AttachmentSourceDescription> <BeveragePairing> <AdName xmlns="http://schemas.datacontract.org/2004/07/">String content</AdName> <AdSize xmlns="http://schemas.datacontract.org/2004/07/">String content</AdSize> <AdType xmlns="http://schemas.datacontract.org/2004/07/">String content</AdType> <AdZone xmlns="http://schemas.datacontract.org/2004/07/">String content</AdZone> <AllowAdZoneOverride xmlns="http://schemas.datacontract.org/2004/07/">true</AllowAdZoneOverride> <BeverageDescription xmlns="http://schemas.datacontract.org/2004/07/">String content</BeverageDescription> <BeverageImagePath xmlns="http://schemas.datacontract.org/2004/07/">String content</BeverageImagePath> <BeverageTitle xmlns="http://schemas.datacontract.org/2004/07/">String content</BeverageTitle> <BeverageTitleUrl xmlns="http://schemas.datacontract.org/2004/07/">String content</BeverageTitleUrl> <HasBeveragePairing xmlns="http://schemas.datacontract.org/2004/07/">true</HasBeveragePairing> <IsBeveragePairingSponsered xmlns="http://schemas.datacontract.org/2004/07/">true</IsBeveragePairingSponsered> <IsBeverageTitleLinkable xmlns="http://schemas.datacontract.org/2004/07/">true</IsBeverageTitleLinkable> <RecipeId xmlns="http://schemas.datacontract.org/2004/07/">2147483647</RecipeId> </BeveragePairing> <ContestPlacement>String content</ContestPlacement> <ContributorAttachFile>String content</ContributorAttachFile> <ContributorLink>String content</ContributorLink> <CookTimeMm>2147483647</CookTimeMm> <CookingMethod>String content</CookingMethod> <Course>String content</Course> <CtbFirstname>String content</CtbFirstname> <CtbLastname>String content</CtbLastname> <DefaultImageYn>255</DefaultImageYn> <DiabeticYn>255</DiabeticYn> <DietYn>255</DietYn> <Directions> <DirectionModel xmlns="http://schemas.datacontract.org/2004/07/"> <Direction>String content</Direction> <SequenceNo>2147483647</SequenceNo> </DirectionModel> <DirectionModel xmlns="http://schemas.datacontract.org/2004/07/"> <Direction>String content</Direction> <SequenceNo>2147483647</SequenceNo> </DirectionModel> </Directions> <EditorNotes>String content</EditorNotes> <Enddate>String content</Enddate> <ErrorMessage>String content</ErrorMessage> <FbImage>String content</FbImage> <FeaturedImage>String content</FeaturedImage> <FeaturedImageHasSyndicationRights>true</FeaturedImageHasSyndicationRights> <FriendlyUrl>String content</FriendlyUrl> <GateId>2147483647</GateId> <GoogleImage16x9>String content</GoogleImage16x9> <GoogleImage4x3>String content</GoogleImage4x3> <HealthyYn>255</HealthyYn> <Ingredients> <IngredientModel xmlns="http://schemas.datacontract.org/2004/07/"> <CampaignId>String content</CampaignId> <Ingredient>String content</Ingredient> <IngredientText>String content</IngredientText> <IsBrandedIngredient>true</IsBrandedIngredient> <Quantity>String content</Quantity> <SequenceNo>2147483647</SequenceNo> </IngredientModel> <IngredientModel xmlns="http://schemas.datacontract.org/2004/07/"> <CampaignId>String content</CampaignId> <Ingredient>String content</Ingredient> <IngredientText>String content</IngredientText> <IsBrandedIngredient>true</IsBrandedIngredient> <Quantity>String content</Quantity> <SequenceNo>2147483647</SequenceNo> </IngredientModel> </Ingredients> <IsCommunityRecipe>true</IsCommunityRecipe> <IsContestWinner>255</IsContestWinner> <IsFieldEditorRecipe>true</IsFieldEditorRecipe> <IsPartnerRecipe>true</IsPartnerRecipe> <IsTestKitchenCertified>true</IsTestKitchenCertified> <IsUserSubmittedRecipe>true</IsUserSubmittedRecipe> <LegacyUrl>String content</LegacyUrl> <ModTitle>String content</ModTitle> <NutrAnlPrint>String content</NutrAnlPrint> <NutriInfoYn>255</NutriInfoYn> <OrigSource>String content</OrigSource> <OrigTitle>String content</OrigTitle> <PhotoCredit>String content</PhotoCredit> <PrepTimeMm>2147483647</PrepTimeMm> <PrintableTimeCallout>String content</PrintableTimeCallout> <PrizeWinYn>255</PrizeWinYn> <PuStatId>2147483647</PuStatId> <PuYear>2147483647</PuYear> <PubTitle>String content</PubTitle> <Publication>String content</Publication> <QuickYn>255</QuickYn> <RecipeCategories> <RecipeCategoryModel xmlns="http://schemas.datacontract.org/2004/07/"> <CategoryDescription>String content</CategoryDescription> <CategoryId>2147483647</CategoryId> <CategoryLevel>2147483647</CategoryLevel> <WPCategoryId>2147483647</WPCategoryId> </RecipeCategoryModel> <RecipeCategoryModel xmlns="http://schemas.datacontract.org/2004/07/"> <CategoryDescription>String content</CategoryDescription> <CategoryId>2147483647</CategoryId> <CategoryLevel>2147483647</CategoryLevel> <WPCategoryId>2147483647</WPCategoryId> </RecipeCategoryModel> </RecipeCategories> <RecipeRating>1.26743233E+15</RecipeRating> <RecipeTaxonomies> <Budget xmlns="http://schemas.datacontract.org/2004/07/"> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> </Budget> <CookingStyle xmlns="http://schemas.datacontract.org/2004/07/"> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> </CookingStyle> <Course xmlns="http://schemas.datacontract.org/2004/07/"> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> </Course> <Cuisine xmlns="http://schemas.datacontract.org/2004/07/"> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> </Cuisine> <HealthyEating xmlns="http://schemas.datacontract.org/2004/07/"> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> </HealthyEating> <HolidaysAndCelebrations xmlns="http://schemas.datacontract.org/2004/07/"> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> </HolidaysAndCelebrations> <Ingredients xmlns="http://schemas.datacontract.org/2004/07/"> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> </Ingredients> <Kids xmlns="http://schemas.datacontract.org/2004/07/"> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> </Kids> <PartnerRecipes xmlns="http://schemas.datacontract.org/2004/07/"> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> </PartnerRecipes> <Publications xmlns="http://schemas.datacontract.org/2004/07/"> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> </Publications> <WinningRecipes xmlns="http://schemas.datacontract.org/2004/07/"> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> </WinningRecipes> </RecipeTaxonomies> <RecipeTrailer>String content</RecipeTrailer> <RecpId>2147483647</RecpId> <RomCopy>String content</RomCopy> <ServMaxQty>2147483647</ServMaxQty> <ServMinQty>2147483647</ServMinQty> <SmallImage>String content</SmallImage> <Startdate>String content</Startdate> <TotTimeMm>2147483647</TotTimeMm> <VideoCode>String content</VideoCode> <WebDate>String content</WebDate> <WebPublishedDate>String content</WebPublishedDate> <Yield>String content</Yield> </RecipeModel> <RecipeModel> <AttachPhotoYn>255</AttachPhotoYn> <AttachmentSourceDescription>String content</AttachmentSourceDescription> <BeveragePairing> <AdName xmlns="http://schemas.datacontract.org/2004/07/">String content</AdName> <AdSize xmlns="http://schemas.datacontract.org/2004/07/">String content</AdSize> <AdType xmlns="http://schemas.datacontract.org/2004/07/">String content</AdType> <AdZone xmlns="http://schemas.datacontract.org/2004/07/">String content</AdZone> <AllowAdZoneOverride xmlns="http://schemas.datacontract.org/2004/07/">true</AllowAdZoneOverride> <BeverageDescription xmlns="http://schemas.datacontract.org/2004/07/">String content</BeverageDescription> <BeverageImagePath xmlns="http://schemas.datacontract.org/2004/07/">String content</BeverageImagePath> <BeverageTitle xmlns="http://schemas.datacontract.org/2004/07/">String content</BeverageTitle> <BeverageTitleUrl xmlns="http://schemas.datacontract.org/2004/07/">String content</BeverageTitleUrl> <HasBeveragePairing xmlns="http://schemas.datacontract.org/2004/07/">true</HasBeveragePairing> <IsBeveragePairingSponsered xmlns="http://schemas.datacontract.org/2004/07/">true</IsBeveragePairingSponsered> <IsBeverageTitleLinkable xmlns="http://schemas.datacontract.org/2004/07/">true</IsBeverageTitleLinkable> <RecipeId xmlns="http://schemas.datacontract.org/2004/07/">2147483647</RecipeId> </BeveragePairing> <ContestPlacement>String content</ContestPlacement> <ContributorAttachFile>String content</ContributorAttachFile> <ContributorLink>String content</ContributorLink> <CookTimeMm>2147483647</CookTimeMm> <CookingMethod>String content</CookingMethod> <Course>String content</Course> <CtbFirstname>String content</CtbFirstname> <CtbLastname>String content</CtbLastname> <DefaultImageYn>255</DefaultImageYn> <DiabeticYn>255</DiabeticYn> <DietYn>255</DietYn> <Directions> <DirectionModel xmlns="http://schemas.datacontract.org/2004/07/"> <Direction>String content</Direction> <SequenceNo>2147483647</SequenceNo> </DirectionModel> <DirectionModel xmlns="http://schemas.datacontract.org/2004/07/"> <Direction>String content</Direction> <SequenceNo>2147483647</SequenceNo> </DirectionModel> </Directions> <EditorNotes>String content</EditorNotes> <Enddate>String content</Enddate> <ErrorMessage>String content</ErrorMessage> <FbImage>String content</FbImage> <FeaturedImage>String content</FeaturedImage> <FeaturedImageHasSyndicationRights>true</FeaturedImageHasSyndicationRights> <FriendlyUrl>String content</FriendlyUrl> <GateId>2147483647</GateId> <GoogleImage16x9>String content</GoogleImage16x9> <GoogleImage4x3>String content</GoogleImage4x3> <HealthyYn>255</HealthyYn> <Ingredients> <IngredientModel xmlns="http://schemas.datacontract.org/2004/07/"> <CampaignId>String content</CampaignId> <Ingredient>String content</Ingredient> <IngredientText>String content</IngredientText> <IsBrandedIngredient>true</IsBrandedIngredient> <Quantity>String content</Quantity> <SequenceNo>2147483647</SequenceNo> </IngredientModel> <IngredientModel xmlns="http://schemas.datacontract.org/2004/07/"> <CampaignId>String content</CampaignId> <Ingredient>String content</Ingredient> <IngredientText>String content</IngredientText> <IsBrandedIngredient>true</IsBrandedIngredient> <Quantity>String content</Quantity> <SequenceNo>2147483647</SequenceNo> </IngredientModel> </Ingredients> <IsCommunityRecipe>true</IsCommunityRecipe> <IsContestWinner>255</IsContestWinner> <IsFieldEditorRecipe>true</IsFieldEditorRecipe> <IsPartnerRecipe>true</IsPartnerRecipe> <IsTestKitchenCertified>true</IsTestKitchenCertified> <IsUserSubmittedRecipe>true</IsUserSubmittedRecipe> <LegacyUrl>String content</LegacyUrl> <ModTitle>String content</ModTitle> <NutrAnlPrint>String content</NutrAnlPrint> <NutriInfoYn>255</NutriInfoYn> <OrigSource>String content</OrigSource> <OrigTitle>String content</OrigTitle> <PhotoCredit>String content</PhotoCredit> <PrepTimeMm>2147483647</PrepTimeMm> <PrintableTimeCallout>String content</PrintableTimeCallout> <PrizeWinYn>255</PrizeWinYn> <PuStatId>2147483647</PuStatId> <PuYear>2147483647</PuYear> <PubTitle>String content</PubTitle> <Publication>String content</Publication> <QuickYn>255</QuickYn> <RecipeCategories> <RecipeCategoryModel xmlns="http://schemas.datacontract.org/2004/07/"> <CategoryDescription>String content</CategoryDescription> <CategoryId>2147483647</CategoryId> <CategoryLevel>2147483647</CategoryLevel> <WPCategoryId>2147483647</WPCategoryId> </RecipeCategoryModel> <RecipeCategoryModel xmlns="http://schemas.datacontract.org/2004/07/"> <CategoryDescription>String content</CategoryDescription> <CategoryId>2147483647</CategoryId> <CategoryLevel>2147483647</CategoryLevel> <WPCategoryId>2147483647</WPCategoryId> </RecipeCategoryModel> </RecipeCategories> <RecipeRating>1.26743233E+15</RecipeRating> <RecipeTaxonomies> <Budget xmlns="http://schemas.datacontract.org/2004/07/"> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> </Budget> <CookingStyle xmlns="http://schemas.datacontract.org/2004/07/"> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> </CookingStyle> <Course xmlns="http://schemas.datacontract.org/2004/07/"> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> </Course> <Cuisine xmlns="http://schemas.datacontract.org/2004/07/"> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> </Cuisine> <HealthyEating xmlns="http://schemas.datacontract.org/2004/07/"> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> </HealthyEating> <HolidaysAndCelebrations xmlns="http://schemas.datacontract.org/2004/07/"> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> </HolidaysAndCelebrations> <Ingredients xmlns="http://schemas.datacontract.org/2004/07/"> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> </Ingredients> <Kids xmlns="http://schemas.datacontract.org/2004/07/"> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> </Kids> <PartnerRecipes xmlns="http://schemas.datacontract.org/2004/07/"> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> </PartnerRecipes> <Publications xmlns="http://schemas.datacontract.org/2004/07/"> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> </Publications> <WinningRecipes xmlns="http://schemas.datacontract.org/2004/07/"> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> <Taxonomy> <ID>2147483647</ID> <Name>String content</Name> </Taxonomy> </WinningRecipes> </RecipeTaxonomies> <RecipeTrailer>String content</RecipeTrailer> <RecpId>2147483647</RecpId> <RomCopy>String content</RomCopy> <ServMaxQty>2147483647</ServMaxQty> <ServMinQty>2147483647</ServMinQty> <SmallImage>String content</SmallImage> <Startdate>String content</Startdate> <TotTimeMm>2147483647</TotTimeMm> <VideoCode>String content</VideoCode> <WebDate>String content</WebDate> <WebPublishedDate>String content</WebPublishedDate> <Yield>String content</Yield> </RecipeModel> </Recipes> </GetRecipeDetailsResponse>
The following is an example response Json body:
{ "Code":2147483647, "Description":"String content", "DetailedMessages":["String content"], "Errorcode":2147483647, "StatusCode":"String content", "Recipes":[{ "AttachPhotoYn":255, "AttachmentSourceDescription":"String content", "BeveragePairing":{ "AdName":"String content", "AdSize":"String content", "AdType":"String content", "AdZone":"String content", "AllowAdZoneOverride":true, "BeverageDescription":"String content", "BeverageImagePath":"String content", "BeverageTitle":"String content", "BeverageTitleUrl":"String content", "HasBeveragePairing":true, "IsBeveragePairingSponsered":true, "IsBeverageTitleLinkable":true, "RecipeId":2147483647 }, "ContestPlacement":"String content", "ContributorAttachFile":"String content", "ContributorLink":"String content", "CookTimeMm":2147483647, "CookingMethod":"String content", "Course":"String content", "CtbFirstname":"String content", "CtbLastname":"String content", "DefaultImageYn":255, "DiabeticYn":255, "DietYn":255, "Directions":[{ "Direction":"String content", "SequenceNo":2147483647 }], "EditorNotes":"String content", "Enddate":"String content", "ErrorMessage":"String content", "FbImage":"String content", "FeaturedImage":"String content", "FeaturedImageHasSyndicationRights":true, "FriendlyUrl":"String content", "GateId":2147483647, "GoogleImage16x9":"String content", "GoogleImage4x3":"String content", "HealthyYn":255, "Ingredients":[{ "CampaignId":"String content", "Ingredient":"String content", "IngredientText":"String content", "IsBrandedIngredient":true, "Quantity":"String content", "SequenceNo":2147483647 }], "IsCommunityRecipe":true, "IsContestWinner":255, "IsFieldEditorRecipe":true, "IsPartnerRecipe":true, "IsTestKitchenCertified":true, "IsUserSubmittedRecipe":true, "LegacyUrl":"String content", "ModTitle":"String content", "NutrAnlPrint":"String content", "NutriInfoYn":255, "OrigSource":"String content", "OrigTitle":"String content", "PhotoCredit":"String content", "PrepTimeMm":2147483647, "PrintableTimeCallout":"String content", "PrizeWinYn":255, "PuStatId":2147483647, "PuYear":2147483647, "PubTitle":"String content", "Publication":"String content", "QuickYn":255, "RecipeCategories":[{ "CategoryDescription":"String content", "CategoryId":2147483647, "CategoryLevel":2147483647, "WPCategoryId":2147483647 }], "RecipeRating":1.26743233E+15, "RecipeTaxonomies":{ "Budget":[{ "ID":2147483647, "Name":"String content" }], "CookingStyle":[{ "ID":2147483647, "Name":"String content" }], "Course":[{ "ID":2147483647, "Name":"String content" }], "Cuisine":[{ "ID":2147483647, "Name":"String content" }], "HealthyEating":[{ "ID":2147483647, "Name":"String content" }], "HolidaysAndCelebrations":[{ "ID":2147483647, "Name":"String content" }], "Ingredients":[{ "ID":2147483647, "Name":"String content" }], "Kids":[{ "ID":2147483647, "Name":"String content" }], "PartnerRecipes":[{ "ID":2147483647, "Name":"String content" }], "Publications":[{ "ID":2147483647, "Name":"String content" }], "WinningRecipes":[{ "ID":2147483647, "Name":"String content" }] }, "RecipeTrailer":"String content", "RecpId":2147483647, "RomCopy":"String content", "ServMaxQty":2147483647, "ServMinQty":2147483647, "SmallImage":"String content", "Startdate":"String content", "TotTimeMm":2147483647, "VideoCode":"String content", "WebDate":"String content", "WebPublishedDate":"String content", "Yield":"String content" }] }
The following is the request Xml Schema:
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/RDA.ViewModels.DigitalDatabaseService" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/RDA.ViewModels.DigitalDatabaseService" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /> <xs:complexType name="GetRecipeDetailsRequest"> <xs:sequence> <xs:element minOccurs="0" name="RecipeIds" nillable="true" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q1:ArrayOfstring" /> </xs:sequence> </xs:complexType> <xs:element name="GetRecipeDetailsRequest" nillable="true" type="tns:GetRecipeDetailsRequest" /> </xs:schema>
Additional request Xml Schemas:
<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="anyType" nillable="true" type="xs:anyType" /> <xs:element name="anyURI" nillable="true" type="xs:anyURI" /> <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" /> <xs:element name="boolean" nillable="true" type="xs:boolean" /> <xs:element name="byte" nillable="true" type="xs:byte" /> <xs:element name="dateTime" nillable="true" type="xs:dateTime" /> <xs:element name="decimal" nillable="true" type="xs:decimal" /> <xs:element name="double" nillable="true" type="xs:double" /> <xs:element name="float" nillable="true" type="xs:float" /> <xs:element name="int" nillable="true" type="xs:int" /> <xs:element name="long" nillable="true" type="xs:long" /> <xs:element name="QName" nillable="true" type="xs:QName" /> <xs:element name="short" nillable="true" type="xs:short" /> <xs:element name="string" nillable="true" type="xs:string" /> <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" /> <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" /> <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" /> <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" /> <xs:element name="char" nillable="true" type="tns:char" /> <xs:simpleType name="char"> <xs:restriction base="xs:int" /> </xs:simpleType> <xs:element name="duration" nillable="true" type="tns:duration" /> <xs:simpleType name="duration"> <xs:restriction base="xs:duration"> <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" /> <xs:minInclusive value="-P10675199DT2H48M5.4775808S" /> <xs:maxInclusive value="P10675199DT2H48M5.4775807S" /> </xs:restriction> </xs:simpleType> <xs:element name="guid" nillable="true" type="tns:guid" /> <xs:simpleType name="guid"> <xs:restriction base="xs:string"> <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" /> </xs:restriction> </xs:simpleType> <xs:attribute name="FactoryType" type="xs:QName" /> <xs:attribute name="Id" type="xs:ID" /> <xs:attribute name="Ref" type="xs:IDREF" /> </xs:schema>
<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:complexType name="ArrayOfstring"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfstring" nillable="true" type="tns:ArrayOfstring" /> </xs:schema>
<xs:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="schema"> <xs:complexType /> </xs:element> </xs:schema>
The following is the response Xml Schema:
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/RDA.ViewModels.DigitalDatabaseService" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/RDA.ViewModels.DigitalDatabaseService" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /> <xs:import namespace="http://schemas.datacontract.org/2004/07/" /> <xs:complexType name="GetRecipeDetailsResponse"> <xs:complexContent mixed="false"> <xs:extension base="tns:ResponseModel"> <xs:sequence> <xs:element minOccurs="0" name="Recipes" nillable="true" type="tns:ArrayOfRecipeModel" /> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:element name="GetRecipeDetailsResponse" nillable="true" type="tns:GetRecipeDetailsResponse" /> <xs:complexType name="ResponseModel"> <xs:sequence> <xs:element minOccurs="0" name="Code" type="xs:int" /> <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="DetailedMessages" nillable="true" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q1:ArrayOfstring" /> <xs:element minOccurs="0" name="Errorcode" type="xs:int" /> <xs:element minOccurs="0" name="StatusCode" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="ResponseModel" nillable="true" type="tns:ResponseModel" /> <xs:complexType name="ArrayOfRecipeModel"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="RecipeModel" nillable="true" type="tns:RecipeModel" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfRecipeModel" nillable="true" type="tns:ArrayOfRecipeModel" /> <xs:complexType name="RecipeModel"> <xs:sequence> <xs:element minOccurs="0" name="AttachPhotoYn" nillable="true" type="xs:unsignedByte" /> <xs:element minOccurs="0" name="AttachmentSourceDescription" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="BeveragePairing" nillable="true" xmlns:q2="http://schemas.datacontract.org/2004/07/" type="q2:BeveragePairingModel" /> <xs:element minOccurs="0" name="ContestPlacement" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="ContributorAttachFile" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="ContributorLink" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="CookTimeMm" nillable="true" type="xs:int" /> <xs:element minOccurs="0" name="CookingMethod" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Course" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="CtbFirstname" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="CtbLastname" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="DefaultImageYn" nillable="true" type="xs:unsignedByte" /> <xs:element minOccurs="0" name="DiabeticYn" nillable="true" type="xs:unsignedByte" /> <xs:element minOccurs="0" name="DietYn" nillable="true" type="xs:unsignedByte" /> <xs:element minOccurs="0" name="Directions" nillable="true" xmlns:q3="http://schemas.datacontract.org/2004/07/" type="q3:ArrayOfDirectionModel" /> <xs:element minOccurs="0" name="EditorNotes" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Enddate" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="ErrorMessage" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="FbImage" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="FeaturedImage" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="FeaturedImageHasSyndicationRights" type="xs:boolean" /> <xs:element minOccurs="0" name="FriendlyUrl" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="GateId" nillable="true" type="xs:int" /> <xs:element minOccurs="0" name="GoogleImage16x9" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="GoogleImage4x3" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="HealthyYn" nillable="true" type="xs:unsignedByte" /> <xs:element minOccurs="0" name="Ingredients" nillable="true" xmlns:q4="http://schemas.datacontract.org/2004/07/" type="q4:ArrayOfIngredientModel" /> <xs:element minOccurs="0" name="IsCommunityRecipe" type="xs:boolean" /> <xs:element minOccurs="0" name="IsContestWinner" nillable="true" type="xs:unsignedByte" /> <xs:element minOccurs="0" name="IsFieldEditorRecipe" type="xs:boolean" /> <xs:element minOccurs="0" name="IsPartnerRecipe" type="xs:boolean" /> <xs:element minOccurs="0" name="IsTestKitchenCertified" type="xs:boolean" /> <xs:element minOccurs="0" name="IsUserSubmittedRecipe" type="xs:boolean" /> <xs:element minOccurs="0" name="LegacyUrl" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="ModTitle" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="NutrAnlPrint" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="NutriInfoYn" nillable="true" type="xs:unsignedByte" /> <xs:element minOccurs="0" name="OrigSource" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="OrigTitle" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="PhotoCredit" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="PrepTimeMm" nillable="true" type="xs:int" /> <xs:element minOccurs="0" name="PrintableTimeCallout" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="PrizeWinYn" nillable="true" type="xs:unsignedByte" /> <xs:element minOccurs="0" name="PuStatId" nillable="true" type="xs:int" /> <xs:element minOccurs="0" name="PuYear" nillable="true" type="xs:int" /> <xs:element minOccurs="0" name="PubTitle" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Publication" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="QuickYn" nillable="true" type="xs:unsignedByte" /> <xs:element minOccurs="0" name="RecipeCategories" nillable="true" xmlns:q5="http://schemas.datacontract.org/2004/07/" type="q5:ArrayOfRecipeCategoryModel" /> <xs:element minOccurs="0" name="RecipeRating" nillable="true" type="xs:double" /> <xs:element minOccurs="0" name="RecipeTaxonomies" nillable="true" xmlns:q6="http://schemas.datacontract.org/2004/07/" type="q6:Taxonomies" /> <xs:element minOccurs="0" name="RecipeTrailer" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="RecpId" type="xs:int" /> <xs:element minOccurs="0" name="RomCopy" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="ServMaxQty" nillable="true" type="xs:int" /> <xs:element minOccurs="0" name="ServMinQty" nillable="true" type="xs:int" /> <xs:element minOccurs="0" name="SmallImage" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Startdate" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="TotTimeMm" nillable="true" type="xs:int" /> <xs:element minOccurs="0" name="VideoCode" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="WebDate" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="WebPublishedDate" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Yield" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="RecipeModel" nillable="true" type="tns:RecipeModel" /> </xs:schema>
Additional response Xml Schemas:
<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="anyType" nillable="true" type="xs:anyType" /> <xs:element name="anyURI" nillable="true" type="xs:anyURI" /> <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" /> <xs:element name="boolean" nillable="true" type="xs:boolean" /> <xs:element name="byte" nillable="true" type="xs:byte" /> <xs:element name="dateTime" nillable="true" type="xs:dateTime" /> <xs:element name="decimal" nillable="true" type="xs:decimal" /> <xs:element name="double" nillable="true" type="xs:double" /> <xs:element name="float" nillable="true" type="xs:float" /> <xs:element name="int" nillable="true" type="xs:int" /> <xs:element name="long" nillable="true" type="xs:long" /> <xs:element name="QName" nillable="true" type="xs:QName" /> <xs:element name="short" nillable="true" type="xs:short" /> <xs:element name="string" nillable="true" type="xs:string" /> <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" /> <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" /> <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" /> <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" /> <xs:element name="char" nillable="true" type="tns:char" /> <xs:simpleType name="char"> <xs:restriction base="xs:int" /> </xs:simpleType> <xs:element name="duration" nillable="true" type="tns:duration" /> <xs:simpleType name="duration"> <xs:restriction base="xs:duration"> <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" /> <xs:minInclusive value="-P10675199DT2H48M5.4775808S" /> <xs:maxInclusive value="P10675199DT2H48M5.4775807S" /> </xs:restriction> </xs:simpleType> <xs:element name="guid" nillable="true" type="tns:guid" /> <xs:simpleType name="guid"> <xs:restriction base="xs:string"> <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" /> </xs:restriction> </xs:simpleType> <xs:attribute name="FactoryType" type="xs:QName" /> <xs:attribute name="Id" type="xs:ID" /> <xs:attribute name="Ref" type="xs:IDREF" /> </xs:schema>
<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:complexType name="ArrayOfstring"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfstring" nillable="true" type="tns:ArrayOfstring" /> </xs:schema>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:complexType name="BeveragePairingModel"> <xs:sequence> <xs:element minOccurs="0" name="AdName" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="AdSize" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="AdType" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="AdZone" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="AllowAdZoneOverride" type="xs:boolean" /> <xs:element minOccurs="0" name="BeverageDescription" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="BeverageImagePath" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="BeverageTitle" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="BeverageTitleUrl" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="HasBeveragePairing" type="xs:boolean" /> <xs:element minOccurs="0" name="IsBeveragePairingSponsered" type="xs:boolean" /> <xs:element minOccurs="0" name="IsBeverageTitleLinkable" type="xs:boolean" /> <xs:element minOccurs="0" name="RecipeId" type="xs:int" /> </xs:sequence> </xs:complexType> <xs:element name="BeveragePairingModel" nillable="true" type="tns:BeveragePairingModel" /> <xs:complexType name="ArrayOfDirectionModel"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="DirectionModel" nillable="true" type="tns:DirectionModel" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfDirectionModel" nillable="true" type="tns:ArrayOfDirectionModel" /> <xs:complexType name="DirectionModel"> <xs:sequence> <xs:element minOccurs="0" name="Direction" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="SequenceNo" type="xs:int" /> </xs:sequence> </xs:complexType> <xs:element name="DirectionModel" nillable="true" type="tns:DirectionModel" /> <xs:complexType name="ArrayOfIngredientModel"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="IngredientModel" nillable="true" type="tns:IngredientModel" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfIngredientModel" nillable="true" type="tns:ArrayOfIngredientModel" /> <xs:complexType name="IngredientModel"> <xs:sequence> <xs:element minOccurs="0" name="CampaignId" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Ingredient" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="IngredientText" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="IsBrandedIngredient" type="xs:boolean" /> <xs:element minOccurs="0" name="Quantity" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="SequenceNo" type="xs:int" /> </xs:sequence> </xs:complexType> <xs:element name="IngredientModel" nillable="true" type="tns:IngredientModel" /> <xs:complexType name="ArrayOfRecipeCategoryModel"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="RecipeCategoryModel" nillable="true" type="tns:RecipeCategoryModel" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfRecipeCategoryModel" nillable="true" type="tns:ArrayOfRecipeCategoryModel" /> <xs:complexType name="RecipeCategoryModel"> <xs:sequence> <xs:element minOccurs="0" name="CategoryDescription" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="CategoryId" type="xs:int" /> <xs:element minOccurs="0" name="CategoryLevel" type="xs:int" /> <xs:element minOccurs="0" name="WPCategoryId" type="xs:int" /> </xs:sequence> </xs:complexType> <xs:element name="RecipeCategoryModel" nillable="true" type="tns:RecipeCategoryModel" /> <xs:complexType name="Taxonomies"> <xs:sequence> <xs:element minOccurs="0" name="Budget" nillable="true" type="tns:ArrayOfTaxonomy" /> <xs:element minOccurs="0" name="CookingStyle" nillable="true" type="tns:ArrayOfTaxonomy" /> <xs:element minOccurs="0" name="Course" nillable="true" type="tns:ArrayOfTaxonomy" /> <xs:element minOccurs="0" name="Cuisine" nillable="true" type="tns:ArrayOfTaxonomy" /> <xs:element minOccurs="0" name="HealthyEating" nillable="true" type="tns:ArrayOfTaxonomy" /> <xs:element minOccurs="0" name="HolidaysAndCelebrations" nillable="true" type="tns:ArrayOfTaxonomy" /> <xs:element minOccurs="0" name="Ingredients" nillable="true" type="tns:ArrayOfTaxonomy" /> <xs:element minOccurs="0" name="Kids" nillable="true" type="tns:ArrayOfTaxonomy" /> <xs:element minOccurs="0" name="PartnerRecipes" nillable="true" type="tns:ArrayOfTaxonomy" /> <xs:element minOccurs="0" name="Publications" nillable="true" type="tns:ArrayOfTaxonomy" /> <xs:element minOccurs="0" name="WinningRecipes" nillable="true" type="tns:ArrayOfTaxonomy" /> </xs:sequence> </xs:complexType> <xs:element name="Taxonomies" nillable="true" type="tns:Taxonomies" /> <xs:complexType name="ArrayOfTaxonomy"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="Taxonomy" nillable="true" type="tns:Taxonomy" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfTaxonomy" nillable="true" type="tns:ArrayOfTaxonomy" /> <xs:complexType name="Taxonomy"> <xs:sequence> <xs:element minOccurs="0" name="ID" type="xs:int" /> <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="Taxonomy" nillable="true" type="tns:Taxonomy" /> </xs:schema>
<xs:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="schema"> <xs:complexType /> </xs:element> </xs:schema>