POST api/HazardSource/UpdateIsHide
Request Information
URI Parameters
None.
Body Parameters
HazardSourceName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
HazardTypeId | integer |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
IsHide | boolean |
None. |
|
CreatedBy | integer |
None. |
|
CreatedDate | date |
None. |
|
LastModifiedBy | integer |
None. |
|
LastModifiedDate | date |
None. |
|
DeletedBy | integer |
None. |
|
DeletedDate | date |
None. |
|
HazardTypeName | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "HazardTypeId": 2, "Name": "sample string 3", "Description": "sample string 4", "IsHide": true, "CreatedBy": 6, "CreatedDate": "2025-08-29T20:23:52.2203551+00:00", "LastModifiedBy": 8, "LastModifiedDate": "2025-08-29T20:23:52.2203551+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:23:52.2203551+00:00", "HazardTypeName": "sample string 10" }
application/xml, text/xml
Sample:
<HazardSource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSCWebAPI.Domain"> <CreatedBy>6</CreatedBy> <CreatedDate>2025-08-29T20:23:52.2203551+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:23:52.2203551+00:00</DeletedDate> <Description>sample string 4</Description> <HazardTypeId>2</HazardTypeId> <HazardTypeName>sample string 10</HazardTypeName> <Id>1</Id> <IsHide>true</IsHide> <LastModifiedBy>8</LastModifiedBy> <LastModifiedDate>2025-08-29T20:23:52.2203551+00:00</LastModifiedDate> <Name>sample string 3</Name> </HazardSource>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.