Tenant Server V1

<back to all web services

post_products_request

The following routes are available for this service:
All Verbs/post_products_request
post_products_request Parameters:
NameParameterData TypeRequiredDescription
tokenquerystringYes
tokensecretquerystringYes
emailquerystringYes
idtenant1queryintNo
listqueryList<productsRequest>No
productsRequest Parameters:
NameParameterData TypeRequiredDescription
idnumberformstringNo
idproducts_request1formintNo
idproductsformintNo
quantityformstringNo
quantity_deliverdformstringNo
nameformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/oneway/post_products_request HTTP/1.1 
Host: sdk.lovettcommercial.com 
Content-Type: application/xml
Content-Length: length

<post_products_request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TenantSDK.post.order">
  <email>String</email>
  <idtenant1>0</idtenant1>
  <list>
    <productsRequest>
      <idnumber>String</idnumber>
      <idproducts>0</idproducts>
      <idproducts_request1>0</idproducts_request1>
      <name>String</name>
      <quantity>String</quantity>
      <quantity_deliverd>String</quantity_deliverd>
    </productsRequest>
  </list>
  <token>String</token>
  <tokensecret>String</tokensecret>
</post_products_request>