GET api/Offer/GetAllOCashPurpose?cccd={cccd}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
cccd

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of PCXMLOCashPurpose
NameDescriptionTypeAdditional information
CCCD

string

None.

OCashPurposeID

integer

None.

OCashTypeID

integer

None.

Code

string

None.

Name

string

None.

LastUpdateDate

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CCCD": "sample string 1",
    "OCashPurposeID": 2,
    "OCashTypeID": 3,
    "Code": "sample string 4",
    "Name": "sample string 5",
    "LastUpdateDate": "2025-08-02T20:11:02.9401222+05:30"
  },
  {
    "CCCD": "sample string 1",
    "OCashPurposeID": 2,
    "OCashTypeID": 3,
    "Code": "sample string 4",
    "Name": "sample string 5",
    "LastUpdateDate": "2025-08-02T20:11:02.9401222+05:30"
  }
]

text/html

Sample:
[{"CCCD":"sample string 1","OCashPurposeID":2,"OCashTypeID":3,"Code":"sample string 4","Name":"sample string 5","LastUpdateDate":"2025-08-02T20:11:02.9401222+05:30"},{"CCCD":"sample string 1","OCashPurposeID":2,"OCashTypeID":3,"Code":"sample string 4","Name":"sample string 5","LastUpdateDate":"2025-08-02T20:11:02.9401222+05:30"}]

application/xml, text/xml

Sample:
<ArrayOfPCXMLOCashPurpose xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PowerCashAPI.Models">
  <PCXMLOCashPurpose>
    <CCCD>sample string 1</CCCD>
    <Code>sample string 4</Code>
    <LastUpdateDate>2025-08-02T20:11:02.9401222+05:30</LastUpdateDate>
    <Name>sample string 5</Name>
    <OCashPurposeID>2</OCashPurposeID>
    <OCashTypeID>3</OCashTypeID>
  </PCXMLOCashPurpose>
  <PCXMLOCashPurpose>
    <CCCD>sample string 1</CCCD>
    <Code>sample string 4</Code>
    <LastUpdateDate>2025-08-02T20:11:02.9401222+05:30</LastUpdateDate>
    <Name>sample string 5</Name>
    <OCashPurposeID>2</OCashPurposeID>
    <OCashTypeID>3</OCashTypeID>
  </PCXMLOCashPurpose>
</ArrayOfPCXMLOCashPurpose>