GET api/NoqoodyUser/GetCharityTypes?LanguageId={LanguageId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
LanguageId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
GetCharityTypesResponseName | Description | Type | Additional information |
---|---|---|---|
CharityTypes | Collection of GetCharityTypesList |
None. |
|
success | boolean |
None. |
|
code | string |
None. |
|
message | string |
None. |
|
errors | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "CharityTypes": [ { "CharityID": 1, "CharityName": "sample string 2", "CharityArabicName": "sample string 3", "CharityImageLocation": "sample string 4", "IsActive": true }, { "CharityID": 1, "CharityName": "sample string 2", "CharityArabicName": "sample string 3", "CharityImageLocation": "sample string 4", "IsActive": true } ], "success": true, "code": "sample string 2", "message": "sample string 3", "errors": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<NoqoodyUserModels.GetCharityTypesResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QatarPay.Models"> <code>sample string 2</code> <errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </errors> <message>sample string 3</message> <success>true</success> <CharityTypes> <NoqoodyUserModels.GetCharityTypesList> <CharityArabicName>sample string 3</CharityArabicName> <CharityID>1</CharityID> <CharityImageLocation>sample string 4</CharityImageLocation> <CharityName>sample string 2</CharityName> <IsActive>true</IsActive> </NoqoodyUserModels.GetCharityTypesList> <NoqoodyUserModels.GetCharityTypesList> <CharityArabicName>sample string 3</CharityArabicName> <CharityID>1</CharityID> <CharityImageLocation>sample string 4</CharityImageLocation> <CharityName>sample string 2</CharityName> <IsActive>true</IsActive> </NoqoodyUserModels.GetCharityTypesList> </CharityTypes> </NoqoodyUserModels.GetCharityTypesResponse>