GET api/affiliations?contactId={contactId}

Get affiliates associated to a contact.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
contactId

Guid 00000000-0000-0000-0000-000000000000

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Affiliation
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Name

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "cf085e73-720e-4983-a6a8-12fe4891dc72",
    "Name": "sample string 2"
  },
  {
    "Id": "cf085e73-720e-4983-a6a8-12fe4891dc72",
    "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>cf085e73-720e-4983-a6a8-12fe4891dc72</Id>
    <Name>sample string 2</Name>
  </Affiliation>
  <Affiliation>
    <Id>cf085e73-720e-4983-a6a8-12fe4891dc72</Id>
    <Name>sample string 2</Name>
  </Affiliation>
</ArrayOfAffiliation>