GET api/News/Get?apiKey={apiKey}&noOfRecords={noOfRecords}&lng={lng}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
apiKey | string |
Required |
|
noOfRecords | integer |
Required |
|
lng | string |
Default value is en |
Body Parameters
None.
Response Information
Resource Description
Collection of NewsName | Description | Type | Additional information |
---|---|---|---|
NewsID | globally unique identifier |
None. |
|
Title | string |
None. |
|
Description | string |
None. |
|
NewsDate | date |
None. |
|
Attachment | Attachment |
None. |
|
ThumbnailAttachment | Attachment |
None. |
|
SourceUrl | string |
None. |
|
SequenceNo | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "NewsID": "8429bcb4-4a94-422b-83a6-f4f8ef061892", "Title": "sample string 2", "Description": "sample string 3", "NewsDate": "2023-12-10T13:30:48.8383549+04:00", "Attachment": { "AttachmentID": "317d3be0-c626-4acb-a88e-04f7f4f66449", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "ThumbnailAttachment": { "AttachmentID": "317d3be0-c626-4acb-a88e-04f7f4f66449", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "SourceUrl": "sample string 6", "SequenceNo": 7 }, { "NewsID": "8429bcb4-4a94-422b-83a6-f4f8ef061892", "Title": "sample string 2", "Description": "sample string 3", "NewsDate": "2023-12-10T13:30:48.8383549+04:00", "Attachment": { "AttachmentID": "317d3be0-c626-4acb-a88e-04f7f4f66449", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "ThumbnailAttachment": { "AttachmentID": "317d3be0-c626-4acb-a88e-04f7f4f66449", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "SourceUrl": "sample string 6", "SequenceNo": 7 } ]
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.