GET api/News/GetByID?apiKey={apiKey}&newsID={newsID}&lng={lng}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
apiKey | string |
Required |
|
newsID | globally unique identifier |
Required |
|
lng | string |
Default value is en |
Body Parameters
None.
Response Information
Resource Description
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": "60b5a5d6-816c-4110-846f-2d873ba26dc8", "Title": "sample string 2", "Description": "sample string 3", "NewsDate": "2023-12-08T19:19:28.4270946+04:00", "Attachment": { "AttachmentID": "70f9d784-01ac-4b51-9fde-b22dfc374b0f", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "ThumbnailAttachment": { "AttachmentID": "70f9d784-01ac-4b51-9fde-b22dfc374b0f", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "SourceUrl": "sample string 6", "SequenceNo": 7 }