GET api/affiliations?contactId={contactId}
Get affiliates associated to a contact.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
contactId |
Guid 00000000-0000-0000-0000-000000000000 |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of AffiliationName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
Name | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": "18f2f40d-317f-4b61-bbb5-2d35df3028e0", "Name": "sample string 2" }, { "Id": "18f2f40d-317f-4b61-bbb5-2d35df3028e0", "Name": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfAffiliation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models"> <Affiliation> <Id>18f2f40d-317f-4b61-bbb5-2d35df3028e0</Id> <Name>sample string 2</Name> </Affiliation> <Affiliation> <Id>18f2f40d-317f-4b61-bbb5-2d35df3028e0</Id> <Name>sample string 2</Name> </Affiliation> </ArrayOfAffiliation>