POST api/v1/Door/BulkAction

Request Information

URI Parameters

None.

Body Parameters

BulkTypeOfDoor
NameDescriptionTypeAdditional information
ActionType

BULK_ACTION_TYPE

None.

Templates

Collection of Door

None.

Filter

SearchFilter

None.

Request Formats

application/json, text/json

Sample:
{
  "ActionType": 0,
  "Templates": [
    {
      "DoorID": 1,
      "_LockType": 1,
      "_LockNumber": 1,
      "_DoorName": "sample string 2",
      "_ST44Number": "sample string 3",
      "_DoorInfo": {
        "_OnlineStatus": 0,
        "_BatteryStatus": 0,
        "_DoorAlarm": 0,
        "_DoorState": 0,
        "_FwVersion": "sample string 1",
        "_SignalStrenght": 0
      },
      "_TimeTable": {
        "TimeTableID": 1,
        "_TTName": "sample string 2",
        "_TTDescription": "sample string 3",
        "_TimeZones": [
          {
            "TimezoneID": 1,
            "_TimeZoneNumber": 0,
            "_Description": "sample string 2",
            "_Shifts": [
              {
                "TimeShiftID": 1,
                "_TimeShiftNumber": 0,
                "_Enabled": 0,
                "_From": "sample string 2",
                "_To": "sample string 3",
                "_Week": {
                  "_Mon": 0,
                  "_Tue": 0,
                  "_Wed": 0,
                  "_Thu": 0,
                  "_Fr": 0,
                  "_Sat": 0,
                  "_Sun": 0,
                  "_Hol": 0,
                  "_Sp": 0
                }
              },
              {
                "TimeShiftID": 1,
                "_TimeShiftNumber": 0,
                "_Enabled": 0,
                "_From": "sample string 2",
                "_To": "sample string 3",
                "_Week": {
                  "_Mon": 0,
                  "_Tue": 0,
                  "_Wed": 0,
                  "_Thu": 0,
                  "_Fr": 0,
                  "_Sat": 0,
                  "_Sun": 0,
                  "_Hol": 0,
                  "_Sp": 0
                }
              }
            ]
          },
          {
            "TimezoneID": 1,
            "_TimeZoneNumber": 0,
            "_Description": "sample string 2",
            "_Shifts": [
              {
                "TimeShiftID": 1,
                "_TimeShiftNumber": 0,
                "_Enabled": 0,
                "_From": "sample string 2",
                "_To": "sample string 3",
                "_Week": {
                  "_Mon": 0,
                  "_Tue": 0,
                  "_Wed": 0,
                  "_Thu": 0,
                  "_Fr": 0,
                  "_Sat": 0,
                  "_Sun": 0,
                  "_Hol": 0,
                  "_Sp": 0
                }
              },
              {
                "TimeShiftID": 1,
                "_TimeShiftNumber": 0,
                "_Enabled": 0,
                "_From": "sample string 2",
                "_To": "sample string 3",
                "_Week": {
                  "_Mon": 0,
                  "_Tue": 0,
                  "_Wed": 0,
                  "_Thu": 0,
                  "_Fr": 0,
                  "_Sat": 0,
                  "_Sun": 0,
                  "_Hol": 0,
                  "_Sp": 0
                }
              }
            ]
          }
        ]
      },
      "_WeeklyProgram": {
        "WeeklyProgramID": 1,
        "_WeekProgramName": "sample string 2",
        "_ProgramTables": [
          {
            "DoorProgramID": 1,
            "_ProgramName": "sample string 2",
            "_Time": "2025-12-06T11:08:56.1687424+00:00",
            "_Week": {
              "_Mon": 0,
              "_Tue": 0,
              "_Wed": 0,
              "_Thu": 0,
              "_Fr": 0,
              "_Sat": 0,
              "_Sun": 0,
              "_Hol": 0,
              "_Sp": 0
            },
            "_Task": 1
          },
          {
            "DoorProgramID": 1,
            "_ProgramName": "sample string 2",
            "_Time": "2025-12-06T11:08:56.1687424+00:00",
            "_Week": {
              "_Mon": 0,
              "_Tue": 0,
              "_Wed": 0,
              "_Thu": 0,
              "_Fr": 0,
              "_Sat": 0,
              "_Sun": 0,
              "_Hol": 0,
              "_Sp": 0
            },
            "_Task": 1
          }
        ]
      },
      "_HwTemplate": {
        "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
          }
        ]
      },
      "_AccessServices": [
        {
          "AccessServiceID": 1,
          "_Services": 1,
          "_ServiceName": "sample string 2"
        },
        {
          "AccessServiceID": 1,
          "_Services": 1,
          "_ServiceName": "sample string 2"
        }
      ]
    },
    {
      "DoorID": 1,
      "_LockType": 1,
      "_LockNumber": 1,
      "_DoorName": "sample string 2",
      "_ST44Number": "sample string 3",
      "_DoorInfo": {
        "_OnlineStatus": 0,
        "_BatteryStatus": 0,
        "_DoorAlarm": 0,
        "_DoorState": 0,
        "_FwVersion": "sample string 1",
        "_SignalStrenght": 0
      },
      "_TimeTable": {
        "TimeTableID": 1,
        "_TTName": "sample string 2",
        "_TTDescription": "sample string 3",
        "_TimeZones": [
          {
            "TimezoneID": 1,
            "_TimeZoneNumber": 0,
            "_Description": "sample string 2",
            "_Shifts": [
              {
                "TimeShiftID": 1,
                "_TimeShiftNumber": 0,
                "_Enabled": 0,
                "_From": "sample string 2",
                "_To": "sample string 3",
                "_Week": {
                  "_Mon": 0,
                  "_Tue": 0,
                  "_Wed": 0,
                  "_Thu": 0,
                  "_Fr": 0,
                  "_Sat": 0,
                  "_Sun": 0,
                  "_Hol": 0,
                  "_Sp": 0
                }
              },
              {
                "TimeShiftID": 1,
                "_TimeShiftNumber": 0,
                "_Enabled": 0,
                "_From": "sample string 2",
                "_To": "sample string 3",
                "_Week": {
                  "_Mon": 0,
                  "_Tue": 0,
                  "_Wed": 0,
                  "_Thu": 0,
                  "_Fr": 0,
                  "_Sat": 0,
                  "_Sun": 0,
                  "_Hol": 0,
                  "_Sp": 0
                }
              }
            ]
          },
          {
            "TimezoneID": 1,
            "_TimeZoneNumber": 0,
            "_Description": "sample string 2",
            "_Shifts": [
              {
                "TimeShiftID": 1,
                "_TimeShiftNumber": 0,
                "_Enabled": 0,
                "_From": "sample string 2",
                "_To": "sample string 3",
                "_Week": {
                  "_Mon": 0,
                  "_Tue": 0,
                  "_Wed": 0,
                  "_Thu": 0,
                  "_Fr": 0,
                  "_Sat": 0,
                  "_Sun": 0,
                  "_Hol": 0,
                  "_Sp": 0
                }
              },
              {
                "TimeShiftID": 1,
                "_TimeShiftNumber": 0,
                "_Enabled": 0,
                "_From": "sample string 2",
                "_To": "sample string 3",
                "_Week": {
                  "_Mon": 0,
                  "_Tue": 0,
                  "_Wed": 0,
                  "_Thu": 0,
                  "_Fr": 0,
                  "_Sat": 0,
                  "_Sun": 0,
                  "_Hol": 0,
                  "_Sp": 0
                }
              }
            ]
          }
        ]
      },
      "_WeeklyProgram": {
        "WeeklyProgramID": 1,
        "_WeekProgramName": "sample string 2",
        "_ProgramTables": [
          {
            "DoorProgramID": 1,
            "_ProgramName": "sample string 2",
            "_Time": "2025-12-06T11:08:56.1687424+00:00",
            "_Week": {
              "_Mon": 0,
              "_Tue": 0,
              "_Wed": 0,
              "_Thu": 0,
              "_Fr": 0,
              "_Sat": 0,
              "_Sun": 0,
              "_Hol": 0,
              "_Sp": 0
            },
            "_Task": 1
          },
          {
            "DoorProgramID": 1,
            "_ProgramName": "sample string 2",
            "_Time": "2025-12-06T11:08:56.1687424+00:00",
            "_Week": {
              "_Mon": 0,
              "_Tue": 0,
              "_Wed": 0,
              "_Thu": 0,
              "_Fr": 0,
              "_Sat": 0,
              "_Sun": 0,
              "_Hol": 0,
              "_Sp": 0
            },
            "_Task": 1
          }
        ]
      },
      "_HwTemplate": {
        "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
          }
        ]
      },
      "_AccessServices": [
        {
          "AccessServiceID": 1,
          "_Services": 1,
          "_ServiceName": "sample string 2"
        },
        {
          "AccessServiceID": 1,
          "_Services": 1,
          "_ServiceName": "sample string 2"
        }
      ]
    }
  ],
  "Filter": {
    "_Limit": 1,
    "_Skip": 2,
    "_Sort": 0,
    "_Filter": 0,
    "_FromPeriod": "2025-12-06T11:08:56.1687424+00:00",
    "_ToPeriod": "2025-12-06T11:08:56.1687424+00:00",
    "_UseUpdatedDate": true
  }
}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.