How to search for text in page title and content with MediaWiki API? - wikipedia-api

I'm not sure if it is actually possible to do, because I can only find out how to search titles like this:
/api.php?action=query&rvlimit=10&rvprop=content&format=xml&titles=searchterm

To search for 10 pages that contain the word 'wikipedia'
api.php ? action=query & list=search & srsearch=wikipedia & srprop=timestamp
and the result is
<?xml version="1.0"?>
<api>
<query>
<searchinfo totalhits="40085" />
<search>
<p ns="0" title="Wikipedia" timestamp="2011-02-26T16:43:03Z" />
<p ns="0" title="French Wikipedia" timestamp="2011-02-27T00:11:59Z" />
<p ns="0" title="Main Page" timestamp="2011-01-19T19:49:11Z" />
<p ns="0" title="Regent" timestamp="2011-02-24T03:45:02Z" />
<p ns="0" title="Blocking of Wikipedia by the People's Republic of China" timestamp="2011-02-25T03:12:52Z" />
<p ns="0" title="Nemzeti Bajnokság I" timestamp="2011-02-02T23:27:44Z" />
<p ns="0" title="Teller–Ulam design" timestamp="2011-02-06T21:54:56Z" />
<p ns="0" title="Norwegian Wikipedia" timestamp="2011-01-06T18:43:32Z" />
<p ns="0" title="List of countries and outlying territories by total area" timestamp="2011-02-26T17:31:44Z" />
<p ns="0" title="2009–2010 ISU Junior Grand Prix" timestamp="2011-02-19T04:24:52Z" />
</search>
</query>
<query-continue>
<search sroffset="10" />
</query-continue>
</api>
More here

Related

Read the XML data Nodes in TSQL Query and filter the XML columns data

I Have a TABLE in that one filed have XML data, below I have provided and I need to read this fields and filter the data in SQL QUery, Can someone help to read below select list fields?
XML is:
<Order
xmlns:Order="http://www.hp.com/namespaces/iscs/base/ordermanagement/ois/schemas/order_xml"
UniqueId="" Id="SCEO37600056" Name="" DisplayName=""
Description="" ShopperId="0c52f72f-d24d-492b-89e8-a8f433b652b1"
SerializationVersion="1.0.0" SourceCode=""
CustomerId="SCEU33684387" CustomerEmail="administratie#entis.ai"
TaxLogic="DRC" DefaultTaxRate="21" OrderEDDMessage="UnKnown"
QuoteCreatedOn="1901-01-01T00:00:00" OrderKey="SCEO37600056"
CurrencyCode="EUR" Language="nl"
CurrentApplication="NLSMBCallCenter" IPAddress=""
DiscountType="None" CanProcess="false" AccountId="SCEA3258"
CatalogName="NL Public (CG1926)" Tier1="false"
ExternalAccountId="" CustomerName="Tineke van Westrenen"
CompanyName="Default Public Account" SalesRepId="SCEU33285893"
QuoteId="" AgentId="" AgentLogin="" QuoteCreatedBy=""
OrderCreatedBy="" QuoteCreatedDate="1901-01-01T00:00:00"
CommunityId="SCESG23099"
InternalComments="DYN_BUNDLE_0008162_6B8D6EA_ABH on BC pricePGS Fraud Review
-- Order removed from RMS Hold - X Minute Services -- Order released - X Minute Services "
ExternalComments=""
PSTQSTExemptionCode="" GSTHSTExemptionCode=""
InvoiceComments="" PurchaseStatus="" PrimaryUse=""
CatalogId="CG1926" BillingBlock="false"
ReceivedInvoice="false" BusinessPipeline=""
CustomerRequestedDeliveryDate="" CustomerRequestedDeliveryTime=""
BypassAvaialblility="false" BypassAvaialblilityReason=""
CustomerSegment="Business" ProcessingType="Regular"
SendSiebel="false" AssociateOpportunity=""
CheckInventory="true" IsInventoryAvailable="false"
CountryKey="NL" Region="EMEA" ApplyForRecycleServices=""
RegisterForInternetServiceProvider="" RequestToIssueReceipt=""
ReceiveOrderStatusMails="" CanValidatePipeLine="true"
IsCCRepApproved="false" FulfillmentId="EU_Direct"
SourceCatalogKey="CAT-1157426" ShouldSettleBill="false"
IsPriceInclusiveofTax="true" IsFrozenQuote="false"
ShouldSettlePayPal="false" DiscountAllowanceExceeded="false"
DiscountAllowanceExceededAmount="0"
HasDisplayedDiscountExceededMsg="false"
PriceIncludesRegulatoryFee="false"
HasMultipleLSPFulfillment="false"
IsEDDMessageRequested="false" FulfillmentSegment="SMB"
FulfillmentSubSegment="Public" CustomerApprovalEmail=""
ClubName="" HasOutOfStockItem="false" ISDRCEligible="true"
ISDRCApplied="true" Doc_number="0087a107-49b337ac8-7"
ISVIESRequired="false" OrderWithSavedCardProfile="false"
Is3DSecure="false" IsValidGeoBlockingSoldtoCountry="false"
ISGeoBlockingApplied="false" ISGeoBlockingEligible="false"
GeoBlockingSoldToCountry="NL" OrderMethodType="ZCDO"
OrderType="Regular" OrderSource="ZISCSCC" Currency=""
Prefix="" DealDescriptor="NLEURSP" OrderCancelledBy=""
OrderStatus="Open" OrderDate="2022-11-22T14:48:55">
<EffectiveStartDate>1901-01-01T00:00:00</EffectiveStartDate>
<EffectiveEndDate>1901-01-01T00:00:00</EffectiveEndDate>
<Status>Open</Status>
<Created UniqueId="" Id="" ActionPerformed="Created" PerformedBy="AUTH\vanVegS" PerformedDate="2022-11-22T13:48:55.2475289+00:00" />
<LastModified UniqueId="" Id="" ActionPerformed="Modified" PerformedBy="AUTH\vanVegS" PerformedDate="2022-11-22T13:48:58.3725983+00:00" />
<ExtendedProperties />
<ExpirationDate>2022-12-22T00:00:00</ExpirationDate>
<OriginationSource>CallCenter</OriginationSource>
<SubTotal UniqueId="" Id="" Amount="23137.97" />
<BasePriceSubTotal UniqueId="" Id="" Amount="23137.8" />
<Total UniqueId="" Id="" Amount="20874.57" />
<Errors />
<LineItems>
<Item UniqueId="" Id="1" Name="" DisplayName="" Description="HP ZBook Firefly G9 mobiele workstation met NVIDIA® T500" OSSStatus="" GroupId="1" Quantity="10" ActualQty="0" AttachId="0" DynamicBunImageURL="" IsDisplayable="true" Availability="0" ValidatePrice="true" CurrentQty="0" FutureQty="-1" ReservationQty="0" EDD="TBA" FutureUsed="false" IsValid="true" CampaignCode="" TaxLogic="DRC" PriceIncludesRegulatoryFee="false" OID="0" DynamicBundleId="" DynamicBundleName="" DynamicBundleDescription="" Sequence="0" ActualLineItemId="1" IsDynamicBundle="false" DynamicBundleQty="0" IsCouponApplicable="false" ParentSku="" isTaxRateChanged="false" ItemMaxQty="0">
<EffectiveStartDate>1901-01-01T00:00:00</EffectiveStartDate>
<EffectiveEndDate>1901-01-01T00:00:00</EffectiveEndDate>
<Status>Active</Status>
<ExtendedProperties />
<Product UniqueId="" Id="P498222" Name="HP ZBook Firefly G9 mobiele workstation met NVIDIA® T500" DisplayName="HP ZBook Firefly G9 mobiele workstation met NVIDIA® T500" Description="HP ZBook Firefly G9 mobiele workstation met NVIDIA® T500" CategoryId="" CategoryName="" OID="" Characteristics="" Sequence="0" PrimaryImage="https://www.hp.com/nl-nl/shop/Html/Merch/Images/c08249910_209x189.jpg" CatalogId="CG1926" ParentCategoryId="" HierarchyDescription="" Hierarchy="" FulfillmentId="EU_Direct" Expressflag="false" ApplicationType="" ConsumesInventory="true" IsProductTangible="true" IsConfigurable="true" CurrentEDD="TBA" FutureEDD="TBA" CurrentInventory="9" FutureInventory="0" ConfigBaseProductPartNumber="" PreferredProduct="false" Family="" ArfFlag="false" IsNonBuyable="false" IsExternal="false" FreeShipping="false" IsProductNew="false" PartNumber="6B8D6EA#ABH" MfgName="" Unspsc="43211503" ProductLine="IK" HTSCode="8471300000" IsAncillary="false" IsSameQtyReq="false" TaxCode="OV" ProductFamily="" ProductSource="" QuickAccessCode="" Qualifier="" IsActive="true" IsVirtual="false" IsSellable="false" IsStandAlone="false" DeliveryGroup="" FulfillmentSource="" CampaignCode="" EclipseId="" TaxRate="0" TaxType="OM" BigDealId="44301913" Quantity="1" WarrantyDesc="" PscLocale="" PscReferringUrl="" PscCrossSellUrl="" PscPartNumber="" LspSku="" LSPFulfillmentId="" OutOfStock="true" LeadTime="365" ETA="261" EDDMessage="ShipIn48Hours" ActualEDDMessage="UnKnown" FreeShippingOrder="false" DFlag="false" SourceCatalogId="" HasPromotions="false" HasDiscounts="false" DynBunId="">
<EffectiveStartDate>1901-01-01T00:00:00</EffectiveStartDate>
<EffectiveEndDate>1901-01-01T00:00:00</EffectiveEndDate>
<Status>Active</Status>
<ExtendedProperties />
<AttachId>0</AttachId>
<CatalogItemType>Product</CatalogItemType>
<CatalogItems />
<Specifications />
<MetadataList>
<Metadata UniqueId="" Id="" Name="MarketingText" Value="" Sequence="0">
<MetadataType>Specification</MetadataType>
</Metadata>
<Metadata UniqueId="" Id="" Name="XmlContentText" Value="" Sequence="0">
<MetadataType>Specification</MetadataType>
</Metadata>
</MetadataList>
<MetadataGroups />
<Promotions />
<Surcharge UniqueId="" Id="" Amount="0" />
<CopyrightFee UniqueId="" Id="" Amount="0" />
<ProductType>Bto</ProductType>
<Discount
xmlns:d6p1="http://www.w3.org/2001/XMLSchema-instance" d6p1:type="OperatorDiscount" UniqueId="" Id="" Name="" DisplayName="" Description="" Code="" ApplyToLocation="Unknown" DiscountType="FixedAmount" ReasonCode="Deal price approval" Value="64.64" MinimumApplicableAmount="0" MaximumApplicableAmount="0">
<EffectiveStartDate>1901-01-01T00:00:00</EffectiveStartDate>
<EffectiveEndDate>1901-01-01T00:00:00</EffectiveEndDate>
<ApprovalId />
</Discount>
</ProductDiscount>
<PscSegment>unknown</PscSegment>
<BaseCatalogPrice UniqueId="" Id="" Amount="2152" />
<BaseListPrice UniqueId="" Id="" Amount="2152" />
<ListPrice UniqueId="" Id="" Amount="2603.92" />
<CatalogFinalPrice UniqueId="" Id="" Amount="2603.92" />
<PriceType>Unknown</PriceType>
</Product>
<ExternalInfo UniqueId="" Id="" Name="" DisplayName="" Description="" ProductColor="" ProductURL="" AccessoryURL="" ImageURL="" ProductLine="" ProductFamily="">
<EffectiveStartDate>1901-01-01T00:00:00</EffectiveStartDate>
<EffectiveEndDate>1901-01-01T00:00:00</EffectiveEndDate>
<Status>Active</Status>
<ExtendedProperties />
</ExternalInfo>
<LineItemDiscountCollection>
<Discount
xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" d5p1:type="OperatorDiscount" UniqueId="" Id="" Name="" DisplayName="" Description="" Code="" ApplyToLocation="Item" DiscountType="FixedAmount" ReasonCode="Deal price approval" Value="-646.4" MinimumApplicableAmount="0" MaximumApplicableAmount="0">
<EffectiveStartDate>1901-01-01T00:00:00</EffectiveStartDate>
<EffectiveEndDate>1901-01-01T00:00:00</EffectiveEndDate>
<Status>Active</Status>
<ExtendedProperties />
<Message />
<DiscountTaxFactor UniqueId="" Id="" Amount="0" />
<TypeOfDiscount>Operator</TypeOfDiscount>
<RequestorSalesRepId />
<ApproverSalesRepId />
<ApprovalId />
</Discount>
</LineItemDiscountCollection>
<TaxItems>
<LineItemTax UniqueId="" Id="0" Message="" Code="OM" Type="Product">
<TotalAmount UniqueId="" Id="" Amount="0" />
<SubTaxes>
<LineItemTaxLevel UniqueId="" Id="0">
<_amount UniqueId="" Id="" Amount="0" />
<_level />
<_code>OM</_code>
<_type>OM</_type>
<_message />
<_rate>21</_rate>
<_certificateNumber />
</LineItemTaxLevel>
</SubTaxes>
</LineItemTax>
</TaxItems>
<IsExclude>false</IsExclude>
<LineItemApportionedDiscount UniqueId="" Id="" Amount="0" />
<RefreshedProduct UniqueId="" Id="P498222" Name="HP ZBook Firefly G9 mobiele workstation met NVIDIA® T500" DisplayName="HP ZBook Firefly G9 mobiele workstation met NVIDIA® T500" Description="HP ZBook Firefly G9 mobiele workstation met NVIDIA® T500" CategoryId="" CategoryName="" OID="" Characteristics="" Sequence="0" PrimaryImage="https://www.hp.com/nl-nl/shop/Html/Merch/Images/c08249910_209x189.jpg" CatalogId="CG1926" ParentCategoryId="" HierarchyDescription="" Hierarchy="" FulfillmentId="EU_Direct" Expressflag="false" ApplicationType="" ConsumesInventory="true" IsProductTangible="true" IsConfigurable="true" CurrentEDD="TBA" FutureEDD="TBA" CurrentInventory="9" FutureInventory="0" ConfigBaseProductPartNumber="" PreferredProduct="false" Family="" ArfFlag="false" IsNonBuyable="false" IsExternal="false" FreeShipping="false" IsProductNew="false" PartNumber="6B8D6EA#ABH" MfgName="" Unspsc="43211503" ProductLine="IK" HTSCode="8471300000" IsAncillary="false" IsSameQtyReq="false" TaxCode="OM" ProductFamily="" ProductSource="" QuickAccessCode="" Qualifier="" IsActive="true" IsVirtual="false" IsSellable="false" IsStandAlone="false" DeliveryGroup="" FulfillmentSource="" CampaignCode="" EclipseId="" TaxRate="21" TaxType="OM" BigDealId="44301913" Quantity="1" WarrantyDesc="" PscLocale="" PscReferringUrl="" PscCrossSellUrl="" PscPartNumber="" LspSku="" LSPFulfillmentId="" OutOfStock="false" LeadTime="365" ETA="261" EDDMessage="ShipIn48Hours" ActualEDDMessage="UnKnown" FreeShippingOrder="false" DFlag="false" SourceCatalogId="" HasPromotions="false" HasDiscounts="false" DynBunId="">
<EffectiveStartDate>1901-01-01T00:00:00</EffectiveStartDate>
<EffectiveEndDate>1901-01-01T00:00:00</EffectiveEndDate>
<Status>Active</Status>
<ExtendedProperties />
<AttachId>0</AttachId>
<CatalogItemType>Product</CatalogItemType>
<CatalogItems />
<Specifications />
<MetadataList>
<Metadata UniqueId="" Id="" Name="MarketingText" Value="" Sequence="0">
<MetadataType>Specification</MetadataType>
</Metadata>
<Metadata UniqueId="" Id="" Name="XmlContentText" Value="" Sequence="0">
<MetadataType>Specification</MetadataType>
</Metadata>
</MetadataList>
<MetadataGroups />
<Promotions />
<Surcharge UniqueId="" Id="" Amount="0" />
<CopyrightFee UniqueId="" Id="" Amount="0" />
<ProductType>Bto</ProductType>
<Height Value="0" UnitOfMeasure="Unknown" />
<Length Value="0" UnitOfMeasure="Unknown" />
<Width Value="0" UnitOfMeasure="Unknown" />
<Weight Value="0" UnitOfMeasure="Unknown" />
<AliasSkus />
<TaxAmount UniqueId="" Id="" Amount="451.92" />
<TaxAmountwithQty UniqueId="" Id="" Amount="0" />
<ProductDiscount />
<PscSegment>unknown</PscSegment>
<BaseCatalogPrice UniqueId="" Id="" Amount="2152" />
<BaseListPrice UniqueId="" Id="" Amount="2152" />
<ListPrice UniqueId="" Id="" Amount="2603.92" />
<CatalogFinalPrice UniqueId="" Id="" Amount="2603.92" />
<PriceType>Unknown</PriceType>
</RefreshedProduct>
<SurchargeTaxFactor UniqueId="" Id="" Amount="0" />
<CopyrightFeeTaxFactor UniqueId="" Id="" Amount="0" />
</Item>
</LineItems>
<ValidationErrors />
<CreditRequestAmount UniqueId="" Id="" Amount="25259" />
<CVResult />
</Payment>
</Payments>
<Shipments>
<Shipment
xmlns:d3p1="http://www.w3.org/2001/XMLSchema-instance" d3p1:type="LSShipment" UniqueId="" Id="" AddressId="" IsDefault="false" ShippingInstructions="" ThirdPartyTrackingNo="" ShipmentNo="" ActualAdminData="" ActualProductionDate="" AcutalConsolidationDate="" ActualShipDate="" ActualDeliveryDate="" PlannedShipDate="" PlannedDeliveryDate="" OSSStatus="" StatusRefTime="" CarrierCode="LSCarrierCode" IsAssisted="false" ServiceLevelCode="LSServiceLevelCode" ServiceLevelDescCode="SS">
<LineItems>
<Id>1</Id>
<Id>2</Id>
</LineItems>
<CarrierList />
<EnhancedServiceList />
<EnhancedService />
<LsSkus>
<LineItem UniqueId="" Id="1" Name="" DisplayName="" Description="" OSSStatus="" GroupId="" Quantity="1" ActualQty="0" AttachId="0" DynamicBunImageURL="" IsDisplayable="true" Availability="0" ValidatePrice="true" CurrentQty="0" FutureQty="0" ReservationQty="0" FutureUsed="false" IsValid="true" CampaignCode="" TaxLogic="Default" PriceIncludesRegulatoryFee="false" OID="0" DynamicBundleId="" DynamicBundleName="" DynamicBundleDescription="" Sequence="0" ActualLineItemId="" IsDynamicBundle="false" DynamicBundleQty="0" IsCouponApplicable="false" ParentSku="" isTaxRateChanged="false" ItemMaxQty="0">
<DiscountCollection />
<TaxItems />
<IsExclude>false</IsExclude>
<LineItemApportionedDiscount UniqueId="" Id="" Amount="0" />
<SurchargeTaxFactor UniqueId="" Id="" Amount="0" />
<CopyrightFeeTaxFactor UniqueId="" Id="" Amount="0" />
</LineItem>
</LsSkus>
</Shipment>
</Shipments>
<Discounts />
<TaxItems>
<LineItemTax UniqueId="" Id="0" Message="" Code="OM" Type="Product">
<TotalAmount UniqueId="" Id="" Amount="0" />
<SubTaxes>
</SubTaxes>
</LineItemTax>
<LineItemTax UniqueId="" Id="1" Message="" Code="OM" Type="Product">
<TotalAmount UniqueId="" Id="" Amount="0.2" />
<SubTaxes>
</SubTaxes>
</LineItemTax>
</TaxItems>
<Compensations />
<SendSiebelTime>1901-01-01T00:00:00</SendSiebelTime>
<AssociateOpportunityTime>1901-01-01T00:00:00</AssociateOpportunityTime>
</Addresses>
<PhoneNumbers />
<EmailAddresses>
<Email UniqueId="" Id="SCEUE33685069" Address="administratie#entis.ai" IsDefault="false">
<Locale>Work</Locale>
<Status>Active</Status>
</Email>
</EmailAddresses>
<ExternalKey>p1mfrp6tt34bsmpbpu9cgn4yduj61x5x</ExternalKey>
<UserGuid>05FB4EDB-8CB3-4224-BB49-39628D21C6BF</UserGuid>
<Type>External</Type>
<RegistrationDate>2022-10-28T12:32:56</RegistrationDate>
<PasswordExpirationDate>1901-01-01T00:00:00</PasswordExpirationDate>
<SecurityQuestion1 />
<SecurityAnswer1 />
<SecurityQuestion2 />
<SecurityAnswer2 />
<SiebelContactID />
<LastSiebelUpdatedDate>1901-01-01T00:00:00</LastSiebelUpdatedDate>
</CreatedFor>
<CreatedBy UniqueId="" Id="SCEU33285893" Name="AUTH\vanVegS" DisplayName="" Description="" FirstName="serge" MiddleInitial="" LastName="vegten" LastName2="" Salutation="" Language="nl" Notes="" UserTypeCode="" UserType="0" UserName="AUTH\vanVegS" PasswordHash="" Password="" UserSecuritySalt="" SecurityQuestion="" SecurityAnswer="" PrimaryAccountId="" Country="NL" PhoneticLastName="" PhoneticFirstName="" Gender="Unknown" DateOfBirth="1901-01-01T00:00:00" Occupation="" BusinessFunction="" PromoEmailConsent="" AdminEmailConsent="" FaxConsent="" Department="" CustomerSegment="Business" CompanyName="" CustomerSubSegment="Public" IsFarmingAccount="false">
<EffectiveStartDate>1901-01-01T00:00:00</EffectiveStartDate>
<EffectiveEndDate>1901-01-01T00:00:00</EffectiveEndDate>
<Status>Active</Status>
<Created UniqueId="" Id="" ActionPerformed="created" PerformedBy="AUTH\canovasl" PerformedDate="2020-11-16T16:40:41" ItemSource="CallCenter" />
<LastModified UniqueId="" Id="" ActionPerformed="modified" PerformedBy="AUTH\vanVegS" PerformedDate="2022-11-22T13:47:04.0639606+00:00" ItemSource="CallCenter" />
<ExtendedProperties />
<Addresses>
<Address UniqueId="" Id="SCEUA35660872" Name="" DisplayName="" Description="" AddressName="" CustomerTitle="" SalutationKey="" FirstName="" Area="" TaxId="" AlternateShippingContact="" MiddleInitial="" LastName="" CompanyName="" Line1="" Line2="" Line3="" City="" Region="" PostalCode="" Country="NL" IsDefault="false" LastName2="" AddressAssociationType="User" Locale="Unknown" CRSID="" DepartmentName="" PhoneticCompanyName="" PhoneticFirstName="" PhoneticLastName="" Email="" CYSISID="" StateName="" CRSStatusCode="RequestNotCalled" CRSErrorCode="" AVRStatusCode="SE00000800" AVRErrorCode="" IsVerified="false">
<EffectiveStartDate>1901-01-01T00:00:00</EffectiveStartDate>
<EffectiveEndDate>1901-01-01T00:00:00</EffectiveEndDate>
<Status>Active</Status>
<ExtendedProperties />
<AddressType>Billing</AddressType>
<CompanyPresident />
</Address>
</Addresses>
<PhoneNumbers />
<EmailAddresses>
<Email UniqueId="" Id="SCEUE33286377" Address="serge.van.vegten#hp.com" IsDefault="false">
<Locale>Work</Locale>
<Status>Active</Status>
</Email>
</EmailAddresses>
<ExternalKey>U</ExternalKey>
<UserGuid>0DFFDA3D-B811-4381-8E81-DAFF3349CEC9</UserGuid>
<Type>Internal</Type>
<RegistrationDate>2020-11-16T16:40:41</RegistrationDate>
<PasswordExpirationDate>1901-01-01T00:00:00</PasswordExpirationDate>
<SecurityQuestion1 />
<SecurityAnswer1 />
<SecurityQuestion2 />
<SecurityAnswer2 />
<SiebelContactID />
<LastSiebelUpdatedDate>1901-01-01T00:00:00</LastSiebelUpdatedDate>
</CreatedBy>
<UpdatedBy UniqueId="" Id="" Name="" DisplayName="" Description="" FirstName="" MiddleInitial="" LastName="" LastName2="" Salutation="" Language="" Notes="" UserTypeCode="" UserType="0" UserName="" PasswordHash="" Password="" UserSecuritySalt="" SecurityQuestion="" SecurityAnswer="" PrimaryAccountId="" Country="" PhoneticLastName="" PhoneticFirstName="" Gender="Unknown" DateOfBirth="1901-01-01T00:00:00" Occupation="" BusinessFunction="" Department="" CustomerSegment="Consumer" CompanyName="" CustomerSubSegment="Public" IsFarmingAccount="false">
<EffectiveStartDate>1901-01-01T00:00:00</EffectiveStartDate>
<EffectiveEndDate>1901-01-01T00:00:00</EffectiveEndDate>
<Status>Active</Status>
<ExtendedProperties />
<Addresses />
<PhoneNumbers />
<EmailAddresses />
<ExternalKey />
<UserGuid />
<Type>Unknown</Type>
<RegistrationDate>1901-01-01T00:00:00</RegistrationDate>
<PasswordExpirationDate>1901-01-01T00:00:00</PasswordExpirationDate>
<LastSiebelUpdatedDate>1901-01-01T00:00:00</LastSiebelUpdatedDate>
</UpdatedBy>
<PreferredShipDate>1901-01-01T00:00:00</PreferredShipDate>
<QuoteIds>
<Id />
</QuoteIds>
SELECT X.Y.value('ProductType[1]','VARCHAR(20)') AS ProductType, X.Y.value('ISDRCEligible[1]','VARCHAR(20)') AS ISDRCEligible,
X.Y.value('ISDRCApplied[1]','VARCHAR(20)') AS ISDRCApplied,
X.Y.value('type[1]','NVARCHAR(20)') AS type,
X.Y.value('IsAncillary[1]','VARCHAR(20)') AS IsAncillary,X.Y.value('IsSameQtyReq[1]','VARCHAR(20)') AS IsSameQtyReq,X.Y.value('TaxCode[1]','VARCHAR(20)') AS TaxCode,
X.Y.value('Country[1]','VARCHAR(20)') AS Country
FROM (
SELECT top 100000 CAST(SerializedOrder AS XML) as SerializedOrder
FROM TransactionOrder WITH(NOLOCK))a
CROSS APPLY a.SerializedOrder.nodes('Order/LineItems/Item') AS X(Y)
WHERE X.Y.value('ProductType[1]','VARCHAR(20)')='Bto' AND X.Y.value('ISDRCEligible[1]','VARCHAR(20)')='true' AND
X.Y.value('ISDRCApplied[1]','VARCHAR(20)')='true' AND --X.Y.value('type[1]','NVARCHAR(20)')='CarePack' AND
X.Y.value('IsAncillary[1]','VARCHAR(20)')='true' AND X.Y.value('IsSameQtyReq[1]','VARCHAR(20)')='true' AND
X.Y.value('TaxCode[1]','VARCHAR(20)')='OM' AND X.Y.value('Country[1]','VARCHAR(20)')='NL'

Outlook Web Add-In error 'There were deployment errors. Continue?'

Currently I'm working on an Outlook Add-In using Visual Studio 2022 with React (TypeScript). When starting the application a message box appears containing following message:
There were deployment errors. Continue?
The output of the build console doesn't help at all because it only says that an error has occurred but without any further information.
Is there any way to get more error details or does anyone know how to fix this?
Manifest:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0" xmlns:mailappor="http://schemas.microsoft.com/office/mailappversionoverrides/1.0" xsi:type="MailApp">
<Id>0ca51293-705c-45d5-975c-e59909dab3ea</Id>
<Version>1.0.0.0</Version>
<ProviderName>Company</ProviderName>
<DefaultLocale>de-DE</DefaultLocale>
<DisplayName DefaultValue="OutlookAddInWeb" />
<Description DefaultValue="OutlookAddInWeb Description" />
<IconUrl DefaultValue="~remoteAppUrl/Images/Button64x64.png" />
<HighResolutionIconUrl DefaultValue="~remoteAppUrl/Images/Button80x80.png" />
<SupportUrl DefaultValue="https://www.somesite.com/" />
<AppDomains>
<AppDomain>https://login.microsoftonline.com</AppDomain>
<AppDomain>https://localhost:44488</AppDomain>
</AppDomains>
<Hosts>
<Host Name="Mailbox" />
</Hosts>
<Requirements>
<Sets>
<Set Name="Mailbox" MinVersion="1.1" />
</Sets>
</Requirements>
<FormSettings>
<Form xsi:type="ItemEdit">
<DesktopSettings>
<SourceLocation DefaultValue="~remoteAppUrl/" />
</DesktopSettings>
</Form>
</FormSettings>
<Permissions>ReadWriteItem</Permissions>
<Rule xsi:type="ItemIs" ItemType="Message" FormType="Edit" />
<DisableEntityHighlighting>false</DisableEntityHighlighting>
<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
<Requirements>
<bt:Sets DefaultMinVersion="1.5">
<bt:Set Name="Mailbox" />
</bt:Sets>
</Requirements>
<Hosts>
<Host xsi:type="MailHost">
<DesktopFormFactor>
<FunctionFile resid="Commands.Url" />
<ExtensionPoint xsi:type="MessageComposeCommandSurface">
<OfficeTab id="TabDefault">
<Group id="msgComposeGroup">
<Label resid="GroupLabel" />
<Control xsi:type="Button" id="msgComposeOpenPaneButton">
<Label resid="TaskpaneButton.Label" />
<Supertip>
<Title resid="TaskpaneButton.Label" />
<Description resid="TaskpaneButton.Tooltip" />
</Supertip>
<Icon>
<bt:Image size="16" resid="Icon.16x16" />
<bt:Image size="32" resid="Icon.32x32" />
<bt:Image size="80" resid="Icon.80x80" />
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="Taskpane.Url" />
</Action>
</Control>
<Control xsi:type="Button" id="ActionButton">
<Label resid="ActionButton.Label" />
<Supertip>
<Title resid="ActionButton.Label" />
<Description resid="ActionButton.Tooltip" />
</Supertip>
<Icon>
<bt:Image size="16" resid="Icon.16x16" />
<bt:Image size="32" resid="Icon.32x32" />
<bt:Image size="80" resid="Icon.80x80" />
</Icon>
<Action xsi:type="ExecuteFunction">
<FunctionName>action</FunctionName>
</Action>
</Control>
</Group>
</OfficeTab>
</ExtensionPoint>
</DesktopFormFactor>
</Host>
</Hosts>
<Resources>
<bt:Images>
<bt:Image id="Icon.16x16" DefaultValue="~remoteAppUrl/Images/Button16x16.png" />
<bt:Image id="Icon.32x32" DefaultValue="~remoteAppUrl/Images/Button32x32.png" />
<bt:Image id="Icon.80x80" DefaultValue="~remoteAppUrl/Images/Button80x80.png" />
</bt:Images>
<bt:Urls>
<bt:Url id="Commands.Url" DefaultValue="~remoteAppUrl/commands.html" />
<bt:Url id="Taskpane.Url" DefaultValue="~remoteAppUrl/" />
</bt:Urls>
<bt:ShortStrings>
<bt:String id="GroupLabel" DefaultValue="Outlook Add-in" />
<bt:String id="TaskpaneButton.Label" DefaultValue="Show Taskpane" />
<bt:String id="ActionButton.Label" DefaultValue="Perform an action" />
</bt:ShortStrings>
<bt:LongStrings>
<bt:String id="TaskpaneButton.Tooltip" DefaultValue="Opens a pane displaying all available properties." />
<bt:String id="ActionButton.Tooltip" DefaultValue="Perform an action when clicked." />
</bt:LongStrings>
</Resources>
<WebApplicationInfo>
<Id>1d32bd7d-70ab-42b5-b11a-8e73a6b8ab4a</Id>
<Resource>api://localhost:44488/1d32bd7d-70ab-42b5-b11a-8e73a6b8ab4a</Resource>
<Scopes>
<Scope>openid</Scope>
<Scope>profile</Scope>
</Scopes>
</WebApplicationInfo>
</VersionOverrides>
</VersionOverrides>
</OfficeApp>
Use https://learn.microsoft.com/en-us/office/dev/add-ins/testing/troubleshoot-manifest to validate your manifest file. There are issues with your manifest file.

Post Array type of Xml data to Http calls

Hi i just want to know how to post xml data to Http post method in Objective-C by dynamically instead of static string Appending
here my sample xml Data :
<xml-packet version="2.5" ctr="1" timestamp="1345193301000">
<device id="0" name="hh" ipaddr="0.0.0.1" type="Hello" status="NORMAL"
capability="ios">
<devcice name="5s" type="2" status="NORMAL">
<sensor name="sample" type="" status="NORMAL">
<event timestamp="1345193300000" type="ITEM">
<position agid="3" name="Manager" lastsynctime="1344433367000" action="" />
<position agid="6" name="LOC3" lastsynctime="1343818867000" action="" />
<position agid="8" name="LOC5" lastsynctime="1344433367000" action="" />
<position agid="4" name="LOC1" lastsynctime="1344504045000" action="" />
<position agid="5" name="LOC2" lastsynctime="1343386683000" action="" />
<position agid="7" name="LOC4" lastsynctime="1344238182000" action="" />
</event>
<event timestamp="1345192938000" type="ITEM">
<position agid="1" name="CEO" lastsynctime="1344594202000" action="update">
<item id="ac001520101217000a012222" result="" status="NEW" lastmodifiedtime="" />
<item id="e20019838306016127500770" result="" status="NEW" lastmodifiedtime="" />
<item id="e20019838309014424301e64" result="" status="NEW" lastmodifiedtime="" />
<item id="2005790000000000000005fc" result="" status="MISSING" lastmodifiedtime="1345212728000" />
<item id="00000000012102007400bd39" result="" status="MISSING" lastmodifiedtime="1344594171000" />
</position>
</event>
</sensor>
</device>
</xml-packet>

SQL XML load with OpenRow

I am trying to load a XML document (below is an example of how I receive the files. I can read the xml, but I am unable to insert the the data into tables. Any help would be appreciative.
<xml xmlns:dt="urn:dt" xmlns:msxsl="urn:schemas-microsoft-com:xslt" dateofservice="1/1/2016 10:00" mmsid="201599999999" userid="dxxxxx9-xxx0-xxdb-xxx0-e8xxxxxxbcd" npid="dfxxxxx9-6xx0-xxxx-bxx0-exxxc1xxxxxd" surveyid="xxxxxxx-xxxa-exxx-8xxx-xxxx56xxxxefb" memberid="sqlsrfr">
<response qid="801" debug="7" value="H" element="select" />
<response qid="150" debug="8" value="Surfer" element="input" mapfield="lastname" />
<response qid="109" debug="9" value="Sequel" element="input" mapfield="firstname" />
<response qid="57" debug="11" value="01/01/1901" element="input" mapfield="dob" />
<response qid="56" debug="12" value="M" element="input" type="radio" aid="85" />
<response qid="78" debug="13" value="123 Sequel Lane" element="textarea" mapfield="addr1" />
<response qid="126" debug="39" value="Stuff" element="input" row="9" placeholder="Placeholder Desc" customtype="disabled" />
<response qid="128" debug="40" value="Stuff" element="input" row="9" placeholder="Placeholder Desc" customtype="disabled" />
<response qid="305" debug="41" value="More words" element="input" row="9" placeholder="Placeholder Desc" customtype="normal" />
<response qid="579" debug="330" value="1" element="input" type="radio" />
<response qid="580" debug="331" value="1" element="input" type="radio" />
<response qid="716" value="Words for value" calc="1" screening="1" />
<response qid="779" value="More words for value" calc="1" highriskdrug="1" />
- <surveyevents>
<event name="Event Name 2.0.3.7" time="1451495565657" count="1" />
<event name="s2" time="1451495568305" count="2" last="1451495728416" />
<event name="s3" time="1451495577298" count="1" />
<event name="s18" time="1451495601418" count="1" />
<event name="Event Name 2.0.3.7" time="1451495725279" count="1" />
<event name="Event Name 2.0.4.1" time="1453394485181" count="1" />
</surveyevents>
<recapturedata />
</xml>
Given, that you manage to read the XML into a variable, the full (de-normalized) query is this:
You will have to design three tables for MetaData, ResponseData and EventData and insert your data there.
If you need to create kind of IDs have a look on ROW_NUMBER() OVER()
btw: The declared namespaces are not used... and define the fitting datatypes yourself (I took only varchar(max) or int).
WITH XMLNAMESPACES('urn:dt' AS dt
,'urn:schemas-microsoft-com:xslt' AS msxsl)
,MetaData AS
(
SELECT #xml.value('/xml[1]/#dateofservice','varchar(max)') AS md_DateOfService
,#xml.value('/xml[1]/#mmsid','varchar(max)') AS md_MmsID
,#xml.value('/xml[1]/#userid','varchar(max)') AS md_UserID
,#xml.value('/xml[1]/#npid','varchar(max)') AS md_NpID
,#xml.value('/xml[1]/#surveyid','varchar(max)') AS md_SurveyID
,#xml.value('/xml[1]/#memberid','varchar(max)') AS md_MemberID
,#xml.query('.') AS XMLNode
)
SELECT md.md_DateOfService
,md.md_MmsID
,md.md_UserID
,md.md_NpID
,md.md_SurveyID
,md.md_MemberID
,response.value('#qid','int') AS resp_qID
,response.value('#debug','int') AS resp_Debug
,response.value('#value','varchar(max)') AS resp_Value
,response.value('#element','varchar(max)') AS resp_Element
,response.value('#row','int') AS resp_Row
,response.value('#mapfield','varchar(max)') AS resp_MapField
,response.value('#type','varchar(max)') AS resp_Type
,response.value('#aid','int') AS resp_aID
,response.value('#placeholder','varchar(max)') AS resp_Placeholder
,response.value('#customtype','varchar(max)') AS resp_CustomType
,EventRow.value('#name','varchar(max)') AS evnt_Name
,EventRow.value('#time','varchar(max)') AS evnt_Time
,EventRow.value('#count','int') AS evnt_Count
,EventRow.value('#last','varchar(max)') AS evnt_Last
FROM MetaData AS md
CROSS APPLY md.XMLNode.nodes('/xml/response') AS One(response)
CROSS APPLY md.XMLNode.nodes('/xml/surveyevents/event') AS The(EventRow)

How to remove xml nodes without attribute in Sql Server

What is the correct way to remove all child nodes of the root node with a missing attribute from an xml field in Sql Server 2008?
My Xml looks like this, I want to remove all the child nodes of <root> that don't have the ln attribute specified
<root>
<title />
<title />
<questionphrase ln="nl">
<xhtml />
</questionphrase>
<questionphrase ln="en">
<xhtml />
</questionphrase>
<information ln="nl">
<xhtml />
</information>
<information ln="en">
<xhtml />
</information>
<title />
<title ln="en">
value
</title>
<label ln="en">
value
</label>
<title />
<title />
</root>
After the delete the xml should look like this
<root>
<questionphrase ln="nl">
<xhtml />
</questionphrase>
<questionphrase ln="en">
<xhtml />
</questionphrase>
<information ln="nl">
<xhtml />
</information>
<information ln="en">
<xhtml />
</information>
<title ln="en">
value
</title>
<label ln="en">
value
</label>
</root>
Try this:
DECLARE #xml XML = '....'
SET #xml.modify('delete //root/*[not(#ln)]')
SQL FIDDLE DEMO