GET api/PCXMLDemand/GetPCXMLDemandbyID?cccd={cccd}&DemandID={DemandID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
cccd | string |
Required |
|
DemandID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
PCXMLDemandName | Description | Type | Additional information |
---|---|---|---|
CCCD | string |
None. |
|
DemandID | integer |
None. |
|
AccountID | integer |
None. |
|
CustomerID | integer |
None. |
|
FranchiseID | integer |
None. |
|
ExchangeID | integer |
None. |
|
CustomerTypeID | integer |
None. |
|
DCashTypeID | integer |
None. |
|
SubIndustryID | integer |
None. |
|
ProductID | integer |
None. |
|
SubProductID | integer |
None. |
|
LogDate | date |
None. |
|
Title | string |
None. |
|
ShortDescription | string |
None. |
|
Cash | decimal number |
None. |
|
MinAmt | decimal number |
None. |
|
Multiples | decimal number |
None. |
|
Rate | decimal number |
None. |
|
Period | decimal number |
None. |
|
SecValue | decimal number |
None. |
|
PeriodUOM | integer |
None. |
|
Quantity | decimal number |
None. |
|
QuantityUOM | integer |
None. |
|
MinQuantity | decimal number |
None. |
|
StartDate | date |
None. |
|
ExpiryDate | date |
None. |
|
Status | string |
None. |
|
DT1 | string |
None. |
|
DT2 | string |
None. |
|
DT3 | string |
None. |
|
DQ1 | decimal number |
None. |
|
DQ2 | decimal number |
None. |
|
DQ3 | decimal number |
None. |
|
DU1 | integer |
None. |
|
DU2 | integer |
None. |
|
DU3 | integer |
None. |
|
DR1 | decimal number |
None. |
|
DR2 | decimal number |
None. |
|
DR3 | decimal number |
None. |
|
DA1 | decimal number |
None. |
|
DA2 | decimal number |
None. |
|
DA3 | decimal number |
None. |
|
DelName | string |
None. |
|
DelAddress1 | string |
None. |
|
DelAddress2 | string |
None. |
|
DelCityname | string |
None. |
|
DelStatename | string |
None. |
|
DelZipCode | string |
None. |
|
DelCountryID | integer |
None. |
|
PPStatusID | integer |
None. |
|
DCashPurposeID | integer |
None. |
|
LastUpdateDate | date |
None. |
|
XMLVAR | string |
None. |
|
DemandDescription | Collection of PCXMLDemandDescription |
None. |
Response Formats
application/json, text/json
Sample:
{ "CCCD": "sample string 1", "DemandID": 2, "AccountID": 3, "CustomerID": 4, "FranchiseID": 5, "ExchangeID": 6, "CustomerTypeID": 7, "DCashTypeID": 8, "SubIndustryID": 9, "ProductID": 10, "SubProductID": 11, "LogDate": "2025-08-02T20:03:39.3512766+05:30", "Title": "sample string 13", "ShortDescription": "sample string 14", "Cash": 15.0, "MinAmt": 16.0, "Multiples": 17.0, "Rate": 18.0, "Period": 19.0, "SecValue": 20.0, "PeriodUOM": 21, "Quantity": 22.0, "QuantityUOM": 23, "MinQuantity": 24.0, "StartDate": "2025-08-02T20:03:39.3512766+05:30", "ExpiryDate": "2025-08-02T20:03:39.3512766+05:30", "Status": "sample string 27", "DT1": "sample string 28", "DT2": "sample string 29", "DT3": "sample string 30", "DQ1": 31.0, "DQ2": 32.0, "DQ3": 33.0, "DU1": 34, "DU2": 35, "DU3": 36, "DR1": 37.0, "DR2": 38.0, "DR3": 39.0, "DA1": 40.0, "DA2": 41.0, "DA3": 42.0, "DelName": "sample string 43", "DelAddress1": "sample string 44", "DelAddress2": "sample string 45", "DelCityname": "sample string 46", "DelStatename": "sample string 47", "DelZipCode": "sample string 48", "DelCountryID": 49, "PPStatusID": 50, "DCashPurposeID": 51, "LastUpdateDate": "2025-08-02T20:03:39.3512766+05:30", "XMLVAR": "sample string 53", "DemandDescription": [ { "CCCD": "sample string 1", "DescriptionID": 2, "DemandID": 3, "PageID": 4, "Description": "sample string 5", "Status": "sample string 6", "LastUpdateDate": "2025-08-02T20:03:39.3512766+05:30" }, { "CCCD": "sample string 1", "DescriptionID": 2, "DemandID": 3, "PageID": 4, "Description": "sample string 5", "Status": "sample string 6", "LastUpdateDate": "2025-08-02T20:03:39.3512766+05:30" } ] }
text/html
Sample:
{"CCCD":"sample string 1","DemandID":2,"AccountID":3,"CustomerID":4,"FranchiseID":5,"ExchangeID":6,"CustomerTypeID":7,"DCashTypeID":8,"SubIndustryID":9,"ProductID":10,"SubProductID":11,"LogDate":"2025-08-02T20:03:39.3512766+05:30","Title":"sample string 13","ShortDescription":"sample string 14","Cash":15.0,"MinAmt":16.0,"Multiples":17.0,"Rate":18.0,"Period":19.0,"SecValue":20.0,"PeriodUOM":21,"Quantity":22.0,"QuantityUOM":23,"MinQuantity":24.0,"StartDate":"2025-08-02T20:03:39.3512766+05:30","ExpiryDate":"2025-08-02T20:03:39.3512766+05:30","Status":"sample string 27","DT1":"sample string 28","DT2":"sample string 29","DT3":"sample string 30","DQ1":31.0,"DQ2":32.0,"DQ3":33.0,"DU1":34,"DU2":35,"DU3":36,"DR1":37.0,"DR2":38.0,"DR3":39.0,"DA1":40.0,"DA2":41.0,"DA3":42.0,"DelName":"sample string 43","DelAddress1":"sample string 44","DelAddress2":"sample string 45","DelCityname":"sample string 46","DelStatename":"sample string 47","DelZipCode":"sample string 48","DelCountryID":49,"PPStatusID":50,"DCashPurposeID":51,"LastUpdateDate":"2025-08-02T20:03:39.3512766+05:30","XMLVAR":"sample string 53","DemandDescription":[{"CCCD":"sample string 1","DescriptionID":2,"DemandID":3,"PageID":4,"Description":"sample string 5","Status":"sample string 6","LastUpdateDate":"2025-08-02T20:03:39.3512766+05:30"},{"CCCD":"sample string 1","DescriptionID":2,"DemandID":3,"PageID":4,"Description":"sample string 5","Status":"sample string 6","LastUpdateDate":"2025-08-02T20:03:39.3512766+05:30"}]}
application/xml, text/xml
Sample:
<PCXMLDemand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PowerCashAPI.Models"> <AccountID>3</AccountID> <CCCD>sample string 1</CCCD> <Cash>15</Cash> <CustomerID>4</CustomerID> <CustomerTypeID>7</CustomerTypeID> <DA1>40</DA1> <DA2>41</DA2> <DA3>42</DA3> <DCashPurposeID>51</DCashPurposeID> <DCashTypeID>8</DCashTypeID> <DQ1>31</DQ1> <DQ2>32</DQ2> <DQ3>33</DQ3> <DR1>37</DR1> <DR2>38</DR2> <DR3>39</DR3> <DT1>sample string 28</DT1> <DT2>sample string 29</DT2> <DT3>sample string 30</DT3> <DU1>34</DU1> <DU2>35</DU2> <DU3>36</DU3> <DelAddress1>sample string 44</DelAddress1> <DelAddress2>sample string 45</DelAddress2> <DelCityname>sample string 46</DelCityname> <DelCountryID>49</DelCountryID> <DelName>sample string 43</DelName> <DelStatename>sample string 47</DelStatename> <DelZipCode>sample string 48</DelZipCode> <DemandDescription> <PCXMLDemandDescription> <CCCD>sample string 1</CCCD> <DemandID>3</DemandID> <Description>sample string 5</Description> <DescriptionID>2</DescriptionID> <LastUpdateDate>2025-08-02T20:03:39.3512766+05:30</LastUpdateDate> <PageID>4</PageID> <Status>sample string 6</Status> </PCXMLDemandDescription> <PCXMLDemandDescription> <CCCD>sample string 1</CCCD> <DemandID>3</DemandID> <Description>sample string 5</Description> <DescriptionID>2</DescriptionID> <LastUpdateDate>2025-08-02T20:03:39.3512766+05:30</LastUpdateDate> <PageID>4</PageID> <Status>sample string 6</Status> </PCXMLDemandDescription> </DemandDescription> <DemandID>2</DemandID> <ExchangeID>6</ExchangeID> <ExpiryDate>2025-08-02T20:03:39.3512766+05:30</ExpiryDate> <FranchiseID>5</FranchiseID> <LastUpdateDate>2025-08-02T20:03:39.3512766+05:30</LastUpdateDate> <LogDate>2025-08-02T20:03:39.3512766+05:30</LogDate> <MinAmt>16</MinAmt> <MinQuantity>24</MinQuantity> <Multiples>17</Multiples> <PPStatusID>50</PPStatusID> <Period>19</Period> <PeriodUOM>21</PeriodUOM> <ProductID>10</ProductID> <Quantity>22</Quantity> <QuantityUOM>23</QuantityUOM> <Rate>18</Rate> <SecValue>20</SecValue> <ShortDescription>sample string 14</ShortDescription> <StartDate>2025-08-02T20:03:39.3512766+05:30</StartDate> <Status>sample string 27</Status> <SubIndustryID>9</SubIndustryID> <SubProductID>11</SubProductID> <Title>sample string 13</Title> <XMLVAR>sample string 53</XMLVAR> </PCXMLDemand>