POST api/DataUpdate/AddPrice

Request Information

URI Parameters

None.

Body Parameters

AddPrice
NameDescriptionTypeAdditional information
BusinessID

integer

None.

LoggedInUserid

integer

None.

CustType

string

None.

SKUCode

string

None.

Price

integer

None.

IsNew

integer

None.

UOM

string

None.

PriceCode

string

None.

Freeze

string

None.

CreateDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "BusinessID": 1,
  "LoggedInUserid": 2,
  "CustType": "sample string 3",
  "SKUCode": "sample string 4",
  "Price": 5,
  "IsNew": 6,
  "UOM": "sample string 7",
  "PriceCode": "sample string 8",
  "Freeze": "sample string 9",
  "CreateDate": "2020-09-18T10:52:28.0884306+01:00"
}

application/xml, text/xml

Sample:
<AddPrice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <BusinessID>1</BusinessID>
  <CreateDate>2020-09-18T10:52:28.0884306+01:00</CreateDate>
  <CustType>sample string 3</CustType>
  <Freeze>sample string 9</Freeze>
  <IsNew>6</IsNew>
  <LoggedInUserid>2</LoggedInUserid>
  <Price>5</Price>
  <PriceCode>sample string 8</PriceCode>
  <SKUCode>sample string 4</SKUCode>
  <UOM>sample string 7</UOM>
</AddPrice>

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": "2020/09/18 10:52:28",
  "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>