GET api/Demand/GetAllDemandType?cccd={cccd}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
cccd

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of PCXMLDemandType
NameDescriptionTypeAdditional information
CCCD

string

None.

DemandTypeID

integer

None.

Code

string

None.

Description

string

None.

LastUpdateDate

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CCCD": "sample string 1",
    "DemandTypeID": 2,
    "Code": "sample string 3",
    "Description": "sample string 4",
    "LastUpdateDate": "2025-08-02T20:04:52.6835792+05:30"
  },
  {
    "CCCD": "sample string 1",
    "DemandTypeID": 2,
    "Code": "sample string 3",
    "Description": "sample string 4",
    "LastUpdateDate": "2025-08-02T20:04:52.6835792+05:30"
  }
]

text/html

Sample:
[{"CCCD":"sample string 1","DemandTypeID":2,"Code":"sample string 3","Description":"sample string 4","LastUpdateDate":"2025-08-02T20:04:52.6835792+05:30"},{"CCCD":"sample string 1","DemandTypeID":2,"Code":"sample string 3","Description":"sample string 4","LastUpdateDate":"2025-08-02T20:04:52.6835792+05:30"}]

application/xml, text/xml

Sample:
<ArrayOfPCXMLDemandType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PowerCashAPI.Models">
  <PCXMLDemandType>
    <CCCD>sample string 1</CCCD>
    <Code>sample string 3</Code>
    <DemandTypeID>2</DemandTypeID>
    <Description>sample string 4</Description>
    <LastUpdateDate>2025-08-02T20:04:52.6835792+05:30</LastUpdateDate>
  </PCXMLDemandType>
  <PCXMLDemandType>
    <CCCD>sample string 1</CCCD>
    <Code>sample string 3</Code>
    <DemandTypeID>2</DemandTypeID>
    <Description>sample string 4</Description>
    <LastUpdateDate>2025-08-02T20:04:52.6835792+05:30</LastUpdateDate>
  </PCXMLDemandType>
</ArrayOfPCXMLDemandType>