GET api/General/GetCustAccDetail?ScheduleId={ScheduleId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ScheduleId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
CustomerAccountDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| Installments | Collection of AccDet |
None. |
|
| OtherCharges | Collection of AccDet |
None. |
Response Formats
application/json, text/json
Sample:
{
"Installments": [
{
"$id": "2",
"CustId": 1,
"ScheduleID": 1,
"InstDesc": "sample string 1",
"Amount": 2,
"PayableAmount": 1,
"PaidAmount": 1,
"BalanceAmount": 1,
"isForBlackList": true,
"PaymentType": 3,
"NoOfInstallments": 4
},
{
"$ref": "2"
}
],
"OtherCharges": [
{
"$ref": "2"
},
{
"$ref": "2"
}
]
}
application/xml, text/xml
Sample:
<CustomerAccountDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PMS_WEBAPI_UPDATED.Controllers.api">
<Installments>
<AccDet>
<Amount>2</Amount>
<BalanceAmount>1</BalanceAmount>
<CustId>1</CustId>
<InstDesc>sample string 1</InstDesc>
<NoOfInstallments>4</NoOfInstallments>
<PaidAmount>1</PaidAmount>
<PayableAmount>1</PayableAmount>
<PaymentType>3</PaymentType>
<ScheduleID>1</ScheduleID>
<isForBlackList>true</isForBlackList>
</AccDet>
<AccDet>
<Amount>2</Amount>
<BalanceAmount>1</BalanceAmount>
<CustId>1</CustId>
<InstDesc>sample string 1</InstDesc>
<NoOfInstallments>4</NoOfInstallments>
<PaidAmount>1</PaidAmount>
<PayableAmount>1</PayableAmount>
<PaymentType>3</PaymentType>
<ScheduleID>1</ScheduleID>
<isForBlackList>true</isForBlackList>
</AccDet>
</Installments>
<OtherCharges>
<AccDet>
<Amount>2</Amount>
<BalanceAmount>1</BalanceAmount>
<CustId>1</CustId>
<InstDesc>sample string 1</InstDesc>
<NoOfInstallments>4</NoOfInstallments>
<PaidAmount>1</PaidAmount>
<PayableAmount>1</PayableAmount>
<PaymentType>3</PaymentType>
<ScheduleID>1</ScheduleID>
<isForBlackList>true</isForBlackList>
</AccDet>
<AccDet>
<Amount>2</Amount>
<BalanceAmount>1</BalanceAmount>
<CustId>1</CustId>
<InstDesc>sample string 1</InstDesc>
<NoOfInstallments>4</NoOfInstallments>
<PaidAmount>1</PaidAmount>
<PayableAmount>1</PayableAmount>
<PaymentType>3</PaymentType>
<ScheduleID>1</ScheduleID>
<isForBlackList>true</isForBlackList>
</AccDet>
</OtherCharges>
</CustomerAccountDetail>