POST api/DataUpdate/AddLocationPrice

Request Information

URI Parameters

None.

Body Parameters

AddLocationwisePriceOran
NameDescriptionTypeAdditional information
BusinessId

integer

None.

LoginUserid

integer

None.

SKU_Code

string

None.

Price

integer

None.

Cust_type

integer

None.

UOM

string

None.

created_date

string

None.

PriceCode

string

None.

isnew

integer

None.

Freeze

integer

None.

Location_Code

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BusinessId": 1,
  "LoginUserid": 2,
  "SKU_Code": "sample string 3",
  "Price": 4,
  "Cust_type": 5,
  "UOM": "sample string 6",
  "created_date": "sample string 7",
  "PriceCode": "sample string 8",
  "isnew": 9,
  "Freeze": 10,
  "Location_Code": "sample string 11"
}

application/xml, text/xml

Sample:
<AddLocationwisePriceOran xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <BusinessId>1</BusinessId>
  <Cust_type>5</Cust_type>
  <Freeze>10</Freeze>
  <Location_Code>sample string 11</Location_Code>
  <LoginUserid>2</LoginUserid>
  <Price>4</Price>
  <PriceCode>sample string 8</PriceCode>
  <SKU_Code>sample string 3</SKU_Code>
  <UOM>sample string 6</UOM>
  <created_date>sample string 7</created_date>
  <isnew>9</isnew>
</AddLocationwisePriceOran>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AddLocationwisePriceOran'.

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 18:31:47",
  "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>