GET api/Contacts/getCategories/{site}?siteId={siteId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| siteId | integer |
Required |
|
| site | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of ContactCategories| Name | Description | Type | Additional 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": "230005fd-1f71-4db6-865d-3b0a2a952263",
"ContactCategoryName": "sample string 3",
"SortOrder": 4
},
{
"ContactCategoryId": 1,
"SiteUUID": "230005fd-1f71-4db6-865d-3b0a2a952263",
"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>230005fd-1f71-4db6-865d-3b0a2a952263</SiteUUID>
<SortOrder>4</SortOrder>
</ContactCategories>
<ContactCategories>
<ContactCategoryId>1</ContactCategoryId>
<ContactCategoryName>sample string 3</ContactCategoryName>
<SiteUUID>230005fd-1f71-4db6-865d-3b0a2a952263</SiteUUID>
<SortOrder>4</SortOrder>
</ContactCategories>
</ArrayOfContactCategories>