GET profile/{id}/ProfileWithListingsAndAffiliations

Gets A Profile with its Listings and Any Affiliations

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The Profile's ProfileID

integer

Required

Body Parameters

None.

Response Information

Resource Description

ProfileListingsAndAffCodesDto
NameDescriptionTypeAdditional information
Listings

Collection of ListingDto

None.

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:
{
  • "Listings": [
      {
      • "ListingID": 1,
      • "ProfileID": 1,
      • "CategoryID": 1,
      • "SubCategoryID": 1,
      • "DisplayName": "sample string 2",
      • "Website": "sample string 3",
      • "Email": "sample string 4",
      • "Descr": "sample string 5",
      • "Expires": true,
      • "Keywords": "sample string 6",
      • "WebListing": true,
      • "PrintListing": true,
      • "PrimaryListing": true,
      • "Active": true,
      • "Directions": "sample string 7",
      • "Address1": "sample string 8",
      • "Address2": "sample string 9",
      • "City": "sample string 10",
      • "State": "sample string 11",
      • "Zip": "sample string 12",
      • "ZipExt": "sample string 13",
      • "SoldBy": 1,
      • "ChangedBy": "sample string 14",
      • "DateCreated": "2024-05-13T20:27:29.7568871Z",
      • "DateChanged": "2024-05-13T20:27:29.7568871Z",
      • "BusinessLogo": "sample string 15",
      • "ListingPrefix": "sample string 16",
      • "DefaultAppearance": true,
      • "ColorHighLightBox": "sample string 17",
      • "ColorFont": "sample string 18",
      • "ColorBorder": "sample string 19",
      • "BorderSize": 1,
      • "FontStyle": "sample string 20",
      • "FontSize": 1,
      • "ShowMap": true,
      • "ShowAddress": true,
      • "ShowPhone": true,
      • "ShowFax": true,
      • "ShowBusDescr": true,
      • "ShowWebsite": true,
      • "ShowEmail": true,
      • "Longitude": "sample string 21",
      • "Latitude": "sample string 22",
      • "MapURL": "sample string 23",
      • "ListingNotes": "sample string 24",
      • "HTMLOverride": "sample string 25",
      • "WebsiteRedirect": "sample string 26",
      • "DateExpires": "2024-05-13T20:27:29.7578861Z",
      • "Phone": "sample string 27",
      • "Phone2": "sample string 28",
      • "Fax": "sample string 29",
      • "Rep": "sample string 30",
      • "OverrideProfileSettings": true,
      • "OverrideSystemPreferences": true,
      • "RotateOrder": 1,
      • "EntityID": 1,
      • "ListingTypeID": 1,
      • "ShortDescr": "sample string 31",
      • "ProductsAndServices": "sample string 32",
      • "DetailsListingTypeID": 1,
      • "MobileAppListingTypeID": 1,
      • "RelatedProfileIdOverride": 1,
      • "ListingCategory": {
        • "CategoryID": 1,
        • "Category": "sample string 2",
        • "Descr": "sample string 3",
        • "Keywords": "sample string 4",
        • "SICCode": "sample string 5",
        • "NAICSCode": "sample string 6",
        • "OtherCode1": "sample string 7",
        • "OtherCode2": "sample string 8",
        • "DateCreated": "2024-05-13T20:27:29.7588855Z",
        • "DateChanged": "2024-05-13T20:27:29.7588855Z",
        • "ChangedBy": "sample string 9",
        • "RedirectToURL": "sample string 10",
        • "Expires": true,
        • "DateExpires": "2024-05-13T20:27:29.7588855Z",
        • "StandardCategoryID": 1,
        • "EntityIDs": [
          • 1,
          • 2
          ],
        • "Listings": [],
        • "ListingSubCategories": [
            {
            • "SubCategoryID": 1,
            • "CategoryID": 1,
            • "SubCategory": "sample string 2",
            • "Keywords": "sample string 3",
            • "Descr": "sample string 4",
            • "DateCreated": "2024-05-13T20:27:29.7598861Z",
            • "DateChanged": "2024-05-13T20:27:29.7598861Z",
            • "ChangedBy": "sample string 5",
            • "RedirectToURL": "sample string 6",
            • "Expires": true,
            • "DateExpires": "2024-05-13T20:27:29.7598861Z",
            • "Listings": [],
            • "ObjectState": 0
            },
            {
            • "SubCategoryID": 1,
            • "CategoryID": 1,
            • "SubCategory": "sample string 2",
            • "Keywords": "sample string 3",
            • "Descr": "sample string 4",
            • "DateCreated": "2024-05-13T20:27:29.7598861Z",
            • "DateChanged": "2024-05-13T20:27:29.7598861Z",
            • "ChangedBy": "sample string 5",
            • "RedirectToURL": "sample string 6",
            • "Expires": true,
            • "DateExpires": "2024-05-13T20:27:29.7598861Z",
            • "Listings": [],
            • "ObjectState": 0
            }
          ],
        • "ObjectState": 0
        },
      • "ListingSubCategory": {
        • "SubCategoryID": 1,
        • "CategoryID": 1,
        • "SubCategory": "sample string 2",
        • "Keywords": "sample string 3",
        • "Descr": "sample string 4",
        • "DateCreated": "2024-05-13T20:27:29.7598861Z",
        • "DateChanged": "2024-05-13T20:27:29.7598861Z",
        • "ChangedBy": "sample string 5",
        • "RedirectToURL": "sample string 6",
        • "Expires": true,
        • "DateExpires": "2024-05-13T20:27:29.7598861Z",
        • "Listings": [],
        • "ListingCategory": {
          • "CategoryID": 1,
          • "Category": "sample string 2",
          • "Descr": "sample string 3",
          • "Keywords": "sample string 4",
          • "SICCode": "sample string 5",
          • "NAICSCode": "sample string 6",
          • "OtherCode1": "sample string 7",
          • "OtherCode2": "sample string 8",
          • "DateCreated": "2024-05-13T20:27:29.7588855Z",
          • "DateChanged": "2024-05-13T20:27:29.7588855Z",
          • "ChangedBy": "sample string 9",
          • "RedirectToURL": "sample string 10",
          • "Expires": true,
          • "DateExpires": "2024-05-13T20:27:29.7588855Z",
          • "StandardCategoryID": 1,
          • "EntityIDs": [
            • 1,
            • 2
            ],
          • "Listings": [],
          • "ListingSubCategories": [],
          • "ObjectState": 0
          },
        • "ObjectState": 0
        },
      • "ResultsListingType": {
        • "ListingTypeID": 1,
        • "ListingType1": "sample string 2",
        • "ListingType": "sample string 3",
        • "Descr": "sample string 4",
        • "DateCreated": "2024-05-13T20:27:29.760886Z",
        • "DateChanged": "2024-05-13T20:27:29.760886Z",
        • "ChangedBy": "sample string 5",
        • "CssClass_Listing": "sample string 6",
        • "CssClass_Detail": "sample string 7",
        • "ObjectState": 0
        },
      • "DetailsListingType": {
        • "ListingTypeID": 1,
        • "ListingType1": "sample string 2",
        • "ListingType": "sample string 3",
        • "Descr": "sample string 4",
        • "DateCreated": "2024-05-13T20:27:29.760886Z",
        • "DateChanged": "2024-05-13T20:27:29.760886Z",
        • "ChangedBy": "sample string 5",
        • "CssClass_Listing": "sample string 6",
        • "CssClass_Detail": "sample string 7",
        • "ObjectState": 0
        },
      • "CategorySubCategory": "sample string 33",
      • "ObjectState": 0
      },
      {
      • "ListingID": 1,
      • "ProfileID": 1,
      • "CategoryID": 1,
      • "SubCategoryID": 1,
      • "DisplayName": "sample string 2",
      • "Website": "sample string 3",
      • "Email": "sample string 4",
      • "Descr": "sample string 5",
      • "Expires": true,
      • "Keywords": "sample string 6",
      • "WebListing": true,
      • "PrintListing": true,
      • "PrimaryListing": true,
      • "Active": true,
      • "Directions": "sample string 7",
      • "Address1": "sample string 8",
      • "Address2": "sample string 9",
      • "City": "sample string 10",
      • "State": "sample string 11",
      • "Zip": "sample string 12",
      • "ZipExt": "sample string 13",
      • "SoldBy": 1,
      • "ChangedBy": "sample string 14",
      • "DateCreated": "2024-05-13T20:27:29.7568871Z",
      • "DateChanged": "2024-05-13T20:27:29.7568871Z",
      • "BusinessLogo": "sample string 15",
      • "ListingPrefix": "sample string 16",
      • "DefaultAppearance": true,
      • "ColorHighLightBox": "sample string 17",
      • "ColorFont": "sample string 18",
      • "ColorBorder": "sample string 19",
      • "BorderSize": 1,
      • "FontStyle": "sample string 20",
      • "FontSize": 1,
      • "ShowMap": true,
      • "ShowAddress": true,
      • "ShowPhone": true,
      • "ShowFax": true,
      • "ShowBusDescr": true,
      • "ShowWebsite": true,
      • "ShowEmail": true,
      • "Longitude": "sample string 21",
      • "Latitude": "sample string 22",
      • "MapURL": "sample string 23",
      • "ListingNotes": "sample string 24",
      • "HTMLOverride": "sample string 25",
      • "WebsiteRedirect": "sample string 26",
      • "DateExpires": "2024-05-13T20:27:29.7578861Z",
      • "Phone": "sample string 27",
      • "Phone2": "sample string 28",
      • "Fax": "sample string 29",
      • "Rep": "sample string 30",
      • "OverrideProfileSettings": true,
      • "OverrideSystemPreferences": true,
      • "RotateOrder": 1,
      • "EntityID": 1,
      • "ListingTypeID": 1,
      • "ShortDescr": "sample string 31",
      • "ProductsAndServices": "sample string 32",
      • "DetailsListingTypeID": 1,
      • "MobileAppListingTypeID": 1,
      • "RelatedProfileIdOverride": 1,
      • "ListingCategory": {
        • "CategoryID": 1,
        • "Category": "sample string 2",
        • "Descr": "sample string 3",
        • "Keywords": "sample string 4",
        • "SICCode": "sample string 5",
        • "NAICSCode": "sample string 6",
        • "OtherCode1": "sample string 7",
        • "OtherCode2": "sample string 8",
        • "DateCreated": "2024-05-13T20:27:29.7588855Z",
        • "DateChanged": "2024-05-13T20:27:29.7588855Z",
        • "ChangedBy": "sample string 9",
        • "RedirectToURL": "sample string 10",
        • "Expires": true,
        • "DateExpires": "2024-05-13T20:27:29.7588855Z",
        • "StandardCategoryID": 1,
        • "EntityIDs": [
          • 1,
          • 2
          ],
        • "Listings": [],
        • "ListingSubCategories": [
            {
            • "SubCategoryID": 1,
            • "CategoryID": 1,
            • "SubCategory": "sample string 2",
            • "Keywords": "sample string 3",
            • "Descr": "sample string 4",
            • "DateCreated": "2024-05-13T20:27:29.7598861Z",
            • "DateChanged": "2024-05-13T20:27:29.7598861Z",
            • "ChangedBy": "sample string 5",
            • "RedirectToURL": "sample string 6",
            • "Expires": true,
            • "DateExpires": "2024-05-13T20:27:29.7598861Z",
            • "Listings": [],
            • "ObjectState": 0
            },
            {
            • "SubCategoryID": 1,
            • "CategoryID": 1,
            • "SubCategory": "sample string 2",
            • "Keywords": "sample string 3",
            • "Descr": "sample string 4",
            • "DateCreated": "2024-05-13T20:27:29.7598861Z",
            • "DateChanged": "2024-05-13T20:27:29.7598861Z",
            • "ChangedBy": "sample string 5",
            • "RedirectToURL": "sample string 6",
            • "Expires": true,
            • "DateExpires": "2024-05-13T20:27:29.7598861Z",
            • "Listings": [],
            • "ObjectState": 0
            }
          ],
        • "ObjectState": 0
        },
      • "ListingSubCategory": {
        • "SubCategoryID": 1,
        • "CategoryID": 1,
        • "SubCategory": "sample string 2",
        • "Keywords": "sample string 3",
        • "Descr": "sample string 4",
        • "DateCreated": "2024-05-13T20:27:29.7598861Z",
        • "DateChanged": "2024-05-13T20:27:29.7598861Z",
        • "ChangedBy": "sample string 5",
        • "RedirectToURL": "sample string 6",
        • "Expires": true,
        • "DateExpires": "2024-05-13T20:27:29.7598861Z",
        • "Listings": [],
        • "ListingCategory": {
          • "CategoryID": 1,
          • "Category": "sample string 2",
          • "Descr": "sample string 3",
          • "Keywords": "sample string 4",
          • "SICCode": "sample string 5",
          • "NAICSCode": "sample string 6",
          • "OtherCode1": "sample string 7",
          • "OtherCode2": "sample string 8",
          • "DateCreated": "2024-05-13T20:27:29.7588855Z",
          • "DateChanged": "2024-05-13T20:27:29.7588855Z",
          • "ChangedBy": "sample string 9",
          • "RedirectToURL": "sample string 10",
          • "Expires": true,
          • "DateExpires": "2024-05-13T20:27:29.7588855Z",
          • "StandardCategoryID": 1,
          • "EntityIDs": [
            • 1,
            • 2
            ],
          • "Listings": [],
          • "ListingSubCategories": [],
          • "ObjectState": 0
          },
        • "ObjectState": 0
        },
      • "ResultsListingType": {
        • "ListingTypeID": 1,
        • "ListingType1": "sample string 2",
        • "ListingType": "sample string 3",
        • "Descr": "sample string 4",
        • "DateCreated": "2024-05-13T20:27:29.760886Z",
        • "DateChanged": "2024-05-13T20:27:29.760886Z",
        • "ChangedBy": "sample string 5",
        • "CssClass_Listing": "sample string 6",
        • "CssClass_Detail": "sample string 7",
        • "ObjectState": 0
        },
      • "DetailsListingType": {
        • "ListingTypeID": 1,
        • "ListingType1": "sample string 2",
        • "ListingType": "sample string 3",
        • "Descr": "sample string 4",
        • "DateCreated": "2024-05-13T20:27:29.760886Z",
        • "DateChanged": "2024-05-13T20:27:29.760886Z",
        • "ChangedBy": "sample string 5",
        • "CssClass_Listing": "sample string 6",
        • "CssClass_Detail": "sample string 7",
        • "ObjectState": 0
        },
      • "CategorySubCategory": "sample string 33",
      • "ObjectState": 0
      }
    ],
  • "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
            ]
          }
        ]
      }
    ]
}