POST api/PortalDonation/CreateZakatalfetr
Create Zakat alfetr header --> Key : This variable is confirmed by the access process
Request Information
URI Parameters
None.
Body Parameters
Api_MakeZakatalfetr| Name | Description | Type | Additional information |
|---|---|---|---|
| DonorTypeID | integer |
None. |
|
| DonorName | string |
None. |
|
| IsSubscribeNewsLetter | boolean |
None. |
|
| GuestEmail | string |
None. |
|
| GuestCountryCode | string |
None. |
|
| GuestMobileNumber | string |
None. |
|
| TotalDonationAmount | decimal number |
None. |
|
| PaymentMethodID | integer |
None. |
|
| LangCode | integer |
None. |
|
| ClientIPAddress | string |
None. |
|
| BankResponseHandlerUrl | string |
None. |
|
| ItemDetailsList | Collection of Api_ItemDetails |
None. |
Parameter Information
model
| Property | Description |
|---|---|
| DonorTypeID (Int32) | |
| DonorName (String) | |
| IsSubscribeNewsLetter (Boolean) | |
| GuestEmail (String) | |
| GuestCountryCode (String) | |
| GuestMobileNumber (String) | |
| TotalDonationAmount (Decimal) | |
| PaymentMethodID (Int32) | |
| LangCode (Int32) | |
| ClientIPAddress (String) | |
| BankResponseHandlerUrl (String) | |
| ItemDetailsList (List`1) |
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",
"TotalDonationAmount": 7.0,
"PaymentMethodID": 8,
"LangCode": 9,
"ClientIPAddress": "sample string 10",
"BankResponseHandlerUrl": "sample string 11",
"ItemDetailsList": [
{
"HeaderId": "ff3eaba2-6b08-4687-842f-62fb9592bebc",
"CountryId": "2c9c9dea-2b09-49a8-817c-95092aae6e41",
"DetailsId": "0416710f-9488-496f-91a7-e71aa2c51b6c",
"ItemId": "c148ffe1-99d0-4b45-bb82-f4ba5e036028",
"ItemAmount": 5.0,
"Quantity": 6.0,
"TotalAmount": 7.0
},
{
"HeaderId": "ff3eaba2-6b08-4687-842f-62fb9592bebc",
"CountryId": "2c9c9dea-2b09-49a8-817c-95092aae6e41",
"DetailsId": "0416710f-9488-496f-91a7-e71aa2c51b6c",
"ItemId": "c148ffe1-99d0-4b45-bb82-f4ba5e036028",
"ItemAmount": 5.0,
"Quantity": 6.0,
"TotalAmount": 7.0
}
]
}
application/xml, text/xml
Sample:
<Api_MakeZakatalfetr 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>
<ItemDetailsList>
<Api_ItemDetails>
<CountryId>2c9c9dea-2b09-49a8-817c-95092aae6e41</CountryId>
<DetailsId>0416710f-9488-496f-91a7-e71aa2c51b6c</DetailsId>
<HeaderId>ff3eaba2-6b08-4687-842f-62fb9592bebc</HeaderId>
<ItemAmount>5</ItemAmount>
<ItemId>c148ffe1-99d0-4b45-bb82-f4ba5e036028</ItemId>
<Quantity>6</Quantity>
<TotalAmount>7</TotalAmount>
</Api_ItemDetails>
<Api_ItemDetails>
<CountryId>2c9c9dea-2b09-49a8-817c-95092aae6e41</CountryId>
<DetailsId>0416710f-9488-496f-91a7-e71aa2c51b6c</DetailsId>
<HeaderId>ff3eaba2-6b08-4687-842f-62fb9592bebc</HeaderId>
<ItemAmount>5</ItemAmount>
<ItemId>c148ffe1-99d0-4b45-bb82-f4ba5e036028</ItemId>
<Quantity>6</Quantity>
<TotalAmount>7</TotalAmount>
</Api_ItemDetails>
</ItemDetailsList>
<LangCode>9</LangCode>
<PaymentMethodID>8</PaymentMethodID>
<TotalDonationAmount>7</TotalDonationAmount>
</Api_MakeZakatalfetr>
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) | |
| TotalDonationAmount (Decimal) | |
| PaymentMethodID (Int32) | |
| LangCode (Int32) | |
| ClientIPAddress (String) | |
| BankResponseHandlerUrl (String) | |
| ItemDetailsList (List`1) |