PUT api/ms/auction/edit/{AuctionId}

Edit Auction

Request Information

URI Parameters

NameDescriptionTypeAdditional information
AuctionId

integer

Required

Body Parameters

m_auction_edit
NameDescriptionTypeAdditional information
AucTypeId

integer

None.

AucName

string

None.

AucDetail

string

None.

StartPrice

decimal number

None.

MinimumBid

decimal number

None.

SalePrice

decimal number

None.

SalePriceDisplay

boolean

None.

BotName

string

None.

BotBidPrice

string

String length: inclusive between 0 and 16

AccessLevel

string

String length: inclusive between 0 and 3

StartDt

date

None.

EndDt

date

None.

AuctionMedias

Collection of auctionMedia

None.

Request Formats

application/json, text/json

Sample:
{
  "AucTypeId": 1,
  "AucName": "sample string 2",
  "AucDetail": "sample string 3",
  "StartPrice": 4.0,
  "MinimumBid": 5.0,
  "SalePrice": 1.0,
  "SalePriceDisplay": true,
  "BotName": "sample string 7",
  "BotBidPrice": "sample string 8",
  "AccessLevel": "sample string 9",
  "StartDt": "2024-11-21T16:55:50.0273517+07:00",
  "EndDt": "2024-11-21T16:55:50.0273517+07:00",
  "AuctionMedias": [
    {
      "PreImg": "sample string 1",
      "MedRank": "sample string 2",
      "MedPath": "sample string 3"
    },
    {
      "PreImg": "sample string 1",
      "MedRank": "sample string 2",
      "MedPath": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<m_auction_edit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KFA.Modules.Models.Mainsystem">
  <AccessLevel>sample string 9</AccessLevel>
  <AucDetail>sample string 3</AucDetail>
  <AucName>sample string 2</AucName>
  <AucTypeId>1</AucTypeId>
  <AuctionMedias>
    <auctionMedia>
      <MedPath>sample string 3</MedPath>
      <MedRank>sample string 2</MedRank>
      <PreImg>sample string 1</PreImg>
    </auctionMedia>
    <auctionMedia>
      <MedPath>sample string 3</MedPath>
      <MedRank>sample string 2</MedRank>
      <PreImg>sample string 1</PreImg>
    </auctionMedia>
  </AuctionMedias>
  <BotBidPrice>sample string 8</BotBidPrice>
  <BotName>sample string 7</BotName>
  <EndDt>2024-11-21T16:55:50.0273517+07:00</EndDt>
  <MinimumBid>5</MinimumBid>
  <SalePrice>1</SalePrice>
  <SalePriceDisplay>true</SalePriceDisplay>
  <StartDt>2024-11-21T16:55:50.0273517+07:00</StartDt>
  <StartPrice>4</StartPrice>
</m_auction_edit>

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.