POST api/AccessControlScan
Validates multiple access control token scan and records them in the database. The Scan objects can have times in the past and will be validated against the time they were scanned. The Scan objects can have SessionIds, but if the SessionId is Guid.Empty then the logged in SessionId and therefore Access Control Location will be used.
Request Information
URI Parameters
None.
Body Parameters
Collection of AccessControlScanDTName | Description | Type | Additional information |
---|---|---|---|
ExtraData | Dictionary of string [key] and string [value] |
None. |
|
Message | string |
None. |
|
Statistics | AccessControlStatisticsDT |
None. |
|
AccessControlScanId | globally unique identifier |
None. |
|
AccessControlToken | string |
None. |
|
SessionId | globally unique identifier |
None. |
|
ScanDateTime | date |
None. |
|
AccessControlScannerId | globally unique identifier |
None. |
|
AccessControlLocationId | globally unique identifier |
None. |
|
ScanResult | integer |
None. |
|
ItemId | globally unique identifier |
None. |
|
ProductId | globally unique identifier |
None. |
|
FolderId | globally unique identifier |
None. |
|
OrderId | globally unique identifier |
None. |
|
IsSaved | boolean |
None. |
Request Formats
application/json, text/json
Sample:
[ { "_Message": "sample string 1", "extraData": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "message": "sample string 1", "statistics": { "totalItems": 1, "scannedItems": 2, "remainingItems": 3 }, "accessControlScanId": "96ebd59b-9d35-4f47-aecc-5a750e04a625", "accessControlToken": "sample string 3", "sessionId": "0cd3d50b-cf0a-42a0-ac1c-c9df735c611e", "scanDateTime": "2025-10-22T08:56:07.8329137+01:00", "accessControlScannerId": "96b27357-8745-4c00-b35b-62e0412ea119", "accessControlLocationId": "3b0768bb-970c-4306-af85-c1bba107ec3e", "scanResult": 6, "itemId": "1319bff7-8aa5-4255-a017-fce30cb88261", "productId": "417ab643-7224-4214-99c0-3216f1fcfbbb", "folderId": "69a3b9e3-bd70-46d7-a2bb-973e23662011", "orderId": "039f617c-aea7-4a3d-b47b-0d38a847fe0e", "isSaved": true }, { "_Message": "sample string 1", "extraData": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "message": "sample string 1", "statistics": { "totalItems": 1, "scannedItems": 2, "remainingItems": 3 }, "accessControlScanId": "96ebd59b-9d35-4f47-aecc-5a750e04a625", "accessControlToken": "sample string 3", "sessionId": "0cd3d50b-cf0a-42a0-ac1c-c9df735c611e", "scanDateTime": "2025-10-22T08:56:07.8329137+01:00", "accessControlScannerId": "96b27357-8745-4c00-b35b-62e0412ea119", "accessControlLocationId": "3b0768bb-970c-4306-af85-c1bba107ec3e", "scanResult": 6, "itemId": "1319bff7-8aa5-4255-a017-fce30cb88261", "productId": "417ab643-7224-4214-99c0-3216f1fcfbbb", "folderId": "69a3b9e3-bd70-46d7-a2bb-973e23662011", "orderId": "039f617c-aea7-4a3d-b47b-0d38a847fe0e", "isSaved": true } ]
Response Information
Resource Description
An array of AccessControlScanDT objects
Collection of AccessControlScanDTName | Description | Type | Additional information |
---|---|---|---|
ExtraData | Dictionary of string [key] and string [value] |
None. |
|
Message | string |
None. |
|
Statistics | AccessControlStatisticsDT |
None. |
|
AccessControlScanId | globally unique identifier |
None. |
|
AccessControlToken | string |
None. |
|
SessionId | globally unique identifier |
None. |
|
ScanDateTime | date |
None. |
|
AccessControlScannerId | globally unique identifier |
None. |
|
AccessControlLocationId | globally unique identifier |
None. |
|
ScanResult | integer |
None. |
|
ItemId | globally unique identifier |
None. |
|
ProductId | globally unique identifier |
None. |
|
FolderId | globally unique identifier |
None. |
|
OrderId | globally unique identifier |
None. |
|
IsSaved | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "_Message": "sample string 1", "extraData": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "message": "sample string 1", "statistics": { "totalItems": 1, "scannedItems": 2, "remainingItems": 3 }, "accessControlScanId": "366b9ae4-8471-4a90-bad8-3db24a73ca52", "accessControlToken": "sample string 3", "sessionId": "201f2026-8cf8-491a-920f-71dc9a1d63b4", "scanDateTime": "2025-10-22T08:56:08.2070854+01:00", "accessControlScannerId": "d8aca718-29c9-4381-8112-8f15d5d1319a", "accessControlLocationId": "b6314c4d-b765-425b-b38f-8ac25726d685", "scanResult": 6, "itemId": "2188e611-eb9e-460a-88f7-eb462c14b8fd", "productId": "ee4d7abc-6ce5-46c1-8adf-00a1d65788a9", "folderId": "38b32b5b-9336-4236-80f3-746061d56bea", "orderId": "db1a474f-8468-47ca-8170-b7b2bb627483", "isSaved": true }, { "_Message": "sample string 1", "extraData": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "message": "sample string 1", "statistics": { "totalItems": 1, "scannedItems": 2, "remainingItems": 3 }, "accessControlScanId": "366b9ae4-8471-4a90-bad8-3db24a73ca52", "accessControlToken": "sample string 3", "sessionId": "201f2026-8cf8-491a-920f-71dc9a1d63b4", "scanDateTime": "2025-10-22T08:56:08.2070854+01:00", "accessControlScannerId": "d8aca718-29c9-4381-8112-8f15d5d1319a", "accessControlLocationId": "b6314c4d-b765-425b-b38f-8ac25726d685", "scanResult": 6, "itemId": "2188e611-eb9e-460a-88f7-eb462c14b8fd", "productId": "ee4d7abc-6ce5-46c1-8adf-00a1d65788a9", "folderId": "38b32b5b-9336-4236-80f3-746061d56bea", "orderId": "db1a474f-8468-47ca-8170-b7b2bb627483", "isSaved": true } ]