GET api/Contacts/getCategories/{site}?siteId={siteId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
siteId

integer

Required

site

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of ContactCategories
NameDescriptionTypeAdditional information
ContactCategoryId

integer

None.

SiteUUID

globally unique identifier

None.

ContactCategoryName

string

None.

SortOrder

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ContactCategoryId": 1,
    "SiteUUID": "3b54df6f-0337-4c32-9c9c-1f3241044c4a",
    "ContactCategoryName": "sample string 3",
    "SortOrder": 4
  },
  {
    "ContactCategoryId": 1,
    "SiteUUID": "3b54df6f-0337-4c32-9c9c-1f3241044c4a",
    "ContactCategoryName": "sample string 3",
    "SortOrder": 4
  }
]

text/xml

Sample:
<ArrayOfContactCategories xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnlineManagementSystemWebApi.Models">
  <ContactCategories>
    <ContactCategoryId>1</ContactCategoryId>
    <ContactCategoryName>sample string 3</ContactCategoryName>
    <SiteUUID>3b54df6f-0337-4c32-9c9c-1f3241044c4a</SiteUUID>
    <SortOrder>4</SortOrder>
  </ContactCategories>
  <ContactCategories>
    <ContactCategoryId>1</ContactCategoryId>
    <ContactCategoryName>sample string 3</ContactCategoryName>
    <SiteUUID>3b54df6f-0337-4c32-9c9c-1f3241044c4a</SiteUUID>
    <SortOrder>4</SortOrder>
  </ContactCategories>
</ArrayOfContactCategories>