POST api/points/savePoints

Request Information

URI Parameters

None.

Body Parameters

Points
NameDescriptionTypeAdditional information
PointsID

integer

None.

CompanyID

integer

None.

Quantity

integer

None.

PartID

integer

None.

EmployeeID

integer

None.

NetPoints

integer

None.

IsDeleted

boolean

None.

CreatedBy

integer

None.

CreatedOn

date

None.

ModifiedBy

integer

None.

ModifiedOn

date

None.

CompanyName

string

None.

PartName

string

None.

CustomerName

string

None.

PrizeDate

string

None.

BrandName

string

None.

PartPoints

integer

None.

CategoryName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PointsID": 1,
  "CompanyID": 1,
  "Quantity": 1,
  "PartID": 1,
  "EmployeeID": 1,
  "NetPoints": 1,
  "IsDeleted": true,
  "CreatedBy": 1,
  "CreatedOn": "2024-11-21T12:39:43.2185921+03:00",
  "ModifiedBy": 1,
  "ModifiedOn": "2024-11-21T12:39:43.2185921+03:00",
  "CompanyName": "sample string 1",
  "PartName": "sample string 2",
  "CustomerName": "sample string 3",
  "PrizeDate": "sample string 4",
  "BrandName": "sample string 5",
  "PartPoints": 1,
  "CategoryName": "sample string 6"
}

application/xml, text/xml

Sample:
<Points xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MODEL.Models">
  <BrandName>sample string 5</BrandName>
  <CategoryName>sample string 6</CategoryName>
  <CompanyID>1</CompanyID>
  <CompanyName>sample string 1</CompanyName>
  <CreatedBy>1</CreatedBy>
  <CreatedOn>2024-11-21T12:39:43.2185921+03:00</CreatedOn>
  <CustomerName>sample string 3</CustomerName>
  <EmployeeID>1</EmployeeID>
  <IsDeleted>true</IsDeleted>
  <ModifiedBy>1</ModifiedBy>
  <ModifiedOn>2024-11-21T12:39:43.2185921+03:00</ModifiedOn>
  <NetPoints>1</NetPoints>
  <PartID>1</PartID>
  <PartName>sample string 2</PartName>
  <PartPoints>1</PartPoints>
  <PointsID>1</PointsID>
  <PrizeDate>sample string 4</PrizeDate>
  <Quantity>1</Quantity>
</Points>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.