POST api/Depot/AddUpdateDepotLocationwisePriceV1

Request Information

URI Parameters

None.

Body Parameters

AddUpdateDepotLocationwisePriceV1
NameDescriptionTypeAdditional information
businessId

integer

None.

loginUserId

integer

None.

countryCode

integer

None.

itemId

integer

None.

skuName

string

None.

adminApprovalStatus

integer

None.

activationFlag

integer

None.

bookedStock

integer

None.

price

decimal number

None.

buyingRate

decimal number

None.

flag

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "businessId": 1,
  "loginUserId": 2,
  "countryCode": 3,
  "itemId": 4,
  "skuName": "sample string 5",
  "adminApprovalStatus": 6,
  "activationFlag": 7,
  "bookedStock": 8,
  "price": 9.0,
  "buyingRate": 10.0,
  "flag": 11
}

application/xml, text/xml

Sample:
<AddUpdateDepotLocationwisePriceV1 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <activationFlag>7</activationFlag>
  <adminApprovalStatus>6</adminApprovalStatus>
  <bookedStock>8</bookedStock>
  <businessId>1</businessId>
  <buyingRate>10</buyingRate>
  <countryCode>3</countryCode>
  <flag>11</flag>
  <itemId>4</itemId>
  <loginUserId>2</loginUserId>
  <price>9</price>
  <skuName>sample string 5</skuName>
</AddUpdateDepotLocationwisePriceV1>

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 'AddUpdateDepotLocationwisePriceV1'.

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:32:57",
  "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>