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": "a05cae66-13e9-4391-b63e-150f81d4d3a8",
  "Title": "sample string 2",
  "Description": "sample string 3",
  "DatePosted": "2025-08-24T00:22:02.1290907+02:00",
  "ImportantNote": "sample string 4",
  "Link": "sample string 5",
  "ContactName": "sample string 6",
  "ContactEmail": "sample string 7",
  "DisciplineID": "f107bb2b-e3dc-4199-8c1f-ee3c28d64a6f",
  "CategoryID": "49026863-ba20-44f6-b8ae-887bfd5daacd",
  "Category": {
    "CategoryID": "dca87d78-e541-4aa5-ac78-5979881f904a",
    "CategoryName": "sample string 2"
  },
  "Disciplines": [
    {
      "ID": "19994a08-6620-4439-87c0-f76c239f9739",
      "Name": "sample string 2"
    },
    {
      "ID": "19994a08-6620-4439-87c0-f76c239f9739",
      "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.