GET api/applications/cpp/contacts/{id}
Get list of CPPs and the respective ApplicationId and ProgramId by passing ContactId
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Guid "00000000-0000-0000-0000-000000000000" |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ApplicationCppName | Description | Type | Additional information |
---|---|---|---|
ApplicationId | globally unique identifier |
None. |
|
Cpp | IdNamePair |
None. |
|
ProgramId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ApplicationId": "f24293e1-ab6b-4073-bcef-3992a2b4f60c", "Cpp": { "Id": "d2777e8f-9614-41e3-9c6f-655c19fb9054", "Name": "sample string 2" }, "ProgramId": "ad18b422-48c5-44bf-b6e7-2557b75f3096" }, { "ApplicationId": "f24293e1-ab6b-4073-bcef-3992a2b4f60c", "Cpp": { "Id": "d2777e8f-9614-41e3-9c6f-655c19fb9054", "Name": "sample string 2" }, "ProgramId": "ad18b422-48c5-44bf-b6e7-2557b75f3096" } ]
application/xml, text/xml
Sample:
<ArrayOfApplicationCpp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models"> <ApplicationCpp> <ApplicationId>f24293e1-ab6b-4073-bcef-3992a2b4f60c</ApplicationId> <Cpp xmlns:d3p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers"> <d3p1:Id>d2777e8f-9614-41e3-9c6f-655c19fb9054</d3p1:Id> <d3p1:Name>sample string 2</d3p1:Name> </Cpp> <ProgramId>ad18b422-48c5-44bf-b6e7-2557b75f3096</ProgramId> </ApplicationCpp> <ApplicationCpp> <ApplicationId>f24293e1-ab6b-4073-bcef-3992a2b4f60c</ApplicationId> <Cpp xmlns:d3p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers"> <d3p1:Id>d2777e8f-9614-41e3-9c6f-655c19fb9054</d3p1:Id> <d3p1:Name>sample string 2</d3p1:Name> </Cpp> <ProgramId>ad18b422-48c5-44bf-b6e7-2557b75f3096</ProgramId> </ApplicationCpp> </ArrayOfApplicationCpp>