GET api/jobandnotice/getallnoticescategories

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Notice
NameDescriptionTypeAdditional information
ID

globally unique identifier

None.

Title

string

String length: inclusive between 0 and 100

Description

string

None.

DatePosted

date

None.

ImportantNote

string

String length: inclusive between 0 and 200

Link

string

String length: inclusive between 0 and 200

ContactName

string

String length: inclusive between 0 and 50

ContactEmail

string

String length: inclusive between 0 and 100

DisciplineID

globally unique identifier

None.

CategoryID

globally unique identifier

None.

Category

Category

None.

Disciplines

Collection of Discipline

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": "1c6561ad-8887-4efb-87ee-167c1a14f9fe",
  "Title": "sample string 2",
  "Description": "sample string 3",
  "DatePosted": "2024-05-03T10:52:43.2183579+02:00",
  "ImportantNote": "sample string 4",
  "Link": "sample string 5",
  "ContactName": "sample string 6",
  "ContactEmail": "sample string 7",
  "DisciplineID": "5ee66268-6dea-4f70-87b5-df60ebfa8b13",
  "CategoryID": "95e84d2d-43ae-4ea3-8a49-334fe404d279",
  "Category": {
    "CategoryID": "49645be9-cd5a-4df4-980c-5bddc8cb34dd",
    "CategoryName": "sample string 2"
  },
  "Disciplines": [
    {
      "ID": "7ee14925-7081-4343-989a-b0cff4be3cd8",
      "Name": "sample string 2"
    },
    {
      "ID": "7ee14925-7081-4343-989a-b0cff4be3cd8",
      "Name": "sample string 2"
    }
  ]
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[API.Models.Notice, API, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[API.Models.Notice, API, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.