POST api/jobandnotice/updateexistingnotice

Request Information

URI Parameters

None.

Body Parameters

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.

Request Formats

application/json, text/json

Sample:
{
  "ID": "ccc2d981-8df5-4e3a-a5ca-e3e3bd9e9d91",
  "Title": "sample string 2",
  "Description": "sample string 3",
  "DatePosted": "2025-06-27T16:12:03.7510001+02:00",
  "ImportantNote": "sample string 4",
  "Link": "sample string 5",
  "ContactName": "sample string 6",
  "ContactEmail": "sample string 7",
  "DisciplineID": "76853024-0fb2-4e68-8e09-1d4297fd702a",
  "CategoryID": "f968fcab-4726-4d11-81c9-67f30f75a372",
  "Category": {
    "CategoryID": "8435dc57-3a2a-4733-910f-d952918cd57d",
    "CategoryName": "sample string 2"
  },
  "Disciplines": [
    {
      "ID": "818d3146-449b-48fb-b7df-7b254cd0d8ef",
      "Name": "sample string 2"
    },
    {
      "ID": "818d3146-449b-48fb-b7df-7b254cd0d8ef",
      "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.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Notice'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.