POST api/SafetyPolicy/NewNotification

Request Information

URI Parameters

None.

Body Parameters

SafetyPolicyAddMdl
NameDescriptionTypeAdditional information
Id

integer

None.

SafetyPolicyTitle

string

None.

Info

string

None.

Status

boolean

None.

AttachmentFile

Collection of SafetyPolicyAttachmentMdl

None.

Description

Collection of SafetyPolicyDescriptionMdl

None.

IsOnlyPdf

boolean

None.

Group

Collection of integer

None.

AcknowledgeTimePeriodYear

integer

None.

AcknowledgeTimePeriodMonth

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "SafetyPolicyTitle": "sample string 2",
  "Info": "sample string 3",
  "Status": true,
  "AttachmentFile": [
    {
      "Id": 1,
      "safetyPolicyId": 2,
      "attachmentLocation": "sample string 3",
      "attachmentType": "sample string 4",
      "attachmentExt": "sample string 5",
      "BaseUrl": "https://accopsapi.aircar.com/"
    },
    {
      "Id": 1,
      "safetyPolicyId": 2,
      "attachmentLocation": "sample string 3",
      "attachmentType": "sample string 4",
      "attachmentExt": "sample string 5",
      "BaseUrl": "https://accopsapi.aircar.com/"
    }
  ],
  "Description": [
    {
      "Id": 1,
      "Description": "sample string 2",
      "SafetyPolicyID": 3,
      "createdDate": "2024-11-22T21:41:33.6302991-06:00",
      "IsDeleted": true
    },
    {
      "Id": 1,
      "Description": "sample string 2",
      "SafetyPolicyID": 3,
      "createdDate": "2024-11-22T21:41:33.6302991-06:00",
      "IsDeleted": true
    }
  ],
  "IsOnlyPdf": true,
  "Group": [
    1,
    2
  ],
  "AcknowledgeTimePeriodYear": 1,
  "AcknowledgeTimePeriodMonth": 1
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.