POST api/PSAPI/EdenRedOrderPlacement

Request Information

URI Parameters

None.

Body Parameters

PanelistIncentive
NameDescriptionTypeAdditional information
Errorcode

string

None.

Email

string

None.

MobileNo

string

None.

SampleID

integer

None.

BudgetUtilization

decimal number

None.

CampaignStatus

integer

None.

CampaignName

string

None.

AlreadySentMail

boolean

None.

PanelistId

integer

None.

Points

integer

None.

PanelistVoucherCode

Collection of PanelistVoucherCode

None.

IsRedemption

boolean

None.

VoucherSentDate

date

None.

IsEmailSent

boolean

None.

CampaignID

integer

None.

ProjectID

integer

None.

VoucherCode

string

None.

voucherLink

string

None.

voucherNo

string

None.

TransactionDate

date

None.

PSCatalogueId

integer

None.

IsEdenRed

boolean

None.

ID

integer

None.

CreatedDate

date

None.

ModifiedDate

date

None.

CreatedBy

integer

None.

ModifiedBy

integer

None.

IsActive

boolean

None.

listPanelistOfflineIncentives

Collection of PanelistOfflineIncentives

None.

Request Formats

application/json, text/json

Sample:
{
  "listPanelistOfflineIncentives": [
    {
      "panelistID": 1,
      "points": 2,
      "id": 3,
      "createdDate": "2025-01-21T23:38:15.5875007-05:00",
      "modifiedDate": "2025-01-21T23:38:15.5875007-05:00",
      "createdBy": 1,
      "modifiedBy": 1,
      "isActive": true
    },
    {
      "panelistID": 1,
      "points": 2,
      "id": 3,
      "createdDate": "2025-01-21T23:38:15.5875007-05:00",
      "modifiedDate": "2025-01-21T23:38:15.5875007-05:00",
      "createdBy": 1,
      "modifiedBy": 1,
      "isActive": true
    }
  ],
  "errorcode": "sample string 1",
  "email": "sample string 2",
  "mobileNo": "sample string 3",
  "sampleID": 1,
  "budgetUtilization": 1.0,
  "campaignStatus": 1,
  "campaignName": "sample string 4",
  "alreadySentMail": true,
  "panelistId": 5,
  "points": 6,
  "panelistVoucherCode": [
    {
      "mobileNo": "sample string 1",
      "email": "sample string 2",
      "voucherCode": "sample string 3",
      "pin": "sample string 4",
      "amount": 5.0,
      "expiryDate": "2025-01-21T23:38:15.5875007-05:00",
      "psCatalogueID": 1,
      "id": 6,
      "createdDate": "2025-01-21T23:38:15.5875007-05:00",
      "modifiedDate": "2025-01-21T23:38:15.5875007-05:00",
      "createdBy": 1,
      "modifiedBy": 1,
      "isActive": true
    },
    {
      "mobileNo": "sample string 1",
      "email": "sample string 2",
      "voucherCode": "sample string 3",
      "pin": "sample string 4",
      "amount": 5.0,
      "expiryDate": "2025-01-21T23:38:15.5875007-05:00",
      "psCatalogueID": 1,
      "id": 6,
      "createdDate": "2025-01-21T23:38:15.5875007-05:00",
      "modifiedDate": "2025-01-21T23:38:15.5875007-05:00",
      "createdBy": 1,
      "modifiedBy": 1,
      "isActive": true
    }
  ],
  "isRedemption": true,
  "voucherSentDate": "2025-01-21T23:38:15.5875007-05:00",
  "isEmailSent": true,
  "campaignID": 10,
  "projectID": 11,
  "voucherCode": "sample string 12",
  "voucherLink": "sample string 13",
  "voucherNo": "sample string 14",
  "transactionDate": "2025-01-21T23:38:15.5875007-05:00",
  "psCatalogueId": 16,
  "isEdenRed": true,
  "id": 18,
  "createdDate": "2025-01-21T23:38:15.5875007-05:00",
  "modifiedDate": "2025-01-21T23:38:15.5875007-05:00",
  "createdBy": 1,
  "modifiedBy": 1,
  "isActive": true
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

EdenRedOrderResponse
NameDescriptionTypeAdditional information
PanelistID

integer

None.

CatalogId

integer

None.

Points

integer

None.

SubProgramCode

string

None.

IRISSKU

string

None.

SubProgramOrderID

string

None.

OrderNo

string

None.

IRISRedemptionID

string

None.

VoucherGuid

string

None.

VoucherNo

string

None.

ExpirationPeriod

date

None.

ExpirationDate

string

None.

CodeInfo

Object

None.

Vpassword

string

None.

URLExpiryPeriod

string

None.

URLExpiryDate

date

None.

CodeValue

string

None.

CodeType

string

None.

index

integer

None.

ErrorCode

string

None.

status

boolean

None.

IsOrderRequestSent

boolean

None.

IsOrderRequestSuccess

boolean

None.

IsOrderPlaced

boolean

None.

isException

boolean

None.

Denomination

decimal number

None.

VoucherLink

string

None.

Response Formats

application/json, text/json

Sample:
{
  "panelistID": 1,
  "catalogId": 2,
  "points": 3,
  "subProgramCode": "sample string 4",
  "irissku": "sample string 5",
  "subProgramOrderID": "sample string 6",
  "orderNo": "sample string 7",
  "irisRedemptionID": "sample string 8",
  "voucherGuid": "sample string 9",
  "voucherNo": "sample string 10",
  "expirationPeriod": "2025-01-21T23:38:15.5885004-05:00",
  "expirationDate": "sample string 11",
  "codeInfo": {},
  "vpassword": "sample string 13",
  "urlExpiryPeriod": "sample string 14",
  "urlExpiryDate": "2025-01-21T23:38:15.5885004-05:00",
  "codeValue": "sample string 15",
  "codeType": "sample string 16",
  "index": 17,
  "errorCode": "sample string 18",
  "status": true,
  "isOrderRequestSent": true,
  "isOrderRequestSuccess": true,
  "isOrderPlaced": true,
  "isException": true,
  "denomination": 24.1,
  "voucherLink": "sample string 25"
}

text/xml

Sample:
<EdenRedOrderResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PMSBL.Entity">
  <CatalogId>2</CatalogId>
  <CodeInfo />
  <CodeType>sample string 16</CodeType>
  <CodeValue>sample string 15</CodeValue>
  <Denomination>24.1</Denomination>
  <ErrorCode>sample string 18</ErrorCode>
  <ExpirationDate>sample string 11</ExpirationDate>
  <ExpirationPeriod>2025-01-21T23:38:15.5885004-05:00</ExpirationPeriod>
  <IRISRedemptionID>sample string 8</IRISRedemptionID>
  <IRISSKU>sample string 5</IRISSKU>
  <IsOrderPlaced>true</IsOrderPlaced>
  <IsOrderRequestSent>true</IsOrderRequestSent>
  <IsOrderRequestSuccess>true</IsOrderRequestSuccess>
  <OrderNo>sample string 7</OrderNo>
  <PanelistID>1</PanelistID>
  <Points>3</Points>
  <SubProgramCode>sample string 4</SubProgramCode>
  <SubProgramOrderID>sample string 6</SubProgramOrderID>
  <URLExpiryDate>2025-01-21T23:38:15.5885004-05:00</URLExpiryDate>
  <URLExpiryPeriod>sample string 14</URLExpiryPeriod>
  <VoucherGuid>sample string 9</VoucherGuid>
  <VoucherLink>sample string 25</VoucherLink>
  <VoucherNo>sample string 10</VoucherNo>
  <Vpassword>sample string 13</Vpassword>
  <index>17</index>
  <isException>true</isException>
  <status>true</status>
</EdenRedOrderResponse>