GET v2/apps/{appId}/push/categories?type={type}

Retrieves the currently active list of push categories for an app

Request Information

URI Parameters

Name Type Description
appId integer

Application Id to fetch the category list for

Additional Info :

Required

type integer
Additional Info :

Required

Body Parameters

None.

Response Information

Resource Description

Collection of PushCategory objects

Collection of PushCategoryVm
Name Type Description
Name string
CreateDate date
ResId integer
Type PushCategoryType
Id integer

Response Formats

[
  {
    "name": "sample string 1",
    "createDate": "2019-02-20T19:51:05.7169108Z",
    "resId": 3,
    "type": 1,
    "id": 4
  },
  {
    "name": "sample string 1",
    "createDate": "2019-02-20T19:51:05.7169108Z",
    "resId": 3,
    "type": 1,
    "id": 4
  }
]
<ArrayOfPushCategoryVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NativLabs.TouchApp.Core.Service.Property">
  <PushCategoryVm>
    <Id>4</Id>
    <CreateDate>2019-02-20T19:51:05.7169108+00:00</CreateDate>
    <Name>sample string 1</Name>
    <ResId>3</ResId>
    <Type>Master</Type>
  </PushCategoryVm>
  <PushCategoryVm>
    <Id>4</Id>
    <CreateDate>2019-02-20T19:51:05.7169108+00:00</CreateDate>
    <Name>sample string 1</Name>
    <ResId>3</ResId>
    <Type>Master</Type>
  </PushCategoryVm>
</ArrayOfPushCategoryVm>