POST api/PCXMLInterestOffers/AddPCXMLInterestOffers

Request Information

URI Parameters

None.

Body Parameters

PCXMLInterestOffers
NameDescriptionTypeAdditional information
CCCD

string

None.

InterestID

integer

None.

OfferID

integer

None.

ExchangeID

integer

None.

AccountType

string

None.

AccountID

integer

None.

OCashTypeID

integer

None.

SubIndustryID

integer

None.

ProductID

integer

None.

SubProductID

integer

None.

InterestType

string

None.

InterestSubject

string

None.

InterestDate

date

None.

InterestText

string

None.

InterestReplyDate

date

None.

InterestReply

string

None.

Status

string

None.

LastUpdateDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "CCCD": "sample string 1",
  "InterestID": 2,
  "OfferID": 3,
  "ExchangeID": 4,
  "AccountType": "sample string 5",
  "AccountID": 6,
  "OCashTypeID": 7,
  "SubIndustryID": 8,
  "ProductID": 9,
  "SubProductID": 10,
  "InterestType": "sample string 11",
  "InterestSubject": "sample string 12",
  "InterestDate": "2025-08-02T20:01:12.6139757+05:30",
  "InterestText": "sample string 14",
  "InterestReplyDate": "2025-08-02T20:01:12.6139757+05:30",
  "InterestReply": "sample string 16",
  "Status": "sample string 17",
  "LastUpdateDate": "2025-08-02T20:01:12.6139757+05:30"
}

text/html

Sample:
{"CCCD":"sample string 1","InterestID":2,"OfferID":3,"ExchangeID":4,"AccountType":"sample string 5","AccountID":6,"OCashTypeID":7,"SubIndustryID":8,"ProductID":9,"SubProductID":10,"InterestType":"sample string 11","InterestSubject":"sample string 12","InterestDate":"2025-08-02T20:01:12.6139757+05:30","InterestText":"sample string 14","InterestReplyDate":"2025-08-02T20:01:12.6139757+05:30","InterestReply":"sample string 16","Status":"sample string 17","LastUpdateDate":"2025-08-02T20:01:12.6139757+05:30"}

application/xml, text/xml

Sample:
<PCXMLInterestOffers xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PowerCashAPI.Models">
  <AccountID>6</AccountID>
  <AccountType>sample string 5</AccountType>
  <CCCD>sample string 1</CCCD>
  <ExchangeID>4</ExchangeID>
  <InterestDate>2025-08-02T20:01:12.6139757+05:30</InterestDate>
  <InterestID>2</InterestID>
  <InterestReply>sample string 16</InterestReply>
  <InterestReplyDate>2025-08-02T20:01:12.6139757+05:30</InterestReplyDate>
  <InterestSubject>sample string 12</InterestSubject>
  <InterestText>sample string 14</InterestText>
  <InterestType>sample string 11</InterestType>
  <LastUpdateDate>2025-08-02T20:01:12.6139757+05:30</LastUpdateDate>
  <OCashTypeID>7</OCashTypeID>
  <OfferID>3</OfferID>
  <ProductID>9</ProductID>
  <Status>sample string 17</Status>
  <SubIndustryID>8</SubIndustryID>
  <SubProductID>10</SubProductID>
</PCXMLInterestOffers>

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 'PCXMLInterestOffers'.

Response Information

Resource Description

StatusResponse
NameDescriptionTypeAdditional information
Status

boolean

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "ErrorMessage": "sample string 2"
}

text/html

Sample:
{"Status":true,"ErrorMessage":"sample string 2"}

application/xml, text/xml

Sample:
<StatusResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PowerCashAPI.Models">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Status>true</Status>
</StatusResponse>