POST api/ERPDataUpdate/AddItemPrice

Request Information

URI Parameters

None.

Body Parameters

ItemPrice
NameDescriptionTypeAdditional information
PriceCode

string

None.

EmployeeCode

string

None.

Source

string

None.

StatusID

integer

None.

PriceEffectDate

date

None.

LocationName

string

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:
{
  "PriceCode": "sample string 1",
  "EmployeeCode": "sample string 2",
  "Source": "sample string 3",
  "StatusID": 4,
  "PriceEffectDate": "2024-09-19T17:21:59.5931184+00:00",
  "LocationName": "sample string 5",
  "IsInvalid": false,
  "IsCustomerTypeValid": false,
  "BusinessType": "sample string 6",
  "BusinessCode": "sample string 7",
  "SKUCode": "sample string 8",
  "UOM": "sample string 9",
  "Price": 10.0,
  "CustomerType": 11
}

application/xml, text/xml

Sample:
<ItemPrice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model.Orion">
  <BusinessCode>sample string 7</BusinessCode>
  <BusinessType>sample string 6</BusinessType>
  <CustomerType>11</CustomerType>
  <Price>10</Price>
  <SKUCode>sample string 8</SKUCode>
  <UOM>sample string 9</UOM>
  <EmployeeCode>sample string 2</EmployeeCode>
  <LocationName>sample string 5</LocationName>
  <PriceCode>sample string 1</PriceCode>
  <PriceEffectDate>2024-09-19T17:21:59.5931184+00:00</PriceEffectDate>
  <Source>sample string 3</Source>
  <StatusID>4</StatusID>
</ItemPrice>

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": "2024/09/19 17:21:59",
  "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>