POST api/SafetyMemos/SaveSafetyMemos
Request Information
URI Parameters
None.
Body Parameters
SafetyMemosMdlName | Description | Type | Additional 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://accopsapi.aircar.com/" }, { "Id": 1, "safetyMemosId": 2, "attachmentLocation": "sample string 3", "attachmentType": "sample string 4", "attachmentExt": "sample string 5", "BaseUrl": "https://accopsapi.aircar.com/" } ], "ModifiedDate": "2024-11-22T21:53:51.6422443-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:53:51.6422443-06:00", "IsDeleted": true }, { "Id": 1, "Description": "sample string 2", "SafetyMemoID": 3, "createdDate": "2024-11-22T21:53:51.6422443-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:
Sample not available.
Response Information
Resource Description
ResponseMdlName | Description | Type | Additional information |
---|---|---|---|
Status | boolean |
None. |
|
Data | Object |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": true, "Data": {}, "Message": "sample string 3" }