POST api/SafetyMemos/UpdateNotification

Request Information

URI Parameters

None.

Body Parameters

SafetyMemosMdl
NameDescriptionTypeAdditional information
Id

integer

None.

SafetyMemosTitle

string

None.

Info

string

None.

Title_FixedLength

string

None.

Title_FixedLength_grid

string

None.

Status

boolean

None.

AttachmentFile

Collection of SafetyMemoAttachmentMdl

None.

ModifiedDate

date

None.

strip_tags

string

None.

strip_tags_grid

string

None.

IsViewed

boolean

None.

NumberOFUsersViewed

integer

None.

NumberOFUsersnotViewed

integer

None.

Description

Collection of SafetyMemoDescriptionMdl

None.

IsOnlyPdf

boolean

None.

info_dark

string

None.

info_light

string

None.

isFavorite

boolean

None.

Group

Collection of integer

None.

AcknowledgeTimePeriodYear

integer

None.

AcknowledgeTimePeriodMonth

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "SafetyMemosTitle": "sample string 2",
  "Info": "sample string 3",
  "Title_FixedLength": "sample string 4",
  "Title_FixedLength_grid": "sample string 5",
  "Status": true,
  "AttachmentFile": [
    {
      "Id": 1,
      "safetyMemosId": 2,
      "attachmentLocation": "sample string 3",
      "attachmentType": "sample string 4",
      "attachmentExt": "sample string 5",
      "BaseUrl": "https://staggingaccopsapi.aircar.com/"
    },
    {
      "Id": 1,
      "safetyMemosId": 2,
      "attachmentLocation": "sample string 3",
      "attachmentType": "sample string 4",
      "attachmentExt": "sample string 5",
      "BaseUrl": "https://staggingaccopsapi.aircar.com/"
    }
  ],
  "ModifiedDate": "2024-11-22T21:21:35.1408486-06:00",
  "strip_tags": "sample string 6",
  "strip_tags_grid": "sample string 7",
  "IsViewed": true,
  "NumberOFUsersViewed": 1,
  "NumberOFUsersnotViewed": 1,
  "Description": [
    {
      "Id": 1,
      "Description": "sample string 2",
      "SafetyMemoID": 3,
      "createdDate": "2024-11-22T21:21:35.1408486-06:00",
      "IsDeleted": true
    },
    {
      "Id": 1,
      "Description": "sample string 2",
      "SafetyMemoID": 3,
      "createdDate": "2024-11-22T21:21:35.1408486-06:00",
      "IsDeleted": true
    }
  ],
  "IsOnlyPdf": true,
  "info_dark": "sample string 8",
  "info_light": "sample string 9",
  "isFavorite": true,
  "Group": [
    1,
    2
  ],
  "AcknowledgeTimePeriodYear": 1,
  "AcknowledgeTimePeriodMonth": 1
}

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

Response Information

Resource Description

None.