POST api/Agency/ImportAgencyPricingItems

Request Information

URI Parameters

None.

Body Parameters

Collection of AgencyItems
NameDescriptionTypeAdditional information
ItemNumber

string

None.

Vendor

string

None.

Terms

string

None.

EffectiveDate

date

None.

PriceBase

decimal number

None.

MinQty

integer

None.

MinQtyUOFM

string

None.

PackagingInfo

string

None.

Source

string

None.

Notes

string

None.

POCost

decimal number

None.

ImportedBy

string

None.

ImportedDate

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ItemNumber": "sample string 1",
    "Vendor": "sample string 2",
    "Terms": "sample string 3",
    "EffectiveDate": "2026-11-21T05:35:42.486569+00:00",
    "PriceBase": 5.0,
    "MinQty": 6,
    "MinQtyUOFM": "sample string 7",
    "PackagingInfo": "sample string 8",
    "Source": "sample string 9",
    "Notes": "sample string 10",
    "POCost": 1.0,
    "ImportedBy": "sample string 11",
    "ImportedDate": "2026-11-21T05:35:42.486569+00:00"
  },
  {
    "ItemNumber": "sample string 1",
    "Vendor": "sample string 2",
    "Terms": "sample string 3",
    "EffectiveDate": "2026-11-21T05:35:42.486569+00:00",
    "PriceBase": 5.0,
    "MinQty": 6,
    "MinQtyUOFM": "sample string 7",
    "PackagingInfo": "sample string 8",
    "Source": "sample string 9",
    "Notes": "sample string 10",
    "POCost": 1.0,
    "ImportedBy": "sample string 11",
    "ImportedDate": "2026-11-21T05:35:42.486569+00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAgencyModels.AgencyItems xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HarAccountingAPI.Models">
  <AgencyModels.AgencyItems>
    <EffectiveDate>2026-11-21T05:35:42.486569+00:00</EffectiveDate>
    <ImportedBy>sample string 11</ImportedBy>
    <ImportedDate>2026-11-21T05:35:42.486569+00:00</ImportedDate>
    <ItemNumber>sample string 1</ItemNumber>
    <MinQty>6</MinQty>
    <MinQtyUOFM>sample string 7</MinQtyUOFM>
    <Notes>sample string 10</Notes>
    <POCost>1</POCost>
    <PackagingInfo>sample string 8</PackagingInfo>
    <PriceBase>5</PriceBase>
    <Source>sample string 9</Source>
    <Terms>sample string 3</Terms>
    <Vendor>sample string 2</Vendor>
  </AgencyModels.AgencyItems>
  <AgencyModels.AgencyItems>
    <EffectiveDate>2026-11-21T05:35:42.486569+00:00</EffectiveDate>
    <ImportedBy>sample string 11</ImportedBy>
    <ImportedDate>2026-11-21T05:35:42.486569+00:00</ImportedDate>
    <ItemNumber>sample string 1</ItemNumber>
    <MinQty>6</MinQty>
    <MinQtyUOFM>sample string 7</MinQtyUOFM>
    <Notes>sample string 10</Notes>
    <POCost>1</POCost>
    <PackagingInfo>sample string 8</PackagingInfo>
    <PriceBase>5</PriceBase>
    <Source>sample string 9</Source>
    <Terms>sample string 3</Terms>
    <Vendor>sample string 2</Vendor>
  </AgencyModels.AgencyItems>
</ArrayOfAgencyModels.AgencyItems>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>