POST TCPV1/Administration/Lookups/Product/InsertUpdatePrice?token={token}&UserID={UserID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
token

string

Required

UserID

integer

Required

Body Parameters

ProductPriceinsert
NameDescriptionTypeAdditional information
PriceID

integer

None.

ProductID

integer

None.

PurchasePrice

decimal number

None.

VAT

decimal number

None.

SupplierID

integer

None.

CreatedBy

integer

None.

CostPerIU

decimal number

None.

StartDate

date

None.

EndDate

date

None.

Comments

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PriceID": 1,
  "ProductID": 2,
  "PurchasePrice": 1.0,
  "VAT": 3.0,
  "SupplierID": 4,
  "CreatedBy": 1,
  "CostPerIU": 1.0,
  "StartDate": "2026-08-27T04:02:09.960375+01:00",
  "EndDate": "2026-08-27T04:02:09.960375+01:00",
  "Comments": "sample string 6"
}

application/xml, text/xml

Sample:
<ProductPriceinsert xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities.SmartAPI">
  <Comments>sample string 6</Comments>
  <CostPerIU>1</CostPerIU>
  <CreatedBy>1</CreatedBy>
  <EndDate>2026-08-27T04:02:09.960375+01:00</EndDate>
  <PriceID>1</PriceID>
  <ProductID>2</ProductID>
  <PurchasePrice>1</PurchasePrice>
  <StartDate>2026-08-27T04:02:09.960375+01:00</StartDate>
  <SupplierID>4</SupplierID>
  <VAT>3</VAT>
</ProductPriceinsert>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.