POST api/EmployerCharities
Request Information
URI Parameters
None.
Body Parameters
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. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"EmployerId": 2,
"CharityNumber": "sample string 3",
"CGID": 4,
"Deleted": true,
"EmployerGuid": "f0840bcb-4ede-40e2-bfbc-dcf68063e299"
}
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>f0840bcb-4ede-40e2-bfbc-dcf68063e299</EmployerGuid> <EmployerId>2</EmployerId> <Id>1</Id> </EmployerCharity>
application/x-www-form-urlencoded
Sample:
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": "d5cda1ed-f15e-4342-8a0b-bbc0b7cdf915"
}
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>d5cda1ed-f15e-4342-8a0b-bbc0b7cdf915</EmployerGuid> <EmployerId>2</EmployerId> <Id>1</Id> </EmployerCharity>