POST api/v1/HardwareTemplate/BulkAction
Request Information
URI Parameters
None.
Body Parameters
BulkTypeOfHardwareTemplate| Name | Description | Type | Additional information |
|---|---|---|---|
| ActionType | BULK_ACTION_TYPE |
None. |
|
| Templates | Collection of HardwareTemplate |
None. |
|
| Filter | SearchFilter |
None. |
Request Formats
application/json, text/json
Sample:
{
"ActionType": 0,
"Templates": [
{
"HardwareTemplateID": 1,
"_HwName": "sample string 2",
"_Description": "sample string 3",
"_DeviceType": 0,
"_OpeningTime": 4,
"_AdaOpeningTime": 5,
"_FireRegulationTime": 6,
"_EnableWireless": 0,
"_EnableBle": 0,
"_SetWirelessInRcvMode": 0,
"_AllowRevalidation": 0,
"_UsePrivacyAsDoorContact": 0,
"_DoorContactIsReversed": 0,
"_Buzzer": 0,
"_ShowLowBatToGuest": 0,
"_EnableFreePassageOnce": 0,
"_EnableFreePassage": 0,
"_CloseAfterReleaseLatch": 7,
"_HardwareInputOutputs": [
{
"HardwareInputOutputID": 1,
"_Macro": 2,
"_ReverseLogic": true,
"_State": 0,
"_Input": 1,
"_Output": 1,
"ActionReactionNumber": 0
},
{
"HardwareInputOutputID": 1,
"_Macro": 2,
"_ReverseLogic": true,
"_State": 0,
"_Input": 1,
"_Output": 1,
"ActionReactionNumber": 0
}
]
},
{
"HardwareTemplateID": 1,
"_HwName": "sample string 2",
"_Description": "sample string 3",
"_DeviceType": 0,
"_OpeningTime": 4,
"_AdaOpeningTime": 5,
"_FireRegulationTime": 6,
"_EnableWireless": 0,
"_EnableBle": 0,
"_SetWirelessInRcvMode": 0,
"_AllowRevalidation": 0,
"_UsePrivacyAsDoorContact": 0,
"_DoorContactIsReversed": 0,
"_Buzzer": 0,
"_ShowLowBatToGuest": 0,
"_EnableFreePassageOnce": 0,
"_EnableFreePassage": 0,
"_CloseAfterReleaseLatch": 7,
"_HardwareInputOutputs": [
{
"HardwareInputOutputID": 1,
"_Macro": 2,
"_ReverseLogic": true,
"_State": 0,
"_Input": 1,
"_Output": 1,
"ActionReactionNumber": 0
},
{
"HardwareInputOutputID": 1,
"_Macro": 2,
"_ReverseLogic": true,
"_State": 0,
"_Input": 1,
"_Output": 1,
"ActionReactionNumber": 0
}
]
}
],
"Filter": {
"_Limit": 1,
"_Skip": 2,
"_Sort": 0,
"_Filter": 0,
"_FromPeriod": "2025-12-06T03:46:55.9412741+00:00",
"_ToPeriod": "2025-12-06T03:46:55.9412741+00:00",
"_UseUpdatedDate": true
}
}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.