GET api/Activities
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of ActivityName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
parentID | integer |
None. |
|
description | string |
Required String length: inclusive between 0 and 150 |
|
classification | string |
String length: inclusive between 0 and 50 |
Response Formats
application/json, text/json
Sample:
[ { "ID": 1, "parentID": 1, "description": "sample string 1", "classification": "sample string 2" }, { "ID": 1, "parentID": 1, "description": "sample string 1", "classification": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfActivity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NMAUtilityAPI.Entity"> <Activity> <ID>1</ID> <classification>sample string 2</classification> <description>sample string 1</description> <parentID>1</parentID> </Activity> <Activity> <ID>1</ID> <classification>sample string 2</classification> <description>sample string 1</description> <parentID>1</parentID> </Activity> </ArrayOfActivity>