From 2cc6b1276fcde55ca3b77b5573dbad1e5e0afe65 Mon Sep 17 00:00:00 2001 From: Alexander Kellner Date: Fri, 16 Feb 2024 15:38:05 +0100 Subject: [PATCH] [TASK] Add visits property to API documentation --- Documentation/Technical/API/Index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/Technical/API/Index.md b/Documentation/Technical/API/Index.md index f66f37c2..f92b0016 100644 --- a/Documentation/Technical/API/Index.md +++ b/Documentation/Technical/API/Index.md @@ -361,6 +361,7 @@ API with these arguments: "ipAddress": "127.0.0.1", "identified": "1", "scoring": "10", + "visits": "1", "attributes": { "0": { "name": "firstname", @@ -393,5 +394,5 @@ API with these arguments: CURL example: ``` -curl -k -d 'tx_luxenterprise_api[arguments]={"endpoint":"create","properties":{"visitor":{"email":"new@email.org","ipAddress":"127.0.0.1","identified":"1","scoring":"10","attributes":{"0":{"name":"firstname","value":"Alex"},"1":{"name":"lastname","value":"Kellner"}},"pagevisits":{"0":{"page":"12","language":"0","referrer":"https://lastdomain.org/page"}},"fingerprints":{"0":{"value":"abcdef123456789foobar","domain":"https://mydomain.org","userAgent":"Mozilla/5.0"}}}}}' -H 'Api-Key: abc...' --url https://www.in2code.de/luxenterprise_api.json +curl -k -d 'tx_luxenterprise_api[arguments]={"endpoint":"create","properties":{"visitor":{"email":"new@email.org","ipAddress":"127.0.0.1","identified":"1","scoring":"10","visits":"1",attributes":{"0":{"name":"firstname","value":"Alex"},"1":{"name":"lastname","value":"Kellner"}},"pagevisits":{"0":{"page":"12","language":"0","referrer":"https://lastdomain.org/page"}},"fingerprints":{"0":{"value":"abcdef123456789foobar","domain":"https://mydomain.org","userAgent":"Mozilla/5.0"}}}}}' -H 'Api-Key: abc...' --url https://www.in2code.de/luxenterprise_api.json ```