POST api/SIMS/ImportSellingPrices?companyKey={companyKey}

Imports selling prices of a specific stock code

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyKey

The company name if the service is connected to multiple SIMS companies (Optional)

string

Default value is

Body Parameters

The selling prices and stock code to be imported

SellingPrices
NameDescriptionTypeAdditional information
StockCode

The stock code of the stock item

string

N/A

SellingPrice1

The selling price 1 of the item

string

N/A

SellingPrice2

The selling price 2 of the item

string

N/A

SellingPrice3

The selling price 3 of the item

string

N/A

SellingPrice4

The selling price 4 of the item

string

N/A

SellingPrice5

The selling price 5 of the item

string

N/A

SellingPrice6

The selling price 6 of the item

string

N/A


Request Formats

application/json, text/json

Sample:
{
  "StockCode": "sample string 1",
  "SellingPrice1": "sample string 2",
  "SellingPrice2": "sample string 3",
  "SellingPrice3": "sample string 4",
  "SellingPrice4": "sample string 5",
  "SellingPrice5": "sample string 6",
  "SellingPrice6": "sample string 7"
}

Response Information

Resource Description

The operation's result. Returns empty if successful, error message if not.

SellingPricesResult
NameDescriptionTypeAdditional information
ErrorMessage

string

N/A

Response Formats

application/json, text/json

Sample:
{
  "ErrorMessage": "sample string 1"
}