POST api/updateMassiveProducts

Request Information

URI Parameters

None.

Body Parameters

Collection of ProductExcel
NameDescriptionTypeAdditional information
id

integer

None.

Code

string

None.

Name

string

None.

Description

string

None.

Category

string

None.

Img1

string

None.

Img2

string

None.

Img3

string

None.

Img4

string

None.

Img5

string

None.

Available

boolean

None.

switch3

boolean

None.

Img1Switch

boolean

None.

Img2Switch

boolean

None.

Img3Switch

boolean

None.

Img4Switch

boolean

None.

Img5Switch

boolean

None.

Price

decimal number

None.

Stock

integer

None.

loc1

boolean

None.

loc2

boolean

None.

loc3

boolean

None.

codeloc1

string

None.

codeloc2

string

None.

codeloc3

string

None.

priceloc1

decimal number

None.

priceloc2

decimal number

None.

priceloc3

decimal number

None.

stockloc1

integer

None.

stockloc2

integer

None.

stockloc3

integer

None.

parameter1

string

None.

parameter2

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "Code": "sample string 2",
    "Name": "sample string 3",
    "Description": "sample string 4",
    "Category": "sample string 5",
    "Img1": "sample string 6",
    "Img2": "sample string 7",
    "Img3": "sample string 8",
    "Img4": "sample string 9",
    "Img5": "sample string 10",
    "Available": true,
    "switch3": true,
    "Img1Switch": true,
    "Img2Switch": true,
    "Img3Switch": true,
    "Img4Switch": true,
    "Img5Switch": true,
    "Price": 1.1,
    "Stock": 11,
    "loc1": true,
    "loc2": true,
    "loc3": true,
    "codeloc1": "sample string 15",
    "codeloc2": "sample string 16",
    "codeloc3": "sample string 17",
    "priceloc1": 18.1,
    "priceloc2": 19.1,
    "priceloc3": 20.1,
    "stockloc1": 21,
    "stockloc2": 22,
    "stockloc3": 23,
    "parameter1": "sample string 24",
    "parameter2": "sample string 25"
  },
  {
    "id": 1,
    "Code": "sample string 2",
    "Name": "sample string 3",
    "Description": "sample string 4",
    "Category": "sample string 5",
    "Img1": "sample string 6",
    "Img2": "sample string 7",
    "Img3": "sample string 8",
    "Img4": "sample string 9",
    "Img5": "sample string 10",
    "Available": true,
    "switch3": true,
    "Img1Switch": true,
    "Img2Switch": true,
    "Img3Switch": true,
    "Img4Switch": true,
    "Img5Switch": true,
    "Price": 1.1,
    "Stock": 11,
    "loc1": true,
    "loc2": true,
    "loc3": true,
    "codeloc1": "sample string 15",
    "codeloc2": "sample string 16",
    "codeloc3": "sample string 17",
    "priceloc1": 18.1,
    "priceloc2": 19.1,
    "priceloc3": 20.1,
    "stockloc1": 21,
    "stockloc2": 22,
    "stockloc3": 23,
    "parameter1": "sample string 24",
    "parameter2": "sample string 25"
  }
]

application/xml, text/xml

Sample:
<ArrayOfProductExcel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_Carniceria.Models">
  <ProductExcel>
    <Available>true</Available>
    <Category>sample string 5</Category>
    <Code>sample string 2</Code>
    <Description>sample string 4</Description>
    <Img1>sample string 6</Img1>
    <Img1Switch>true</Img1Switch>
    <Img2>sample string 7</Img2>
    <Img2Switch>true</Img2Switch>
    <Img3>sample string 8</Img3>
    <Img3Switch>true</Img3Switch>
    <Img4>sample string 9</Img4>
    <Img4Switch>true</Img4Switch>
    <Img5>sample string 10</Img5>
    <Img5Switch>true</Img5Switch>
    <Name>sample string 3</Name>
    <Price>1.1</Price>
    <Stock>11</Stock>
    <codeloc1>sample string 15</codeloc1>
    <codeloc2>sample string 16</codeloc2>
    <codeloc3>sample string 17</codeloc3>
    <id>1</id>
    <loc1>true</loc1>
    <loc2>true</loc2>
    <loc3>true</loc3>
    <parameter1>sample string 24</parameter1>
    <parameter2>sample string 25</parameter2>
    <priceloc1>18.1</priceloc1>
    <priceloc2>19.1</priceloc2>
    <priceloc3>20.1</priceloc3>
    <stockloc1>21</stockloc1>
    <stockloc2>22</stockloc2>
    <stockloc3>23</stockloc3>
    <switch3>true</switch3>
  </ProductExcel>
  <ProductExcel>
    <Available>true</Available>
    <Category>sample string 5</Category>
    <Code>sample string 2</Code>
    <Description>sample string 4</Description>
    <Img1>sample string 6</Img1>
    <Img1Switch>true</Img1Switch>
    <Img2>sample string 7</Img2>
    <Img2Switch>true</Img2Switch>
    <Img3>sample string 8</Img3>
    <Img3Switch>true</Img3Switch>
    <Img4>sample string 9</Img4>
    <Img4Switch>true</Img4Switch>
    <Img5>sample string 10</Img5>
    <Img5Switch>true</Img5Switch>
    <Name>sample string 3</Name>
    <Price>1.1</Price>
    <Stock>11</Stock>
    <codeloc1>sample string 15</codeloc1>
    <codeloc2>sample string 16</codeloc2>
    <codeloc3>sample string 17</codeloc3>
    <id>1</id>
    <loc1>true</loc1>
    <loc2>true</loc2>
    <loc3>true</loc3>
    <parameter1>sample string 24</parameter1>
    <parameter2>sample string 25</parameter2>
    <priceloc1>18.1</priceloc1>
    <priceloc2>19.1</priceloc2>
    <priceloc3>20.1</priceloc3>
    <stockloc1>21</stockloc1>
    <stockloc2>22</stockloc2>
    <stockloc3>23</stockloc3>
    <switch3>true</switch3>
  </ProductExcel>
</ArrayOfProductExcel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>