POST api/DispatchServiceReport

Request Information

URI Parameters

None.

Body Parameters

DispatchServiceReportAddMdl
NameDescriptionTypeAdditional information
ID

integer

None.

ShiftID

integer

None.

DateofEvent

date

None.

LocationID

integer

None.

TimeofIncident

string

None.

SeverityofConcernID

integer

None.

ReportId

integer

None.

ReportStatusId

integer

None.

DutyON

string

None.

DutyOFF

string

None.

NameofAdminContacted

string

None.

NameofAdminContactedTime

string

None.

NameofSupervisorContacted

string

None.

NameofSupervisorContactedTime

string

None.

DispatcherNarrative

string

None.

DamageReport

string

None.

OperatingDispatchers1

string

None.

OperatingDispatchers2

string

None.

OperatingDispatchers3

string

None.

OperatingDispatchers4

string

None.

DispatchServiceReportAction

Collection of DispatchServiceReportActionAddMdl

None.

DispatchServiceReportINCIDENTEVENT

Collection of DispatchServiceReportINCIDENTEVENTAddMdl

None.

DispatchServiceReportInspectors

Collection of DispatchServiceReportInspectorsAddMdl

None.

DispatchServiceReportOtherPresentIndividuals

Collection of DispatchServiceReportOtherPresentIndividualsAddMdl

None.

DispatchServiceReportWho

Collection of DispatchServiceReportWhoAddMdl

None.

submiterId

string

None.

submiterName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "ShiftID": 1,
  "DateofEvent": "2024-11-22T21:53:37.7662056-06:00",
  "LocationID": 1,
  "TimeofIncident": "sample string 2",
  "SeverityofConcernID": 1,
  "ReportId": 3,
  "ReportStatusId": 4,
  "DutyON": "sample string 5",
  "DutyOFF": "sample string 6",
  "NameofAdminContacted": "sample string 7",
  "NameofAdminContactedTime": "sample string 8",
  "NameofSupervisorContacted": "sample string 9",
  "NameofSupervisorContactedTime": "sample string 10",
  "DispatcherNarrative": "sample string 11",
  "DamageReport": "sample string 12",
  "OperatingDispatchers1": "sample string 13",
  "OperatingDispatchers2": "sample string 14",
  "OperatingDispatchers3": "sample string 15",
  "OperatingDispatchers4": "sample string 16",
  "DispatchServiceReportAction": [
    {
      "tblp2DispatchServiceReportActionMasterID": 1,
      "DyanmicValue": "sample string 2"
    },
    {
      "tblp2DispatchServiceReportActionMasterID": 1,
      "DyanmicValue": "sample string 2"
    }
  ],
  "DispatchServiceReportINCIDENTEVENT": [
    {
      "tblp2DispatchServiceReportINCIDENTEVENTMasterID": 1,
      "DyanmicValue": "sample string 2"
    },
    {
      "tblp2DispatchServiceReportINCIDENTEVENTMasterID": 1,
      "DyanmicValue": "sample string 2"
    }
  ],
  "DispatchServiceReportInspectors": [
    {
      "tblThreatsInspectorsID": 1,
      "DyanmicValue": "sample string 2"
    },
    {
      "tblThreatsInspectorsID": 1,
      "DyanmicValue": "sample string 2"
    }
  ],
  "DispatchServiceReportOtherPresentIndividuals": [
    {
      "PersonName": "sample string 1"
    },
    {
      "PersonName": "sample string 1"
    }
  ],
  "DispatchServiceReportWho": [
    {
      "tblp2DispatchServiceReportWhoMasterID": 1,
      "DyanmicValue": "sample string 2"
    },
    {
      "tblp2DispatchServiceReportWhoMasterID": 1,
      "DyanmicValue": "sample string 2"
    }
  ],
  "submiterId": "sample string 17",
  "submiterName": "sample string 18"
}

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 'DispatchServiceReportAddMdl'.

Response Information

Resource Description

ResponseMdl
NameDescriptionTypeAdditional information
Status

boolean

None.

Data

Object

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "Data": {},
  "Message": "sample string 3"
}