GET api/EmployerCharities/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
EmployerCharity| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| EmployerId | integer |
None. |
|
| CharityNumber | string |
None. |
|
| CGID | integer |
None. |
|
| Deleted | boolean |
None. |
|
| EmployerGuid | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"EmployerId": 2,
"CharityNumber": "sample string 3",
"CGID": 4,
"Deleted": true,
"EmployerGuid": "3333a141-ac55-4c00-b7d6-afbf7d85123d"
}
application/xml, text/xml
Sample:
<EmployerCharity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CGResourcesAPI.Models"> <CGID>4</CGID> <CharityNumber>sample string 3</CharityNumber> <Deleted>true</Deleted> <EmployerGuid>3333a141-ac55-4c00-b7d6-afbf7d85123d</EmployerGuid> <EmployerId>2</EmployerId> <Id>1</Id> </EmployerCharity>