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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
siteId

integer

Required

site

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of ContactSubCategories
NameDescriptionTypeAdditional information
ContactSubCategoryId

integer

None.

ContactCategoryId

integer

None.

SiteUUID

globally unique identifier

None.

ContactSubCategoryName

string

None.

SortOrder

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ContactSubCategoryId": 1,
    "ContactCategoryId": 2,
    "SiteUUID": "32291418-1d8c-46b6-945b-b49c2ceeaace",
    "ContactSubCategoryName": "sample string 4",
    "SortOrder": 5
  },
  {
    "ContactSubCategoryId": 1,
    "ContactCategoryId": 2,
    "SiteUUID": "32291418-1d8c-46b6-945b-b49c2ceeaace",
    "ContactSubCategoryName": "sample string 4",
    "SortOrder": 5
  }
]

text/xml

Sample:
<ArrayOfContactSubCategories xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnlineManagementSystemWebApi.Models">
  <ContactSubCategories>
    <ContactCategoryId>2</ContactCategoryId>
    <ContactSubCategoryId>1</ContactSubCategoryId>
    <ContactSubCategoryName>sample string 4</ContactSubCategoryName>
    <SiteUUID>32291418-1d8c-46b6-945b-b49c2ceeaace</SiteUUID>
    <SortOrder>5</SortOrder>
  </ContactSubCategories>
  <ContactSubCategories>
    <ContactCategoryId>2</ContactCategoryId>
    <ContactSubCategoryId>1</ContactSubCategoryId>
    <ContactSubCategoryName>sample string 4</ContactSubCategoryName>
    <SiteUUID>32291418-1d8c-46b6-945b-b49c2ceeaace</SiteUUID>
    <SortOrder>5</SortOrder>
  </ContactSubCategories>
</ArrayOfContactSubCategories>