POST api/product/price

Request Information

URI Parameters

None.

Body Parameters

ProductPriceSaveRequestModel
NameDescriptionTypeAdditional information
ProductID

integer

Required

PriceType

integer

Required

AuctionType

integer

None.

CryptoStartPrice

decimal number

Required

CryptoEndPrice

decimal number

None.

CryptoReservePrice

decimal number

None.

UseDateRange

boolean

Required

DateRangeType

integer

Required

DateFrom

date

None.

DateTo

date

None.

PayoutGroupID

integer

Required

CharityName

string

None.

CharityPercentage

decimal number

None.

CharityLink

string

None.

Request Formats

application/json, text/json, text/plain, text/html

Sample:
{
  "productID": 1,
  "priceType": 2,
  "auctionType": 3,
  "cryptoStartPrice": 4.0,
  "cryptoEndPrice": 1.0,
  "cryptoReservePrice": 1.0,
  "useDateRange": true,
  "dateRangeType": 6,
  "dateFrom": "2026-11-29T14:14:14.6328395+00:00",
  "dateTo": "2026-11-29T14:14:14.6328395+00:00",
  "payoutGroupID": 7,
  "charityName": "sample string 8",
  "charityPercentage": 9.0,
  "charityLink": "sample string 10"
}

application/xml, text/xml

Sample:
<ProductPriceSaveRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NFTWardsV2.Core.RequestModel">
  <AuctionType>3</AuctionType>
  <CharityLink>sample string 10</CharityLink>
  <CharityName>sample string 8</CharityName>
  <CharityPercentage>9</CharityPercentage>
  <CryptoEndPrice>1</CryptoEndPrice>
  <CryptoReservePrice>1</CryptoReservePrice>
  <CryptoStartPrice>4</CryptoStartPrice>
  <DateFrom>2026-11-29T14:14:14.6328395+00:00</DateFrom>
  <DateRangeType>6</DateRangeType>
  <DateTo>2026-11-29T14:14:14.6328395+00:00</DateTo>
  <PayoutGroupID>7</PayoutGroupID>
  <PriceType>2</PriceType>
  <ProductID>1</ProductID>
  <UseDateRange>true</UseDateRange>
</ProductPriceSaveRequestModel>

multipart/form-data

Sample:
<ProductPriceSaveRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NFTWardsV2.Core.RequestModel"><AuctionType>3</AuctionType><CharityLink>sample string 10</CharityLink><CharityName>sample string 8</CharityName><CharityPercentage>9</CharityPercentage><CryptoEndPrice>1</CryptoEndPrice><CryptoReservePrice>1</CryptoReservePrice><CryptoStartPrice>4</CryptoStartPrice><DateFrom>2026-11-29T14:14:14.6328395+00:00</DateFrom><DateRangeType>6</DateRangeType><DateTo>2026-11-29T14:14:14.6328395+00:00</DateTo><PayoutGroupID>7</PayoutGroupID><PriceType>2</PriceType><ProductID>1</ProductID><UseDateRange>true</UseDateRange></ProductPriceSaveRequestModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ProductPriceSaveRequestModel'.

Response Information

Resource Description

CommonResponseDataModel
NameDescriptionTypeAdditional information
ReturnID

integer

Required

Message

string

Required

Successful

boolean

Required

Code

integer

None.

TotalRecord

integer

None.

Response Formats

application/json, text/json, text/plain, text/html

Sample:
{
  "returnID": 1,
  "message": "sample string 2",
  "successful": true,
  "code": 4,
  "totalRecord": 5
}

application/xml, text/xml

Sample:
<CommonResponseDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NFTWards.Core.DataModel">
  <Code>4</Code>
  <Message>sample string 2</Message>
  <ReturnID>1</ReturnID>
  <Successful>true</Successful>
  <TotalRecord>5</TotalRecord>
</CommonResponseDataModel>

multipart/form-data

Sample:
<CommonResponseDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NFTWards.Core.DataModel"><Code>4</Code><Message>sample string 2</Message><ReturnID>1</ReturnID><Successful>true</Successful><TotalRecord>5</TotalRecord></CommonResponseDataModel>