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": "8abe7e2f-b8ea-4eb3-890a-e0af561c8b04", "Cpp": { "Id": "a74f096e-86e6-454f-8b6a-d03a4aa09427", "Name": "sample string 2" }, "ProgramId": "4b5397da-3be5-48f3-9b61-3d9e48b5cf1c" }, { "ApplicationId": "8abe7e2f-b8ea-4eb3-890a-e0af561c8b04", "Cpp": { "Id": "a74f096e-86e6-454f-8b6a-d03a4aa09427", "Name": "sample string 2" }, "ProgramId": "4b5397da-3be5-48f3-9b61-3d9e48b5cf1c" } ]
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>8abe7e2f-b8ea-4eb3-890a-e0af561c8b04</ApplicationId> <Cpp xmlns:d3p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers"> <d3p1:Id>a74f096e-86e6-454f-8b6a-d03a4aa09427</d3p1:Id> <d3p1:Name>sample string 2</d3p1:Name> </Cpp> <ProgramId>4b5397da-3be5-48f3-9b61-3d9e48b5cf1c</ProgramId> </ApplicationCpp> <ApplicationCpp> <ApplicationId>8abe7e2f-b8ea-4eb3-890a-e0af561c8b04</ApplicationId> <Cpp xmlns:d3p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers"> <d3p1:Id>a74f096e-86e6-454f-8b6a-d03a4aa09427</d3p1:Id> <d3p1:Name>sample string 2</d3p1:Name> </Cpp> <ProgramId>4b5397da-3be5-48f3-9b61-3d9e48b5cf1c</ProgramId> </ApplicationCpp> </ArrayOfApplicationCpp>