Changes for page ONEcount API Documentation
Last modified by Rayaan Ahmed on 2025/02/09 22:20
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -59,11 +59,6 @@ 59 59 11. Create Engagements 60 60 11. Update Engagements 61 61 11. Add users data to Engagement 62 -1. Segments\\ 63 -11. Get all Segments 64 -11. Get specific segment by segment id 65 -11. Add users to segment 66 -11. Get all segment ids for a user 67 67 68 68 \\ 69 69 ... ... @@ -120,7 +120,7 @@ 120 120 (% class="western" %) 121 121 API will output the response in a JSON format discussed below. 122 122 123 -{{code language="yml" theme="RDark" title="Response"}} 118 +{{code language="yml" theme="RDark" title="Response" collapse="true"}} 124 124 { 125 125 "result": { 126 126 "success": "1", ... ... @@ -340,7 +340,7 @@ 340 340 341 341 (% style="color: rgb(107,107,107);" %)Request 342 342 343 -{{code language="php" theme="RDark" title="Get All Users Request"}} 338 +{{code language="php" theme="RDark" title="Get All Users Request" collapse="true"}} 344 344 <?php 345 345 346 346 $curl = curl_init(); ... ... @@ -369,7 +369,7 @@ 369 369 370 370 \\ 371 371 372 -(% style="color: rgb(107,107,107);" %)Response 200 OK 367 +(% style="color: rgb(107,107,107);" %)Response 200 OK 373 373 374 374 {{code language="yml" theme="RDark" title="Get All Users Response" collapse="true"}} 375 375 { ... ... @@ -880,7 +880,7 @@ 880 880 881 881 (% style="color: rgb(107,107,107);" %)Request 882 882 883 -{{code language="php" theme="RDark" title="Get specific User Request"}} 878 +{{code language="php" theme="RDark" title="Get specific User Request" collapse="true"}} 884 884 <?php 885 885 886 886 $curl = curl_init(); ... ... @@ -907,7 +907,7 @@ 907 907 908 908 \\ 909 909 910 -(% style="color: rgb(107,107,107);" %)Response 200 OK 905 +(% style="color: rgb(107,107,107);" %)Response 200 OK 911 911 912 912 {{code language="yml" theme="RDark" title="Get specific user Response" collapse="true"}} 913 913 { ... ... @@ -978,7 +978,7 @@ 978 978 979 979 ---- 980 980 981 -{{code language="yml" theme="RDark" title="Body"}} 976 +{{code language="yml" theme="RDark" title="Body" collapse="true"}} 982 982 {"e":"rayaan@one-count.com","p":"12345"} 983 983 {{/code}} 984 984 ... ... @@ -988,7 +988,7 @@ 988 988 989 989 (% style="color: rgb(107,107,107);" %)Request 990 990 991 -{{code language="php" theme="RDark" title="User login Request"}} 986 +{{code language="php" theme="RDark" title="User login Request" collapse="true"}} 992 992 <?php 993 993 994 994 $curl = curl_init(); ... ... @@ -1016,7 +1016,7 @@ 1016 1016 1017 1017 \\ 1018 1018 1019 -(% style="color: rgb(107,107,107);" %)Response 200 OK 1014 +(% style="color: rgb(107,107,107);" %)Response 200 OK 1020 1020 1021 1021 {{code language="yml" theme="RDark" title="Login user Response" collapse="true"}} 1022 1022 { ... ... @@ -1063,7 +1063,7 @@ 1063 1063 1064 1064 (% style="color: rgb(107,107,107);" %)Request 1065 1065 1066 -{{code language="php" theme="RDark" title="Lookup user Request"}} 1061 +{{code language="php" theme="RDark" title="Lookup user Request" collapse="true"}} 1067 1067 <?php 1068 1068 1069 1069 $curl = curl_init(); ... ... @@ -1090,7 +1090,7 @@ 1090 1090 1091 1091 \\ 1092 1092 1093 -(% style="color: rgb(107,107,107);" %)Response 200 OK 1088 +(% style="color: rgb(107,107,107);" %)Response 200 OK 1094 1094 1095 1095 {{code language="yml" theme="RDark" title="Lookup user Response" collapse="true"}} 1096 1096 { ... ... @@ -1251,7 +1251,7 @@ 1251 1251 1252 1252 ---- 1253 1253 1254 -{{code language="yml" theme="RDark" title="Body"}} 1249 +{{code language="yml" theme="RDark" title="Body" collapse="true"}} 1255 1255 {"Users":{"PartnerId":1,"Demo":{"1":"testApirayaan7@onecount.net","4":"Rayaan","5":"Ahmed"}},"DedupeColumns":"1","Transactions":[]} 1256 1256 {{/code}} 1257 1257 ... ... @@ -1261,7 +1261,7 @@ 1261 1261 1262 1262 (% style="color: rgb(107,107,107);" %)Request 1263 1263 1264 -{{code language="php" theme="RDark" title="Create User Request"}} 1259 +{{code language="php" theme="RDark" title="Create User Request" collapse="true"}} 1265 1265 <?php 1266 1266 1267 1267 $curl = curl_init(); ... ... @@ -1289,7 +1289,7 @@ 1289 1289 1290 1290 \\ 1291 1291 1292 -(% style="color: rgb(107,107,107);" %)Response 200 OK 1287 +(% style="color: rgb(107,107,107);" %)Response 200 OK 1293 1293 1294 1294 {{code language="yml" theme="RDark" title="Create user Response" collapse="true"}} 1295 1295 { ... ... @@ -1415,7 +1415,7 @@ 1415 1415 1416 1416 ---- 1417 1417 1418 -{{code language="yml" theme="RDark" title="Body"}} 1413 +{{code language="yml" theme="RDark" title="Body" collapse="true"}} 1419 1419 {"Users":{"Demo":{"6":"title1"}}} 1420 1420 {{/code}} 1421 1421 ... ... @@ -1425,7 +1425,7 @@ 1425 1425 1426 1426 (% style="color: rgb(107,107,107);" %)Request 1427 1427 1428 -{{code language="php" theme="RDark" title="Update User Request"}} 1423 +{{code language="php" theme="RDark" title="Update User Request" collapse="true"}} 1429 1429 <?php 1430 1430 1431 1431 $curl = curl_init(); ... ... @@ -1455,7 +1455,7 @@ 1455 1455 1456 1456 \\ 1457 1457 1458 -(% style="color: rgb(107,107,107);" %)Response 200 OK 1453 +(% style="color: rgb(107,107,107);" %)Response 200 OK 1459 1459 1460 1460 {{code language="yml" theme="RDark" title="Update user Response" collapse="true"}} 1461 1461 { ... ... @@ -1479,7 +1479,7 @@ 1479 1479 \\ 1480 1480 1481 1481 (% class="western" %) 1482 - ===**COMPONENT: Questions**===1477 +**COMPONENT: Questions** 1483 1483 1484 1484 (% class="western" %) 1485 1485 All data fields in ONEcount are made up of questions. Questions are configurable on a per-client basis, and no two customer installations will have the same question (ie., field) layout. Therefore, before querying or updating any ONEcount installation, you'll need to get an understanding of the question layout of the installation. This API segment will allow you to query ONEcount to determine the question layout for the installation. It will also allow you to create new questions within the system. This resource does not allow you to update the data for a specific user (see User section). ... ... @@ -1669,7 +1669,7 @@ 1669 1669 1670 1670 (% style="color: rgb(107,107,107);" %)Request 1671 1671 1672 -{{code language="php" theme="RDark" title="Get All Questions Request"}} 1667 +{{code language="php" theme="RDark" title="Get All Questions Request" collapse="true"}} 1673 1673 <?php 1674 1674 1675 1675 $curl = curl_init(); ... ... @@ -1699,7 +1699,7 @@ 1699 1699 1700 1700 \\ 1701 1701 1702 -(% style="color: rgb(107,107,107);" %)Response 200 OK 1697 +(% style="color: rgb(107,107,107);" %)Response 200 OK 1703 1703 1704 1704 {{code language="yml" theme="RDark" title="Get All Questions Response" collapse="true"}} 1705 1705 { ... ... @@ -3810,7 +3810,7 @@ 3810 3810 3811 3811 (% style="color: rgb(107,107,107);" %)Request 3812 3812 3813 -{{code language="php" theme="RDark" title="Get specific Question Request"}} 3808 +{{code language="php" theme="RDark" title="Get specific Question Request" collapse="true"}} 3814 3814 <?php 3815 3815 3816 3816 $curl = curl_init(); ... ... @@ -3837,7 +3837,7 @@ 3837 3837 3838 3838 \\ 3839 3839 3840 -(% style="color: rgb(107,107,107);" %)Response 200 OK 3835 +(% style="color: rgb(107,107,107);" %)Response 200 OK 3841 3841 3842 3842 {{code language="yml" theme="RDark" title="Get specific question Response" collapse="true"}} 3843 3843 { ... ... @@ -3889,7 +3889,7 @@ 3889 3889 3890 3890 (% style="color: rgb(107,107,107);" %)Request 3891 3891 3892 -{{code language="php" theme="RDark" title="Lookup question by text Request"}} 3887 +{{code language="php" theme="RDark" title="Lookup question by text Request" collapse="true"}} 3893 3893 <?php 3894 3894 3895 3895 $curl = curl_init(); ... ... @@ -3916,7 +3916,7 @@ 3916 3916 3917 3917 \\ 3918 3918 3919 -(% style="color: rgb(107,107,107);" %)Response 200 OK 3914 +(% style="color: rgb(107,107,107);" %)Response 200 OK 3920 3920 3921 3921 {{code language="yml" theme="RDark" title="Lookup question by title Response" collapse="true"}} 3922 3922 { ... ... @@ -5335,7 +5335,7 @@ 5335 5335 5336 5336 (% style="color: rgb(107,107,107);" %)Request 5337 5337 5338 -{{code language="php" theme="RDark" title="Lookup question by Type Request"}} 5333 +{{code language="php" theme="RDark" title="Lookup question by Type Request" collapse="true"}} 5339 5339 <?php 5340 5340 5341 5341 $curl = curl_init(); ... ... @@ -5362,7 +5362,7 @@ 5362 5362 5363 5363 \\ 5364 5364 5365 -(% style="color: rgb(107,107,107);" %)Response 200 OK 5360 +(% style="color: rgb(107,107,107);" %)Response 200 OK 5366 5366 5367 5367 {{code language="yml" theme="RDark" title="Lookup question by type Response" collapse="true"}} 5368 5368 { ... ... @@ -8032,7 +8032,7 @@ 8032 8032 8033 8033 ---- 8034 8034 8035 -{{code language="yml" theme="RDark" title="Body"}} 8030 +{{code language="yml" theme="RDark" title="Body" collapse="true"}} 8036 8036 {"Text":"Test from API 3","Type":0,"Alias":"Test from API 3"} 8037 8037 {{/code}} 8038 8038 ... ... @@ -8042,7 +8042,7 @@ 8042 8042 8043 8043 (% style="color: rgb(107,107,107);" %)Request 8044 8044 8045 -{{code language="php" theme="RDark" title="Create Question Request"}} 8040 +{{code language="php" theme="RDark" title="Create Question Request" collapse="true"}} 8046 8046 <?php 8047 8047 8048 8048 $curl = curl_init(); ... ... @@ -8070,7 +8070,7 @@ 8070 8070 8071 8071 \\ 8072 8072 8073 -(% style="color: rgb(107,107,107);" %)Response 200 OK 8068 +(% style="color: rgb(107,107,107);" %)Response 200 OK 8074 8074 8075 8075 {{code language="yml" theme="RDark" title="Create question Response" collapse="true"}} 8076 8076 { ... ... @@ -8110,7 +8110,7 @@ 8110 8110 8111 8111 ---- 8112 8112 8113 -{{code language="yml" theme="RDark" title="Body"}} 8108 +{{code language="yml" theme="RDark" title="Body" collapse="true"}} 8114 8114 {"Text":"Test from API 6","Type":4,"Alias":"Test from API 6", "Choices":[{"Text":"test 1","Value":"test 1"},{"Text":"test 2","Value":"test 2"}]} 8115 8115 {{/code}} 8116 8116 ... ... @@ -8120,7 +8120,7 @@ 8120 8120 8121 8121 (% style="color: rgb(107,107,107);" %)Request 8122 8122 8123 -{{code language="php" theme="RDark" title="Create Question Request"}} 8118 +{{code language="php" theme="RDark" title="Create Question Request" collapse="true"}} 8124 8124 <?php 8125 8125 8126 8126 $curl = curl_init(); ... ... @@ -8148,7 +8148,7 @@ 8148 8148 8149 8149 \\ 8150 8150 8151 -(% style="color: rgb(107,107,107);" %)Response 200 OK 8146 +(% style="color: rgb(107,107,107);" %)Response 200 OK 8152 8152 8153 8153 {{code language="yml" theme="RDark" title="Create question Response" collapse="true"}} 8154 8154 { ... ... @@ -8188,7 +8188,7 @@ 8188 8188 8189 8189 ---- 8190 8190 8191 -{{code language="yml" theme="RDark" title="Body"}} 8186 +{{code language="yml" theme="RDark" title="Body" collapse="true"}} 8192 8192 {"Text":"Test from API 6 changed","Type":4,"Alias":"Test from API 6 changed", "Choices":[{"Text":"test 1","Value":"test 1"},{"Text":"test 2","Value":"test 2"}]} 8193 8193 {{/code}} 8194 8194 ... ... @@ -8198,7 +8198,7 @@ 8198 8198 8199 8199 (% style="color: rgb(107,107,107);" %)Request 8200 8200 8201 -{{code language="php" theme="RDark" title="Update Question Request"}} 8196 +{{code language="php" theme="RDark" title="Update Question Request" collapse="true"}} 8202 8202 <?php 8203 8203 8204 8204 $curl = curl_init(); ... ... @@ -8228,7 +8228,7 @@ 8228 8228 8229 8229 \\ 8230 8230 8231 -(% style="color: rgb(107,107,107);" %)Response 200 OK 8226 +(% style="color: rgb(107,107,107);" %)Response 200 OK 8232 8232 8233 8233 {{code language="yml" theme="RDark" title="Update Question Response" collapse="true"}} 8234 8234 { ... ... @@ -8251,7 +8251,7 @@ 8251 8251 \\ 8252 8252 8253 8253 (% class="western" %) 8254 - ===**COMPONENT: Products**===8249 +**COMPONENT: Products** 8255 8255 8256 8256 (% class="western" %) 8257 8257 This resource is for manipulating products resource. A product can be created, updated or searched. ... ... @@ -8383,7 +8383,7 @@ 8383 8383 8384 8384 (% style="color: rgb(107,107,107);" %)Request 8385 8385 8386 -{{code language="php" theme="RDark" title="Get All Products Request"}} 8381 +{{code language="php" theme="RDark" title="Get All Products Request" collapse="true"}} 8387 8387 <?php 8388 8388 8389 8389 $curl = curl_init(); ... ... @@ -8412,7 +8412,7 @@ 8412 8412 8413 8413 \\ 8414 8414 8415 -(% style="color: rgb(107,107,107);" %)Response 200 OK 8410 +(% style="color: rgb(107,107,107);" %)Response 200 OK 8416 8416 8417 8417 {{code language="yml" theme="RDark" title="Get All Products Response" collapse="true"}} 8418 8418 { ... ... @@ -8671,7 +8671,7 @@ 8671 8671 8672 8672 (% style="color: rgb(107,107,107);" %)Request 8673 8673 8674 -{{code language="php" theme="RDark" title="Get specific Product Request"}} 8669 +{{code language="php" theme="RDark" title="Get specific Product Request" collapse="true"}} 8675 8675 <?php 8676 8676 8677 8677 $curl = curl_init(); ... ... @@ -8698,7 +8698,7 @@ 8698 8698 8699 8699 \\ 8700 8700 8701 -(% style="color: rgb(107,107,107);" %)Response 200 OK 8696 +(% style="color: rgb(107,107,107);" %)Response 200 OK 8702 8702 8703 8703 {{code language="yml" theme="RDark" title="Get specific Product Response" collapse="true"}} 8704 8704 { ... ... @@ -8761,7 +8761,7 @@ 8761 8761 8762 8762 (% style="color: rgb(107,107,107);" %)Request 8763 8763 8764 -{{code language="php" theme="RDark" title="Lookup Product Request"}} 8759 +{{code language="php" theme="RDark" title="Lookup Product Request" collapse="true"}} 8765 8765 <?php 8766 8766 8767 8767 $curl = curl_init(); ... ... @@ -8788,7 +8788,7 @@ 8788 8788 8789 8789 \\ 8790 8790 8791 -(% style="color: rgb(107,107,107);" %)Response 200 OK 8786 +(% style="color: rgb(107,107,107);" %)Response 200 OK 8792 8792 8793 8793 {{code language="yml" theme="RDark" title="Lookup Product Response" collapse="true"}} 8794 8794 { ... ... @@ -8839,7 +8839,7 @@ 8839 8839 8840 8840 ---- 8841 8841 8842 -{{code language="yml" theme="RDark" title="Body"}} 8837 +{{code language="yml" theme="RDark" title="Body" collapse="true"}} 8843 8843 {"Title":"Test API package creation 2","Description": "Test API package creation 2","Terms":{"Name":"Test term for API 2"},"PrimaryFormId":0} 8844 8844 {{/code}} 8845 8845 ... ... @@ -8849,7 +8849,7 @@ 8849 8849 8850 8850 (% style="color: rgb(107,107,107);" %)Request 8851 8851 8852 -{{code language="php" theme="RDark" title="Create Product Request"}} 8847 +{{code language="php" theme="RDark" title="Create Product Request" collapse="true"}} 8853 8853 <?php 8854 8854 8855 8855 $curl = curl_init(); ... ... @@ -8877,7 +8877,7 @@ 8877 8877 8878 8878 \\ 8879 8879 8880 -(% style="color: rgb(107,107,107);" %)Response 200 OK 8875 +(% style="color: rgb(107,107,107);" %)Response 200 OK 8881 8881 8882 8882 {{code language="yml" theme="RDark" title="Create Product Response" collapse="true"}} 8883 8883 { ... ... @@ -8917,7 +8917,7 @@ 8917 8917 8918 8918 ---- 8919 8919 8920 -{{code language="yml" theme="RDark" title="Body"}} 8915 +{{code language="yml" theme="RDark" title="Body" collapse="true"}} 8921 8921 {"Title":"Test API package 23","Description": "Test API package 23","PrimaryFormId":0} 8922 8922 {{/code}} 8923 8923 ... ... @@ -8927,7 +8927,7 @@ 8927 8927 8928 8928 (% style="color: rgb(107,107,107);" %)Request 8929 8929 8930 -{{code language="php" theme="RDark" title="Update Product Request"}} 8925 +{{code language="php" theme="RDark" title="Update Product Request" collapse="true"}} 8931 8931 <?php 8932 8932 8933 8933 $curl = curl_init(); ... ... @@ -8956,7 +8956,7 @@ 8956 8956 8957 8957 \\ 8958 8958 8959 -(% style="color: rgb(107,107,107);" %)Response 200 OK 8954 +(% style="color: rgb(107,107,107);" %)Response 200 OK 8960 8960 8961 8961 {{code language="yml" theme="RDark" title="Update Product Response" collapse="true"}} 8962 8962 { ... ... @@ -8979,80 +8979,8 @@ 8979 8979 8980 8980 \\ 8981 8981 8982 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 8983 -== (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33, 33, 33); color: rgb(173, 122, 3)" %)POST(% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %) Attach Resource to Product(%%) == 8984 - 8985 ----- 8986 - 8987 -{{panel bgColor="#D3D3D3" width="100%"}} 8988 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/products/attachResource 8989 -{{/panel}} 8990 - 8991 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 8992 - 8993 ----- 8994 - 8995 -(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}} 8996 - 8997 -=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) === 8998 - 8999 ----- 9000 - 9001 -{{code language="yml" theme="RDark" title="Body"}} 9002 -{"ProductID":"599","ResourceID":"903"} 9003 -{{/code}} 9004 - 9005 -==== Example ==== 9006 - 9007 ----- 9008 - 9009 -(% style="color: rgb(107,107,107);" %)Request 9010 - 9011 -{{code language="php" theme="RDark" title="Attach Resource to Product Request"}} 9012 - <?php 9013 - 9014 -$curl = curl_init(); 9015 - 9016 -curl_setopt_array($curl, array( 9017 - CURLOPT_URL => 'https://api.onecount.net/v2/products/attachResource', 9018 - CURLOPT_RETURNTRANSFER => true, 9019 - CURLOPT_ENCODING => '', 9020 - CURLOPT_MAXREDIRS => 10, 9021 - CURLOPT_TIMEOUT => 0, 9022 - CURLOPT_FOLLOWLOCATION => true, 9023 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 9024 - CURLOPT_CUSTOMREQUEST => 'POST', 9025 - CURLOPT_POSTFIELDS =>'{"ProductID":"599","ResourceID":"903"}', 9026 - CURLOPT_HTTPHEADER => array( 9027 - 'Appkey: {{ONECOUNT API KEY}}' 9028 - ), 9029 -)); 9030 - 9031 -$response = curl_exec($curl); 9032 - 9033 -curl_close($curl); 9034 -echo $response; 9035 -{{/code}} 9036 - 9037 -\\ 9038 - 9039 -(% style="color: rgb(107,107,107);" %)Response 200 OK 9040 - 9041 -{{code language="yml" theme="RDark" title="Create Product Response" collapse="true"}} 9042 - { 9043 - "result": { 9044 - "success": "1", 9045 - "error": { 9046 - "code": "", 9047 - "message": "" 9048 - } 9049 - }, 9050 - "Products": "599" 9051 -} 9052 -{{/code}} 9053 - 9054 9054 (% class="western" %) 9055 - ===**COMPONENT: Terms**===8978 +**COMPONENT: Terms** 9056 9056 9057 9057 (% class="western" %) 9058 9058 This resource is for manipulating terms resource. A term can be created, updated or searched. ... ... @@ -9149,7 +9149,7 @@ 9149 9149 9150 9150 (% style="color: rgb(107,107,107);" %)Request 9151 9151 9152 -{{code language="php" theme="RDark" title="Get All Terms Request"}} 9075 +{{code language="php" theme="RDark" title="Get All Terms Request" collapse="true"}} 9153 9153 <?php 9154 9154 9155 9155 $curl = curl_init(); ... ... @@ -9176,7 +9176,7 @@ 9176 9176 9177 9177 \\ 9178 9178 9179 -(% style="color: rgb(107,107,107);" %)Response 200 OK 9102 +(% style="color: rgb(107,107,107);" %)Response 200 OK 9180 9180 9181 9181 {{code language="yml" theme="RDark" title="Get All Terms Response" collapse="true"}} 9182 9182 { ... ... @@ -9332,7 +9332,7 @@ 9332 9332 9333 9333 (% style="color: rgb(107,107,107);" %)Request 9334 9334 9335 -{{code language="php" theme="RDark" title="Get specific Term Request"}} 9258 +{{code language="php" theme="RDark" title="Get specific Term Request" collapse="true"}} 9336 9336 <?php 9337 9337 9338 9338 $curl = curl_init(); ... ... @@ -9359,7 +9359,7 @@ 9359 9359 9360 9360 \\ 9361 9361 9362 -(% style="color: rgb(107,107,107);" %)Response 200 OK 9285 +(% style="color: rgb(107,107,107);" %)Response 200 OK 9363 9363 9364 9364 {{code language="yml" theme="RDark" title="Get specific Term Response" collapse="true"}} 9365 9365 { ... ... @@ -9413,7 +9413,7 @@ 9413 9413 9414 9414 (% style="color: rgb(107,107,107);" %)Request 9415 9415 9416 -{{code language="php" theme="RDark" title="Lookup Term Request"}} 9339 +{{code language="php" theme="RDark" title="Lookup Term Request" collapse="true"}} 9417 9417 <?php 9418 9418 9419 9419 $curl = curl_init(); ... ... @@ -9440,7 +9440,7 @@ 9440 9440 9441 9441 \\ 9442 9442 9443 -(% style="color: rgb(107,107,107);" %)Response 200 OK 9366 +(% style="color: rgb(107,107,107);" %)Response 200 OK 9444 9444 9445 9445 {{code language="yml" theme="RDark" title="Lookup Term Response" collapse="true"}} 9446 9446 { ... ... @@ -9486,7 +9486,7 @@ 9486 9486 9487 9487 ---- 9488 9488 9489 -{{code language="yml" theme="RDark" title="Body"}} 9412 +{{code language="yml" theme="RDark" title="Body" collapse="true"}} 9490 9490 {"Name":"Test API term creation","Description":"Test API term creation","Duration":10,"ProductId":599} 9491 9491 {{/code}} 9492 9492 ... ... @@ -9496,7 +9496,7 @@ 9496 9496 9497 9497 (% style="color: rgb(107,107,107);" %)Request 9498 9498 9499 -{{code language="php" theme="RDark" title="Create Term Request"}} 9422 +{{code language="php" theme="RDark" title="Create Term Request" collapse="true"}} 9500 9500 <?php 9501 9501 9502 9502 $curl = curl_init(); ... ... @@ -9528,7 +9528,7 @@ 9528 9528 9529 9529 \\ 9530 9530 9531 -(% style="color: rgb(107,107,107);" %)Response 200 OK 9454 +(% style="color: rgb(107,107,107);" %)Response 200 OK 9532 9532 9533 9533 {{code language="yml" theme="RDark" title="Create Term Response" collapse="true"}} 9534 9534 { ... ... @@ -9568,7 +9568,7 @@ 9568 9568 9569 9569 ---- 9570 9570 9571 -{{code language="yml" theme="RDark" title="Body"}} 9494 +{{code language="yml" theme="RDark" title="Body" collapse="true"}} 9572 9572 {"Name":"Test API term creation update","Description":"Test API term creation update","Duration":10,"ProductId":599} 9573 9573 {{/code}} 9574 9574 ... ... @@ -9578,7 +9578,7 @@ 9578 9578 9579 9579 (% style="color: rgb(107,107,107);" %)Request 9580 9580 9581 -{{code language="php" theme="RDark" title="Update Term Request"}} 9504 +{{code language="php" theme="RDark" title="Update Term Request" collapse="true"}} 9582 9582 <?php 9583 9583 9584 9584 $curl = curl_init(); ... ... @@ -9606,7 +9606,7 @@ 9606 9606 9607 9607 \\ 9608 9608 9609 -(% style="color: rgb(107,107,107);" %)Response 200 OK 9532 +(% style="color: rgb(107,107,107);" %)Response 200 OK 9610 9610 9611 9611 {{code language="yml" theme="RDark" title="Update Term Response" collapse="true"}} 9612 9612 { ... ... @@ -9634,7 +9634,7 @@ 9634 9634 \\ 9635 9635 9636 9636 (% class="western" %) 9637 - ===**COMPONENT: Resources**===9560 +**COMPONENT: Resources** 9638 9638 9639 9639 (% class="western" %) 9640 9640 Resources are the available entities that can be accessed/modified via API. Each resource can be created, updated or requested by using the corresponding http method described above. ... ... @@ -9766,7 +9766,7 @@ 9766 9766 9767 9767 (% style="color: rgb(107,107,107);" %)Request 9768 9768 9769 -{{code language="php" theme="RDark" title="Get All Resource Request"}} 9692 +{{code language="php" theme="RDark" title="Get All Resource Request" collapse="true"}} 9770 9770 <?php 9771 9771 9772 9772 $curl = curl_init(); ... ... @@ -9793,7 +9793,7 @@ 9793 9793 9794 9794 \\ 9795 9795 9796 -(% style="color: rgb(107,107,107);" %)Response 200 OK 9719 +(% style="color: rgb(107,107,107);" %)Response 200 OK 9797 9797 9798 9798 {{code language="yml" theme="RDark" title="Get All Resource Response" collapse="true"}} 9799 9799 { ... ... @@ -9912,7 +9912,7 @@ 9912 9912 9913 9913 (% style="color: rgb(107,107,107);" %)Request 9914 9914 9915 -{{code language="php" theme="RDark" title="Get specific Resource Request"}} 9838 +{{code language="php" theme="RDark" title="Get specific Resource Request" collapse="true"}} 9916 9916 <?php 9917 9917 9918 9918 $curl = curl_init(); ... ... @@ -9939,7 +9939,7 @@ 9939 9939 9940 9940 \\ 9941 9941 9942 -(% style="color: rgb(107,107,107);" %)Response 200 OK 9865 +(% style="color: rgb(107,107,107);" %)Response 200 OK 9943 9943 9944 9944 {{code language="yml" theme="RDark" title="Get specific Resource Response" collapse="true"}} 9945 9945 { ... ... @@ -9992,7 +9992,7 @@ 9992 9992 9993 9993 (% style="color: rgb(107,107,107);" %)Request 9994 9994 9995 -{{code language="php" theme="RDark" title="Lookup Resource Request"}} 9918 +{{code language="php" theme="RDark" title="Lookup Resource Request" collapse="true"}} 9996 9996 <?php 9997 9997 9998 9998 $curl = curl_init(); ... ... @@ -10019,7 +10019,7 @@ 10019 10019 10020 10020 \\ 10021 10021 10022 -(% style="color: rgb(107,107,107);" %)Response 200 OK 9945 +(% style="color: rgb(107,107,107);" %)Response 200 OK 10023 10023 10024 10024 {{code language="yml" theme="RDark" title="Lookup Resource Response" collapse="true"}} 10025 10025 { ... ... @@ -10064,7 +10064,7 @@ 10064 10064 10065 10065 ---- 10066 10066 10067 -{{code language="yml" theme="RDark" title="Body"}} 9990 +{{code language="yml" theme="RDark" title="Body" collapse="true"}} 10068 10068 {"Name":"Test API product creation 22","Description":"Test API product creation 22","Type":3,"FreePass":1,"Value":["http://one-count.com"],"Gating":false,"Price":0,"PrimaryFormId":"","VendorId":1} 10069 10069 {{/code}} 10070 10070 ... ... @@ -10074,7 +10074,7 @@ 10074 10074 10075 10075 (% style="color: rgb(107,107,107);" %)Request 10076 10076 10077 -{{code language="php" theme="RDark" title="Create Resource Request"}} 10000 +{{code language="php" theme="RDark" title="Create Resource Request" collapse="true"}} 10078 10078 <?php 10079 10079 10080 10080 $curl = curl_init(); ... ... @@ -10102,7 +10102,7 @@ 10102 10102 10103 10103 \\ 10104 10104 10105 -(% style="color: rgb(107,107,107);" %)Response 200 OK 10028 +(% style="color: rgb(107,107,107);" %)Response 200 OK 10106 10106 10107 10107 {{code language="yml" theme="RDark" title="Create Resource Response" collapse="true"}} 10108 10108 { ... ... @@ -10147,7 +10147,7 @@ 10147 10147 10148 10148 ---- 10149 10149 10150 -{{code language="yml" theme="RDark" title="Body"}} 10073 +{{code language="yml" theme="RDark" title="Body" collapse="true"}} 10151 10151 {"Name":"Test API product creation 23","Description":"Test API product creation 23","Type":3,"FreePass":1,"Value":["http://one-count.com","onecount.net"],"Gating":false,"Price":0,"PrimaryFormId":"","VendorId":1} 10152 10152 {{/code}} 10153 10153 ... ... @@ -10157,7 +10157,7 @@ 10157 10157 10158 10158 (% style="color: rgb(107,107,107);" %)Request 10159 10159 10160 -{{code language="php" theme="RDark" title="Update Resource Request"}} 10083 +{{code language="php" theme="RDark" title="Update Resource Request" collapse="true"}} 10161 10161 <?php 10162 10162 10163 10163 $curl = curl_init(); ... ... @@ -10185,7 +10185,7 @@ 10185 10185 10186 10186 \\ 10187 10187 10188 -(% style="color: rgb(107,107,107);" %)Response 200 OK 10111 +(% style="color: rgb(107,107,107);" %)Response 200 OK 10189 10189 10190 10190 {{code language="yml" theme="RDark" title="Update Resource Response" collapse="true"}} 10191 10191 { ... ... @@ -10221,8 +10221,8 @@ 10221 10221 \\ 10222 10222 10223 10223 (% class="western" %) 10224 - ===**COMPONENT: Source Codes10225 -** ===10147 +**COMPONENT: Source Codes 10148 +** 10226 10226 10227 10227 (% class="western" %) 10228 10228 This resource is for manipulating source code for a resource. A source code can be created, updated or searched. ... ... @@ -10319,7 +10319,7 @@ 10319 10319 10320 10320 (% style="color: rgb(107,107,107);" %)Request 10321 10321 10322 -{{code language="php" theme="RDark" title="Get All Source code Request"}} 10245 +{{code language="php" theme="RDark" title="Get All Source code Request" collapse="true"}} 10323 10323 <?php 10324 10324 10325 10325 $curl = curl_init(); ... ... @@ -10346,7 +10346,7 @@ 10346 10346 10347 10347 \\ 10348 10348 10349 -(% style="color: rgb(107,107,107);" %)Response 200 OK 10272 +(% style="color: rgb(107,107,107);" %)Response 200 OK 10350 10350 10351 10351 {{code language="yml" theme="RDark" title="Get All Source code Response" collapse="true"}} 10352 10352 { ... ... @@ -10535,7 +10535,7 @@ 10535 10535 10536 10536 (% style="color: rgb(107,107,107);" %)Request 10537 10537 10538 -{{code language="php" theme="RDark" title="Get specific Source Request"}} 10461 +{{code language="php" theme="RDark" title="Get specific Source Request" collapse="true"}} 10539 10539 <?php 10540 10540 10541 10541 $curl = curl_init(); ... ... @@ -10562,7 +10562,7 @@ 10562 10562 10563 10563 \\ 10564 10564 10565 -(% style="color: rgb(107,107,107);" %)Response 200 OK 10488 +(% style="color: rgb(107,107,107);" %)Response 200 OK 10566 10566 10567 10567 {{code language="yml" theme="RDark" title="Get specific Source Response" collapse="true"}} 10568 10568 { ... ... @@ -10613,7 +10613,7 @@ 10613 10613 10614 10614 (% style="color: rgb(107,107,107);" %)Request 10615 10615 10616 -{{code language="php" theme="RDark" title="Lookup Source code Request"}} 10539 +{{code language="php" theme="RDark" title="Lookup Source code Request" collapse="true"}} 10617 10617 <?php 10618 10618 10619 10619 $curl = curl_init(); ... ... @@ -10640,7 +10640,7 @@ 10640 10640 10641 10641 \\ 10642 10642 10643 -(% style="color: rgb(107,107,107);" %)Response 200 OK 10566 +(% style="color: rgb(107,107,107);" %)Response 200 OK 10644 10644 10645 10645 {{code language="yml" theme="RDark" title="Lookup Source code Response" collapse="true"}} 10646 10646 { ... ... @@ -10683,7 +10683,7 @@ 10683 10683 10684 10684 ---- 10685 10685 10686 -{{code language="yml" theme="RDark" title="Body"}} 10609 +{{code language="yml" theme="RDark" title="Body" collapse="true"}} 10687 10687 {"Source":"Test source code from API"} 10688 10688 {{/code}} 10689 10689 ... ... @@ -10693,7 +10693,7 @@ 10693 10693 10694 10694 (% style="color: rgb(107,107,107);" %)Request 10695 10695 10696 -{{code language="php" theme="RDark" title="Create Source code Request"}} 10619 +{{code language="php" theme="RDark" title="Create Source code Request" collapse="true"}} 10697 10697 <?php 10698 10698 10699 10699 $curl = curl_init(); ... ... @@ -10721,7 +10721,7 @@ 10721 10721 10722 10722 \\ 10723 10723 10724 -(% style="color: rgb(107,107,107);" %)Response 200 OK 10647 +(% style="color: rgb(107,107,107);" %)Response 200 OK 10725 10725 10726 10726 {{code language="yml" theme="RDark" title="Create Source code Response" collapse="true"}} 10727 10727 { ... ... @@ -10764,7 +10764,7 @@ 10764 10764 10765 10765 ---- 10766 10766 10767 -{{code language="yml" theme="RDark" title="Body"}} 10690 +{{code language="yml" theme="RDark" title="Body" collapse="true"}} 10768 10768 {"Source":"Test API","Parent":215} 10769 10769 {{/code}} 10770 10770 ... ... @@ -10774,7 +10774,7 @@ 10774 10774 10775 10775 (% style="color: rgb(107,107,107);" %)Request 10776 10776 10777 -{{code language="php" theme="RDark" title="Update Source code Request"}} 10700 +{{code language="php" theme="RDark" title="Update Source code Request" collapse="true"}} 10778 10778 <?php 10779 10779 10780 10780 $curl = curl_init(); ... ... @@ -10802,7 +10802,7 @@ 10802 10802 10803 10803 \\ 10804 10804 10805 -(% style="color: rgb(107,107,107);" %)Response 200 OK 10728 +(% style="color: rgb(107,107,107);" %)Response 200 OK 10806 10806 10807 10807 {{code language="yml" theme="RDark" title="Update Source code Response" collapse="true"}} 10808 10808 { ... ... @@ -10828,7 +10828,7 @@ 10828 10828 \\ 10829 10829 10830 10830 (% class="western" %) 10831 - ===**COMPONENT: Transactions**===10754 +**COMPONENT: Transactions** 10832 10832 10833 10833 (% class="western" %) 10834 10834 This resource is for manipulating transactions resource. A transaction can be created or searched. ... ... @@ -10912,7 +10912,7 @@ 10912 10912 10913 10913 (% style="color: rgb(107,107,107);" %)Request 10914 10914 10915 -{{code language="php" theme="RDark" title="Get All Transaction Request"}} 10838 +{{code language="php" theme="RDark" title="Get All Transaction Request" collapse="true"}} 10916 10916 <?php 10917 10917 10918 10918 $curl = curl_init(); ... ... @@ -10939,7 +10939,7 @@ 10939 10939 10940 10940 \\ 10941 10941 10942 -(% style="color: rgb(107,107,107);" %)Response 200 OK 10865 +(% style="color: rgb(107,107,107);" %)Response 200 OK 10943 10943 10944 10944 {{code language="yml" theme="RDark" title="Get All Transaction Response" collapse="true"}} 10945 10945 { ... ... @@ -12478,7 +12478,7 @@ 12478 12478 12479 12479 (% style="color: rgb(107,107,107);" %)Request 12480 12480 12481 -{{code language="php" theme="RDark" title="Get specific Transaction Request"}} 12404 +{{code language="php" theme="RDark" title="Get specific Transaction Request" collapse="true"}} 12482 12482 <?php 12483 12483 12484 12484 $curl = curl_init(); ... ... @@ -12505,7 +12505,7 @@ 12505 12505 12506 12506 \\ 12507 12507 12508 -(% style="color: rgb(107,107,107);" %)Response 200 OK 12431 +(% style="color: rgb(107,107,107);" %)Response 200 OK 12509 12509 12510 12510 {{code language="yml" theme="RDark" title="Get specific Transaction Response" collapse="true"}} 12511 12511 { ... ... @@ -12565,7 +12565,7 @@ 12565 12565 12566 12566 (% style="color: rgb(107,107,107);" %)Request 12567 12567 12568 -{{code language="php" theme="RDark" title="Lookup Transaction Request"}} 12491 +{{code language="php" theme="RDark" title="Lookup Transaction Request" collapse="true"}} 12569 12569 <?php 12570 12570 12571 12571 $curl = curl_init(); ... ... @@ -12592,7 +12592,7 @@ 12592 12592 12593 12593 \\ 12594 12594 12595 -(% style="color: rgb(107,107,107);" %)Response 200 OK 12518 +(% style="color: rgb(107,107,107);" %)Response 200 OK 12596 12596 12597 12597 {{code language="yml" theme="RDark" title="Lookup Transaction Response" collapse="true"}} 12598 12598 { ... ... @@ -12820,7 +12820,7 @@ 12820 12820 12821 12821 ---- 12822 12822 12823 -{{code language="yml" theme="RDark" title="Body"}} 12746 +{{code language="yml" theme="RDark" title="Body" collapse="true"}} 12824 12824 {"UserId": 1845775,"TermId":447 ,"UserIP":"192.168.0.1" ,"SubscriptionType":"n" , "ProductId":599 ,"FormId": "8f93834c-adce-4dc7-acd0-f3a1e0f7c63f","Source": 83,"ProductStatus": 2,"Amount":"0.00" ,"PaypalTransId":"" , "MediaFilePath":"" ,"Remarks": "USER SUBSCRIBED","BatchId":"1234" ,"Quantity": 1, "ExpireDate":"20251211" } 12825 12825 {{/code}} 12826 12826 ... ... @@ -12830,7 +12830,7 @@ 12830 12830 12831 12831 (% style="color: rgb(107,107,107);" %)Request 12832 12832 12833 -{{code language="php" theme="RDark" title="Create Transaction Request"}} 12756 +{{code language="php" theme="RDark" title="Create Transaction Request" collapse="true"}} 12834 12834 <?php 12835 12835 12836 12836 $curl = curl_init(); ... ... @@ -12858,7 +12858,7 @@ 12858 12858 12859 12859 \\ 12860 12860 12861 -(% style="color: rgb(107,107,107);" %)Response 200 OK 12784 +(% style="color: rgb(107,107,107);" %)Response 200 OK 12862 12862 12863 12863 {{code language="yml" theme="RDark" title="Create Transaction Response" collapse="true"}} 12864 12864 { ... ... @@ -12889,716 +12889,57 @@ 12889 12889 12890 12890 \\ 12891 12891 12892 - === **COMPONENT: Engagements** ===12815 +\\ 12893 12893 12894 -(% class="western" %) 12895 -Engagement can be added, updated and searched for using the engagements resource from the api. 12817 +\\ 12896 12896 12897 -(% class="western" %) 12898 12898 \\ 12899 12899 12900 -(% class="wrapped" %) 12901 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12902 -((( 12903 -(% class="western" %) 12904 -**Method** 12905 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12906 -((( 12907 -(% class="western" %) 12908 -**Url** 12909 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12910 -((( 12911 -(% class="western" %) 12912 -**Action** 12913 -))) 12914 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12915 -((( 12916 -(% class="western" %) 12917 -GET 12918 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12919 -((( 12920 -(% class="western" %) 12921 -/(% style="color: rgb(33,33,33);" %)engagements 12922 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12923 -((( 12924 -(% class="western" %) 12925 -Get engagement data limiting 25. 12926 -))) 12927 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12928 -((( 12929 -(% class="western" %) 12930 -GET 12931 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12932 -((( 12933 -(% class="western" %) 12934 -/(% style="color: rgb(33,33,33);" %)engagements(%%)/<engagement id> 12935 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12936 -((( 12937 -(% class="western" %) 12938 -Get data for engagement id. The engagement id is a string 12939 -))) 12940 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12941 -((( 12942 -(% class="western" %) 12943 -POST 12944 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12945 -((( 12946 -(% class="western" %) 12947 -/(% style="color: rgb(33,33,33);" %)engagements 12948 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12949 -((( 12950 -(% class="western" %) 12951 -Create a new engagement 12821 +\\ 12952 12952 12953 -(% class="western" %) 12954 -Parameters required to create the engagement needs to be sent as post data in JSON format. 12955 -))) 12956 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12957 -((( 12958 -(% class="western" %) 12959 -PUT 12960 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12961 -((( 12962 -(% class="western" %) 12963 -/(% style="color: rgb(33,33,33);" %)engagements(%%)/<engagement id> 12964 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12965 -((( 12966 -(% class="western" %) 12967 -Update engagement by engagement id. The engagement id string 12823 +\\ 12968 12968 12969 -(% class="western" %) 12970 -Parameters required to update the engagement needs to be sent as post data in JSON format. 12971 -))) 12972 -|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12973 -((( 12974 -(% class="western" %) 12975 -POST 12976 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12977 -((( 12978 -(% class="western" %) 12979 -(% style="color: rgb(33,33,33);" %)/engagements/addUser 12980 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12981 -((( 12982 -(% class="western" %) 12983 -Add user to engagement 12825 +\\ 12984 12984 12985 -(% class="western" %) 12986 -Parameters required to add user to the engagement needs to be sent as post data in JSON format. 12987 -))) 12827 +\\ 12988 12988 12989 12989 \\ 12990 12990 12991 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 12992 -== (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)All Engagements(%%) == 12831 +\\ 12993 12993 12994 - ----12833 +\\ 12995 12995 12996 - ----12835 +\\ 12997 12997 12998 -{{panel bgColor="#D3D3D3" width="100%"}} 12999 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/engagements 13000 -{{/panel}} 12837 +\\ 13001 13001 13002 - === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===12839 +\\ 13003 13003 13004 - ----12841 +\\ 13005 13005 13006 -(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}} 13007 - 13008 -==== Example ==== 13009 - 13010 ----- 13011 - 13012 -(% style="color: rgb(107,107,107);" %)Request 13013 - 13014 -{{code language="php" theme="RDark" title="Get All Engagement Request"}} 13015 -<?php 13016 - 13017 -$curl = curl_init(); 13018 - 13019 -curl_setopt_array($curl, array( 13020 - CURLOPT_URL => 'https://api.onecount.net/v2/engagements', 13021 - CURLOPT_RETURNTRANSFER => true, 13022 - CURLOPT_ENCODING => '', 13023 - CURLOPT_MAXREDIRS => 10, 13024 - CURLOPT_TIMEOUT => 0, 13025 - CURLOPT_FOLLOWLOCATION => true, 13026 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 13027 - CURLOPT_CUSTOMREQUEST => 'GET', 13028 - CURLOPT_HTTPHEADER => array( 13029 - 'Appkey: {{ONECOUNT API KEY}}' 13030 - ), 13031 -)); 13032 - 13033 -$response = curl_exec($curl); 13034 - 13035 -curl_close($curl); 13036 -echo $response; 13037 - 13038 - 13039 -{{/code}} 13040 - 13041 13041 \\ 13042 13042 13043 -(% style="color: rgb(107,107,107);" %)Response 200 OK 13044 - 13045 -{{code language="yml" theme="RDark" title="Get all engagements Response" collapse="true"}} 13046 - { 13047 - "result": { 13048 - "success": "1", 13049 - "error": { 13050 - "code": "", 13051 - "message": "" 13052 - } 13053 - }, 13054 - "Engagements": [ 13055 - { 13056 - "Id": "048d38e9-d6c3-432e-9671-3f31809d48b3", 13057 - "Name": "Test Engagement 1", 13058 - "Engagement Fields": [ 13059 - { 13060 - "Name": "id", 13061 - "Type": "text" 13062 - }, 13063 - { 13064 - "Name": "activity_time", 13065 - "Type": "text" 13066 - }, 13067 - { 13068 - "Name": "Name", 13069 - "Type": "text" 13070 - }, 13071 - { 13072 - "Name": "Test Field", 13073 - "Type": "select", 13074 - "Values": [ 13075 - { 13076 - "text": "Test 1", 13077 - "value": "Test1" 13078 - } 13079 - ] 13080 - } 13081 - ] 13082 - } 13083 - ] 13084 -} 13085 -{{/code}} 13086 - 13087 13087 \\ 13088 13088 13089 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 13090 -== (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)Specific Engagement(%%) == 13091 - 13092 ----- 13093 - 13094 ----- 13095 - 13096 -{{panel bgColor="#D3D3D3" width="100%"}} 13097 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/engagements/~{~{Engagement ID}} 13098 -{{/panel}} 13099 - 13100 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 13101 - 13102 ----- 13103 - 13104 -(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}} 13105 - 13106 -==== Example ==== 13107 - 13108 ----- 13109 - 13110 -(% style="color: rgb(107,107,107);" %)Request 13111 - 13112 -{{code language="php" theme="RDark" title="Get Specific Engagement Request"}} 13113 -<?php 13114 - 13115 -$curl = curl_init(); 13116 - 13117 -curl_setopt_array($curl, array( 13118 - CURLOPT_URL => 'https://api.onecount.net/v2/engagements/{{Engagement ID}}', 13119 - CURLOPT_RETURNTRANSFER => true, 13120 - CURLOPT_ENCODING => '', 13121 - CURLOPT_MAXREDIRS => 10, 13122 - CURLOPT_TIMEOUT => 0, 13123 - CURLOPT_FOLLOWLOCATION => true, 13124 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 13125 - CURLOPT_CUSTOMREQUEST => 'GET', 13126 - CURLOPT_HTTPHEADER => array( 13127 - 'Appkey: {{ONECOUNT API KEY}}' 13128 - ), 13129 -)); 13130 - 13131 -$response = curl_exec($curl); 13132 - 13133 -curl_close($curl); 13134 -echo $response; 13135 - 13136 - 13137 -{{/code}} 13138 - 13139 13139 \\ 13140 13140 13141 -(% style="color: rgb(107,107,107);" %)Response 200 OK 13142 - 13143 -{{code language="yml" theme="RDark" title="Get specific engagement Response" collapse="true"}} 13144 - { 13145 - "result": { 13146 - "success": "1", 13147 - "error": { 13148 - "code": "", 13149 - "message": "" 13150 - } 13151 - }, 13152 - "Engagements": [ 13153 - { 13154 - "Id": "048d38e9-d6c3-432e-9671-3f31809d48b3", 13155 - "Name": "Test Engagement 1", 13156 - "Engagement Fields": [ 13157 - { 13158 - "Name": "id", 13159 - "Type": "text" 13160 - }, 13161 - { 13162 - "Name": "activity_time", 13163 - "Type": "text" 13164 - }, 13165 - { 13166 - "Name": "Name", 13167 - "Type": "text" 13168 - }, 13169 - { 13170 - "Name": "Test Field", 13171 - "Type": "select", 13172 - "Values": [ 13173 - { 13174 - "text": "Test 1", 13175 - "value": "Test1" 13176 - } 13177 - ] 13178 - } 13179 - ] 13180 - } 13181 - ] 13182 -} 13183 -{{/code}} 13184 - 13185 13185 \\ 13186 13186 13187 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 13188 -== (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33, 33, 33); color: rgb(173, 122, 3)" %)POST(% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %) Create Engagement(%%) == 13189 - 13190 ----- 13191 - 13192 -{{panel bgColor="#D3D3D3" width="100%"}} 13193 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/engagements 13194 -{{/panel}} 13195 - 13196 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 13197 - 13198 ----- 13199 - 13200 -(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}} 13201 - 13202 -=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) === 13203 - 13204 ----- 13205 - 13206 -{{code language="yml" theme="RDark" title="Body"}} 13207 -{"Name":"Engagement Name", "Description":"Engagement Description", "Metrics":[ 13208 - {"Name":[{"webinar ID 1":"Webinar 1"},{"webinar ID 3":"Webinar 3"},{"webinar ID 3":"Webinar 3"}],"Type": "select"}, 13209 - {"Attendance Status":[{"attended":"Attended"},{"not_attended":"Not Attended"}],"Type": "select"}, 13210 - {"Price":[],"Type": "numeric"}, 13211 - {"Transaction Date":[],"Type": "date"} 13212 -]} 13213 -{{/code}} 13214 - 13215 -==== Example ==== 13216 - 13217 ----- 13218 - 13219 -(% style="color: rgb(107,107,107);" %)Request 13220 - 13221 -{{code language="php" theme="RDark" title="Create Engagement Request"}} 13222 -<?php 13223 - 13224 -$curl = curl_init(); 13225 - 13226 -curl_setopt_array($curl, array( 13227 - CURLOPT_URL => 'https://api.onecount.net/v2/engagements', 13228 - CURLOPT_RETURNTRANSFER => true, 13229 - CURLOPT_ENCODING => '', 13230 - CURLOPT_MAXREDIRS => 10, 13231 - CURLOPT_TIMEOUT => 0, 13232 - CURLOPT_FOLLOWLOCATION => true, 13233 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 13234 - CURLOPT_CUSTOMREQUEST => 'POST', 13235 - CURLOPT_POSTFIELDS =>'{"Name":"Test engagement 2", "Description":"Test engagement 2", "Metrics":[ 13236 - {"Name":[{"text":"Webinar 1","value":"Webinar_1"},{"text":"Webinar 2","value":"Webinar_2"}],"Type": "select"}, 13237 - {"Attendance Status":[{"text":"Attended","value":"attended"},{"text":"Not Attended","value":"not_attended"}],"Type": "select"}, 13238 - {"Price":[],"Type": "numeric"}, 13239 - {"Transaction Date":[],"Type": "text"} 13240 -]}', 13241 - CURLOPT_HTTPHEADER => array( 13242 - 'Appkey: {{ONECOUNT API KEY}}', 13243 - 'Content-Type: application/json' 13244 - ), 13245 -)); 13246 - 13247 -$response = curl_exec($curl); 13248 - 13249 -curl_close($curl); 13250 -echo $response; 13251 - 13252 - 13253 -{{/code}} 13254 - 13255 13255 \\ 13256 13256 13257 -(% style="color: rgb(107,107,107);" %)Response 200 OK 13258 - 13259 -{{code language="yml" theme="RDark" title="Create Engagement Response" collapse="true"}} 13260 - { 13261 - "result": { 13262 - "success": "1", 13263 - "error": { 13264 - "code": "", 13265 - "message": "" 13266 - } 13267 - }, 13268 - "Engagements": [ 13269 - { 13270 - "Id": "71c1115f-e5bb-470a-bedf-6940f5ac8565", 13271 - "Name": "Test engagement 2", 13272 - "Metrics": [ 13273 - { 13274 - "Name": "Name", 13275 - "Type": "select", 13276 - "Values": [ 13277 - { 13278 - "text": "Webinar 1", 13279 - "value": "Webinar_1" 13280 - }, 13281 - { 13282 - "text": "Webinar 2", 13283 - "value": "Webinar_2" 13284 - } 13285 - ] 13286 - }, 13287 - { 13288 - "Name": "Attendance Status", 13289 - "Type": "select", 13290 - "Values": [ 13291 - { 13292 - "text": "Attended", 13293 - "value": "attended" 13294 - }, 13295 - { 13296 - "text": "Not Attended", 13297 - "value": "not_attended" 13298 - } 13299 - ] 13300 - }, 13301 - { 13302 - "Name": "Price", 13303 - "Type": "numeric" 13304 - }, 13305 - { 13306 - "Name": "Transaction Date", 13307 - "Type": "text" 13308 - }, 13309 - { 13310 - "Name": "id", 13311 - "Type": "text" 13312 - }, 13313 - { 13314 - "Name": "activity_time", 13315 - "Type": "text" 13316 - } 13317 - ] 13318 - } 13319 - ] 13320 -} 13321 -{{/code}} 13322 - 13323 13323 \\ 13324 13324 13325 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 13326 -== (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33, 33, 33); color: rgb(0, 83, 184)" %)PUT (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)Update Engagement(%%) == 13327 - 13328 ----- 13329 - 13330 -{{panel bgColor="#D3D3D3" width="100%"}} 13331 - (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/engagements/~{~{Engagement Id}} 13332 -{{/panel}} 13333 - 13334 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 13335 - 13336 ----- 13337 - 13338 -(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}} 13339 - 13340 -=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) === 13341 - 13342 ----- 13343 - 13344 -{{code language="yml" theme="RDark" title="Body"}} 13345 -{"Name":"Test engagement 3", "Metrics":[ 13346 - {"Attendance Status":[{"text":"Attended","value":"attended"},{"text":"Not Attended","value":"not_attended"}],"Type": "select"}, 13347 - {"Price":[],"Type": "text"} 13348 - ]} 13349 -{{/code}} 13350 - 13351 -==== Example ==== 13352 - 13353 ----- 13354 - 13355 -(% style="color: rgb(107,107,107);" %)Request 13356 - 13357 -{{code language="php" theme="RDark" title="Update Engagement Request"}} 13358 - <?php 13359 - 13360 -$curl = curl_init(); 13361 - 13362 -curl_setopt_array($curl, array( 13363 - CURLOPT_URL => 'https://api.onecount.net/v2/engagements/{{Engagement Id}}', 13364 - CURLOPT_RETURNTRANSFER => true, 13365 - CURLOPT_ENCODING => '', 13366 - CURLOPT_MAXREDIRS => 10, 13367 - CURLOPT_TIMEOUT => 0, 13368 - CURLOPT_FOLLOWLOCATION => true, 13369 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 13370 - CURLOPT_CUSTOMREQUEST => 'PUT', 13371 - CURLOPT_POSTFIELDS =>'{"Name":"Test engagement 3", "Metrics":[ 13372 - {"Attendance Status":[{"text":"Attended","value":"attended"},{"text":"Not Attended","value":"not_attended"}],"Type": "select"}, 13373 - {"Price":[],"Type": "text"} 13374 - ]}', 13375 - CURLOPT_HTTPHEADER => array( 13376 - 'Appkey: {{ONECOUNT API KEY}}', 13377 - 'Content-Type: application/json' 13378 - ), 13379 -)); 13380 - 13381 -$response = curl_exec($curl); 13382 - 13383 -curl_close($curl); 13384 -echo $response; 13385 - 13386 -{{/code}} 13387 - 13388 13388 \\ 13389 13389 13390 -(% style="color: rgb(107,107,107);" %)Response 200 OK 13391 - 13392 -{{code language="yml" theme="RDark" title="Update Engagement Response" collapse="true"}} 13393 -{ 13394 - "result": { 13395 - "success": "1", 13396 - "error": { 13397 - "code": "", 13398 - "message": "" 13399 - } 13400 - }, 13401 - "Engagements": [ 13402 - { 13403 - "Id": "e0e816ec-77ba-4db1-bfc0-22d340337357", 13404 - "Name": "Test engagement 3", 13405 - "Metrics": [ 13406 - { 13407 - "Name": "Attendance Status", 13408 - "Type": "select", 13409 - "Values": [ 13410 - { 13411 - "text": "Attended", 13412 - "value": "attended" 13413 - }, 13414 - { 13415 - "text": "Not Attended", 13416 - "value": "not_attended" 13417 - } 13418 - ] 13419 - }, 13420 - { 13421 - "Name": "Price", 13422 - "Type": "text" 13423 - }, 13424 - { 13425 - "Name": "Name", 13426 - "Type": "select", 13427 - "Values": [ 13428 - { 13429 - "text": "Webinar 1", 13430 - "value": "Webinar_1" 13431 - }, 13432 - { 13433 - "text": "Webinar 2", 13434 - "value": "Webinar_2" 13435 - } 13436 - ] 13437 - }, 13438 - { 13439 - "Name": "Transaction Date", 13440 - "Type": "text" 13441 - }, 13442 - { 13443 - "Name": "id", 13444 - "Type": "text" 13445 - }, 13446 - { 13447 - "Name": "activity_time", 13448 - "Type": "text" 13449 - } 13450 - ] 13451 - } 13452 - ] 13453 -} 13454 -{{/code}} 13455 - 13456 13456 \\ 13457 13457 13458 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 13459 -== (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33, 33, 33); color: rgb(173, 122, 3)" %)POST(% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %) Add User to Engagement(%%) == 13460 - 13461 ----- 13462 - 13463 -{{panel bgColor="#D3D3D3" width="100%"}} 13464 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/engagements/addUser 13465 -{{/panel}} 13466 - 13467 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 13468 - 13469 ----- 13470 - 13471 -(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}} 13472 - 13473 -=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) === 13474 - 13475 ----- 13476 - 13477 -{{code language="yml" theme="RDark" title="Body"}} 13478 -{"engagement id":"e0e816ec-77ba-4db1-bfc0-22d340337357","show id":"Webinar_1","ocid":"1845775", "date":"2023-12-31 14:12:38", "data":{"price":"10","attendance_status":"not_attended"},"segment":{}} 13479 -{{/code}} 13480 - 13481 -==== Example ==== 13482 - 13483 ----- 13484 - 13485 -(% style="color: rgb(107,107,107);" %)Request 13486 - 13487 -{{code language="php" theme="RDark" title="Add User to Engagement Request"}} 13488 - <?php 13489 - 13490 -$curl = curl_init(); 13491 - 13492 -curl_setopt_array($curl, array( 13493 - CURLOPT_URL => 'https://api.onecount.net/v2/engagements/addUser', 13494 - CURLOPT_RETURNTRANSFER => true, 13495 - CURLOPT_ENCODING => '', 13496 - CURLOPT_MAXREDIRS => 10, 13497 - CURLOPT_TIMEOUT => 0, 13498 - CURLOPT_FOLLOWLOCATION => true, 13499 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 13500 - CURLOPT_CUSTOMREQUEST => 'POST', 13501 - CURLOPT_POSTFIELDS =>'{"engagement id":"e0e816ec-77ba-4db1-bfc0-22d340337357","show id":"Webinar_1","ocid":"1845775", "date":"2023-12-31 14:12:38", "data":{"price":"10","attendance_status":"not_attended"},"segment":{}}', 13502 - CURLOPT_HTTPHEADER => array( 13503 - 'Appkey: {{ONECOUNT API KEY}}' 13504 - ), 13505 -)); 13506 - 13507 -$response = curl_exec($curl); 13508 - 13509 -curl_close($curl); 13510 -echo $response; 13511 -{{/code}} 13512 - 13513 13513 \\ 13514 13514 13515 -(% style="color: rgb(107,107,107);" %)Response 200 OK 13516 - 13517 -{{code language="yml" theme="RDark" title="Add Users to Engagement Response" collapse="true"}} 13518 - { 13519 - "result": { 13520 - "success": "1", 13521 - "error": { 13522 - "code": "", 13523 - "message": "" 13524 - } 13525 - }, 13526 - "Users": { 13527 - "ocid": 1845775, 13528 - "uuid": { 13529 - "type": { 13530 - "name": "uuid" 13531 - }, 13532 - "uuid": "a1425a04-4c0c-4790-bcd6-425bc7729fd7", 13533 - "version": 4 13534 - }, 13535 - "blacklisted": null, 13536 - "demo": { 13537 - "1": "rayaan@one-count.com", 13538 - "2": "user_1701788987", 13539 - "3": "5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5" 13540 - }, 13541 - "email": "rayaan@one-count.com", 13542 - "espid": null, 13543 - "known": { 13544 - "type": { 13545 - "name": "smallint" 13546 - }, 13547 - "value": "1" 13548 - }, 13549 - "ocid_hash": "57b81cf5536171c84e6e8a0b762251ee7819737b2e95f1390fed97acc11a277b", 13550 - "partners_hash": null, 13551 - "password": "5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5", 13552 - "payment_cc_exp": null, 13553 - "payment_vendor_token": null, 13554 - "products": { 13555 - "599": "447" 13556 - }, 13557 - "remarks": null, 13558 - "resources": null, 13559 - "smartlink_hash": null, 13560 - "subscription_active_resource_info": null, 13561 - "subscription_active_term_info": { 13562 - "447": "{\"renewed\":1,\"expiration_month\":202512,\"product_status\":\"2\",\"expiration_date\":20251211}" 13563 - }, 13564 - "subscription_log": { 13565 - "type": { 13566 - "valueType": { 13567 - "name": "varchar" 13568 - } 13569 - }, 13570 - "values": [ 13571 - "{\"batch_id\":\"1234\",\"__cuuid\":\"49\",\"subscription_time\":\"2023-12-11 09:09:01\",\"product_status\":\"2\",\"promo_code\":\"\",\"type\":\"term\",\"expiration_date\":20251211,\"subscription_date\":20231211,\"ocid\":1845775,\"product_uid\":\"599\",\"timestamp\":1702303741,\"amount\":0,\"quantity\":1,\"import_id\":\"83\",\"ip\":\"10.10.20.7\",\"form_id\":\"8f93834c-adce-4dc7-acd0-f3a1e0f7c63f\",\"previous_expiration_date\":20231211,\"term_uid\":\"447\",\"renewed\":1,\"request_date\":20231211,\"payment_transaction_id\":\"0\",\"subscription_type\":\"n\",\"payment_processor\":\"\",\"remarks\":\"USER SUBSCRIBED\",\"user_uid\":\"a1425a04-4c0c-4790-bcd6-425bc7729fd7\"}", 13572 - "{\"batch_id\":\"1234\",\"__cuuid\":\"49\",\"subscription_time\":\"2023-12-11 09:20:49\",\"product_status\":\"2\",\"promo_code\":\"\",\"type\":\"term\",\"expiration_date\":20251211,\"subscription_date\":20231211,\"ocid\":1845775,\"product_uid\":\"599\",\"timestamp\":1702304449,\"amount\":0,\"quantity\":1,\"import_id\":\"83\",\"ip\":\"10.10.20.7\",\"form_id\":\"8f93834c-adce-4dc7-acd0-f3a1e0f7c63f\",\"previous_expiration_date\":20231211,\"term_uid\":\"447\",\"renewed\":1,\"request_date\":20231211,\"payment_transaction_id\":\"0\",\"subscription_type\":\"n\",\"payment_processor\":\"\",\"remarks\":\"USER SUBSCRIBED\",\"user_uid\":\"a1425a04-4c0c-4790-bcd6-425bc7729fd7\"}", 13573 - "{\"batch_id\":\"1234\",\"__cuuid\":\"49\",\"subscription_time\":\"2023-12-11 09:34:26\",\"product_status\":\"2\",\"promo_code\":\"\",\"type\":\"term\",\"expiration_date\":20251211,\"subscription_date\":20231211,\"ocid\":1845775,\"product_uid\":\"599\",\"timestamp\":1702305266,\"amount\":0,\"quantity\":1,\"import_id\":\"83\",\"ip\":\"10.10.20.7\",\"form_id\":\"8f93834c-adce-4dc7-acd0-f3a1e0f7c63f\",\"previous_expiration_date\":20231211,\"term_uid\":\"447\",\"renewed\":1,\"request_date\":20231211,\"payment_transaction_id\":\"0\",\"subscription_type\":\"n\",\"payment_processor\":\"\",\"remarks\":\"USER SUBSCRIBED\",\"user_uid\":\"a1425a04-4c0c-4790-bcd6-425bc7729fd7\"}" 13574 - ] 13575 - }, 13576 - "subscription_log_by_resource": null, 13577 - "subscription_source_code": [ 13578 - "83" 13579 - ], 13580 - "targets": null, 13581 - "timestamp": { 13582 - "type": { 13583 - "name": "bigint" 13584 - }, 13585 - "value": "1701788987" 13586 - }, 13587 - "unconfirmed": null, 13588 - "update_time": null, 13589 - "username": "user_1701788987", 13590 - "vendor_blacklisted": null, 13591 - "vendor_esp": null, 13592 - "vendor_unconfirmed": null 13593 - } 13594 -} 13595 -{{/code}} 13596 - 13597 13597 \\ 13598 13598 13599 13599 (% class="western" %) 13600 - ===**COMPONENT: Leads13601 -** ===12864 +**COMPONENT: Leads 12865 +** 13602 13602 13603 13603 (% class="western" %) 13604 13604 Stats resource can be used to submit any type of stat collected on the third party systems. Each type of stat will be represented by a sub-resource. So, for telemarketing it could be **/stats/telemarketing** endpoint, for videos it can be **/stats/videos**, for webinar it could be **/stats/webinars** etc. Right now we only have telemarketing sub-resource. ... ... @@ -13783,6 +13783,14 @@ 13783 13783 13784 13784 \\ 13785 13785 13050 +\\ 13051 + 13052 +\\ 13053 + 13054 +\\ 13055 + 13056 +\\ 13057 + 13786 13786 (% class="western" %) 13787 13787 **API REFERENCE** 13788 13788
- Confluence.Code.ConfluencePageClass[0]
-
- id
-
... ... @@ -1,1 +1,1 @@ 1 -1 102315621 +108265483 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://info.onecount.net//wiki/spaces/OD/pages/1 10231562/ONEcount API Documentation1 +https://info.onecount.net//wiki/spaces/OD/pages/108265483/ONEcount API Documentation