POST api/SheetExcelProductsLite/ModelProducts
Request Information
URI Parameters
None.
Body Parameters
DadosProductsImportLiteName | Description | Type | Additional information |
---|---|---|---|
TaxGroupsLite | Collection of GrupoTributarioLite |
None. |
|
SuppliesrLite | Collection of PersonSupplier |
None. |
|
BrandsLite | Collection of BrandsLite |
None. |
|
UnitOfMeasurementsLite | Collection of UnitOfMeasurement |
None. |
|
NCMsLite | Collection of NCMlite |
None. |
|
CESTsLite | Collection of CESTlite |
None. |
|
CFOPsLite | Collection of CFOPlite |
None. |
|
Fullproducts | Collection of ProdutoLite |
None. |
|
FileName | string |
None. |
|
Bytes | Collection of byte |
None. |
|
UserId | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "TaxGroupsLite": [ { "Name": "sample string 1", "Id": "sample string 2" }, { "Name": "sample string 1", "Id": "sample string 2" } ], "SuppliesrLite": [ { "CpfCnpj": "sample string 1", "Name": "sample string 2", "Id": "sample string 3" }, { "CpfCnpj": "sample string 1", "Name": "sample string 2", "Id": "sample string 3" } ], "BrandsLite": [ { "Id": "sample string 1", "Name": "sample string 2" }, { "Id": "sample string 1", "Name": "sample string 2" } ], "UnitOfMeasurementsLite": [ { "Id": "sample string 1" }, { "Id": "sample string 1" } ], "NCMsLite": [ { "Code": "sample string 1", "Description": "sample string 2" }, { "Code": "sample string 1", "Description": "sample string 2" } ], "CESTsLite": [ { "Description": "sample string 1", "Code": "sample string 2", "Ncms": [ { "Code": "sample string 1", "Description": "sample string 2" }, { "Code": "sample string 1", "Description": "sample string 2" } ] }, { "Description": "sample string 1", "Code": "sample string 2", "Ncms": [ { "Code": "sample string 1", "Description": "sample string 2" }, { "Code": "sample string 1", "Description": "sample string 2" } ] } ], "CFOPsLite": [ { "Code": "sample string 1", "Description": "sample string 2" }, { "Code": "sample string 1", "Description": "sample string 2" } ], "Fullproducts": [ { "Id": "sample string 1", "BarCode": "sample string 2", "TaxCodeBenefit": "sample string 3", "CEST": "sample string 4", "Code": "sample string 5", "CostPrice": 6.1, "CostPriceWithAdditions": 7.1, "MinPrice": 8.1, "Name": "sample string 9", "NCM": "sample string 10", "SellingPrice": 11.1, "UnitOfMeasurement": "sample string 12", "UnitOfMeasurementID": "sample string 13", "TaxGroupId": "sample string 14", "TaxGroupName": "sample string 15", "CFOPCode": "sample string 16", "ProductOrigin": "sample string 17", "SellerCommissionValue": 18.1, "SellerCommissionPercentage": 19.1, "Stock": 20.1, "StockAlert": 21.1, "IgnoreStockAlert": true, "Description": "sample string 23", "Weigth": 24.1, "Type": "sample string 25", "Genre": "sample string 26", "CategoryId": "sample string 27", "Brand": "sample string 28", "BrandId": "sample string 29", "Supplier": [ { "Id": "sample string 1", "Name": "sample string 2", "Code": "sample string 3" }, { "Id": "sample string 1", "Name": "sample string 2", "Code": "sample string 3" } ], "StandardSupplier": "sample string 30", "StandardSupplierId": "sample string 31", "StandardSupplierCode": "sample string 32", "TypeFixedPrice": 0, "ProfitMoney": 33.1, "ProfitPercent": 34.1, "HasFuelInfo": true, "AnpCode": "sample string 36", "AnpDescription": "sample string 37", "GlpRate": 38.0, "GlpNationalRate": 39.0, "GlpInternationalRate": 40.0, "GlpStartingValue": 41.0 }, { "Id": "sample string 1", "BarCode": "sample string 2", "TaxCodeBenefit": "sample string 3", "CEST": "sample string 4", "Code": "sample string 5", "CostPrice": 6.1, "CostPriceWithAdditions": 7.1, "MinPrice": 8.1, "Name": "sample string 9", "NCM": "sample string 10", "SellingPrice": 11.1, "UnitOfMeasurement": "sample string 12", "UnitOfMeasurementID": "sample string 13", "TaxGroupId": "sample string 14", "TaxGroupName": "sample string 15", "CFOPCode": "sample string 16", "ProductOrigin": "sample string 17", "SellerCommissionValue": 18.1, "SellerCommissionPercentage": 19.1, "Stock": 20.1, "StockAlert": 21.1, "IgnoreStockAlert": true, "Description": "sample string 23", "Weigth": 24.1, "Type": "sample string 25", "Genre": "sample string 26", "CategoryId": "sample string 27", "Brand": "sample string 28", "BrandId": "sample string 29", "Supplier": [ { "Id": "sample string 1", "Name": "sample string 2", "Code": "sample string 3" }, { "Id": "sample string 1", "Name": "sample string 2", "Code": "sample string 3" } ], "StandardSupplier": "sample string 30", "StandardSupplierId": "sample string 31", "StandardSupplierCode": "sample string 32", "TypeFixedPrice": 0, "ProfitMoney": 33.1, "ProfitPercent": 34.1, "HasFuelInfo": true, "AnpCode": "sample string 36", "AnpDescription": "sample string 37", "GlpRate": 38.0, "GlpNationalRate": 39.0, "GlpInternationalRate": 40.0, "GlpStartingValue": 41.0 } ], "FileName": "sample string 1", "Bytes": "QEA=", "UserId": "sample string 2" }
text/xml
Sample:
<DadosProductsImportLite xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BorlanV2.DTO"> <BrandsLite> <BrandsLite> <Id>sample string 1</Id> <Name>sample string 2</Name> </BrandsLite> <BrandsLite> <Id>sample string 1</Id> <Name>sample string 2</Name> </BrandsLite> </BrandsLite> <Bytes>QEA=</Bytes> <CESTsLite> <CESTlite> <Code>sample string 2</Code> <Description>sample string 1</Description> <Ncms> <NCMlite> <Code>sample string 1</Code> <Description>sample string 2</Description> </NCMlite> <NCMlite> <Code>sample string 1</Code> <Description>sample string 2</Description> </NCMlite> </Ncms> </CESTlite> <CESTlite> <Code>sample string 2</Code> <Description>sample string 1</Description> <Ncms> <NCMlite> <Code>sample string 1</Code> <Description>sample string 2</Description> </NCMlite> <NCMlite> <Code>sample string 1</Code> <Description>sample string 2</Description> </NCMlite> </Ncms> </CESTlite> </CESTsLite> <CFOPsLite> <CFOPlite> <Code>sample string 1</Code> <Description>sample string 2</Description> </CFOPlite> <CFOPlite> <Code>sample string 1</Code> <Description>sample string 2</Description> </CFOPlite> </CFOPsLite> <FileName>sample string 1</FileName> <Fullproducts> <ProdutoLite> <AnpCode>sample string 36</AnpCode> <AnpDescription>sample string 37</AnpDescription> <BarCode>sample string 2</BarCode> <Brand>sample string 28</Brand> <BrandId>sample string 29</BrandId> <CEST>sample string 4</CEST> <CFOPCode>sample string 16</CFOPCode> <CategoryId>sample string 27</CategoryId> <Code>sample string 5</Code> <CostPrice>6.1</CostPrice> <CostPriceWithAdditions>7.1</CostPriceWithAdditions> <Description>sample string 23</Description> <Genre>sample string 26</Genre> <GlpInternationalRate>40</GlpInternationalRate> <GlpNationalRate>39</GlpNationalRate> <GlpRate>38</GlpRate> <GlpStartingValue>41</GlpStartingValue> <HasFuelInfo>true</HasFuelInfo> <Id>sample string 1</Id> <IgnoreStockAlert>true</IgnoreStockAlert> <MinPrice>8.1</MinPrice> <NCM>sample string 10</NCM> <Name>sample string 9</Name> <ProductOrigin>sample string 17</ProductOrigin> <ProfitMoney>33.1</ProfitMoney> <ProfitPercent>34.1</ProfitPercent> <SellerCommissionPercentage>19.1</SellerCommissionPercentage> <SellerCommissionValue>18.1</SellerCommissionValue> <SellingPrice>11.1</SellingPrice> <StandardSupplier>sample string 30</StandardSupplier> <StandardSupplierCode>sample string 32</StandardSupplierCode> <StandardSupplierId>sample string 31</StandardSupplierId> <Stock>20.1</Stock> <StockAlert>21.1</StockAlert> <Supplier> <ProdutoLite.SupplierValue> <Code>sample string 3</Code> <Id>sample string 1</Id> <Name>sample string 2</Name> </ProdutoLite.SupplierValue> <ProdutoLite.SupplierValue> <Code>sample string 3</Code> <Id>sample string 1</Id> <Name>sample string 2</Name> </ProdutoLite.SupplierValue> </Supplier> <TaxCodeBenefit>sample string 3</TaxCodeBenefit> <TaxGroupId>sample string 14</TaxGroupId> <TaxGroupName>sample string 15</TaxGroupName> <Type>sample string 25</Type> <TypeFixedPrice>Antigo</TypeFixedPrice> <UnitOfMeasurement>sample string 12</UnitOfMeasurement> <UnitOfMeasurementID>sample string 13</UnitOfMeasurementID> <Weigth>24.1</Weigth> </ProdutoLite> <ProdutoLite> <AnpCode>sample string 36</AnpCode> <AnpDescription>sample string 37</AnpDescription> <BarCode>sample string 2</BarCode> <Brand>sample string 28</Brand> <BrandId>sample string 29</BrandId> <CEST>sample string 4</CEST> <CFOPCode>sample string 16</CFOPCode> <CategoryId>sample string 27</CategoryId> <Code>sample string 5</Code> <CostPrice>6.1</CostPrice> <CostPriceWithAdditions>7.1</CostPriceWithAdditions> <Description>sample string 23</Description> <Genre>sample string 26</Genre> <GlpInternationalRate>40</GlpInternationalRate> <GlpNationalRate>39</GlpNationalRate> <GlpRate>38</GlpRate> <GlpStartingValue>41</GlpStartingValue> <HasFuelInfo>true</HasFuelInfo> <Id>sample string 1</Id> <IgnoreStockAlert>true</IgnoreStockAlert> <MinPrice>8.1</MinPrice> <NCM>sample string 10</NCM> <Name>sample string 9</Name> <ProductOrigin>sample string 17</ProductOrigin> <ProfitMoney>33.1</ProfitMoney> <ProfitPercent>34.1</ProfitPercent> <SellerCommissionPercentage>19.1</SellerCommissionPercentage> <SellerCommissionValue>18.1</SellerCommissionValue> <SellingPrice>11.1</SellingPrice> <StandardSupplier>sample string 30</StandardSupplier> <StandardSupplierCode>sample string 32</StandardSupplierCode> <StandardSupplierId>sample string 31</StandardSupplierId> <Stock>20.1</Stock> <StockAlert>21.1</StockAlert> <Supplier> <ProdutoLite.SupplierValue> <Code>sample string 3</Code> <Id>sample string 1</Id> <Name>sample string 2</Name> </ProdutoLite.SupplierValue> <ProdutoLite.SupplierValue> <Code>sample string 3</Code> <Id>sample string 1</Id> <Name>sample string 2</Name> </ProdutoLite.SupplierValue> </Supplier> <TaxCodeBenefit>sample string 3</TaxCodeBenefit> <TaxGroupId>sample string 14</TaxGroupId> <TaxGroupName>sample string 15</TaxGroupName> <Type>sample string 25</Type> <TypeFixedPrice>Antigo</TypeFixedPrice> <UnitOfMeasurement>sample string 12</UnitOfMeasurement> <UnitOfMeasurementID>sample string 13</UnitOfMeasurementID> <Weigth>24.1</Weigth> </ProdutoLite> </Fullproducts> <NCMsLite> <NCMlite> <Code>sample string 1</Code> <Description>sample string 2</Description> </NCMlite> <NCMlite> <Code>sample string 1</Code> <Description>sample string 2</Description> </NCMlite> </NCMsLite> <SuppliesrLite> <PersonSupplier> <CpfCnpj>sample string 1</CpfCnpj> <Id>sample string 3</Id> <Name>sample string 2</Name> </PersonSupplier> <PersonSupplier> <CpfCnpj>sample string 1</CpfCnpj> <Id>sample string 3</Id> <Name>sample string 2</Name> </PersonSupplier> </SuppliesrLite> <TaxGroupsLite> <GrupoTributarioLite> <Id>sample string 2</Id> <Name>sample string 1</Name> </GrupoTributarioLite> <GrupoTributarioLite> <Id>sample string 2</Id> <Name>sample string 1</Name> </GrupoTributarioLite> </TaxGroupsLite> <UnitOfMeasurementsLite> <UnitOfMeasurement> <Id>sample string 1</Id> </UnitOfMeasurement> <UnitOfMeasurement> <Id>sample string 1</Id> </UnitOfMeasurement> </UnitOfMeasurementsLite> <UserId>sample string 2</UserId> </DadosProductsImportLite>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |