GET Profile/{id}/AffiliationsAndPrimaryRelatedAffiliations

Gets Affiliations associated with a given Profile as well as the affiliations of all the Profiles PRIMARILY related to it. Primary relations are generally Employee/Employer relationships.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The Profile's ProfileID

integer

Required

Body Parameters

None.

Response Information

Resource Description

ProfileAndRelatedProfilesAffProDto
NameDescriptionTypeAdditional information
ProfileId

integer

None.

ReportName

string

None.

Member

boolean

None.

Affiliations

Collection of AffiliationDto

None.

RelatedProfiles

Collection of RelatedProfileAffProDto

None.

Response Formats

application/json, text/json

Sample:
{
  • "ProfileId": 1,
  • "ReportName": "sample string 2",
  • "Member": true,
  • "Affiliations": [
      {
      • "AffId": 1,
      • "AffCode": "sample string 2",
      • "Descr": "sample string 3",
      • "PublicDisplay": true,
      • "Icon": "sample string 5",
      • "AffCodeTypeId": 6,
      • "IconText": "sample string 7",
      • "IconUrl": "sample string 8",
      • "ListIsAvailableOnWebsite": true,
      • "IsAffinity": true,
      • "IsEntity": true,
      • "AffCodeType": "sample string 12",
      • "ChildAffIds": [
        • 1,
        • 2
        ]
      },
      {
      • "AffId": 1,
      • "AffCode": "sample string 2",
      • "Descr": "sample string 3",
      • "PublicDisplay": true,
      • "Icon": "sample string 5",
      • "AffCodeTypeId": 6,
      • "IconText": "sample string 7",
      • "IconUrl": "sample string 8",
      • "ListIsAvailableOnWebsite": true,
      • "IsAffinity": true,
      • "IsEntity": true,
      • "AffCodeType": "sample string 12",
      • "ChildAffIds": [
        • 1,
        • 2
        ]
      }
    ],
  • "RelatedProfiles": [
      {
      • "ProfileId": 1,
      • "ReportName": "sample string 2",
      • "Member": true,
      • "RelationType": "sample string 4",
      • "Affiliations": [
          {
          • "AffId": 1,
          • "AffCode": "sample string 2",
          • "Descr": "sample string 3",
          • "PublicDisplay": true,
          • "Icon": "sample string 5",
          • "AffCodeTypeId": 6,
          • "IconText": "sample string 7",
          • "IconUrl": "sample string 8",
          • "ListIsAvailableOnWebsite": true,
          • "IsAffinity": true,
          • "IsEntity": true,
          • "AffCodeType": "sample string 12",
          • "ChildAffIds": [
            • 1,
            • 2
            ]
          },
          {
          • "AffId": 1,
          • "AffCode": "sample string 2",
          • "Descr": "sample string 3",
          • "PublicDisplay": true,
          • "Icon": "sample string 5",
          • "AffCodeTypeId": 6,
          • "IconText": "sample string 7",
          • "IconUrl": "sample string 8",
          • "ListIsAvailableOnWebsite": true,
          • "IsAffinity": true,
          • "IsEntity": true,
          • "AffCodeType": "sample string 12",
          • "ChildAffIds": [
            • 1,
            • 2
            ]
          }
        ]
      },
      {
      • "ProfileId": 1,
      • "ReportName": "sample string 2",
      • "Member": true,
      • "RelationType": "sample string 4",
      • "Affiliations": [
          {
          • "AffId": 1,
          • "AffCode": "sample string 2",
          • "Descr": "sample string 3",
          • "PublicDisplay": true,
          • "Icon": "sample string 5",
          • "AffCodeTypeId": 6,
          • "IconText": "sample string 7",
          • "IconUrl": "sample string 8",
          • "ListIsAvailableOnWebsite": true,
          • "IsAffinity": true,
          • "IsEntity": true,
          • "AffCodeType": "sample string 12",
          • "ChildAffIds": [
            • 1,
            • 2
            ]
          },
          {
          • "AffId": 1,
          • "AffCode": "sample string 2",
          • "Descr": "sample string 3",
          • "PublicDisplay": true,
          • "Icon": "sample string 5",
          • "AffCodeTypeId": 6,
          • "IconText": "sample string 7",
          • "IconUrl": "sample string 8",
          • "ListIsAvailableOnWebsite": true,
          • "IsAffinity": true,
          • "IsEntity": true,
          • "AffCodeType": "sample string 12",
          • "ChildAffIds": [
            • 1,
            • 2
            ]
          }
        ]
      }
    ]
}