POST api/ERPDataUpdate/AddItemPrices

Request Information

URI Parameters

None.

Body Parameters

Collection of ItemPrices
NameDescriptionTypeAdditional information
EmployeeCode

string

None.

PriceCode

string

None.

PriceEffectDate

date

None.

Source

string

None.

Status

integer

None.

LocationName

string

None.

CustomerCode

string

None.

PricePriority

integer

None.

PriceType

string

None.

CustomerChannel

string

None.

ValidFrom

date

None.

ValidTo

date

None.

LocationType

integer

None.

ScaleQuantity

integer

None.

DiscountPercentage

integer

None.

Date

date

None.

IsInvalid

boolean

None.

IsCustomerTypeValid

boolean

None.

BusinessType

string

None.

BusinessCode

string

None.

SKUCode

string

None.

UOM

string

None.

Price

decimal number

None.

CustomerType

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "EmployeeCode": "sample string 1",
    "PriceCode": "sample string 2",
    "PriceEffectDate": "2025-06-22T12:01:58.4970166+00:00",
    "Source": "sample string 3",
    "Status": 4,
    "LocationName": "sample string 5",
    "CustomerCode": "sample string 6",
    "PricePriority": 7,
    "PriceType": "sample string 8",
    "CustomerChannel": "sample string 9",
    "ValidFrom": "2025-06-22T12:01:58.4970166+00:00",
    "ValidTo": "2025-06-22T12:01:58.4970166+00:00",
    "LocationType": 10,
    "ScaleQuantity": 11,
    "DiscountPercentage": 12,
    "Date": "2025-06-22T12:01:58.4970166+00:00",
    "IsInvalid": false,
    "IsCustomerTypeValid": false,
    "BusinessType": "sample string 13",
    "BusinessCode": "sample string 14",
    "SKUCode": "sample string 15",
    "UOM": "sample string 16",
    "Price": 17.0,
    "CustomerType": 18
  },
  {
    "EmployeeCode": "sample string 1",
    "PriceCode": "sample string 2",
    "PriceEffectDate": "2025-06-22T12:01:58.4970166+00:00",
    "Source": "sample string 3",
    "Status": 4,
    "LocationName": "sample string 5",
    "CustomerCode": "sample string 6",
    "PricePriority": 7,
    "PriceType": "sample string 8",
    "CustomerChannel": "sample string 9",
    "ValidFrom": "2025-06-22T12:01:58.4970166+00:00",
    "ValidTo": "2025-06-22T12:01:58.4970166+00:00",
    "LocationType": 10,
    "ScaleQuantity": 11,
    "DiscountPercentage": 12,
    "Date": "2025-06-22T12:01:58.4970166+00:00",
    "IsInvalid": false,
    "IsCustomerTypeValid": false,
    "BusinessType": "sample string 13",
    "BusinessCode": "sample string 14",
    "SKUCode": "sample string 15",
    "UOM": "sample string 16",
    "Price": 17.0,
    "CustomerType": 18
  }
]

application/xml, text/xml

Sample:
<ArrayOfItemPrices xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model.Orion">
  <ItemPrices>
    <BusinessCode>sample string 14</BusinessCode>
    <BusinessType>sample string 13</BusinessType>
    <CustomerType>18</CustomerType>
    <Price>17</Price>
    <SKUCode>sample string 15</SKUCode>
    <UOM>sample string 16</UOM>
    <CustomerChannel>sample string 9</CustomerChannel>
    <CustomerCode>sample string 6</CustomerCode>
    <Date>2025-06-22T12:01:58.4970166+00:00</Date>
    <DiscountPercentage>12</DiscountPercentage>
    <EmployeeCode>sample string 1</EmployeeCode>
    <LocationName>sample string 5</LocationName>
    <LocationType>10</LocationType>
    <PriceCode>sample string 2</PriceCode>
    <PriceEffectDate>2025-06-22T12:01:58.4970166+00:00</PriceEffectDate>
    <PricePriority>7</PricePriority>
    <PriceType>sample string 8</PriceType>
    <ScaleQuantity>11</ScaleQuantity>
    <Source>sample string 3</Source>
    <Status>4</Status>
    <ValidFrom>2025-06-22T12:01:58.4970166+00:00</ValidFrom>
    <ValidTo>2025-06-22T12:01:58.4970166+00:00</ValidTo>
  </ItemPrices>
  <ItemPrices>
    <BusinessCode>sample string 14</BusinessCode>
    <BusinessType>sample string 13</BusinessType>
    <CustomerType>18</CustomerType>
    <Price>17</Price>
    <SKUCode>sample string 15</SKUCode>
    <UOM>sample string 16</UOM>
    <CustomerChannel>sample string 9</CustomerChannel>
    <CustomerCode>sample string 6</CustomerCode>
    <Date>2025-06-22T12:01:58.4970166+00:00</Date>
    <DiscountPercentage>12</DiscountPercentage>
    <EmployeeCode>sample string 1</EmployeeCode>
    <LocationName>sample string 5</LocationName>
    <LocationType>10</LocationType>
    <PriceCode>sample string 2</PriceCode>
    <PriceEffectDate>2025-06-22T12:01:58.4970166+00:00</PriceEffectDate>
    <PricePriority>7</PricePriority>
    <PriceType>sample string 8</PriceType>
    <ScaleQuantity>11</ScaleQuantity>
    <Source>sample string 3</Source>
    <Status>4</Status>
    <ValidFrom>2025-06-22T12:01:58.4970166+00:00</ValidFrom>
    <ValidTo>2025-06-22T12:01:58.4970166+00:00</ValidTo>
  </ItemPrices>
</ArrayOfItemPrices>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

VCAPIResponse
NameDescriptionTypeAdditional information
Version

string

None.

dateTime

string

None.

StatusCode

integer

None.

ErrorMessage

string

None.

Result

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Version": "1.0.0",
  "dateTime": "2025/06/22 12:01:58",
  "StatusCode": 1,
  "ErrorMessage": "sample string 2",
  "Result": {}
}

application/xml, text/xml

Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result />
  <StatusCode>1</StatusCode>
</VCAPIResponse>