Guest User

SEO Tools for Excel POST connector

a guest
Sep 13th, 2018
398
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <Suite Title="Baxter" Id="Baxter" Category="Private" RequireVersion="7.0.0" SourceUrl="" HelpUrl="" HelpText="Documentation">
  3.  
  4.   <Author Name="Victor Sandberg" Url="http://community.seotoolsforexcel.com/users/diskborste/activity" />
  5.  
  6.   <RestConnector Id="Baxter" Title="Baxter" HelpUrl="" HelpText="">
  7.     <Parameters>
  8.       <Number Id="Id" Title="Id" DefaultValue="4244" Min="1" Required="true"/>
  9.       <Number Id="ProductId" Title="Product Id" DefaultValue="45784" Min="1" Required="true"/>
  10.     </Parameters>
  11.     <Fetch>
  12.       <HttpSettings>
  13.         <RequestMethod>POST</RequestMethod>
  14.                 <RequestContentType>application/x-www-form-urlencoded</RequestContentType>
  15.         <RequestBody>
  16.                     <![CDATA[
  17.                         ids[]=@(Model.Id)
  18.                         &product_id=@(Model.ProductId)
  19.                     ]]>
  20.         </RequestBody>
  21.       </HttpSettings>
  22.       <Fetch.Url>
  23.         <![CDATA[
  24.                     https://[INSERT YOUR ENDPOINT DOMAIN HERE]/index.php?route=module/openstock/variant
  25.        ]]>
  26.       </Fetch.Url>
  27.     </Fetch>
  28.     <Parse>
  29.             <JsonPath Expr="data">
  30.                 <JsonPath Expr="product_option_variant_id" Id="product_option_variant_id" Title="product_option_variant_id" Converter="String" DefaultValue="" HelpText=""/>
  31.                 <JsonPath Expr="sku" Id="sku" Title="sku" Converter="String" HelpText=""/>
  32.                 <JsonPath Expr="stock" Id="stock" Title="stock" Converter="Double" HelpText=""/>
  33.                 <JsonPath Expr="active" Id="active" Title="active" Converter="Double" DefaultValue="" HelpText=""/>
  34.                 <JsonPath Expr="subtract" Id="subtract" Title="subtract" Converter="Double" HelpText=""/>
  35.         <JsonPath Expr="price" Id="price" Title="price" Converter="String" HelpText=""/>
  36.         <JsonPath Expr="image" Id="image" Title="image" Converter="String" HelpText=""/>
  37.         <JsonPath Expr="weight" Id="weight" Title="weight" Converter="String" HelpText=""/>
  38.         <JsonPath Expr="pop" Id="pop" Title="pop" Converter="String" HelpText=""/>
  39.         <JsonPath Expr="nostock" Id="nostock" Title="nostock" Converter="String" HelpText=""/>
  40.             </JsonPath>
  41.     </Parse>
  42.   </RestConnector>
  43.  
  44. </Suite>
RAW Paste Data