GET MOSD/getCharityInfo?companyNatNo={companyNatNo}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyNatNo | string |
Required |
Body Parameters
None.
Response Information
Resource Description
getCharityInfoResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| charityName | string |
None. |
|
| charityType | integer |
None. |
|
| resultMessage | getCharityInfoResponseResultMessage |
None. |
Response Formats
application/json, text/json
Sample:
{
"charityNameField": "sample string 1",
"charityTypeField": 2,
"resultMessageField": {
"resultCodeField": 1,
"resultDescField": "sample string 2",
"PropertyChanged": null
},
"PropertyChanged": null
}
application/xml, text/xml
Sample:
<getCharityInfoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inspection.API.MOSDSR">
<PropertyChanged xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" />
<charityNameField>sample string 1</charityNameField>
<charityTypeField>2</charityTypeField>
<resultMessageField>
<PropertyChanged xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" />
<resultCodeField>1</resultCodeField>
<resultDescField>sample string 2</resultDescField>
</resultMessageField>
</getCharityInfoResponse>