POST api/Donation/CreateZakat
Create Zakat header --> Key : This variable is confirmed by the access process
Request Information
URI Parameters
None.
Body Parameters
Api_MakeZakat| Name | Description | Type | Additional information |
|---|---|---|---|
| DonorTypeID | integer |
None. |
|
| DonorName | string |
None. |
|
| IsSubscribeNewsLetter | boolean |
None. |
|
| GuestEmail | string |
None. |
|
| GuestCountryCode | string |
None. |
|
| GuestMobileNumber | string |
None. |
|
| TotalZakatAmount | decimal number |
None. |
|
| PaymentMethodID | integer |
None. |
|
| LangCode | integer |
None. |
|
| ClientIPAddress | string |
None. |
|
| BankResponseHandlerUrl | string |
None. |
Parameter Information
model
| Property | Description |
|---|---|
| DonorTypeID (Int32) | |
| DonorName (String) | |
| IsSubscribeNewsLetter (Boolean) | |
| GuestEmail (String) | |
| GuestCountryCode (String) | |
| GuestMobileNumber (String) | |
| TotalZakatAmount (Decimal) | |
| PaymentMethodID (Int32) | |
| LangCode (Int32) | |
| ClientIPAddress (String) | |
| BankResponseHandlerUrl (String) |
Request Formats
application/json, text/json
Sample:
{
"DonorTypeID": 1,
"DonorName": "sample string 2",
"IsSubscribeNewsLetter": true,
"GuestEmail": "sample string 4",
"GuestCountryCode": "sample string 5",
"GuestMobileNumber": "sample string 6",
"TotalZakatAmount": 7.0,
"PaymentMethodID": 8,
"LangCode": 9,
"ClientIPAddress": "sample string 10",
"BankResponseHandlerUrl": "sample string 11"
}
application/xml, text/xml
Sample:
<Api_MakeZakat xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.ViewModels.API"> <BankResponseHandlerUrl>sample string 11</BankResponseHandlerUrl> <ClientIPAddress>sample string 10</ClientIPAddress> <DonorName>sample string 2</DonorName> <DonorTypeID>1</DonorTypeID> <GuestCountryCode>sample string 5</GuestCountryCode> <GuestEmail>sample string 4</GuestEmail> <GuestMobileNumber>sample string 6</GuestMobileNumber> <IsSubscribeNewsLetter>true</IsSubscribeNewsLetter> <LangCode>9</LangCode> <PaymentMethodID>8</PaymentMethodID> <TotalZakatAmount>7</TotalZakatAmount> </Api_MakeZakat>
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) | |
| DonorName (String) | |
| IsSubscribeNewsLetter (Boolean) | |
| GuestEmail (String) | |
| GuestCountryCode (String) | |
| GuestMobileNumber (String) | |
| TotalZakatAmount (Decimal) | |
| PaymentMethodID (Int32) | |
| LangCode (Int32) | |
| ClientIPAddress (String) | |
| BankResponseHandlerUrl (String) |