GET api/News/AllCats

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of NewsCat
NameDescriptionTypeAdditional information
NewsCatID

integer

None.

NewsCatDesc

string

None.

CreatedBy

globally unique identifier

None.

CreatedDate

date

None.

ModifiedBy

globally unique identifier

None.

ModifiedDate

date

None.

hidden

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "NewsCatID": 1,
    "NewsCatDesc": "sample string 2",
    "CreatedBy": "cbba8b66-6a17-4009-b462-0a7e8103c158",
    "CreatedDate": "2025-12-10T23:54:05.0623442+02:00",
    "ModifiedBy": "833f8692-5045-4cf4-96f9-54f3608685f4",
    "ModifiedDate": "2025-12-10T23:54:05.0623442+02:00",
    "hidden": true
  },
  {
    "NewsCatID": 1,
    "NewsCatDesc": "sample string 2",
    "CreatedBy": "cbba8b66-6a17-4009-b462-0a7e8103c158",
    "CreatedDate": "2025-12-10T23:54:05.0623442+02:00",
    "ModifiedBy": "833f8692-5045-4cf4-96f9-54f3608685f4",
    "ModifiedDate": "2025-12-10T23:54:05.0623442+02:00",
    "hidden": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfNewsCat xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiapplawyers">
  <NewsCat>
    <CreatedBy>cbba8b66-6a17-4009-b462-0a7e8103c158</CreatedBy>
    <CreatedDate>2025-12-10T23:54:05.0623442+02:00</CreatedDate>
    <ModifiedBy>833f8692-5045-4cf4-96f9-54f3608685f4</ModifiedBy>
    <ModifiedDate>2025-12-10T23:54:05.0623442+02:00</ModifiedDate>
    <NewsCatDesc>sample string 2</NewsCatDesc>
    <NewsCatID>1</NewsCatID>
    <hidden>true</hidden>
  </NewsCat>
  <NewsCat>
    <CreatedBy>cbba8b66-6a17-4009-b462-0a7e8103c158</CreatedBy>
    <CreatedDate>2025-12-10T23:54:05.0623442+02:00</CreatedDate>
    <ModifiedBy>833f8692-5045-4cf4-96f9-54f3608685f4</ModifiedBy>
    <ModifiedDate>2025-12-10T23:54:05.0623442+02:00</ModifiedDate>
    <NewsCatDesc>sample string 2</NewsCatDesc>
    <NewsCatID>1</NewsCatID>
    <hidden>true</hidden>
  </NewsCat>
</ArrayOfNewsCat>