POST api/SafetyPolicy/UpdateNotification
Request Information
URI Parameters
None.
Body Parameters
SafetyPolicyAddMdlName | Description | Type | Additional 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://staggingaccopsapi.aircar.com/" }, { "Id": 1, "safetyPolicyId": 2, "attachmentLocation": "sample string 3", "attachmentType": "sample string 4", "attachmentExt": "sample string 5", "BaseUrl": "https://staggingaccopsapi.aircar.com/" } ], "Description": [ { "Id": 1, "Description": "sample string 2", "SafetyPolicyID": 3, "createdDate": "2024-11-22T21:45:37.9811023-06:00", "IsDeleted": true }, { "Id": 1, "Description": "sample string 2", "SafetyPolicyID": 3, "createdDate": "2024-11-22T21:45:37.9811023-06:00", "IsDeleted": true } ], "IsOnlyPdf": true, "Group": [ 1, 2 ], "AcknowledgeTimePeriodYear": 1, "AcknowledgeTimePeriodMonth": 1 }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.