GET api/NewsGroupType/Active
Get news group type
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
List of active news group type
ServiceResultTypedOfListOfNewsGroupType| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | integer |
None. |
|
| Errors | Collection of string |
None. |
|
| Data | Collection of NewsGroupType |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": 1,
"Errors": [
"sample string 1",
"sample string 2"
],
"Data": [
{
"Id": 1,
"Name": "sample string 2"
},
{
"Id": 1,
"Name": "sample string 2"
}
]
}
text/html
Sample:
{"Code":1,"Errors":["sample string 1","sample string 2"],"Data":[{"Id":1,"Name":"sample string 2"},{"Id":1,"Name":"sample string 2"}]}
application/xml, text/xml
Sample:
<ServiceResultTypedOfArrayOfNewsGroupTypeYj8O1tFc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LSW.Common.Models">
<Code>1</Code>
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/TTMWM_MECLAIM_API.ViewModels">
<d2p1:NewsGroupType>
<d2p1:Id>1</d2p1:Id>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NewsGroupType>
<d2p1:NewsGroupType>
<d2p1:Id>1</d2p1:Id>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NewsGroupType>
</Data>
<Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Errors>
</ServiceResultTypedOfArrayOfNewsGroupTypeYj8O1tFc>