POST api/Stores

Request Information

URI Parameters

None.

Body Parameters

Store
NameDescriptionTypeAdditional information
Id

integer

None.

StoreName

string

None.

Address

string

None.

City

string

None.

State

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "StoreName": "sample string 2",
  "Address": "sample string 3",
  "City": "sample string 4",
  "State": "sample string 5"
}

application/xml, text/xml

Sample:
<Store xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Web_API.Entities">
  <Address>sample string 3</Address>
  <City>sample string 4</City>
  <Id>1</Id>
  <State>sample string 5</State>
  <StoreName>sample string 2</StoreName>
</Store>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Store
NameDescriptionTypeAdditional information
Id

integer

None.

StoreName

string

None.

Address

string

None.

City

string

None.

State

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "StoreName": "sample string 2",
  "Address": "sample string 3",
  "City": "sample string 4",
  "State": "sample string 5"
}

application/xml, text/xml

Sample:
<Store xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Web_API.Entities">
  <Address>sample string 3</Address>
  <City>sample string 4</City>
  <Id>1</Id>
  <State>sample string 5</State>
  <StoreName>sample string 2</StoreName>
</Store>