POST api/GeneralSafetyReportHazardReport/SaveGeneralSafetyReportHazardReport

Request Information

URI Parameters

None.

Body Parameters

GeneralSafetyReportHazardReportAddMdl
NameDescriptionTypeAdditional information
Id

integer

None.

ReportId

integer

None.

Name

string

None.

Concern

string

None.

CorrectiveAction

string

None.

ReportStatusId

integer

None.

GeneralSafetyReportHazardReportSeverityofHazard

Collection of GeneralSafetyReportHazardReportSeverityofHazardAddMdl

None.

anonymous

boolean

None.

submiterId

string

None.

submiterName

string

None.

AttachmentFile

Collection of AttachmentsDetailMdl

None.

AttachmentFileForAdminGeneralSafetyReport

Collection of AttachmentsDetailMdl

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ReportId": 2,
  "Name": "sample string 3",
  "Concern": "sample string 4",
  "CorrectiveAction": "sample string 5",
  "ReportStatusId": 6,
  "GeneralSafetyReportHazardReportSeverityofHazard": [
    {
      "MasterID": 1,
      "DyanmicValue": "sample string 2"
    },
    {
      "MasterID": 1,
      "DyanmicValue": "sample string 2"
    }
  ],
  "anonymous": true,
  "submiterId": "sample string 8",
  "submiterName": "sample string 9",
  "AttachmentFile": [
    {
      "Id": 1,
      "attachmentLocation": "sample string 2",
      "ThumbnailsAttachmentLocation": "sample string 3",
      "attachmentType": "sample string 4",
      "attachmentExt": "sample string 5",
      "BaseUrl": "https://accopsapi.aircar.com/"
    },
    {
      "Id": 1,
      "attachmentLocation": "sample string 2",
      "ThumbnailsAttachmentLocation": "sample string 3",
      "attachmentType": "sample string 4",
      "attachmentExt": "sample string 5",
      "BaseUrl": "https://accopsapi.aircar.com/"
    }
  ],
  "AttachmentFileForAdminGeneralSafetyReport": [
    {
      "Id": 1,
      "attachmentLocation": "sample string 2",
      "ThumbnailsAttachmentLocation": "sample string 3",
      "attachmentType": "sample string 4",
      "attachmentExt": "sample string 5",
      "BaseUrl": "https://accopsapi.aircar.com/"
    },
    {
      "Id": 1,
      "attachmentLocation": "sample string 2",
      "ThumbnailsAttachmentLocation": "sample string 3",
      "attachmentType": "sample string 4",
      "attachmentExt": "sample string 5",
      "BaseUrl": "https://accopsapi.aircar.com/"
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

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"
}