POST api/Product/AddProductAdjustment

Request Information

URI Parameters

None.

Body Parameters

Purchase
NameDescriptionTypeAdditional information
PurchaseID

integer

None.

ProductID

integer

None.

Quantity

decimal number

None.

PurchaseCost

decimal number

None.

CompanyID

integer

None.

LocationID

integer

None.

UserID

integer

None.

EntryDate

date

None.

EditDate

date

None.

AdjustmentType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PurchaseID": 1,
  "ProductID": 2,
  "Quantity": 3.0,
  "PurchaseCost": 4.0,
  "CompanyID": 5,
  "LocationID": 1,
  "UserID": 1,
  "EntryDate": "2025-06-14T06:36:36.6447021-04:00",
  "EditDate": "2025-06-14T06:36:36.6447021-04:00",
  "AdjustmentType": "sample string 6"
}

application/xml, text/xml

Sample:
<Purchase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KSolApi.Models">
  <AdjustmentType>sample string 6</AdjustmentType>
  <CompanyID>5</CompanyID>
  <EditDate>2025-06-14T06:36:36.6447021-04:00</EditDate>
  <EntryDate>2025-06-14T06:36:36.6447021-04:00</EntryDate>
  <LocationID>1</LocationID>
  <ProductID>2</ProductID>
  <PurchaseCost>4</PurchaseCost>
  <PurchaseID>1</PurchaseID>
  <Quantity>3</Quantity>
  <UserID>1</UserID>
</Purchase>

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>