POST api/Product/Add

Request Information

URI Parameters

None.

Body Parameters

Product
NameDescriptionTypeAdditional information
ProductID

integer

None.

ProductCode

string

None.

ProductDescription

string

None.

ProductCost

decimal number

None.

ProductPrice

decimal number

None.

SalesTax

decimal number

None.

ExciseTax

decimal number

None.

ReOrderLevel

decimal number

None.

ManufacturerID

integer

None.

VendorID

integer

None.

CompanyID

integer

None.

LocationID

integer

None.

UserID

integer

None.

EntryDate

date

None.

EditDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ProductID": 1,
  "ProductCode": "sample string 2",
  "ProductDescription": "sample string 3",
  "ProductCost": 4.0,
  "ProductPrice": 5.0,
  "SalesTax": 6.0,
  "ExciseTax": 7.0,
  "ReOrderLevel": 8.0,
  "ManufacturerID": 1,
  "VendorID": 1,
  "CompanyID": 9,
  "LocationID": 1,
  "UserID": 1,
  "EntryDate": "2025-06-14T06:26:49.7697033-04:00",
  "EditDate": "2025-06-14T06:26:49.7697033-04:00"
}

application/xml, text/xml

Sample:
<Product xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KSolApi.Models">
  <CompanyID>9</CompanyID>
  <EditDate>2025-06-14T06:26:49.7697033-04:00</EditDate>
  <EntryDate>2025-06-14T06:26:49.7697033-04:00</EntryDate>
  <ExciseTax>7</ExciseTax>
  <LocationID>1</LocationID>
  <ManufacturerID>1</ManufacturerID>
  <ProductCode>sample string 2</ProductCode>
  <ProductCost>4</ProductCost>
  <ProductDescription>sample string 3</ProductDescription>
  <ProductID>1</ProductID>
  <ProductPrice>5</ProductPrice>
  <ReOrderLevel>8</ReOrderLevel>
  <SalesTax>6</SalesTax>
  <UserID>1</UserID>
  <VendorID>1</VendorID>
</Product>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
Status

integer

None.

ResponseMsg

string

None.

Data

Object

None.

Token

string

None.

IsSuccess

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "ResponseMsg": "sample string 2",
  "Data": {},
  "Token": "sample string 4",
  "IsSuccess": true
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KSolApi.GlobalLogics">
  <Data />
  <IsSuccess>true</IsSuccess>
  <ResponseMsg>sample string 2</ResponseMsg>
  <Status>1</Status>
  <Token>sample string 4</Token>
</Response>