GET api/generalinfo/generalnotices

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

apiNoticeResult
NameDescriptionTypeAdditional information
data

Collection of Notice

None.

status

apiResultState

None.

statusString

string

None.

message

string

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 0,
  "statusString": "ok",
  "message": "sample string 1",
  "data": [
    {
      "title": "sample string 1",
      "date": "2026-01-07T15:24:34.1194734+07:00",
      "content": "sample string 3"
    },
    {
      "title": "sample string 1",
      "date": "2026-01-07T15:24:34.1194734+07:00",
      "content": "sample string 3"
    }
  ]
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'System.Collections.Generic.List`1[[FMSDeliveryWebApp.Models.Notice, FMSDeliveryWebApp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' with data contract name 'ArrayOfNotice:http://schemas.datacontract.org/2004/07/FMSDeliveryWebApp.Models' is not expected. Consider using a DataContractResolver if you are using DataContractSerializer or add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to the serializer.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'System.Collections.Generic.List`1[[FMSDeliveryWebApp.Models.Notice, FMSDeliveryWebApp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' with data contract name 'ArrayOfNotice:http://schemas.datacontract.org/2004/07/FMSDeliveryWebApp.Models' is not expected. Consider using a DataContractResolver if you are using DataContractSerializer or add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to the serializer.