POST api/v1/AccessProfile/CreateAccessProfile
Request Information
URI Parameters
None.
Body Parameters
AccessProfile| Name | Description | Type | Additional information |
|---|---|---|---|
| AccessProfileID | integer |
None. |
|
| _AccessProfileName | string |
None. |
|
| _ProfileStatus | PROFILE_STATUS |
None. |
|
| _TimeZones | Collection of TimeZone |
None. |
|
| _AccessRights | Collection of AccessRight |
None. |
|
| _AccessServices | Collection of AccessService |
None. |
|
| _ProfileExpireDateTime | date |
None. |
|
| _ProfileStartDateTime | date |
None. |
|
| _CommonPIN | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"AccessProfileID": 1,
"_AccessProfileName": "sample string 2",
"_ProfileStatus": 0,
"_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
}
}
]
}
],
"_AccessRights": [
{
"AccessRightID": 1,
"_AccessRightName": "sample string 2",
"_Doors": [
{
"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-06T03:49:43.7443928+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-06T03:49:43.7443928+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-06T03:49:43.7443928+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-06T03:49:43.7443928+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"
}
]
}
]
},
{
"AccessRightID": 1,
"_AccessRightName": "sample string 2",
"_Doors": [
{
"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-06T03:49:43.7443928+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-06T03:49:43.7443928+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-06T03:49:43.7443928+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-06T03:49:43.7443928+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"
}
]
}
]
}
],
"_AccessServices": [
{
"AccessServiceID": 1,
"_Services": 1,
"_ServiceName": "sample string 2"
},
{
"AccessServiceID": 1,
"_Services": 1,
"_ServiceName": "sample string 2"
}
],
"_ProfileExpireDateTime": "2025-12-06T03:49:43.7443928+00:00",
"_ProfileStartDateTime": "2025-12-06T03:49:43.7443928+00:00",
"_CommonPIN": 1
}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.