POST api/pricelist/getType

Request Information

URI Parameters

None.

Body Parameters

TypeParameters
NameDescriptionTypeAdditional information
locncode

string

None.

vendor

Collection of string

None.

itmclscd

Collection of string

None.

searchstring

string

None.

stock

boolean

None.

nonstock

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "locncode": "sample string 1",
  "vendor": [
    "sample string 1",
    "sample string 2"
  ],
  "itmclscd": [
    "sample string 1",
    "sample string 2"
  ],
  "searchstring": "sample string 2",
  "stock": true,
  "nonstock": true
}

application/xml, text/xml

Sample:
<TypeParameters xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoHarrellsAPI.Models.GoHarrellsAPI.Models">
  <itmclscd xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </itmclscd>
  <locncode>sample string 1</locncode>
  <nonstock>true</nonstock>
  <searchstring>sample string 2</searchstring>
  <stock>true</stock>
  <vendor xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </vendor>
</TypeParameters>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of NameValue
NameDescriptionTypeAdditional information
Name

string

None.

Value

string

None.

PORequired

boolean

None.

Partnership

string

None.

LOCNCODE

string

None.

MTDCost

decimal number

None.

YTDCost

decimal number

None.

MTDSales

decimal number

None.

YTDSales

decimal number

None.

DownLoadDate

date

None.

LastGoPWAUpdate

date

None.

MonthName

string

None.

Row_Id

integer

None.

DefaultRec

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Name": "sample string 1",
    "Value": "sample string 2",
    "PORequired": true,
    "Partnership": "sample string 4",
    "LOCNCODE": "sample string 5",
    "MTDCost": 6.1,
    "YTDCost": 7.1,
    "MTDSales": 8.1,
    "YTDSales": 9.1,
    "DownLoadDate": "2026-11-21T14:52:52.373844+00:00",
    "LastGoPWAUpdate": "2026-11-21T14:52:52.373844+00:00",
    "MonthName": "sample string 12",
    "Row_Id": 13,
    "DefaultRec": true
  },
  {
    "Name": "sample string 1",
    "Value": "sample string 2",
    "PORequired": true,
    "Partnership": "sample string 4",
    "LOCNCODE": "sample string 5",
    "MTDCost": 6.1,
    "YTDCost": 7.1,
    "MTDSales": 8.1,
    "YTDSales": 9.1,
    "DownLoadDate": "2026-11-21T14:52:52.373844+00:00",
    "LastGoPWAUpdate": "2026-11-21T14:52:52.373844+00:00",
    "MonthName": "sample string 12",
    "Row_Id": 13,
    "DefaultRec": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfNameValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoHarrellsAPI.Models">
  <NameValue>
    <DefaultRec>true</DefaultRec>
    <DownLoadDate>2026-11-21T14:52:52.373844+00:00</DownLoadDate>
    <LOCNCODE>sample string 5</LOCNCODE>
    <LastGoPWAUpdate>2026-11-21T14:52:52.373844+00:00</LastGoPWAUpdate>
    <MTDCost>6.1</MTDCost>
    <MTDSales>8.1</MTDSales>
    <MonthName>sample string 12</MonthName>
    <Name>sample string 1</Name>
    <PORequired>true</PORequired>
    <Partnership>sample string 4</Partnership>
    <Row_Id>13</Row_Id>
    <Value>sample string 2</Value>
    <YTDCost>7.1</YTDCost>
    <YTDSales>9.1</YTDSales>
  </NameValue>
  <NameValue>
    <DefaultRec>true</DefaultRec>
    <DownLoadDate>2026-11-21T14:52:52.373844+00:00</DownLoadDate>
    <LOCNCODE>sample string 5</LOCNCODE>
    <LastGoPWAUpdate>2026-11-21T14:52:52.373844+00:00</LastGoPWAUpdate>
    <MTDCost>6.1</MTDCost>
    <MTDSales>8.1</MTDSales>
    <MonthName>sample string 12</MonthName>
    <Name>sample string 1</Name>
    <PORequired>true</PORequired>
    <Partnership>sample string 4</Partnership>
    <Row_Id>13</Row_Id>
    <Value>sample string 2</Value>
    <YTDCost>7.1</YTDCost>
    <YTDSales>9.1</YTDSales>
  </NameValue>
</ArrayOfNameValue>