POST api/GenericDataAccess
Request Information
URI Parameters
None.
Body Parameters
GenericDataContent| Name | Description | Type | Additional information |
|---|---|---|---|
| items | Collection of GenData |
None. |
Request Formats
application/json, text/json
Sample:
{
"items": [
{
"storename": "sample string 1",
"sku": "sample string 2",
"orderdate": "sample string 3",
"decrement": "sample string 4",
"increment": "sample string 5",
"description": [
{},
{}
],
"title": "sample string 6",
"orderid": 7,
"quantity": 8,
"paymentmethod": {},
"customername": "sample string 10",
"price": "sample string 11",
"size": "sample string 12",
"total_discount": "sample string 13"
},
{
"storename": "sample string 1",
"sku": "sample string 2",
"orderdate": "sample string 3",
"decrement": "sample string 4",
"increment": "sample string 5",
"description": [
{},
{}
],
"title": "sample string 6",
"orderid": 7,
"quantity": 8,
"paymentmethod": {},
"customername": "sample string 10",
"price": "sample string 11",
"size": "sample string 12",
"total_discount": "sample string 13"
}
]
}
application/xml, text/xml
Sample:
<GenericDataContent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KRSWebAPI.Models">
<items>
<GenData>
<customername>sample string 10</customername>
<decrement>sample string 4</decrement>
<description xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:anyType />
<d4p1:anyType />
</description>
<increment>sample string 5</increment>
<orderdate>sample string 3</orderdate>
<orderid>7</orderid>
<paymentmethod />
<price>sample string 11</price>
<quantity>8</quantity>
<size>sample string 12</size>
<sku>sample string 2</sku>
<storename>sample string 1</storename>
<title>sample string 6</title>
<total_discount>sample string 13</total_discount>
</GenData>
<GenData>
<customername>sample string 10</customername>
<decrement>sample string 4</decrement>
<description xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:anyType />
<d4p1:anyType />
</description>
<increment>sample string 5</increment>
<orderdate>sample string 3</orderdate>
<orderid>7</orderid>
<paymentmethod />
<price>sample string 11</price>
<quantity>8</quantity>
<size>sample string 12</size>
<sku>sample string 2</sku>
<storename>sample string 1</storename>
<title>sample string 6</title>
<total_discount>sample string 13</total_discount>
</GenData>
</items>
</GenericDataContent>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
stringResponse 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>