POST api/v1/StoreList

Request Information

URI Parameters

None.

Body Parameters

StoreCountInput
NameDescriptionTypeAdditional information
CompID

integer

None.

LocCode

string

None.

LocID

integer

None.

LocTypeID

integer

None.

LocGroupID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CompID": 1,
  "LocCode": "sample string 2",
  "LocID": 3,
  "LocTypeID": 4,
  "LocGroupID": 5
}

application/xml, text/xml

Sample:
<StoreCountInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <CompID>1</CompID>
  <LocCode>sample string 2</LocCode>
  <LocGroupID>5</LocGroupID>
  <LocID>3</LocID>
  <LocTypeID>4</LocTypeID>
</StoreCountInput>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'StoreCountInput'.

Response Information

Resource Description

Collection of StoreListModel
NameDescriptionTypeAdditional information
StoreID

integer

None.

StoreName

string

None.

StoreAddress

string

None.

StoreState

string

None.

CompName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "StoreID": 1,
    "StoreName": "sample string 2",
    "StoreAddress": "sample string 3",
    "StoreState": "sample string 4",
    "CompName": "sample string 5"
  },
  {
    "StoreID": 1,
    "StoreName": "sample string 2",
    "StoreAddress": "sample string 3",
    "StoreState": "sample string 4",
    "CompName": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfStoreListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <StoreListModel>
    <CompName>sample string 5</CompName>
    <StoreAddress>sample string 3</StoreAddress>
    <StoreID>1</StoreID>
    <StoreName>sample string 2</StoreName>
    <StoreState>sample string 4</StoreState>
  </StoreListModel>
  <StoreListModel>
    <CompName>sample string 5</CompName>
    <StoreAddress>sample string 3</StoreAddress>
    <StoreID>1</StoreID>
    <StoreName>sample string 2</StoreName>
    <StoreState>sample string 4</StoreState>
  </StoreListModel>
</ArrayOfStoreListModel>