POST api/v1/CounterList

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 CounterListModel
NameDescriptionTypeAdditional information
CounterID

integer

None.

CounterName

string

None.

CounterAddress

string

None.

CounterState

string

None.

DineOrDel

boolean

None.

RedeemLoc

string

None.

CompName

string

None.

CurrDate

date

None.

GSTIN

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CounterID": 1,
    "CounterName": "sample string 2",
    "CounterAddress": "sample string 3",
    "CounterState": "sample string 4",
    "DineOrDel": true,
    "RedeemLoc": "sample string 6",
    "CompName": "sample string 7",
    "CurrDate": "2025-12-15T01:07:23.2979744+05:30",
    "GSTIN": "sample string 8"
  },
  {
    "CounterID": 1,
    "CounterName": "sample string 2",
    "CounterAddress": "sample string 3",
    "CounterState": "sample string 4",
    "DineOrDel": true,
    "RedeemLoc": "sample string 6",
    "CompName": "sample string 7",
    "CurrDate": "2025-12-15T01:07:23.2979744+05:30",
    "GSTIN": "sample string 8"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCounterListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <CounterListModel>
    <CompName>sample string 7</CompName>
    <CounterAddress>sample string 3</CounterAddress>
    <CounterID>1</CounterID>
    <CounterName>sample string 2</CounterName>
    <CounterState>sample string 4</CounterState>
    <CurrDate>2025-12-15T01:07:23.2979744+05:30</CurrDate>
    <DineOrDel>true</DineOrDel>
    <GSTIN>sample string 8</GSTIN>
    <RedeemLoc>sample string 6</RedeemLoc>
  </CounterListModel>
  <CounterListModel>
    <CompName>sample string 7</CompName>
    <CounterAddress>sample string 3</CounterAddress>
    <CounterID>1</CounterID>
    <CounterName>sample string 2</CounterName>
    <CounterState>sample string 4</CounterState>
    <CurrDate>2025-12-15T01:07:23.2979744+05:30</CurrDate>
    <DineOrDel>true</DineOrDel>
    <GSTIN>sample string 8</GSTIN>
    <RedeemLoc>sample string 6</RedeemLoc>
  </CounterListModel>
</ArrayOfCounterListModel>