POST api/PCXMLNegotiateDemands/AddPCXMLNegotiateDemands

Request Information

URI Parameters

None.

Body Parameters

PCXMLNegotiateDemands
NameDescriptionTypeAdditional information
CCCD

string

None.

NegotiateID

integer

None.

DemandID

integer

None.

ExchangeID

integer

None.

AccountID

integer

None.

DCashTypeID

integer

None.

SubIndustryID

integer

None.

ProductID

integer

None.

SubProductID

integer

None.

NegoAccountID

integer

None.

NegotiateSubject

string

None.

NegotiateDate

date

None.

NegotiateQty

decimal number

None.

NegotiateRate

decimal number

None.

NegotiatePeriod

decimal number

None.

NegotiatePeriodUOM

integer

None.

NegotiateSecValue

decimal number

None.

NegotiateAmount

decimal number

None.

NegotiateText

string

None.

NegotiateReplyDate

date

None.

NegotiateReplyQty

decimal number

None.

NegotiateReplyRate

decimal number

None.

NegotiateReplyPeriod

decimal number

None.

NegotiateReplyPeriodUOM

decimal number

None.

NegotiateReplySecValue

decimal number

None.

NegotiateReplyAmount

decimal number

None.

NegotiateReply

string

None.

LastUpdateDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "CCCD": "sample string 1",
  "NegotiateID": 2,
  "DemandID": 3,
  "ExchangeID": 4,
  "AccountID": 5,
  "DCashTypeID": 6,
  "SubIndustryID": 7,
  "ProductID": 8,
  "SubProductID": 9,
  "NegoAccountID": 10,
  "NegotiateSubject": "sample string 11",
  "NegotiateDate": "2025-08-02T20:01:11.0986062+05:30",
  "NegotiateQty": 13.0,
  "NegotiateRate": 14.0,
  "NegotiatePeriod": 15.0,
  "NegotiatePeriodUOM": 16,
  "NegotiateSecValue": 17.0,
  "NegotiateAmount": 18.0,
  "NegotiateText": "sample string 19",
  "NegotiateReplyDate": "2025-08-02T20:01:11.0986062+05:30",
  "NegotiateReplyQty": 21.0,
  "NegotiateReplyRate": 22.0,
  "NegotiateReplyPeriod": 23.0,
  "NegotiateReplyPeriodUOM": 24.0,
  "NegotiateReplySecValue": 25.0,
  "NegotiateReplyAmount": 26.0,
  "NegotiateReply": "sample string 27",
  "LastUpdateDate": "2025-08-02T20:01:11.0986062+05:30"
}

text/html

Sample:
{"CCCD":"sample string 1","NegotiateID":2,"DemandID":3,"ExchangeID":4,"AccountID":5,"DCashTypeID":6,"SubIndustryID":7,"ProductID":8,"SubProductID":9,"NegoAccountID":10,"NegotiateSubject":"sample string 11","NegotiateDate":"2025-08-02T20:01:11.0986062+05:30","NegotiateQty":13.0,"NegotiateRate":14.0,"NegotiatePeriod":15.0,"NegotiatePeriodUOM":16,"NegotiateSecValue":17.0,"NegotiateAmount":18.0,"NegotiateText":"sample string 19","NegotiateReplyDate":"2025-08-02T20:01:11.0986062+05:30","NegotiateReplyQty":21.0,"NegotiateReplyRate":22.0,"NegotiateReplyPeriod":23.0,"NegotiateReplyPeriodUOM":24.0,"NegotiateReplySecValue":25.0,"NegotiateReplyAmount":26.0,"NegotiateReply":"sample string 27","LastUpdateDate":"2025-08-02T20:01:11.0986062+05:30"}

application/xml, text/xml

Sample:
<PCXMLNegotiateDemands xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PowerCashAPI.Models">
  <AccountID>5</AccountID>
  <CCCD>sample string 1</CCCD>
  <DCashTypeID>6</DCashTypeID>
  <DemandID>3</DemandID>
  <ExchangeID>4</ExchangeID>
  <LastUpdateDate>2025-08-02T20:01:11.0986062+05:30</LastUpdateDate>
  <NegoAccountID>10</NegoAccountID>
  <NegotiateAmount>18</NegotiateAmount>
  <NegotiateDate>2025-08-02T20:01:11.0986062+05:30</NegotiateDate>
  <NegotiateID>2</NegotiateID>
  <NegotiatePeriod>15</NegotiatePeriod>
  <NegotiatePeriodUOM>16</NegotiatePeriodUOM>
  <NegotiateQty>13</NegotiateQty>
  <NegotiateRate>14</NegotiateRate>
  <NegotiateReply>sample string 27</NegotiateReply>
  <NegotiateReplyAmount>26</NegotiateReplyAmount>
  <NegotiateReplyDate>2025-08-02T20:01:11.0986062+05:30</NegotiateReplyDate>
  <NegotiateReplyPeriod>23</NegotiateReplyPeriod>
  <NegotiateReplyPeriodUOM>24</NegotiateReplyPeriodUOM>
  <NegotiateReplyQty>21</NegotiateReplyQty>
  <NegotiateReplyRate>22</NegotiateReplyRate>
  <NegotiateReplySecValue>25</NegotiateReplySecValue>
  <NegotiateSecValue>17</NegotiateSecValue>
  <NegotiateSubject>sample string 11</NegotiateSubject>
  <NegotiateText>sample string 19</NegotiateText>
  <ProductID>8</ProductID>
  <SubIndustryID>7</SubIndustryID>
  <SubProductID>9</SubProductID>
</PCXMLNegotiateDemands>

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

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>