POST api/create_updateProduct

Request Information

URI Parameters

None.

Body Parameters

Products
NameDescriptionTypeAdditional information
products

Collection of Product

None.

Request Formats

application/json, text/json

Sample:
{
  "products": [
    {
      "reference": "sample string 1",
      "designation": "sample string 2",
      "stock": 3.0,
      "unitCode": "sample string 4",
      "family": "sample string 5",
      "category": 6,
      "quantity": 7.1,
      "unitPrice1": 8.0,
      "taxIncluded1": true,
      "unitPrice2": 10.0,
      "taxIncluded2": true,
      "unitPrice3": 12.0,
      "taxIncluded3": true,
      "unitPrice4": 14.0,
      "taxIncluded4": true,
      "unitPrice5": 16.0,
      "taxIncluded5": true,
      "isService": true,
      "taxExemptionCode": "sample string 19",
      "taxPercentage": 20.0,
      "taxRegion": "sample string 21",
      "barcode": "sample string 22",
      "observations": "sample string 23",
      "tecDescription": "sample string 24",
      "agreedPrice": 25.0,
      "agreedPriceIvaIncl": true
    },
    {
      "reference": "sample string 1",
      "designation": "sample string 2",
      "stock": 3.0,
      "unitCode": "sample string 4",
      "family": "sample string 5",
      "category": 6,
      "quantity": 7.1,
      "unitPrice1": 8.0,
      "taxIncluded1": true,
      "unitPrice2": 10.0,
      "taxIncluded2": true,
      "unitPrice3": 12.0,
      "taxIncluded3": true,
      "unitPrice4": 14.0,
      "taxIncluded4": true,
      "unitPrice5": 16.0,
      "taxIncluded5": true,
      "isService": true,
      "taxExemptionCode": "sample string 19",
      "taxPercentage": 20.0,
      "taxRegion": "sample string 21",
      "barcode": "sample string 22",
      "observations": "sample string 23",
      "tecDescription": "sample string 24",
      "agreedPrice": 25.0,
      "agreedPriceIvaIncl": true
    }
  ]
}

application/xml, text/xml

Sample:
<Products xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BoostingApi.Models">
  <products>
    <Product>
      <agreedPrice>25</agreedPrice>
      <agreedPriceIvaIncl>true</agreedPriceIvaIncl>
      <barcode>sample string 22</barcode>
      <category>6</category>
      <designation>sample string 2</designation>
      <family>sample string 5</family>
      <isService>true</isService>
      <observations>sample string 23</observations>
      <quantity>7.1</quantity>
      <reference>sample string 1</reference>
      <stock>3</stock>
      <taxExemptionCode>sample string 19</taxExemptionCode>
      <taxIncluded1>true</taxIncluded1>
      <taxIncluded2>true</taxIncluded2>
      <taxIncluded3>true</taxIncluded3>
      <taxIncluded4>true</taxIncluded4>
      <taxIncluded5>true</taxIncluded5>
      <taxPercentage>20</taxPercentage>
      <taxRegion>sample string 21</taxRegion>
      <tecDescription>sample string 24</tecDescription>
      <unitCode>sample string 4</unitCode>
      <unitPrice1>8</unitPrice1>
      <unitPrice2>10</unitPrice2>
      <unitPrice3>12</unitPrice3>
      <unitPrice4>14</unitPrice4>
      <unitPrice5>16</unitPrice5>
    </Product>
    <Product>
      <agreedPrice>25</agreedPrice>
      <agreedPriceIvaIncl>true</agreedPriceIvaIncl>
      <barcode>sample string 22</barcode>
      <category>6</category>
      <designation>sample string 2</designation>
      <family>sample string 5</family>
      <isService>true</isService>
      <observations>sample string 23</observations>
      <quantity>7.1</quantity>
      <reference>sample string 1</reference>
      <stock>3</stock>
      <taxExemptionCode>sample string 19</taxExemptionCode>
      <taxIncluded1>true</taxIncluded1>
      <taxIncluded2>true</taxIncluded2>
      <taxIncluded3>true</taxIncluded3>
      <taxIncluded4>true</taxIncluded4>
      <taxIncluded5>true</taxIncluded5>
      <taxPercentage>20</taxPercentage>
      <taxRegion>sample string 21</taxRegion>
      <tecDescription>sample string 24</tecDescription>
      <unitCode>sample string 4</unitCode>
      <unitPrice1>8</unitPrice1>
      <unitPrice2>10</unitPrice2>
      <unitPrice3>12</unitPrice3>
      <unitPrice4>14</unitPrice4>
      <unitPrice5>16</unitPrice5>
    </Product>
  </products>
</Products>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.