POST api/PortalDonation/CreateZakat
Create Zakat header --> Key : This variable is confirmed by the access process
Request Information
URI Parameters
None.
Body Parameters
Api_PortalMakeZakat| Name | Description | Type | Additional information |
|---|---|---|---|
| DonorTypeID | integer |
None. |
|
| ZakatCountryID | globally unique identifier |
None. |
|
| TotalDonationAmount | decimal number |
None. |
|
| LangCode | integer |
None. |
Parameter Information
model
| Property | Description |
|---|---|
| DonorTypeID (Int32) | |
| ZakatCountryID (Guid) | |
| TotalDonationAmount (Decimal) | |
| LangCode (Int32) |
Request Formats
application/json, text/json
Sample:
{
"DonorTypeID": 1,
"ZakatCountryID": "75d1d16c-7428-4088-a92f-53ad085196aa",
"TotalDonationAmount": 3.0,
"LangCode": 4
}
application/xml, text/xml
Sample:
<Api_PortalMakeZakat xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.ViewModels.API"> <DonorTypeID>1</DonorTypeID> <LangCode>4</LangCode> <TotalDonationAmount>3</TotalDonationAmount> <ZakatCountryID>75d1d16c-7428-4088-a92f-53ad085196aa</ZakatCountryID> </Api_PortalMakeZakat>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |
Parameter Information
model
| Property | Description |
|---|---|
| DonorTypeID (Int32) | |
| ZakatCountryID (Guid) | |
| TotalDonationAmount (Decimal) | |
| LangCode (Int32) |