Replies: 3 comments 6 replies
-
This automatically generated reply acts as a friendly reminder. Answers to your questions will most often come from the community, from developers like yourself. You will, from time to time, find that Axis employees answers some of the questions, but this is not a guarantee. Think of the discussion forum as a complement to other support channels, not a replacement to any of them. If your question remains unanswered for a period of time, please revisit it to see whether it can be improved by following the guidelines listed in Axis support guidelines. |
Beta Was this translation helpful? Give feedback.
-
Hi @markus-ta , Do the user and group settings using Axis Entry Manager in A1001 and it will work with A1210:
The APIs calls for the previous steps are as followsaxtid:GetLastCredential: VAPIX API documentationURL: http://10.176.12.83/vapix/idpointMethod: POSTBody:{
"axtid:GetLastCredential": {
"Token": "Axis-accc8e251335:1727244990.864633000"
}
} Response:{
"IdData":
[
{
"Name": "CardNr",
"Value": "1207665655442048"
},
{
"Name": "CardNrHex",
"Value": "044a5d92666a80"
},
{
"Name": "Card",
"Value": "044a5d92666a80"
},
{
"Name": "BitCount",
"Value": "56"
}
]
} pacsaxis:GetCredentialList: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"pacsaxis:GetCredentialList":{}
} Response:{
"Credential": []
} axudb:SetUser: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"axudb:SetUser": {
"User": [
{
"Name": "Kumar, Vivek",
"Description": "",
"Attribute": [
{
"Name": "FirstName",
"Value": "Vivek"
},
{
"Name": "LastName",
"Value": "Kumar"
}
]
}
]
}
} Response:{
"Token": ["Axis-accc8e251335:1727262963.944011000"]
} axudb:GetUser: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"axudb:GetUser": {
"Token": [
"Axis-accc8e251335:1727262963.944011000"
]
}
} Response:{
"User":
[
{
"token": "Axis-accc8e251335:1727262963.944011000",
"Name": "Kumar, Vivek",
"Description": "",
"Attribute":
[
{
"type": "",
"Name": "FirstName",
"Value": "Vivek"
},
{
"type": "",
"Name": "LastName",
"Value": "Kumar"
}
]
}
]
} pacsaxis:SetCredential: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"pacsaxis:SetCredential": {
"Credential": [
{
"Enabled": true,
"Status": "Enabled",
"IdData": [
{
"Name": "CardNr",
"Value": "1207665655442048"
},
{
"Name": "PIN",
"Value": ""
},
{
"Name": "Card",
"Value": "044a5d92666a80"
}
],
"ValidFrom": "",
"ValidTo": "",
"UserToken": "Axis-accc8e251335:1727262963.944011000"
}
]
}
} Response:{
"Token": ["Axis-accc8e251335:1727262964.388464000"]
} pacsaxis:GetCredential: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"pacsaxis:GetCredential": {
"Token": [
"Axis-accc8e251335:1727262964.388464000"
]
}
} Response:{
"Credential":
[
{
"token": "Axis-accc8e251335:1727262964.388464000",
"UserToken": "Axis-accc8e251335:1727262963.944011000",
"Description": "",
"ValidFrom": "",
"ValidTo": "",
"Enabled": true,
"Status": "Enabled",
"IdData":
[
{
"Name": "CardNr",
"Value": "1207665655442048"
},
{
"Name": "PIN",
"Value": ""
},
{
"Name": "Card",
"Value": "044a5d92666a80"
}
],
"Attribute": [],
"AuthenticationProfile": [],
"CredentialAccessProfile": []
}
]
} axtid:GetLastCredential: VAPIX API documentationURL: http://10.176.12.83/vapix/idpointMethod: POSTBody:{
"axtid:GetLastCredential": {
"Token": "Axis-accc8e251335:1727244990.864633000"
}
} Response:{
"IdData":
[
{
"Name": "CardNr",
"Value": "1207665655442048"
},
{
"Name": "CardNrHex",
"Value": "044a5d92666a80"
},
{
"Name": "Card",
"Value": "044a5d92666a80"
},
{
"Name": "BitCount",
"Value": "56"
}
]
} axtid:GetLastCredential: VAPIX API documentationURL: http://10.176.12.83/vapix/idpointMethod: POSTBody:{
"axtid:GetLastCredential": {
"Token": "Axis-accc8e251335:1727244990.864633000"
}
} Response:{
"IdData":
[
{
"Name": "CardNr",
"Value": "1367574939636624"
},
{
"Name": "CardNrHex",
"Value": "04dbcd5a7b1390"
},
{
"Name": "Card",
"Value": "04dbcd5a7b1390"
},
{
"Name": "BitCount",
"Value": "56"
}
]
} pacsaxis:GetCredentialList: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"pacsaxis:GetCredentialList":{}
} Response:{
"Credential":
[
{
"token": "Axis-accc8e251335:1727262964.388464000",
"UserToken": "Axis-accc8e251335:1727262963.944011000",
"Description": "",
"ValidFrom": "",
"ValidTo": "",
"Enabled": true,
"Status": "Enabled",
"IdData":
[
{
"Name": "CardNr",
"Value": "1207665655442048"
},
{
"Name": "PIN",
"Value": ""
},
{
"Name": "Card",
"Value": "044a5d92666a80"
}
],
"Attribute": [],
"AuthenticationProfile": [],
"CredentialAccessProfile": []
}
]
} axudb:SetUser: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"axudb:SetUser": {
"User": [
{
"Name": "Axis, Siddu",
"Description": "",
"Attribute": [
{
"Name": "FirstName",
"Value": "Siddu"
},
{
"Name": "LastName",
"Value": "Axis"
}
]
}
]
}
} Response:{
"Token": ["Axis-accc8e251335:1727262997.815986000"]
} axudb:GetUser: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"axudb:GetUser": {
"Token": [
"Axis-accc8e251335:1727262997.815986000"
]
}
} Response:{
"User":
[
{
"token": "Axis-accc8e251335:1727262997.815986000",
"Name": "Axis, Siddu",
"Description": "",
"Attribute":
[
{
"type": "",
"Name": "FirstName",
"Value": "Siddu"
},
{
"type": "",
"Name": "LastName",
"Value": "Axis"
}
]
}
]
} pacsaxis:SetCredential: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"pacsaxis:SetCredential": {
"Credential": [
{
"Enabled": true,
"Status": "Enabled",
"IdData": [
{
"Name": "CardNr",
"Value": "1367574939636624"
},
{
"Name": "PIN",
"Value": ""
},
{
"Name": "Card",
"Value": "04dbcd5a7b1390"
}
],
"ValidFrom": "",
"ValidTo": "",
"UserToken": "Axis-accc8e251335:1727262997.815986000"
}
]
}
} Response:{
"Token": ["Axis-accc8e251335:1727262998.233406000"]
} pacsaxis:GetCredential: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"pacsaxis:GetCredential": {
"Token": [
"Axis-accc8e251335:1727262998.233406000"
]
}
} Response:{
"Credential":
[
{
"token": "Axis-accc8e251335:1727262998.233406000",
"UserToken": "Axis-accc8e251335:1727262997.815986000",
"Description": "",
"ValidFrom": "",
"ValidTo": "",
"Enabled": true,
"Status": "Enabled",
"IdData":
[
{
"Name": "CardNr",
"Value": "1367574939636624"
},
{
"Name": "PIN",
"Value": ""
},
{
"Name": "Card",
"Value": "04dbcd5a7b1390"
}
],
"Attribute": [],
"AuthenticationProfile": [],
"CredentialAccessProfile": []
}
]
} pacsaxis:SetAccessProfile: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"pacsaxis:SetAccessProfile": {
"AccessProfile": [
{
"Name": "Office",
"Description": "",
"Enabled": true,
"Schedule": [],
"AccessPolicy": [],
"Attribute": [],
"AuthenticationProfile": [],
"ValidFrom": "2024-09-03T00:00:00",
"ValidTo": "2024-09-30T23:59:59"
}
]
}
} Response:{
"Token": ["Axis-accc8e251335:1727263025.463016000"]
} pacsaxis:GetAccessProfile: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"pacsaxis:GetAccessProfile": {
"Token": [
"Axis-accc8e251335:1727263025.463016000"
]
}
} Response:{
"AccessProfile":
[
{
"token": "Axis-accc8e251335:1727263025.463016000",
"Name": "Office",
"Description": "",
"ValidFrom": "2024-09-03T00:00:00",
"ValidTo": "2024-09-30T23:59:59",
"Schedule": [],
"AuthenticationProfile": [],
"Attribute": [],
"AccessPolicy": [],
"Enabled": true
}
]
} axudb:GetUser: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"axudb:GetUser": {
"Token": [
"Axis-accc8e251335:1727262997.815986000"
]
}
} Response:{
"User":
[
{
"token": "Axis-accc8e251335:1727262997.815986000",
"Name": "Axis, Siddu",
"Description": "",
"Attribute":
[
{
"type": "",
"Name": "FirstName",
"Value": "Siddu"
},
{
"type": "",
"Name": "LastName",
"Value": "Axis"
}
]
}
]
} pacsaxis:GetAccessProfile: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"pacsaxis:GetAccessProfile": {
"Token": [
"Axis-accc8e251335:1727263025.463016000"
]
}
} Response:{
"AccessProfile":
[
{
"token": "Axis-accc8e251335:1727263025.463016000",
"Name": "Office",
"Description": "",
"ValidFrom": "2024-09-03T00:00:00",
"ValidTo": "2024-09-30T23:59:59",
"Schedule": [],
"AuthenticationProfile": [],
"Attribute": [],
"AccessPolicy": [],
"Enabled": true
}
]
} pacsaxis:GetCredential: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"pacsaxis:GetCredential": {
"Token": [
"Axis-accc8e251335:1727262998.233406000"
]
}
} Response:{
"Credential":
[
{
"token": "Axis-accc8e251335:1727262998.233406000",
"UserToken": "Axis-accc8e251335:1727262997.815986000",
"Description": "",
"ValidFrom": "",
"ValidTo": "",
"Enabled": true,
"Status": "Enabled",
"IdData":
[
{
"Name": "CardNr",
"Value": "1367574939636624"
},
{
"Name": "PIN",
"Value": ""
},
{
"Name": "Card",
"Value": "04dbcd5a7b1390"
}
],
"Attribute": [],
"AuthenticationProfile": [],
"CredentialAccessProfile": []
}
]
} pacsaxis:SetCredential: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"pacsaxis:SetCredential": {
"Credential": [
{
"Enabled": true,
"Status": "Enabled",
"IdData": [
{
"Name": "CardNr",
"Value": "1367574939636624"
},
{
"Name": "PIN",
"Value": ""
},
{
"Name": "Card",
"Value": "04dbcd5a7b1390"
}
],
"CredentialAccessProfile": [
{
"AccessProfile": "Axis-accc8e251335:1727263025.463016000"
}
],
"ValidFrom": "",
"ValidTo": "",
"UserToken": "Axis-accc8e251335:1727262997.815986000",
"token": "Axis-accc8e251335:1727262998.233406000",
"Description": "",
"Attribute": [],
"AuthenticationProfile": []
}
]
}
} Response:{
"Token": ["Axis-accc8e251335:1727262998.233406000"]
} pacsaxis:GetCredential: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"pacsaxis:GetCredential": {
"Token": [
"Axis-accc8e251335:1727262998.233406000"
]
}
} Response:{
"Credential":
[
{
"token": "Axis-accc8e251335:1727262998.233406000",
"UserToken": "Axis-accc8e251335:1727262997.815986000",
"Description": "",
"ValidFrom": "",
"ValidTo": "",
"Enabled": true,
"Status": "Enabled",
"IdData":
[
{
"Name": "CardNr",
"Value": "1367574939636624"
},
{
"Name": "PIN",
"Value": ""
},
{
"Name": "Card",
"Value": "04dbcd5a7b1390"
}
],
"Attribute": [],
"AuthenticationProfile": [],
"CredentialAccessProfile":
[
{
"ValidFrom": "",
"ValidTo": "",
"AccessProfile": "Axis-accc8e251335:1727263025.463016000"
}
]
}
]
} axudb:SetUser: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"axudb:GetUser": {
"Token": [
"Axis-accc8e251335:1727262963.944011000"
]
}
} Response:{
"User":
[
{
"token": "Axis-accc8e251335:1727262963.944011000",
"Name": "Kumar, Vivek",
"Description": "",
"Attribute":
[
{
"type": "",
"Name": "FirstName",
"Value": "Vivek"
},
{
"type": "",
"Name": "LastName",
"Value": "Kumar"
}
]
}
]
} pacsaxis:GetAccessProfile: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"pacsaxis:GetAccessProfile": {
"Token": [
"Axis-accc8e251335:1727263025.463016000"
]
}
} Response:{
"AccessProfile":
[
{
"token": "Axis-accc8e251335:1727263025.463016000",
"Name": "Office",
"Description": "",
"ValidFrom": "2024-09-03T00:00:00",
"ValidTo": "2024-09-30T23:59:59",
"Schedule": [],
"AuthenticationProfile": [],
"Attribute": [],
"AccessPolicy": [],
"Enabled": true
}
]
} pacsaxis:GetCredential: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"pacsaxis:GetCredential": {
"Token": [
"Axis-accc8e251335:1727262964.388464000"
]
}
} Response:{
"Credential":
[
{
"token": "Axis-accc8e251335:1727262964.388464000",
"UserToken": "Axis-accc8e251335:1727262963.944011000",
"Description": "",
"ValidFrom": "",
"ValidTo": "",
"Enabled": true,
"Status": "Enabled",
"IdData":
[
{
"Name": "CardNr",
"Value": "1207665655442048"
},
{
"Name": "PIN",
"Value": ""
},
{
"Name": "Card",
"Value": "044a5d92666a80"
}
],
"Attribute": [],
"AuthenticationProfile": [],
"CredentialAccessProfile": []
}
]
} pacsaxis:SetCredential:VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"pacsaxis:SetCredential": {
"Credential": [
{
"Enabled": true,
"Status": "Enabled",
"IdData": [
{
"Name": "CardNr",
"Value": "1207665655442048"
},
{
"Name": "PIN",
"Value": ""
},
{
"Name": "Card",
"Value": "044a5d92666a80"
}
],
"CredentialAccessProfile": [
{
"AccessProfile": "Axis-accc8e251335:1727263025.463016000"
}
],
"ValidFrom": "",
"ValidTo": "",
"UserToken": "Axis-accc8e251335:1727262963.944011000",
"token": "Axis-accc8e251335:1727262964.388464000",
"Description": "",
"Attribute": [],
"AuthenticationProfile": []
}
]
}
} Response:{
"Token": ["Axis-accc8e251335:1727262964.388464000"]
} pacsaxis:GetCredential: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"pacsaxis:GetCredential": {
"Token": [
"Axis-accc8e251335:1727262964.388464000"
]
}
} Response:{
"Credential":
[
{
"token": "Axis-accc8e251335:1727262964.388464000",
"UserToken": "Axis-accc8e251335:1727262963.944011000",
"Description": "",
"ValidFrom": "",
"ValidTo": "",
"Enabled": true,
"Status": "Enabled",
"IdData":
[
{
"Name": "CardNr",
"Value": "1207665655442048"
},
{
"Name": "PIN",
"Value": ""
},
{
"Name": "Card",
"Value": "044a5d92666a80"
}
],
"Attribute": [],
"AuthenticationProfile": [],
"CredentialAccessProfile":
[
{
"ValidFrom": "",
"ValidTo": "",
"AccessProfile": "Axis-accc8e251335:1727263025.463016000"
}
]
}
]
} pacsaxis:GetAccessProfile: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"pacsaxis:GetAccessProfile": {
"Token": [
"Axis-accc8e251335:1727263025.463016000"
]
}
} Response:{
"AccessProfile":
[
{
"token": "Axis-accc8e251335:1727263025.463016000",
"Name": "Office",
"Description": "",
"ValidFrom": "2024-09-03T00:00:00",
"ValidTo": "2024-09-30T23:59:59",
"Schedule": [],
"AuthenticationProfile": [],
"Attribute": [],
"AccessPolicy": [],
"Enabled": true
}
]
} axtdc:GetDoor: VAPIX API documentationURL: http://10.176.12.83/vapix/doorcontrolMethod: POSTBody:{
"axtdc:GetDoor": {
"Token": [
"Axis-accc8e251335:1727244990.783015000"
]
}
} Response:{
"Door":
[
{
"token": "Axis-accc8e251335:1727244990.783015000",
"Name": "door1_HID_class_SE",
"Description": "",
"AccessTime": "PT7S",
"OpenTooLongTime": "PT30S",
"PreAlarmTime": "PT10S",
"ExtendedAccessTime": "PT30S",
"ExtendedOpenTooLongTime": "PT30S",
"HeartbeatInterval": "PT600S",
"PriorityConfiguration": "",
"DefaultPriority": ""
}
]
} pacsaxis:GetAccessPoint: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"pacsaxis:GetAccessPoint": {
"Token": [
"Axis-accc8e251335:1727244995.455178000"
]
}
} Response:{
"AccessPoint":
[
{
"token": "Axis-accc8e251335:1727244995.455178000",
"Name": "",
"Description": "",
"AreaFrom": "",
"AreaTo": "",
"EntityType": "tdc:Door",
"Entity": "Axis-accc8e251335:1727244990.783015000",
"Enabled": true,
"DoorDeviceUUID": "5581ad80-95b0-11e0-b883-accc8e251335",
"IdPointDevice":
[
{
"IdPoint": "Axis-accc8e251335:1727244990.864633000",
"DeviceUUID": ""
}
],
"AuthenticationProfile": [],
"Attribute":
[
{
"type": "",
"Name": "Direction",
"Value": "in"
}
],
"ActionArgument": [],
"Action": "Access"
}
]
} pacsaxis:SetAccessProfile: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"pacsaxis:SetAccessProfile": {
"AccessProfile": [
{
"Name": "Office",
"Description": "",
"Enabled": true,
"Schedule": [],
"AccessPolicy": [
{
"Schedule": [
"standard_always"
],
"AccessPoint": "Axis-accc8e251335:1727244995.455178000"
}
],
"Attribute": [],
"AuthenticationProfile": [],
"ValidFrom": "2024-09-03T00:00:00",
"ValidTo": "2024-09-30T23:59:59",
"token": "Axis-accc8e251335:1727263025.463016000"
}
]
}
} Response:{
"Token": ["Axis-accc8e251335:1727263025.463016000"]
} pacsaxis:GetAccessProfile: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"pacsaxis:GetAccessProfile": {
"Token": [
"Axis-accc8e251335:1727263025.463016000"
]
}
} Response:{
"AccessProfile":
[
{
"token": "Axis-accc8e251335:1727263025.463016000",
"Name": "Office",
"Description": "",
"ValidFrom": "2024-09-03T00:00:00",
"ValidTo": "2024-09-30T23:59:59",
"Schedule": [],
"AuthenticationProfile": [],
"Attribute": [],
"AccessPolicy":
[
{
"AuthorizationProfile": [],
"Attribute": [],
"Schedule": ["standard_always"],
"AccessPoint": "Axis-accc8e251335:1727244995.455178000"
}
],
"Enabled": true
}
]
} pacsaxis:GetAccessProfile: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"pacsaxis:GetAccessProfile": {
"Token": [
"Axis-accc8e251335:1727263025.463016000"
]
}
} Response:{
"AccessProfile":
[
{
"token": "Axis-accc8e251335:1727263025.463016000",
"Name": "Office",
"Description": "",
"ValidFrom": "2024-09-03T00:00:00",
"ValidTo": "2024-09-30T23:59:59",
"Schedule": [],
"AuthenticationProfile": [],
"Attribute": [],
"AccessPolicy":
[
{
"AuthorizationProfile": [],
"Attribute": [],
"Schedule": ["standard_always"],
"AccessPoint": "Axis-accc8e251335:1727244995.455178000"
}
],
"Enabled": true
}
]
} axsch:GetSchedule: VAPIX API documentationURL: http://10.176.12.83/vapix/scheduleMethod: POSTBody:{
"axsch:GetSchedule": {
"Token": [
"standard_always"
]
}
} Response:{
"Schedule":
[
{
"token": "standard_always",
"Name": "Always",
"Description": "Always active (standard schedule)",
"ScheduleDefinition": "BEGIN:VCALENDAR\r\nPRODID:\r\nVERSION:2.0\r\nBEGIN:VEVENT\r\nSUMMARY:Always\r\nDTSTART:19700101T000000\r\nDTEND:19700102T000000\r\nRRULE:FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR,SA,SU\r\nDTSTAMP:19700101T000000\r\nUID:000000000000000\r\nEND:VEVENT\r\nEND:VCALENDAR\r\n",
"Attribute": [],
"ExceptionScheduleDefinition": ""
}
]
} pacsaxis:SetAccessProfile: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"pacsaxis:SetAccessProfile": {
"AccessProfile": [
{
"Name": "Office",
"Description": "",
"Enabled": true,
"Schedule": [
"standard_always"
],
"AccessPolicy": [
{
"AuthorizationProfile": [],
"Attribute": [],
"Schedule": [
"standard_always"
],
"AccessPoint": "Axis-accc8e251335:1727244995.455178000"
}
],
"Attribute": [],
"AuthenticationProfile": [],
"ValidFrom": "2024-09-03T00:00:00",
"ValidTo": "2024-09-30T23:59:59",
"token": "Axis-accc8e251335:1727263025.463016000"
}
]
}
} Response:{
"Token": ["Axis-accc8e251335:1727263025.463016000"]
} pacsaxis:GetAccessProfile: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"pacsaxis:GetAccessProfile": {
"Token": [
"Axis-accc8e251335:1727263025.463016000"
]
}
} Response:{
"AccessProfile":
[
{
"token": "Axis-accc8e251335:1727263025.463016000",
"Name": "Office",
"Description": "",
"ValidFrom": "2024-09-03T00:00:00",
"ValidTo": "2024-09-30T23:59:59",
"Schedule": ["standard_always"],
"AuthenticationProfile": [],
"Attribute": [],
"AccessPolicy":
[
{
"AuthorizationProfile": [],
"Attribute": [],
"Schedule": ["standard_always"],
"AccessPoint": "Axis-accc8e251335:1727244995.455178000"
}
],
"Enabled": true
}
]
} pacsaxis:GetAccessPoint: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"pacsaxis:GetAccessPoint": {
"Token": [
"Axis-accc8e251335:1727244995.455178000"
]
}
} Response:{
"AccessPoint":
[
{
"token": "Axis-accc8e251335:1727244995.455178000",
"Name": "",
"Description": "",
"AreaFrom": "",
"AreaTo": "",
"EntityType": "tdc:Door",
"Entity": "Axis-accc8e251335:1727244990.783015000",
"Enabled": true,
"DoorDeviceUUID": "5581ad80-95b0-11e0-b883-accc8e251335",
"IdPointDevice":
[
{
"IdPoint": "Axis-accc8e251335:1727244990.864633000",
"DeviceUUID": ""
}
],
"AuthenticationProfile": [],
"Attribute":
[
{
"type": "",
"Name": "Direction",
"Value": "in"
}
],
"ActionArgument": [],
"Action": "Access"
}
]
} axtdc:GetDoor: VAPIX API documentationURL: http://10.176.12.83/vapix/doorcontrolMethod: POSTBody:{
"axtdc:GetDoor": {
"Token": [
"Axis-accc8e251335:1727244990.783015000"
]
}
} Response:{
"Door":
[
{
"token": "Axis-accc8e251335:1727244990.783015000",
"Name": "door1_HID_class_SE",
"Description": "",
"AccessTime": "PT7S",
"OpenTooLongTime": "PT30S",
"PreAlarmTime": "PT10S",
"ExtendedAccessTime": "PT30S",
"ExtendedOpenTooLongTime": "PT30S",
"HeartbeatInterval": "PT600S",
"PriorityConfiguration": "",
"DefaultPriority": ""
}
]
} pacsaxis:GetAccessProfile: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"pacsaxis:GetAccessProfile": {
"Token": [
"5ae2645fbb8ef92a3466b5c5dd6b4e21"
]
}
} Response:{
"AccessProfile":
[
{
"token": "5ae2645fbb8ef92a3466b5c5dd6b4e21",
"Name": "rexEnablerAccessProfile",
"Description": "",
"ValidFrom": "",
"ValidTo": "",
"Schedule": ["standard_always"],
"AuthenticationProfile": [],
"Attribute": [],
"AccessPolicy": [],
"Enabled": true
}
]
} pacsaxis:SetAuthenticationProfile: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"pacsaxis:SetAuthenticationProfile": {
"AuthenticationProfile": [
{
"Name": "",
"Description": "",
"Schedule": [],
"IdFactor": [
{
"IdDataName": "CardNr",
"IdMatchOperatorName": "IdDataEqual",
"OperatorValue": ""
}
]
}
]
}
} Response:{
"Token": ["Axis-accc8e251335:1727263056.342632000"]
} axpacsaxisudb:GetAuthenticationProfile: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"pacsaxis:GetAuthenticationProfile": {
"Token": [
"Axis-accc8e251335:1727263056.342632000"
]
}
} Response:{
"AuthenticationProfile":
[
{
"token": "Axis-accc8e251335:1727263056.342632000",
"Name": "",
"Description": "",
"Schedule": [],
"IdFactor":
[
{
"IdDataName": "CardNr",
"IdMatchOperatorName": "IdDataEqual",
"OperatorValue": ""
}
]
}
]
} pacsaxis:SetAccessPoint: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"pacsaxis:SetAccessPoint": {
"AccessPoint": [
{
"token": "Axis-accc8e251335:1727244995.455178000",
"Name": "",
"Description": "",
"AreaFrom": "",
"AreaTo": "",
"EntityType": "tdc:Door",
"Entity": "Axis-accc8e251335:1727244990.783015000",
"Enabled": true,
"DoorDeviceUUID": "5581ad80-95b0-11e0-b883-accc8e251335",
"IdPointDevice": [
{
"IdPoint": "Axis-accc8e251335:1727244990.864633000",
"DeviceUUID": ""
}
],
"AuthenticationProfile": [
"Axis-accc8e251335:1727263056.342632000"
],
"Attribute": [
{
"type": "",
"Name": "Direction",
"Value": "in"
}
],
"ActionArgument": [],
"Action": "Access"
}
]
}
} Response:{
"Token": ["Axis-accc8e251335:1727244995.455178000"]
} pacsaxis:GetAccessPoint: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"pacsaxis:GetAccessPoint": {
"Token": [
"Axis-accc8e251335:1727244995.455178000"
]
}
} Response:{
"AccessPoint":
[
{
"token": "Axis-accc8e251335:1727244995.455178000",
"Name": "",
"Description": "",
"AreaFrom": "",
"AreaTo": "",
"EntityType": "tdc:Door",
"Entity": "Axis-accc8e251335:1727244990.783015000",
"Enabled": true,
"DoorDeviceUUID": "5581ad80-95b0-11e0-b883-accc8e251335",
"IdPointDevice":
[
{
"IdPoint": "Axis-accc8e251335:1727244990.864633000",
"DeviceUUID": ""
}
],
"AuthenticationProfile": ["Axis-accc8e251335:1727263056.342632000"],
"Attribute":
[
{
"type": "",
"Name": "Direction",
"Value": "in"
}
],
"ActionArgument": [],
"Action": "Access"
}
]
} pacsaxis:SetAccessProfile: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"pacsaxis:SetAccessProfile": {
"AccessProfile": [
{
"token": "5ae2645fbb8ef92a3466b5c5dd6b4e21",
"Name": "rexEnablerAccessProfile",
"Description": "",
"ValidFrom": "",
"ValidTo": "",
"Schedule": [
"standard_always"
],
"AuthenticationProfile": [],
"Attribute": [],
"AccessPolicy": [],
"Enabled": true
}
]
}
} Response:{
"Token": ["5ae2645fbb8ef92a3466b5c5dd6b4e21"]
} pacsaxis:GetAccessProfile: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"pacsaxis:GetAccessProfile": {
"Token": [
"5ae2645fbb8ef92a3466b5c5dd6b4e21"
]
}
} Response:{
"AccessProfile":
[
{
"token": "5ae2645fbb8ef92a3466b5c5dd6b4e21",
"Name": "rexEnablerAccessProfile",
"Description": "",
"ValidFrom": "",
"ValidTo": "",
"Schedule": ["standard_always"],
"AuthenticationProfile": [],
"Attribute": [],
"AccessPolicy": [],
"Enabled": true
}
]
} pacsaxis:GetAuthenticationProfile: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"pacsaxis:GetAuthenticationProfile": {
"Token": [
"Axis-accc8e251335:1727263056.342632000"
]
}
} Response:{
"AuthenticationProfile":
[
{
"token": "Axis-accc8e251335:1727263056.342632000",
"Name": "",
"Description": "",
"Schedule": [],
"IdFactor":
[
{
"IdDataName": "CardNr",
"IdMatchOperatorName": "IdDataEqual",
"OperatorValue": ""
}
]
}
]
} axtdc:GetDoor: VAPIX API documentationURL: http://10.176.12.83/vapix/doorcontrolMethod: POSTBody:{
"axtdc:GetDoor": {
"Token": [
"Axis-accc8e251335:1727244990.783015000"
]
}
} Response:{
"Door":
[
{
"token": "Axis-accc8e251335:1727244990.783015000",
"Name": "door1_HID_class_SE",
"Description": "",
"AccessTime": "PT7S",
"OpenTooLongTime": "PT30S",
"PreAlarmTime": "PT10S",
"ExtendedAccessTime": "PT30S",
"ExtendedOpenTooLongTime": "PT30S",
"HeartbeatInterval": "PT600S",
"PriorityConfiguration": "",
"DefaultPriority": ""
}
]
} axsch:GetSchedule: VAPIX API documentationURL: http://10.176.12.83/vapix/scheduleMethod: POSTBody:{
"axsch:GetSchedule": {
"Token": [
"standard_always"
]
}
} Response:{
"Schedule":
[
{
"token": "standard_always",
"Name": "Always",
"Description": "Always active (standard schedule)",
"ScheduleDefinition": "BEGIN:VCALENDAR\r\nPRODID:\r\nVERSION:2.0\r\nBEGIN:VEVENT\r\nSUMMARY:Always\r\nDTSTART:19700101T000000\r\nDTEND:19700102T000000\r\nRRULE:FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR,SA,SU\r\nDTSTAMP:19700101T000000\r\nUID:000000000000000\r\nEND:VEVENT\r\nEND:VCALENDAR\r\n",
"Attribute": [],
"ExceptionScheduleDefinition": ""
}
]
} pacsaxis:GetAuthenticationProfile: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"pacsaxis:SetAuthenticationProfile": {
"AuthenticationProfile": [
{
"Name": "",
"Description": "",
"Schedule": [
"standard_always"
],
"IdFactor": [
{
"IdDataName": "CardNr",
"IdMatchOperatorName": "IdDataEqual",
"OperatorValue": ""
}
],
"token": "Axis-accc8e251335:1727263056.342632000"
}
]
}
} Response:{
"Token": ["Axis-accc8e251335:1727263056.342632000"]
} pacsaxis:GetAuthenticationProfile: VAPIX API documentationURL: http://10.176.12.83/vapix/pacsMethod: POSTBody:{
"pacsaxis:GetAuthenticationProfile": {
"Token": [
"Axis-accc8e251335:1727263056.342632000"
]
}
} Response:{
"AuthenticationProfile":
[
{
"token": "Axis-accc8e251335:1727263056.342632000",
"Name": "",
"Description": "",
"Schedule": ["standard_always"],
"IdFactor":
[
{
"IdDataName": "CardNr",
"IdMatchOperatorName": "IdDataEqual",
"OperatorValue": ""
}
]
}
]
} axlog:FetchEvents3: VAPIX API documentationURL: http://10.176.12.83/vapix/eventloggerMethod: POSTBody:{
"axlog:FetchEvents3": {
"FilterSets": [
{}
],
"Descending": true,
"IncludeHumanReadableTime": true,
"ConvertFilterTimeFromLocal": true
}
} Response:{
"Event":
[
{
"rowid": 1162,
"token": "Axis--2878290163519282712:1664",
"UUID": "5581ad80-95b0-11e0-b883-accc8e251335",
"UtcTime": "2024-09-25T11:30:13.551344Z",
"KeyValues":
[
{
"Key": "Device Source",
"Value": "5581ad80-95b0-11e0-b883-accc8e251335",
"Tags": ["onvif-source"]
},
{
"Key": "DoorToken",
"Value": "Axis-accc8e251335:1727244990.783015000",
"Tags":
[
"wstype:pt:ReferenceToken",
"evvnn:door1_HID_class_SE",
"evknn:Door Token",
"onvif-source"
]
},
{
"Key": "topic2",
"Value": "DoorAlarm",
"Tags": ["evvnn:Door Alarm"]
},
{
"Key": "topic1",
"Value": "State",
"Tags": ["evvnn:States"]
},
{
"Key": "topic0",
"Value": "Door",
"Tags": ["evvnn:Doors"]
},
{
"Key": "State",
"Value": "DoorOpenTooLong",
"Tags":
[
"property-state",
"wstype:tdc:DoorAlarmState",
"evknn:Door Alarm",
"onvif-data"
]
}
],
"Tags": [],
"HumanReadableTime": "09\/25\/2024 17:00:13"
},
{
"rowid": 1161,
"token": "Axis--2878290163519282712:1663",
"UUID": "5581ad80-95b0-11e0-b883-accc8e251335",
"UtcTime": "2024-09-25T11:30:03.551656Z",
"KeyValues":
[
{
"Key": "Device Source",
"Value": "5581ad80-95b0-11e0-b883-accc8e251335",
"Tags": ["onvif-source"]
},
{
"Key": "DoorToken",
"Value": "Axis-accc8e251335:1727244990.783015000",
"Tags":
[
"wstype:pt:ReferenceToken",
"evvnn:door1_HID_class_SE",
"evknn:Door Token",
"onvif-source"
]
},
{
"Key": "topic2",
"Value": "DoorWarning",
"Tags": ["evvnn:Door Warning"]
},
{
"Key": "topic1",
"Value": "State",
"Tags": ["evvnn:States"]
},
{
"Key": "topic0",
"Value": "Door",
"Tags": ["evvnn:Doors"]
},
{
"Key": "State",
"Value": "DoorOpenTooLongWarn",
"Tags":
[
"property-state",
"wstype:tdc:DoorWarningState",
"evknn:Door Warning",
"onvif-data"
]
}
],
"Tags": [],
"HumanReadableTime": "09\/25\/2024 17:00:,
{
"rowid": 163,
"token": "Axis--2878290163519282712:303",
"UUID": "5581ad80-95b0-11e0-b883-accc8e251335",
"UtcTime": "2024-07-16T04:39:35.151551Z",
"KeyValues":
[
{
"Key": "State",
"Value": "1",
"Tags":
[
"property-state",
"onvif-data"
]
},
{
"Key": "Device Source",
"Value": "5581ad80-95b0-11e0-b883-accc8e251335",
"Tags": ["onvif-source"]
},
{
"Key": "AccessPointToken",
"Value": "Axis-accc8e251335:1721104381.095264000",
"Tags":
[
"wstype:pt:ReferenceToken",
"onvif-source"
]
},
{
"Key": "topic2",
"Value": "Enabled",
"Tags": ["evvnn:AccessPoint Enabled"]
},
{
"Key": "topic1",
"Value": "State",
"Tags": ["evvnn:State"]
},
{
"Key": "topic0",
"Value": "AccessPoint",
"Tags": []
}
],
"Tags": [],
"HumanReadableTime": "07\/16\/2024 10:09:35"
}
],
"More": true
} |
Beta Was this translation helpful? Give feedback.
-
Hello @vivekatoffice Thanks for your answer. By the inspect tool in the Chrome I was able the find the missing parts :) Antother question: When using Insomnia or Postman everything works fine on both the A1001 and the A1210 but when using my C# application it only works with the A1001. When sending the exact that works with the A1001 it does not work with the A1210, the response iss that no action is specified... Any idea what could cause this? Thanks again |
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm trying to use the VAPIX API to create a C# solution that configures the A1001/A1210.
I'm currently at the stage where everything works except when entering a PIN code from a connected keypad.
The keypad feedback works, both when changing the state via the API and the web configuration page.
When unlocking via the API and the web configuration page, everything with the keypad works as expected.
When checking through the web configuration page, everything looks the same as when I configure the device via the web interface.
The only difference is the event log:
This is when it works, with the device configured through the web page.
This is when it does not work, with the device configured via the API.
I understand that I need to figure out how to connect an approved PIN code entry to the access control system to open the door, but I'm stuck.
Any help is much appreciated.
Here is how I do it via the API and currently Insomnia:
Step 1 - Get device UUID
POST URL https://{{ _.axisIp }}/vapix/aconn
{ "aconn:GetPeerList": {} }
Saving the DeviceUUID for future use.
Step 2 - Add a door
POST URL https://{{ _.axisIp }}/vapix/doorcontrol
Step 3 - Configure door
POST URL https://{{ _.axisIp }}/vapix/doorcontrol
Step 4 - Connect relay to door
POST URL https://{{ _.axisIp }}/vapix/pin
Step 5 - Test access on door
POST URL https://{{ _.axisIp }}/vapix/doorcontrol
Step 6 - Add an ID point
POST URL https://{{ _.axisIp }}/vapix/idpoint
Step 7 - Configure ID point
`POST URL https://{{ _.axisIp }}/vapix/idpoint´
Step 8 - Connect serial to reader
POST URL https://{{ _.axisIp }}/vapix/pin
Step 9 - Test feedback on ID point
POST URL https://{{ _.axisIp }}/vapix/idpoint
Step 10 - Add authentication profile
POST URL https://{{ _.axisIp }}/vapix/pacs
Step 11 - Add a user
POST URL https://{{ _.axisIp }}/vapix/pacs
Step 12 - Add an access point
POST URL https://{{ _.axisIp }}/vapix/pacs
Step 13 - Add an access profile
POST URL https://{{ _.axisIp }}/vapix/pacs
Step 14 - Add a credential
POST URL https://{{ _.axisIp }}/vapix/pacs
Beta Was this translation helpful? Give feedback.
All reactions