GET api/Admin/News/{NewsID}?localeID={localeID}
The user can call this API to retrieve detailed information for all associated news items or a specific news item located in the Extranet.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
NewsID |
Input is either nothing (returns all news items) or a specific NewsID (returns information on specific News Item). |
integer |
Required |
localeID | integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
NewsName | Description | Type | Additional information |
---|---|---|---|
ID |
NewsID |
integer |
None. |
Headline |
The Headline (Subject) of the News Article |
string |
None. |
Story |
The Story (Content) of the News Article |
string |
None. |
ImageFileLocation |
The location of the image file associated to the News Article (Absolute URI) |
string |
None. |
Response Formats
application/xml, text/xml
Sample:
<News> <ID>1</ID> <Headline>sample string 2</Headline> <Story>sample string 3</Story> <ImageFileLocation>sample string 4</ImageFileLocation> </News>
application/json, text/json
Sample:
{ "ID": 1, "Headline": "sample string 2", "Story": "sample string 3", "ImageFileLocation": "sample string 4" }