Auction Details
URL:
Method: GET
https://saasapi.igainapp.in/v1/auction.php/auction
Request Parameters
| Parameter | Type | Position | # | Description |
|---|---|---|---|---|
| Authorization | string |
Header |
Required |
Authorization is the Enrypted Company API KEY |
| membershipid | string |
Body |
Required |
Membership ID |
| phoneno | string |
Body |
Required |
Phone number without country code |
Sample Request Body
{
"membershipid":"1234567878",
"phoneno":"1234567890"
}
Sample Request Response
{
"auctions": [
{
"id": 1,
"name": "Glass Bowl",
"fromdate": "2020-04-10",
"todate": "2022-05-31",
"endtime": "20:10:00",
"prize": "Fish Shaped Glass Fish Bowl",
"prizedescription": "Fish Shaped Glass Fish Bowl",
"prizeimage": "Auction_images/fish.jpg",
"minbidvalue": "120.00",
"minincrement": "5.00",
"bidvalue": 170,
"outlet": "outlet one"
}
],
"errorcode": 1001,
"message": "OK"
}
Error Codes
| Error Code | Description |
|---|---|
| 3121 | Required field(s) is missing or empty |
| 3122 | Phone number is not valid |
| 2003 | Unable to locate membership id |
| 2011 | Old password does not match! |
| 3106 | New password and Confirm new password does not match |
| 3015 | Old Password and New Password are Same |
| 1001 | OK |