GET api/jobandnotice/getalljobs

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

JobOutputViewModel
NameDescriptionTypeAdditional information
JobID

globally unique identifier

None.

Title

string

None.

Description

string

None.

DatePosted

date

None.

DateDisplayUntil

date

None.

Ago

integer

None.

Location

string

None.

Reference

string

None.

Company

string

None.

ContactName

string

None.

ContactNumber

string

None.

ContactEmail

string

None.

Disciplines

Collection of DisciplineOutputDTo

None.

RateSalary

RateSalary

None.

JobType

JobType

None.

Response Formats

application/json, text/json

Sample:
{
  "JobID": "8cd251af-70ca-4253-9dc8-f428edc69e6d",
  "Title": "sample string 2",
  "Description": "sample string 3",
  "DatePosted": "2024-05-03T14:46:56.5126822+02:00",
  "DateDisplayUntil": "2024-05-03T14:46:56.5126822+02:00",
  "Ago": 6,
  "Location": "sample string 7",
  "Reference": "sample string 8",
  "Company": "sample string 9",
  "ContactName": "sample string 10",
  "ContactNumber": "sample string 11",
  "ContactEmail": "sample string 12",
  "Disciplines": [
    {
      "ID": "b9ca8057-0f49-41e2-8c23-7031b748c175",
      "Title": "sample string 2"
    },
    {
      "ID": "b9ca8057-0f49-41e2-8c23-7031b748c175",
      "Title": "sample string 2"
    }
  ],
  "RateSalary": {
    "ID": "b90998ba-b18d-41fe-a78b-c0ee6b2e551b",
    "Description": "sample string 2"
  },
  "JobType": {
    "ID": "cd7fbffa-3e47-4320-86b1-d044284ff870",
    "Description": "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 'API.Models.Job' 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 'API.Models.Job' contains cycles and cannot be serialized if reference tracking is disabled.