ContentCafe
Click here for a complete list of operations.
XmlClass
XML request as a class parameter
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /ContentCafe/ContentCafe.asmx HTTP/1.1 Host: images.btol.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://ContentCafe2.btol.com/XmlClass" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <XmlClass xmlns="http://ContentCafe2.btol.com"> <ContentCafe DateTime="dateTime"> <Error>string</Error> <Search UserID="string" Password="string"> <SearchOptions> <MaxRecords>int</MaxRecords> <Offset>int</Offset> <SortBy xsi:nil="true" /> <SortBy xsi:nil="true" /> </SearchOptions> <SearchGroups> <SearchGroup xsi:nil="true" /> <SearchGroup xsi:nil="true" /> </SearchGroups> <SearchResults> <ProductItem xsi:nil="true" /> <ProductItem xsi:nil="true" /> </SearchResults> </Search> <RequestItems UserID="string" Password="string"> <RequestItem ID="string"> <Key xsi:nil="true" /> <Content xsi:nil="true" /> <Content xsi:nil="true" /> <MemberItem xsi:nil="true" /> <MemberItems xsi:nil="true" /> <AvailableContent xsi:nil="true" /> <AnnotationItems xsi:nil="true" /> <ReviewItems xsi:nil="true" /> <BiographyItems xsi:nil="true" /> <FlapItems xsi:nil="true" /> <InventoryItems xsi:nil="true" /> <DemandItems xsi:nil="true" /> <DemandHistoryItems xsi:nil="true" /> <JacketItems xsi:nil="true" /> <TocItems xsi:nil="true" /> <ExcerptItems xsi:nil="true" /> <ProductItems xsi:nil="true" /> <Muze xsi:nil="true" /> </RequestItem> <RequestItem ID="string"> <Key xsi:nil="true" /> <Content xsi:nil="true" /> <Content xsi:nil="true" /> <MemberItem xsi:nil="true" /> <MemberItems xsi:nil="true" /> <AvailableContent xsi:nil="true" /> <AnnotationItems xsi:nil="true" /> <ReviewItems xsi:nil="true" /> <BiographyItems xsi:nil="true" /> <FlapItems xsi:nil="true" /> <InventoryItems xsi:nil="true" /> <DemandItems xsi:nil="true" /> <DemandHistoryItems xsi:nil="true" /> <JacketItems xsi:nil="true" /> <TocItems xsi:nil="true" /> <ExcerptItems xsi:nil="true" /> <ProductItems xsi:nil="true" /> <Muze xsi:nil="true" /> </RequestItem> </RequestItems> </ContentCafe> </XmlClass> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <XmlClassResponse xmlns="http://ContentCafe2.btol.com"> <ContentCafe DateTime="dateTime"> <Error>string</Error> <Search UserID="string" Password="string"> <SearchOptions> <MaxRecords>int</MaxRecords> <Offset>int</Offset> <SortBy xsi:nil="true" /> <SortBy xsi:nil="true" /> </SearchOptions> <SearchGroups> <SearchGroup xsi:nil="true" /> <SearchGroup xsi:nil="true" /> </SearchGroups> <SearchResults> <ProductItem xsi:nil="true" /> <ProductItem xsi:nil="true" /> </SearchResults> </Search> <RequestItems UserID="string" Password="string"> <RequestItem ID="string"> <Key xsi:nil="true" /> <Content xsi:nil="true" /> <Content xsi:nil="true" /> <MemberItem xsi:nil="true" /> <MemberItems xsi:nil="true" /> <AvailableContent xsi:nil="true" /> <AnnotationItems xsi:nil="true" /> <ReviewItems xsi:nil="true" /> <BiographyItems xsi:nil="true" /> <FlapItems xsi:nil="true" /> <InventoryItems xsi:nil="true" /> <DemandItems xsi:nil="true" /> <DemandHistoryItems xsi:nil="true" /> <JacketItems xsi:nil="true" /> <TocItems xsi:nil="true" /> <ExcerptItems xsi:nil="true" /> <ProductItems xsi:nil="true" /> <Muze xsi:nil="true" /> </RequestItem> <RequestItem ID="string"> <Key xsi:nil="true" /> <Content xsi:nil="true" /> <Content xsi:nil="true" /> <MemberItem xsi:nil="true" /> <MemberItems xsi:nil="true" /> <AvailableContent xsi:nil="true" /> <AnnotationItems xsi:nil="true" /> <ReviewItems xsi:nil="true" /> <BiographyItems xsi:nil="true" /> <FlapItems xsi:nil="true" /> <InventoryItems xsi:nil="true" /> <DemandItems xsi:nil="true" /> <DemandHistoryItems xsi:nil="true" /> <JacketItems xsi:nil="true" /> <TocItems xsi:nil="true" /> <ExcerptItems xsi:nil="true" /> <ProductItems xsi:nil="true" /> <Muze xsi:nil="true" /> </RequestItem> </RequestItems> </ContentCafe> </XmlClassResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /ContentCafe/ContentCafe.asmx HTTP/1.1 Host: images.btol.com Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <XmlClass xmlns="http://ContentCafe2.btol.com"> <ContentCafe DateTime="dateTime"> <Error>string</Error> <Search UserID="string" Password="string"> <SearchOptions> <MaxRecords>int</MaxRecords> <Offset>int</Offset> <SortBy xsi:nil="true" /> <SortBy xsi:nil="true" /> </SearchOptions> <SearchGroups> <SearchGroup xsi:nil="true" /> <SearchGroup xsi:nil="true" /> </SearchGroups> <SearchResults> <ProductItem xsi:nil="true" /> <ProductItem xsi:nil="true" /> </SearchResults> </Search> <RequestItems UserID="string" Password="string"> <RequestItem ID="string"> <Key xsi:nil="true" /> <Content xsi:nil="true" /> <Content xsi:nil="true" /> <MemberItem xsi:nil="true" /> <MemberItems xsi:nil="true" /> <AvailableContent xsi:nil="true" /> <AnnotationItems xsi:nil="true" /> <ReviewItems xsi:nil="true" /> <BiographyItems xsi:nil="true" /> <FlapItems xsi:nil="true" /> <InventoryItems xsi:nil="true" /> <DemandItems xsi:nil="true" /> <DemandHistoryItems xsi:nil="true" /> <JacketItems xsi:nil="true" /> <TocItems xsi:nil="true" /> <ExcerptItems xsi:nil="true" /> <ProductItems xsi:nil="true" /> <Muze xsi:nil="true" /> </RequestItem> <RequestItem ID="string"> <Key xsi:nil="true" /> <Content xsi:nil="true" /> <Content xsi:nil="true" /> <MemberItem xsi:nil="true" /> <MemberItems xsi:nil="true" /> <AvailableContent xsi:nil="true" /> <AnnotationItems xsi:nil="true" /> <ReviewItems xsi:nil="true" /> <BiographyItems xsi:nil="true" /> <FlapItems xsi:nil="true" /> <InventoryItems xsi:nil="true" /> <DemandItems xsi:nil="true" /> <DemandHistoryItems xsi:nil="true" /> <JacketItems xsi:nil="true" /> <TocItems xsi:nil="true" /> <ExcerptItems xsi:nil="true" /> <ProductItems xsi:nil="true" /> <Muze xsi:nil="true" /> </RequestItem> </RequestItems> </ContentCafe> </XmlClass> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <XmlClassResponse xmlns="http://ContentCafe2.btol.com"> <ContentCafe DateTime="dateTime"> <Error>string</Error> <Search UserID="string" Password="string"> <SearchOptions> <MaxRecords>int</MaxRecords> <Offset>int</Offset> <SortBy xsi:nil="true" /> <SortBy xsi:nil="true" /> </SearchOptions> <SearchGroups> <SearchGroup xsi:nil="true" /> <SearchGroup xsi:nil="true" /> </SearchGroups> <SearchResults> <ProductItem xsi:nil="true" /> <ProductItem xsi:nil="true" /> </SearchResults> </Search> <RequestItems UserID="string" Password="string"> <RequestItem ID="string"> <Key xsi:nil="true" /> <Content xsi:nil="true" /> <Content xsi:nil="true" /> <MemberItem xsi:nil="true" /> <MemberItems xsi:nil="true" /> <AvailableContent xsi:nil="true" /> <AnnotationItems xsi:nil="true" /> <ReviewItems xsi:nil="true" /> <BiographyItems xsi:nil="true" /> <FlapItems xsi:nil="true" /> <InventoryItems xsi:nil="true" /> <DemandItems xsi:nil="true" /> <DemandHistoryItems xsi:nil="true" /> <JacketItems xsi:nil="true" /> <TocItems xsi:nil="true" /> <ExcerptItems xsi:nil="true" /> <ProductItems xsi:nil="true" /> <Muze xsi:nil="true" /> </RequestItem> <RequestItem ID="string"> <Key xsi:nil="true" /> <Content xsi:nil="true" /> <Content xsi:nil="true" /> <MemberItem xsi:nil="true" /> <MemberItems xsi:nil="true" /> <AvailableContent xsi:nil="true" /> <AnnotationItems xsi:nil="true" /> <ReviewItems xsi:nil="true" /> <BiographyItems xsi:nil="true" /> <FlapItems xsi:nil="true" /> <InventoryItems xsi:nil="true" /> <DemandItems xsi:nil="true" /> <DemandHistoryItems xsi:nil="true" /> <JacketItems xsi:nil="true" /> <TocItems xsi:nil="true" /> <ExcerptItems xsi:nil="true" /> <ProductItems xsi:nil="true" /> <Muze xsi:nil="true" /> </RequestItem> </RequestItems> </ContentCafe> </XmlClassResponse> </soap12:Body> </soap12:Envelope>