Changes for page ONEcount API Documentation
Last modified by Rayaan Ahmed on 2025/06/27 12:14
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -7,10 +7,9 @@ 7 7 (% class="western" %) 8 8 REST takes advantage of the HTTP request methods to layer itself into the existing HTTP architecture. These operations consist of the following: 9 9 10 -1. ((( 11 11 (% class="western" %) 12 12 **GET** - Used for lookup of resources 13 - )))12 + 14 14 1. ((( 15 15 (% class="western" %) 16 16 **PUT** - Used to update a resource ... ... @@ -67,7 +67,7 @@ 67 67 **Accessing API** 68 68 69 69 (% class="western" %) 70 -**REST API URL: [[https:~~/~~/api.onecount.net/v2/>>url:https://api.onecount.net/v2/|| style=""rel="nofollow" shape="rect" class="external-link"]]**69 +**REST API URL: [[https:~~/~~/api.onecount.net/v2/>>url:https://api.onecount.net/v2/||rel="nofollow" shape="rect" class="external-link"]]** 71 71 72 72 (% class="western" %) 73 73 **Appkey**: THIS WILL BE PROVIDED TO YOU ... ... @@ -116,7 +116,7 @@ 116 116 (% class="western" %) 117 117 API will output the response in a JSON format discussed below. 118 118 119 -{{code language="yml" theme="RDark" title="Response" collapse="true"}}118 +{{code language="yml" theme="RDark" title="Response"}} 120 120 { 121 121 "result": { 122 122 "success": "1", ... ... @@ -174,6 +174,7 @@ 174 174 175 175 \\ 176 176 176 +(% class="wrapped" %) 177 177 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 178 178 ((( 179 179 (% class="western" %) ... ... @@ -220,7 +220,7 @@ 220 220 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 221 221 ((( 222 222 (% class="western" %) 223 -/users/lookup?1=user1@ [[email.com>>url:http://email.com/||style="" rel="nofollow" shape="rect" class="external-link"]]&return=1,2223 +/users/lookup?1=user1@email.com&return=1,2 224 224 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 225 225 ((( 226 226 (% class="western" %) ... ... @@ -227,7 +227,7 @@ 227 227 Lookup for user whose question id (1) is equal to supplied value. The users object returned will have value of questions 1 & 2. Here for example assumed to be firstname and last name. 228 228 229 229 (% class="western" %) 230 -Return parameter defines a csvof question id that are requested back in response.230 +Return parameter defines a CSV of question id that are requested back in response. 231 231 ))) 232 232 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 233 233 ((( ... ... @@ -294,19 +294,19 @@ 294 294 Example: 295 295 296 296 (% class="western" %) 297 -{"u":" [[abc@one-count.com>>mailto:abc@one-count.com||style="" rel="nofollow" shape="rect" class="external-link"]]","e":"abc@[[one-count.com>>url:http://one-count.com/||style="" rel="nofollow" shape="rect" class="external-link"]]","p":"1234"}297 +{"u":"abc@one-count.com","e":"abc@one-count.com","p":"1234"} 298 298 299 299 (% class="western" %) 300 300 OR 301 301 302 302 (% class="western" %) 303 -{"u":" [[abc@one-count.com>>mailto:abc@one-count.com||style="" rel="nofollow" shape="rect" class="external-link"]]","p":"1234"}303 +{"u":"abc@one-count.com","p":"1234"} 304 304 305 305 (% class="western" %) 306 306 OR 307 307 308 308 (% class="western" %) 309 -{"e":" [[abc@one-count.com>>mailto:abc@one-count.com||style="" rel="nofollow" shape="rect" class="external-link"]]","p":"1234"}309 +{"e":"abc@one-count.com","p":"1234"} 310 310 311 311 (% class="western" %) 312 312 **OUTPUT** : Should get OCID of the user if it finds it otherwise get and error with msg user not found. ... ... @@ -317,16 +317,16 @@ 317 317 318 318 ---- 319 319 320 -{{column width="100%"}} 321 - (% class="nolink" %)https:~/~/api.onecount.net/v2/users 322 -{{/column}} 320 +---- 323 323 324 -(% style="" %) 322 +{{panel bgColor="#D3D3D3" width="100%"}} 323 +(% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users 324 +{{/panel}} 325 + 325 325 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 326 326 327 327 ---- 328 328 329 -(% style="" %) 330 330 (% 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}} 331 331 332 332 ==== Example ==== ... ... @@ -335,13 +335,13 @@ 335 335 336 336 (% style="color: rgb(107,107,107);" %)Request 337 337 338 -{{code language="php" theme="RDark" title="Get All Users Request" collapse="true"}}338 +{{code language="php" theme="RDark" title="Get All Users Request"}} 339 339 <?php 340 340 341 341 $curl = curl_init(); 342 342 343 343 curl_setopt_array($curl, array( 344 - CURLOPT_URL => ' rayaan.onecount.net/api/v2/users',344 + CURLOPT_URL => 'https://api.onecount.net/v2/users', 345 345 CURLOPT_RETURNTRANSFER => true, 346 346 CURLOPT_ENCODING => '', 347 347 CURLOPT_MAXREDIRS => 10, ... ... @@ -364,7 +364,7 @@ 364 364 365 365 \\ 366 366 367 -(% style="color: rgb(107,107,107);" %)Response 367 +(% style="color: rgb(107,107,107);" %)Response 200 OK 368 368 369 369 {{code language="yml" theme="RDark" title="Get All Users Response" collapse="true"}} 370 370 { ... ... @@ -859,19 +859,14 @@ 859 859 860 860 ---- 861 861 862 -{{ columnwidth="100%"}}862 +{{panel bgColor="#D3D3D3" width="100%"}} 863 863 (% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users/(% style="color: rgb(33,33,33);" %)~{~{OCID}} 864 -{{/ column}}864 +{{/panel}} 865 865 866 -(% style="" %) 867 -~{~{OCID}} is user id which is provided by ONEcount 868 - 869 -(% style="" %) 870 870 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 871 871 872 872 ---- 873 873 874 -(% style="" %) 875 875 (% 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}} 876 876 877 877 ==== Example ==== ... ... @@ -880,13 +880,13 @@ 880 880 881 881 (% style="color: rgb(107,107,107);" %)Request 882 882 883 -{{code language="php" theme="RDark" title="Get specific User Request" collapse="true"}}878 +{{code language="php" theme="RDark" title="Get specific User Request"}} 884 884 <?php 885 885 886 886 $curl = curl_init(); 887 887 888 888 curl_setopt_array($curl, array( 889 - CURLOPT_URL => ' rayaan.onecount.net/api/v2/users/8418',884 + CURLOPT_URL => 'https://api.onecount.net/v2/users/{{OCID}}', 890 890 CURLOPT_RETURNTRANSFER => true, 891 891 CURLOPT_ENCODING => '', 892 892 CURLOPT_MAXREDIRS => 10, ... ... @@ -907,7 +907,7 @@ 907 907 908 908 \\ 909 909 910 -(% style="color: rgb(107,107,107);" %)Response 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 { ... ... @@ -964,19 +964,14 @@ 964 964 965 965 ---- 966 966 967 -{{ columnwidth="100%"}}968 - (% class="nolink" %)https:~/~/api.onecount.net/v2/users(% style="color: rgb(33,33,33);" %)/login 969 -{{/ column}}962 +{{panel bgColor="#D3D3D3" width="100%"}} 963 + (% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users(% class="nolink" style="color: rgb(33,33,33);" %)/login 964 +{{/panel}} 970 970 971 -(% style="" %) 972 -\\ 973 - 974 -(% style="" %) 975 975 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 976 976 977 977 ---- 978 978 979 -(% style="" %) 980 980 (% 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}} 981 981 982 982 === (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) === ... ... @@ -983,7 +983,7 @@ 983 983 984 984 ---- 985 985 986 -{{code language="yml" theme="RDark" title="Body" collapse="true"}}976 +{{code language="yml" theme="RDark" title="Body"}} 987 987 {"e":"rayaan@one-count.com","p":"12345"} 988 988 {{/code}} 989 989 ... ... @@ -993,13 +993,13 @@ 993 993 994 994 (% style="color: rgb(107,107,107);" %)Request 995 995 996 -{{code language="php" theme="RDark" title="User login Request" collapse="true"}}986 +{{code language="php" theme="RDark" title="User login Request"}} 997 997 <?php 998 998 999 999 $curl = curl_init(); 1000 1000 1001 1001 curl_setopt_array($curl, array( 1002 - CURLOPT_URL => ' rayaan.onecount.net/api/v2/users/login',992 + CURLOPT_URL => 'https://api.onecount.net/v2/users/login', 1003 1003 CURLOPT_RETURNTRANSFER => true, 1004 1004 CURLOPT_ENCODING => '', 1005 1005 CURLOPT_MAXREDIRS => 10, ... ... @@ -1021,7 +1021,7 @@ 1021 1021 1022 1022 \\ 1023 1023 1024 -(% style="color: rgb(107,107,107);" %)Response 1014 +(% style="color: rgb(107,107,107);" %)Response 200 OK 1025 1025 1026 1026 {{code language="yml" theme="RDark" title="Login user Response" collapse="true"}} 1027 1027 { ... ... @@ -1045,19 +1045,14 @@ 1045 1045 1046 1046 ---- 1047 1047 1048 -{{ columnwidth="100%"}}1049 - 1050 -{{/ column}}1038 +{{panel bgColor="#D3D3D3" width="100%"}} 1039 +(% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users(% class="nolink" style="color: rgb(33,33,33);" %)/lookup?2=user_242_6298&return=1,2,3,4 1040 +{{/panel}} 1051 1051 1052 -(% style="" %) 1053 -\\ 1054 - 1055 -(% style="" %) 1056 1056 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 1057 1057 1058 1058 ---- 1059 1059 1060 -(% style="" %) 1061 1061 (% 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}} 1062 1062 1063 1063 === (% style="color: rgb(33,33,33);" %)Query Params(%%) === ... ... @@ -1073,13 +1073,13 @@ 1073 1073 1074 1074 (% style="color: rgb(107,107,107);" %)Request 1075 1075 1076 -{{code language="php" theme="RDark" title="Lookup user Request" collapse="true"}}1061 +{{code language="php" theme="RDark" title="Lookup user Request"}} 1077 1077 <?php 1078 1078 1079 1079 $curl = curl_init(); 1080 1080 1081 1081 curl_setopt_array($curl, array( 1082 - CURLOPT_URL => ' rayaan.onecount.net/api/v2/users/lookup?2=user_242_6298&return=1%2C2%2C3%2C4',1067 + CURLOPT_URL => 'https://api.onecount.net/v2/users/lookup?2=user_242_6298&return=1,2,3,4', 1083 1083 CURLOPT_RETURNTRANSFER => true, 1084 1084 CURLOPT_ENCODING => '', 1085 1085 CURLOPT_MAXREDIRS => 10, ... ... @@ -1100,7 +1100,7 @@ 1100 1100 1101 1101 \\ 1102 1102 1103 -(% style="color: rgb(107,107,107);" %)Response 1088 +(% style="color: rgb(107,107,107);" %)Response 200 OK 1104 1104 1105 1105 {{code language="yml" theme="RDark" title="Lookup user Response" collapse="true"}} 1106 1106 { ... ... @@ -1132,19 +1132,14 @@ 1132 1132 1133 1133 ---- 1134 1134 1135 -{{ columnwidth="100%"}}1136 - 1137 -{{/ column}}1120 +{{panel bgColor="#D3D3D3" width="100%"}} 1121 +(% class="nolink nolink" %)https:~/~/api.onecount.net/v2(% class="nolink" style="color: rgb(33,33,33);" %)/users/~{~{OCID}}/partners/~{~{Partner id}} 1122 +{{/panel}} 1138 1138 1139 -(% style="" %) 1140 -\\ 1141 - 1142 -(% style="" %) 1143 1143 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 1144 1144 1145 1145 ---- 1146 1146 1147 -(% style="" %) 1148 1148 (% 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}} 1149 1149 1150 1150 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) ... ... @@ -1152,326 +1152,16 @@ 1152 1152 1153 1153 ---- 1154 1154 1155 -{{ columnwidth="100%"}}1156 - 1157 -{{/ column}}1135 +{{panel bgColor="#D3D3D3" width="100%"}} 1136 +(% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users 1137 +{{/panel}} 1158 1158 1159 -(% style="" %) 1160 1160 \\ 1161 1161 1162 -(% style="" %) 1163 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 1164 - 1165 ----- 1166 - 1167 -(% style="" %) 1168 -(% 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}} 1169 - 1170 -=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) === 1171 - 1172 ----- 1173 - 1174 -{{code language="yml" theme="RDark" title="Body" collapse="true"}} 1175 -{"Users":{"PartnerId":1,"Demo":{"1":"testApirayaan7@onecount.net","4":"Rayaan","5":"Ahmed"}},"DedupeColumns":"1","Transactions":[]} 1176 -{{/code}} 1177 - 1178 -==== Example ==== 1179 - 1180 ----- 1181 - 1182 -(% style="color: rgb(107,107,107);" %)Request 1183 - 1184 -{{code language="php" theme="RDark" title="Create User Request" collapse="true"}} 1185 -<?php 1186 - 1187 -$curl = curl_init(); 1188 - 1189 -curl_setopt_array($curl, array( 1190 - CURLOPT_URL => 'rayaan.onecount.net/api/v2/users', 1191 - CURLOPT_RETURNTRANSFER => true, 1192 - CURLOPT_ENCODING => '', 1193 - CURLOPT_MAXREDIRS => 10, 1194 - CURLOPT_TIMEOUT => 0, 1195 - CURLOPT_FOLLOWLOCATION => true, 1196 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 1197 - CURLOPT_CUSTOMREQUEST => 'POST', 1198 - CURLOPT_POSTFIELDS =>'{"Users":{"PartnerId":1,"Demo":{"1":"testApirayaan6@onecount.net","4":"Rayaan","5":"Ahmed"}},"DedupeColumns":"1","Transactions":[]}', 1199 - CURLOPT_HTTPHEADER => array( 1200 - 'Appkey: {{ONECOUNT API KEY}}' 1201 - ), 1202 -)); 1203 - 1204 -$response = curl_exec($curl); 1205 - 1206 -curl_close($curl); 1207 -echo $response; 1208 -{{/code}} 1209 - 1210 -\\ 1211 - 1212 -(% style="color: rgb(107,107,107);" %)Response 200 OK 1213 - 1214 -{{code language="yml" theme="RDark" title="Create user Response" collapse="true"}} 1215 -{ 1216 - "result": { 1217 - "success": "1", 1218 - "error": { 1219 - "code": "", 1220 - "message": "" 1221 - } 1222 - }, 1223 - "Users": { 1224 - "Id": 1845831 1225 - } 1226 -} 1227 -{{/code}} 1228 - 1229 -\\ 1230 - 1231 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 1232 -== (% 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 user(%%) == 1233 - 1234 ----- 1235 - 1236 -{{column width="100%"}} 1237 - (% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users/~{~{OCID}} 1238 -{{/column}} 1239 - 1240 -(% style="" %) 1241 -\\ 1242 - 1243 -(% style="" %) 1244 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 1245 - 1246 ----- 1247 - 1248 -(% style="" %) 1249 -(% 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}} 1250 - 1251 -=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) === 1252 - 1253 ----- 1254 - 1255 -{{code language="yml" theme="RDark" title="Body" collapse="true"}} 1256 -{"Users":{"Demo":{"6":"title1"}}} 1257 -{{/code}} 1258 - 1259 -==== Example ==== 1260 - 1261 ----- 1262 - 1263 -(% style="color: rgb(107,107,107);" %)Request 1264 - 1265 -{{code language="php" theme="RDark" title="Update User Request" collapse="true"}} 1266 -<?php 1267 - 1268 -$curl = curl_init(); 1269 - 1270 -curl_setopt_array($curl, array( 1271 - CURLOPT_URL => 'rayaan.onecount.net/api/v2/users/{{OCID}}', 1272 - CURLOPT_RETURNTRANSFER => true, 1273 - CURLOPT_ENCODING => '', 1274 - CURLOPT_MAXREDIRS => 10, 1275 - CURLOPT_TIMEOUT => 0, 1276 - CURLOPT_FOLLOWLOCATION => true, 1277 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 1278 - CURLOPT_CUSTOMREQUEST => 'PUT', 1279 - CURLOPT_POSTFIELDS =>'{"Users":{"Demo":{"6":"title"}}}', 1280 - CURLOPT_HTTPHEADER => array( 1281 - 'Appkey: {{ONECOUNT API KEY}}' 1282 - ), 1283 -)); 1284 - 1285 -$response = curl_exec($curl); 1286 - 1287 -curl_close($curl); 1288 -echo $response; 1289 - 1290 - 1291 -{{/code}} 1292 - 1293 -\\ 1294 - 1295 -(% style="color: rgb(107,107,107);" %)Response 200 OK 1296 - 1297 -{{code language="yml" theme="RDark" title="Update user Response" collapse="true"}} 1298 -{ 1299 - "result": { 1300 - "success": "1", 1301 - "error": { 1302 - "code": "", 1303 - "message": "" 1304 - } 1305 - }, 1306 - "Users": [ 1307 - { 1308 - "Id": 1845823, 1309 - "OCID_HASH": "fccaa8dc7afadccc5882528d47b27c2bb53e2788dd0ac1fe170abef77a9c4d5b" 1310 - } 1311 - ] 1312 -} 1313 -{{/code}} 1314 - 1315 -\\ 1316 - 1317 -\\ 1318 - 1319 -\\ 1320 - 1321 -\\ 1322 - 1323 -\\ 1324 - 1325 -\\ 1326 - 1327 -\\ 1328 - 1329 -\\ 1330 - 1331 -\\ 1332 - 1333 -\\ 1334 - 1335 -\\ 1336 - 1337 -\\ 1338 - 1339 -\\ 1340 - 1341 -\\ 1342 - 1343 -\\ 1344 - 1345 -\\ 1346 - 1347 -\\ 1348 - 1349 -\\ 1350 - 1351 -\\ 1352 - 1353 -\\ 1354 - 1355 -\\ 1356 - 1357 -\\ 1358 - 1359 -\\ 1360 - 1361 -\\ 1362 - 1363 -\\ 1364 - 1365 -\\ 1366 - 1367 -\\ 1368 - 1369 -\\ 1370 - 1371 -\\ 1372 - 1373 1373 (% class="western" %) 1374 -**GET method should be used to lookup users.** 1375 - 1376 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1377 -((( 1378 -(% class="western" %) 1379 -**Request** 1380 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1381 -((( 1382 -(% class="western" %) 1383 -**Type** 1384 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1385 -((( 1386 -(% class="western" %) 1387 -**Description** 1388 -))) 1389 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1390 -((( 1391 -(% class="western" %) 1392 -Lookup params 1393 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1394 -((( 1395 -(% class="western" %) 1396 -String 1397 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1398 -((( 1399 -(% class="western" %) 1400 -URL encoded key value string parameters for the lookup. Return property has csv of questions id requested back in Users object. 1401 - 1402 -(% class="western" %) 1403 -Params: Value of question Ids: Key value for Lookup question ids for e.g. 1=user1@[[email.com>>url:http://email.com/||style="" rel="nofollow" shape="rect" class="external-link"]] 1404 - 1405 -(% class="western" %) 1406 -return: csv of question id that is requested back. The Users object returned will only have these properties plus UserId (String) 1407 - 1408 -(% class="western" %) 1409 -If return is not provided, all the demographics will be returned. 1410 -))) 1411 - 1412 -\\ 1413 - 1414 -\\ 1415 - 1416 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1417 -((( 1418 -(% class="western" %) 1419 -**Response** 1420 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1421 -((( 1422 -(% class="western" %) 1423 -**Type** 1424 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1425 -((( 1426 -(% class="western" %) 1427 -**Description** 1428 -))) 1429 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1430 -((( 1431 -(% class="western" %) 1432 -Users 1433 -)))|=(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1434 -((( 1435 -(% class="western" align="left" %) 1436 -Users 1437 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1438 -((( 1439 -(% class="western" %) 1440 -Found users returned with the demo field requested in return parameter in json format 1441 -))) 1442 - 1443 -\\ 1444 - 1445 -**Sample response for /users/(% style="color: rgb(80,80,80);" %)<OCID or ocid_hash>(%%)** 1446 - 1447 -Along with the demo in json format, the active packages and products of the user referred to as products and resources respectively are also returned. 1448 - 1449 -(% class="relative-table" style="width: 1432.1px;" %) 1450 -(% class="" %)|=(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1451 -((( 1452 -(% class="content-wrapper" %) 1453 -((( 1454 -(% class="confluence-embedded-file-wrapper confluence-embedded-manual-size" %)[[image:attach:Screen Shot 2020-02-26 at 11.15.52 AM.png||width="1407"]] 1455 -))) 1456 -))) 1457 - 1458 -\\ 1459 - 1460 -**Sample response for /users/lookup?(% style="color: rgb(80,80,80);" %)11=santosh@[[one-count.com>>url:http://one-count.com/||style="" rel="nofollow" shape="rect" class="external-link"]]&return=2,3(%%)** 1461 - 1462 -(% class="" %)|=(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1463 -((( 1464 -(% class="content-wrapper" %) 1465 -((( 1466 -(% class="confluence-embedded-file-wrapper confluence-embedded-manual-size" %)[[image:attach:Screen Shot 2020-02-26 at 11.22.13 AM.png||height="250"]] 1467 -))) 1468 -))) 1469 - 1470 -\\ 1471 - 1472 -(% class="western" %) 1473 1473 **POST method should be used to create users.** 1474 1474 1144 +(% class="wrapped" %) 1475 1475 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1476 1476 ((( 1477 1477 (% class="western" %) ... ... @@ -1538,6 +1538,7 @@ 1538 1538 CSV of ONEcount QuestionId's requested back in Users object in response. 1539 1539 ))) 1540 1540 1211 +(% class="wrapped" %) 1541 1541 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1542 1542 ((( 1543 1543 (% class="western" %) ... ... @@ -1565,11 +1565,89 @@ 1565 1565 Created users returned with the demo field requested in return parameter in json format. If return was not specified only UserId will be returned. 1566 1566 ))) 1567 1567 1239 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 1240 + 1241 +---- 1242 + 1243 +(% 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}} 1244 + 1245 +=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) === 1246 + 1247 +---- 1248 + 1249 +{{code language="yml" theme="RDark" title="Body"}} 1250 +{"Users":{"PartnerId":1,"Demo":{"1":"testApirayaan7@onecount.net","4":"Rayaan","5":"Ahmed"}},"DedupeColumns":"1","Transactions":[]} 1251 +{{/code}} 1252 + 1253 +==== Example ==== 1254 + 1255 +---- 1256 + 1257 +(% style="color: rgb(107,107,107);" %)Request 1258 + 1259 +{{code language="php" theme="RDark" title="Create User Request"}} 1260 +<?php 1261 + 1262 +$curl = curl_init(); 1263 + 1264 +curl_setopt_array($curl, array( 1265 + CURLOPT_URL => 'https://api.onecount.net/v2/users', 1266 + CURLOPT_RETURNTRANSFER => true, 1267 + CURLOPT_ENCODING => '', 1268 + CURLOPT_MAXREDIRS => 10, 1269 + CURLOPT_TIMEOUT => 0, 1270 + CURLOPT_FOLLOWLOCATION => true, 1271 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 1272 + CURLOPT_CUSTOMREQUEST => 'POST', 1273 + CURLOPT_POSTFIELDS =>'{"Users":{"PartnerId":1,"Demo":{"1":"testApirayaan6@onecount.net","4":"Rayaan","5":"Ahmed"}},"DedupeColumns":"1","Transactions":[]}', 1274 + CURLOPT_HTTPHEADER => array( 1275 + 'Appkey: {{ONECOUNT API KEY}}' 1276 + ), 1277 +)); 1278 + 1279 +$response = curl_exec($curl); 1280 + 1281 +curl_close($curl); 1282 +echo $response; 1283 +{{/code}} 1284 + 1568 1568 \\ 1569 1569 1287 +(% style="color: rgb(107,107,107);" %)Response 200 OK 1288 + 1289 +{{code language="yml" theme="RDark" title="Create user Response" collapse="true"}} 1290 +{ 1291 + "result": { 1292 + "success": "1", 1293 + "error": { 1294 + "code": "", 1295 + "message": "" 1296 + } 1297 + }, 1298 + "Users": { 1299 + "Id": 1845831 1300 + } 1301 +} 1302 +{{/code}} 1303 + 1304 +\\ 1305 + 1306 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 1307 +== (% 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 user(%%) == 1308 + 1309 +---- 1310 + 1311 +{{panel bgColor="#D3D3D3" width="100%"}} 1312 + (% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users/~{~{OCID(% class="nolink" %)}} 1313 +{{/panel}} 1314 + 1570 1570 (% class="western" %) 1316 +\\ 1317 + 1318 +(% class="western" %) 1571 1571 **PUT method should be used to update users.** 1572 1572 1321 +(% class="wrapped" %) 1573 1573 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1574 1574 ((( 1575 1575 (% class="western" %) ... ... @@ -1594,7 +1594,7 @@ 1594 1594 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1595 1595 ((( 1596 1596 (% class="western" %) 1597 -Users object with update fields. Return property has csvof questions id requested back in Users object.1346 +Users object with update fields. Return property has CSV of questions id requested back in Users object. 1598 1598 ))) 1599 1599 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1600 1600 ((( ... ... @@ -1623,6 +1623,7 @@ 1623 1623 RequestDate to use for the demo update. If not provided current date will be used. 1624 1624 ))) 1625 1625 1375 +(% class="wrapped" %) 1626 1626 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1627 1627 ((( 1628 1628 (% class="western" %) ... ... @@ -1650,29 +1650,83 @@ 1650 1650 Updated user returned with the demo field requested in return parameter in json format. 1651 1651 ))) 1652 1652 1653 -(% class="western" %) 1654 -\\ 1403 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 1655 1655 1656 -(% class="western" %) 1657 -\\ 1405 +---- 1658 1658 1659 -(% class="western" %) 1660 -Create new users. Here in this example the JSON for request is passed in userFile.json file. 1407 +(% 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}} 1661 1661 1662 - {{{curl-XPOST -H “Appkey: xxx” -H "Content-Type: application/json"–data-binary-d'@userFile.json' https://api.onecount.net/v2/users}}}1409 +=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) === 1663 1663 1664 -(% class="western" %) 1665 -**~ ** 1411 +---- 1666 1666 1667 -(% class="western" %) 1668 -**~ ** 1413 +{{code language="yml" theme="RDark" title="Body"}} 1414 +{"Users":{"Demo":{"6":"title1"}}} 1415 +{{/code}} 1669 1669 1417 +==== Example ==== 1418 + 1419 +---- 1420 + 1421 +(% style="color: rgb(107,107,107);" %)Request 1422 + 1423 +{{code language="php" theme="RDark" title="Update User Request"}} 1424 +<?php 1425 + 1426 +$curl = curl_init(); 1427 + 1428 +curl_setopt_array($curl, array( 1429 + CURLOPT_URL => 'https://api.onecount.net/v2/users/{{OCID}}', 1430 + CURLOPT_RETURNTRANSFER => true, 1431 + CURLOPT_ENCODING => '', 1432 + CURLOPT_MAXREDIRS => 10, 1433 + CURLOPT_TIMEOUT => 0, 1434 + CURLOPT_FOLLOWLOCATION => true, 1435 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 1436 + CURLOPT_CUSTOMREQUEST => 'PUT', 1437 + CURLOPT_POSTFIELDS =>'{"Users":{"Demo":{"6":"title"}}}', 1438 + CURLOPT_HTTPHEADER => array( 1439 + 'Appkey: {{ONECOUNT API KEY}}' 1440 + ), 1441 +)); 1442 + 1443 +$response = curl_exec($curl); 1444 + 1445 +curl_close($curl); 1446 +echo $response; 1447 + 1448 + 1449 +{{/code}} 1450 + 1670 1670 \\ 1671 1671 1453 +(% style="color: rgb(107,107,107);" %)Response 200 OK 1454 + 1455 +{{code language="yml" theme="RDark" title="Update user Response" collapse="true"}} 1456 +{ 1457 + "result": { 1458 + "success": "1", 1459 + "error": { 1460 + "code": "", 1461 + "message": "" 1462 + } 1463 + }, 1464 + "Users": [ 1465 + { 1466 + "Id": 1845823, 1467 + "OCID_HASH": "fccaa8dc7afadccc5882528d47b27c2bb53e2788dd0ac1fe170abef77a9c4d5b" 1468 + } 1469 + ] 1470 +} 1471 +{{/code}} 1472 + 1672 1672 (% class="western" %) 1673 - **COMPONENT: Questions**1474 +\\ 1674 1674 1675 1675 (% class="western" %) 1477 +=== **COMPONENT: Questions** === 1478 + 1479 +(% class="western" %) 1676 1676 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). 1677 1677 1678 1678 (% class="western" %) ... ... @@ -1684,6 +1684,7 @@ 1684 1684 (% class="western" %) 1685 1685 There can be 6 types of questions: 1686 1686 1491 +(% class="wrapped" %) 1687 1687 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1688 1688 ((( 1689 1689 (% class="western" align="center" %) ... ... @@ -1748,6 +1748,7 @@ 1748 1748 Checkbox type question. This is a multiple choice, multi response type question. When creating this type of question the choices block also needs to be part of the questions object that will hold the possible choices of the checkbox question. 1749 1749 ))) 1750 1750 1556 +(% class="wrapped" %) 1751 1751 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1752 1752 ((( 1753 1753 (% class="western" %) ... ... @@ -1835,258 +1835,6617 @@ 1835 1835 1836 1836 \\ 1837 1837 1838 -(% class=" western" %)1839 - **GET methodcanbedtookupquestions.**1644 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 1645 +== (% 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 Questions(%%) == 1840 1840 1841 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1842 -((( 1843 -(% class="western" %) 1844 -**Request** 1845 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1846 -((( 1847 -(% class="western" %) 1848 -**Type** 1849 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1850 -((( 1851 -(% class="western" %) 1852 -**Description** 1853 -))) 1854 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1855 -((( 1856 -(% class="western" %) 1857 -Lookup params 1858 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1859 -((( 1860 -(% class="western" %) 1861 -String 1862 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1863 -((( 1864 -(% class="western" %) 1865 -URL encoded key value string parameters for the question that a user is trying to search. 1647 +---- 1866 1866 1867 -(% class="western" %) 1868 -Params: 1649 +---- 1869 1869 1870 -(% class="western" %) 1871 -Text: Word or phrase that should be present in the question text (String) 1651 +{{panel bgColor="#D3D3D3" width="100%"}} 1652 +(% class="nolink nolink" %)https:~/~/api.onecount.net/v2/(% style="color: rgb(33,33,33);" %)questions 1653 +{{/panel}} 1872 1872 1873 -(% class="western" %) 1874 -Type: Look up the question type. 1875 -))) 1655 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 1876 1876 1877 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1878 -((( 1879 -(% class="western" %) 1880 -**Response** 1881 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1882 -((( 1883 -(% class="western" %) 1884 -**Type** 1885 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1886 -((( 1887 -(% class="western" %) 1888 -**Description** 1889 -))) 1890 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1891 -((( 1892 -(% class="western" %) 1893 -Questions 1894 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1895 -((( 1896 -(% class="western" %) 1897 -Questions 1898 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1899 -((( 1900 -(% class="western" %) 1901 -Returns found question details. 1902 -))) 1657 +---- 1903 1903 1659 +(% 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}} 1660 + 1661 +==== Example ==== 1662 + 1663 +---- 1664 + 1665 +(% style="color: rgb(107,107,107);" %)Request 1666 + 1667 +{{code language="php" theme="RDark" title="Get All Questions Request"}} 1668 +<?php 1669 + 1670 +$curl = curl_init(); 1671 + 1672 +curl_setopt_array($curl, array( 1673 + CURLOPT_URL => 'https://api.onecount.net/v2/questions', 1674 + CURLOPT_RETURNTRANSFER => true, 1675 + CURLOPT_ENCODING => '', 1676 + CURLOPT_MAXREDIRS => 10, 1677 + CURLOPT_TIMEOUT => 0, 1678 + CURLOPT_FOLLOWLOCATION => true, 1679 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 1680 + CURLOPT_CUSTOMREQUEST => 'GET', 1681 + CURLOPT_HTTPHEADER => array( 1682 + 'Appkey: 70856f83422599c8e36191098f1536ae06e7bbcd' 1683 + ), 1684 +)); 1685 + 1686 +$response = curl_exec($curl); 1687 + 1688 +curl_close($curl); 1689 +echo $response; 1690 + 1691 + 1692 + 1693 +{{/code}} 1694 + 1904 1904 \\ 1905 1905 1906 -(% class="western" %) 1907 -**POST method should be used to create questions. The data that is sent should be in JSON format and of type questions as described in references section. Questions object will only need a choices block if the question is a multiple choice question (type=4 or 5 or 6).** 1697 +(% style="color: rgb(107,107,107);" %)Response 200 OK 1908 1908 1909 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1910 -((( 1911 -(% class="western" %) 1912 -**Request** 1913 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1914 -((( 1915 -(% class="western" %) 1916 -**Type** 1917 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1918 -((( 1919 -(% class="western" %) 1920 -**Description** 1921 -))) 1922 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1923 -((( 1924 -(% class="western" %) 1925 -Questions 1926 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1927 -((( 1928 -(% class="western" %) 1929 -Questions 1930 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1931 -((( 1932 -(% class="western" %) 1933 -This defines the question contents and possible responses. 1934 -))) 1699 +{{code language="yml" theme="RDark" title="Get All Questions Response" collapse="true"}} 1700 +{ 1701 + "result": { 1702 + "success": "1", 1703 + "error": { 1704 + "code": "", 1705 + "message": "" 1706 + } 1707 + }, 1708 + "Questions": [ 1709 + { 1710 + "Id": 1, 1711 + "Text": "Email", 1712 + "Type": "0", 1713 + "Alias": "Email" 1714 + }, 1715 + { 1716 + "Id": 2, 1717 + "Text": "Username", 1718 + "Type": "0", 1719 + "Alias": "Username" 1720 + }, 1721 + { 1722 + "Id": 3, 1723 + "Text": "Password", 1724 + "Type": "2", 1725 + "Alias": "Password" 1726 + }, 1727 + { 1728 + "Id": 4, 1729 + "Text": "First Name", 1730 + "Type": "0", 1731 + "Alias": "First Name" 1732 + }, 1733 + { 1734 + "Id": 5, 1735 + "Text": "Last Name", 1736 + "Type": "0", 1737 + "Alias": "Last Name" 1738 + }, 1739 + { 1740 + "Id": 6, 1741 + "Text": "Title", 1742 + "Type": "0", 1743 + "Alias": "Title" 1744 + }, 1745 + { 1746 + "Id": 7, 1747 + "Text": "Company Name", 1748 + "Type": "0", 1749 + "Alias": "Company Name" 1750 + }, 1751 + { 1752 + "Id": 8, 1753 + "Text": "Company Address", 1754 + "Type": "0", 1755 + "Alias": "Company Address" 1756 + }, 1757 + { 1758 + "Id": 9, 1759 + "Text": "Address2", 1760 + "Type": "0", 1761 + "Alias": "Address2" 1762 + }, 1763 + { 1764 + "Id": 10, 1765 + "Text": "City", 1766 + "Type": "0", 1767 + "Alias": "City" 1768 + }, 1769 + { 1770 + "Id": 11, 1771 + "Text": "State/Province", 1772 + "Type": "4", 1773 + "Alias": "State/Province", 1774 + "Choices": [ 1775 + { 1776 + "Id": 1554, 1777 + "QuestionId": 11, 1778 + "Text": "Select One", 1779 + "Value": "", 1780 + "Order": 1 1781 + }, 1782 + { 1783 + "Id": 1562, 1784 + "QuestionId": 11, 1785 + "Text": "Alabama", 1786 + "Value": "AL", 1787 + "Order": 2 1788 + }, 1789 + { 1790 + "Id": 1570, 1791 + "QuestionId": 11, 1792 + "Text": "Alaska", 1793 + "Value": "AK", 1794 + "Order": 3 1795 + }, 1796 + { 1797 + "Id": 1578, 1798 + "QuestionId": 11, 1799 + "Text": "Arizona", 1800 + "Value": "AZ", 1801 + "Order": 4 1802 + }, 1803 + { 1804 + "Id": 1586, 1805 + "QuestionId": 11, 1806 + "Text": "Arkansas", 1807 + "Value": "AR", 1808 + "Order": 5 1809 + }, 1810 + { 1811 + "Id": 1594, 1812 + "QuestionId": 11, 1813 + "Text": "California", 1814 + "Value": "CA", 1815 + "Order": 6 1816 + }, 1817 + { 1818 + "Id": 1602, 1819 + "QuestionId": 11, 1820 + "Text": "Colorado", 1821 + "Value": "CO", 1822 + "Order": 7 1823 + }, 1824 + { 1825 + "Id": 1610, 1826 + "QuestionId": 11, 1827 + "Text": "Connecticut", 1828 + "Value": "CT", 1829 + "Order": 8 1830 + }, 1831 + { 1832 + "Id": 1618, 1833 + "QuestionId": 11, 1834 + "Text": "Delaware", 1835 + "Value": "DE", 1836 + "Order": 9 1837 + }, 1838 + { 1839 + "Id": 1626, 1840 + "QuestionId": 11, 1841 + "Text": "District of Columbia", 1842 + "Value": "DC", 1843 + "Order": 10 1844 + }, 1845 + { 1846 + "Id": 1634, 1847 + "QuestionId": 11, 1848 + "Text": "Florida", 1849 + "Value": "FL", 1850 + "Order": 11 1851 + }, 1852 + { 1853 + "Id": 1642, 1854 + "QuestionId": 11, 1855 + "Text": "Georgia", 1856 + "Value": "GA", 1857 + "Order": 12 1858 + }, 1859 + { 1860 + "Id": 1650, 1861 + "QuestionId": 11, 1862 + "Text": "Hawaii", 1863 + "Value": "HI", 1864 + "Order": 13 1865 + }, 1866 + { 1867 + "Id": 1658, 1868 + "QuestionId": 11, 1869 + "Text": "Idaho", 1870 + "Value": "ID", 1871 + "Order": 14 1872 + }, 1873 + { 1874 + "Id": 1666, 1875 + "QuestionId": 11, 1876 + "Text": "Illinois", 1877 + "Value": "IL", 1878 + "Order": 15 1879 + }, 1880 + { 1881 + "Id": 1674, 1882 + "QuestionId": 11, 1883 + "Text": "Indiana", 1884 + "Value": "IN", 1885 + "Order": 16 1886 + }, 1887 + { 1888 + "Id": 1682, 1889 + "QuestionId": 11, 1890 + "Text": "Iowa", 1891 + "Value": "IA", 1892 + "Order": 17 1893 + }, 1894 + { 1895 + "Id": 1690, 1896 + "QuestionId": 11, 1897 + "Text": "Kansas", 1898 + "Value": "KS", 1899 + "Order": 18 1900 + }, 1901 + { 1902 + "Id": 1698, 1903 + "QuestionId": 11, 1904 + "Text": "Kentucky", 1905 + "Value": "KY", 1906 + "Order": 19 1907 + }, 1908 + { 1909 + "Id": 1706, 1910 + "QuestionId": 11, 1911 + "Text": "Louisiana", 1912 + "Value": "LA", 1913 + "Order": 20 1914 + }, 1915 + { 1916 + "Id": 1714, 1917 + "QuestionId": 11, 1918 + "Text": "Maine", 1919 + "Value": "ME", 1920 + "Order": 21 1921 + }, 1922 + { 1923 + "Id": 1722, 1924 + "QuestionId": 11, 1925 + "Text": "Maryland", 1926 + "Value": "MD", 1927 + "Order": 22 1928 + }, 1929 + { 1930 + "Id": 1730, 1931 + "QuestionId": 11, 1932 + "Text": "Massachusetts", 1933 + "Value": "MA", 1934 + "Order": 23 1935 + }, 1936 + { 1937 + "Id": 1738, 1938 + "QuestionId": 11, 1939 + "Text": "Michigan", 1940 + "Value": "MI", 1941 + "Order": 24 1942 + }, 1943 + { 1944 + "Id": 1746, 1945 + "QuestionId": 11, 1946 + "Text": "Minnesota", 1947 + "Value": "MN", 1948 + "Order": 25 1949 + }, 1950 + { 1951 + "Id": 1754, 1952 + "QuestionId": 11, 1953 + "Text": "Mississippi", 1954 + "Value": "MS", 1955 + "Order": 26 1956 + }, 1957 + { 1958 + "Id": 1762, 1959 + "QuestionId": 11, 1960 + "Text": "Missouri", 1961 + "Value": "MO", 1962 + "Order": 27 1963 + }, 1964 + { 1965 + "Id": 1770, 1966 + "QuestionId": 11, 1967 + "Text": "Montana", 1968 + "Value": "MT", 1969 + "Order": 28 1970 + }, 1971 + { 1972 + "Id": 1778, 1973 + "QuestionId": 11, 1974 + "Text": "Nebraska", 1975 + "Value": "NE", 1976 + "Order": 29 1977 + }, 1978 + { 1979 + "Id": 1786, 1980 + "QuestionId": 11, 1981 + "Text": "Nevada", 1982 + "Value": "NV", 1983 + "Order": 30 1984 + }, 1985 + { 1986 + "Id": 1794, 1987 + "QuestionId": 11, 1988 + "Text": "New Hampshire", 1989 + "Value": "NH", 1990 + "Order": 31 1991 + }, 1992 + { 1993 + "Id": 1802, 1994 + "QuestionId": 11, 1995 + "Text": "New Jersey", 1996 + "Value": "NJ", 1997 + "Order": 32 1998 + }, 1999 + { 2000 + "Id": 1810, 2001 + "QuestionId": 11, 2002 + "Text": "New Mexico", 2003 + "Value": "NM", 2004 + "Order": 33 2005 + }, 2006 + { 2007 + "Id": 1818, 2008 + "QuestionId": 11, 2009 + "Text": "New York", 2010 + "Value": "NY", 2011 + "Order": 34 2012 + }, 2013 + { 2014 + "Id": 1826, 2015 + "QuestionId": 11, 2016 + "Text": "North Carolina", 2017 + "Value": "NC", 2018 + "Order": 35 2019 + }, 2020 + { 2021 + "Id": 1834, 2022 + "QuestionId": 11, 2023 + "Text": "Ohio", 2024 + "Value": "OH", 2025 + "Order": 37 2026 + }, 2027 + { 2028 + "Id": 1842, 2029 + "QuestionId": 11, 2030 + "Text": "Oklahoma", 2031 + "Value": "OK", 2032 + "Order": 38 2033 + }, 2034 + { 2035 + "Id": 1850, 2036 + "QuestionId": 11, 2037 + "Text": "Oregon", 2038 + "Value": "OR", 2039 + "Order": 39 2040 + }, 2041 + { 2042 + "Id": 1858, 2043 + "QuestionId": 11, 2044 + "Text": "Pennsylvania", 2045 + "Value": "PA", 2046 + "Order": 40 2047 + }, 2048 + { 2049 + "Id": 1866, 2050 + "QuestionId": 11, 2051 + "Text": "Rhode Island", 2052 + "Value": "RI", 2053 + "Order": 41 2054 + }, 2055 + { 2056 + "Id": 1874, 2057 + "QuestionId": 11, 2058 + "Text": "South Carolina", 2059 + "Value": "SC", 2060 + "Order": 42 2061 + }, 2062 + { 2063 + "Id": 1882, 2064 + "QuestionId": 11, 2065 + "Text": "South Dakota", 2066 + "Value": "SD", 2067 + "Order": 43 2068 + }, 2069 + { 2070 + "Id": 1890, 2071 + "QuestionId": 11, 2072 + "Text": "Tennessee", 2073 + "Value": "TN", 2074 + "Order": 44 2075 + }, 2076 + { 2077 + "Id": 1898, 2078 + "QuestionId": 11, 2079 + "Text": "Texas", 2080 + "Value": "TX", 2081 + "Order": 45 2082 + }, 2083 + { 2084 + "Id": 1906, 2085 + "QuestionId": 11, 2086 + "Text": "Utah", 2087 + "Value": "UT", 2088 + "Order": 46 2089 + }, 2090 + { 2091 + "Id": 1914, 2092 + "QuestionId": 11, 2093 + "Text": "Vermont", 2094 + "Value": "VT", 2095 + "Order": 47 2096 + }, 2097 + { 2098 + "Id": 1922, 2099 + "QuestionId": 11, 2100 + "Text": "Virginia", 2101 + "Value": "VA", 2102 + "Order": 48 2103 + }, 2104 + { 2105 + "Id": 1930, 2106 + "QuestionId": 11, 2107 + "Text": "Washington", 2108 + "Value": "WA", 2109 + "Order": 49 2110 + }, 2111 + { 2112 + "Id": 1938, 2113 + "QuestionId": 11, 2114 + "Text": "West Virginia", 2115 + "Value": "WV", 2116 + "Order": 50 2117 + }, 2118 + { 2119 + "Id": 1946, 2120 + "QuestionId": 11, 2121 + "Text": "Wisconsin", 2122 + "Value": "WI", 2123 + "Order": 51 2124 + }, 2125 + { 2126 + "Id": 1954, 2127 + "QuestionId": 11, 2128 + "Text": "Wyoming", 2129 + "Value": "WY", 2130 + "Order": 52 2131 + }, 2132 + { 2133 + "Id": 1962, 2134 + "QuestionId": 11, 2135 + "Text": "American Samoa", 2136 + "Value": "AS", 2137 + "Order": 53 2138 + }, 2139 + { 2140 + "Id": 1970, 2141 + "QuestionId": 11, 2142 + "Text": "North Dakota", 2143 + "Value": "ND", 2144 + "Order": 36 2145 + }, 2146 + { 2147 + "Id": 1978, 2148 + "QuestionId": 11, 2149 + "Text": "Federated States of Micronesia", 2150 + "Value": "FM", 2151 + "Order": 54 2152 + }, 2153 + { 2154 + "Id": 1986, 2155 + "QuestionId": 11, 2156 + "Text": "Guam", 2157 + "Value": "GU", 2158 + "Order": 55 2159 + }, 2160 + { 2161 + "Id": 1994, 2162 + "QuestionId": 11, 2163 + "Text": "Marshall Islands", 2164 + "Value": "MH", 2165 + "Order": 56 2166 + }, 2167 + { 2168 + "Id": 2002, 2169 + "QuestionId": 11, 2170 + "Text": "Northern Mariana Islands", 2171 + "Value": "MP", 2172 + "Order": 57 2173 + }, 2174 + { 2175 + "Id": 2010, 2176 + "QuestionId": 11, 2177 + "Text": "Palau", 2178 + "Value": "PW", 2179 + "Order": 58 2180 + }, 2181 + { 2182 + "Id": 2018, 2183 + "QuestionId": 11, 2184 + "Text": "Puerto Rico", 2185 + "Value": "PR", 2186 + "Order": 59 2187 + }, 2188 + { 2189 + "Id": 2026, 2190 + "QuestionId": 11, 2191 + "Text": "U.S. Virgin Islands", 2192 + "Value": "VI", 2193 + "Order": 60 2194 + }, 2195 + { 2196 + "Id": 2034, 2197 + "QuestionId": 11, 2198 + "Text": "Armed Forces Africa", 2199 + "Value": "AE", 2200 + "Order": 61 2201 + }, 2202 + { 2203 + "Id": 2042, 2204 + "QuestionId": 11, 2205 + "Text": "Armed Forces Americas (except Canada)", 2206 + "Value": "AA", 2207 + "Order": 62 2208 + }, 2209 + { 2210 + "Id": 2050, 2211 + "QuestionId": 11, 2212 + "Text": "Armed Forces Canada", 2213 + "Value": "AE", 2214 + "Order": 63 2215 + }, 2216 + { 2217 + "Id": 2058, 2218 + "QuestionId": 11, 2219 + "Text": "Armed Forces Europe", 2220 + "Value": "AE", 2221 + "Order": 64 2222 + }, 2223 + { 2224 + "Id": 2066, 2225 + "QuestionId": 11, 2226 + "Text": "Armed Forces Middle East", 2227 + "Value": "AE", 2228 + "Order": 65 2229 + }, 2230 + { 2231 + "Id": 2074, 2232 + "QuestionId": 11, 2233 + "Text": "Armed Forces Pacific", 2234 + "Value": "AP", 2235 + "Order": 66 2236 + }, 2237 + { 2238 + "Id": 2082, 2239 + "QuestionId": 11, 2240 + "Text": "Non-US/Not Applicable", 2241 + "Value": "Non-US/Not Applicable", 2242 + "Order": 67 2243 + }, 2244 + { 2245 + "Id": 2090, 2246 + "QuestionId": 11, 2247 + "Text": "Ontario", 2248 + "Value": "Ontario", 2249 + "Order": 68 2250 + }, 2251 + { 2252 + "Id": 2098, 2253 + "QuestionId": 11, 2254 + "Text": "Quebec", 2255 + "Value": "Quebec", 2256 + "Order": 69 2257 + }, 2258 + { 2259 + "Id": 2106, 2260 + "QuestionId": 11, 2261 + "Text": "Nova Scotia", 2262 + "Value": "Nova Scotia", 2263 + "Order": 70 2264 + }, 2265 + { 2266 + "Id": 2114, 2267 + "QuestionId": 11, 2268 + "Text": "New Brunswick", 2269 + "Value": "New Brunswick", 2270 + "Order": 71 2271 + }, 2272 + { 2273 + "Id": 2122, 2274 + "QuestionId": 11, 2275 + "Text": "Manitoba", 2276 + "Value": "Manitoba", 2277 + "Order": 72 2278 + }, 2279 + { 2280 + "Id": 2130, 2281 + "QuestionId": 11, 2282 + "Text": "Brittish Columbia", 2283 + "Value": "Brittish Columbia", 2284 + "Order": 73 2285 + }, 2286 + { 2287 + "Id": 2138, 2288 + "QuestionId": 11, 2289 + "Text": "Prince Edward Island", 2290 + "Value": "Prince Edward Island", 2291 + "Order": 74 2292 + }, 2293 + { 2294 + "Id": 2146, 2295 + "QuestionId": 11, 2296 + "Text": "Saskatchewan", 2297 + "Value": "Saskatchewan", 2298 + "Order": 75 2299 + }, 2300 + { 2301 + "Id": 2154, 2302 + "QuestionId": 11, 2303 + "Text": "Alberta", 2304 + "Value": "Alberta", 2305 + "Order": 76 2306 + }, 2307 + { 2308 + "Id": 2162, 2309 + "QuestionId": 11, 2310 + "Text": "Newfoundland and Labrador", 2311 + "Value": "Newfoundland and Labrador", 2312 + "Order": 77 2313 + }, 2314 + { 2315 + "Id": 2170, 2316 + "QuestionId": 11, 2317 + "Text": "British Columbia", 2318 + "Value": "British Columbia", 2319 + "Order": 78 2320 + }, 2321 + { 2322 + "Id": 2178, 2323 + "QuestionId": 11, 2324 + "Text": "Ontario", 2325 + "Value": "ON", 2326 + "Order": 79 2327 + } 2328 + ] 2329 + }, 2330 + { 2331 + "Id": 12, 2332 + "Text": "Zip/Postal Code", 2333 + "Type": "0", 2334 + "Alias": "Zip/Postal Code" 2335 + }, 2336 + { 2337 + "Id": 13, 2338 + "Text": "Country", 2339 + "Type": "4", 2340 + "Alias": "Country", 2341 + "Choices": [ 2342 + { 2343 + "Id": 2, 2344 + "QuestionId": 13, 2345 + "Text": "Select One", 2346 + "Value": "", 2347 + "Order": 1 2348 + }, 2349 + { 2350 + "Id": 10, 2351 + "QuestionId": 13, 2352 + "Text": "Afghanistan", 2353 + "Value": "Afghanistan", 2354 + "Order": 3 2355 + }, 2356 + { 2357 + "Id": 18, 2358 + "QuestionId": 13, 2359 + "Text": "Albania", 2360 + "Value": "Albania", 2361 + "Order": 4 2362 + }, 2363 + { 2364 + "Id": 26, 2365 + "QuestionId": 13, 2366 + "Text": "Algeria", 2367 + "Value": "Algeria", 2368 + "Order": 5 2369 + }, 2370 + { 2371 + "Id": 34, 2372 + "QuestionId": 13, 2373 + "Text": "Andorra", 2374 + "Value": "Andorra", 2375 + "Order": 6 2376 + }, 2377 + { 2378 + "Id": 42, 2379 + "QuestionId": 13, 2380 + "Text": "Angola", 2381 + "Value": "Angola", 2382 + "Order": 7 2383 + }, 2384 + { 2385 + "Id": 50, 2386 + "QuestionId": 13, 2387 + "Text": "Antigua and Barbuda", 2388 + "Value": "Antigua and Barbuda", 2389 + "Order": 8 2390 + }, 2391 + { 2392 + "Id": 58, 2393 + "QuestionId": 13, 2394 + "Text": "Argentina", 2395 + "Value": "Argentina", 2396 + "Order": 9 2397 + }, 2398 + { 2399 + "Id": 66, 2400 + "QuestionId": 13, 2401 + "Text": "Armenia", 2402 + "Value": "Armenia", 2403 + "Order": 10 2404 + }, 2405 + { 2406 + "Id": 74, 2407 + "QuestionId": 13, 2408 + "Text": "Australia", 2409 + "Value": "Australia", 2410 + "Order": 11 2411 + }, 2412 + { 2413 + "Id": 82, 2414 + "QuestionId": 13, 2415 + "Text": "Austria", 2416 + "Value": "Austria", 2417 + "Order": 12 2418 + }, 2419 + { 2420 + "Id": 90, 2421 + "QuestionId": 13, 2422 + "Text": "Azerbaijan", 2423 + "Value": "Azerbaijan", 2424 + "Order": 13 2425 + }, 2426 + { 2427 + "Id": 98, 2428 + "QuestionId": 13, 2429 + "Text": "Bahamas", 2430 + "Value": "Bahamas", 2431 + "Order": 14 2432 + }, 2433 + { 2434 + "Id": 106, 2435 + "QuestionId": 13, 2436 + "Text": "Bahrain", 2437 + "Value": "Bahrain", 2438 + "Order": 15 2439 + }, 2440 + { 2441 + "Id": 114, 2442 + "QuestionId": 13, 2443 + "Text": "Bangladesh", 2444 + "Value": "Bangladesh", 2445 + "Order": 16 2446 + }, 2447 + { 2448 + "Id": 122, 2449 + "QuestionId": 13, 2450 + "Text": "Barbados", 2451 + "Value": "Barbados", 2452 + "Order": 17 2453 + }, 2454 + { 2455 + "Id": 130, 2456 + "QuestionId": 13, 2457 + "Text": "Belarus", 2458 + "Value": "Belarus", 2459 + "Order": 18 2460 + }, 2461 + { 2462 + "Id": 138, 2463 + "QuestionId": 13, 2464 + "Text": "Belgium", 2465 + "Value": "Belgium", 2466 + "Order": 19 2467 + }, 2468 + { 2469 + "Id": 146, 2470 + "QuestionId": 13, 2471 + "Text": "Belize", 2472 + "Value": "Belize", 2473 + "Order": 20 2474 + }, 2475 + { 2476 + "Id": 154, 2477 + "QuestionId": 13, 2478 + "Text": "Benin", 2479 + "Value": "Benin", 2480 + "Order": 21 2481 + }, 2482 + { 2483 + "Id": 162, 2484 + "QuestionId": 13, 2485 + "Text": "Bhutan", 2486 + "Value": "Bhutan", 2487 + "Order": 22 2488 + }, 2489 + { 2490 + "Id": 170, 2491 + "QuestionId": 13, 2492 + "Text": "Bolivia", 2493 + "Value": "Bolivia", 2494 + "Order": 23 2495 + }, 2496 + { 2497 + "Id": 178, 2498 + "QuestionId": 13, 2499 + "Text": "Bosnia and Herzegovina", 2500 + "Value": "Bosnia and Herzegovina", 2501 + "Order": 24 2502 + }, 2503 + { 2504 + "Id": 186, 2505 + "QuestionId": 13, 2506 + "Text": "Botswana", 2507 + "Value": "Botswana", 2508 + "Order": 25 2509 + }, 2510 + { 2511 + "Id": 194, 2512 + "QuestionId": 13, 2513 + "Text": "Brazil", 2514 + "Value": "Brazil", 2515 + "Order": 26 2516 + }, 2517 + { 2518 + "Id": 202, 2519 + "QuestionId": 13, 2520 + "Text": "Brunei", 2521 + "Value": "Brunei", 2522 + "Order": 27 2523 + }, 2524 + { 2525 + "Id": 210, 2526 + "QuestionId": 13, 2527 + "Text": "Bulgaria", 2528 + "Value": "Bulgaria", 2529 + "Order": 28 2530 + }, 2531 + { 2532 + "Id": 218, 2533 + "QuestionId": 13, 2534 + "Text": "Burkina Faso", 2535 + "Value": "Burkina Faso", 2536 + "Order": 29 2537 + }, 2538 + { 2539 + "Id": 226, 2540 + "QuestionId": 13, 2541 + "Text": "Burundi", 2542 + "Value": "Burundi", 2543 + "Order": 30 2544 + }, 2545 + { 2546 + "Id": 234, 2547 + "QuestionId": 13, 2548 + "Text": "Cambodia", 2549 + "Value": "Cambodia", 2550 + "Order": 31 2551 + }, 2552 + { 2553 + "Id": 242, 2554 + "QuestionId": 13, 2555 + "Text": "Cameroon", 2556 + "Value": "Cameroon", 2557 + "Order": 32 2558 + }, 2559 + { 2560 + "Id": 250, 2561 + "QuestionId": 13, 2562 + "Text": "Canada", 2563 + "Value": "Canada", 2564 + "Order": 33 2565 + }, 2566 + { 2567 + "Id": 258, 2568 + "QuestionId": 13, 2569 + "Text": "Cape Verde", 2570 + "Value": "Cape Verde", 2571 + "Order": 34 2572 + }, 2573 + { 2574 + "Id": 266, 2575 + "QuestionId": 13, 2576 + "Text": "Central African Republic", 2577 + "Value": "Central African Republic", 2578 + "Order": 35 2579 + }, 2580 + { 2581 + "Id": 274, 2582 + "QuestionId": 13, 2583 + "Text": "Chad", 2584 + "Value": "Chad", 2585 + "Order": 36 2586 + }, 2587 + { 2588 + "Id": 282, 2589 + "QuestionId": 13, 2590 + "Text": "Chile", 2591 + "Value": "Chile", 2592 + "Order": 37 2593 + }, 2594 + { 2595 + "Id": 290, 2596 + "QuestionId": 13, 2597 + "Text": "China", 2598 + "Value": "China", 2599 + "Order": 38 2600 + }, 2601 + { 2602 + "Id": 298, 2603 + "QuestionId": 13, 2604 + "Text": "Colombia", 2605 + "Value": "Colombia", 2606 + "Order": 39 2607 + }, 2608 + { 2609 + "Id": 306, 2610 + "QuestionId": 13, 2611 + "Text": "Comoros", 2612 + "Value": "Comoros", 2613 + "Order": 40 2614 + }, 2615 + { 2616 + "Id": 314, 2617 + "QuestionId": 13, 2618 + "Text": "Congo (Brazzaville)", 2619 + "Value": "Congo (Brazzaville)", 2620 + "Order": 41 2621 + }, 2622 + { 2623 + "Id": 322, 2624 + "QuestionId": 13, 2625 + "Text": "Congo", 2626 + "Value": "Congo", 2627 + "Order": 42 2628 + }, 2629 + { 2630 + "Id": 330, 2631 + "QuestionId": 13, 2632 + "Text": "Costa Rica", 2633 + "Value": "Costa Rica", 2634 + "Order": 43 2635 + }, 2636 + { 2637 + "Id": 338, 2638 + "QuestionId": 13, 2639 + "Text": "Cote d'Ivoire", 2640 + "Value": "Cote d'Ivoire", 2641 + "Order": 44 2642 + }, 2643 + { 2644 + "Id": 346, 2645 + "QuestionId": 13, 2646 + "Text": "Croatia", 2647 + "Value": "Croatia", 2648 + "Order": 45 2649 + }, 2650 + { 2651 + "Id": 354, 2652 + "QuestionId": 13, 2653 + "Text": "Cuba", 2654 + "Value": "Cuba", 2655 + "Order": 46 2656 + }, 2657 + { 2658 + "Id": 362, 2659 + "QuestionId": 13, 2660 + "Text": "Cyprus", 2661 + "Value": "Cyprus", 2662 + "Order": 47 2663 + }, 2664 + { 2665 + "Id": 370, 2666 + "QuestionId": 13, 2667 + "Text": "Czech Republic", 2668 + "Value": "Czech Republic", 2669 + "Order": 48 2670 + }, 2671 + { 2672 + "Id": 378, 2673 + "QuestionId": 13, 2674 + "Text": "Denmark", 2675 + "Value": "Denmark", 2676 + "Order": 49 2677 + }, 2678 + { 2679 + "Id": 386, 2680 + "QuestionId": 13, 2681 + "Text": "Djibouti", 2682 + "Value": "Djibouti", 2683 + "Order": 50 2684 + }, 2685 + { 2686 + "Id": 394, 2687 + "QuestionId": 13, 2688 + "Text": "Dominica", 2689 + "Value": "Dominica", 2690 + "Order": 51 2691 + }, 2692 + { 2693 + "Id": 402, 2694 + "QuestionId": 13, 2695 + "Text": "Dominican Republic", 2696 + "Value": "Dominican Republic", 2697 + "Order": 52 2698 + }, 2699 + { 2700 + "Id": 410, 2701 + "QuestionId": 13, 2702 + "Text": "East Timor", 2703 + "Value": "East Timor", 2704 + "Order": 53 2705 + }, 2706 + { 2707 + "Id": 418, 2708 + "QuestionId": 13, 2709 + "Text": "Ecuador", 2710 + "Value": "Ecuador", 2711 + "Order": 54 2712 + }, 2713 + { 2714 + "Id": 426, 2715 + "QuestionId": 13, 2716 + "Text": "Egypt", 2717 + "Value": "Egypt", 2718 + "Order": 55 2719 + }, 2720 + { 2721 + "Id": 434, 2722 + "QuestionId": 13, 2723 + "Text": "El Salvador", 2724 + "Value": "El Salvador", 2725 + "Order": 56 2726 + }, 2727 + { 2728 + "Id": 442, 2729 + "QuestionId": 13, 2730 + "Text": "Equatorial Guinea", 2731 + "Value": "Equatorial Guinea", 2732 + "Order": 57 2733 + }, 2734 + { 2735 + "Id": 450, 2736 + "QuestionId": 13, 2737 + "Text": "Eritrea", 2738 + "Value": "Eritrea", 2739 + "Order": 58 2740 + }, 2741 + { 2742 + "Id": 458, 2743 + "QuestionId": 13, 2744 + "Text": "Estonia", 2745 + "Value": "Estonia", 2746 + "Order": 59 2747 + }, 2748 + { 2749 + "Id": 466, 2750 + "QuestionId": 13, 2751 + "Text": "Ethiopia", 2752 + "Value": "Ethiopia", 2753 + "Order": 60 2754 + }, 2755 + { 2756 + "Id": 474, 2757 + "QuestionId": 13, 2758 + "Text": "Fiji", 2759 + "Value": "Fiji", 2760 + "Order": 61 2761 + }, 2762 + { 2763 + "Id": 482, 2764 + "QuestionId": 13, 2765 + "Text": "Finland", 2766 + "Value": "Finland", 2767 + "Order": 62 2768 + }, 2769 + { 2770 + "Id": 490, 2771 + "QuestionId": 13, 2772 + "Text": "France", 2773 + "Value": "France", 2774 + "Order": 63 2775 + }, 2776 + { 2777 + "Id": 498, 2778 + "QuestionId": 13, 2779 + "Text": "Gabon", 2780 + "Value": "Gabon", 2781 + "Order": 64 2782 + }, 2783 + { 2784 + "Id": 506, 2785 + "QuestionId": 13, 2786 + "Text": "Gambia, The", 2787 + "Value": "Gambia, The", 2788 + "Order": 65 2789 + }, 2790 + { 2791 + "Id": 514, 2792 + "QuestionId": 13, 2793 + "Text": "Georgia", 2794 + "Value": "Georgia", 2795 + "Order": 66 2796 + }, 2797 + { 2798 + "Id": 522, 2799 + "QuestionId": 13, 2800 + "Text": "Germany", 2801 + "Value": "Germany", 2802 + "Order": 67 2803 + }, 2804 + { 2805 + "Id": 530, 2806 + "QuestionId": 13, 2807 + "Text": "Ghana", 2808 + "Value": "Ghana", 2809 + "Order": 68 2810 + }, 2811 + { 2812 + "Id": 538, 2813 + "QuestionId": 13, 2814 + "Text": "Greece", 2815 + "Value": "Greece", 2816 + "Order": 69 2817 + }, 2818 + { 2819 + "Id": 546, 2820 + "QuestionId": 13, 2821 + "Text": "Grenada", 2822 + "Value": "Grenada", 2823 + "Order": 70 2824 + }, 2825 + { 2826 + "Id": 554, 2827 + "QuestionId": 13, 2828 + "Text": "Guatemala", 2829 + "Value": "Guatemala", 2830 + "Order": 71 2831 + }, 2832 + { 2833 + "Id": 562, 2834 + "QuestionId": 13, 2835 + "Text": "Guinea", 2836 + "Value": "Guinea", 2837 + "Order": 72 2838 + }, 2839 + { 2840 + "Id": 570, 2841 + "QuestionId": 13, 2842 + "Text": "Guinea-Bissau", 2843 + "Value": "Guinea-Bissau", 2844 + "Order": 73 2845 + }, 2846 + { 2847 + "Id": 578, 2848 + "QuestionId": 13, 2849 + "Text": "Guyana", 2850 + "Value": "Guyana", 2851 + "Order": 74 2852 + }, 2853 + { 2854 + "Id": 586, 2855 + "QuestionId": 13, 2856 + "Text": "Haiti", 2857 + "Value": "Haiti", 2858 + "Order": 75 2859 + }, 2860 + { 2861 + "Id": 594, 2862 + "QuestionId": 13, 2863 + "Text": "Honduras", 2864 + "Value": "Honduras", 2865 + "Order": 76 2866 + }, 2867 + { 2868 + "Id": 602, 2869 + "QuestionId": 13, 2870 + "Text": "Hungary", 2871 + "Value": "Hungary", 2872 + "Order": 77 2873 + }, 2874 + { 2875 + "Id": 610, 2876 + "QuestionId": 13, 2877 + "Text": "Iceland", 2878 + "Value": "Iceland", 2879 + "Order": 78 2880 + }, 2881 + { 2882 + "Id": 618, 2883 + "QuestionId": 13, 2884 + "Text": "India", 2885 + "Value": "India", 2886 + "Order": 79 2887 + }, 2888 + { 2889 + "Id": 626, 2890 + "QuestionId": 13, 2891 + "Text": "Indonesia", 2892 + "Value": "Indonesia", 2893 + "Order": 80 2894 + }, 2895 + { 2896 + "Id": 634, 2897 + "QuestionId": 13, 2898 + "Text": "Iran", 2899 + "Value": "Iran", 2900 + "Order": 81 2901 + }, 2902 + { 2903 + "Id": 642, 2904 + "QuestionId": 13, 2905 + "Text": "Iraq", 2906 + "Value": "Iraq", 2907 + "Order": 82 2908 + }, 2909 + { 2910 + "Id": 650, 2911 + "QuestionId": 13, 2912 + "Text": "Ireland", 2913 + "Value": "Ireland", 2914 + "Order": 83 2915 + }, 2916 + { 2917 + "Id": 658, 2918 + "QuestionId": 13, 2919 + "Text": "Israel", 2920 + "Value": "Israel", 2921 + "Order": 84 2922 + }, 2923 + { 2924 + "Id": 666, 2925 + "QuestionId": 13, 2926 + "Text": "Italy", 2927 + "Value": "Italy", 2928 + "Order": 85 2929 + }, 2930 + { 2931 + "Id": 674, 2932 + "QuestionId": 13, 2933 + "Text": "Jamaica", 2934 + "Value": "Jamaica", 2935 + "Order": 86 2936 + }, 2937 + { 2938 + "Id": 682, 2939 + "QuestionId": 13, 2940 + "Text": "Japan", 2941 + "Value": "Japan", 2942 + "Order": 87 2943 + }, 2944 + { 2945 + "Id": 690, 2946 + "QuestionId": 13, 2947 + "Text": "Jordan", 2948 + "Value": "Jordan", 2949 + "Order": 88 2950 + }, 2951 + { 2952 + "Id": 698, 2953 + "QuestionId": 13, 2954 + "Text": "Kazakhstan", 2955 + "Value": "Kazakhstan", 2956 + "Order": 89 2957 + }, 2958 + { 2959 + "Id": 706, 2960 + "QuestionId": 13, 2961 + "Text": "Kenya", 2962 + "Value": "Kenya", 2963 + "Order": 90 2964 + }, 2965 + { 2966 + "Id": 714, 2967 + "QuestionId": 13, 2968 + "Text": "Kiribati", 2969 + "Value": "Kiribati", 2970 + "Order": 91 2971 + }, 2972 + { 2973 + "Id": 722, 2974 + "QuestionId": 13, 2975 + "Text": "Korea, North", 2976 + "Value": "Korea, North", 2977 + "Order": 92 2978 + }, 2979 + { 2980 + "Id": 730, 2981 + "QuestionId": 13, 2982 + "Text": "Korea, South", 2983 + "Value": "Korea, South", 2984 + "Order": 93 2985 + }, 2986 + { 2987 + "Id": 738, 2988 + "QuestionId": 13, 2989 + "Text": "Kuwait", 2990 + "Value": "Kuwait", 2991 + "Order": 94 2992 + }, 2993 + { 2994 + "Id": 746, 2995 + "QuestionId": 13, 2996 + "Text": "Kyrgyzstan", 2997 + "Value": "Kyrgyzstan", 2998 + "Order": 95 2999 + }, 3000 + { 3001 + "Id": 754, 3002 + "QuestionId": 13, 3003 + "Text": "Laos", 3004 + "Value": "Laos", 3005 + "Order": 96 3006 + }, 3007 + { 3008 + "Id": 762, 3009 + "QuestionId": 13, 3010 + "Text": "Latvia", 3011 + "Value": "Latvia", 3012 + "Order": 97 3013 + }, 3014 + { 3015 + "Id": 770, 3016 + "QuestionId": 13, 3017 + "Text": "Lebanon", 3018 + "Value": "Lebanon", 3019 + "Order": 98 3020 + }, 3021 + { 3022 + "Id": 778, 3023 + "QuestionId": 13, 3024 + "Text": "Lesotho", 3025 + "Value": "Lesotho", 3026 + "Order": 99 3027 + }, 3028 + { 3029 + "Id": 786, 3030 + "QuestionId": 13, 3031 + "Text": "Liberia", 3032 + "Value": "Liberia", 3033 + "Order": 100 3034 + }, 3035 + { 3036 + "Id": 794, 3037 + "QuestionId": 13, 3038 + "Text": "Libya", 3039 + "Value": "Libya", 3040 + "Order": 101 3041 + }, 3042 + { 3043 + "Id": 802, 3044 + "QuestionId": 13, 3045 + "Text": "Liechtenstein", 3046 + "Value": "Liechtenstein", 3047 + "Order": 102 3048 + }, 3049 + { 3050 + "Id": 810, 3051 + "QuestionId": 13, 3052 + "Text": "Lithuania", 3053 + "Value": "Lithuania", 3054 + "Order": 103 3055 + }, 3056 + { 3057 + "Id": 818, 3058 + "QuestionId": 13, 3059 + "Text": "Luxembourg", 3060 + "Value": "Luxembourg", 3061 + "Order": 104 3062 + }, 3063 + { 3064 + "Id": 826, 3065 + "QuestionId": 13, 3066 + "Text": "Macedonia", 3067 + "Value": "Macedonia", 3068 + "Order": 105 3069 + }, 3070 + { 3071 + "Id": 834, 3072 + "QuestionId": 13, 3073 + "Text": "Madagascar", 3074 + "Value": "Madagascar", 3075 + "Order": 106 3076 + }, 3077 + { 3078 + "Id": 842, 3079 + "QuestionId": 13, 3080 + "Text": "Malawi", 3081 + "Value": "Malawi", 3082 + "Order": 107 3083 + }, 3084 + { 3085 + "Id": 850, 3086 + "QuestionId": 13, 3087 + "Text": "Malaysia", 3088 + "Value": "Malaysia", 3089 + "Order": 108 3090 + }, 3091 + { 3092 + "Id": 858, 3093 + "QuestionId": 13, 3094 + "Text": "Maldives", 3095 + "Value": "Maldives", 3096 + "Order": 109 3097 + }, 3098 + { 3099 + "Id": 866, 3100 + "QuestionId": 13, 3101 + "Text": "Mali", 3102 + "Value": "Mali", 3103 + "Order": 110 3104 + }, 3105 + { 3106 + "Id": 874, 3107 + "QuestionId": 13, 3108 + "Text": "Malta", 3109 + "Value": "Malta", 3110 + "Order": 111 3111 + }, 3112 + { 3113 + "Id": 882, 3114 + "QuestionId": 13, 3115 + "Text": "Marshall Islands", 3116 + "Value": "Marshall Islands", 3117 + "Order": 112 3118 + }, 3119 + { 3120 + "Id": 890, 3121 + "QuestionId": 13, 3122 + "Text": "Mauritania", 3123 + "Value": "Mauritania", 3124 + "Order": 113 3125 + }, 3126 + { 3127 + "Id": 898, 3128 + "QuestionId": 13, 3129 + "Text": "Mauritius", 3130 + "Value": "Mauritius", 3131 + "Order": 114 3132 + }, 3133 + { 3134 + "Id": 906, 3135 + "QuestionId": 13, 3136 + "Text": "Mexico", 3137 + "Value": "Mexico", 3138 + "Order": 115 3139 + }, 3140 + { 3141 + "Id": 914, 3142 + "QuestionId": 13, 3143 + "Text": "Micronesia", 3144 + "Value": "Micronesia", 3145 + "Order": 116 3146 + }, 3147 + { 3148 + "Id": 922, 3149 + "QuestionId": 13, 3150 + "Text": "Moldova", 3151 + "Value": "Moldova", 3152 + "Order": 117 3153 + }, 3154 + { 3155 + "Id": 930, 3156 + "QuestionId": 13, 3157 + "Text": "Monaco", 3158 + "Value": "Monaco", 3159 + "Order": 118 3160 + }, 3161 + { 3162 + "Id": 938, 3163 + "QuestionId": 13, 3164 + "Text": "Mongolia", 3165 + "Value": "Mongolia", 3166 + "Order": 119 3167 + }, 3168 + { 3169 + "Id": 946, 3170 + "QuestionId": 13, 3171 + "Text": "Morocco", 3172 + "Value": "Morocco", 3173 + "Order": 120 3174 + }, 3175 + { 3176 + "Id": 954, 3177 + "QuestionId": 13, 3178 + "Text": "Mozambique", 3179 + "Value": "Mozambique", 3180 + "Order": 121 3181 + }, 3182 + { 3183 + "Id": 962, 3184 + "QuestionId": 13, 3185 + "Text": "Myanmar", 3186 + "Value": "Myanmar", 3187 + "Order": 122 3188 + }, 3189 + { 3190 + "Id": 970, 3191 + "QuestionId": 13, 3192 + "Text": "Namibia", 3193 + "Value": "Namibia", 3194 + "Order": 123 3195 + }, 3196 + { 3197 + "Id": 978, 3198 + "QuestionId": 13, 3199 + "Text": "Nauru", 3200 + "Value": "Nauru", 3201 + "Order": 124 3202 + }, 3203 + { 3204 + "Id": 986, 3205 + "QuestionId": 13, 3206 + "Text": "Nepa", 3207 + "Value": "Nepa", 3208 + "Order": 125 3209 + }, 3210 + { 3211 + "Id": 994, 3212 + "QuestionId": 13, 3213 + "Text": "Netherlands", 3214 + "Value": "Netherlands", 3215 + "Order": 126 3216 + }, 3217 + { 3218 + "Id": 1002, 3219 + "QuestionId": 13, 3220 + "Text": "New Zealand", 3221 + "Value": "New Zealand", 3222 + "Order": 127 3223 + }, 3224 + { 3225 + "Id": 1010, 3226 + "QuestionId": 13, 3227 + "Text": "Nicaragua", 3228 + "Value": "Nicaragua", 3229 + "Order": 128 3230 + }, 3231 + { 3232 + "Id": 1018, 3233 + "QuestionId": 13, 3234 + "Text": "Niger", 3235 + "Value": "Niger", 3236 + "Order": 129 3237 + }, 3238 + { 3239 + "Id": 1026, 3240 + "QuestionId": 13, 3241 + "Text": "Nigeria", 3242 + "Value": "Nigeria", 3243 + "Order": 130 3244 + }, 3245 + { 3246 + "Id": 1034, 3247 + "QuestionId": 13, 3248 + "Text": "Norway", 3249 + "Value": "Norway", 3250 + "Order": 131 3251 + }, 3252 + { 3253 + "Id": 1042, 3254 + "QuestionId": 13, 3255 + "Text": "Oman", 3256 + "Value": "Oman", 3257 + "Order": 132 3258 + }, 3259 + { 3260 + "Id": 1050, 3261 + "QuestionId": 13, 3262 + "Text": "Pakistan", 3263 + "Value": "Pakistan", 3264 + "Order": 133 3265 + }, 3266 + { 3267 + "Id": 1058, 3268 + "QuestionId": 13, 3269 + "Text": "Palau", 3270 + "Value": "Palau", 3271 + "Order": 134 3272 + }, 3273 + { 3274 + "Id": 1066, 3275 + "QuestionId": 13, 3276 + "Text": "Panama", 3277 + "Value": "Panama", 3278 + "Order": 135 3279 + }, 3280 + { 3281 + "Id": 1074, 3282 + "QuestionId": 13, 3283 + "Text": "Papua New Guinea", 3284 + "Value": "Papua New Guinea", 3285 + "Order": 136 3286 + }, 3287 + { 3288 + "Id": 1082, 3289 + "QuestionId": 13, 3290 + "Text": "Paraguay", 3291 + "Value": "Paraguay", 3292 + "Order": 137 3293 + }, 3294 + { 3295 + "Id": 1090, 3296 + "QuestionId": 13, 3297 + "Text": "Peru", 3298 + "Value": "Peru", 3299 + "Order": 138 3300 + }, 3301 + { 3302 + "Id": 1098, 3303 + "QuestionId": 13, 3304 + "Text": "Philippines", 3305 + "Value": "Philippines", 3306 + "Order": 139 3307 + }, 3308 + { 3309 + "Id": 1106, 3310 + "QuestionId": 13, 3311 + "Text": "Poland", 3312 + "Value": "Poland", 3313 + "Order": 140 3314 + }, 3315 + { 3316 + "Id": 1114, 3317 + "QuestionId": 13, 3318 + "Text": "Portugal", 3319 + "Value": "Portugal", 3320 + "Order": 141 3321 + }, 3322 + { 3323 + "Id": 1122, 3324 + "QuestionId": 13, 3325 + "Text": "Qatar", 3326 + "Value": "Qatar", 3327 + "Order": 142 3328 + }, 3329 + { 3330 + "Id": 1130, 3331 + "QuestionId": 13, 3332 + "Text": "Romania", 3333 + "Value": "Romania", 3334 + "Order": 143 3335 + }, 3336 + { 3337 + "Id": 1138, 3338 + "QuestionId": 13, 3339 + "Text": "Russia", 3340 + "Value": "Russia", 3341 + "Order": 144 3342 + }, 3343 + { 3344 + "Id": 1146, 3345 + "QuestionId": 13, 3346 + "Text": "Rwanda", 3347 + "Value": "Rwanda", 3348 + "Order": 145 3349 + }, 3350 + { 3351 + "Id": 1154, 3352 + "QuestionId": 13, 3353 + "Text": "Saint Kitts and Nevis", 3354 + "Value": "Saint Kitts and Nevis", 3355 + "Order": 146 3356 + }, 3357 + { 3358 + "Id": 1162, 3359 + "QuestionId": 13, 3360 + "Text": "Saint Lucia", 3361 + "Value": "Saint Lucia", 3362 + "Order": 147 3363 + }, 3364 + { 3365 + "Id": 1170, 3366 + "QuestionId": 13, 3367 + "Text": "Saint Vincent", 3368 + "Value": "Saint Vincent", 3369 + "Order": 148 3370 + }, 3371 + { 3372 + "Id": 1178, 3373 + "QuestionId": 13, 3374 + "Text": "Samoa", 3375 + "Value": "Samoa", 3376 + "Order": 149 3377 + }, 3378 + { 3379 + "Id": 1186, 3380 + "QuestionId": 13, 3381 + "Text": "San Marino", 3382 + "Value": "San Marino", 3383 + "Order": 150 3384 + }, 3385 + { 3386 + "Id": 1194, 3387 + "QuestionId": 13, 3388 + "Text": "Sao Tome and Principe", 3389 + "Value": "Sao Tome and Principe", 3390 + "Order": 151 3391 + }, 3392 + { 3393 + "Id": 1202, 3394 + "QuestionId": 13, 3395 + "Text": "Saudi Arabia", 3396 + "Value": "Saudi Arabia", 3397 + "Order": 152 3398 + }, 3399 + { 3400 + "Id": 1210, 3401 + "QuestionId": 13, 3402 + "Text": "Senegal", 3403 + "Value": "Senegal", 3404 + "Order": 153 3405 + }, 3406 + { 3407 + "Id": 1218, 3408 + "QuestionId": 13, 3409 + "Text": "Serbia and Montenegro", 3410 + "Value": "Serbia and Montenegro", 3411 + "Order": 154 3412 + }, 3413 + { 3414 + "Id": 1226, 3415 + "QuestionId": 13, 3416 + "Text": "Seychelles", 3417 + "Value": "Seychelles", 3418 + "Order": 155 3419 + }, 3420 + { 3421 + "Id": 1234, 3422 + "QuestionId": 13, 3423 + "Text": "Sierra Leone", 3424 + "Value": "Sierra Leone", 3425 + "Order": 156 3426 + }, 3427 + { 3428 + "Id": 1242, 3429 + "QuestionId": 13, 3430 + "Text": "Singapore", 3431 + "Value": "Singapore", 3432 + "Order": 157 3433 + }, 3434 + { 3435 + "Id": 1250, 3436 + "QuestionId": 13, 3437 + "Text": "Slovakia", 3438 + "Value": "Slovakia", 3439 + "Order": 158 3440 + }, 3441 + { 3442 + "Id": 1258, 3443 + "QuestionId": 13, 3444 + "Text": "Slovenia", 3445 + "Value": "Slovenia", 3446 + "Order": 159 3447 + }, 3448 + { 3449 + "Id": 1266, 3450 + "QuestionId": 13, 3451 + "Text": "Solomon Islands", 3452 + "Value": "Solomon Islands", 3453 + "Order": 160 3454 + }, 3455 + { 3456 + "Id": 1274, 3457 + "QuestionId": 13, 3458 + "Text": "Somalia", 3459 + "Value": "Somalia", 3460 + "Order": 161 3461 + }, 3462 + { 3463 + "Id": 1282, 3464 + "QuestionId": 13, 3465 + "Text": "South Africa", 3466 + "Value": "South Africa", 3467 + "Order": 162 3468 + }, 3469 + { 3470 + "Id": 1290, 3471 + "QuestionId": 13, 3472 + "Text": "Spain", 3473 + "Value": "Spain", 3474 + "Order": 163 3475 + }, 3476 + { 3477 + "Id": 1298, 3478 + "QuestionId": 13, 3479 + "Text": "Sri Lanka", 3480 + "Value": "Sri Lanka", 3481 + "Order": 164 3482 + }, 3483 + { 3484 + "Id": 1306, 3485 + "QuestionId": 13, 3486 + "Text": "Sudan", 3487 + "Value": "Sudan", 3488 + "Order": 165 3489 + }, 3490 + { 3491 + "Id": 1314, 3492 + "QuestionId": 13, 3493 + "Text": "Suriname", 3494 + "Value": "Suriname", 3495 + "Order": 166 3496 + }, 3497 + { 3498 + "Id": 1322, 3499 + "QuestionId": 13, 3500 + "Text": "Swaziland", 3501 + "Value": "Swaziland", 3502 + "Order": 167 3503 + }, 3504 + { 3505 + "Id": 1330, 3506 + "QuestionId": 13, 3507 + "Text": "Sweden", 3508 + "Value": "Sweden", 3509 + "Order": 168 3510 + }, 3511 + { 3512 + "Id": 1338, 3513 + "QuestionId": 13, 3514 + "Text": "Switzerland", 3515 + "Value": "Switzerland", 3516 + "Order": 169 3517 + }, 3518 + { 3519 + "Id": 1346, 3520 + "QuestionId": 13, 3521 + "Text": "Syria", 3522 + "Value": "Syria", 3523 + "Order": 170 3524 + }, 3525 + { 3526 + "Id": 1354, 3527 + "QuestionId": 13, 3528 + "Text": "Taiwan", 3529 + "Value": "Taiwan", 3530 + "Order": 171 3531 + }, 3532 + { 3533 + "Id": 1362, 3534 + "QuestionId": 13, 3535 + "Text": "Tajikistan", 3536 + "Value": "Tajikistan", 3537 + "Order": 172 3538 + }, 3539 + { 3540 + "Id": 1370, 3541 + "QuestionId": 13, 3542 + "Text": "Tanzania", 3543 + "Value": "Tanzania", 3544 + "Order": 173 3545 + }, 3546 + { 3547 + "Id": 1378, 3548 + "QuestionId": 13, 3549 + "Text": "Thailand", 3550 + "Value": "Thailand", 3551 + "Order": 174 3552 + }, 3553 + { 3554 + "Id": 1386, 3555 + "QuestionId": 13, 3556 + "Text": "Togo", 3557 + "Value": "Togo", 3558 + "Order": 175 3559 + }, 3560 + { 3561 + "Id": 1394, 3562 + "QuestionId": 13, 3563 + "Text": "Tonga", 3564 + "Value": "Tonga", 3565 + "Order": 176 3566 + }, 3567 + { 3568 + "Id": 1402, 3569 + "QuestionId": 13, 3570 + "Text": "Trinidad and Tobago", 3571 + "Value": "Trinidad and Tobago", 3572 + "Order": 177 3573 + }, 3574 + { 3575 + "Id": 1410, 3576 + "QuestionId": 13, 3577 + "Text": "Tunisia", 3578 + "Value": "Tunisia", 3579 + "Order": 178 3580 + }, 3581 + { 3582 + "Id": 1418, 3583 + "QuestionId": 13, 3584 + "Text": "Turkey", 3585 + "Value": "Turkey", 3586 + "Order": 179 3587 + }, 3588 + { 3589 + "Id": 1426, 3590 + "QuestionId": 13, 3591 + "Text": "Turkmenistan", 3592 + "Value": "Turkmenistan", 3593 + "Order": 180 3594 + }, 3595 + { 3596 + "Id": 1434, 3597 + "QuestionId": 13, 3598 + "Text": "Tuvalu", 3599 + "Value": "Tuvalu", 3600 + "Order": 181 3601 + }, 3602 + { 3603 + "Id": 1442, 3604 + "QuestionId": 13, 3605 + "Text": "Uganda", 3606 + "Value": "Uganda", 3607 + "Order": 182 3608 + }, 3609 + { 3610 + "Id": 1450, 3611 + "QuestionId": 13, 3612 + "Text": "Ukraine", 3613 + "Value": "Ukraine", 3614 + "Order": 183 3615 + }, 3616 + { 3617 + "Id": 1458, 3618 + "QuestionId": 13, 3619 + "Text": "United Arab Emirates", 3620 + "Value": "United Arab Emirates", 3621 + "Order": 184 3622 + }, 3623 + { 3624 + "Id": 1466, 3625 + "QuestionId": 13, 3626 + "Text": "United Kingdom", 3627 + "Value": "United Kingdom", 3628 + "Order": 185 3629 + }, 3630 + { 3631 + "Id": 1474, 3632 + "QuestionId": 13, 3633 + "Text": "United States", 3634 + "Value": "United States", 3635 + "Order": 2 3636 + }, 3637 + { 3638 + "Id": 1482, 3639 + "QuestionId": 13, 3640 + "Text": "Uruguay", 3641 + "Value": "Uruguay", 3642 + "Order": 186 3643 + }, 3644 + { 3645 + "Id": 1490, 3646 + "QuestionId": 13, 3647 + "Text": "Uzbekistan", 3648 + "Value": "Uzbekistan", 3649 + "Order": 187 3650 + }, 3651 + { 3652 + "Id": 1498, 3653 + "QuestionId": 13, 3654 + "Text": "Vanuatu", 3655 + "Value": "Vanuatu", 3656 + "Order": 188 3657 + }, 3658 + { 3659 + "Id": 1506, 3660 + "QuestionId": 13, 3661 + "Text": "Vatican City", 3662 + "Value": "Vatican City", 3663 + "Order": 189 3664 + }, 3665 + { 3666 + "Id": 1514, 3667 + "QuestionId": 13, 3668 + "Text": "Venezuela", 3669 + "Value": "Venezuela", 3670 + "Order": 190 3671 + }, 3672 + { 3673 + "Id": 1522, 3674 + "QuestionId": 13, 3675 + "Text": "Vietnam", 3676 + "Value": "Vietnam", 3677 + "Order": 191 3678 + }, 3679 + { 3680 + "Id": 1530, 3681 + "QuestionId": 13, 3682 + "Text": "Yemen", 3683 + "Value": "Yemen", 3684 + "Order": 192 3685 + }, 3686 + { 3687 + "Id": 1538, 3688 + "QuestionId": 13, 3689 + "Text": "Zambia", 3690 + "Value": "Zambia", 3691 + "Order": 193 3692 + }, 3693 + { 3694 + "Id": 1546, 3695 + "QuestionId": 13, 3696 + "Text": "Zimbabwe", 3697 + "Value": "Zimbabwe", 3698 + "Order": 194 3699 + }, 3700 + { 3701 + "Id": 2186, 3702 + "QuestionId": 13, 3703 + "Text": "British Columbia", 3704 + "Value": "British Columbia", 3705 + "Order": 195 3706 + } 3707 + ] 3708 + }, 3709 + { 3710 + "Id": 14, 3711 + "Text": "Phone", 3712 + "Type": "0", 3713 + "Alias": "Phone" 3714 + }, 3715 + { 3716 + "Id": 15, 3717 + "Text": "Fax", 3718 + "Type": "0", 3719 + "Alias": "Fax" 3720 + }, 3721 + { 3722 + "Id": 18, 3723 + "Text": " NEW QUESTION", 3724 + "Type": "0", 3725 + "Alias": "" 3726 + }, 3727 + { 3728 + "Id": 26, 3729 + "Text": " NEW QUESTION", 3730 + "Type": "0", 3731 + "Alias": "" 3732 + }, 3733 + { 3734 + "Id": 34, 3735 + "Text": " NEW QUESTION", 3736 + "Type": "0", 3737 + "Alias": "" 3738 + }, 3739 + { 3740 + "Id": 42, 3741 + "Text": " NEW QUESTION", 3742 + "Type": "0", 3743 + "Alias": "" 3744 + }, 3745 + { 3746 + "Id": 50, 3747 + "Text": " NEW QUESTION", 3748 + "Type": "0", 3749 + "Alias": "" 3750 + }, 3751 + { 3752 + "Id": 58, 3753 + "Text": " NEW QUESTION", 3754 + "Type": "0", 3755 + "Alias": "" 3756 + }, 3757 + { 3758 + "Id": 66, 3759 + "Text": " NEW QUESTION", 3760 + "Type": "0", 3761 + "Alias": "" 3762 + }, 3763 + { 3764 + "Id": 74, 3765 + "Text": " NEW QUESTION", 3766 + "Type": "0", 3767 + "Alias": "" 3768 + }, 3769 + { 3770 + "Id": 82, 3771 + "Text": " NEW QUESTION", 3772 + "Type": "0", 3773 + "Alias": "" 3774 + }, 3775 + { 3776 + "Id": 90, 3777 + "Text": " NEW QUESTION", 3778 + "Type": "0", 3779 + "Alias": "" 3780 + } 3781 + ] 3782 +} 3783 +{{/code}} 1935 1935 1936 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1937 -((( 1938 -(% class="western" %) 1939 -**Response** 1940 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1941 -((( 1942 -(% class="western" %) 1943 -**Type** 1944 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1945 -((( 1946 -(% class="western" %) 1947 -**Description** 1948 -))) 1949 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1950 -((( 1951 -(% class="western" %) 1952 -QuestionId 1953 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1954 -((( 1955 -(% class="western" %) 1956 -Int 1957 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1958 -((( 1959 -(% class="western" %) 1960 -Returns ONEcount question id on successful creation of the question. 1961 -))) 3785 +\\ 1962 1962 3787 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 3788 +== (% 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 Question(%%) == 3789 + 3790 +---- 3791 + 3792 +{{panel bgColor="#D3D3D3" width="100%"}} 3793 + (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/questions/~{~{QUESTION ID}} 3794 +{{/panel}} 3795 + 3796 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 3797 + 3798 +---- 3799 + 3800 +(% 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}} 3801 + 3802 +==== Example ==== 3803 + 3804 +---- 3805 + 3806 +(% style="color: rgb(107,107,107);" %)Request 3807 + 3808 +{{code language="php" theme="RDark" title="Get specific Question Request"}} 3809 +<?php 3810 + 3811 +$curl = curl_init(); 3812 + 3813 +curl_setopt_array($curl, array( 3814 + CURLOPT_URL => 'https://api.onecount.net/v2/questions/{{QUESTION ID}}', 3815 + CURLOPT_RETURNTRANSFER => true, 3816 + CURLOPT_ENCODING => '', 3817 + CURLOPT_MAXREDIRS => 10, 3818 + CURLOPT_TIMEOUT => 0, 3819 + CURLOPT_FOLLOWLOCATION => true, 3820 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 3821 + CURLOPT_CUSTOMREQUEST => 'GET', 3822 + CURLOPT_HTTPHEADER => array( 3823 + 'Appkey: {{ONECOUNT API KEY}}' 3824 + ), 3825 +)); 3826 + 3827 +$response = curl_exec($curl); 3828 + 3829 +curl_close($curl); 3830 +echo $response; 3831 +{{/code}} 3832 + 1963 1963 \\ 1964 1964 1965 -(% class="western" %) 1966 -PUT method should be used to update question. 3835 +(% style="color: rgb(107,107,107);" %)Response 200 OK 1967 1967 1968 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1969 -((( 1970 -(% class="western" %) 1971 -**Request** 1972 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1973 -((( 1974 -(% class="western" %) 1975 -**Type** 1976 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1977 -((( 1978 -(% class="western" %) 1979 -**Description** 1980 -))) 1981 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1982 -((( 1983 -(% class="western" %) 1984 -Questions 1985 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1986 -((( 1987 -(% class="western" %) 1988 -Questions 1989 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1990 -((( 1991 -(% class="western" %) 1992 -This defines the question contents and responses. 1993 -))) 3837 +{{code language="yml" theme="RDark" title="Get specific question Response" collapse="true"}} 3838 +{ 3839 + "result": { 3840 + "success": "1", 3841 + "error": { 3842 + "code": "", 3843 + "message": "" 3844 + } 3845 + }, 3846 + "Questions": [ 3847 + { 3848 + "Id": 3, 3849 + "Text": "Password", 3850 + "Type": "2", 3851 + "Alias": "Password" 3852 + } 3853 + ] 3854 +} 3855 +{{/code}} 1994 1994 1995 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1996 -((( 1997 -(% class="western" %) 1998 -**Response** 1999 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2000 -((( 2001 -(% class="western" %) 2002 -**Type** 2003 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2004 -((( 2005 -(% class="western" %) 2006 -**Description** 2007 -))) 2008 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2009 -((( 2010 -(% class="western" %) 2011 -QuestionId 2012 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2013 -((( 2014 -(% class="western" %) 2015 -Int 2016 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2017 -((( 2018 -(% class="western" %) 2019 -Returns ONEcount question id on successful update of the question. 2020 -))) 3857 +\\ 2021 2021 2022 -(% class="western" %) 3859 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 3860 +== (% 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);" %)lookup question by text(%%) == 3861 + 3862 +---- 3863 + 3864 +{{panel bgColor="#D3D3D3" width="100%"}} 3865 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/questions/lookup?Text=COUNTRY 3866 +{{/panel}} 3867 + 3868 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 3869 + 3870 +---- 3871 + 3872 +(% 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}} 3873 + 3874 +=== (% style="color: rgb(33,33,33);" %)Query Params(%%) === 3875 + 3876 +---- 3877 + 3878 +(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Text COUNTRY(%%) 2023 2023 \\ 2024 2024 2025 -(% class="western" %) 2026 -Example: Get list of questions from api which has FirstName in text 3881 +==== Example ==== 2027 2027 2028 - {{{curl-X GET-H “Appkey: xxx” https://api.onecount.net/v2/questions/lookup?Text=FirstName}}}3883 +---- 2029 2029 2030 -(% class="western" %) 3885 +(% style="color: rgb(107,107,107);" %)Request 3886 + 3887 +{{code language="php" theme="RDark" title="Lookup question by text Request"}} 3888 +<?php 3889 + 3890 +$curl = curl_init(); 3891 + 3892 +curl_setopt_array($curl, array( 3893 + CURLOPT_URL => 'https://api.onecount.net/v2/questions/lookup?Text=COUNTRY', 3894 + CURLOPT_RETURNTRANSFER => true, 3895 + CURLOPT_ENCODING => '', 3896 + CURLOPT_MAXREDIRS => 10, 3897 + CURLOPT_TIMEOUT => 0, 3898 + CURLOPT_FOLLOWLOCATION => true, 3899 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 3900 + CURLOPT_CUSTOMREQUEST => 'GET', 3901 + CURLOPT_HTTPHEADER => array( 3902 + 'Appkey: {{ONECOUNT API KEY}}' 3903 + ), 3904 +)); 3905 + 3906 +$response = curl_exec($curl); 3907 + 3908 +curl_close($curl); 3909 +echo $response; 3910 +{{/code}} 3911 + 3912 +\\ 3913 + 3914 +(% style="color: rgb(107,107,107);" %)Response 200 OK 3915 + 3916 +{{code language="yml" theme="RDark" title="Lookup question by title Response" collapse="true"}} 2031 2031 { 3918 + "result": { 3919 + "success": "1", 3920 + "error": { 3921 + "code": "", 3922 + "message": "" 3923 + } 3924 + }, 3925 + "Questions": [ 3926 + { 3927 + "Id": 13, 3928 + "Text": "Country", 3929 + "Type": "4", 3930 + "Alias": "Country", 3931 + "Choices": [ 3932 + { 3933 + "Id": 2, 3934 + "QuestionId": 13, 3935 + "Text": "Select One", 3936 + "Value": "", 3937 + "Order": 1 3938 + }, 3939 + { 3940 + "Id": 10, 3941 + "QuestionId": 13, 3942 + "Text": "Afghanistan", 3943 + "Value": "Afghanistan", 3944 + "Order": 3 3945 + }, 3946 + { 3947 + "Id": 18, 3948 + "QuestionId": 13, 3949 + "Text": "Albania", 3950 + "Value": "Albania", 3951 + "Order": 4 3952 + }, 3953 + { 3954 + "Id": 26, 3955 + "QuestionId": 13, 3956 + "Text": "Algeria", 3957 + "Value": "Algeria", 3958 + "Order": 5 3959 + }, 3960 + { 3961 + "Id": 34, 3962 + "QuestionId": 13, 3963 + "Text": "Andorra", 3964 + "Value": "Andorra", 3965 + "Order": 6 3966 + }, 3967 + { 3968 + "Id": 42, 3969 + "QuestionId": 13, 3970 + "Text": "Angola", 3971 + "Value": "Angola", 3972 + "Order": 7 3973 + }, 3974 + { 3975 + "Id": 50, 3976 + "QuestionId": 13, 3977 + "Text": "Antigua and Barbuda", 3978 + "Value": "Antigua and Barbuda", 3979 + "Order": 8 3980 + }, 3981 + { 3982 + "Id": 58, 3983 + "QuestionId": 13, 3984 + "Text": "Argentina", 3985 + "Value": "Argentina", 3986 + "Order": 9 3987 + }, 3988 + { 3989 + "Id": 66, 3990 + "QuestionId": 13, 3991 + "Text": "Armenia", 3992 + "Value": "Armenia", 3993 + "Order": 10 3994 + }, 3995 + { 3996 + "Id": 74, 3997 + "QuestionId": 13, 3998 + "Text": "Australia", 3999 + "Value": "Australia", 4000 + "Order": 11 4001 + }, 4002 + { 4003 + "Id": 82, 4004 + "QuestionId": 13, 4005 + "Text": "Austria", 4006 + "Value": "Austria", 4007 + "Order": 12 4008 + }, 4009 + { 4010 + "Id": 90, 4011 + "QuestionId": 13, 4012 + "Text": "Azerbaijan", 4013 + "Value": "Azerbaijan", 4014 + "Order": 13 4015 + }, 4016 + { 4017 + "Id": 98, 4018 + "QuestionId": 13, 4019 + "Text": "Bahamas", 4020 + "Value": "Bahamas", 4021 + "Order": 14 4022 + }, 4023 + { 4024 + "Id": 106, 4025 + "QuestionId": 13, 4026 + "Text": "Bahrain", 4027 + "Value": "Bahrain", 4028 + "Order": 15 4029 + }, 4030 + { 4031 + "Id": 114, 4032 + "QuestionId": 13, 4033 + "Text": "Bangladesh", 4034 + "Value": "Bangladesh", 4035 + "Order": 16 4036 + }, 4037 + { 4038 + "Id": 122, 4039 + "QuestionId": 13, 4040 + "Text": "Barbados", 4041 + "Value": "Barbados", 4042 + "Order": 17 4043 + }, 4044 + { 4045 + "Id": 130, 4046 + "QuestionId": 13, 4047 + "Text": "Belarus", 4048 + "Value": "Belarus", 4049 + "Order": 18 4050 + }, 4051 + { 4052 + "Id": 138, 4053 + "QuestionId": 13, 4054 + "Text": "Belgium", 4055 + "Value": "Belgium", 4056 + "Order": 19 4057 + }, 4058 + { 4059 + "Id": 146, 4060 + "QuestionId": 13, 4061 + "Text": "Belize", 4062 + "Value": "Belize", 4063 + "Order": 20 4064 + }, 4065 + { 4066 + "Id": 154, 4067 + "QuestionId": 13, 4068 + "Text": "Benin", 4069 + "Value": "Benin", 4070 + "Order": 21 4071 + }, 4072 + { 4073 + "Id": 162, 4074 + "QuestionId": 13, 4075 + "Text": "Bhutan", 4076 + "Value": "Bhutan", 4077 + "Order": 22 4078 + }, 4079 + { 4080 + "Id": 170, 4081 + "QuestionId": 13, 4082 + "Text": "Bolivia", 4083 + "Value": "Bolivia", 4084 + "Order": 23 4085 + }, 4086 + { 4087 + "Id": 178, 4088 + "QuestionId": 13, 4089 + "Text": "Bosnia and Herzegovina", 4090 + "Value": "Bosnia and Herzegovina", 4091 + "Order": 24 4092 + }, 4093 + { 4094 + "Id": 186, 4095 + "QuestionId": 13, 4096 + "Text": "Botswana", 4097 + "Value": "Botswana", 4098 + "Order": 25 4099 + }, 4100 + { 4101 + "Id": 194, 4102 + "QuestionId": 13, 4103 + "Text": "Brazil", 4104 + "Value": "Brazil", 4105 + "Order": 26 4106 + }, 4107 + { 4108 + "Id": 202, 4109 + "QuestionId": 13, 4110 + "Text": "Brunei", 4111 + "Value": "Brunei", 4112 + "Order": 27 4113 + }, 4114 + { 4115 + "Id": 210, 4116 + "QuestionId": 13, 4117 + "Text": "Bulgaria", 4118 + "Value": "Bulgaria", 4119 + "Order": 28 4120 + }, 4121 + { 4122 + "Id": 218, 4123 + "QuestionId": 13, 4124 + "Text": "Burkina Faso", 4125 + "Value": "Burkina Faso", 4126 + "Order": 29 4127 + }, 4128 + { 4129 + "Id": 226, 4130 + "QuestionId": 13, 4131 + "Text": "Burundi", 4132 + "Value": "Burundi", 4133 + "Order": 30 4134 + }, 4135 + { 4136 + "Id": 234, 4137 + "QuestionId": 13, 4138 + "Text": "Cambodia", 4139 + "Value": "Cambodia", 4140 + "Order": 31 4141 + }, 4142 + { 4143 + "Id": 242, 4144 + "QuestionId": 13, 4145 + "Text": "Cameroon", 4146 + "Value": "Cameroon", 4147 + "Order": 32 4148 + }, 4149 + { 4150 + "Id": 250, 4151 + "QuestionId": 13, 4152 + "Text": "Canada", 4153 + "Value": "Canada", 4154 + "Order": 33 4155 + }, 4156 + { 4157 + "Id": 258, 4158 + "QuestionId": 13, 4159 + "Text": "Cape Verde", 4160 + "Value": "Cape Verde", 4161 + "Order": 34 4162 + }, 4163 + { 4164 + "Id": 266, 4165 + "QuestionId": 13, 4166 + "Text": "Central African Republic", 4167 + "Value": "Central African Republic", 4168 + "Order": 35 4169 + }, 4170 + { 4171 + "Id": 274, 4172 + "QuestionId": 13, 4173 + "Text": "Chad", 4174 + "Value": "Chad", 4175 + "Order": 36 4176 + }, 4177 + { 4178 + "Id": 282, 4179 + "QuestionId": 13, 4180 + "Text": "Chile", 4181 + "Value": "Chile", 4182 + "Order": 37 4183 + }, 4184 + { 4185 + "Id": 290, 4186 + "QuestionId": 13, 4187 + "Text": "China", 4188 + "Value": "China", 4189 + "Order": 38 4190 + }, 4191 + { 4192 + "Id": 298, 4193 + "QuestionId": 13, 4194 + "Text": "Colombia", 4195 + "Value": "Colombia", 4196 + "Order": 39 4197 + }, 4198 + { 4199 + "Id": 306, 4200 + "QuestionId": 13, 4201 + "Text": "Comoros", 4202 + "Value": "Comoros", 4203 + "Order": 40 4204 + }, 4205 + { 4206 + "Id": 314, 4207 + "QuestionId": 13, 4208 + "Text": "Congo (Brazzaville)", 4209 + "Value": "Congo (Brazzaville)", 4210 + "Order": 41 4211 + }, 4212 + { 4213 + "Id": 322, 4214 + "QuestionId": 13, 4215 + "Text": "Congo", 4216 + "Value": "Congo", 4217 + "Order": 42 4218 + }, 4219 + { 4220 + "Id": 330, 4221 + "QuestionId": 13, 4222 + "Text": "Costa Rica", 4223 + "Value": "Costa Rica", 4224 + "Order": 43 4225 + }, 4226 + { 4227 + "Id": 338, 4228 + "QuestionId": 13, 4229 + "Text": "Cote d'Ivoire", 4230 + "Value": "Cote d'Ivoire", 4231 + "Order": 44 4232 + }, 4233 + { 4234 + "Id": 346, 4235 + "QuestionId": 13, 4236 + "Text": "Croatia", 4237 + "Value": "Croatia", 4238 + "Order": 45 4239 + }, 4240 + { 4241 + "Id": 354, 4242 + "QuestionId": 13, 4243 + "Text": "Cuba", 4244 + "Value": "Cuba", 4245 + "Order": 46 4246 + }, 4247 + { 4248 + "Id": 362, 4249 + "QuestionId": 13, 4250 + "Text": "Cyprus", 4251 + "Value": "Cyprus", 4252 + "Order": 47 4253 + }, 4254 + { 4255 + "Id": 370, 4256 + "QuestionId": 13, 4257 + "Text": "Czech Republic", 4258 + "Value": "Czech Republic", 4259 + "Order": 48 4260 + }, 4261 + { 4262 + "Id": 378, 4263 + "QuestionId": 13, 4264 + "Text": "Denmark", 4265 + "Value": "Denmark", 4266 + "Order": 49 4267 + }, 4268 + { 4269 + "Id": 386, 4270 + "QuestionId": 13, 4271 + "Text": "Djibouti", 4272 + "Value": "Djibouti", 4273 + "Order": 50 4274 + }, 4275 + { 4276 + "Id": 394, 4277 + "QuestionId": 13, 4278 + "Text": "Dominica", 4279 + "Value": "Dominica", 4280 + "Order": 51 4281 + }, 4282 + { 4283 + "Id": 402, 4284 + "QuestionId": 13, 4285 + "Text": "Dominican Republic", 4286 + "Value": "Dominican Republic", 4287 + "Order": 52 4288 + }, 4289 + { 4290 + "Id": 410, 4291 + "QuestionId": 13, 4292 + "Text": "East Timor", 4293 + "Value": "East Timor", 4294 + "Order": 53 4295 + }, 4296 + { 4297 + "Id": 418, 4298 + "QuestionId": 13, 4299 + "Text": "Ecuador", 4300 + "Value": "Ecuador", 4301 + "Order": 54 4302 + }, 4303 + { 4304 + "Id": 426, 4305 + "QuestionId": 13, 4306 + "Text": "Egypt", 4307 + "Value": "Egypt", 4308 + "Order": 55 4309 + }, 4310 + { 4311 + "Id": 434, 4312 + "QuestionId": 13, 4313 + "Text": "El Salvador", 4314 + "Value": "El Salvador", 4315 + "Order": 56 4316 + }, 4317 + { 4318 + "Id": 442, 4319 + "QuestionId": 13, 4320 + "Text": "Equatorial Guinea", 4321 + "Value": "Equatorial Guinea", 4322 + "Order": 57 4323 + }, 4324 + { 4325 + "Id": 450, 4326 + "QuestionId": 13, 4327 + "Text": "Eritrea", 4328 + "Value": "Eritrea", 4329 + "Order": 58 4330 + }, 4331 + { 4332 + "Id": 458, 4333 + "QuestionId": 13, 4334 + "Text": "Estonia", 4335 + "Value": "Estonia", 4336 + "Order": 59 4337 + }, 4338 + { 4339 + "Id": 466, 4340 + "QuestionId": 13, 4341 + "Text": "Ethiopia", 4342 + "Value": "Ethiopia", 4343 + "Order": 60 4344 + }, 4345 + { 4346 + "Id": 474, 4347 + "QuestionId": 13, 4348 + "Text": "Fiji", 4349 + "Value": "Fiji", 4350 + "Order": 61 4351 + }, 4352 + { 4353 + "Id": 482, 4354 + "QuestionId": 13, 4355 + "Text": "Finland", 4356 + "Value": "Finland", 4357 + "Order": 62 4358 + }, 4359 + { 4360 + "Id": 490, 4361 + "QuestionId": 13, 4362 + "Text": "France", 4363 + "Value": "France", 4364 + "Order": 63 4365 + }, 4366 + { 4367 + "Id": 498, 4368 + "QuestionId": 13, 4369 + "Text": "Gabon", 4370 + "Value": "Gabon", 4371 + "Order": 64 4372 + }, 4373 + { 4374 + "Id": 506, 4375 + "QuestionId": 13, 4376 + "Text": "Gambia, The", 4377 + "Value": "Gambia, The", 4378 + "Order": 65 4379 + }, 4380 + { 4381 + "Id": 514, 4382 + "QuestionId": 13, 4383 + "Text": "Georgia", 4384 + "Value": "Georgia", 4385 + "Order": 66 4386 + }, 4387 + { 4388 + "Id": 522, 4389 + "QuestionId": 13, 4390 + "Text": "Germany", 4391 + "Value": "Germany", 4392 + "Order": 67 4393 + }, 4394 + { 4395 + "Id": 530, 4396 + "QuestionId": 13, 4397 + "Text": "Ghana", 4398 + "Value": "Ghana", 4399 + "Order": 68 4400 + }, 4401 + { 4402 + "Id": 538, 4403 + "QuestionId": 13, 4404 + "Text": "Greece", 4405 + "Value": "Greece", 4406 + "Order": 69 4407 + }, 4408 + { 4409 + "Id": 546, 4410 + "QuestionId": 13, 4411 + "Text": "Grenada", 4412 + "Value": "Grenada", 4413 + "Order": 70 4414 + }, 4415 + { 4416 + "Id": 554, 4417 + "QuestionId": 13, 4418 + "Text": "Guatemala", 4419 + "Value": "Guatemala", 4420 + "Order": 71 4421 + }, 4422 + { 4423 + "Id": 562, 4424 + "QuestionId": 13, 4425 + "Text": "Guinea", 4426 + "Value": "Guinea", 4427 + "Order": 72 4428 + }, 4429 + { 4430 + "Id": 570, 4431 + "QuestionId": 13, 4432 + "Text": "Guinea-Bissau", 4433 + "Value": "Guinea-Bissau", 4434 + "Order": 73 4435 + }, 4436 + { 4437 + "Id": 578, 4438 + "QuestionId": 13, 4439 + "Text": "Guyana", 4440 + "Value": "Guyana", 4441 + "Order": 74 4442 + }, 4443 + { 4444 + "Id": 586, 4445 + "QuestionId": 13, 4446 + "Text": "Haiti", 4447 + "Value": "Haiti", 4448 + "Order": 75 4449 + }, 4450 + { 4451 + "Id": 594, 4452 + "QuestionId": 13, 4453 + "Text": "Honduras", 4454 + "Value": "Honduras", 4455 + "Order": 76 4456 + }, 4457 + { 4458 + "Id": 602, 4459 + "QuestionId": 13, 4460 + "Text": "Hungary", 4461 + "Value": "Hungary", 4462 + "Order": 77 4463 + }, 4464 + { 4465 + "Id": 610, 4466 + "QuestionId": 13, 4467 + "Text": "Iceland", 4468 + "Value": "Iceland", 4469 + "Order": 78 4470 + }, 4471 + { 4472 + "Id": 618, 4473 + "QuestionId": 13, 4474 + "Text": "India", 4475 + "Value": "India", 4476 + "Order": 79 4477 + }, 4478 + { 4479 + "Id": 626, 4480 + "QuestionId": 13, 4481 + "Text": "Indonesia", 4482 + "Value": "Indonesia", 4483 + "Order": 80 4484 + }, 4485 + { 4486 + "Id": 634, 4487 + "QuestionId": 13, 4488 + "Text": "Iran", 4489 + "Value": "Iran", 4490 + "Order": 81 4491 + }, 4492 + { 4493 + "Id": 642, 4494 + "QuestionId": 13, 4495 + "Text": "Iraq", 4496 + "Value": "Iraq", 4497 + "Order": 82 4498 + }, 4499 + { 4500 + "Id": 650, 4501 + "QuestionId": 13, 4502 + "Text": "Ireland", 4503 + "Value": "Ireland", 4504 + "Order": 83 4505 + }, 4506 + { 4507 + "Id": 658, 4508 + "QuestionId": 13, 4509 + "Text": "Israel", 4510 + "Value": "Israel", 4511 + "Order": 84 4512 + }, 4513 + { 4514 + "Id": 666, 4515 + "QuestionId": 13, 4516 + "Text": "Italy", 4517 + "Value": "Italy", 4518 + "Order": 85 4519 + }, 4520 + { 4521 + "Id": 674, 4522 + "QuestionId": 13, 4523 + "Text": "Jamaica", 4524 + "Value": "Jamaica", 4525 + "Order": 86 4526 + }, 4527 + { 4528 + "Id": 682, 4529 + "QuestionId": 13, 4530 + "Text": "Japan", 4531 + "Value": "Japan", 4532 + "Order": 87 4533 + }, 4534 + { 4535 + "Id": 690, 4536 + "QuestionId": 13, 4537 + "Text": "Jordan", 4538 + "Value": "Jordan", 4539 + "Order": 88 4540 + }, 4541 + { 4542 + "Id": 698, 4543 + "QuestionId": 13, 4544 + "Text": "Kazakhstan", 4545 + "Value": "Kazakhstan", 4546 + "Order": 89 4547 + }, 4548 + { 4549 + "Id": 706, 4550 + "QuestionId": 13, 4551 + "Text": "Kenya", 4552 + "Value": "Kenya", 4553 + "Order": 90 4554 + }, 4555 + { 4556 + "Id": 714, 4557 + "QuestionId": 13, 4558 + "Text": "Kiribati", 4559 + "Value": "Kiribati", 4560 + "Order": 91 4561 + }, 4562 + { 4563 + "Id": 722, 4564 + "QuestionId": 13, 4565 + "Text": "Korea, North", 4566 + "Value": "Korea, North", 4567 + "Order": 92 4568 + }, 4569 + { 4570 + "Id": 730, 4571 + "QuestionId": 13, 4572 + "Text": "Korea, South", 4573 + "Value": "Korea, South", 4574 + "Order": 93 4575 + }, 4576 + { 4577 + "Id": 738, 4578 + "QuestionId": 13, 4579 + "Text": "Kuwait", 4580 + "Value": "Kuwait", 4581 + "Order": 94 4582 + }, 4583 + { 4584 + "Id": 746, 4585 + "QuestionId": 13, 4586 + "Text": "Kyrgyzstan", 4587 + "Value": "Kyrgyzstan", 4588 + "Order": 95 4589 + }, 4590 + { 4591 + "Id": 754, 4592 + "QuestionId": 13, 4593 + "Text": "Laos", 4594 + "Value": "Laos", 4595 + "Order": 96 4596 + }, 4597 + { 4598 + "Id": 762, 4599 + "QuestionId": 13, 4600 + "Text": "Latvia", 4601 + "Value": "Latvia", 4602 + "Order": 97 4603 + }, 4604 + { 4605 + "Id": 770, 4606 + "QuestionId": 13, 4607 + "Text": "Lebanon", 4608 + "Value": "Lebanon", 4609 + "Order": 98 4610 + }, 4611 + { 4612 + "Id": 778, 4613 + "QuestionId": 13, 4614 + "Text": "Lesotho", 4615 + "Value": "Lesotho", 4616 + "Order": 99 4617 + }, 4618 + { 4619 + "Id": 786, 4620 + "QuestionId": 13, 4621 + "Text": "Liberia", 4622 + "Value": "Liberia", 4623 + "Order": 100 4624 + }, 4625 + { 4626 + "Id": 794, 4627 + "QuestionId": 13, 4628 + "Text": "Libya", 4629 + "Value": "Libya", 4630 + "Order": 101 4631 + }, 4632 + { 4633 + "Id": 802, 4634 + "QuestionId": 13, 4635 + "Text": "Liechtenstein", 4636 + "Value": "Liechtenstein", 4637 + "Order": 102 4638 + }, 4639 + { 4640 + "Id": 810, 4641 + "QuestionId": 13, 4642 + "Text": "Lithuania", 4643 + "Value": "Lithuania", 4644 + "Order": 103 4645 + }, 4646 + { 4647 + "Id": 818, 4648 + "QuestionId": 13, 4649 + "Text": "Luxembourg", 4650 + "Value": "Luxembourg", 4651 + "Order": 104 4652 + }, 4653 + { 4654 + "Id": 826, 4655 + "QuestionId": 13, 4656 + "Text": "Macedonia", 4657 + "Value": "Macedonia", 4658 + "Order": 105 4659 + }, 4660 + { 4661 + "Id": 834, 4662 + "QuestionId": 13, 4663 + "Text": "Madagascar", 4664 + "Value": "Madagascar", 4665 + "Order": 106 4666 + }, 4667 + { 4668 + "Id": 842, 4669 + "QuestionId": 13, 4670 + "Text": "Malawi", 4671 + "Value": "Malawi", 4672 + "Order": 107 4673 + }, 4674 + { 4675 + "Id": 850, 4676 + "QuestionId": 13, 4677 + "Text": "Malaysia", 4678 + "Value": "Malaysia", 4679 + "Order": 108 4680 + }, 4681 + { 4682 + "Id": 858, 4683 + "QuestionId": 13, 4684 + "Text": "Maldives", 4685 + "Value": "Maldives", 4686 + "Order": 109 4687 + }, 4688 + { 4689 + "Id": 866, 4690 + "QuestionId": 13, 4691 + "Text": "Mali", 4692 + "Value": "Mali", 4693 + "Order": 110 4694 + }, 4695 + { 4696 + "Id": 874, 4697 + "QuestionId": 13, 4698 + "Text": "Malta", 4699 + "Value": "Malta", 4700 + "Order": 111 4701 + }, 4702 + { 4703 + "Id": 882, 4704 + "QuestionId": 13, 4705 + "Text": "Marshall Islands", 4706 + "Value": "Marshall Islands", 4707 + "Order": 112 4708 + }, 4709 + { 4710 + "Id": 890, 4711 + "QuestionId": 13, 4712 + "Text": "Mauritania", 4713 + "Value": "Mauritania", 4714 + "Order": 113 4715 + }, 4716 + { 4717 + "Id": 898, 4718 + "QuestionId": 13, 4719 + "Text": "Mauritius", 4720 + "Value": "Mauritius", 4721 + "Order": 114 4722 + }, 4723 + { 4724 + "Id": 906, 4725 + "QuestionId": 13, 4726 + "Text": "Mexico", 4727 + "Value": "Mexico", 4728 + "Order": 115 4729 + }, 4730 + { 4731 + "Id": 914, 4732 + "QuestionId": 13, 4733 + "Text": "Micronesia", 4734 + "Value": "Micronesia", 4735 + "Order": 116 4736 + }, 4737 + { 4738 + "Id": 922, 4739 + "QuestionId": 13, 4740 + "Text": "Moldova", 4741 + "Value": "Moldova", 4742 + "Order": 117 4743 + }, 4744 + { 4745 + "Id": 930, 4746 + "QuestionId": 13, 4747 + "Text": "Monaco", 4748 + "Value": "Monaco", 4749 + "Order": 118 4750 + }, 4751 + { 4752 + "Id": 938, 4753 + "QuestionId": 13, 4754 + "Text": "Mongolia", 4755 + "Value": "Mongolia", 4756 + "Order": 119 4757 + }, 4758 + { 4759 + "Id": 946, 4760 + "QuestionId": 13, 4761 + "Text": "Morocco", 4762 + "Value": "Morocco", 4763 + "Order": 120 4764 + }, 4765 + { 4766 + "Id": 954, 4767 + "QuestionId": 13, 4768 + "Text": "Mozambique", 4769 + "Value": "Mozambique", 4770 + "Order": 121 4771 + }, 4772 + { 4773 + "Id": 962, 4774 + "QuestionId": 13, 4775 + "Text": "Myanmar", 4776 + "Value": "Myanmar", 4777 + "Order": 122 4778 + }, 4779 + { 4780 + "Id": 970, 4781 + "QuestionId": 13, 4782 + "Text": "Namibia", 4783 + "Value": "Namibia", 4784 + "Order": 123 4785 + }, 4786 + { 4787 + "Id": 978, 4788 + "QuestionId": 13, 4789 + "Text": "Nauru", 4790 + "Value": "Nauru", 4791 + "Order": 124 4792 + }, 4793 + { 4794 + "Id": 986, 4795 + "QuestionId": 13, 4796 + "Text": "Nepa", 4797 + "Value": "Nepa", 4798 + "Order": 125 4799 + }, 4800 + { 4801 + "Id": 994, 4802 + "QuestionId": 13, 4803 + "Text": "Netherlands", 4804 + "Value": "Netherlands", 4805 + "Order": 126 4806 + }, 4807 + { 4808 + "Id": 1002, 4809 + "QuestionId": 13, 4810 + "Text": "New Zealand", 4811 + "Value": "New Zealand", 4812 + "Order": 127 4813 + }, 4814 + { 4815 + "Id": 1010, 4816 + "QuestionId": 13, 4817 + "Text": "Nicaragua", 4818 + "Value": "Nicaragua", 4819 + "Order": 128 4820 + }, 4821 + { 4822 + "Id": 1018, 4823 + "QuestionId": 13, 4824 + "Text": "Niger", 4825 + "Value": "Niger", 4826 + "Order": 129 4827 + }, 4828 + { 4829 + "Id": 1026, 4830 + "QuestionId": 13, 4831 + "Text": "Nigeria", 4832 + "Value": "Nigeria", 4833 + "Order": 130 4834 + }, 4835 + { 4836 + "Id": 1034, 4837 + "QuestionId": 13, 4838 + "Text": "Norway", 4839 + "Value": "Norway", 4840 + "Order": 131 4841 + }, 4842 + { 4843 + "Id": 1042, 4844 + "QuestionId": 13, 4845 + "Text": "Oman", 4846 + "Value": "Oman", 4847 + "Order": 132 4848 + }, 4849 + { 4850 + "Id": 1050, 4851 + "QuestionId": 13, 4852 + "Text": "Pakistan", 4853 + "Value": "Pakistan", 4854 + "Order": 133 4855 + }, 4856 + { 4857 + "Id": 1058, 4858 + "QuestionId": 13, 4859 + "Text": "Palau", 4860 + "Value": "Palau", 4861 + "Order": 134 4862 + }, 4863 + { 4864 + "Id": 1066, 4865 + "QuestionId": 13, 4866 + "Text": "Panama", 4867 + "Value": "Panama", 4868 + "Order": 135 4869 + }, 4870 + { 4871 + "Id": 1074, 4872 + "QuestionId": 13, 4873 + "Text": "Papua New Guinea", 4874 + "Value": "Papua New Guinea", 4875 + "Order": 136 4876 + }, 4877 + { 4878 + "Id": 1082, 4879 + "QuestionId": 13, 4880 + "Text": "Paraguay", 4881 + "Value": "Paraguay", 4882 + "Order": 137 4883 + }, 4884 + { 4885 + "Id": 1090, 4886 + "QuestionId": 13, 4887 + "Text": "Peru", 4888 + "Value": "Peru", 4889 + "Order": 138 4890 + }, 4891 + { 4892 + "Id": 1098, 4893 + "QuestionId": 13, 4894 + "Text": "Philippines", 4895 + "Value": "Philippines", 4896 + "Order": 139 4897 + }, 4898 + { 4899 + "Id": 1106, 4900 + "QuestionId": 13, 4901 + "Text": "Poland", 4902 + "Value": "Poland", 4903 + "Order": 140 4904 + }, 4905 + { 4906 + "Id": 1114, 4907 + "QuestionId": 13, 4908 + "Text": "Portugal", 4909 + "Value": "Portugal", 4910 + "Order": 141 4911 + }, 4912 + { 4913 + "Id": 1122, 4914 + "QuestionId": 13, 4915 + "Text": "Qatar", 4916 + "Value": "Qatar", 4917 + "Order": 142 4918 + }, 4919 + { 4920 + "Id": 1130, 4921 + "QuestionId": 13, 4922 + "Text": "Romania", 4923 + "Value": "Romania", 4924 + "Order": 143 4925 + }, 4926 + { 4927 + "Id": 1138, 4928 + "QuestionId": 13, 4929 + "Text": "Russia", 4930 + "Value": "Russia", 4931 + "Order": 144 4932 + }, 4933 + { 4934 + "Id": 1146, 4935 + "QuestionId": 13, 4936 + "Text": "Rwanda", 4937 + "Value": "Rwanda", 4938 + "Order": 145 4939 + }, 4940 + { 4941 + "Id": 1154, 4942 + "QuestionId": 13, 4943 + "Text": "Saint Kitts and Nevis", 4944 + "Value": "Saint Kitts and Nevis", 4945 + "Order": 146 4946 + }, 4947 + { 4948 + "Id": 1162, 4949 + "QuestionId": 13, 4950 + "Text": "Saint Lucia", 4951 + "Value": "Saint Lucia", 4952 + "Order": 147 4953 + }, 4954 + { 4955 + "Id": 1170, 4956 + "QuestionId": 13, 4957 + "Text": "Saint Vincent", 4958 + "Value": "Saint Vincent", 4959 + "Order": 148 4960 + }, 4961 + { 4962 + "Id": 1178, 4963 + "QuestionId": 13, 4964 + "Text": "Samoa", 4965 + "Value": "Samoa", 4966 + "Order": 149 4967 + }, 4968 + { 4969 + "Id": 1186, 4970 + "QuestionId": 13, 4971 + "Text": "San Marino", 4972 + "Value": "San Marino", 4973 + "Order": 150 4974 + }, 4975 + { 4976 + "Id": 1194, 4977 + "QuestionId": 13, 4978 + "Text": "Sao Tome and Principe", 4979 + "Value": "Sao Tome and Principe", 4980 + "Order": 151 4981 + }, 4982 + { 4983 + "Id": 1202, 4984 + "QuestionId": 13, 4985 + "Text": "Saudi Arabia", 4986 + "Value": "Saudi Arabia", 4987 + "Order": 152 4988 + }, 4989 + { 4990 + "Id": 1210, 4991 + "QuestionId": 13, 4992 + "Text": "Senegal", 4993 + "Value": "Senegal", 4994 + "Order": 153 4995 + }, 4996 + { 4997 + "Id": 1218, 4998 + "QuestionId": 13, 4999 + "Text": "Serbia and Montenegro", 5000 + "Value": "Serbia and Montenegro", 5001 + "Order": 154 5002 + }, 5003 + { 5004 + "Id": 1226, 5005 + "QuestionId": 13, 5006 + "Text": "Seychelles", 5007 + "Value": "Seychelles", 5008 + "Order": 155 5009 + }, 5010 + { 5011 + "Id": 1234, 5012 + "QuestionId": 13, 5013 + "Text": "Sierra Leone", 5014 + "Value": "Sierra Leone", 5015 + "Order": 156 5016 + }, 5017 + { 5018 + "Id": 1242, 5019 + "QuestionId": 13, 5020 + "Text": "Singapore", 5021 + "Value": "Singapore", 5022 + "Order": 157 5023 + }, 5024 + { 5025 + "Id": 1250, 5026 + "QuestionId": 13, 5027 + "Text": "Slovakia", 5028 + "Value": "Slovakia", 5029 + "Order": 158 5030 + }, 5031 + { 5032 + "Id": 1258, 5033 + "QuestionId": 13, 5034 + "Text": "Slovenia", 5035 + "Value": "Slovenia", 5036 + "Order": 159 5037 + }, 5038 + { 5039 + "Id": 1266, 5040 + "QuestionId": 13, 5041 + "Text": "Solomon Islands", 5042 + "Value": "Solomon Islands", 5043 + "Order": 160 5044 + }, 5045 + { 5046 + "Id": 1274, 5047 + "QuestionId": 13, 5048 + "Text": "Somalia", 5049 + "Value": "Somalia", 5050 + "Order": 161 5051 + }, 5052 + { 5053 + "Id": 1282, 5054 + "QuestionId": 13, 5055 + "Text": "South Africa", 5056 + "Value": "South Africa", 5057 + "Order": 162 5058 + }, 5059 + { 5060 + "Id": 1290, 5061 + "QuestionId": 13, 5062 + "Text": "Spain", 5063 + "Value": "Spain", 5064 + "Order": 163 5065 + }, 5066 + { 5067 + "Id": 1298, 5068 + "QuestionId": 13, 5069 + "Text": "Sri Lanka", 5070 + "Value": "Sri Lanka", 5071 + "Order": 164 5072 + }, 5073 + { 5074 + "Id": 1306, 5075 + "QuestionId": 13, 5076 + "Text": "Sudan", 5077 + "Value": "Sudan", 5078 + "Order": 165 5079 + }, 5080 + { 5081 + "Id": 1314, 5082 + "QuestionId": 13, 5083 + "Text": "Suriname", 5084 + "Value": "Suriname", 5085 + "Order": 166 5086 + }, 5087 + { 5088 + "Id": 1322, 5089 + "QuestionId": 13, 5090 + "Text": "Swaziland", 5091 + "Value": "Swaziland", 5092 + "Order": 167 5093 + }, 5094 + { 5095 + "Id": 1330, 5096 + "QuestionId": 13, 5097 + "Text": "Sweden", 5098 + "Value": "Sweden", 5099 + "Order": 168 5100 + }, 5101 + { 5102 + "Id": 1338, 5103 + "QuestionId": 13, 5104 + "Text": "Switzerland", 5105 + "Value": "Switzerland", 5106 + "Order": 169 5107 + }, 5108 + { 5109 + "Id": 1346, 5110 + "QuestionId": 13, 5111 + "Text": "Syria", 5112 + "Value": "Syria", 5113 + "Order": 170 5114 + }, 5115 + { 5116 + "Id": 1354, 5117 + "QuestionId": 13, 5118 + "Text": "Taiwan", 5119 + "Value": "Taiwan", 5120 + "Order": 171 5121 + }, 5122 + { 5123 + "Id": 1362, 5124 + "QuestionId": 13, 5125 + "Text": "Tajikistan", 5126 + "Value": "Tajikistan", 5127 + "Order": 172 5128 + }, 5129 + { 5130 + "Id": 1370, 5131 + "QuestionId": 13, 5132 + "Text": "Tanzania", 5133 + "Value": "Tanzania", 5134 + "Order": 173 5135 + }, 5136 + { 5137 + "Id": 1378, 5138 + "QuestionId": 13, 5139 + "Text": "Thailand", 5140 + "Value": "Thailand", 5141 + "Order": 174 5142 + }, 5143 + { 5144 + "Id": 1386, 5145 + "QuestionId": 13, 5146 + "Text": "Togo", 5147 + "Value": "Togo", 5148 + "Order": 175 5149 + }, 5150 + { 5151 + "Id": 1394, 5152 + "QuestionId": 13, 5153 + "Text": "Tonga", 5154 + "Value": "Tonga", 5155 + "Order": 176 5156 + }, 5157 + { 5158 + "Id": 1402, 5159 + "QuestionId": 13, 5160 + "Text": "Trinidad and Tobago", 5161 + "Value": "Trinidad and Tobago", 5162 + "Order": 177 5163 + }, 5164 + { 5165 + "Id": 1410, 5166 + "QuestionId": 13, 5167 + "Text": "Tunisia", 5168 + "Value": "Tunisia", 5169 + "Order": 178 5170 + }, 5171 + { 5172 + "Id": 1418, 5173 + "QuestionId": 13, 5174 + "Text": "Turkey", 5175 + "Value": "Turkey", 5176 + "Order": 179 5177 + }, 5178 + { 5179 + "Id": 1426, 5180 + "QuestionId": 13, 5181 + "Text": "Turkmenistan", 5182 + "Value": "Turkmenistan", 5183 + "Order": 180 5184 + }, 5185 + { 5186 + "Id": 1434, 5187 + "QuestionId": 13, 5188 + "Text": "Tuvalu", 5189 + "Value": "Tuvalu", 5190 + "Order": 181 5191 + }, 5192 + { 5193 + "Id": 1442, 5194 + "QuestionId": 13, 5195 + "Text": "Uganda", 5196 + "Value": "Uganda", 5197 + "Order": 182 5198 + }, 5199 + { 5200 + "Id": 1450, 5201 + "QuestionId": 13, 5202 + "Text": "Ukraine", 5203 + "Value": "Ukraine", 5204 + "Order": 183 5205 + }, 5206 + { 5207 + "Id": 1458, 5208 + "QuestionId": 13, 5209 + "Text": "United Arab Emirates", 5210 + "Value": "United Arab Emirates", 5211 + "Order": 184 5212 + }, 5213 + { 5214 + "Id": 1466, 5215 + "QuestionId": 13, 5216 + "Text": "United Kingdom", 5217 + "Value": "United Kingdom", 5218 + "Order": 185 5219 + }, 5220 + { 5221 + "Id": 1474, 5222 + "QuestionId": 13, 5223 + "Text": "United States", 5224 + "Value": "United States", 5225 + "Order": 2 5226 + }, 5227 + { 5228 + "Id": 1482, 5229 + "QuestionId": 13, 5230 + "Text": "Uruguay", 5231 + "Value": "Uruguay", 5232 + "Order": 186 5233 + }, 5234 + { 5235 + "Id": 1490, 5236 + "QuestionId": 13, 5237 + "Text": "Uzbekistan", 5238 + "Value": "Uzbekistan", 5239 + "Order": 187 5240 + }, 5241 + { 5242 + "Id": 1498, 5243 + "QuestionId": 13, 5244 + "Text": "Vanuatu", 5245 + "Value": "Vanuatu", 5246 + "Order": 188 5247 + }, 5248 + { 5249 + "Id": 1506, 5250 + "QuestionId": 13, 5251 + "Text": "Vatican City", 5252 + "Value": "Vatican City", 5253 + "Order": 189 5254 + }, 5255 + { 5256 + "Id": 1514, 5257 + "QuestionId": 13, 5258 + "Text": "Venezuela", 5259 + "Value": "Venezuela", 5260 + "Order": 190 5261 + }, 5262 + { 5263 + "Id": 1522, 5264 + "QuestionId": 13, 5265 + "Text": "Vietnam", 5266 + "Value": "Vietnam", 5267 + "Order": 191 5268 + }, 5269 + { 5270 + "Id": 1530, 5271 + "QuestionId": 13, 5272 + "Text": "Yemen", 5273 + "Value": "Yemen", 5274 + "Order": 192 5275 + }, 5276 + { 5277 + "Id": 1538, 5278 + "QuestionId": 13, 5279 + "Text": "Zambia", 5280 + "Value": "Zambia", 5281 + "Order": 193 5282 + }, 5283 + { 5284 + "Id": 1546, 5285 + "QuestionId": 13, 5286 + "Text": "Zimbabwe", 5287 + "Value": "Zimbabwe", 5288 + "Order": 194 5289 + }, 5290 + { 5291 + "Id": 2186, 5292 + "QuestionId": 13, 5293 + "Text": "British Columbia", 5294 + "Value": "British Columbia", 5295 + "Order": 195 5296 + } 5297 + ] 5298 + } 5299 + ] 5300 +} 5301 +{{/code}} 2032 2032 2033 -(% class="western" %) 2034 -"result": { 5303 +\\ 2035 2035 2036 -(% class=" western" %)2037 -"succ ess":"1",5305 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 5306 +== (% 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);" %)lookup question by Type(%%) == 2038 2038 2039 -(% class="western" %) 2040 -"error": { 5308 +---- 2041 2041 2042 -(% class="western" %) 2043 -"code": "0", 5310 +{{panel bgColor="#D3D3D3" width="100%"}} 5311 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/questions/lookup?Type=4 5312 +{{/panel}} 2044 2044 2045 -(% class="western" %) 2046 -"message": "" 5314 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 2047 2047 2048 -(% class="western" %) 5316 +---- 5317 + 5318 +(% 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}} 5319 + 5320 +=== (% style="color: rgb(33,33,33);" %)Query Params(%%) === 5321 + 5322 +---- 5323 + 5324 +(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Type 4(%%) 5325 +\\ 5326 + 5327 +==== Example ==== 5328 + 5329 +---- 5330 + 5331 +(% style="color: rgb(107,107,107);" %)Request 5332 + 5333 +{{code language="php" theme="RDark" title="Lookup question by Type Request"}} 5334 +<?php 5335 + 5336 +$curl = curl_init(); 5337 + 5338 +curl_setopt_array($curl, array( 5339 + CURLOPT_URL => 'https://api.onecount.net/v2/questions/lookup?Type=4', 5340 + CURLOPT_RETURNTRANSFER => true, 5341 + CURLOPT_ENCODING => '', 5342 + CURLOPT_MAXREDIRS => 10, 5343 + CURLOPT_TIMEOUT => 0, 5344 + CURLOPT_FOLLOWLOCATION => true, 5345 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 5346 + CURLOPT_CUSTOMREQUEST => 'GET', 5347 + CURLOPT_HTTPHEADER => array( 5348 + 'Appkey: {{ONECOUNT API KEY}}' 5349 + ), 5350 +)); 5351 + 5352 +$response = curl_exec($curl); 5353 + 5354 +curl_close($curl); 5355 +echo $response; 5356 +{{/code}} 5357 + 5358 +\\ 5359 + 5360 +(% style="color: rgb(107,107,107);" %)Response 200 OK 5361 + 5362 +{{code language="yml" theme="RDark" title="Lookup question by type Response" collapse="true"}} 5363 +{ 5364 + "result": { 5365 + "success": "1", 5366 + "error": { 5367 + "code": "", 5368 + "message": "" 5369 + } 5370 + }, 5371 + "Questions": [ 5372 + { 5373 + "Id": 11, 5374 + "Text": "State/Province", 5375 + "Type": "4", 5376 + "Alias": "State/Province", 5377 + "Choices": [ 5378 + { 5379 + "Id": 1554, 5380 + "QuestionId": 11, 5381 + "Text": "Select One", 5382 + "Value": "", 5383 + "Order": 1 5384 + }, 5385 + { 5386 + "Id": 1562, 5387 + "QuestionId": 11, 5388 + "Text": "Alabama", 5389 + "Value": "AL", 5390 + "Order": 2 5391 + }, 5392 + { 5393 + "Id": 1570, 5394 + "QuestionId": 11, 5395 + "Text": "Alaska", 5396 + "Value": "AK", 5397 + "Order": 3 5398 + }, 5399 + { 5400 + "Id": 1578, 5401 + "QuestionId": 11, 5402 + "Text": "Arizona", 5403 + "Value": "AZ", 5404 + "Order": 4 5405 + }, 5406 + { 5407 + "Id": 1586, 5408 + "QuestionId": 11, 5409 + "Text": "Arkansas", 5410 + "Value": "AR", 5411 + "Order": 5 5412 + }, 5413 + { 5414 + "Id": 1594, 5415 + "QuestionId": 11, 5416 + "Text": "California", 5417 + "Value": "CA", 5418 + "Order": 6 5419 + }, 5420 + { 5421 + "Id": 1602, 5422 + "QuestionId": 11, 5423 + "Text": "Colorado", 5424 + "Value": "CO", 5425 + "Order": 7 5426 + }, 5427 + { 5428 + "Id": 1610, 5429 + "QuestionId": 11, 5430 + "Text": "Connecticut", 5431 + "Value": "CT", 5432 + "Order": 8 5433 + }, 5434 + { 5435 + "Id": 1618, 5436 + "QuestionId": 11, 5437 + "Text": "Delaware", 5438 + "Value": "DE", 5439 + "Order": 9 5440 + }, 5441 + { 5442 + "Id": 1626, 5443 + "QuestionId": 11, 5444 + "Text": "District of Columbia", 5445 + "Value": "DC", 5446 + "Order": 10 5447 + }, 5448 + { 5449 + "Id": 1634, 5450 + "QuestionId": 11, 5451 + "Text": "Florida", 5452 + "Value": "FL", 5453 + "Order": 11 5454 + }, 5455 + { 5456 + "Id": 1642, 5457 + "QuestionId": 11, 5458 + "Text": "Georgia", 5459 + "Value": "GA", 5460 + "Order": 12 5461 + }, 5462 + { 5463 + "Id": 1650, 5464 + "QuestionId": 11, 5465 + "Text": "Hawaii", 5466 + "Value": "HI", 5467 + "Order": 13 5468 + }, 5469 + { 5470 + "Id": 1658, 5471 + "QuestionId": 11, 5472 + "Text": "Idaho", 5473 + "Value": "ID", 5474 + "Order": 14 5475 + }, 5476 + { 5477 + "Id": 1666, 5478 + "QuestionId": 11, 5479 + "Text": "Illinois", 5480 + "Value": "IL", 5481 + "Order": 15 5482 + }, 5483 + { 5484 + "Id": 1674, 5485 + "QuestionId": 11, 5486 + "Text": "Indiana", 5487 + "Value": "IN", 5488 + "Order": 16 5489 + }, 5490 + { 5491 + "Id": 1682, 5492 + "QuestionId": 11, 5493 + "Text": "Iowa", 5494 + "Value": "IA", 5495 + "Order": 17 5496 + }, 5497 + { 5498 + "Id": 1690, 5499 + "QuestionId": 11, 5500 + "Text": "Kansas", 5501 + "Value": "KS", 5502 + "Order": 18 5503 + }, 5504 + { 5505 + "Id": 1698, 5506 + "QuestionId": 11, 5507 + "Text": "Kentucky", 5508 + "Value": "KY", 5509 + "Order": 19 5510 + }, 5511 + { 5512 + "Id": 1706, 5513 + "QuestionId": 11, 5514 + "Text": "Louisiana", 5515 + "Value": "LA", 5516 + "Order": 20 5517 + }, 5518 + { 5519 + "Id": 1714, 5520 + "QuestionId": 11, 5521 + "Text": "Maine", 5522 + "Value": "ME", 5523 + "Order": 21 5524 + }, 5525 + { 5526 + "Id": 1722, 5527 + "QuestionId": 11, 5528 + "Text": "Maryland", 5529 + "Value": "MD", 5530 + "Order": 22 5531 + }, 5532 + { 5533 + "Id": 1730, 5534 + "QuestionId": 11, 5535 + "Text": "Massachusetts", 5536 + "Value": "MA", 5537 + "Order": 23 5538 + }, 5539 + { 5540 + "Id": 1738, 5541 + "QuestionId": 11, 5542 + "Text": "Michigan", 5543 + "Value": "MI", 5544 + "Order": 24 5545 + }, 5546 + { 5547 + "Id": 1746, 5548 + "QuestionId": 11, 5549 + "Text": "Minnesota", 5550 + "Value": "MN", 5551 + "Order": 25 5552 + }, 5553 + { 5554 + "Id": 1754, 5555 + "QuestionId": 11, 5556 + "Text": "Mississippi", 5557 + "Value": "MS", 5558 + "Order": 26 5559 + }, 5560 + { 5561 + "Id": 1762, 5562 + "QuestionId": 11, 5563 + "Text": "Missouri", 5564 + "Value": "MO", 5565 + "Order": 27 5566 + }, 5567 + { 5568 + "Id": 1770, 5569 + "QuestionId": 11, 5570 + "Text": "Montana", 5571 + "Value": "MT", 5572 + "Order": 28 5573 + }, 5574 + { 5575 + "Id": 1778, 5576 + "QuestionId": 11, 5577 + "Text": "Nebraska", 5578 + "Value": "NE", 5579 + "Order": 29 5580 + }, 5581 + { 5582 + "Id": 1786, 5583 + "QuestionId": 11, 5584 + "Text": "Nevada", 5585 + "Value": "NV", 5586 + "Order": 30 5587 + }, 5588 + { 5589 + "Id": 1794, 5590 + "QuestionId": 11, 5591 + "Text": "New Hampshire", 5592 + "Value": "NH", 5593 + "Order": 31 5594 + }, 5595 + { 5596 + "Id": 1802, 5597 + "QuestionId": 11, 5598 + "Text": "New Jersey", 5599 + "Value": "NJ", 5600 + "Order": 32 5601 + }, 5602 + { 5603 + "Id": 1810, 5604 + "QuestionId": 11, 5605 + "Text": "New Mexico", 5606 + "Value": "NM", 5607 + "Order": 33 5608 + }, 5609 + { 5610 + "Id": 1818, 5611 + "QuestionId": 11, 5612 + "Text": "New York", 5613 + "Value": "NY", 5614 + "Order": 34 5615 + }, 5616 + { 5617 + "Id": 1826, 5618 + "QuestionId": 11, 5619 + "Text": "North Carolina", 5620 + "Value": "NC", 5621 + "Order": 35 5622 + }, 5623 + { 5624 + "Id": 1834, 5625 + "QuestionId": 11, 5626 + "Text": "Ohio", 5627 + "Value": "OH", 5628 + "Order": 37 5629 + }, 5630 + { 5631 + "Id": 1842, 5632 + "QuestionId": 11, 5633 + "Text": "Oklahoma", 5634 + "Value": "OK", 5635 + "Order": 38 5636 + }, 5637 + { 5638 + "Id": 1850, 5639 + "QuestionId": 11, 5640 + "Text": "Oregon", 5641 + "Value": "OR", 5642 + "Order": 39 5643 + }, 5644 + { 5645 + "Id": 1858, 5646 + "QuestionId": 11, 5647 + "Text": "Pennsylvania", 5648 + "Value": "PA", 5649 + "Order": 40 5650 + }, 5651 + { 5652 + "Id": 1866, 5653 + "QuestionId": 11, 5654 + "Text": "Rhode Island", 5655 + "Value": "RI", 5656 + "Order": 41 5657 + }, 5658 + { 5659 + "Id": 1874, 5660 + "QuestionId": 11, 5661 + "Text": "South Carolina", 5662 + "Value": "SC", 5663 + "Order": 42 5664 + }, 5665 + { 5666 + "Id": 1882, 5667 + "QuestionId": 11, 5668 + "Text": "South Dakota", 5669 + "Value": "SD", 5670 + "Order": 43 5671 + }, 5672 + { 5673 + "Id": 1890, 5674 + "QuestionId": 11, 5675 + "Text": "Tennessee", 5676 + "Value": "TN", 5677 + "Order": 44 5678 + }, 5679 + { 5680 + "Id": 1898, 5681 + "QuestionId": 11, 5682 + "Text": "Texas", 5683 + "Value": "TX", 5684 + "Order": 45 5685 + }, 5686 + { 5687 + "Id": 1906, 5688 + "QuestionId": 11, 5689 + "Text": "Utah", 5690 + "Value": "UT", 5691 + "Order": 46 5692 + }, 5693 + { 5694 + "Id": 1914, 5695 + "QuestionId": 11, 5696 + "Text": "Vermont", 5697 + "Value": "VT", 5698 + "Order": 47 5699 + }, 5700 + { 5701 + "Id": 1922, 5702 + "QuestionId": 11, 5703 + "Text": "Virginia", 5704 + "Value": "VA", 5705 + "Order": 48 5706 + }, 5707 + { 5708 + "Id": 1930, 5709 + "QuestionId": 11, 5710 + "Text": "Washington", 5711 + "Value": "WA", 5712 + "Order": 49 5713 + }, 5714 + { 5715 + "Id": 1938, 5716 + "QuestionId": 11, 5717 + "Text": "West Virginia", 5718 + "Value": "WV", 5719 + "Order": 50 5720 + }, 5721 + { 5722 + "Id": 1946, 5723 + "QuestionId": 11, 5724 + "Text": "Wisconsin", 5725 + "Value": "WI", 5726 + "Order": 51 5727 + }, 5728 + { 5729 + "Id": 1954, 5730 + "QuestionId": 11, 5731 + "Text": "Wyoming", 5732 + "Value": "WY", 5733 + "Order": 52 5734 + }, 5735 + { 5736 + "Id": 1962, 5737 + "QuestionId": 11, 5738 + "Text": "American Samoa", 5739 + "Value": "AS", 5740 + "Order": 53 5741 + }, 5742 + { 5743 + "Id": 1970, 5744 + "QuestionId": 11, 5745 + "Text": "North Dakota", 5746 + "Value": "ND", 5747 + "Order": 36 5748 + }, 5749 + { 5750 + "Id": 1978, 5751 + "QuestionId": 11, 5752 + "Text": "Federated States of Micronesia", 5753 + "Value": "FM", 5754 + "Order": 54 5755 + }, 5756 + { 5757 + "Id": 1986, 5758 + "QuestionId": 11, 5759 + "Text": "Guam", 5760 + "Value": "GU", 5761 + "Order": 55 5762 + }, 5763 + { 5764 + "Id": 1994, 5765 + "QuestionId": 11, 5766 + "Text": "Marshall Islands", 5767 + "Value": "MH", 5768 + "Order": 56 5769 + }, 5770 + { 5771 + "Id": 2002, 5772 + "QuestionId": 11, 5773 + "Text": "Northern Mariana Islands", 5774 + "Value": "MP", 5775 + "Order": 57 5776 + }, 5777 + { 5778 + "Id": 2010, 5779 + "QuestionId": 11, 5780 + "Text": "Palau", 5781 + "Value": "PW", 5782 + "Order": 58 5783 + }, 5784 + { 5785 + "Id": 2018, 5786 + "QuestionId": 11, 5787 + "Text": "Puerto Rico", 5788 + "Value": "PR", 5789 + "Order": 59 5790 + }, 5791 + { 5792 + "Id": 2026, 5793 + "QuestionId": 11, 5794 + "Text": "U.S. Virgin Islands", 5795 + "Value": "VI", 5796 + "Order": 60 5797 + }, 5798 + { 5799 + "Id": 2034, 5800 + "QuestionId": 11, 5801 + "Text": "Armed Forces Africa", 5802 + "Value": "AE", 5803 + "Order": 61 5804 + }, 5805 + { 5806 + "Id": 2042, 5807 + "QuestionId": 11, 5808 + "Text": "Armed Forces Americas (except Canada)", 5809 + "Value": "AA", 5810 + "Order": 62 5811 + }, 5812 + { 5813 + "Id": 2050, 5814 + "QuestionId": 11, 5815 + "Text": "Armed Forces Canada", 5816 + "Value": "AE", 5817 + "Order": 63 5818 + }, 5819 + { 5820 + "Id": 2058, 5821 + "QuestionId": 11, 5822 + "Text": "Armed Forces Europe", 5823 + "Value": "AE", 5824 + "Order": 64 5825 + }, 5826 + { 5827 + "Id": 2066, 5828 + "QuestionId": 11, 5829 + "Text": "Armed Forces Middle East", 5830 + "Value": "AE", 5831 + "Order": 65 5832 + }, 5833 + { 5834 + "Id": 2074, 5835 + "QuestionId": 11, 5836 + "Text": "Armed Forces Pacific", 5837 + "Value": "AP", 5838 + "Order": 66 5839 + }, 5840 + { 5841 + "Id": 2082, 5842 + "QuestionId": 11, 5843 + "Text": "Non-US/Not Applicable", 5844 + "Value": "Non-US/Not Applicable", 5845 + "Order": 67 5846 + }, 5847 + { 5848 + "Id": 2090, 5849 + "QuestionId": 11, 5850 + "Text": "Ontario", 5851 + "Value": "Ontario", 5852 + "Order": 68 5853 + }, 5854 + { 5855 + "Id": 2098, 5856 + "QuestionId": 11, 5857 + "Text": "Quebec", 5858 + "Value": "Quebec", 5859 + "Order": 69 5860 + }, 5861 + { 5862 + "Id": 2106, 5863 + "QuestionId": 11, 5864 + "Text": "Nova Scotia", 5865 + "Value": "Nova Scotia", 5866 + "Order": 70 5867 + }, 5868 + { 5869 + "Id": 2114, 5870 + "QuestionId": 11, 5871 + "Text": "New Brunswick", 5872 + "Value": "New Brunswick", 5873 + "Order": 71 5874 + }, 5875 + { 5876 + "Id": 2122, 5877 + "QuestionId": 11, 5878 + "Text": "Manitoba", 5879 + "Value": "Manitoba", 5880 + "Order": 72 5881 + }, 5882 + { 5883 + "Id": 2130, 5884 + "QuestionId": 11, 5885 + "Text": "Brittish Columbia", 5886 + "Value": "Brittish Columbia", 5887 + "Order": 73 5888 + }, 5889 + { 5890 + "Id": 2138, 5891 + "QuestionId": 11, 5892 + "Text": "Prince Edward Island", 5893 + "Value": "Prince Edward Island", 5894 + "Order": 74 5895 + }, 5896 + { 5897 + "Id": 2146, 5898 + "QuestionId": 11, 5899 + "Text": "Saskatchewan", 5900 + "Value": "Saskatchewan", 5901 + "Order": 75 5902 + }, 5903 + { 5904 + "Id": 2154, 5905 + "QuestionId": 11, 5906 + "Text": "Alberta", 5907 + "Value": "Alberta", 5908 + "Order": 76 5909 + }, 5910 + { 5911 + "Id": 2162, 5912 + "QuestionId": 11, 5913 + "Text": "Newfoundland and Labrador", 5914 + "Value": "Newfoundland and Labrador", 5915 + "Order": 77 5916 + }, 5917 + { 5918 + "Id": 2170, 5919 + "QuestionId": 11, 5920 + "Text": "British Columbia", 5921 + "Value": "British Columbia", 5922 + "Order": 78 5923 + }, 5924 + { 5925 + "Id": 2178, 5926 + "QuestionId": 11, 5927 + "Text": "Ontario", 5928 + "Value": "ON", 5929 + "Order": 79 5930 + } 5931 + ] 5932 + }, 5933 + { 5934 + "Id": 13, 5935 + "Text": "Country", 5936 + "Type": "4", 5937 + "Alias": "Country", 5938 + "Choices": [ 5939 + { 5940 + "Id": 2, 5941 + "QuestionId": 13, 5942 + "Text": "Select One", 5943 + "Value": "", 5944 + "Order": 1 5945 + }, 5946 + { 5947 + "Id": 10, 5948 + "QuestionId": 13, 5949 + "Text": "Afghanistan", 5950 + "Value": "Afghanistan", 5951 + "Order": 3 5952 + }, 5953 + { 5954 + "Id": 18, 5955 + "QuestionId": 13, 5956 + "Text": "Albania", 5957 + "Value": "Albania", 5958 + "Order": 4 5959 + }, 5960 + { 5961 + "Id": 26, 5962 + "QuestionId": 13, 5963 + "Text": "Algeria", 5964 + "Value": "Algeria", 5965 + "Order": 5 5966 + }, 5967 + { 5968 + "Id": 34, 5969 + "QuestionId": 13, 5970 + "Text": "Andorra", 5971 + "Value": "Andorra", 5972 + "Order": 6 5973 + }, 5974 + { 5975 + "Id": 42, 5976 + "QuestionId": 13, 5977 + "Text": "Angola", 5978 + "Value": "Angola", 5979 + "Order": 7 5980 + }, 5981 + { 5982 + "Id": 50, 5983 + "QuestionId": 13, 5984 + "Text": "Antigua and Barbuda", 5985 + "Value": "Antigua and Barbuda", 5986 + "Order": 8 5987 + }, 5988 + { 5989 + "Id": 58, 5990 + "QuestionId": 13, 5991 + "Text": "Argentina", 5992 + "Value": "Argentina", 5993 + "Order": 9 5994 + }, 5995 + { 5996 + "Id": 66, 5997 + "QuestionId": 13, 5998 + "Text": "Armenia", 5999 + "Value": "Armenia", 6000 + "Order": 10 6001 + }, 6002 + { 6003 + "Id": 74, 6004 + "QuestionId": 13, 6005 + "Text": "Australia", 6006 + "Value": "Australia", 6007 + "Order": 11 6008 + }, 6009 + { 6010 + "Id": 82, 6011 + "QuestionId": 13, 6012 + "Text": "Austria", 6013 + "Value": "Austria", 6014 + "Order": 12 6015 + }, 6016 + { 6017 + "Id": 90, 6018 + "QuestionId": 13, 6019 + "Text": "Azerbaijan", 6020 + "Value": "Azerbaijan", 6021 + "Order": 13 6022 + }, 6023 + { 6024 + "Id": 98, 6025 + "QuestionId": 13, 6026 + "Text": "Bahamas", 6027 + "Value": "Bahamas", 6028 + "Order": 14 6029 + }, 6030 + { 6031 + "Id": 106, 6032 + "QuestionId": 13, 6033 + "Text": "Bahrain", 6034 + "Value": "Bahrain", 6035 + "Order": 15 6036 + }, 6037 + { 6038 + "Id": 114, 6039 + "QuestionId": 13, 6040 + "Text": "Bangladesh", 6041 + "Value": "Bangladesh", 6042 + "Order": 16 6043 + }, 6044 + { 6045 + "Id": 122, 6046 + "QuestionId": 13, 6047 + "Text": "Barbados", 6048 + "Value": "Barbados", 6049 + "Order": 17 6050 + }, 6051 + { 6052 + "Id": 130, 6053 + "QuestionId": 13, 6054 + "Text": "Belarus", 6055 + "Value": "Belarus", 6056 + "Order": 18 6057 + }, 6058 + { 6059 + "Id": 138, 6060 + "QuestionId": 13, 6061 + "Text": "Belgium", 6062 + "Value": "Belgium", 6063 + "Order": 19 6064 + }, 6065 + { 6066 + "Id": 146, 6067 + "QuestionId": 13, 6068 + "Text": "Belize", 6069 + "Value": "Belize", 6070 + "Order": 20 6071 + }, 6072 + { 6073 + "Id": 154, 6074 + "QuestionId": 13, 6075 + "Text": "Benin", 6076 + "Value": "Benin", 6077 + "Order": 21 6078 + }, 6079 + { 6080 + "Id": 162, 6081 + "QuestionId": 13, 6082 + "Text": "Bhutan", 6083 + "Value": "Bhutan", 6084 + "Order": 22 6085 + }, 6086 + { 6087 + "Id": 170, 6088 + "QuestionId": 13, 6089 + "Text": "Bolivia", 6090 + "Value": "Bolivia", 6091 + "Order": 23 6092 + }, 6093 + { 6094 + "Id": 178, 6095 + "QuestionId": 13, 6096 + "Text": "Bosnia and Herzegovina", 6097 + "Value": "Bosnia and Herzegovina", 6098 + "Order": 24 6099 + }, 6100 + { 6101 + "Id": 186, 6102 + "QuestionId": 13, 6103 + "Text": "Botswana", 6104 + "Value": "Botswana", 6105 + "Order": 25 6106 + }, 6107 + { 6108 + "Id": 194, 6109 + "QuestionId": 13, 6110 + "Text": "Brazil", 6111 + "Value": "Brazil", 6112 + "Order": 26 6113 + }, 6114 + { 6115 + "Id": 202, 6116 + "QuestionId": 13, 6117 + "Text": "Brunei", 6118 + "Value": "Brunei", 6119 + "Order": 27 6120 + }, 6121 + { 6122 + "Id": 210, 6123 + "QuestionId": 13, 6124 + "Text": "Bulgaria", 6125 + "Value": "Bulgaria", 6126 + "Order": 28 6127 + }, 6128 + { 6129 + "Id": 218, 6130 + "QuestionId": 13, 6131 + "Text": "Burkina Faso", 6132 + "Value": "Burkina Faso", 6133 + "Order": 29 6134 + }, 6135 + { 6136 + "Id": 226, 6137 + "QuestionId": 13, 6138 + "Text": "Burundi", 6139 + "Value": "Burundi", 6140 + "Order": 30 6141 + }, 6142 + { 6143 + "Id": 234, 6144 + "QuestionId": 13, 6145 + "Text": "Cambodia", 6146 + "Value": "Cambodia", 6147 + "Order": 31 6148 + }, 6149 + { 6150 + "Id": 242, 6151 + "QuestionId": 13, 6152 + "Text": "Cameroon", 6153 + "Value": "Cameroon", 6154 + "Order": 32 6155 + }, 6156 + { 6157 + "Id": 250, 6158 + "QuestionId": 13, 6159 + "Text": "Canada", 6160 + "Value": "Canada", 6161 + "Order": 33 6162 + }, 6163 + { 6164 + "Id": 258, 6165 + "QuestionId": 13, 6166 + "Text": "Cape Verde", 6167 + "Value": "Cape Verde", 6168 + "Order": 34 6169 + }, 6170 + { 6171 + "Id": 266, 6172 + "QuestionId": 13, 6173 + "Text": "Central African Republic", 6174 + "Value": "Central African Republic", 6175 + "Order": 35 6176 + }, 6177 + { 6178 + "Id": 274, 6179 + "QuestionId": 13, 6180 + "Text": "Chad", 6181 + "Value": "Chad", 6182 + "Order": 36 6183 + }, 6184 + { 6185 + "Id": 282, 6186 + "QuestionId": 13, 6187 + "Text": "Chile", 6188 + "Value": "Chile", 6189 + "Order": 37 6190 + }, 6191 + { 6192 + "Id": 290, 6193 + "QuestionId": 13, 6194 + "Text": "China", 6195 + "Value": "China", 6196 + "Order": 38 6197 + }, 6198 + { 6199 + "Id": 298, 6200 + "QuestionId": 13, 6201 + "Text": "Colombia", 6202 + "Value": "Colombia", 6203 + "Order": 39 6204 + }, 6205 + { 6206 + "Id": 306, 6207 + "QuestionId": 13, 6208 + "Text": "Comoros", 6209 + "Value": "Comoros", 6210 + "Order": 40 6211 + }, 6212 + { 6213 + "Id": 314, 6214 + "QuestionId": 13, 6215 + "Text": "Congo (Brazzaville)", 6216 + "Value": "Congo (Brazzaville)", 6217 + "Order": 41 6218 + }, 6219 + { 6220 + "Id": 322, 6221 + "QuestionId": 13, 6222 + "Text": "Congo", 6223 + "Value": "Congo", 6224 + "Order": 42 6225 + }, 6226 + { 6227 + "Id": 330, 6228 + "QuestionId": 13, 6229 + "Text": "Costa Rica", 6230 + "Value": "Costa Rica", 6231 + "Order": 43 6232 + }, 6233 + { 6234 + "Id": 338, 6235 + "QuestionId": 13, 6236 + "Text": "Cote d'Ivoire", 6237 + "Value": "Cote d'Ivoire", 6238 + "Order": 44 6239 + }, 6240 + { 6241 + "Id": 346, 6242 + "QuestionId": 13, 6243 + "Text": "Croatia", 6244 + "Value": "Croatia", 6245 + "Order": 45 6246 + }, 6247 + { 6248 + "Id": 354, 6249 + "QuestionId": 13, 6250 + "Text": "Cuba", 6251 + "Value": "Cuba", 6252 + "Order": 46 6253 + }, 6254 + { 6255 + "Id": 362, 6256 + "QuestionId": 13, 6257 + "Text": "Cyprus", 6258 + "Value": "Cyprus", 6259 + "Order": 47 6260 + }, 6261 + { 6262 + "Id": 370, 6263 + "QuestionId": 13, 6264 + "Text": "Czech Republic", 6265 + "Value": "Czech Republic", 6266 + "Order": 48 6267 + }, 6268 + { 6269 + "Id": 378, 6270 + "QuestionId": 13, 6271 + "Text": "Denmark", 6272 + "Value": "Denmark", 6273 + "Order": 49 6274 + }, 6275 + { 6276 + "Id": 386, 6277 + "QuestionId": 13, 6278 + "Text": "Djibouti", 6279 + "Value": "Djibouti", 6280 + "Order": 50 6281 + }, 6282 + { 6283 + "Id": 394, 6284 + "QuestionId": 13, 6285 + "Text": "Dominica", 6286 + "Value": "Dominica", 6287 + "Order": 51 6288 + }, 6289 + { 6290 + "Id": 402, 6291 + "QuestionId": 13, 6292 + "Text": "Dominican Republic", 6293 + "Value": "Dominican Republic", 6294 + "Order": 52 6295 + }, 6296 + { 6297 + "Id": 410, 6298 + "QuestionId": 13, 6299 + "Text": "East Timor", 6300 + "Value": "East Timor", 6301 + "Order": 53 6302 + }, 6303 + { 6304 + "Id": 418, 6305 + "QuestionId": 13, 6306 + "Text": "Ecuador", 6307 + "Value": "Ecuador", 6308 + "Order": 54 6309 + }, 6310 + { 6311 + "Id": 426, 6312 + "QuestionId": 13, 6313 + "Text": "Egypt", 6314 + "Value": "Egypt", 6315 + "Order": 55 6316 + }, 6317 + { 6318 + "Id": 434, 6319 + "QuestionId": 13, 6320 + "Text": "El Salvador", 6321 + "Value": "El Salvador", 6322 + "Order": 56 6323 + }, 6324 + { 6325 + "Id": 442, 6326 + "QuestionId": 13, 6327 + "Text": "Equatorial Guinea", 6328 + "Value": "Equatorial Guinea", 6329 + "Order": 57 6330 + }, 6331 + { 6332 + "Id": 450, 6333 + "QuestionId": 13, 6334 + "Text": "Eritrea", 6335 + "Value": "Eritrea", 6336 + "Order": 58 6337 + }, 6338 + { 6339 + "Id": 458, 6340 + "QuestionId": 13, 6341 + "Text": "Estonia", 6342 + "Value": "Estonia", 6343 + "Order": 59 6344 + }, 6345 + { 6346 + "Id": 466, 6347 + "QuestionId": 13, 6348 + "Text": "Ethiopia", 6349 + "Value": "Ethiopia", 6350 + "Order": 60 6351 + }, 6352 + { 6353 + "Id": 474, 6354 + "QuestionId": 13, 6355 + "Text": "Fiji", 6356 + "Value": "Fiji", 6357 + "Order": 61 6358 + }, 6359 + { 6360 + "Id": 482, 6361 + "QuestionId": 13, 6362 + "Text": "Finland", 6363 + "Value": "Finland", 6364 + "Order": 62 6365 + }, 6366 + { 6367 + "Id": 490, 6368 + "QuestionId": 13, 6369 + "Text": "France", 6370 + "Value": "France", 6371 + "Order": 63 6372 + }, 6373 + { 6374 + "Id": 498, 6375 + "QuestionId": 13, 6376 + "Text": "Gabon", 6377 + "Value": "Gabon", 6378 + "Order": 64 6379 + }, 6380 + { 6381 + "Id": 506, 6382 + "QuestionId": 13, 6383 + "Text": "Gambia, The", 6384 + "Value": "Gambia, The", 6385 + "Order": 65 6386 + }, 6387 + { 6388 + "Id": 514, 6389 + "QuestionId": 13, 6390 + "Text": "Georgia", 6391 + "Value": "Georgia", 6392 + "Order": 66 6393 + }, 6394 + { 6395 + "Id": 522, 6396 + "QuestionId": 13, 6397 + "Text": "Germany", 6398 + "Value": "Germany", 6399 + "Order": 67 6400 + }, 6401 + { 6402 + "Id": 530, 6403 + "QuestionId": 13, 6404 + "Text": "Ghana", 6405 + "Value": "Ghana", 6406 + "Order": 68 6407 + }, 6408 + { 6409 + "Id": 538, 6410 + "QuestionId": 13, 6411 + "Text": "Greece", 6412 + "Value": "Greece", 6413 + "Order": 69 6414 + }, 6415 + { 6416 + "Id": 546, 6417 + "QuestionId": 13, 6418 + "Text": "Grenada", 6419 + "Value": "Grenada", 6420 + "Order": 70 6421 + }, 6422 + { 6423 + "Id": 554, 6424 + "QuestionId": 13, 6425 + "Text": "Guatemala", 6426 + "Value": "Guatemala", 6427 + "Order": 71 6428 + }, 6429 + { 6430 + "Id": 562, 6431 + "QuestionId": 13, 6432 + "Text": "Guinea", 6433 + "Value": "Guinea", 6434 + "Order": 72 6435 + }, 6436 + { 6437 + "Id": 570, 6438 + "QuestionId": 13, 6439 + "Text": "Guinea-Bissau", 6440 + "Value": "Guinea-Bissau", 6441 + "Order": 73 6442 + }, 6443 + { 6444 + "Id": 578, 6445 + "QuestionId": 13, 6446 + "Text": "Guyana", 6447 + "Value": "Guyana", 6448 + "Order": 74 6449 + }, 6450 + { 6451 + "Id": 586, 6452 + "QuestionId": 13, 6453 + "Text": "Haiti", 6454 + "Value": "Haiti", 6455 + "Order": 75 6456 + }, 6457 + { 6458 + "Id": 594, 6459 + "QuestionId": 13, 6460 + "Text": "Honduras", 6461 + "Value": "Honduras", 6462 + "Order": 76 6463 + }, 6464 + { 6465 + "Id": 602, 6466 + "QuestionId": 13, 6467 + "Text": "Hungary", 6468 + "Value": "Hungary", 6469 + "Order": 77 6470 + }, 6471 + { 6472 + "Id": 610, 6473 + "QuestionId": 13, 6474 + "Text": "Iceland", 6475 + "Value": "Iceland", 6476 + "Order": 78 6477 + }, 6478 + { 6479 + "Id": 618, 6480 + "QuestionId": 13, 6481 + "Text": "India", 6482 + "Value": "India", 6483 + "Order": 79 6484 + }, 6485 + { 6486 + "Id": 626, 6487 + "QuestionId": 13, 6488 + "Text": "Indonesia", 6489 + "Value": "Indonesia", 6490 + "Order": 80 6491 + }, 6492 + { 6493 + "Id": 634, 6494 + "QuestionId": 13, 6495 + "Text": "Iran", 6496 + "Value": "Iran", 6497 + "Order": 81 6498 + }, 6499 + { 6500 + "Id": 642, 6501 + "QuestionId": 13, 6502 + "Text": "Iraq", 6503 + "Value": "Iraq", 6504 + "Order": 82 6505 + }, 6506 + { 6507 + "Id": 650, 6508 + "QuestionId": 13, 6509 + "Text": "Ireland", 6510 + "Value": "Ireland", 6511 + "Order": 83 6512 + }, 6513 + { 6514 + "Id": 658, 6515 + "QuestionId": 13, 6516 + "Text": "Israel", 6517 + "Value": "Israel", 6518 + "Order": 84 6519 + }, 6520 + { 6521 + "Id": 666, 6522 + "QuestionId": 13, 6523 + "Text": "Italy", 6524 + "Value": "Italy", 6525 + "Order": 85 6526 + }, 6527 + { 6528 + "Id": 674, 6529 + "QuestionId": 13, 6530 + "Text": "Jamaica", 6531 + "Value": "Jamaica", 6532 + "Order": 86 6533 + }, 6534 + { 6535 + "Id": 682, 6536 + "QuestionId": 13, 6537 + "Text": "Japan", 6538 + "Value": "Japan", 6539 + "Order": 87 6540 + }, 6541 + { 6542 + "Id": 690, 6543 + "QuestionId": 13, 6544 + "Text": "Jordan", 6545 + "Value": "Jordan", 6546 + "Order": 88 6547 + }, 6548 + { 6549 + "Id": 698, 6550 + "QuestionId": 13, 6551 + "Text": "Kazakhstan", 6552 + "Value": "Kazakhstan", 6553 + "Order": 89 6554 + }, 6555 + { 6556 + "Id": 706, 6557 + "QuestionId": 13, 6558 + "Text": "Kenya", 6559 + "Value": "Kenya", 6560 + "Order": 90 6561 + }, 6562 + { 6563 + "Id": 714, 6564 + "QuestionId": 13, 6565 + "Text": "Kiribati", 6566 + "Value": "Kiribati", 6567 + "Order": 91 6568 + }, 6569 + { 6570 + "Id": 722, 6571 + "QuestionId": 13, 6572 + "Text": "Korea, North", 6573 + "Value": "Korea, North", 6574 + "Order": 92 6575 + }, 6576 + { 6577 + "Id": 730, 6578 + "QuestionId": 13, 6579 + "Text": "Korea, South", 6580 + "Value": "Korea, South", 6581 + "Order": 93 6582 + }, 6583 + { 6584 + "Id": 738, 6585 + "QuestionId": 13, 6586 + "Text": "Kuwait", 6587 + "Value": "Kuwait", 6588 + "Order": 94 6589 + }, 6590 + { 6591 + "Id": 746, 6592 + "QuestionId": 13, 6593 + "Text": "Kyrgyzstan", 6594 + "Value": "Kyrgyzstan", 6595 + "Order": 95 6596 + }, 6597 + { 6598 + "Id": 754, 6599 + "QuestionId": 13, 6600 + "Text": "Laos", 6601 + "Value": "Laos", 6602 + "Order": 96 6603 + }, 6604 + { 6605 + "Id": 762, 6606 + "QuestionId": 13, 6607 + "Text": "Latvia", 6608 + "Value": "Latvia", 6609 + "Order": 97 6610 + }, 6611 + { 6612 + "Id": 770, 6613 + "QuestionId": 13, 6614 + "Text": "Lebanon", 6615 + "Value": "Lebanon", 6616 + "Order": 98 6617 + }, 6618 + { 6619 + "Id": 778, 6620 + "QuestionId": 13, 6621 + "Text": "Lesotho", 6622 + "Value": "Lesotho", 6623 + "Order": 99 6624 + }, 6625 + { 6626 + "Id": 786, 6627 + "QuestionId": 13, 6628 + "Text": "Liberia", 6629 + "Value": "Liberia", 6630 + "Order": 100 6631 + }, 6632 + { 6633 + "Id": 794, 6634 + "QuestionId": 13, 6635 + "Text": "Libya", 6636 + "Value": "Libya", 6637 + "Order": 101 6638 + }, 6639 + { 6640 + "Id": 802, 6641 + "QuestionId": 13, 6642 + "Text": "Liechtenstein", 6643 + "Value": "Liechtenstein", 6644 + "Order": 102 6645 + }, 6646 + { 6647 + "Id": 810, 6648 + "QuestionId": 13, 6649 + "Text": "Lithuania", 6650 + "Value": "Lithuania", 6651 + "Order": 103 6652 + }, 6653 + { 6654 + "Id": 818, 6655 + "QuestionId": 13, 6656 + "Text": "Luxembourg", 6657 + "Value": "Luxembourg", 6658 + "Order": 104 6659 + }, 6660 + { 6661 + "Id": 826, 6662 + "QuestionId": 13, 6663 + "Text": "Macedonia", 6664 + "Value": "Macedonia", 6665 + "Order": 105 6666 + }, 6667 + { 6668 + "Id": 834, 6669 + "QuestionId": 13, 6670 + "Text": "Madagascar", 6671 + "Value": "Madagascar", 6672 + "Order": 106 6673 + }, 6674 + { 6675 + "Id": 842, 6676 + "QuestionId": 13, 6677 + "Text": "Malawi", 6678 + "Value": "Malawi", 6679 + "Order": 107 6680 + }, 6681 + { 6682 + "Id": 850, 6683 + "QuestionId": 13, 6684 + "Text": "Malaysia", 6685 + "Value": "Malaysia", 6686 + "Order": 108 6687 + }, 6688 + { 6689 + "Id": 858, 6690 + "QuestionId": 13, 6691 + "Text": "Maldives", 6692 + "Value": "Maldives", 6693 + "Order": 109 6694 + }, 6695 + { 6696 + "Id": 866, 6697 + "QuestionId": 13, 6698 + "Text": "Mali", 6699 + "Value": "Mali", 6700 + "Order": 110 6701 + }, 6702 + { 6703 + "Id": 874, 6704 + "QuestionId": 13, 6705 + "Text": "Malta", 6706 + "Value": "Malta", 6707 + "Order": 111 6708 + }, 6709 + { 6710 + "Id": 882, 6711 + "QuestionId": 13, 6712 + "Text": "Marshall Islands", 6713 + "Value": "Marshall Islands", 6714 + "Order": 112 6715 + }, 6716 + { 6717 + "Id": 890, 6718 + "QuestionId": 13, 6719 + "Text": "Mauritania", 6720 + "Value": "Mauritania", 6721 + "Order": 113 6722 + }, 6723 + { 6724 + "Id": 898, 6725 + "QuestionId": 13, 6726 + "Text": "Mauritius", 6727 + "Value": "Mauritius", 6728 + "Order": 114 6729 + }, 6730 + { 6731 + "Id": 906, 6732 + "QuestionId": 13, 6733 + "Text": "Mexico", 6734 + "Value": "Mexico", 6735 + "Order": 115 6736 + }, 6737 + { 6738 + "Id": 914, 6739 + "QuestionId": 13, 6740 + "Text": "Micronesia", 6741 + "Value": "Micronesia", 6742 + "Order": 116 6743 + }, 6744 + { 6745 + "Id": 922, 6746 + "QuestionId": 13, 6747 + "Text": "Moldova", 6748 + "Value": "Moldova", 6749 + "Order": 117 6750 + }, 6751 + { 6752 + "Id": 930, 6753 + "QuestionId": 13, 6754 + "Text": "Monaco", 6755 + "Value": "Monaco", 6756 + "Order": 118 6757 + }, 6758 + { 6759 + "Id": 938, 6760 + "QuestionId": 13, 6761 + "Text": "Mongolia", 6762 + "Value": "Mongolia", 6763 + "Order": 119 6764 + }, 6765 + { 6766 + "Id": 946, 6767 + "QuestionId": 13, 6768 + "Text": "Morocco", 6769 + "Value": "Morocco", 6770 + "Order": 120 6771 + }, 6772 + { 6773 + "Id": 954, 6774 + "QuestionId": 13, 6775 + "Text": "Mozambique", 6776 + "Value": "Mozambique", 6777 + "Order": 121 6778 + }, 6779 + { 6780 + "Id": 962, 6781 + "QuestionId": 13, 6782 + "Text": "Myanmar", 6783 + "Value": "Myanmar", 6784 + "Order": 122 6785 + }, 6786 + { 6787 + "Id": 970, 6788 + "QuestionId": 13, 6789 + "Text": "Namibia", 6790 + "Value": "Namibia", 6791 + "Order": 123 6792 + }, 6793 + { 6794 + "Id": 978, 6795 + "QuestionId": 13, 6796 + "Text": "Nauru", 6797 + "Value": "Nauru", 6798 + "Order": 124 6799 + }, 6800 + { 6801 + "Id": 986, 6802 + "QuestionId": 13, 6803 + "Text": "Nepa", 6804 + "Value": "Nepa", 6805 + "Order": 125 6806 + }, 6807 + { 6808 + "Id": 994, 6809 + "QuestionId": 13, 6810 + "Text": "Netherlands", 6811 + "Value": "Netherlands", 6812 + "Order": 126 6813 + }, 6814 + { 6815 + "Id": 1002, 6816 + "QuestionId": 13, 6817 + "Text": "New Zealand", 6818 + "Value": "New Zealand", 6819 + "Order": 127 6820 + }, 6821 + { 6822 + "Id": 1010, 6823 + "QuestionId": 13, 6824 + "Text": "Nicaragua", 6825 + "Value": "Nicaragua", 6826 + "Order": 128 6827 + }, 6828 + { 6829 + "Id": 1018, 6830 + "QuestionId": 13, 6831 + "Text": "Niger", 6832 + "Value": "Niger", 6833 + "Order": 129 6834 + }, 6835 + { 6836 + "Id": 1026, 6837 + "QuestionId": 13, 6838 + "Text": "Nigeria", 6839 + "Value": "Nigeria", 6840 + "Order": 130 6841 + }, 6842 + { 6843 + "Id": 1034, 6844 + "QuestionId": 13, 6845 + "Text": "Norway", 6846 + "Value": "Norway", 6847 + "Order": 131 6848 + }, 6849 + { 6850 + "Id": 1042, 6851 + "QuestionId": 13, 6852 + "Text": "Oman", 6853 + "Value": "Oman", 6854 + "Order": 132 6855 + }, 6856 + { 6857 + "Id": 1050, 6858 + "QuestionId": 13, 6859 + "Text": "Pakistan", 6860 + "Value": "Pakistan", 6861 + "Order": 133 6862 + }, 6863 + { 6864 + "Id": 1058, 6865 + "QuestionId": 13, 6866 + "Text": "Palau", 6867 + "Value": "Palau", 6868 + "Order": 134 6869 + }, 6870 + { 6871 + "Id": 1066, 6872 + "QuestionId": 13, 6873 + "Text": "Panama", 6874 + "Value": "Panama", 6875 + "Order": 135 6876 + }, 6877 + { 6878 + "Id": 1074, 6879 + "QuestionId": 13, 6880 + "Text": "Papua New Guinea", 6881 + "Value": "Papua New Guinea", 6882 + "Order": 136 6883 + }, 6884 + { 6885 + "Id": 1082, 6886 + "QuestionId": 13, 6887 + "Text": "Paraguay", 6888 + "Value": "Paraguay", 6889 + "Order": 137 6890 + }, 6891 + { 6892 + "Id": 1090, 6893 + "QuestionId": 13, 6894 + "Text": "Peru", 6895 + "Value": "Peru", 6896 + "Order": 138 6897 + }, 6898 + { 6899 + "Id": 1098, 6900 + "QuestionId": 13, 6901 + "Text": "Philippines", 6902 + "Value": "Philippines", 6903 + "Order": 139 6904 + }, 6905 + { 6906 + "Id": 1106, 6907 + "QuestionId": 13, 6908 + "Text": "Poland", 6909 + "Value": "Poland", 6910 + "Order": 140 6911 + }, 6912 + { 6913 + "Id": 1114, 6914 + "QuestionId": 13, 6915 + "Text": "Portugal", 6916 + "Value": "Portugal", 6917 + "Order": 141 6918 + }, 6919 + { 6920 + "Id": 1122, 6921 + "QuestionId": 13, 6922 + "Text": "Qatar", 6923 + "Value": "Qatar", 6924 + "Order": 142 6925 + }, 6926 + { 6927 + "Id": 1130, 6928 + "QuestionId": 13, 6929 + "Text": "Romania", 6930 + "Value": "Romania", 6931 + "Order": 143 6932 + }, 6933 + { 6934 + "Id": 1138, 6935 + "QuestionId": 13, 6936 + "Text": "Russia", 6937 + "Value": "Russia", 6938 + "Order": 144 6939 + }, 6940 + { 6941 + "Id": 1146, 6942 + "QuestionId": 13, 6943 + "Text": "Rwanda", 6944 + "Value": "Rwanda", 6945 + "Order": 145 6946 + }, 6947 + { 6948 + "Id": 1154, 6949 + "QuestionId": 13, 6950 + "Text": "Saint Kitts and Nevis", 6951 + "Value": "Saint Kitts and Nevis", 6952 + "Order": 146 6953 + }, 6954 + { 6955 + "Id": 1162, 6956 + "QuestionId": 13, 6957 + "Text": "Saint Lucia", 6958 + "Value": "Saint Lucia", 6959 + "Order": 147 6960 + }, 6961 + { 6962 + "Id": 1170, 6963 + "QuestionId": 13, 6964 + "Text": "Saint Vincent", 6965 + "Value": "Saint Vincent", 6966 + "Order": 148 6967 + }, 6968 + { 6969 + "Id": 1178, 6970 + "QuestionId": 13, 6971 + "Text": "Samoa", 6972 + "Value": "Samoa", 6973 + "Order": 149 6974 + }, 6975 + { 6976 + "Id": 1186, 6977 + "QuestionId": 13, 6978 + "Text": "San Marino", 6979 + "Value": "San Marino", 6980 + "Order": 150 6981 + }, 6982 + { 6983 + "Id": 1194, 6984 + "QuestionId": 13, 6985 + "Text": "Sao Tome and Principe", 6986 + "Value": "Sao Tome and Principe", 6987 + "Order": 151 6988 + }, 6989 + { 6990 + "Id": 1202, 6991 + "QuestionId": 13, 6992 + "Text": "Saudi Arabia", 6993 + "Value": "Saudi Arabia", 6994 + "Order": 152 6995 + }, 6996 + { 6997 + "Id": 1210, 6998 + "QuestionId": 13, 6999 + "Text": "Senegal", 7000 + "Value": "Senegal", 7001 + "Order": 153 7002 + }, 7003 + { 7004 + "Id": 1218, 7005 + "QuestionId": 13, 7006 + "Text": "Serbia and Montenegro", 7007 + "Value": "Serbia and Montenegro", 7008 + "Order": 154 7009 + }, 7010 + { 7011 + "Id": 1226, 7012 + "QuestionId": 13, 7013 + "Text": "Seychelles", 7014 + "Value": "Seychelles", 7015 + "Order": 155 7016 + }, 7017 + { 7018 + "Id": 1234, 7019 + "QuestionId": 13, 7020 + "Text": "Sierra Leone", 7021 + "Value": "Sierra Leone", 7022 + "Order": 156 7023 + }, 7024 + { 7025 + "Id": 1242, 7026 + "QuestionId": 13, 7027 + "Text": "Singapore", 7028 + "Value": "Singapore", 7029 + "Order": 157 7030 + }, 7031 + { 7032 + "Id": 1250, 7033 + "QuestionId": 13, 7034 + "Text": "Slovakia", 7035 + "Value": "Slovakia", 7036 + "Order": 158 7037 + }, 7038 + { 7039 + "Id": 1258, 7040 + "QuestionId": 13, 7041 + "Text": "Slovenia", 7042 + "Value": "Slovenia", 7043 + "Order": 159 7044 + }, 7045 + { 7046 + "Id": 1266, 7047 + "QuestionId": 13, 7048 + "Text": "Solomon Islands", 7049 + "Value": "Solomon Islands", 7050 + "Order": 160 7051 + }, 7052 + { 7053 + "Id": 1274, 7054 + "QuestionId": 13, 7055 + "Text": "Somalia", 7056 + "Value": "Somalia", 7057 + "Order": 161 7058 + }, 7059 + { 7060 + "Id": 1282, 7061 + "QuestionId": 13, 7062 + "Text": "South Africa", 7063 + "Value": "South Africa", 7064 + "Order": 162 7065 + }, 7066 + { 7067 + "Id": 1290, 7068 + "QuestionId": 13, 7069 + "Text": "Spain", 7070 + "Value": "Spain", 7071 + "Order": 163 7072 + }, 7073 + { 7074 + "Id": 1298, 7075 + "QuestionId": 13, 7076 + "Text": "Sri Lanka", 7077 + "Value": "Sri Lanka", 7078 + "Order": 164 7079 + }, 7080 + { 7081 + "Id": 1306, 7082 + "QuestionId": 13, 7083 + "Text": "Sudan", 7084 + "Value": "Sudan", 7085 + "Order": 165 7086 + }, 7087 + { 7088 + "Id": 1314, 7089 + "QuestionId": 13, 7090 + "Text": "Suriname", 7091 + "Value": "Suriname", 7092 + "Order": 166 7093 + }, 7094 + { 7095 + "Id": 1322, 7096 + "QuestionId": 13, 7097 + "Text": "Swaziland", 7098 + "Value": "Swaziland", 7099 + "Order": 167 7100 + }, 7101 + { 7102 + "Id": 1330, 7103 + "QuestionId": 13, 7104 + "Text": "Sweden", 7105 + "Value": "Sweden", 7106 + "Order": 168 7107 + }, 7108 + { 7109 + "Id": 1338, 7110 + "QuestionId": 13, 7111 + "Text": "Switzerland", 7112 + "Value": "Switzerland", 7113 + "Order": 169 7114 + }, 7115 + { 7116 + "Id": 1346, 7117 + "QuestionId": 13, 7118 + "Text": "Syria", 7119 + "Value": "Syria", 7120 + "Order": 170 7121 + }, 7122 + { 7123 + "Id": 1354, 7124 + "QuestionId": 13, 7125 + "Text": "Taiwan", 7126 + "Value": "Taiwan", 7127 + "Order": 171 7128 + }, 7129 + { 7130 + "Id": 1362, 7131 + "QuestionId": 13, 7132 + "Text": "Tajikistan", 7133 + "Value": "Tajikistan", 7134 + "Order": 172 7135 + }, 7136 + { 7137 + "Id": 1370, 7138 + "QuestionId": 13, 7139 + "Text": "Tanzania", 7140 + "Value": "Tanzania", 7141 + "Order": 173 7142 + }, 7143 + { 7144 + "Id": 1378, 7145 + "QuestionId": 13, 7146 + "Text": "Thailand", 7147 + "Value": "Thailand", 7148 + "Order": 174 7149 + }, 7150 + { 7151 + "Id": 1386, 7152 + "QuestionId": 13, 7153 + "Text": "Togo", 7154 + "Value": "Togo", 7155 + "Order": 175 7156 + }, 7157 + { 7158 + "Id": 1394, 7159 + "QuestionId": 13, 7160 + "Text": "Tonga", 7161 + "Value": "Tonga", 7162 + "Order": 176 7163 + }, 7164 + { 7165 + "Id": 1402, 7166 + "QuestionId": 13, 7167 + "Text": "Trinidad and Tobago", 7168 + "Value": "Trinidad and Tobago", 7169 + "Order": 177 7170 + }, 7171 + { 7172 + "Id": 1410, 7173 + "QuestionId": 13, 7174 + "Text": "Tunisia", 7175 + "Value": "Tunisia", 7176 + "Order": 178 7177 + }, 7178 + { 7179 + "Id": 1418, 7180 + "QuestionId": 13, 7181 + "Text": "Turkey", 7182 + "Value": "Turkey", 7183 + "Order": 179 7184 + }, 7185 + { 7186 + "Id": 1426, 7187 + "QuestionId": 13, 7188 + "Text": "Turkmenistan", 7189 + "Value": "Turkmenistan", 7190 + "Order": 180 7191 + }, 7192 + { 7193 + "Id": 1434, 7194 + "QuestionId": 13, 7195 + "Text": "Tuvalu", 7196 + "Value": "Tuvalu", 7197 + "Order": 181 7198 + }, 7199 + { 7200 + "Id": 1442, 7201 + "QuestionId": 13, 7202 + "Text": "Uganda", 7203 + "Value": "Uganda", 7204 + "Order": 182 7205 + }, 7206 + { 7207 + "Id": 1450, 7208 + "QuestionId": 13, 7209 + "Text": "Ukraine", 7210 + "Value": "Ukraine", 7211 + "Order": 183 7212 + }, 7213 + { 7214 + "Id": 1458, 7215 + "QuestionId": 13, 7216 + "Text": "United Arab Emirates", 7217 + "Value": "United Arab Emirates", 7218 + "Order": 184 7219 + }, 7220 + { 7221 + "Id": 1466, 7222 + "QuestionId": 13, 7223 + "Text": "United Kingdom", 7224 + "Value": "United Kingdom", 7225 + "Order": 185 7226 + }, 7227 + { 7228 + "Id": 1474, 7229 + "QuestionId": 13, 7230 + "Text": "United States", 7231 + "Value": "United States", 7232 + "Order": 2 7233 + }, 7234 + { 7235 + "Id": 1482, 7236 + "QuestionId": 13, 7237 + "Text": "Uruguay", 7238 + "Value": "Uruguay", 7239 + "Order": 186 7240 + }, 7241 + { 7242 + "Id": 1490, 7243 + "QuestionId": 13, 7244 + "Text": "Uzbekistan", 7245 + "Value": "Uzbekistan", 7246 + "Order": 187 7247 + }, 7248 + { 7249 + "Id": 1498, 7250 + "QuestionId": 13, 7251 + "Text": "Vanuatu", 7252 + "Value": "Vanuatu", 7253 + "Order": 188 7254 + }, 7255 + { 7256 + "Id": 1506, 7257 + "QuestionId": 13, 7258 + "Text": "Vatican City", 7259 + "Value": "Vatican City", 7260 + "Order": 189 7261 + }, 7262 + { 7263 + "Id": 1514, 7264 + "QuestionId": 13, 7265 + "Text": "Venezuela", 7266 + "Value": "Venezuela", 7267 + "Order": 190 7268 + }, 7269 + { 7270 + "Id": 1522, 7271 + "QuestionId": 13, 7272 + "Text": "Vietnam", 7273 + "Value": "Vietnam", 7274 + "Order": 191 7275 + }, 7276 + { 7277 + "Id": 1530, 7278 + "QuestionId": 13, 7279 + "Text": "Yemen", 7280 + "Value": "Yemen", 7281 + "Order": 192 7282 + }, 7283 + { 7284 + "Id": 1538, 7285 + "QuestionId": 13, 7286 + "Text": "Zambia", 7287 + "Value": "Zambia", 7288 + "Order": 193 7289 + }, 7290 + { 7291 + "Id": 1546, 7292 + "QuestionId": 13, 7293 + "Text": "Zimbabwe", 7294 + "Value": "Zimbabwe", 7295 + "Order": 194 7296 + }, 7297 + { 7298 + "Id": 2186, 7299 + "QuestionId": 13, 7300 + "Text": "British Columbia", 7301 + "Value": "British Columbia", 7302 + "Order": 195 7303 + } 7304 + ] 7305 + }, 7306 + { 7307 + "Id": 178, 7308 + "Text": "Job Function", 7309 + "Type": "4", 7310 + "Alias": "Job Function", 7311 + "Choices": [ 7312 + { 7313 + "Id": 2266, 7314 + "QuestionId": 178, 7315 + "Text": "Select One", 7316 + "Value": "", 7317 + "Order": 1 7318 + }, 7319 + { 7320 + "Id": 2274, 7321 + "QuestionId": 178, 7322 + "Text": "Sales", 7323 + "Value": "Sales", 7324 + "Order": 2 7325 + }, 7326 + { 7327 + "Id": 2282, 7328 + "QuestionId": 178, 7329 + "Text": "Marketing", 7330 + "Value": "Marketing", 7331 + "Order": 3 7332 + }, 7333 + { 7334 + "Id": 2290, 7335 + "QuestionId": 178, 7336 + "Text": "New Media", 7337 + "Value": "New Media", 7338 + "Order": 4 7339 + }, 7340 + { 7341 + "Id": 2298, 7342 + "QuestionId": 178, 7343 + "Text": "Audience Development", 7344 + "Value": "Audience Development", 7345 + "Order": 5 7346 + }, 7347 + { 7348 + "Id": 2306, 7349 + "QuestionId": 178, 7350 + "Text": "Editorial", 7351 + "Value": "Editorial", 7352 + "Order": 6 7353 + }, 7354 + { 7355 + "Id": 2314, 7356 + "QuestionId": 178, 7357 + "Text": "Information Technology", 7358 + "Value": "IT", 7359 + "Order": 7 7360 + }, 7361 + { 7362 + "Id": 2322, 7363 + "QuestionId": 178, 7364 + "Text": "Corporate", 7365 + "Value": "Corporate", 7366 + "Order": 8 7367 + }, 7368 + { 7369 + "Id": 2418, 7370 + "QuestionId": 178, 7371 + "Text": "Other", 7372 + "Value": "Other", 7373 + "Order": 9 7374 + } 7375 + ] 7376 + }, 7377 + { 7378 + "Id": 202, 7379 + "Text": "Type of Publication", 7380 + "Type": "4", 7381 + "Alias": "Type of Publication", 7382 + "Choices": [ 7383 + { 7384 + "Id": 2330, 7385 + "QuestionId": 202, 7386 + "Text": "Select One", 7387 + "Value": "", 7388 + "Order": 1 7389 + }, 7390 + { 7391 + "Id": 2338, 7392 + "QuestionId": 202, 7393 + "Text": "Magazine", 7394 + "Value": "Magazine", 7395 + "Order": 2 7396 + }, 7397 + { 7398 + "Id": 2346, 7399 + "QuestionId": 202, 7400 + "Text": "Newspaper", 7401 + "Value": "Newspaper", 7402 + "Order": 3 7403 + }, 7404 + { 7405 + "Id": 2354, 7406 + "QuestionId": 202, 7407 + "Text": "Digital Publisher", 7408 + "Value": "Digital Publisher", 7409 + "Order": 4 7410 + }, 7411 + { 7412 + "Id": 2362, 7413 + "QuestionId": 202, 7414 + "Text": "Book Publisher", 7415 + "Value": "Book Publisher", 7416 + "Order": 5 7417 + }, 7418 + { 7419 + "Id": 2370, 7420 + "QuestionId": 202, 7421 + "Text": "Newsletter/Email", 7422 + "Value": "Newsletter/Email", 7423 + "Order": 6 7424 + } 7425 + ] 7426 + }, 7427 + { 7428 + "Id": 226, 7429 + "Text": "What is your time frame for deployment?", 7430 + "Type": "4", 7431 + "Alias": "What is your time frame for deployment?", 7432 + "Choices": [ 7433 + { 7434 + "Id": 2378, 7435 + "QuestionId": 226, 7436 + "Text": "Select One", 7437 + "Value": "", 7438 + "Order": 1 7439 + }, 7440 + { 7441 + "Id": 2386, 7442 + "QuestionId": 226, 7443 + "Text": "0-3 months", 7444 + "Value": "0-3", 7445 + "Order": 2 7446 + }, 7447 + { 7448 + "Id": 2394, 7449 + "QuestionId": 226, 7450 + "Text": "3-6 months", 7451 + "Value": "3-6", 7452 + "Order": 3 7453 + }, 7454 + { 7455 + "Id": 2402, 7456 + "QuestionId": 226, 7457 + "Text": "6-12 months", 7458 + "Value": "6-12", 7459 + "Order": 4 7460 + }, 7461 + { 7462 + "Id": 2410, 7463 + "QuestionId": 226, 7464 + "Text": "No Formal Plans", 7465 + "Value": "No Formal Plans", 7466 + "Order": 5 7467 + } 7468 + ] 7469 + }, 7470 + { 7471 + "Id": 250, 7472 + "Text": "Industry", 7473 + "Type": "4", 7474 + "Alias": "Industry", 7475 + "Choices": [ 7476 + { 7477 + "Id": 2426, 7478 + "QuestionId": 250, 7479 + "Text": "Agency", 7480 + "Value": "Agency", 7481 + "Order": 2 7482 + }, 7483 + { 7484 + "Id": 2434, 7485 + "QuestionId": 250, 7486 + "Text": "Association", 7487 + "Value": "Association", 7488 + "Order": 3 7489 + }, 7490 + { 7491 + "Id": 2442, 7492 + "QuestionId": 250, 7493 + "Text": "Direct Marketing", 7494 + "Value": "Direct Marketing", 7495 + "Order": 4 7496 + }, 7497 + { 7498 + "Id": 2450, 7499 + "QuestionId": 250, 7500 + "Text": "Publisher", 7501 + "Value": "Publisher", 7502 + "Order": 5 7503 + }, 7504 + { 7505 + "Id": 2458, 7506 + "QuestionId": 250, 7507 + "Text": "Service Bureau", 7508 + "Value": "Service Bureau", 7509 + "Order": 6 7510 + }, 7511 + { 7512 + "Id": 2466, 7513 + "QuestionId": 250, 7514 + "Text": "Select One", 7515 + "Value": "Government", 7516 + "Order": 1 7517 + }, 7518 + { 7519 + "Id": 2737, 7520 + "QuestionId": 250, 7521 + "Text": "Other", 7522 + "Value": "Other", 7523 + "Order": 7 7524 + }, 7525 + { 7526 + "Id": 3051, 7527 + "QuestionId": 250, 7528 + "Text": "Business Services", 7529 + "Value": "Business Services", 7530 + "Order": 8 7531 + }, 7532 + { 7533 + "Id": 3059, 7534 + "QuestionId": 250, 7535 + "Text": "Business Services, Media & Internet", 7536 + "Value": "Business Services, Media & Internet", 7537 + "Order": 9 7538 + }, 7539 + { 7540 + "Id": 3067, 7541 + "QuestionId": 250, 7542 + "Text": "Business Services,Consumer Services", 7543 + "Value": "Business Services,Consumer Services", 7544 + "Order": 10 7545 + }, 7546 + { 7547 + "Id": 3075, 7548 + "QuestionId": 250, 7549 + "Text": "Business Services,Finance", 7550 + "Value": "Business Services,Finance", 7551 + "Order": 11 7552 + }, 7553 + { 7554 + "Id": 3083, 7555 + "QuestionId": 250, 7556 + "Text": "Business Services,Retail,Media & Internet", 7557 + "Value": "Business Services,Retail,Media & Internet", 7558 + "Order": 12 7559 + }, 7560 + { 7561 + "Id": 3091, 7562 + "QuestionId": 250, 7563 + "Text": "Business Services,Telecommunications", 7564 + "Value": "Business Services,Telecommunications", 7565 + "Order": 13 7566 + }, 7567 + { 7568 + "Id": 3099, 7569 + "QuestionId": 250, 7570 + "Text": "Energy, Utilities & Waste Treatment", 7571 + "Value": "Energy, Utilities & Waste Treatment", 7572 + "Order": 14 7573 + }, 7574 + { 7575 + "Id": 3107, 7576 + "QuestionId": 250, 7577 + "Text": "Finance", 7578 + "Value": "Finance", 7579 + "Order": 15 7580 + }, 7581 + { 7582 + "Id": 3115, 7583 + "QuestionId": 250, 7584 + "Text": "Hospitality", 7585 + "Value": "Hospitality", 7586 + "Order": 16 7587 + }, 7588 + { 7589 + "Id": 3123, 7590 + "QuestionId": 250, 7591 + "Text": "Hospitality,Media & Internet", 7592 + "Value": "Hospitality,Media & Internet", 7593 + "Order": 17 7594 + }, 7595 + { 7596 + "Id": 3131, 7597 + "QuestionId": 250, 7598 + "Text": "Insurance", 7599 + "Value": "Insurance", 7600 + "Order": 18 7601 + }, 7602 + { 7603 + "Id": 3139, 7604 + "QuestionId": 250, 7605 + "Text": "Insurance, Finance", 7606 + "Value": "Insurance, Finance", 7607 + "Order": 19 7608 + }, 7609 + { 7610 + "Id": 3147, 7611 + "QuestionId": 250, 7612 + "Text": "Manufacturing", 7613 + "Value": "Manufacturing", 7614 + "Order": 20 7615 + }, 7616 + { 7617 + "Id": 3155, 7618 + "QuestionId": 250, 7619 + "Text": "Manufacturing,Business Services", 7620 + "Value": "Manufacturing,Business Services", 7621 + "Order": 21 7622 + }, 7623 + { 7624 + "Id": 3163, 7625 + "QuestionId": 250, 7626 + "Text": "Manufacturing,Retail,Healthcare", 7627 + "Value": "Manufacturing,Retail,Healthcare", 7628 + "Order": 22 7629 + }, 7630 + { 7631 + "Id": 3171, 7632 + "QuestionId": 250, 7633 + "Text": "Media & Internet", 7634 + "Value": "Media & Internet", 7635 + "Order": 23 7636 + }, 7637 + { 7638 + "Id": 3179, 7639 + "QuestionId": 250, 7640 + "Text": "Media & Internet,Business Services", 7641 + "Value": "Media & Internet,Business Services", 7642 + "Order": 24 7643 + }, 7644 + { 7645 + "Id": 3187, 7646 + "QuestionId": 250, 7647 + "Text": "Organizations", 7648 + "Value": "Organizations", 7649 + "Order": 25 7650 + }, 7651 + { 7652 + "Id": 3195, 7653 + "QuestionId": 250, 7654 + "Text": "Real Estate", 7655 + "Value": "Real Estate", 7656 + "Order": 26 7657 + }, 7658 + { 7659 + "Id": 3203, 7660 + "QuestionId": 250, 7661 + "Text": "Retail", 7662 + "Value": "Retail", 7663 + "Order": 27 7664 + }, 7665 + { 7666 + "Id": 3211, 7667 + "QuestionId": 250, 7668 + "Text": "Retail,Software,Consumer Services", 7669 + "Value": "Retail,Software,Consumer Services", 7670 + "Order": 28 7671 + }, 7672 + { 7673 + "Id": 3219, 7674 + "QuestionId": 250, 7675 + "Text": "Software", 7676 + "Value": "Software", 7677 + "Order": 29 7678 + }, 7679 + { 7680 + "Id": 3227, 7681 + "QuestionId": 250, 7682 + "Text": "Retail, Manufacturing", 7683 + "Value": "Retail, Manufacturing", 7684 + "Order": 30 7685 + }, 7686 + { 7687 + "Id": 3235, 7688 + "QuestionId": 250, 7689 + "Text": "Software,Manufacturing,Retail", 7690 + "Value": "Software,Manufacturing,Retail", 7691 + "Order": 31 7692 + }, 7693 + { 7694 + "Id": 3243, 7695 + "QuestionId": 250, 7696 + "Text": "Business Services,Media & Internet", 7697 + "Value": "Business Services,Media & Internet", 7698 + "Order": 32 7699 + }, 7700 + { 7701 + "Id": 3251, 7702 + "QuestionId": 250, 7703 + "Text": "Telecommunications", 7704 + "Value": "Telecommunications", 7705 + "Order": 33 7706 + } 7707 + ] 7708 + }, 7709 + { 7710 + "Id": 274, 7711 + "Text": "How many employees work at your company?_Copy", 7712 + "Type": "4", 7713 + "Alias": "ALL", 7714 + "Choices": [ 7715 + { 7716 + "Id": 2698, 7717 + "QuestionId": 274, 7718 + "Text": "1-25", 7719 + "Value": "01", 7720 + "Order": 1 7721 + }, 7722 + { 7723 + "Id": 2706, 7724 + "QuestionId": 274, 7725 + "Text": "26-100", 7726 + "Value": "02", 7727 + "Order": 2 7728 + }, 7729 + { 7730 + "Id": 2714, 7731 + "QuestionId": 274, 7732 + "Text": "101-250", 7733 + "Value": "03", 7734 + "Order": 3 7735 + }, 7736 + { 7737 + "Id": 2722, 7738 + "QuestionId": 274, 7739 + "Text": "251-500", 7740 + "Value": "04", 7741 + "Order": 4 7742 + }, 7743 + { 7744 + "Id": 2730, 7745 + "QuestionId": 274, 7746 + "Text": "500+", 7747 + "Value": "05", 7748 + "Order": 5 7749 + } 7750 + ] 7751 + }, 7752 + { 7753 + "Id": 281, 7754 + "Text": "How many employees work at your company?_Copy", 7755 + "Type": "4", 7756 + "Alias": "How many employees work at your company?_Copy", 7757 + "Choices": [ 7758 + { 7759 + "Id": 2745, 7760 + "QuestionId": 281, 7761 + "Text": "1-25", 7762 + "Value": "01", 7763 + "Order": 1 7764 + }, 7765 + { 7766 + "Id": 2753, 7767 + "QuestionId": 281, 7768 + "Text": "26-100", 7769 + "Value": "02", 7770 + "Order": 2 7771 + }, 7772 + { 7773 + "Id": 2761, 7774 + "QuestionId": 281, 7775 + "Text": "101-250", 7776 + "Value": "03", 7777 + "Order": 3 7778 + }, 7779 + { 7780 + "Id": 2769, 7781 + "QuestionId": 281, 7782 + "Text": "251-500", 7783 + "Value": "04", 7784 + "Order": 4 7785 + }, 7786 + { 7787 + "Id": 2777, 7788 + "QuestionId": 281, 7789 + "Text": "500+", 7790 + "Value": "05", 7791 + "Order": 5 7792 + } 7793 + ] 7794 + }, 7795 + { 7796 + "Id": 291, 7797 + "Text": "DAS Question Update", 7798 + "Type": "4", 7799 + "Alias": "DAS Question Update", 7800 + "Choices": [ 7801 + { 7802 + "Id": 2859, 7803 + "QuestionId": 291, 7804 + "Text": "Choice a Update", 7805 + "Value": "a Update", 7806 + "Order": 1 7807 + }, 7808 + { 7809 + "Id": 2867, 7810 + "QuestionId": 291, 7811 + "Text": "Choice b Update", 7812 + "Value": "b Update", 7813 + "Order": 2 7814 + } 7815 + ] 7816 + }, 7817 + { 7818 + "Id": 363, 7819 + "Text": "Group Size", 7820 + "Type": "4", 7821 + "Alias": "Group Size", 7822 + "Choices": [ 7823 + { 7824 + "Id": 3027, 7825 + "QuestionId": 363, 7826 + "Text": "NA", 7827 + "Value": "NA", 7828 + "Order": 1 7829 + }, 7830 + { 7831 + "Id": 3035, 7832 + "QuestionId": 363, 7833 + "Text": "0-10", 7834 + "Value": "0-10", 7835 + "Order": 2 7836 + }, 7837 + { 7838 + "Id": 3043, 7839 + "QuestionId": 363, 7840 + "Text": "10-25", 7841 + "Value": "10-25", 7842 + "Order": 3 7843 + } 7844 + ] 7845 + }, 7846 + { 7847 + "Id": 399, 7848 + "Text": "What best describes your job title?", 7849 + "Type": "4", 7850 + "Alias": "1105-title", 7851 + "Choices": [ 7852 + { 7853 + "Id": 3255, 7854 + "QuestionId": 399, 7855 + "Text": "CIO, CTO, CKO, Technical/VP", 7856 + "Value": "CIO", 7857 + "Order": 1 7858 + }, 7859 + { 7860 + "Id": 3263, 7861 + "QuestionId": 399, 7862 + "Text": "Corporate Management", 7863 + "Value": "corporate", 7864 + "Order": 2 7865 + }, 7866 + { 7867 + "Id": 3271, 7868 + "QuestionId": 399, 7869 + "Text": "IS/IT Director/Manager", 7870 + "Value": "it", 7871 + "Order": 3 7872 + }, 7873 + { 7874 + "Id": 3279, 7875 + "QuestionId": 399, 7876 + "Text": "Director of Softare Development", 7877 + "Value": "software director", 7878 + "Order": 4 7879 + }, 7880 + { 7881 + "Id": 3287, 7882 + "QuestionId": 399, 7883 + "Text": "Application Development Manager", 7884 + "Value": "ADM", 7885 + "Order": 5 7886 + } 7887 + ] 7888 + }, 7889 + { 7890 + "Id": 407, 7891 + "Text": "What is your organization's (or largest client, if you are a consultant) primary business at this location?", 7892 + "Type": "4", 7893 + "Alias": "1105 largest client", 7894 + "Choices": [ 7895 + { 7896 + "Id": 3295, 7897 + "QuestionId": 407, 7898 + "Text": "Aerospace", 7899 + "Value": "aerospace", 7900 + "Order": 1 7901 + }, 7902 + { 7903 + "Id": 3303, 7904 + "QuestionId": 407, 7905 + "Text": "Agriculture/Mining/Gas/Oil", 7906 + "Value": "ag", 7907 + "Order": 2 7908 + }, 7909 + { 7910 + "Id": 3311, 7911 + "QuestionId": 407, 7912 + "Text": "Business Services/Consultants", 7913 + "Value": "bs", 7914 + "Order": 3 7915 + }, 7916 + { 7917 + "Id": 3319, 7918 + "QuestionId": 407, 7919 + "Text": "Construction/Architecture/Engineering", 7920 + "Value": "construction", 7921 + "Order": 4 7922 + }, 7923 + { 7924 + "Id": 3327, 7925 + "QuestionId": 407, 7926 + "Text": "Education/Training", 7927 + "Value": "education", 7928 + "Order": 5 7929 + } 7930 + ] 7931 + }, 7932 + { 7933 + "Id": 415, 7934 + "Text": "What is the total number of employees in your entire organzation?", 7935 + "Type": "4", 7936 + "Alias": "1105 num employees", 7937 + "Choices": [ 7938 + { 7939 + "Id": 3335, 7940 + "QuestionId": 415, 7941 + "Text": "10,000 or more", 7942 + "Value": "10000", 7943 + "Order": 1 7944 + }, 7945 + { 7946 + "Id": 3343, 7947 + "QuestionId": 415, 7948 + "Text": "5,000 - 9,999", 7949 + "Value": "5000", 7950 + "Order": 2 7951 + }, 7952 + { 7953 + "Id": 3351, 7954 + "QuestionId": 415, 7955 + "Text": "1,000 - 4,999", 7956 + "Value": "1000", 7957 + "Order": 3 7958 + }, 7959 + { 7960 + "Id": 3359, 7961 + "QuestionId": 415, 7962 + "Text": "500 - 999", 7963 + "Value": "500", 7964 + "Order": 4 7965 + }, 7966 + { 7967 + "Id": 3367, 7968 + "QuestionId": 415, 7969 + "Text": "100 - 499", 7970 + "Value": "100", 7971 + "Order": 5 7972 + }, 7973 + { 7974 + "Id": 3375, 7975 + "QuestionId": 415, 7976 + "Text": "Under 100", 7977 + "Value": "Under 100", 7978 + "Order": 6 7979 + } 7980 + ] 7981 + }, 7982 + { 7983 + "Id": 423, 7984 + "Text": "saaa", 7985 + "Type": "4", 7986 + "Alias": "test", 7987 + "Choices": [ 7988 + { 7989 + "Id": 3383, 7990 + "QuestionId": 423, 7991 + "Text": "1", 7992 + "Value": "1", 7993 + "Order": 1 7994 + }, 7995 + { 7996 + "Id": 3391, 7997 + "QuestionId": 423, 7998 + "Text": "3", 7999 + "Value": "3", 8000 + "Order": 2 8001 + } 8002 + ] 8003 + } 8004 + ] 2049 2049 } 8006 +{{/code}} 2050 2050 2051 2051 (% class="western" %) 2052 - },8009 +\\ 2053 2053 2054 -(% class=" western" %)2055 -" Questions":[8011 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 8012 +== (% 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 question type numeric, text, password, textarea and date(%%) == 2056 2056 2057 -(% class="western" %) 8014 +---- 8015 + 8016 +{{panel bgColor="#D3D3D3" width="100%"}} 8017 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/questions 8018 +{{/panel}} 8019 + 8020 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 8021 + 8022 +---- 8023 + 8024 +(% 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}} 8025 + 8026 +=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) === 8027 + 8028 +---- 8029 + 8030 +{{code language="yml" theme="RDark" title="Body"}} 8031 +{"Text":"Test from API 3","Type":0,"Alias":"Test from API 3"} 8032 +{{/code}} 8033 + 8034 +==== Example ==== 8035 + 8036 +---- 8037 + 8038 +(% style="color: rgb(107,107,107);" %)Request 8039 + 8040 +{{code language="php" theme="RDark" title="Create Question Request"}} 8041 +<?php 8042 + 8043 +$curl = curl_init(); 8044 + 8045 +curl_setopt_array($curl, array( 8046 + CURLOPT_URL => 'https://api.onecount.net/v2/questions', 8047 + CURLOPT_RETURNTRANSFER => true, 8048 + CURLOPT_ENCODING => '', 8049 + CURLOPT_MAXREDIRS => 10, 8050 + CURLOPT_TIMEOUT => 0, 8051 + CURLOPT_FOLLOWLOCATION => true, 8052 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 8053 + CURLOPT_CUSTOMREQUEST => 'POST', 8054 + CURLOPT_POSTFIELDS =>'{"Text":"Test from API 3","Type":0,"Alias":"Test from API 3"}', 8055 + CURLOPT_HTTPHEADER => array( 8056 + 'Appkey: {{ONECOUNT API KEY}}' 8057 + ), 8058 +)); 8059 + 8060 +$response = curl_exec($curl); 8061 + 8062 +curl_close($curl); 8063 +echo $response; 8064 +{{/code}} 8065 + 8066 +\\ 8067 + 8068 +(% style="color: rgb(107,107,107);" %)Response 200 OK 8069 + 8070 +{{code language="yml" theme="RDark" title="Create question Response" collapse="true"}} 2058 2058 { 8072 + "result": { 8073 + "success": "1", 8074 + "error": { 8075 + "code": "", 8076 + "message": "" 8077 + } 8078 + }, 8079 + "Questions": [ 8080 + { 8081 + "Id": 455 8082 + } 8083 + ] 8084 +} 8085 +{{/code}} 2059 2059 2060 -(% class="western" %) 2061 -"Id": "6", 8087 +\\ 2062 2062 2063 -(% class=" western" %)2064 -" Text": "FirstName",8089 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 8090 +== (% 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 question type select, radio and checkbox(%%) == 2065 2065 2066 -(% class="western" %) 2067 -"Type": "1", 8092 +---- 2068 2068 2069 -(% class="western" %) 2070 -"Alias": "FName" 8094 +{{panel bgColor="#D3D3D3" width="100%"}} 8095 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/questions 8096 +{{/panel}} 2071 2071 2072 -(% class="western" %) 8098 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 8099 + 8100 +---- 8101 + 8102 +(% 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}} 8103 + 8104 +=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) === 8105 + 8106 +---- 8107 + 8108 +{{code language="yml" theme="RDark" title="Body"}} 8109 +{"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"}]} 8110 +{{/code}} 8111 + 8112 +==== Example ==== 8113 + 8114 +---- 8115 + 8116 +(% style="color: rgb(107,107,107);" %)Request 8117 + 8118 +{{code language="php" theme="RDark" title="Create Question Request"}} 8119 +<?php 8120 + 8121 +$curl = curl_init(); 8122 + 8123 +curl_setopt_array($curl, array( 8124 + CURLOPT_URL => 'https://api.onecount.net/v2/questions', 8125 + CURLOPT_RETURNTRANSFER => true, 8126 + CURLOPT_ENCODING => '', 8127 + CURLOPT_MAXREDIRS => 10, 8128 + CURLOPT_TIMEOUT => 0, 8129 + CURLOPT_FOLLOWLOCATION => true, 8130 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 8131 + CURLOPT_CUSTOMREQUEST => 'POST', 8132 + CURLOPT_POSTFIELDS =>'{"Text":"Test from API 5","Type":4,"Alias":"Test from API 5", "Choices":[{"Text":"test 1","Value":"test 1"},{"Text":"test 2","Value":"test 2"}]}', 8133 + CURLOPT_HTTPHEADER => array( 8134 + 'Appkey: {{ONECOUNT API KEY}}' 8135 + ), 8136 +)); 8137 + 8138 +$response = curl_exec($curl); 8139 + 8140 +curl_close($curl); 8141 +echo $response; 8142 +{{/code}} 8143 + 8144 +\\ 8145 + 8146 +(% style="color: rgb(107,107,107);" %)Response 200 OK 8147 + 8148 +{{code language="yml" theme="RDark" title="Create question Response" collapse="true"}} 8149 +{ 8150 + "result": { 8151 + "success": "1", 8152 + "error": { 8153 + "code": "", 8154 + "message": "" 8155 + } 8156 + }, 8157 + "Questions": [ 8158 + { 8159 + "Id": 495 8160 + } 8161 + ] 2073 2073 } 8163 +{{/code}} 2074 2074 2075 -(% class="western" %) 2076 -] 8165 +\\ 2077 2077 2078 -(% class="western" %) 8167 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 8168 +== (% 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 question(%%) == 8169 + 8170 +---- 8171 + 8172 +{{panel bgColor="#D3D3D3" width="100%"}} 8173 + (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/questions/~{~{QUESTION ID}} 8174 +{{/panel}} 8175 + 8176 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 8177 + 8178 +---- 8179 + 8180 +(% 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}} 8181 + 8182 +=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) === 8183 + 8184 +---- 8185 + 8186 +{{code language="yml" theme="RDark" title="Body"}} 8187 +{"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"}]} 8188 +{{/code}} 8189 + 8190 +==== Example ==== 8191 + 8192 +---- 8193 + 8194 +(% style="color: rgb(107,107,107);" %)Request 8195 + 8196 +{{code language="php" theme="RDark" title="Update Question Request"}} 8197 +<?php 8198 + 8199 +$curl = curl_init(); 8200 + 8201 +curl_setopt_array($curl, array( 8202 + CURLOPT_URL => 'https://api.onecount.net/v2/questions/{{QUESTION ID}}', 8203 + CURLOPT_RETURNTRANSFER => true, 8204 + CURLOPT_ENCODING => '', 8205 + CURLOPT_MAXREDIRS => 10, 8206 + CURLOPT_TIMEOUT => 0, 8207 + CURLOPT_FOLLOWLOCATION => true, 8208 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 8209 + CURLOPT_CUSTOMREQUEST => 'PUT', 8210 + CURLOPT_POSTFIELDS =>'{"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"}]}', 8211 + CURLOPT_HTTPHEADER => array( 8212 + 'Appkey: {{ONECOUNT API KEY}}' 8213 + ), 8214 +)); 8215 + 8216 +$response = curl_exec($curl); 8217 + 8218 +curl_close($curl); 8219 +echo $response; 8220 + 8221 + 8222 +{{/code}} 8223 + 8224 +\\ 8225 + 8226 +(% style="color: rgb(107,107,107);" %)Response 200 OK 8227 + 8228 +{{code language="yml" theme="RDark" title="Update Question Response" collapse="true"}} 8229 +{ 8230 + "result": { 8231 + "success": "1", 8232 + "error": { 8233 + "code": "", 8234 + "message": "" 8235 + } 8236 + }, 8237 + "Questions": [ 8238 + { 8239 + "Id": 503 8240 + } 8241 + ] 2079 2079 } 8243 +{{/code}} 2080 2080 2081 2081 (% class="western" %) 2082 2082 \\ 2083 2083 2084 2084 (% class="western" %) 2085 -**COMPONENT: Products** 8249 +=== **COMPONENT: Products** === 2086 2086 2087 2087 (% class="western" %) 2088 2088 This resource is for manipulating products resource. A product can be created, updated or searched. 2089 2089 8254 +(% class="wrapped" %) 2090 2090 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2091 2091 ((( 2092 2092 (% class="western" %) ... ... @@ -2190,210 +2190,704 @@ 2190 2190 2191 2191 \\ 2192 2192 2193 -(% class=" western" %)2194 - **GETmethodshouldbeusedtookupproducts.**8358 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 8359 +== (% 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 Products(%%) == 2195 2195 2196 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2197 -((( 2198 -(% class="western" %) 2199 -**Request** 2200 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2201 -((( 2202 -(% class="western" %) 2203 -**Type** 2204 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2205 -((( 2206 -(% class="western" %) 2207 -**Description** 2208 -))) 2209 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2210 -((( 2211 -(% class="western" %) 2212 -Lookup params 2213 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2214 -((( 2215 -(% class="western" %) 2216 -String 2217 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2218 -((( 2219 -(% class="western" %) 2220 -URL encoded key value string parameter for the lookup. 8361 +---- 2221 2221 2222 -(% class="western" %) 2223 -Params: 8363 +---- 2224 2224 2225 - (%class="western")2226 - Name:NameoftheProductforlookup(String)2227 - )))8365 +{{panel bgColor="#D3D3D3" width="100%"}} 8366 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/products 8367 +{{/panel}} 2228 2228 2229 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2230 -((( 2231 -(% class="western" %) 2232 -**Response** 2233 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2234 -((( 2235 -(% class="western" %) 2236 -**Type** 2237 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2238 -((( 2239 -(% class="western" %) 2240 -**Description** 2241 -))) 2242 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2243 -((( 2244 -(% class="western" %) 2245 -Products 2246 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2247 -((( 2248 -(% class="western" %) 2249 -Products 2250 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2251 -((( 2252 -(% class="western" %) 2253 -Returns found product details. 2254 -))) 8369 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 2255 2255 8371 +---- 8372 + 8373 +(% 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}} 8374 + 8375 +==== Example ==== 8376 + 8377 +---- 8378 + 8379 +(% style="color: rgb(107,107,107);" %)Request 8380 + 8381 +{{code language="php" theme="RDark" title="Get All Products Request"}} 8382 +<?php 8383 + 8384 +$curl = curl_init(); 8385 + 8386 +curl_setopt_array($curl, array( 8387 + CURLOPT_URL => 'https://api.onecount.net/v2/products', 8388 + CURLOPT_RETURNTRANSFER => true, 8389 + CURLOPT_ENCODING => '', 8390 + CURLOPT_MAXREDIRS => 10, 8391 + CURLOPT_TIMEOUT => 0, 8392 + CURLOPT_FOLLOWLOCATION => true, 8393 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 8394 + CURLOPT_CUSTOMREQUEST => 'GET', 8395 + CURLOPT_HTTPHEADER => array( 8396 + 'Appkey: {{ONECOUNT API KEY}}' 8397 + ), 8398 +)); 8399 + 8400 +$response = curl_exec($curl); 8401 + 8402 +curl_close($curl); 8403 +echo $response; 8404 + 8405 + 8406 +{{/code}} 8407 + 2256 2256 \\ 2257 2257 2258 -(% class="western" %) 2259 -**POST method should be used to create products.** 8410 +(% style="color: rgb(107,107,107);" %)Response 200 OK 2260 2260 2261 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2262 -((( 2263 -(% class="western" %) 2264 -**Request** 2265 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2266 -((( 2267 -(% class="western" %) 2268 -**Type** 2269 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2270 -((( 2271 -(% class="western" %) 2272 -**Description** 2273 -))) 2274 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2275 -((( 2276 -(% class="western" %) 2277 -Products 2278 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2279 -((( 2280 -(% class="western" %) 2281 -Products 2282 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2283 -((( 2284 -(% class="western" %) 2285 -Product details in json to be sent as post data. Id should not be set. 8412 +{{code language="yml" theme="RDark" title="Get All Products Response" collapse="true"}} 8413 + { 8414 + "result": { 8415 + "success": "1", 8416 + "error": { 8417 + "code": "", 8418 + "message": "" 8419 + } 8420 + }, 8421 + "Products": [ 8422 + { 8423 + "ProductId": 26, 8424 + "Title": "ONEcount Product Demo", 8425 + "Description": "", 8426 + "ResourceIDs": [], 8427 + "PrimaryFormID": [ 8428 + "307", 8429 + "34" 8430 + ], 8431 + "Terms": { 8432 + "Id": 26, 8433 + "Name": "Please contact me to arrange a demo", 8434 + "Description": "", 8435 + "Duration": 1, 8436 + "DurationUnit": "I", 8437 + "Price": "0", 8438 + "ProductId": 26 8439 + } 8440 + }, 8441 + { 8442 + "ProductId": 34, 8443 + "Title": "ONEcount Promotional Emails", 8444 + "Description": "Master List of ONEcount prospects to receive promotional emails, etc.", 8445 + "ResourceIDs": [ 8446 + 98, 8447 + 114 8448 + ], 8449 + "PrimaryFormID": [ 8450 + "194" 8451 + ], 8452 + "Terms": { 8453 + "Id": 34, 8454 + "Name": "ONEcount Promotional Emails", 8455 + "Description": "ONEcount promotional emails", 8456 + "Duration": 1, 8457 + "DurationUnit": "I", 8458 + "Price": "0", 8459 + "ProductId": 34 8460 + } 8461 + }, 8462 + { 8463 + "ProductId": 42, 8464 + "Title": "ONEcount Staff", 8465 + "Description": "ONEcount/GCN Media Staff", 8466 + "ResourceIDs": [ 8467 + 18 8468 + ], 8469 + "PrimaryFormID": [ 8470 + "186" 8471 + ], 8472 + "Terms": { 8473 + "Id": 42, 8474 + "Name": "ONEcount Staff List", 8475 + "Description": "List of ONEcount/GCN Media Staff", 8476 + "Duration": 1, 8477 + "DurationUnit": "I", 8478 + "Price": "0", 8479 + "ProductId": 42 8480 + } 8481 + }, 8482 + { 8483 + "ProductId": 49, 8484 + "Title": "ONEcount Medical Publishers", 8485 + "Description": "For blasts to medical publishers and associations", 8486 + "ResourceIDs": [ 8487 + 137 8488 + ], 8489 + "PrimaryFormID": [ 8490 + "170" 8491 + ], 8492 + "Terms": { 8493 + "Id": 49, 8494 + "Name": "ONEcount Medical Publishers", 8495 + "Description": "ONEcount Medical Publishers and Associations", 8496 + "Duration": 1, 8497 + "DurationUnit": "I", 8498 + "Price": "0", 8499 + "ProductId": 49 8500 + } 8501 + }, 8502 + { 8503 + "ProductId": 57, 8504 + "Title": "000 Pop-Up Form", 8505 + "Description": "", 8506 + "ResourceIDs": [ 8507 + 145 8508 + ], 8509 + "PrimaryFormID": [ 8510 + "170" 8511 + ], 8512 + "Terms": { 8513 + "Id": 57, 8514 + "Name": "000 Pop-Up Term", 8515 + "Description": "", 8516 + "Duration": 1, 8517 + "DurationUnit": "I", 8518 + "Price": "0", 8519 + "ProductId": 57 8520 + } 8521 + }, 8522 + { 8523 + "ProductId": 65, 8524 + "Title": "TEST", 8525 + "Description": "", 8526 + "ResourceIDs": [], 8527 + "PrimaryFormID": [ 8528 + "194" 8529 + ], 8530 + "Terms": {} 8531 + }, 8532 + { 8533 + "ProductId": 67, 8534 + "Title": "Gated Product Example PKG", 8535 + "Description": "", 8536 + "ResourceIDs": [], 8537 + "PrimaryFormID": [ 8538 + "195" 8539 + ], 8540 + "Terms": { 8541 + "Id": 59, 8542 + "Name": "Get it for free", 8543 + "Description": "", 8544 + "Duration": 1, 8545 + "DurationUnit": "I", 8546 + "Price": "0", 8547 + "ProductId": 67 8548 + } 8549 + }, 8550 + { 8551 + "ProductId": 75, 8552 + "Title": "SB: Apple Moves To Limit Tracking in Safari: Prove", 8553 + "Description": "", 8554 + "ResourceIDs": [], 8555 + "PrimaryFormID": [], 8556 + "Terms": {} 8557 + }, 8558 + { 8559 + "ProductId": 83, 8560 + "Title": "SB: Audience Extension: Turning Identity Into Cash", 8561 + "Description": "", 8562 + "ResourceIDs": [], 8563 + "PrimaryFormID": [], 8564 + "Terms": {} 8565 + }, 8566 + { 8567 + "ProductId": 91, 8568 + "Title": "DAS_freepass_00", 8569 + "Description": "", 8570 + "ResourceIDs": [ 8571 + 187 8572 + ], 8573 + "PrimaryFormID": [ 8574 + "267" 8575 + ], 8576 + "Terms": { 8577 + "Id": 67, 8578 + "Name": "DAS_freepass_00", 8579 + "Description": "", 8580 + "Duration": 30, 8581 + "DurationUnit": "D", 8582 + "Price": "0", 8583 + "ProductId": 91 8584 + } 8585 + }, 8586 + { 8587 + "ProductId": 99, 8588 + "Title": "Test12311111", 8589 + "Description": "Testss", 8590 + "ResourceIDs": [], 8591 + "PrimaryFormID": [ 8592 + "10" 8593 + ], 8594 + "Terms": { 8595 + "Id": 75, 8596 + "Name": "Product123", 8597 + "Description": null, 8598 + "Duration": 0, 8599 + "DurationUnit": "", 8600 + "Price": "0", 8601 + "ProductId": 99 8602 + } 8603 + }, 8604 + { 8605 + "ProductId": 107, 8606 + "Title": "Test123-456", 8607 + "Description": "Testss updated", 8608 + "ResourceIDs": [ 8609 + 98 8610 + ], 8611 + "PrimaryFormID": [ 8612 + "10" 8613 + ], 8614 + "Terms": { 8615 + "Id": 83, 8616 + "Name": "Product123", 8617 + "Description": null, 8618 + "Duration": 0, 8619 + "DurationUnit": "", 8620 + "Price": "0", 8621 + "ProductId": 107 8622 + } 8623 + }, 8624 + { 8625 + "ProductId": 109, 8626 + "Title": "Webinar: Enhanced Analytics 2-26-2019 at 1 PM", 8627 + "Description": "", 8628 + "ResourceIDs": [ 8629 + 197 8630 + ], 8631 + "PrimaryFormID": [], 8632 + "Terms": { 8633 + "Id": 93, 8634 + "Name": "Enhanced Analytics Webinar", 8635 + "Description": "Check the box to register for the February 26th webinar.", 8636 + "Duration": 1, 8637 + "DurationUnit": "I", 8638 + "Price": "0", 8639 + "ProductId": 109 8640 + } 8641 + } 8642 + ] 8643 +} 8644 +{{/code}} 2286 2286 2287 -(% class="western" %) 2288 -Example: 8646 +\\ 2289 2289 2290 -(% class="western" %) 2291 -{"Title":"Test123","Description": "Testss","Terms":{"Name":"Product123"},"PrimaryFormId":10,"ResourceID":17} 2292 -))) 8648 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 8649 +== (% 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 Product(%%) == 2293 2293 2294 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2295 -((( 2296 -(% class="western" %) 2297 -**Response** 2298 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2299 -((( 2300 -(% class="western" %) 2301 -**Type** 2302 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2303 -((( 2304 -(% class="western" %) 2305 -**Description** 2306 -))) 2307 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2308 -((( 2309 -(% class="western" %) 2310 -ProductId 2311 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2312 -((( 2313 -(% class="western" %) 2314 -int 2315 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2316 -((( 2317 -(% class="western" %) 2318 -Product Id of the newly created product. 2319 -))) 8651 +---- 2320 2320 8653 +{{panel bgColor="#D3D3D3" width="100%"}} 8654 + (% class="nolink" %)https:~/~/api.onecount.net/v2/users(% style="color: rgb(33,33,33);" %)/products/~{~{product id}} 8655 +{{/panel}} 8656 + 8657 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 8658 + 8659 +---- 8660 + 8661 +(% 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}} 8662 + 8663 +==== Example ==== 8664 + 8665 +---- 8666 + 8667 +(% style="color: rgb(107,107,107);" %)Request 8668 + 8669 +{{code language="php" theme="RDark" title="Get specific Product Request"}} 8670 + <?php 8671 + 8672 +$curl = curl_init(); 8673 + 8674 +curl_setopt_array($curl, array( 8675 + CURLOPT_URL => 'https://api.onecount.net/v2/users/products/{{product id}}', 8676 + CURLOPT_RETURNTRANSFER => true, 8677 + CURLOPT_ENCODING => '', 8678 + CURLOPT_MAXREDIRS => 10, 8679 + CURLOPT_TIMEOUT => 0, 8680 + CURLOPT_FOLLOWLOCATION => true, 8681 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 8682 + CURLOPT_CUSTOMREQUEST => 'GET', 8683 + CURLOPT_HTTPHEADER => array( 8684 + 'Appkey: {{ONECOUNT API KEY}}' 8685 + ), 8686 +)); 8687 + 8688 +$response = curl_exec($curl); 8689 + 8690 +curl_close($curl); 8691 +echo $response; 8692 +{{/code}} 8693 + 2321 2321 \\ 2322 2322 2323 -(% class="western" %) 2324 -PUT method should be used to update an individual product given the product info. 8696 +(% style="color: rgb(107,107,107);" %)Response 200 OK 2325 2325 2326 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2327 -((( 2328 -(% class="western" %) 2329 -**Request** 2330 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2331 -((( 2332 -(% class="western" %) 2333 -**Type** 2334 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2335 -((( 2336 -(% class="western" %) 2337 -**Description** 2338 -))) 2339 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2340 -((( 2341 -(% class="western" %) 2342 -Products 2343 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2344 -((( 2345 -(% class="western" %) 2346 -Product 2347 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2348 -((( 2349 -(% class="western" %) 2350 -Product details to be updated in json format to be sent with request. Id property needs to be set to identify the product to be updated. If you send term and resource along with product creation then it will automatically attach term to product and resource to product. 8698 +{{code language="yml" theme="RDark" title="Get specific Product Response" collapse="true"}} 8699 + { 8700 + "result": { 8701 + "success": "1", 8702 + "error": { 8703 + "code": "", 8704 + "message": "" 8705 + } 8706 + }, 8707 + "Products": [ 8708 + { 8709 + "ProductId": 109, 8710 + "Title": "Webinar: Enhanced Analytics 2-26-2019 at 1 PM", 8711 + "Description": "", 8712 + "ResourceIDs": [ 8713 + 197 8714 + ], 8715 + "PrimaryFormID": [], 8716 + "Terms": { 8717 + "Id": 93, 8718 + "Name": "Enhanced Analytics Webinar", 8719 + "Description": "Check the box to register for the February 26th webinar.", 8720 + "Duration": 1, 8721 + "DurationUnit": "I", 8722 + "Price": "0", 8723 + "ProductId": 109 8724 + } 8725 + } 8726 + ] 8727 +} 8728 +{{/code}} 2351 2351 2352 -(% class="western" %) 2353 -**Possible Request Params**: Title, Description, PrimaryFormId, ResourceID 8730 +\\ 2354 2354 2355 -(% class=" western" %)2356 - **Example**:8732 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 8733 +== (% 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);" %)lookup Product(%%) == 2357 2357 2358 -(% class="western" %) 2359 -{"Title":"Test123","Description": "Testss","PrimaryFormId":10,"ResourceID":17} 2360 -))) 8735 +---- 2361 2361 2362 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2363 -((( 2364 -(% class="western" %) 2365 -**Response** 2366 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2367 -((( 2368 -(% class="western" %) 2369 -**Type** 2370 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2371 -((( 2372 -(% class="western" %) 2373 -**Description** 2374 -))) 2375 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2376 -((( 2377 -(% class="western" %) 2378 -ProductId 2379 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2380 -((( 2381 -(% class="western" %) 2382 -Int 2383 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2384 -((( 2385 -(% class="western" %) 2386 -Product id of the updated product. 2387 -))) 8737 +{{panel bgColor="#D3D3D3" width="100%"}} 8738 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/products/lookup?Title=~{~{Product Name}} 8739 +{{/panel}} 2388 2388 8741 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 8742 + 8743 +---- 8744 + 8745 +(% 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}} 8746 + 8747 +=== (% style="color: rgb(33,33,33);" %)Query Params(%%) === 8748 + 8749 +---- 8750 + 8751 +(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Title (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key nolink" style="color: rgb(33, 33, 33); color: rgb(33, 33, 33)" %)~{~{Product Name}}(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %) 8752 + 8753 +==== Example ==== 8754 + 8755 +---- 8756 + 8757 +(% style="color: rgb(107,107,107);" %)Request 8758 + 8759 +{{code language="php" theme="RDark" title="Lookup Product Request"}} 8760 + <?php 8761 + 8762 +$curl = curl_init(); 8763 + 8764 +curl_setopt_array($curl, array( 8765 + CURLOPT_URL => 'https://api.onecount.net/v2/products/lookup?Title={{Product Name}}', 8766 + CURLOPT_RETURNTRANSFER => true, 8767 + CURLOPT_ENCODING => '', 8768 + CURLOPT_MAXREDIRS => 10, 8769 + CURLOPT_TIMEOUT => 0, 8770 + CURLOPT_FOLLOWLOCATION => true, 8771 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 8772 + CURLOPT_CUSTOMREQUEST => 'GET', 8773 + CURLOPT_HTTPHEADER => array( 8774 + 'Appkey: {{ONECOUNT API KEY}}' 8775 + ), 8776 +)); 8777 + 8778 +$response = curl_exec($curl); 8779 + 8780 +curl_close($curl); 8781 +echo $response; 8782 +{{/code}} 8783 + 2389 2389 \\ 2390 2390 8786 +(% style="color: rgb(107,107,107);" %)Response 200 OK 8787 + 8788 +{{code language="yml" theme="RDark" title="Lookup Product Response" collapse="true"}} 8789 + { 8790 + "result": { 8791 + "success": "1", 8792 + "error": { 8793 + "code": "", 8794 + "message": "" 8795 + } 8796 + }, 8797 + "Products": [ 8798 + { 8799 + "ProductId": 107, 8800 + "Title": "Test123-456", 8801 + "Description": "Testss updated", 8802 + "Terms": { 8803 + "Id": 83, 8804 + "Name": "Product123", 8805 + "Description": null, 8806 + "Duration": 0, 8807 + "DurationUnit": "", 8808 + "Price": "0", 8809 + "ProductId": 107 8810 + } 8811 + } 8812 + ] 8813 +} 8814 +{{/code}} 8815 + 8816 +\\ 8817 + 8818 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 8819 +== (% 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 Product(%%) == 8820 + 8821 +---- 8822 + 8823 +{{panel bgColor="#D3D3D3" width="100%"}} 8824 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/products 8825 +{{/panel}} 8826 + 8827 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 8828 + 8829 +---- 8830 + 8831 +(% 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}} 8832 + 8833 +=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) === 8834 + 8835 +---- 8836 + 8837 +{{code language="yml" theme="RDark" title="Body"}} 8838 +{"Title":"Test API package creation 2","Description": "Test API package creation 2","Terms":{"Name":"Test term for API 2"},"PrimaryFormId":0} 8839 +{{/code}} 8840 + 8841 +==== Example ==== 8842 + 8843 +---- 8844 + 8845 +(% style="color: rgb(107,107,107);" %)Request 8846 + 8847 +{{code language="php" theme="RDark" title="Create Product Request"}} 8848 + <?php 8849 + 8850 +$curl = curl_init(); 8851 + 8852 +curl_setopt_array($curl, array( 8853 + CURLOPT_URL => 'https://api.onecount.net/v2/products', 8854 + CURLOPT_RETURNTRANSFER => true, 8855 + CURLOPT_ENCODING => '', 8856 + CURLOPT_MAXREDIRS => 10, 8857 + CURLOPT_TIMEOUT => 0, 8858 + CURLOPT_FOLLOWLOCATION => true, 8859 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 8860 + CURLOPT_CUSTOMREQUEST => 'POST', 8861 + CURLOPT_POSTFIELDS =>'{"Title":"Test API package creation 1","Description": "Test API package creation 1","Terms":{"Name":"Test term for API 1"},"PrimaryFormId":0}', 8862 + CURLOPT_HTTPHEADER => array( 8863 + 'Appkey: {{ONECOUNT API KEY}}' 8864 + ), 8865 +)); 8866 + 8867 +$response = curl_exec($curl); 8868 + 8869 +curl_close($curl); 8870 +echo $response; 8871 +{{/code}} 8872 + 8873 +\\ 8874 + 8875 +(% style="color: rgb(107,107,107);" %)Response 200 OK 8876 + 8877 +{{code language="yml" theme="RDark" title="Create Product Response" collapse="true"}} 8878 + { 8879 + "result": { 8880 + "success": "1", 8881 + "error": { 8882 + "code": "", 8883 + "message": "" 8884 + } 8885 + }, 8886 + "Products": [ 8887 + { 8888 + "ProductId": 599 8889 + } 8890 + ] 8891 +} 8892 +{{/code}} 8893 + 8894 +\\ 8895 + 8896 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 8897 +== (% 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 Product(%%) == 8898 + 8899 +---- 8900 + 8901 +{{panel bgColor="#D3D3D3" width="100%"}} 8902 + (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/products/~{~{Product id}} 8903 +{{/panel}} 8904 + 8905 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 8906 + 8907 +---- 8908 + 8909 +(% 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}} 8910 + 8911 +=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) === 8912 + 8913 +---- 8914 + 8915 +{{code language="yml" theme="RDark" title="Body"}} 8916 +{"Title":"Test API package 23","Description": "Test API package 23","PrimaryFormId":0} 8917 +{{/code}} 8918 + 8919 +==== Example ==== 8920 + 8921 +---- 8922 + 8923 +(% style="color: rgb(107,107,107);" %)Request 8924 + 8925 +{{code language="php" theme="RDark" title="Update Product Request"}} 8926 +<?php 8927 + 8928 +$curl = curl_init(); 8929 + 8930 +curl_setopt_array($curl, array( 8931 + CURLOPT_URL => 'https://api.onecount.net/v2/products/{{Product id}}', 8932 + CURLOPT_RETURNTRANSFER => true, 8933 + CURLOPT_ENCODING => '', 8934 + CURLOPT_MAXREDIRS => 10, 8935 + CURLOPT_TIMEOUT => 0, 8936 + CURLOPT_FOLLOWLOCATION => true, 8937 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 8938 + CURLOPT_CUSTOMREQUEST => 'PUT', 8939 + CURLOPT_POSTFIELDS =>'{"Title":"Test API package 1","Description": "Test API package 1","PrimaryFormId":0}', 8940 + CURLOPT_HTTPHEADER => array( 8941 + 'Appkey: {{ONECOUNT API KEY}}' 8942 + ), 8943 +)); 8944 + 8945 +$response = curl_exec($curl); 8946 + 8947 +curl_close($curl); 8948 +echo $response; 8949 + 8950 +{{/code}} 8951 + 8952 +\\ 8953 + 8954 +(% style="color: rgb(107,107,107);" %)Response 200 OK 8955 + 8956 +{{code language="yml" theme="RDark" title="Update Product Response" collapse="true"}} 8957 + { 8958 + "result": { 8959 + "success": "1", 8960 + "error": { 8961 + "code": "", 8962 + "message": "" 8963 + } 8964 + }, 8965 + "Products": [ 8966 + { 8967 + "ProductId": 599, 8968 + "Title": "Test API package 1", 8969 + "Description": "Test API package 1" 8970 + } 8971 + ] 8972 +} 8973 +{{/code}} 8974 + 8975 +\\ 8976 + 8977 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 8978 +== (% 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(%%) == 8979 + 8980 +---- 8981 + 8982 +{{panel bgColor="#D3D3D3" width="100%"}} 8983 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/products/attachResource 8984 +{{/panel}} 8985 + 8986 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 8987 + 8988 +---- 8989 + 8990 +(% 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}} 8991 + 8992 +=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) === 8993 + 8994 +---- 8995 + 8996 +{{code language="yml" theme="RDark" title="Body"}} 8997 +{"ProductID":"599","ResourceID":"903"} 8998 +{{/code}} 8999 + 9000 +==== Example ==== 9001 + 9002 +---- 9003 + 9004 +(% style="color: rgb(107,107,107);" %)Request 9005 + 9006 +{{code language="php" theme="RDark" title="Attach Resource to Product Request"}} 9007 + <?php 9008 + 9009 +$curl = curl_init(); 9010 + 9011 +curl_setopt_array($curl, array( 9012 + CURLOPT_URL => 'https://api.onecount.net/v2/products/attachResource', 9013 + CURLOPT_RETURNTRANSFER => true, 9014 + CURLOPT_ENCODING => '', 9015 + CURLOPT_MAXREDIRS => 10, 9016 + CURLOPT_TIMEOUT => 0, 9017 + CURLOPT_FOLLOWLOCATION => true, 9018 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 9019 + CURLOPT_CUSTOMREQUEST => 'POST', 9020 + CURLOPT_POSTFIELDS =>'{"ProductID":"599","ResourceID":"903"}', 9021 + CURLOPT_HTTPHEADER => array( 9022 + 'Appkey: {{ONECOUNT API KEY}}' 9023 + ), 9024 +)); 9025 + 9026 +$response = curl_exec($curl); 9027 + 9028 +curl_close($curl); 9029 +echo $response; 9030 +{{/code}} 9031 + 9032 +\\ 9033 + 9034 +(% style="color: rgb(107,107,107);" %)Response 200 OK 9035 + 9036 +{{code language="yml" theme="RDark" title="Create Product Response" collapse="true"}} 9037 + { 9038 + "result": { 9039 + "success": "1", 9040 + "error": { 9041 + "code": "", 9042 + "message": "" 9043 + } 9044 + }, 9045 + "Products": "599" 9046 +} 9047 +{{/code}} 9048 + 2391 2391 (% class="western" %) 2392 -**COMPONENT: Terms** 9050 +=== **COMPONENT: Terms** === 2393 2393 2394 2394 (% class="western" %) 2395 2395 This resource is for manipulating terms resource. A term can be created, updated or searched. 2396 2396 9055 +(% class="wrapped" %) 2397 2397 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2398 2398 ((( 2399 2399 (% class="western" %) ... ... @@ -2462,209 +2462,515 @@ 2462 2462 2463 2463 \\ 2464 2464 2465 -(% class=" western" %)2466 - **GETmethodshouldbeusedtookupproducts.**9124 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 9125 +== (% 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 Terms(%%) == 2467 2467 2468 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2469 -((( 2470 -(% class="western" %) 2471 -**Request** 2472 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2473 -((( 2474 -(% class="western" %) 2475 -**Type** 2476 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2477 -((( 2478 -(% class="western" %) 2479 -**Description** 2480 -))) 2481 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2482 -((( 2483 -(% class="western" %) 2484 -Lookup params 2485 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2486 -((( 2487 -(% class="western" %) 2488 -String 2489 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2490 -((( 2491 -(% class="western" %) 2492 -URL encoded key value string parameter for the lookup. 9127 +---- 2493 2493 2494 -(% class="western" %) 2495 -Params: 9129 +---- 2496 2496 2497 - (%class="western")2498 - Name:Namefthe term forlookup(String)2499 - )))9131 +{{panel bgColor="#D3D3D3" width="100%"}} 9132 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/terms 9133 +{{/panel}} 2500 2500 2501 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2502 -((( 2503 -(% class="western" %) 2504 -**Response** 2505 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2506 -((( 2507 -(% class="western" %) 2508 -**Type** 2509 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2510 -((( 2511 -(% class="western" %) 2512 -**Description** 2513 -))) 2514 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2515 -((( 2516 -(% class="western" %) 2517 -Terms 2518 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2519 -((( 2520 -(% class="western" %) 2521 -Terms 2522 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2523 -((( 2524 -(% class="western" %) 2525 -Returns found term details. 2526 -))) 9135 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 2527 2527 9137 +---- 9138 + 9139 +(% 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}} 9140 + 9141 +==== Example ==== 9142 + 9143 +---- 9144 + 9145 +(% style="color: rgb(107,107,107);" %)Request 9146 + 9147 +{{code language="php" theme="RDark" title="Get All Terms Request"}} 9148 + <?php 9149 + 9150 +$curl = curl_init(); 9151 + 9152 +curl_setopt_array($curl, array( 9153 + CURLOPT_URL => 'https://api.onecount.net/v2/terms', 9154 + CURLOPT_RETURNTRANSFER => true, 9155 + CURLOPT_ENCODING => '', 9156 + CURLOPT_MAXREDIRS => 10, 9157 + CURLOPT_TIMEOUT => 0, 9158 + CURLOPT_FOLLOWLOCATION => true, 9159 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 9160 + CURLOPT_CUSTOMREQUEST => 'GET', 9161 + CURLOPT_HTTPHEADER => array( 9162 + 'Appkey: {{ONECOUNT API KEY}}' 9163 + ), 9164 +)); 9165 + 9166 +$response = curl_exec($curl); 9167 + 9168 +curl_close($curl); 9169 +echo $response; 9170 +{{/code}} 9171 + 2528 2528 \\ 2529 2529 2530 -(% class="western" %) 2531 -**POST method should be used to create products.** 9174 +(% style="color: rgb(107,107,107);" %)Response 200 OK 2532 2532 2533 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2534 -((( 2535 -(% class="western" %) 2536 -**Request** 2537 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2538 -((( 2539 -(% class="western" %) 2540 -**Type** 2541 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2542 -((( 2543 -(% class="western" %) 2544 -**Description** 2545 -))) 2546 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2547 -((( 2548 -(% class="western" %) 2549 -Terms 2550 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2551 -((( 2552 -(% class="western" %) 2553 -Terms 2554 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2555 -((( 2556 -(% class="western" %) 2557 -Term details in json to be sent as post data. Id should not be set. 9176 +{{code language="yml" theme="RDark" title="Get All Terms Response" collapse="true"}} 9177 + { 9178 + "result": { 9179 + "success": "1", 9180 + "error": { 9181 + "code": "", 9182 + "message": "" 9183 + } 9184 + }, 9185 + "Terms": [ 9186 + { 9187 + "Id": 26, 9188 + "Name": "Please contact me to arrange a demo", 9189 + "Description": "", 9190 + "Duration": 1, 9191 + "DurationUnit": "I", 9192 + "Price": "0", 9193 + "ProductId": 26 9194 + }, 9195 + { 9196 + "Id": 34, 9197 + "Name": "ONEcount Promotional Emails", 9198 + "Description": "ONEcount promotional emails", 9199 + "Duration": 1, 9200 + "DurationUnit": "I", 9201 + "Price": "0", 9202 + "ProductId": 34 9203 + }, 9204 + { 9205 + "Id": 42, 9206 + "Name": "ONEcount Staff List", 9207 + "Description": "List of ONEcount/GCN Media Staff", 9208 + "Duration": 1, 9209 + "DurationUnit": "I", 9210 + "Price": "0", 9211 + "ProductId": 42 9212 + }, 9213 + { 9214 + "Id": 49, 9215 + "Name": "ONEcount Medical Publishers", 9216 + "Description": "ONEcount Medical Publishers and Associations", 9217 + "Duration": 1, 9218 + "DurationUnit": "I", 9219 + "Price": "0", 9220 + "ProductId": 49 9221 + }, 9222 + { 9223 + "Id": 57, 9224 + "Name": "000 Pop-Up Term", 9225 + "Description": "", 9226 + "Duration": 1, 9227 + "DurationUnit": "I", 9228 + "Price": "0", 9229 + "ProductId": 57 9230 + }, 9231 + { 9232 + "Id": 59, 9233 + "Name": "Get it for free", 9234 + "Description": "", 9235 + "Duration": 1, 9236 + "DurationUnit": "I", 9237 + "Price": "0", 9238 + "ProductId": 67 9239 + }, 9240 + { 9241 + "Id": 67, 9242 + "Name": "DAS_freepass_00", 9243 + "Description": "", 9244 + "Duration": 30, 9245 + "DurationUnit": "D", 9246 + "Price": "0", 9247 + "ProductId": 91 9248 + }, 9249 + { 9250 + "Id": 75, 9251 + "Name": "Product123", 9252 + "Description": null, 9253 + "Duration": 0, 9254 + "DurationUnit": "", 9255 + "Price": "0", 9256 + "ProductId": 99 9257 + }, 9258 + { 9259 + "Id": 83, 9260 + "Name": "Product123", 9261 + "Description": null, 9262 + "Duration": 0, 9263 + "DurationUnit": "", 9264 + "Price": "0", 9265 + "ProductId": 107 9266 + }, 9267 + { 9268 + "Id": 91, 9269 + "Name": "Test123 update ", 9270 + "Description": "Testss updated", 9271 + "Duration": 10, 9272 + "DurationUnit": "", 9273 + "Price": "0", 9274 + "ProductId": 107 9275 + }, 9276 + { 9277 + "Id": 93, 9278 + "Name": "Enhanced Analytics Webinar", 9279 + "Description": "Check the box to register for the February 26th webinar.", 9280 + "Duration": 1, 9281 + "DurationUnit": "I", 9282 + "Price": "0", 9283 + "ProductId": 109 9284 + }, 9285 + { 9286 + "Id": 423, 9287 + "Name": "Test term for API", 9288 + "Description": null, 9289 + "Duration": 0, 9290 + "DurationUnit": "", 9291 + "Price": "0.00", 9292 + "ProductId": 591 9293 + }, 9294 + { 9295 + "Id": 431, 9296 + "Name": "Test term for API 1", 9297 + "Description": null, 9298 + "Duration": 0, 9299 + "DurationUnit": "", 9300 + "Price": "0.00", 9301 + "ProductId": 599 9302 + } 9303 + ] 9304 +} 9305 +{{/code}} 2558 2558 2559 -(% class="western" %) 2560 -**Possible Request Params**: Name, Description, Duration, DurationUnit, Price, ProductId, Active, ProductStatusId, Quantity, QuantityTxt 9307 +\\ 2561 2561 2562 -(% class=" western" %)2563 - **Example**:9309 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 9310 +== (% 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 Term(%%) == 2564 2564 2565 -(% class="western" %) 2566 -{"Name":"Test123","Description":Testss","Duration":10,"ProductId":17} 2567 -))) 9312 +---- 2568 2568 2569 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2570 -((( 2571 -(% class="western" %) 2572 -**Response** 2573 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2574 -((( 2575 -(% class="western" %) 2576 -**Type** 2577 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2578 -((( 2579 -(% class="western" %) 2580 -**Description** 2581 -))) 2582 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2583 -((( 2584 -(% class="western" %) 2585 -TermId 2586 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2587 -((( 2588 -(% class="western" %) 2589 -int 2590 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2591 -((( 2592 -(% class="western" %) 2593 -Term Id of the newly created term. 2594 -))) 9314 +{{panel bgColor="#D3D3D3" width="100%"}} 9315 + (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/terms/~{~{Term Id}} 9316 +{{/panel}} 2595 2595 9318 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 9319 + 9320 +---- 9321 + 9322 +(% 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}} 9323 + 9324 +==== Example ==== 9325 + 9326 +---- 9327 + 9328 +(% style="color: rgb(107,107,107);" %)Request 9329 + 9330 +{{code language="php" theme="RDark" title="Get specific Term Request"}} 9331 + <?php 9332 + 9333 +$curl = curl_init(); 9334 + 9335 +curl_setopt_array($curl, array( 9336 + CURLOPT_URL => 'https://api.onecount.net/v2/terms/{{Term Id}}', 9337 + CURLOPT_RETURNTRANSFER => true, 9338 + CURLOPT_ENCODING => '', 9339 + CURLOPT_MAXREDIRS => 10, 9340 + CURLOPT_TIMEOUT => 0, 9341 + CURLOPT_FOLLOWLOCATION => true, 9342 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 9343 + CURLOPT_CUSTOMREQUEST => 'GET', 9344 + CURLOPT_HTTPHEADER => array( 9345 + 'Appkey: {{ONECOUNT API KEY}}' 9346 + ), 9347 +)); 9348 + 9349 +$response = curl_exec($curl); 9350 + 9351 +curl_close($curl); 9352 +echo $response; 9353 +{{/code}} 9354 + 2596 2596 \\ 2597 2597 2598 -(% class="western" %) 2599 -PUT method should be used to update an individual term given the term info. 9357 +(% style="color: rgb(107,107,107);" %)Response 200 OK 2600 2600 2601 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2602 -((( 2603 -(% class="western" %) 2604 -**Request** 2605 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2606 -((( 2607 -(% class="western" %) 2608 -**Type** 2609 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2610 -((( 2611 -(% class="western" %) 2612 -**Description** 2613 -))) 2614 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2615 -((( 2616 -(% class="western" %) 2617 -Terms 2618 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2619 -((( 2620 -(% class="western" %) 2621 -Term 2622 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2623 -((( 2624 -(% class="western" %) 2625 -Term details to be updated in json format to be sent with request. Id property needs to be set to identify the term to be updated. 9359 +{{code language="yml" theme="RDark" title="Get specific Term Response" collapse="true"}} 9360 + { 9361 + "result": { 9362 + "success": "1", 9363 + "error": { 9364 + "code": "", 9365 + "message": "" 9366 + } 9367 + }, 9368 + "Terms": [ 9369 + { 9370 + "Id": 431, 9371 + "Name": "Test term for API 1", 9372 + "Description": null, 9373 + "Duration": 0, 9374 + "DurationUnit": "", 9375 + "Price": "0.00", 9376 + "ProductId": 599 9377 + } 9378 + ] 9379 +} 9380 +{{/code}} 2626 2626 2627 -(% class="western" %) 2628 2628 \\ 2629 2629 2630 -(% class=" western" %)2631 - **Example**:9384 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 9385 +== (% 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);" %)lookup Term(%%) == 2632 2632 2633 -(% class="western" %) 2634 -{"Name":"Test123","Description":Testss","Duration":10,"ProductId":17} 2635 -))) 9387 +---- 2636 2636 2637 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2638 -((( 2639 -(% class="western" %) 2640 -**Response** 2641 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2642 -((( 2643 -(% class="western" %) 2644 -**Type** 2645 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2646 -((( 2647 -(% class="western" %) 2648 -**Description** 2649 -))) 2650 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2651 -((( 2652 -(% class="western" %) 2653 -TermId 2654 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2655 -((( 2656 -(% class="western" %) 2657 -Int 2658 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2659 -((( 2660 -(% class="western" %) 2661 -term id of the updated term. 2662 -))) 9389 +{{panel bgColor="#D3D3D3" width="100%"}} 9390 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/terms/lookup?Name={(%%){Term Name}} 9391 +{{/panel}} 2663 2663 9393 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 9394 + 9395 +---- 9396 + 9397 +(% 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}} 9398 + 9399 +=== (% style="color: rgb(33,33,33);" %)Query Params(%%) === 9400 + 9401 +---- 9402 + 9403 +(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Name (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key nolink" style="color: rgb(33, 33, 33); color: rgb(33, 33, 33)" %){(% style="color: rgb(33,33,33);" class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key nolink" %){Term Name}} 9404 + 9405 +==== Example ==== 9406 + 9407 +---- 9408 + 9409 +(% style="color: rgb(107,107,107);" %)Request 9410 + 9411 +{{code language="php" theme="RDark" title="Lookup Term Request"}} 9412 + <?php 9413 + 9414 +$curl = curl_init(); 9415 + 9416 +curl_setopt_array($curl, array( 9417 + CURLOPT_URL => 'https://api.onecount.net/v2/terms/lookup?Name={{Term Name}}', 9418 + CURLOPT_RETURNTRANSFER => true, 9419 + CURLOPT_ENCODING => '', 9420 + CURLOPT_MAXREDIRS => 10, 9421 + CURLOPT_TIMEOUT => 0, 9422 + CURLOPT_FOLLOWLOCATION => true, 9423 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 9424 + CURLOPT_CUSTOMREQUEST => 'GET', 9425 + CURLOPT_HTTPHEADER => array( 9426 + 'Appkey: {{ONECOUNT API KEY}}' 9427 + ), 9428 +)); 9429 + 9430 +$response = curl_exec($curl); 9431 + 9432 +curl_close($curl); 9433 +echo $response; 9434 +{{/code}} 9435 + 2664 2664 \\ 2665 2665 9438 +(% style="color: rgb(107,107,107);" %)Response 200 OK 9439 + 9440 +{{code language="yml" theme="RDark" title="Lookup Term Response" collapse="true"}} 9441 +{ 9442 + "result": { 9443 + "success": "1", 9444 + "error": { 9445 + "code": "", 9446 + "message": "" 9447 + } 9448 + }, 9449 + "Terms": [ 9450 + { 9451 + "Id": 431, 9452 + "Name": "Test term for API 1", 9453 + "Description": null, 9454 + "Duration": 0, 9455 + "DurationUnit": "", 9456 + "Price": "0.00", 9457 + "ProductId": 599 9458 + } 9459 + ] 9460 +} 9461 +{{/code}} 9462 + 9463 +\\ 9464 + 9465 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 9466 +== (% 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 Term(%%) == 9467 + 9468 +---- 9469 + 9470 +{{panel bgColor="#D3D3D3" width="100%"}} 9471 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/terms 9472 +{{/panel}} 9473 + 9474 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 9475 + 9476 +---- 9477 + 9478 +(% 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}} 9479 + 9480 +=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) === 9481 + 9482 +---- 9483 + 9484 +{{code language="yml" theme="RDark" title="Body"}} 9485 +{"Name":"Test API term creation","Description":"Test API term creation","Duration":10,"ProductId":599} 9486 +{{/code}} 9487 + 9488 +==== Example ==== 9489 + 9490 +---- 9491 + 9492 +(% style="color: rgb(107,107,107);" %)Request 9493 + 9494 +{{code language="php" theme="RDark" title="Create Term Request"}} 9495 +<?php 9496 + 9497 +$curl = curl_init(); 9498 + 9499 +curl_setopt_array($curl, array( 9500 + CURLOPT_URL => 'https://api.onecount.net/v2/terms', 9501 + CURLOPT_RETURNTRANSFER => true, 9502 + CURLOPT_ENCODING => '', 9503 + CURLOPT_MAXREDIRS => 10, 9504 + CURLOPT_TIMEOUT => 0, 9505 + CURLOPT_FOLLOWLOCATION => true, 9506 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 9507 + CURLOPT_CUSTOMREQUEST => 'POST', 9508 + CURLOPT_POSTFIELDS =>'{"Name":"Test API term creation","Description":"Test API term creation","Duration":10,"ProductId":599} 9509 + 9510 +', 9511 + CURLOPT_HTTPHEADER => array( 9512 + 'Appkey: {{ONECOUNT API KEY}}' 9513 + ), 9514 +)); 9515 + 9516 +$response = curl_exec($curl); 9517 + 9518 +curl_close($curl); 9519 +echo $response; 9520 + 9521 + 9522 +{{/code}} 9523 + 9524 +\\ 9525 + 9526 +(% style="color: rgb(107,107,107);" %)Response 200 OK 9527 + 9528 +{{code language="yml" theme="RDark" title="Create Term Response" collapse="true"}} 9529 +{ 9530 + "result": { 9531 + "success": "1", 9532 + "error": { 9533 + "code": "", 9534 + "message": "" 9535 + } 9536 + }, 9537 + "Terms": [ 9538 + { 9539 + "Id": 447 9540 + } 9541 + ] 9542 +} 9543 +{{/code}} 9544 + 9545 +\\ 9546 + 9547 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 9548 +== (% 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 Term(%%) == 9549 + 9550 +---- 9551 + 9552 +{{panel bgColor="#D3D3D3" width="100%"}} 9553 + (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/terms/~{~{Term Id}} 9554 +{{/panel}} 9555 + 9556 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 9557 + 9558 +---- 9559 + 9560 +(% 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}} 9561 + 9562 +=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) === 9563 + 9564 +---- 9565 + 9566 +{{code language="yml" theme="RDark" title="Body"}} 9567 +{"Name":"Test API term creation update","Description":"Test API term creation update","Duration":10,"ProductId":599} 9568 +{{/code}} 9569 + 9570 +==== Example ==== 9571 + 9572 +---- 9573 + 9574 +(% style="color: rgb(107,107,107);" %)Request 9575 + 9576 +{{code language="php" theme="RDark" title="Update Term Request"}} 9577 + <?php 9578 + 9579 +$curl = curl_init(); 9580 + 9581 +curl_setopt_array($curl, array( 9582 + CURLOPT_URL => 'https://api.onecount.net/v2/terms/{{Term Id}}', 9583 + CURLOPT_RETURNTRANSFER => true, 9584 + CURLOPT_ENCODING => '', 9585 + CURLOPT_MAXREDIRS => 10, 9586 + CURLOPT_TIMEOUT => 0, 9587 + CURLOPT_FOLLOWLOCATION => true, 9588 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 9589 + CURLOPT_CUSTOMREQUEST => 'PUT', 9590 + CURLOPT_POSTFIELDS =>'{"Name":"Test API term creation update","Description":"Test API term creation update","Duration":10,"ProductId":599}', 9591 + CURLOPT_HTTPHEADER => array( 9592 + 'Appkey: {{ONECOUNT API KEY}}' 9593 + ), 9594 +)); 9595 + 9596 +$response = curl_exec($curl); 9597 + 9598 +curl_close($curl); 9599 +echo $response; 9600 +{{/code}} 9601 + 9602 +\\ 9603 + 9604 +(% style="color: rgb(107,107,107);" %)Response 200 OK 9605 + 9606 +{{code language="yml" theme="RDark" title="Update Term Response" collapse="true"}} 9607 + { 9608 + "result": { 9609 + "success": "1", 9610 + "error": { 9611 + "code": "", 9612 + "message": "" 9613 + } 9614 + }, 9615 + "Terms": [ 9616 + { 9617 + "Id": 447, 9618 + "Name": "Test API term creation update", 9619 + "Description": "Test API term creation update", 9620 + "Duration": 10, 9621 + "DurationUnit": "", 9622 + "Price": "0.00", 9623 + "ProductId": 599 9624 + } 9625 + ] 9626 +} 9627 +{{/code}} 9628 + 9629 +\\ 9630 + 2666 2666 (% class="western" %) 2667 -**COMPONENT: Resources** 9632 +=== **COMPONENT: Resources** === 2668 2668 2669 2669 (% class="western" %) 2670 2670 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. ... ... @@ -2704,6 +2704,7 @@ 2704 2704 (% class="western" %) 2705 2705 This resource is for manipulating resources resource. A resource can be created, updated or searched. 2706 2706 9672 +(% class="wrapped" %) 2707 2707 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2708 2708 ((( 2709 2709 (% class="western" %) ... ... @@ -2772,237 +2772,491 @@ 2772 2772 2773 2773 \\ 2774 2774 2775 -(% class=" western" %)2776 - **GETmethodshouldbeusedtookupresources.**9741 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 9742 +== (% 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 Resources(%%) == 2777 2777 2778 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2779 -((( 2780 -(% class="western" %) 2781 -**Request** 2782 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2783 -((( 2784 -(% class="western" %) 2785 -**Type** 2786 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2787 -((( 2788 -(% class="western" %) 2789 -**Description** 2790 -))) 2791 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2792 -((( 2793 -(% class="western" %) 2794 -Lookup params 2795 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2796 -((( 2797 -(% class="western" %) 2798 -String 2799 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2800 -((( 2801 -(% class="western" %) 2802 -URL encoded key value string parameter for the lookup. 9744 +---- 2803 2803 2804 -(% class="western" %) 2805 -Params: 9746 +---- 2806 2806 2807 - (%class="western")2808 - Name:Nameofthe resourceforlookup(String)2809 - )))9748 +{{panel bgColor="#D3D3D3" width="100%"}} 9749 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/resources 9750 +{{/panel}} 2810 2810 2811 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2812 -((( 2813 -(% class="western" %) 2814 -**Response** 2815 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2816 -((( 2817 -(% class="western" %) 2818 -**Type** 2819 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2820 -((( 2821 -(% class="western" %) 2822 -**Description** 2823 -))) 2824 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2825 -((( 2826 -(% class="western" %) 2827 -Resources 2828 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2829 -((( 2830 -(% class="western" %) 2831 -Resources 2832 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2833 -((( 2834 -(% class="western" %) 2835 -Returns found resource details. 2836 -))) 9752 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 2837 2837 9754 +---- 9755 + 9756 +(% 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}} 9757 + 9758 +==== Example ==== 9759 + 9760 +---- 9761 + 9762 +(% style="color: rgb(107,107,107);" %)Request 9763 + 9764 +{{code language="php" theme="RDark" title="Get All Resource Request"}} 9765 + <?php 9766 + 9767 +$curl = curl_init(); 9768 + 9769 +curl_setopt_array($curl, array( 9770 + CURLOPT_URL => 'https://api.onecount.net/v2/resources', 9771 + CURLOPT_RETURNTRANSFER => true, 9772 + CURLOPT_ENCODING => '', 9773 + CURLOPT_MAXREDIRS => 10, 9774 + CURLOPT_TIMEOUT => 0, 9775 + CURLOPT_FOLLOWLOCATION => true, 9776 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 9777 + CURLOPT_CUSTOMREQUEST => 'GET', 9778 + CURLOPT_HTTPHEADER => array( 9779 + 'Appkey: {{ONECOUNT API KEY}}' 9780 + ), 9781 +)); 9782 + 9783 +$response = curl_exec($curl); 9784 + 9785 +curl_close($curl); 9786 +echo $response; 9787 +{{/code}} 9788 + 2838 2838 \\ 2839 2839 2840 -(% class="western" %) 2841 -**POST method should be used to create resources.** 9791 +(% style="color: rgb(107,107,107);" %)Response 200 OK 2842 2842 2843 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2844 -((( 2845 -(% class="western" %) 2846 -**Request** 2847 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2848 -((( 2849 -(% class="western" %) 2850 -**Type** 2851 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2852 -((( 2853 -(% class="western" %) 2854 -**Description** 2855 -))) 2856 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2857 -((( 2858 -(% class="western" %) 2859 -Resources 2860 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2861 -((( 2862 -(% class="western" %) 2863 -Resources 2864 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2865 -((( 2866 -(% class="western" %) 2867 -resource details in json to be sent as post data. Id should not be set. 9793 +{{code language="yml" theme="RDark" title="Get All Resource Response" collapse="true"}} 9794 + { 9795 + "result": { 9796 + "success": "1", 9797 + "error": { 9798 + "code": "", 9799 + "message": "" 9800 + } 9801 + }, 9802 + "Resources": [ 9803 + { 9804 + "Id": 18, 9805 + "Name": "ONEcount/GCN Staff Newsletter Resource", 9806 + "Description": "ONEcount/GCN Staff Newsletter List", 9807 + "Type": "2", 9808 + "Value": "57|53|55", 9809 + "FreePass": 0 9810 + }, 9811 + { 9812 + "Id": 26, 9813 + "Name": "GCN TEST GROUP", 9814 + "Description": "THESE USER WILL GET TEST MESSAGE", 9815 + "Type": "2", 9816 + "Value": "47", 9817 + "FreePass": 0 9818 + }, 9819 + { 9820 + "Id": 98, 9821 + "Name": "ONEcount Prospects List", 9822 + "Description": "Newsletter List of ONEcount Prospects", 9823 + "Type": "2", 9824 + "Value": "55", 9825 + "FreePass": 0 9826 + }, 9827 + { 9828 + "Id": 106, 9829 + "Name": "Google Ads Form", 9830 + "Description": "", 9831 + "Type": "3", 9832 + "Value": "http://ocreg.one-count.com/onecount/reg/registerForm.cgi?form=186&brand=OC", 9833 + "FreePass": 0 9834 + }, 9835 + { 9836 + "Id": 114, 9837 + "Name": "secure files", 9838 + "Description": "", 9839 + "Type": "3", 9840 + "Value": "/download.php", 9841 + "FreePass": 0 9842 + }, 9843 + { 9844 + "Id": 130, 9845 + "Name": "REQUEST A DEMO", 9846 + "Description": "", 9847 + "Type": "3", 9848 + "Value": "http://ocreg.one-count.com/onecount/flexreg/displayform.cgi?g=0&form=34", 9849 + "FreePass": 0 9850 + }, 9851 + { 9852 + "Id": 137, 9853 + "Name": "ONEcount Medical Publishers", 9854 + "Description": "ONEcount Medical Publishers and Associations", 9855 + "Type": "2", 9856 + "Value": "61", 9857 + "FreePass": 0 9858 + }, 9859 + { 9860 + "Id": 145, 9861 + "Name": "Pop-Up Test Page", 9862 + "Description": "", 9863 + "Type": "3", 9864 + "Value": "http://omar.gcnmedia.com/projects/form/gated.html", 9865 + "FreePass": 0 9866 + }, 9867 + { 9868 + "Id": 146, 9869 + "Name": "Platform Resource", 9870 + "Description": "Test Resource", 9871 + "Type": "3", 9872 + "Value": "/Platform", 9873 + "FreePass": 0 9874 + }, 9875 + { 9876 + "Id": 153, 9877 + "Name": "Submitted", 9878 + "Description": "", 9879 + "Type": "3", 9880 + "Value": "http://gcn-reg.onecount.net/onecount/reg/tSuccessView.php?brand=oc", 9881 + "FreePass": 0 9882 + } 9883 + ] 9884 +} 9885 +{{/code}} 2868 2868 2869 -(% class="western" %) 2870 -**Possible Request Params**: Name, Description, Type, Value, FreePass 9887 +\\ 2871 2871 2872 -(% class=" western" %)2873 - **Example**:9889 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 9890 +== (% 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 Resource(%%) == 2874 2874 2875 -(% class="western" %) 2876 -{"Name":"Test123","Description":Testss","Type":3,"Value":”/digital/”} 9892 +---- 2877 2877 2878 -(% class="western" %) 2879 -{"Name":"Test123","Description":Testss","Type":3,"Value":[”/digital/”, "/article/"]} 9894 +{{panel bgColor="#D3D3D3" width="100%"}} 9895 + (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/resources/{(%%){Resource ID}} 9896 +{{/panel}} 2880 2880 2881 -(% class="western" %) 2882 -{"Name":"Test123","Description":Testss","Type":3,"Value":”/digital/”, "FreePass":1} 9898 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 2883 2883 2884 -(% class="western" %) 2885 -{"Name":"Test123","Description":Testss","Type":3,"Value":[”/digital/”, "/article/"],"FreePass":1} 2886 -))) 9900 +---- 2887 2887 2888 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2889 -((( 2890 -(% class="western" %) 2891 -**Response** 2892 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2893 -((( 2894 -(% class="western" %) 2895 -**Type** 2896 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2897 -((( 2898 -(% class="western" %) 2899 -**Description** 2900 -))) 2901 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2902 -((( 2903 -(% class="western" %) 2904 -ResourceId 2905 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2906 -((( 2907 -(% class="western" %) 2908 -int 2909 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2910 -((( 2911 -(% class="western" %) 2912 -Resource Id of the newly created resource. 2913 -))) 9902 +(% 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}} 2914 2914 9904 +==== Example ==== 9905 + 9906 +---- 9907 + 9908 +(% style="color: rgb(107,107,107);" %)Request 9909 + 9910 +{{code language="php" theme="RDark" title="Get specific Resource Request"}} 9911 + <?php 9912 + 9913 +$curl = curl_init(); 9914 + 9915 +curl_setopt_array($curl, array( 9916 + CURLOPT_URL => 'https://api.onecount.net/v2/resources/{{Resource ID}}', 9917 + CURLOPT_RETURNTRANSFER => true, 9918 + CURLOPT_ENCODING => '', 9919 + CURLOPT_MAXREDIRS => 10, 9920 + CURLOPT_TIMEOUT => 0, 9921 + CURLOPT_FOLLOWLOCATION => true, 9922 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 9923 + CURLOPT_CUSTOMREQUEST => 'GET', 9924 + CURLOPT_HTTPHEADER => array( 9925 + 'Appkey: {{ONECOUNT API KEY}}' 9926 + ), 9927 +)); 9928 + 9929 +$response = curl_exec($curl); 9930 + 9931 +curl_close($curl); 9932 +echo $response; 9933 +{{/code}} 9934 + 2915 2915 \\ 2916 2916 2917 -(% class="western" %) 2918 -PUT method should be used to update an individual resource given the resource info. 9937 +(% style="color: rgb(107,107,107);" %)Response 200 OK 2919 2919 2920 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2921 -((( 2922 -(% class="western" %) 2923 -**Request** 2924 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2925 -((( 2926 -(% class="western" %) 2927 -**Type** 2928 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2929 -((( 2930 -(% class="western" %) 2931 -**Description** 2932 -))) 2933 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2934 -((( 2935 -(% class="western" %) 2936 -Resources 2937 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2938 -((( 2939 -(% class="western" %) 2940 -Resource 2941 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2942 -((( 2943 -(% class="western" %) 2944 -Resource details to be updated injsonformat to be sent withrequest. Id property needs to be set to identify the resource to be updated. 9939 +{{code language="yml" theme="RDark" title="Get specific Resource Response" collapse="true"}} 9940 + { 9941 + "result": { 9942 + "success": "1", 9943 + "error": { 9944 + "code": "", 9945 + "message": "" 9946 + } 9947 + }, 9948 + "Resources": [ 9949 + { 9950 + "Id": 623, 9951 + "Name": "TOP 3 THINGS - NonStop Local News", 9952 + "Description": "Tap into Non-Stop News from Montana Right Now! From the Big Story to the 3 Things to Know - we have the moment's essential headlines.", 9953 + "Type": "2", 9954 + "Value": "", 9955 + "FreePass": 0 9956 + } 9957 + ] 9958 +} 9959 +{{/code}} 2945 2945 2946 -(% class="western" %) 2947 2947 \\ 2948 2948 2949 -(% class=" western" %)2950 - Examples:9963 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 9964 +== (% 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);" %)lookup Resource(%%) == 2951 2951 2952 -(% class="western" %) 2953 -{"Name":"Test123","Description":Testss","Type":3,"Value":”/digital/”} 9966 +---- 2954 2954 2955 -(% class="western" %) 2956 -{"Name":"Test123","Description":Testss","Type":3,"Value":[”/digital/”, "/article/"]} 9968 +{{panel bgColor="#D3D3D3" width="100%"}} 9969 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/resources/lookup?Name={(%%){Resource Name}} 9970 +{{/panel}} 2957 2957 2958 -(% class="western" %) 2959 -{"Name":"Test123","Description":Testss","Type":3,"Value":”/digital/”,"FreePass":1} 9972 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 2960 2960 2961 -(% class="western" %) 2962 -{"Name":"Test123","Description":Testss","Type":3,"Value":[”/digital/”, "/article/"],"FreePass":1} 2963 -))) 9974 +---- 2964 2964 2965 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2966 -((( 2967 -(% class="western" %) 2968 -**Response** 2969 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2970 -((( 2971 -(% class="western" %) 2972 -**Type** 2973 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2974 -((( 2975 -(% class="western" %) 2976 -**Description** 2977 -))) 2978 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2979 -((( 2980 -(% class="western" %) 2981 -ResourceId 2982 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2983 -((( 2984 -(% class="western" %) 2985 -Int 2986 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2987 -((( 2988 -(% class="western" %) 2989 -resource id of the updated resource. 2990 -))) 9976 +(% 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}} 2991 2991 9978 +=== (% style="color: rgb(33,33,33);" %)Query Params(%%) === 9979 + 9980 +---- 9981 + 9982 +(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Name (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key nolink" style="color: rgb(33, 33, 33); color: rgb(33, 33, 33)" %){(% style="color: rgb(33,33,33);" class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key nolink" %){Resource Name}} 9983 + 9984 +==== Example ==== 9985 + 9986 +---- 9987 + 9988 +(% style="color: rgb(107,107,107);" %)Request 9989 + 9990 +{{code language="php" theme="RDark" title="Lookup Resource Request"}} 9991 + <?php 9992 + 9993 +$curl = curl_init(); 9994 + 9995 +curl_setopt_array($curl, array( 9996 + CURLOPT_URL => 'https://api.onecount.net/v2/resources/lookup?Name={{Resource Name}}', 9997 + CURLOPT_RETURNTRANSFER => true, 9998 + CURLOPT_ENCODING => '', 9999 + CURLOPT_MAXREDIRS => 10, 10000 + CURLOPT_TIMEOUT => 0, 10001 + CURLOPT_FOLLOWLOCATION => true, 10002 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 10003 + CURLOPT_CUSTOMREQUEST => 'GET', 10004 + CURLOPT_HTTPHEADER => array( 10005 + 'Appkey: {{ONECOUNT API KEY}}' 10006 + ), 10007 +)); 10008 + 10009 +$response = curl_exec($curl); 10010 + 10011 +curl_close($curl); 10012 +echo $response; 10013 +{{/code}} 10014 + 2992 2992 \\ 2993 2993 10017 +(% style="color: rgb(107,107,107);" %)Response 200 OK 10018 + 10019 +{{code language="yml" theme="RDark" title="Lookup Resource Response" collapse="true"}} 10020 + { 10021 + "result": { 10022 + "success": "1", 10023 + "error": { 10024 + "code": "", 10025 + "message": "" 10026 + } 10027 + }, 10028 + "Resources": [ 10029 + { 10030 + "Id": 479, 10031 + "Name": "Virtualization Review", 10032 + "Description": "", 10033 + "Type": "0", 10034 + "Value": "", 10035 + "FreePass": 0 10036 + } 10037 + ] 10038 +} 10039 +{{/code}} 10040 + 2994 2994 \\ 2995 2995 10043 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 10044 +== (% 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 Resource(%%) == 10045 + 10046 +---- 10047 + 10048 +{{panel bgColor="#D3D3D3" width="100%"}} 10049 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/resources 10050 +{{/panel}} 10051 + 10052 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 10053 + 10054 +---- 10055 + 10056 +(% 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}} 10057 + 10058 +=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) === 10059 + 10060 +---- 10061 + 10062 +{{code language="yml" theme="RDark" title="Body"}} 10063 +{"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} 10064 +{{/code}} 10065 + 10066 +==== Example ==== 10067 + 10068 +---- 10069 + 10070 +(% style="color: rgb(107,107,107);" %)Request 10071 + 10072 +{{code language="php" theme="RDark" title="Create Resource Request"}} 10073 + <?php 10074 + 10075 +$curl = curl_init(); 10076 + 10077 +curl_setopt_array($curl, array( 10078 + CURLOPT_URL => 'https://api.onecount.net/v2/resources', 10079 + CURLOPT_RETURNTRANSFER => true, 10080 + CURLOPT_ENCODING => '', 10081 + CURLOPT_MAXREDIRS => 10, 10082 + CURLOPT_TIMEOUT => 0, 10083 + CURLOPT_FOLLOWLOCATION => true, 10084 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 10085 + CURLOPT_CUSTOMREQUEST => 'POST', 10086 + CURLOPT_POSTFIELDS =>'{"Name":"Test API product creation 21","Description":"Test API product creation 21","Type":3,"FreePass":1,"Value":["http://one-count.com"],"Gating":false,"Price":0,"PrimaryFormId":"","VendorId":1}', 10087 + CURLOPT_HTTPHEADER => array( 10088 + 'Appkey: {{ONECOUNT API KEY}}' 10089 + ), 10090 +)); 10091 + 10092 +$response = curl_exec($curl); 10093 + 10094 +curl_close($curl); 10095 +echo $response; 10096 +{{/code}} 10097 + 10098 +\\ 10099 + 10100 +(% style="color: rgb(107,107,107);" %)Response 200 OK 10101 + 10102 +{{code language="yml" theme="RDark" title="Create Resource Response" collapse="true"}} 10103 + { 10104 + "result": { 10105 + "success": "1", 10106 + "error": { 10107 + "code": "", 10108 + "message": "" 10109 + } 10110 + }, 10111 + "Resources": [ 10112 + { 10113 + "Id": 871, 10114 + "Name": "Test API product creation 21", 10115 + "Description": "Test API product creation 21", 10116 + "Type": "3", 10117 + "Value": "http://one-count.com", 10118 + "FreePass": 1 10119 + } 10120 + ] 10121 +} 10122 +{{/code}} 10123 + 10124 +\\ 10125 + 10126 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 10127 +== (% 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 Resource(%%) == 10128 + 10129 +---- 10130 + 10131 +{{panel bgColor="#D3D3D3" width="100%"}} 10132 + (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/resources/~{~{resource id}} 10133 +{{/panel}} 10134 + 10135 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 10136 + 10137 +---- 10138 + 10139 +(% 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}} 10140 + 10141 +=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) === 10142 + 10143 +---- 10144 + 10145 +{{code language="yml" theme="RDark" title="Body"}} 10146 +{"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} 10147 +{{/code}} 10148 + 10149 +==== Example ==== 10150 + 10151 +---- 10152 + 10153 +(% style="color: rgb(107,107,107);" %)Request 10154 + 10155 +{{code language="php" theme="RDark" title="Update Resource Request"}} 10156 + <?php 10157 + 10158 +$curl = curl_init(); 10159 + 10160 +curl_setopt_array($curl, array( 10161 + CURLOPT_URL => 'https://api.onecount.net/v2/resources/{{resource id}}', 10162 + CURLOPT_RETURNTRANSFER => true, 10163 + CURLOPT_ENCODING => '', 10164 + CURLOPT_MAXREDIRS => 10, 10165 + CURLOPT_TIMEOUT => 0, 10166 + CURLOPT_FOLLOWLOCATION => true, 10167 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 10168 + CURLOPT_CUSTOMREQUEST => 'PUT', 10169 + CURLOPT_POSTFIELDS =>'{"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}', 10170 + CURLOPT_HTTPHEADER => array( 10171 + 'Appkey: {{ONECOUNT API KEY}}' 10172 + ), 10173 +)); 10174 + 10175 +$response = curl_exec($curl); 10176 + 10177 +curl_close($curl); 10178 +echo $response; 10179 +{{/code}} 10180 + 10181 +\\ 10182 + 10183 +(% style="color: rgb(107,107,107);" %)Response 200 OK 10184 + 10185 +{{code language="yml" theme="RDark" title="Update Resource Response" collapse="true"}} 10186 + { 10187 + "result": { 10188 + "success": "1", 10189 + "error": { 10190 + "code": "", 10191 + "message": "" 10192 + } 10193 + }, 10194 + "Resources": [ 10195 + { 10196 + "Id": 903, 10197 + "Name": "Test API product creation 23", 10198 + "Description": "Test API product creation 23", 10199 + "Type": "3", 10200 + "Value": "http://one-count.com", 10201 + "FreePass": 1 10202 + }, 10203 + { 10204 + "Id": 903, 10205 + "Name": "Test API product creation 23", 10206 + "Description": "Test API product creation 23", 10207 + "Type": "3", 10208 + "Value": "onecount.net", 10209 + "FreePass": 1 10210 + } 10211 + ] 10212 +} 10213 +{{/code}} 10214 + 2996 2996 (% class="western" %) 2997 2997 \\ 2998 2998 2999 2999 (% class="western" %) 3000 -**COMPONENT: Source Codes 3001 -** 10219 +=== **COMPONENT: Source Codes 10220 +** === 3002 3002 3003 3003 (% class="western" %) 3004 3004 This resource is for manipulating source code for a resource. A source code can be created, updated or searched. 3005 3005 10225 +(% class="wrapped" %) 3006 3006 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3007 3007 ((( 3008 3008 (% class="western" %) ... ... @@ -3071,201 +3071,544 @@ 3071 3071 3072 3072 \\ 3073 3073 3074 -(% class=" western" %)3075 - **Sourcesnbe lookedup giventhedeorId.GETmethodshouldbeusedfor lookup.**10294 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 10295 +== (% 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 Source codes(%%) == 3076 3076 3077 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3078 -((( 3079 -(% class="western" %) 3080 -**Request** 3081 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3082 -((( 3083 -(% class="western" %) 3084 -**Type** 3085 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3086 -((( 3087 -(% class="western" %) 3088 -**Description** 3089 -))) 3090 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3091 -((( 3092 -(% class="western" %) 3093 -Lookup params 3094 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3095 -((( 3096 -(% class="western" %) 3097 -String 3098 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3099 -((( 3100 -(% class="western" %) 3101 -URL encoded key value string parameter for the lookup. 10297 +---- 3102 3102 3103 -(% class="western" %) 3104 -Params: 10299 +---- 3105 3105 3106 - (%class="western")3107 - Source:Sourcealue(String)3108 - )))10301 +{{panel bgColor="#D3D3D3" width="100%"}} 10302 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/sources 10303 +{{/panel}} 3109 3109 3110 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3111 -((( 3112 -(% class="western" %) 3113 -**Response** 3114 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3115 -((( 3116 -(% class="western" %) 3117 -**Type** 3118 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3119 -((( 3120 -(% class="western" %) 3121 -**Description** 3122 -))) 3123 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3124 -((( 3125 -(% class="western" %) 3126 -Sources 3127 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3128 -((( 3129 -(% class="western" %) 3130 -Sources 3131 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3132 -((( 3133 -(% class="western" %) 3134 -Returns found source details. 3135 -))) 10305 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 3136 3136 10307 +---- 10308 + 10309 +(% 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}} 10310 + 10311 +==== Example ==== 10312 + 10313 +---- 10314 + 10315 +(% style="color: rgb(107,107,107);" %)Request 10316 + 10317 +{{code language="php" theme="RDark" title="Get All Source code Request"}} 10318 + <?php 10319 + 10320 +$curl = curl_init(); 10321 + 10322 +curl_setopt_array($curl, array( 10323 + CURLOPT_URL => 'https://api.onecount.net/v2/sources', 10324 + CURLOPT_RETURNTRANSFER => true, 10325 + CURLOPT_ENCODING => '', 10326 + CURLOPT_MAXREDIRS => 10, 10327 + CURLOPT_TIMEOUT => 0, 10328 + CURLOPT_FOLLOWLOCATION => true, 10329 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 10330 + CURLOPT_CUSTOMREQUEST => 'GET', 10331 + CURLOPT_HTTPHEADER => array( 10332 + 'Appkey: {{ONECOUNT API KEY}}' 10333 + ), 10334 +)); 10335 + 10336 +$response = curl_exec($curl); 10337 + 10338 +curl_close($curl); 10339 +echo $response; 10340 +{{/code}} 10341 + 3137 3137 \\ 3138 3138 3139 -(% class="western" %) 10344 +(% style="color: rgb(107,107,107);" %)Response 200 OK 10345 + 10346 +{{code language="yml" theme="RDark" title="Get All Source code Response" collapse="true"}} 10347 + { 10348 + "result": { 10349 + "success": "1", 10350 + "error": { 10351 + "code": "", 10352 + "message": "" 10353 + } 10354 + }, 10355 + "Sources": [ 10356 + { 10357 + "Id": 26, 10358 + "Source": "GCN-Member", 10359 + "Description": "Uploaded from Reston VA", 10360 + "Parent": 0 10361 + }, 10362 + { 10363 + "Id": 34, 10364 + "Source": "SugarID", 10365 + "Description": "Sugar IDs cleaned contacts list and cleaned leads list sent by Sean Fulton for upload.", 10366 + "Parent": 0 10367 + }, 10368 + { 10369 + "Id": 42, 10370 + "Source": "DEMOFORM", 10371 + "Description": "\"Request a Demo\" form from one-count.com", 10372 + "Parent": 0 10373 + }, 10374 + { 10375 + "Id": 50, 10376 + "Source": "ABM ANNUAL 2014", 10377 + "Description": "ABM Annual 2014 - Registration List for Sponsors", 10378 + "Parent": 0 10379 + }, 10380 + { 10381 + "Id": 58, 10382 + "Source": "BIMS REG LIST", 10383 + "Description": "BIMS Registration List for Sponsors (2013/2014)", 10384 + "Parent": 0 10385 + }, 10386 + { 10387 + "Id": 66, 10388 + "Source": "SIPA 13", 10389 + "Description": "SIPA 2013 - sponsor - attendees", 10390 + "Parent": 0 10391 + }, 10392 + { 10393 + "Id": 74, 10394 + "Source": "Google Ads", 10395 + "Description": "From Google Banner Ads", 10396 + "Parent": 0 10397 + }, 10398 + { 10399 + "Id": 82, 10400 + "Source": "EDIT PROFILE", 10401 + "Description": "FOR EDIT PROFILE FORM", 10402 + "Parent": 0 10403 + }, 10404 + { 10405 + "Id": 83, 10406 + "Source": "Test Source Code", 10407 + "Description": "", 10408 + "Parent": 0 10409 + }, 10410 + { 10411 + "Id": 91, 10412 + "Source": "NEWSLETTER", 10413 + "Description": "Newsletter", 10414 + "Parent": 0 10415 + }, 10416 + { 10417 + "Id": 99, 10418 + "Source": "INFOTANKS-comps-only_12032019", 10419 + "Description": "", 10420 + "Parent": 0 10421 + }, 10422 + { 10423 + "Id": 107, 10424 + "Source": "INFOTANKS-DMP-only_12102019", 10425 + "Description": "", 10426 + "Parent": 0 10427 + }, 10428 + { 10429 + "Id": 109, 10430 + "Source": "BMVM", 10431 + "Description": "Active Attendees", 10432 + "Parent": 0 10433 + }, 10434 + { 10435 + "Id": 115, 10436 + "Source": "USECASES", 10437 + "Description": "Use Case PDF", 10438 + "Parent": 0 10439 + }, 10440 + { 10441 + "Id": 123, 10442 + "Source": "Borrell Miami 2022", 10443 + "Description": "", 10444 + "Parent": 0 10445 + }, 10446 + { 10447 + "Id": 131, 10448 + "Source": "05092022-telemarketing", 10449 + "Description": "", 10450 + "Parent": 0 10451 + }, 10452 + { 10453 + "Id": 139, 10454 + "Source": "WEBINAR6.15.22", 10455 + "Description": "Live Webinar Series June 15, 2022", 10456 + "Parent": 0 10457 + }, 10458 + { 10459 + "Id": 147, 10460 + "Source": "LMA Show List", 10461 + "Description": "", 10462 + "Parent": 0 10463 + }, 10464 + { 10465 + "Id": 155, 10466 + "Source": "AAA", 10467 + "Description": "", 10468 + "Parent": 0 10469 + }, 10470 + { 10471 + "Id": 163, 10472 + "Source": "MGS2022", 10473 + "Description": "", 10474 + "Parent": 0 10475 + }, 10476 + { 10477 + "Id": 171, 10478 + "Source": "MGS2023", 10479 + "Description": "", 10480 + "Parent": 0 10481 + }, 10482 + { 10483 + "Id": 179, 10484 + "Source": "Sugar Leads", 10485 + "Description": "", 10486 + "Parent": 0 10487 + }, 10488 + { 10489 + "Id": 187, 10490 + "Source": "seansbox", 10491 + "Description": "", 10492 + "Parent": 0 10493 + }, 10494 + { 10495 + "Id": 191, 10496 + "Source": "SEEITLIVE", 10497 + "Description": "Lunch & Learn Webinar Series with Special Partner Guests", 10498 + "Parent": 0 10499 + }, 10500 + { 10501 + "Id": 199, 10502 + "Source": "80-percent-conversion-rates", 10503 + "Description": "", 10504 + "Parent": 0 10505 + } 10506 + ] 10507 +} 10508 +{{/code}} 10509 + 3140 3140 \\ 3141 3141 3142 -(% class=" western" %)3143 - POSTmethodshouldbeusedtocreateanindividualsourcegiventhesourceparameters.10512 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 10513 +== (% 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 Source code(%%) == 3144 3144 3145 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3146 -((( 3147 -(% class="western" %) 3148 -**Request** 3149 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3150 -((( 3151 -(% class="western" %) 3152 -**Type** 3153 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3154 -((( 3155 -(% class="western" %) 3156 -**Description** 3157 -))) 3158 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3159 -((( 3160 -(% class="western" %) 3161 -Sources 3162 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3163 -((( 3164 -(% class="western" %) 3165 -Sources 3166 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3167 -((( 3168 -(% class="western" %) 3169 -Defines the contents that makes up the source. Id parameters should not be set. 3170 -))) 10515 +---- 3171 3171 3172 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3173 -((( 3174 -(% class="western" %) 3175 -**Response** 3176 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3177 -((( 3178 -(% class="western" %) 3179 -**Type** 3180 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3181 -((( 3182 -(% class="western" %) 3183 -**Description** 3184 -))) 3185 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3186 -((( 3187 -(% class="western" %) 3188 -SourceId 3189 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3190 -((( 3191 -(% class="western" %) 3192 -int 3193 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3194 -((( 3195 -(% class="western" %) 3196 -Returns created source code id. 3197 -))) 10517 +{{panel bgColor="#D3D3D3" width="100%"}} 10518 + (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/sources/~{~{source code id}} 10519 +{{/panel}} 3198 3198 10521 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 10522 + 10523 +---- 10524 + 10525 +(% 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}} 10526 + 10527 +==== Example ==== 10528 + 10529 +---- 10530 + 10531 +(% style="color: rgb(107,107,107);" %)Request 10532 + 10533 +{{code language="php" theme="RDark" title="Get specific Source Request"}} 10534 + <?php 10535 + 10536 +$curl = curl_init(); 10537 + 10538 +curl_setopt_array($curl, array( 10539 + CURLOPT_URL => 'https://api.onecount.net/v2/sources/{{source code id}}', 10540 + CURLOPT_RETURNTRANSFER => true, 10541 + CURLOPT_ENCODING => '', 10542 + CURLOPT_MAXREDIRS => 10, 10543 + CURLOPT_TIMEOUT => 0, 10544 + CURLOPT_FOLLOWLOCATION => true, 10545 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 10546 + CURLOPT_CUSTOMREQUEST => 'GET', 10547 + CURLOPT_HTTPHEADER => array( 10548 + 'Appkey: {{ONECOUNT API KEY}}' 10549 + ), 10550 +)); 10551 + 10552 +$response = curl_exec($curl); 10553 + 10554 +curl_close($curl); 10555 +echo $response; 10556 +{{/code}} 10557 + 3199 3199 \\ 3200 3200 3201 -(% class="western" %) 3202 -**PUT method can be used to update an individual source given the id.** 10560 +(% style="color: rgb(107,107,107);" %)Response 200 OK 3203 3203 3204 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3205 -((( 3206 -(% class="western" %) 3207 -**Request** 3208 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3209 -((( 3210 -(% class="western" %) 3211 -**Type** 3212 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3213 -((( 3214 -(% class="western" %) 3215 -**Description** 3216 -))) 3217 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3218 -((( 3219 -(% class="western" %) 3220 -Sources 3221 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3222 -((( 3223 -(% class="western" %) 3224 -Sources 3225 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3226 -((( 3227 -(% class="western" %) 3228 -Defines the contents that makes up the source. The id parameter needs to be set which will identify the id of the source to be updated. 3229 -))) 10562 +{{code language="yml" theme="RDark" title="Get specific Source Response" collapse="true"}} 10563 + { 10564 + "result": { 10565 + "success": "1", 10566 + "error": { 10567 + "code": "", 10568 + "message": "" 10569 + } 10570 + }, 10571 + "Sources": [ 10572 + { 10573 + "Id": 26, 10574 + "Source": "GCN-Member", 10575 + "Description": "Uploaded from Reston VA", 10576 + "Parent": 0 10577 + } 10578 + ] 10579 +} 10580 +{{/code}} 3230 3230 3231 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3232 -((( 3233 -(% class="western" %) 3234 -**Response** 3235 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3236 -((( 3237 -(% class="western" %) 3238 -**Type** 3239 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3240 -((( 3241 -(% class="western" %) 3242 -**Description** 3243 -))) 3244 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3245 -((( 3246 -(% class="western" %) 3247 -SourceId 3248 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3249 -((( 3250 -(% class="western" %) 3251 -int 3252 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3253 -((( 3254 -(% class="western" %) 3255 -Returns updated source id. 3256 -))) 10582 +\\ 3257 3257 10584 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 10585 +== (% 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);" %)lookup Source code(%%) == 10586 + 10587 +---- 10588 + 10589 +{{panel bgColor="#D3D3D3" width="100%"}} 10590 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/sources/lookup?Source={(%%){Source code Name}} 10591 +{{/panel}} 10592 + 10593 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 10594 + 10595 +---- 10596 + 10597 +(% 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}} 10598 + 10599 +=== (% style="color: rgb(33,33,33);" %)Query Params(%%) === 10600 + 10601 +---- 10602 + 10603 +(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Source (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key nolink" style="color: rgb(33, 33, 33); color: rgb(33, 33, 33)" %){(% style="color: rgb(33,33,33);" class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key nolink" %){Source code Name}} 10604 + 10605 +==== Example ==== 10606 + 10607 +---- 10608 + 10609 +(% style="color: rgb(107,107,107);" %)Request 10610 + 10611 +{{code language="php" theme="RDark" title="Lookup Source code Request"}} 10612 + <?php 10613 + 10614 +$curl = curl_init(); 10615 + 10616 +curl_setopt_array($curl, array( 10617 + CURLOPT_URL => 'https://api.onecount.net/v2/sources/lookup?Source={{Source code Name}}', 10618 + CURLOPT_RETURNTRANSFER => true, 10619 + CURLOPT_ENCODING => '', 10620 + CURLOPT_MAXREDIRS => 10, 10621 + CURLOPT_TIMEOUT => 0, 10622 + CURLOPT_FOLLOWLOCATION => true, 10623 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 10624 + CURLOPT_CUSTOMREQUEST => 'GET', 10625 + CURLOPT_HTTPHEADER => array( 10626 + 'Appkey: {{ONECOUNT API KEY}}' 10627 + ), 10628 +)); 10629 + 10630 +$response = curl_exec($curl); 10631 + 10632 +curl_close($curl); 10633 +echo $response; 10634 +{{/code}} 10635 + 3258 3258 \\ 3259 3259 10638 +(% style="color: rgb(107,107,107);" %)Response 200 OK 10639 + 10640 +{{code language="yml" theme="RDark" title="Lookup Source code Response" collapse="true"}} 10641 + { 10642 + "result": { 10643 + "success": "1", 10644 + "error": { 10645 + "code": "", 10646 + "message": "" 10647 + } 10648 + }, 10649 + "Sources": [ 10650 + { 10651 + "Id": 26, 10652 + "Source": "GCN-Member", 10653 + "Description": "Uploaded from Reston VA", 10654 + "Parent": 0 10655 + } 10656 + ] 10657 +} 10658 +{{/code}} 10659 + 10660 +\\ 10661 + 10662 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 10663 +== (% 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 Source code(%%) == 10664 + 10665 +---- 10666 + 10667 +{{panel bgColor="#D3D3D3" width="100%"}} 10668 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/sources 10669 +{{/panel}} 10670 + 10671 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 10672 + 10673 +---- 10674 + 10675 +(% 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}} 10676 + 10677 +=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) === 10678 + 10679 +---- 10680 + 10681 +{{code language="yml" theme="RDark" title="Body"}} 10682 +{"Source":"Test source code from API"} 10683 +{{/code}} 10684 + 10685 +==== Example ==== 10686 + 10687 +---- 10688 + 10689 +(% style="color: rgb(107,107,107);" %)Request 10690 + 10691 +{{code language="php" theme="RDark" title="Create Source code Request"}} 10692 + <?php 10693 + 10694 +$curl = curl_init(); 10695 + 10696 +curl_setopt_array($curl, array( 10697 + CURLOPT_URL => 'https://api.onecount.net/v2/sources', 10698 + CURLOPT_RETURNTRANSFER => true, 10699 + CURLOPT_ENCODING => '', 10700 + CURLOPT_MAXREDIRS => 10, 10701 + CURLOPT_TIMEOUT => 0, 10702 + CURLOPT_FOLLOWLOCATION => true, 10703 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 10704 + CURLOPT_CUSTOMREQUEST => 'POST', 10705 + CURLOPT_POSTFIELDS =>'{"Source":"Test source code from API"}', 10706 + CURLOPT_HTTPHEADER => array( 10707 + 'Appkey: {{ONECOUNT API KEY}}' 10708 + ), 10709 +)); 10710 + 10711 +$response = curl_exec($curl); 10712 + 10713 +curl_close($curl); 10714 +echo $response; 10715 +{{/code}} 10716 + 10717 +\\ 10718 + 10719 +(% style="color: rgb(107,107,107);" %)Response 200 OK 10720 + 10721 +{{code language="yml" theme="RDark" title="Create Source code Response" collapse="true"}} 10722 + { 10723 + "result": { 10724 + "success": "1", 10725 + "error": { 10726 + "code": "", 10727 + "message": "" 10728 + } 10729 + }, 10730 + "Sources": [ 10731 + { 10732 + "Id": 223, 10733 + "Source": "Test source code from API", 10734 + "Description": "", 10735 + "Parent": 0 10736 + } 10737 + ] 10738 +} 10739 +{{/code}} 10740 + 10741 +\\ 10742 + 10743 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 10744 +== (% 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 Source code(%%) == 10745 + 10746 +---- 10747 + 10748 +{{panel bgColor="#D3D3D3" width="100%"}} 10749 + (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/sources/~{~{source code id}} 10750 +{{/panel}} 10751 + 10752 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 10753 + 10754 +---- 10755 + 10756 +(% 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}} 10757 + 10758 +=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) === 10759 + 10760 +---- 10761 + 10762 +{{code language="yml" theme="RDark" title="Body"}} 10763 +{"Source":"Test API","Parent":215} 10764 +{{/code}} 10765 + 10766 +==== Example ==== 10767 + 10768 +---- 10769 + 10770 +(% style="color: rgb(107,107,107);" %)Request 10771 + 10772 +{{code language="php" theme="RDark" title="Update Source code Request"}} 10773 + <?php 10774 + 10775 +$curl = curl_init(); 10776 + 10777 +curl_setopt_array($curl, array( 10778 + CURLOPT_URL => 'https://api.onecount.net/v2/sources/{{source code id}}', 10779 + CURLOPT_RETURNTRANSFER => true, 10780 + CURLOPT_ENCODING => '', 10781 + CURLOPT_MAXREDIRS => 10, 10782 + CURLOPT_TIMEOUT => 0, 10783 + CURLOPT_FOLLOWLOCATION => true, 10784 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 10785 + CURLOPT_CUSTOMREQUEST => 'PUT', 10786 + CURLOPT_POSTFIELDS =>'{"Source":"Test API","Parent":215}', 10787 + CURLOPT_HTTPHEADER => array( 10788 + 'Appkey: {{ONECOUNT API KEY}}' 10789 + ), 10790 +)); 10791 + 10792 +$response = curl_exec($curl); 10793 + 10794 +curl_close($curl); 10795 +echo $response; 10796 +{{/code}} 10797 + 10798 +\\ 10799 + 10800 +(% style="color: rgb(107,107,107);" %)Response 200 OK 10801 + 10802 +{{code language="yml" theme="RDark" title="Update Source code Response" collapse="true"}} 10803 + { 10804 + "result": { 10805 + "success": "1", 10806 + "error": { 10807 + "code": "", 10808 + "message": "" 10809 + } 10810 + }, 10811 + "Sources": [ 10812 + { 10813 + "Id": 223, 10814 + "Source": "Test API", 10815 + "Description": "", 10816 + "Parent": 215 10817 + } 10818 + ] 10819 +} 10820 +{{/code}} 10821 + 3260 3260 (% class="western" %) 3261 3261 \\ 3262 3262 3263 3263 (% class="western" %) 3264 -**COMPONENT: Transactions** 10826 +=== **COMPONENT: Transactions** === 3265 3265 3266 3266 (% class="western" %) 3267 3267 This resource is for manipulating transactions resource. A transaction can be created or searched. 3268 3268 10831 +(% class="wrapped" %) 3269 3269 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3270 3270 ((( 3271 3271 (% class="western" %) ... ... @@ -3321,174 +3321,2400 @@ 3321 3321 3322 3322 \\ 3323 3323 3324 -(% class="western" %) 10887 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 10888 +== (% 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 Transactions(%%) == 10889 + 10890 +---- 10891 + 10892 +---- 10893 + 10894 +{{panel bgColor="#D3D3D3" width="100%"}} 10895 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/transactions 10896 +{{/panel}} 10897 + 10898 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 10899 + 10900 +---- 10901 + 10902 +(% 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}} 10903 + 10904 +==== Example ==== 10905 + 10906 +---- 10907 + 10908 +(% style="color: rgb(107,107,107);" %)Request 10909 + 10910 +{{code language="php" theme="RDark" title="Get All Transaction Request"}} 10911 + <?php 10912 + 10913 +$curl = curl_init(); 10914 + 10915 +curl_setopt_array($curl, array( 10916 + CURLOPT_URL => 'https://api.onecount.net/v2/transactions', 10917 + CURLOPT_RETURNTRANSFER => true, 10918 + CURLOPT_ENCODING => '', 10919 + CURLOPT_MAXREDIRS => 10, 10920 + CURLOPT_TIMEOUT => 0, 10921 + CURLOPT_FOLLOWLOCATION => true, 10922 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 10923 + CURLOPT_CUSTOMREQUEST => 'GET', 10924 + CURLOPT_HTTPHEADER => array( 10925 + 'Appkey: {{ONECOUNT API KEY}}' 10926 + ), 10927 +)); 10928 + 10929 +$response = curl_exec($curl); 10930 + 10931 +curl_close($curl); 10932 +echo $response; 10933 +{{/code}} 10934 + 3325 3325 \\ 3326 3326 3327 -(% class="western" %) 3328 -Transactions can be looked up using transactionId, date range, userid. Use GET method to do lookup. 10937 +(% style="color: rgb(107,107,107);" %)Response 200 OK 3329 3329 3330 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3331 -((( 3332 -(% class="western" %) 3333 -**Request** 3334 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3335 -((( 3336 -(% class="western" %) 3337 -**Type** 3338 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3339 -((( 3340 -(% class="western" %) 3341 -**Description** 3342 -))) 3343 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3344 -((( 3345 -(% class="western" %) 3346 -Lookup params 3347 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3348 -((( 3349 -(% class="western" %) 3350 -String 3351 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3352 -((( 3353 -(% class="western" %) 3354 -URL encoded key value string parameter for the lookup. 10939 +{{code language="yml" theme="RDark" title="Get All Transaction Response" collapse="true"}} 10940 + { 10941 + "result": { 10942 + "success": "1", 10943 + "error": { 10944 + "code": "", 10945 + "message": "" 10946 + } 10947 + }, 10948 + "Transactions": [ 10949 + { 10950 + "Id": 10, 10951 + "UserId": 10, 10952 + "TermId": 2, 10953 + "TransactionDate": "2014-07-17", 10954 + "TransactionTime": "10:02:13", 10955 + "RequestDate": "2014-07-17", 10956 + "UserIP": "74.201.38.1", 10957 + "SubscriptionType": "n", 10958 + "ProductId": 2, 10959 + "Source": 10, 10960 + "ProductStatus": 2, 10961 + "MediaFilePath": "", 10962 + "Amount": "" 10963 + }, 10964 + { 10965 + "Id": 26, 10966 + "UserId": 10, 10967 + "TermId": 2, 10968 + "TransactionDate": "2014-07-17", 10969 + "TransactionTime": "10:41:59", 10970 + "RequestDate": "2014-07-17", 10971 + "UserIP": "74.201.38.1", 10972 + "SubscriptionType": "r", 10973 + "ProductId": 2, 10974 + "Source": 10, 10975 + "ProductStatus": 2, 10976 + "MediaFilePath": "", 10977 + "Amount": "" 10978 + }, 10979 + { 10980 + "Id": 50, 10981 + "UserId": 26, 10982 + "TermId": 2, 10983 + "TransactionDate": "2014-07-17", 10984 + "TransactionTime": "12:25:38", 10985 + "RequestDate": "2014-07-17", 10986 + "UserIP": "74.201.38.1", 10987 + "SubscriptionType": "n", 10988 + "ProductId": 2, 10989 + "Source": 10, 10990 + "ProductStatus": 2, 10991 + "MediaFilePath": "", 10992 + "Amount": "" 10993 + }, 10994 + { 10995 + "Id": 58, 10996 + "UserId": 10, 10997 + "TermId": 2, 10998 + "TransactionDate": "2014-07-17", 10999 + "TransactionTime": "12:25:43", 11000 + "RequestDate": "2014-07-17", 11001 + "UserIP": "74.201.38.1", 11002 + "SubscriptionType": "r", 11003 + "ProductId": 2, 11004 + "Source": 10, 11005 + "ProductStatus": 2, 11006 + "MediaFilePath": "", 11007 + "Amount": "" 11008 + }, 11009 + { 11010 + "Id": 66, 11011 + "UserId": 42, 11012 + "TermId": 2, 11013 + "TransactionDate": "2014-07-17", 11014 + "TransactionTime": "12:57:11", 11015 + "RequestDate": "2014-07-17", 11016 + "UserIP": "74.201.38.1", 11017 + "SubscriptionType": "n", 11018 + "ProductId": 2, 11019 + "Source": 26, 11020 + "ProductStatus": 2, 11021 + "MediaFilePath": "", 11022 + "Amount": "" 11023 + }, 11024 + { 11025 + "Id": 74, 11026 + "UserId": 50, 11027 + "TermId": 2, 11028 + "TransactionDate": "2014-07-17", 11029 + "TransactionTime": "12:57:11", 11030 + "RequestDate": "2014-07-17", 11031 + "UserIP": "74.201.38.1", 11032 + "SubscriptionType": "n", 11033 + "ProductId": 2, 11034 + "Source": 26, 11035 + "ProductStatus": 2, 11036 + "MediaFilePath": "", 11037 + "Amount": "" 11038 + }, 11039 + { 11040 + "Id": 82, 11041 + "UserId": 58, 11042 + "TermId": 2, 11043 + "TransactionDate": "2014-07-17", 11044 + "TransactionTime": "12:57:11", 11045 + "RequestDate": "2014-07-17", 11046 + "UserIP": "74.201.38.1", 11047 + "SubscriptionType": "n", 11048 + "ProductId": 2, 11049 + "Source": 26, 11050 + "ProductStatus": 2, 11051 + "MediaFilePath": "", 11052 + "Amount": "" 11053 + }, 11054 + { 11055 + "Id": 90, 11056 + "UserId": 66, 11057 + "TermId": 2, 11058 + "TransactionDate": "2014-07-17", 11059 + "TransactionTime": "12:57:11", 11060 + "RequestDate": "2014-07-17", 11061 + "UserIP": "74.201.38.1", 11062 + "SubscriptionType": "n", 11063 + "ProductId": 2, 11064 + "Source": 26, 11065 + "ProductStatus": 2, 11066 + "MediaFilePath": "", 11067 + "Amount": "" 11068 + }, 11069 + { 11070 + "Id": 98, 11071 + "UserId": 74, 11072 + "TermId": 2, 11073 + "TransactionDate": "2014-07-17", 11074 + "TransactionTime": "12:57:11", 11075 + "RequestDate": "2014-07-17", 11076 + "UserIP": "74.201.38.1", 11077 + "SubscriptionType": "n", 11078 + "ProductId": 2, 11079 + "Source": 26, 11080 + "ProductStatus": 2, 11081 + "MediaFilePath": "", 11082 + "Amount": "" 11083 + }, 11084 + { 11085 + "Id": 106, 11086 + "UserId": 82, 11087 + "TermId": 2, 11088 + "TransactionDate": "2014-07-17", 11089 + "TransactionTime": "12:57:11", 11090 + "RequestDate": "2014-07-17", 11091 + "UserIP": "74.201.38.1", 11092 + "SubscriptionType": "n", 11093 + "ProductId": 2, 11094 + "Source": 26, 11095 + "ProductStatus": 2, 11096 + "MediaFilePath": "", 11097 + "Amount": "" 11098 + }, 11099 + { 11100 + "Id": 114, 11101 + "UserId": 90, 11102 + "TermId": 2, 11103 + "TransactionDate": "2014-07-17", 11104 + "TransactionTime": "12:57:11", 11105 + "RequestDate": "2014-07-17", 11106 + "UserIP": "74.201.38.1", 11107 + "SubscriptionType": "n", 11108 + "ProductId": 2, 11109 + "Source": 26, 11110 + "ProductStatus": 2, 11111 + "MediaFilePath": "", 11112 + "Amount": "" 11113 + }, 11114 + { 11115 + "Id": 122, 11116 + "UserId": 98, 11117 + "TermId": 2, 11118 + "TransactionDate": "2014-07-17", 11119 + "TransactionTime": "12:57:11", 11120 + "RequestDate": "2014-07-17", 11121 + "UserIP": "74.201.38.1", 11122 + "SubscriptionType": "n", 11123 + "ProductId": 2, 11124 + "Source": 26, 11125 + "ProductStatus": 2, 11126 + "MediaFilePath": "", 11127 + "Amount": "" 11128 + }, 11129 + { 11130 + "Id": 130, 11131 + "UserId": 42, 11132 + "TermId": 2, 11133 + "TransactionDate": "2014-07-17", 11134 + "TransactionTime": "12:59:10", 11135 + "RequestDate": "2014-07-17", 11136 + "UserIP": "74.201.38.1", 11137 + "SubscriptionType": "r", 11138 + "ProductId": 2, 11139 + "Source": 10, 11140 + "ProductStatus": 2, 11141 + "MediaFilePath": "", 11142 + "Amount": "" 11143 + }, 11144 + { 11145 + "Id": 138, 11146 + "UserId": 50, 11147 + "TermId": 2, 11148 + "TransactionDate": "2014-07-17", 11149 + "TransactionTime": "12:59:10", 11150 + "RequestDate": "2014-07-17", 11151 + "UserIP": "74.201.38.1", 11152 + "SubscriptionType": "r", 11153 + "ProductId": 2, 11154 + "Source": 10, 11155 + "ProductStatus": 2, 11156 + "MediaFilePath": "", 11157 + "Amount": "" 11158 + }, 11159 + { 11160 + "Id": 146, 11161 + "UserId": 58, 11162 + "TermId": 2, 11163 + "TransactionDate": "2014-07-17", 11164 + "TransactionTime": "12:59:10", 11165 + "RequestDate": "2014-07-17", 11166 + "UserIP": "74.201.38.1", 11167 + "SubscriptionType": "r", 11168 + "ProductId": 2, 11169 + "Source": 10, 11170 + "ProductStatus": 2, 11171 + "MediaFilePath": "", 11172 + "Amount": "" 11173 + }, 11174 + { 11175 + "Id": 154, 11176 + "UserId": 66, 11177 + "TermId": 2, 11178 + "TransactionDate": "2014-07-17", 11179 + "TransactionTime": "12:59:10", 11180 + "RequestDate": "2014-07-17", 11181 + "UserIP": "74.201.38.1", 11182 + "SubscriptionType": "r", 11183 + "ProductId": 2, 11184 + "Source": 10, 11185 + "ProductStatus": 2, 11186 + "MediaFilePath": "", 11187 + "Amount": "" 11188 + }, 11189 + { 11190 + "Id": 162, 11191 + "UserId": 74, 11192 + "TermId": 2, 11193 + "TransactionDate": "2014-07-17", 11194 + "TransactionTime": "12:59:10", 11195 + "RequestDate": "2014-07-17", 11196 + "UserIP": "74.201.38.1", 11197 + "SubscriptionType": "r", 11198 + "ProductId": 2, 11199 + "Source": 10, 11200 + "ProductStatus": 2, 11201 + "MediaFilePath": "", 11202 + "Amount": "" 11203 + }, 11204 + { 11205 + "Id": 170, 11206 + "UserId": 82, 11207 + "TermId": 2, 11208 + "TransactionDate": "2014-07-17", 11209 + "TransactionTime": "12:59:10", 11210 + "RequestDate": "2014-07-17", 11211 + "UserIP": "74.201.38.1", 11212 + "SubscriptionType": "r", 11213 + "ProductId": 2, 11214 + "Source": 10, 11215 + "ProductStatus": 2, 11216 + "MediaFilePath": "", 11217 + "Amount": "" 11218 + }, 11219 + { 11220 + "Id": 178, 11221 + "UserId": 90, 11222 + "TermId": 2, 11223 + "TransactionDate": "2014-07-17", 11224 + "TransactionTime": "12:59:10", 11225 + "RequestDate": "2014-07-17", 11226 + "UserIP": "74.201.38.1", 11227 + "SubscriptionType": "r", 11228 + "ProductId": 2, 11229 + "Source": 10, 11230 + "ProductStatus": 2, 11231 + "MediaFilePath": "", 11232 + "Amount": "" 11233 + }, 11234 + { 11235 + "Id": 186, 11236 + "UserId": 98, 11237 + "TermId": 2, 11238 + "TransactionDate": "2014-07-17", 11239 + "TransactionTime": "12:59:10", 11240 + "RequestDate": "2014-07-17", 11241 + "UserIP": "74.201.38.1", 11242 + "SubscriptionType": "r", 11243 + "ProductId": 2, 11244 + "Source": 10, 11245 + "ProductStatus": 2, 11246 + "MediaFilePath": "", 11247 + "Amount": "" 11248 + }, 11249 + { 11250 + "Id": 194, 11251 + "UserId": 162, 11252 + "TermId": 2, 11253 + "TransactionDate": "2014-07-17", 11254 + "TransactionTime": "13:00:42", 11255 + "RequestDate": "2014-07-17", 11256 + "UserIP": "74.201.38.1", 11257 + "SubscriptionType": "n", 11258 + "ProductId": 2, 11259 + "Source": 10, 11260 + "ProductStatus": 2, 11261 + "MediaFilePath": "", 11262 + "Amount": "" 11263 + }, 11264 + { 11265 + "Id": 202, 11266 + "UserId": 170, 11267 + "TermId": 2, 11268 + "TransactionDate": "2014-07-17", 11269 + "TransactionTime": "13:00:42", 11270 + "RequestDate": "2014-07-17", 11271 + "UserIP": "74.201.38.1", 11272 + "SubscriptionType": "n", 11273 + "ProductId": 2, 11274 + "Source": 10, 11275 + "ProductStatus": 2, 11276 + "MediaFilePath": "", 11277 + "Amount": "" 11278 + }, 11279 + { 11280 + "Id": 210, 11281 + "UserId": 178, 11282 + "TermId": 2, 11283 + "TransactionDate": "2014-07-17", 11284 + "TransactionTime": "13:00:42", 11285 + "RequestDate": "2014-07-17", 11286 + "UserIP": "74.201.38.1", 11287 + "SubscriptionType": "n", 11288 + "ProductId": 2, 11289 + "Source": 10, 11290 + "ProductStatus": 2, 11291 + "MediaFilePath": "", 11292 + "Amount": "" 11293 + }, 11294 + { 11295 + "Id": 218, 11296 + "UserId": 186, 11297 + "TermId": 2, 11298 + "TransactionDate": "2014-07-17", 11299 + "TransactionTime": "13:00:42", 11300 + "RequestDate": "2014-07-17", 11301 + "UserIP": "74.201.38.1", 11302 + "SubscriptionType": "n", 11303 + "ProductId": 2, 11304 + "Source": 10, 11305 + "ProductStatus": 2, 11306 + "MediaFilePath": "", 11307 + "Amount": "" 11308 + }, 11309 + { 11310 + "Id": 226, 11311 + "UserId": 194, 11312 + "TermId": 2, 11313 + "TransactionDate": "2014-07-17", 11314 + "TransactionTime": "13:00:42", 11315 + "RequestDate": "2014-07-17", 11316 + "UserIP": "74.201.38.1", 11317 + "SubscriptionType": "n", 11318 + "ProductId": 2, 11319 + "Source": 10, 11320 + "ProductStatus": 2, 11321 + "MediaFilePath": "", 11322 + "Amount": "" 11323 + }, 11324 + { 11325 + "Id": 234, 11326 + "UserId": 202, 11327 + "TermId": 2, 11328 + "TransactionDate": "2014-07-17", 11329 + "TransactionTime": "13:00:42", 11330 + "RequestDate": "2014-07-17", 11331 + "UserIP": "74.201.38.1", 11332 + "SubscriptionType": "n", 11333 + "ProductId": 2, 11334 + "Source": 10, 11335 + "ProductStatus": 2, 11336 + "MediaFilePath": "", 11337 + "Amount": "" 11338 + }, 11339 + { 11340 + "Id": 242, 11341 + "UserId": 210, 11342 + "TermId": 2, 11343 + "TransactionDate": "2014-07-17", 11344 + "TransactionTime": "13:00:42", 11345 + "RequestDate": "2014-07-17", 11346 + "UserIP": "74.201.38.1", 11347 + "SubscriptionType": "n", 11348 + "ProductId": 2, 11349 + "Source": 10, 11350 + "ProductStatus": 2, 11351 + "MediaFilePath": "", 11352 + "Amount": "" 11353 + }, 11354 + { 11355 + "Id": 250, 11356 + "UserId": 218, 11357 + "TermId": 2, 11358 + "TransactionDate": "2014-07-17", 11359 + "TransactionTime": "13:00:42", 11360 + "RequestDate": "2014-07-17", 11361 + "UserIP": "74.201.38.1", 11362 + "SubscriptionType": "n", 11363 + "ProductId": 2, 11364 + "Source": 10, 11365 + "ProductStatus": 2, 11366 + "MediaFilePath": "", 11367 + "Amount": "" 11368 + }, 11369 + { 11370 + "Id": 258, 11371 + "UserId": 282, 11372 + "TermId": 2, 11373 + "TransactionDate": "2014-07-17", 11374 + "TransactionTime": "13:02:19", 11375 + "RequestDate": "2014-07-17", 11376 + "UserIP": "74.201.38.1", 11377 + "SubscriptionType": "n", 11378 + "ProductId": 2, 11379 + "Source": 10, 11380 + "ProductStatus": 2, 11381 + "MediaFilePath": "", 11382 + "Amount": "" 11383 + }, 11384 + { 11385 + "Id": 266, 11386 + "UserId": 290, 11387 + "TermId": 2, 11388 + "TransactionDate": "2014-07-17", 11389 + "TransactionTime": "13:02:19", 11390 + "RequestDate": "2014-07-17", 11391 + "UserIP": "74.201.38.1", 11392 + "SubscriptionType": "n", 11393 + "ProductId": 2, 11394 + "Source": 10, 11395 + "ProductStatus": 2, 11396 + "MediaFilePath": "", 11397 + "Amount": "" 11398 + }, 11399 + { 11400 + "Id": 274, 11401 + "UserId": 298, 11402 + "TermId": 2, 11403 + "TransactionDate": "2014-07-17", 11404 + "TransactionTime": "13:02:19", 11405 + "RequestDate": "2014-07-17", 11406 + "UserIP": "74.201.38.1", 11407 + "SubscriptionType": "n", 11408 + "ProductId": 2, 11409 + "Source": 10, 11410 + "ProductStatus": 2, 11411 + "MediaFilePath": "", 11412 + "Amount": "" 11413 + }, 11414 + { 11415 + "Id": 282, 11416 + "UserId": 306, 11417 + "TermId": 2, 11418 + "TransactionDate": "2014-07-17", 11419 + "TransactionTime": "13:02:19", 11420 + "RequestDate": "2014-07-17", 11421 + "UserIP": "74.201.38.1", 11422 + "SubscriptionType": "n", 11423 + "ProductId": 2, 11424 + "Source": 10, 11425 + "ProductStatus": 2, 11426 + "MediaFilePath": "", 11427 + "Amount": "" 11428 + }, 11429 + { 11430 + "Id": 290, 11431 + "UserId": 314, 11432 + "TermId": 2, 11433 + "TransactionDate": "2014-07-17", 11434 + "TransactionTime": "13:02:19", 11435 + "RequestDate": "2014-07-17", 11436 + "UserIP": "74.201.38.1", 11437 + "SubscriptionType": "n", 11438 + "ProductId": 2, 11439 + "Source": 10, 11440 + "ProductStatus": 2, 11441 + "MediaFilePath": "", 11442 + "Amount": "" 11443 + }, 11444 + { 11445 + "Id": 298, 11446 + "UserId": 322, 11447 + "TermId": 2, 11448 + "TransactionDate": "2014-07-17", 11449 + "TransactionTime": "13:02:19", 11450 + "RequestDate": "2014-07-17", 11451 + "UserIP": "74.201.38.1", 11452 + "SubscriptionType": "n", 11453 + "ProductId": 2, 11454 + "Source": 10, 11455 + "ProductStatus": 2, 11456 + "MediaFilePath": "", 11457 + "Amount": "" 11458 + }, 11459 + { 11460 + "Id": 306, 11461 + "UserId": 330, 11462 + "TermId": 2, 11463 + "TransactionDate": "2014-07-17", 11464 + "TransactionTime": "13:02:19", 11465 + "RequestDate": "2014-07-17", 11466 + "UserIP": "74.201.38.1", 11467 + "SubscriptionType": "n", 11468 + "ProductId": 2, 11469 + "Source": 10, 11470 + "ProductStatus": 2, 11471 + "MediaFilePath": "", 11472 + "Amount": "" 11473 + }, 11474 + { 11475 + "Id": 466, 11476 + "UserId": 698, 11477 + "TermId": 2, 11478 + "TransactionDate": "2014-07-17", 11479 + "TransactionTime": "13:13:06", 11480 + "RequestDate": "2014-07-17", 11481 + "UserIP": "74.201.38.1", 11482 + "SubscriptionType": "n", 11483 + "ProductId": 2, 11484 + "Source": 26, 11485 + "ProductStatus": 2, 11486 + "MediaFilePath": "", 11487 + "Amount": "" 11488 + }, 11489 + { 11490 + "Id": 474, 11491 + "UserId": 706, 11492 + "TermId": 2, 11493 + "TransactionDate": "2014-07-17", 11494 + "TransactionTime": "13:13:06", 11495 + "RequestDate": "2014-07-17", 11496 + "UserIP": "74.201.38.1", 11497 + "SubscriptionType": "n", 11498 + "ProductId": 2, 11499 + "Source": 26, 11500 + "ProductStatus": 2, 11501 + "MediaFilePath": "", 11502 + "Amount": "" 11503 + }, 11504 + { 11505 + "Id": 482, 11506 + "UserId": 714, 11507 + "TermId": 2, 11508 + "TransactionDate": "2014-07-17", 11509 + "TransactionTime": "13:13:06", 11510 + "RequestDate": "2014-07-17", 11511 + "UserIP": "74.201.38.1", 11512 + "SubscriptionType": "n", 11513 + "ProductId": 2, 11514 + "Source": 26, 11515 + "ProductStatus": 2, 11516 + "MediaFilePath": "", 11517 + "Amount": "" 11518 + }, 11519 + { 11520 + "Id": 490, 11521 + "UserId": 722, 11522 + "TermId": 2, 11523 + "TransactionDate": "2014-07-17", 11524 + "TransactionTime": "13:13:06", 11525 + "RequestDate": "2014-07-17", 11526 + "UserIP": "74.201.38.1", 11527 + "SubscriptionType": "n", 11528 + "ProductId": 2, 11529 + "Source": 26, 11530 + "ProductStatus": 2, 11531 + "MediaFilePath": "", 11532 + "Amount": "" 11533 + }, 11534 + { 11535 + "Id": 498, 11536 + "UserId": 730, 11537 + "TermId": 2, 11538 + "TransactionDate": "2014-07-17", 11539 + "TransactionTime": "13:13:06", 11540 + "RequestDate": "2014-07-17", 11541 + "UserIP": "74.201.38.1", 11542 + "SubscriptionType": "n", 11543 + "ProductId": 2, 11544 + "Source": 26, 11545 + "ProductStatus": 2, 11546 + "MediaFilePath": "", 11547 + "Amount": "" 11548 + }, 11549 + { 11550 + "Id": 506, 11551 + "UserId": 738, 11552 + "TermId": 2, 11553 + "TransactionDate": "2014-07-17", 11554 + "TransactionTime": "13:13:06", 11555 + "RequestDate": "2014-07-17", 11556 + "UserIP": "74.201.38.1", 11557 + "SubscriptionType": "n", 11558 + "ProductId": 2, 11559 + "Source": 26, 11560 + "ProductStatus": 2, 11561 + "MediaFilePath": "", 11562 + "Amount": "" 11563 + }, 11564 + { 11565 + "Id": 522, 11566 + "UserId": 754, 11567 + "TermId": 18, 11568 + "TransactionDate": "2014-08-19", 11569 + "TransactionTime": "11:18:55", 11570 + "RequestDate": "2014-08-19", 11571 + "UserIP": "74.201.38.1", 11572 + "SubscriptionType": "n", 11573 + "ProductId": 18, 11574 + "Source": 34, 11575 + "ProductStatus": 2, 11576 + "MediaFilePath": "", 11577 + "Amount": "" 11578 + }, 11579 + { 11580 + "Id": 530, 11581 + "UserId": 762, 11582 + "TermId": 18, 11583 + "TransactionDate": "2014-08-19", 11584 + "TransactionTime": "11:18:55", 11585 + "RequestDate": "2014-08-19", 11586 + "UserIP": "74.201.38.1", 11587 + "SubscriptionType": "n", 11588 + "ProductId": 18, 11589 + "Source": 34, 11590 + "ProductStatus": 2, 11591 + "MediaFilePath": "", 11592 + "Amount": "" 11593 + }, 11594 + { 11595 + "Id": 538, 11596 + "UserId": 770, 11597 + "TermId": 18, 11598 + "TransactionDate": "2014-08-19", 11599 + "TransactionTime": "11:18:55", 11600 + "RequestDate": "2014-08-19", 11601 + "UserIP": "74.201.38.1", 11602 + "SubscriptionType": "n", 11603 + "ProductId": 18, 11604 + "Source": 34, 11605 + "ProductStatus": 2, 11606 + "MediaFilePath": "", 11607 + "Amount": "" 11608 + }, 11609 + { 11610 + "Id": 546, 11611 + "UserId": 778, 11612 + "TermId": 18, 11613 + "TransactionDate": "2014-08-19", 11614 + "TransactionTime": "11:18:55", 11615 + "RequestDate": "2014-08-19", 11616 + "UserIP": "74.201.38.1", 11617 + "SubscriptionType": "n", 11618 + "ProductId": 18, 11619 + "Source": 34, 11620 + "ProductStatus": 2, 11621 + "MediaFilePath": "", 11622 + "Amount": "" 11623 + }, 11624 + { 11625 + "Id": 554, 11626 + "UserId": 786, 11627 + "TermId": 18, 11628 + "TransactionDate": "2014-08-19", 11629 + "TransactionTime": "11:18:55", 11630 + "RequestDate": "2014-08-19", 11631 + "UserIP": "74.201.38.1", 11632 + "SubscriptionType": "n", 11633 + "ProductId": 18, 11634 + "Source": 34, 11635 + "ProductStatus": 2, 11636 + "MediaFilePath": "", 11637 + "Amount": "" 11638 + }, 11639 + { 11640 + "Id": 570, 11641 + "UserId": 802, 11642 + "TermId": 18, 11643 + "TransactionDate": "2014-08-19", 11644 + "TransactionTime": "11:18:55", 11645 + "RequestDate": "2014-08-19", 11646 + "UserIP": "74.201.38.1", 11647 + "SubscriptionType": "n", 11648 + "ProductId": 18, 11649 + "Source": 34, 11650 + "ProductStatus": 2, 11651 + "MediaFilePath": "", 11652 + "Amount": "" 11653 + }, 11654 + { 11655 + "Id": 578, 11656 + "UserId": 810, 11657 + "TermId": 18, 11658 + "TransactionDate": "2014-08-19", 11659 + "TransactionTime": "11:18:55", 11660 + "RequestDate": "2014-08-19", 11661 + "UserIP": "74.201.38.1", 11662 + "SubscriptionType": "n", 11663 + "ProductId": 18, 11664 + "Source": 34, 11665 + "ProductStatus": 2, 11666 + "MediaFilePath": "", 11667 + "Amount": "" 11668 + }, 11669 + { 11670 + "Id": 586, 11671 + "UserId": 818, 11672 + "TermId": 18, 11673 + "TransactionDate": "2014-08-19", 11674 + "TransactionTime": "11:18:55", 11675 + "RequestDate": "2014-08-19", 11676 + "UserIP": "74.201.38.1", 11677 + "SubscriptionType": "n", 11678 + "ProductId": 18, 11679 + "Source": 34, 11680 + "ProductStatus": 2, 11681 + "MediaFilePath": "", 11682 + "Amount": "" 11683 + }, 11684 + { 11685 + "Id": 602, 11686 + "UserId": 834, 11687 + "TermId": 18, 11688 + "TransactionDate": "2014-08-19", 11689 + "TransactionTime": "11:18:55", 11690 + "RequestDate": "2014-08-19", 11691 + "UserIP": "74.201.38.1", 11692 + "SubscriptionType": "n", 11693 + "ProductId": 18, 11694 + "Source": 34, 11695 + "ProductStatus": 2, 11696 + "MediaFilePath": "", 11697 + "Amount": "" 11698 + }, 11699 + { 11700 + "Id": 610, 11701 + "UserId": 842, 11702 + "TermId": 18, 11703 + "TransactionDate": "2014-08-19", 11704 + "TransactionTime": "11:18:55", 11705 + "RequestDate": "2014-08-19", 11706 + "UserIP": "74.201.38.1", 11707 + "SubscriptionType": "n", 11708 + "ProductId": 18, 11709 + "Source": 34, 11710 + "ProductStatus": 2, 11711 + "MediaFilePath": "", 11712 + "Amount": "" 11713 + }, 11714 + { 11715 + "Id": 618, 11716 + "UserId": 850, 11717 + "TermId": 18, 11718 + "TransactionDate": "2014-08-19", 11719 + "TransactionTime": "11:18:55", 11720 + "RequestDate": "2014-08-19", 11721 + "UserIP": "74.201.38.1", 11722 + "SubscriptionType": "n", 11723 + "ProductId": 18, 11724 + "Source": 34, 11725 + "ProductStatus": 2, 11726 + "MediaFilePath": "", 11727 + "Amount": "" 11728 + }, 11729 + { 11730 + "Id": 626, 11731 + "UserId": 858, 11732 + "TermId": 18, 11733 + "TransactionDate": "2014-08-19", 11734 + "TransactionTime": "11:18:55", 11735 + "RequestDate": "2014-08-19", 11736 + "UserIP": "74.201.38.1", 11737 + "SubscriptionType": "n", 11738 + "ProductId": 18, 11739 + "Source": 34, 11740 + "ProductStatus": 2, 11741 + "MediaFilePath": "", 11742 + "Amount": "" 11743 + }, 11744 + { 11745 + "Id": 634, 11746 + "UserId": 866, 11747 + "TermId": 18, 11748 + "TransactionDate": "2014-08-19", 11749 + "TransactionTime": "11:18:55", 11750 + "RequestDate": "2014-08-19", 11751 + "UserIP": "74.201.38.1", 11752 + "SubscriptionType": "n", 11753 + "ProductId": 18, 11754 + "Source": 34, 11755 + "ProductStatus": 2, 11756 + "MediaFilePath": "", 11757 + "Amount": "" 11758 + }, 11759 + { 11760 + "Id": 642, 11761 + "UserId": 874, 11762 + "TermId": 18, 11763 + "TransactionDate": "2014-08-19", 11764 + "TransactionTime": "11:18:55", 11765 + "RequestDate": "2014-08-19", 11766 + "UserIP": "74.201.38.1", 11767 + "SubscriptionType": "n", 11768 + "ProductId": 18, 11769 + "Source": 34, 11770 + "ProductStatus": 2, 11771 + "MediaFilePath": "", 11772 + "Amount": "" 11773 + }, 11774 + { 11775 + "Id": 650, 11776 + "UserId": 882, 11777 + "TermId": 18, 11778 + "TransactionDate": "2014-08-19", 11779 + "TransactionTime": "11:18:55", 11780 + "RequestDate": "2014-08-19", 11781 + "UserIP": "74.201.38.1", 11782 + "SubscriptionType": "n", 11783 + "ProductId": 18, 11784 + "Source": 34, 11785 + "ProductStatus": 2, 11786 + "MediaFilePath": "", 11787 + "Amount": "" 11788 + }, 11789 + { 11790 + "Id": 658, 11791 + "UserId": 890, 11792 + "TermId": 18, 11793 + "TransactionDate": "2014-08-19", 11794 + "TransactionTime": "11:18:55", 11795 + "RequestDate": "2014-08-19", 11796 + "UserIP": "74.201.38.1", 11797 + "SubscriptionType": "n", 11798 + "ProductId": 18, 11799 + "Source": 34, 11800 + "ProductStatus": 2, 11801 + "MediaFilePath": "", 11802 + "Amount": "" 11803 + }, 11804 + { 11805 + "Id": 666, 11806 + "UserId": 898, 11807 + "TermId": 18, 11808 + "TransactionDate": "2014-08-19", 11809 + "TransactionTime": "11:18:55", 11810 + "RequestDate": "2014-08-19", 11811 + "UserIP": "74.201.38.1", 11812 + "SubscriptionType": "n", 11813 + "ProductId": 18, 11814 + "Source": 34, 11815 + "ProductStatus": 2, 11816 + "MediaFilePath": "", 11817 + "Amount": "" 11818 + }, 11819 + { 11820 + "Id": 674, 11821 + "UserId": 906, 11822 + "TermId": 18, 11823 + "TransactionDate": "2014-08-19", 11824 + "TransactionTime": "11:18:55", 11825 + "RequestDate": "2014-08-19", 11826 + "UserIP": "74.201.38.1", 11827 + "SubscriptionType": "n", 11828 + "ProductId": 18, 11829 + "Source": 34, 11830 + "ProductStatus": 2, 11831 + "MediaFilePath": "", 11832 + "Amount": "" 11833 + }, 11834 + { 11835 + "Id": 682, 11836 + "UserId": 914, 11837 + "TermId": 18, 11838 + "TransactionDate": "2014-08-19", 11839 + "TransactionTime": "11:18:55", 11840 + "RequestDate": "2014-08-19", 11841 + "UserIP": "74.201.38.1", 11842 + "SubscriptionType": "n", 11843 + "ProductId": 18, 11844 + "Source": 34, 11845 + "ProductStatus": 2, 11846 + "MediaFilePath": "", 11847 + "Amount": "" 11848 + }, 11849 + { 11850 + "Id": 690, 11851 + "UserId": 922, 11852 + "TermId": 18, 11853 + "TransactionDate": "2014-08-19", 11854 + "TransactionTime": "11:18:55", 11855 + "RequestDate": "2014-08-19", 11856 + "UserIP": "74.201.38.1", 11857 + "SubscriptionType": "n", 11858 + "ProductId": 18, 11859 + "Source": 34, 11860 + "ProductStatus": 2, 11861 + "MediaFilePath": "", 11862 + "Amount": "" 11863 + }, 11864 + { 11865 + "Id": 698, 11866 + "UserId": 930, 11867 + "TermId": 18, 11868 + "TransactionDate": "2014-08-19", 11869 + "TransactionTime": "11:18:55", 11870 + "RequestDate": "2014-08-19", 11871 + "UserIP": "74.201.38.1", 11872 + "SubscriptionType": "n", 11873 + "ProductId": 18, 11874 + "Source": 34, 11875 + "ProductStatus": 2, 11876 + "MediaFilePath": "", 11877 + "Amount": "" 11878 + }, 11879 + { 11880 + "Id": 706, 11881 + "UserId": 938, 11882 + "TermId": 18, 11883 + "TransactionDate": "2014-08-19", 11884 + "TransactionTime": "11:18:55", 11885 + "RequestDate": "2014-08-19", 11886 + "UserIP": "74.201.38.1", 11887 + "SubscriptionType": "n", 11888 + "ProductId": 18, 11889 + "Source": 34, 11890 + "ProductStatus": 2, 11891 + "MediaFilePath": "", 11892 + "Amount": "" 11893 + }, 11894 + { 11895 + "Id": 714, 11896 + "UserId": 946, 11897 + "TermId": 18, 11898 + "TransactionDate": "2014-08-19", 11899 + "TransactionTime": "11:18:55", 11900 + "RequestDate": "2014-08-19", 11901 + "UserIP": "74.201.38.1", 11902 + "SubscriptionType": "n", 11903 + "ProductId": 18, 11904 + "Source": 34, 11905 + "ProductStatus": 2, 11906 + "MediaFilePath": "", 11907 + "Amount": "" 11908 + }, 11909 + { 11910 + "Id": 722, 11911 + "UserId": 954, 11912 + "TermId": 18, 11913 + "TransactionDate": "2014-08-19", 11914 + "TransactionTime": "11:18:55", 11915 + "RequestDate": "2014-08-19", 11916 + "UserIP": "74.201.38.1", 11917 + "SubscriptionType": "n", 11918 + "ProductId": 18, 11919 + "Source": 34, 11920 + "ProductStatus": 2, 11921 + "MediaFilePath": "", 11922 + "Amount": "" 11923 + }, 11924 + { 11925 + "Id": 730, 11926 + "UserId": 962, 11927 + "TermId": 18, 11928 + "TransactionDate": "2014-08-19", 11929 + "TransactionTime": "11:18:55", 11930 + "RequestDate": "2014-08-19", 11931 + "UserIP": "74.201.38.1", 11932 + "SubscriptionType": "n", 11933 + "ProductId": 18, 11934 + "Source": 34, 11935 + "ProductStatus": 2, 11936 + "MediaFilePath": "", 11937 + "Amount": "" 11938 + }, 11939 + { 11940 + "Id": 738, 11941 + "UserId": 970, 11942 + "TermId": 18, 11943 + "TransactionDate": "2014-08-19", 11944 + "TransactionTime": "11:18:55", 11945 + "RequestDate": "2014-08-19", 11946 + "UserIP": "74.201.38.1", 11947 + "SubscriptionType": "n", 11948 + "ProductId": 18, 11949 + "Source": 34, 11950 + "ProductStatus": 2, 11951 + "MediaFilePath": "", 11952 + "Amount": "" 11953 + }, 11954 + { 11955 + "Id": 746, 11956 + "UserId": 978, 11957 + "TermId": 18, 11958 + "TransactionDate": "2014-08-19", 11959 + "TransactionTime": "11:18:55", 11960 + "RequestDate": "2014-08-19", 11961 + "UserIP": "74.201.38.1", 11962 + "SubscriptionType": "n", 11963 + "ProductId": 18, 11964 + "Source": 34, 11965 + "ProductStatus": 2, 11966 + "MediaFilePath": "", 11967 + "Amount": "" 11968 + }, 11969 + { 11970 + "Id": 754, 11971 + "UserId": 986, 11972 + "TermId": 18, 11973 + "TransactionDate": "2014-08-19", 11974 + "TransactionTime": "11:18:55", 11975 + "RequestDate": "2014-08-19", 11976 + "UserIP": "74.201.38.1", 11977 + "SubscriptionType": "n", 11978 + "ProductId": 18, 11979 + "Source": 34, 11980 + "ProductStatus": 2, 11981 + "MediaFilePath": "", 11982 + "Amount": "" 11983 + }, 11984 + { 11985 + "Id": 762, 11986 + "UserId": 994, 11987 + "TermId": 18, 11988 + "TransactionDate": "2014-08-19", 11989 + "TransactionTime": "11:18:55", 11990 + "RequestDate": "2014-08-19", 11991 + "UserIP": "74.201.38.1", 11992 + "SubscriptionType": "n", 11993 + "ProductId": 18, 11994 + "Source": 34, 11995 + "ProductStatus": 2, 11996 + "MediaFilePath": "", 11997 + "Amount": "" 11998 + }, 11999 + { 12000 + "Id": 770, 12001 + "UserId": 1002, 12002 + "TermId": 18, 12003 + "TransactionDate": "2014-08-19", 12004 + "TransactionTime": "11:18:55", 12005 + "RequestDate": "2014-08-19", 12006 + "UserIP": "74.201.38.1", 12007 + "SubscriptionType": "n", 12008 + "ProductId": 18, 12009 + "Source": 34, 12010 + "ProductStatus": 2, 12011 + "MediaFilePath": "", 12012 + "Amount": "" 12013 + }, 12014 + { 12015 + "Id": 778, 12016 + "UserId": 1010, 12017 + "TermId": 18, 12018 + "TransactionDate": "2014-08-19", 12019 + "TransactionTime": "11:18:55", 12020 + "RequestDate": "2014-08-19", 12021 + "UserIP": "74.201.38.1", 12022 + "SubscriptionType": "n", 12023 + "ProductId": 18, 12024 + "Source": 34, 12025 + "ProductStatus": 2, 12026 + "MediaFilePath": "", 12027 + "Amount": "" 12028 + }, 12029 + { 12030 + "Id": 786, 12031 + "UserId": 1018, 12032 + "TermId": 18, 12033 + "TransactionDate": "2014-08-19", 12034 + "TransactionTime": "11:18:55", 12035 + "RequestDate": "2014-08-19", 12036 + "UserIP": "74.201.38.1", 12037 + "SubscriptionType": "n", 12038 + "ProductId": 18, 12039 + "Source": 34, 12040 + "ProductStatus": 2, 12041 + "MediaFilePath": "", 12042 + "Amount": "" 12043 + }, 12044 + { 12045 + "Id": 794, 12046 + "UserId": 1026, 12047 + "TermId": 18, 12048 + "TransactionDate": "2014-08-19", 12049 + "TransactionTime": "11:18:55", 12050 + "RequestDate": "2014-08-19", 12051 + "UserIP": "74.201.38.1", 12052 + "SubscriptionType": "n", 12053 + "ProductId": 18, 12054 + "Source": 34, 12055 + "ProductStatus": 2, 12056 + "MediaFilePath": "", 12057 + "Amount": "" 12058 + }, 12059 + { 12060 + "Id": 802, 12061 + "UserId": 1034, 12062 + "TermId": 18, 12063 + "TransactionDate": "2014-08-19", 12064 + "TransactionTime": "11:18:55", 12065 + "RequestDate": "2014-08-19", 12066 + "UserIP": "74.201.38.1", 12067 + "SubscriptionType": "n", 12068 + "ProductId": 18, 12069 + "Source": 34, 12070 + "ProductStatus": 2, 12071 + "MediaFilePath": "", 12072 + "Amount": "" 12073 + }, 12074 + { 12075 + "Id": 810, 12076 + "UserId": 1042, 12077 + "TermId": 18, 12078 + "TransactionDate": "2014-08-19", 12079 + "TransactionTime": "11:18:55", 12080 + "RequestDate": "2014-08-19", 12081 + "UserIP": "74.201.38.1", 12082 + "SubscriptionType": "n", 12083 + "ProductId": 18, 12084 + "Source": 34, 12085 + "ProductStatus": 2, 12086 + "MediaFilePath": "", 12087 + "Amount": "" 12088 + }, 12089 + { 12090 + "Id": 818, 12091 + "UserId": 1050, 12092 + "TermId": 18, 12093 + "TransactionDate": "2014-08-19", 12094 + "TransactionTime": "11:18:55", 12095 + "RequestDate": "2014-08-19", 12096 + "UserIP": "74.201.38.1", 12097 + "SubscriptionType": "n", 12098 + "ProductId": 18, 12099 + "Source": 34, 12100 + "ProductStatus": 2, 12101 + "MediaFilePath": "", 12102 + "Amount": "" 12103 + }, 12104 + { 12105 + "Id": 826, 12106 + "UserId": 1058, 12107 + "TermId": 18, 12108 + "TransactionDate": "2014-08-19", 12109 + "TransactionTime": "11:18:55", 12110 + "RequestDate": "2014-08-19", 12111 + "UserIP": "74.201.38.1", 12112 + "SubscriptionType": "n", 12113 + "ProductId": 18, 12114 + "Source": 34, 12115 + "ProductStatus": 2, 12116 + "MediaFilePath": "", 12117 + "Amount": "" 12118 + }, 12119 + { 12120 + "Id": 834, 12121 + "UserId": 1066, 12122 + "TermId": 18, 12123 + "TransactionDate": "2014-08-19", 12124 + "TransactionTime": "11:18:55", 12125 + "RequestDate": "2014-08-19", 12126 + "UserIP": "74.201.38.1", 12127 + "SubscriptionType": "n", 12128 + "ProductId": 18, 12129 + "Source": 34, 12130 + "ProductStatus": 2, 12131 + "MediaFilePath": "", 12132 + "Amount": "" 12133 + }, 12134 + { 12135 + "Id": 842, 12136 + "UserId": 1074, 12137 + "TermId": 18, 12138 + "TransactionDate": "2014-08-19", 12139 + "TransactionTime": "11:18:55", 12140 + "RequestDate": "2014-08-19", 12141 + "UserIP": "74.201.38.1", 12142 + "SubscriptionType": "n", 12143 + "ProductId": 18, 12144 + "Source": 34, 12145 + "ProductStatus": 2, 12146 + "MediaFilePath": "", 12147 + "Amount": "" 12148 + }, 12149 + { 12150 + "Id": 850, 12151 + "UserId": 1082, 12152 + "TermId": 18, 12153 + "TransactionDate": "2014-08-19", 12154 + "TransactionTime": "11:18:55", 12155 + "RequestDate": "2014-08-19", 12156 + "UserIP": "74.201.38.1", 12157 + "SubscriptionType": "n", 12158 + "ProductId": 18, 12159 + "Source": 34, 12160 + "ProductStatus": 2, 12161 + "MediaFilePath": "", 12162 + "Amount": "" 12163 + }, 12164 + { 12165 + "Id": 858, 12166 + "UserId": 1090, 12167 + "TermId": 18, 12168 + "TransactionDate": "2014-08-19", 12169 + "TransactionTime": "11:18:55", 12170 + "RequestDate": "2014-08-19", 12171 + "UserIP": "74.201.38.1", 12172 + "SubscriptionType": "n", 12173 + "ProductId": 18, 12174 + "Source": 34, 12175 + "ProductStatus": 2, 12176 + "MediaFilePath": "", 12177 + "Amount": "" 12178 + }, 12179 + { 12180 + "Id": 866, 12181 + "UserId": 1098, 12182 + "TermId": 18, 12183 + "TransactionDate": "2014-08-19", 12184 + "TransactionTime": "11:18:55", 12185 + "RequestDate": "2014-08-19", 12186 + "UserIP": "74.201.38.1", 12187 + "SubscriptionType": "n", 12188 + "ProductId": 18, 12189 + "Source": 34, 12190 + "ProductStatus": 2, 12191 + "MediaFilePath": "", 12192 + "Amount": "" 12193 + }, 12194 + { 12195 + "Id": 874, 12196 + "UserId": 1106, 12197 + "TermId": 18, 12198 + "TransactionDate": "2014-08-19", 12199 + "TransactionTime": "11:18:55", 12200 + "RequestDate": "2014-08-19", 12201 + "UserIP": "74.201.38.1", 12202 + "SubscriptionType": "n", 12203 + "ProductId": 18, 12204 + "Source": 34, 12205 + "ProductStatus": 2, 12206 + "MediaFilePath": "", 12207 + "Amount": "" 12208 + }, 12209 + { 12210 + "Id": 882, 12211 + "UserId": 1114, 12212 + "TermId": 18, 12213 + "TransactionDate": "2014-08-19", 12214 + "TransactionTime": "11:18:55", 12215 + "RequestDate": "2014-08-19", 12216 + "UserIP": "74.201.38.1", 12217 + "SubscriptionType": "n", 12218 + "ProductId": 18, 12219 + "Source": 34, 12220 + "ProductStatus": 2, 12221 + "MediaFilePath": "", 12222 + "Amount": "" 12223 + }, 12224 + { 12225 + "Id": 890, 12226 + "UserId": 1122, 12227 + "TermId": 18, 12228 + "TransactionDate": "2014-08-19", 12229 + "TransactionTime": "11:18:55", 12230 + "RequestDate": "2014-08-19", 12231 + "UserIP": "74.201.38.1", 12232 + "SubscriptionType": "n", 12233 + "ProductId": 18, 12234 + "Source": 34, 12235 + "ProductStatus": 2, 12236 + "MediaFilePath": "", 12237 + "Amount": "" 12238 + }, 12239 + { 12240 + "Id": 898, 12241 + "UserId": 1130, 12242 + "TermId": 18, 12243 + "TransactionDate": "2014-08-19", 12244 + "TransactionTime": "11:18:55", 12245 + "RequestDate": "2014-08-19", 12246 + "UserIP": "74.201.38.1", 12247 + "SubscriptionType": "n", 12248 + "ProductId": 18, 12249 + "Source": 34, 12250 + "ProductStatus": 2, 12251 + "MediaFilePath": "", 12252 + "Amount": "" 12253 + }, 12254 + { 12255 + "Id": 906, 12256 + "UserId": 1138, 12257 + "TermId": 18, 12258 + "TransactionDate": "2014-08-19", 12259 + "TransactionTime": "11:18:55", 12260 + "RequestDate": "2014-08-19", 12261 + "UserIP": "74.201.38.1", 12262 + "SubscriptionType": "n", 12263 + "ProductId": 18, 12264 + "Source": 34, 12265 + "ProductStatus": 2, 12266 + "MediaFilePath": "", 12267 + "Amount": "" 12268 + }, 12269 + { 12270 + "Id": 914, 12271 + "UserId": 1146, 12272 + "TermId": 18, 12273 + "TransactionDate": "2014-08-19", 12274 + "TransactionTime": "11:18:55", 12275 + "RequestDate": "2014-08-19", 12276 + "UserIP": "74.201.38.1", 12277 + "SubscriptionType": "n", 12278 + "ProductId": 18, 12279 + "Source": 34, 12280 + "ProductStatus": 2, 12281 + "MediaFilePath": "", 12282 + "Amount": "" 12283 + }, 12284 + { 12285 + "Id": 922, 12286 + "UserId": 1154, 12287 + "TermId": 18, 12288 + "TransactionDate": "2014-08-19", 12289 + "TransactionTime": "11:18:55", 12290 + "RequestDate": "2014-08-19", 12291 + "UserIP": "74.201.38.1", 12292 + "SubscriptionType": "n", 12293 + "ProductId": 18, 12294 + "Source": 34, 12295 + "ProductStatus": 2, 12296 + "MediaFilePath": "", 12297 + "Amount": "" 12298 + }, 12299 + { 12300 + "Id": 930, 12301 + "UserId": 1162, 12302 + "TermId": 18, 12303 + "TransactionDate": "2014-08-19", 12304 + "TransactionTime": "11:18:55", 12305 + "RequestDate": "2014-08-19", 12306 + "UserIP": "74.201.38.1", 12307 + "SubscriptionType": "n", 12308 + "ProductId": 18, 12309 + "Source": 34, 12310 + "ProductStatus": 2, 12311 + "MediaFilePath": "", 12312 + "Amount": "" 12313 + }, 12314 + { 12315 + "Id": 938, 12316 + "UserId": 1170, 12317 + "TermId": 18, 12318 + "TransactionDate": "2014-08-19", 12319 + "TransactionTime": "11:18:55", 12320 + "RequestDate": "2014-08-19", 12321 + "UserIP": "74.201.38.1", 12322 + "SubscriptionType": "n", 12323 + "ProductId": 18, 12324 + "Source": 34, 12325 + "ProductStatus": 2, 12326 + "MediaFilePath": "", 12327 + "Amount": "" 12328 + }, 12329 + { 12330 + "Id": 946, 12331 + "UserId": 1178, 12332 + "TermId": 18, 12333 + "TransactionDate": "2014-08-19", 12334 + "TransactionTime": "11:18:55", 12335 + "RequestDate": "2014-08-19", 12336 + "UserIP": "74.201.38.1", 12337 + "SubscriptionType": "n", 12338 + "ProductId": 18, 12339 + "Source": 34, 12340 + "ProductStatus": 2, 12341 + "MediaFilePath": "", 12342 + "Amount": "" 12343 + }, 12344 + { 12345 + "Id": 954, 12346 + "UserId": 1186, 12347 + "TermId": 18, 12348 + "TransactionDate": "2014-08-19", 12349 + "TransactionTime": "11:18:55", 12350 + "RequestDate": "2014-08-19", 12351 + "UserIP": "74.201.38.1", 12352 + "SubscriptionType": "n", 12353 + "ProductId": 18, 12354 + "Source": 34, 12355 + "ProductStatus": 2, 12356 + "MediaFilePath": "", 12357 + "Amount": "" 12358 + }, 12359 + { 12360 + "Id": 962, 12361 + "UserId": 1194, 12362 + "TermId": 18, 12363 + "TransactionDate": "2014-08-19", 12364 + "TransactionTime": "11:18:55", 12365 + "RequestDate": "2014-08-19", 12366 + "UserIP": "74.201.38.1", 12367 + "SubscriptionType": "n", 12368 + "ProductId": 18, 12369 + "Source": 34, 12370 + "ProductStatus": 2, 12371 + "MediaFilePath": "", 12372 + "Amount": "" 12373 + }, 12374 + { 12375 + "Id": 970, 12376 + "UserId": 1202, 12377 + "TermId": 18, 12378 + "TransactionDate": "2014-08-19", 12379 + "TransactionTime": "11:18:55", 12380 + "RequestDate": "2014-08-19", 12381 + "UserIP": "74.201.38.1", 12382 + "SubscriptionType": "n", 12383 + "ProductId": 18, 12384 + "Source": 34, 12385 + "ProductStatus": 2, 12386 + "MediaFilePath": "", 12387 + "Amount": "" 12388 + }, 12389 + { 12390 + "Id": 978, 12391 + "UserId": 1210, 12392 + "TermId": 18, 12393 + "TransactionDate": "2014-08-19", 12394 + "TransactionTime": "11:18:55", 12395 + "RequestDate": "2014-08-19", 12396 + "UserIP": "74.201.38.1", 12397 + "SubscriptionType": "n", 12398 + "ProductId": 18, 12399 + "Source": 34, 12400 + "ProductStatus": 2, 12401 + "MediaFilePath": "", 12402 + "Amount": "" 12403 + }, 12404 + { 12405 + "Id": 986, 12406 + "UserId": 1218, 12407 + "TermId": 18, 12408 + "TransactionDate": "2014-08-19", 12409 + "TransactionTime": "11:18:55", 12410 + "RequestDate": "2014-08-19", 12411 + "UserIP": "74.201.38.1", 12412 + "SubscriptionType": "n", 12413 + "ProductId": 18, 12414 + "Source": 34, 12415 + "ProductStatus": 2, 12416 + "MediaFilePath": "", 12417 + "Amount": "" 12418 + }, 12419 + { 12420 + "Id": 994, 12421 + "UserId": 1226, 12422 + "TermId": 18, 12423 + "TransactionDate": "2014-08-19", 12424 + "TransactionTime": "11:18:55", 12425 + "RequestDate": "2014-08-19", 12426 + "UserIP": "74.201.38.1", 12427 + "SubscriptionType": "n", 12428 + "ProductId": 18, 12429 + "Source": 34, 12430 + "ProductStatus": 2, 12431 + "MediaFilePath": "", 12432 + "Amount": "" 12433 + }, 12434 + { 12435 + "Id": 1002, 12436 + "UserId": 1234, 12437 + "TermId": 18, 12438 + "TransactionDate": "2014-08-19", 12439 + "TransactionTime": "11:18:55", 12440 + "RequestDate": "2014-08-19", 12441 + "UserIP": "74.201.38.1", 12442 + "SubscriptionType": "n", 12443 + "ProductId": 18, 12444 + "Source": 34, 12445 + "ProductStatus": 2, 12446 + "MediaFilePath": "", 12447 + "Amount": "" 12448 + } 12449 + ] 12450 +} 12451 +{{/code}} 3355 3355 3356 -(% class="western" %) 3357 -Params: 12453 +\\ 3358 3358 3359 -(% class=" western" %)3360 - UserId:Idof theuser whosetransactiono be lookedup(Int)12455 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 12456 +== (% 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 Transaction(%%) == 3361 3361 12458 +---- 12459 + 12460 +{{panel bgColor="#D3D3D3" width="100%"}} 12461 + (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/transactions/~{~{Transaction id}} 12462 +{{/panel}} 12463 + 12464 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 12465 + 12466 +---- 12467 + 12468 +(% 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}} 12469 + 12470 +==== Example ==== 12471 + 12472 +---- 12473 + 12474 +(% style="color: rgb(107,107,107);" %)Request 12475 + 12476 +{{code language="php" theme="RDark" title="Get specific Transaction Request"}} 12477 + <?php 12478 + 12479 +$curl = curl_init(); 12480 + 12481 +curl_setopt_array($curl, array( 12482 + CURLOPT_URL => 'https://api.onecount.net/v2/transactions/{{Transaction id}}', 12483 + CURLOPT_RETURNTRANSFER => true, 12484 + CURLOPT_ENCODING => '', 12485 + CURLOPT_MAXREDIRS => 10, 12486 + CURLOPT_TIMEOUT => 0, 12487 + CURLOPT_FOLLOWLOCATION => true, 12488 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 12489 + CURLOPT_CUSTOMREQUEST => 'GET', 12490 + CURLOPT_HTTPHEADER => array( 12491 + 'Appkey: {{ONECOUNT API KEY}}' 12492 + ), 12493 +)); 12494 + 12495 +$response = curl_exec($curl); 12496 + 12497 +curl_close($curl); 12498 +echo $response; 12499 +{{/code}} 12500 + 12501 +\\ 12502 + 12503 +(% style="color: rgb(107,107,107);" %)Response 200 OK 12504 + 12505 +{{code language="yml" theme="RDark" title="Get specific Transaction Response" collapse="true"}} 12506 + { 12507 + "result": { 12508 + "success": "1", 12509 + "error": { 12510 + "code": "", 12511 + "message": "" 12512 + } 12513 + }, 12514 + "Transactions": [ 12515 + { 12516 + "Id": 1002, 12517 + "UserId": 1234, 12518 + "TermId": 18, 12519 + "TransactionDate": "2014-08-19", 12520 + "TransactionTime": "11:18:55", 12521 + "RequestDate": "2014-08-19", 12522 + "UserIP": "74.201.38.1", 12523 + "SubscriptionType": "n", 12524 + "ProductId": 18, 12525 + "Source": 34, 12526 + "ProductStatus": 2, 12527 + "MediaFilePath": "", 12528 + "Amount": "" 12529 + } 12530 + ] 12531 +} 12532 +{{/code}} 12533 + 12534 +\\ 12535 + 12536 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 12537 +== (% 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);" %)lookup Transaction(%%) == 12538 + 12539 +---- 12540 + 12541 +{{panel bgColor="#D3D3D3" width="100%"}} 12542 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/transactions/lookup?UserId=~{~{OCID}} 12543 +{{/panel}} 12544 + 12545 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 12546 + 12547 +---- 12548 + 12549 +(% 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}} 12550 + 12551 +=== (% style="color: rgb(33,33,33);" %)Query Params(%%) === 12552 + 12553 +---- 12554 + 12555 +(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)UserId (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key nolink" style="color: rgb(33, 33, 33); color: rgb(33, 33, 33)" %)~{~{OCID}} 12556 + 12557 +==== Example ==== 12558 + 12559 +---- 12560 + 12561 +(% style="color: rgb(107,107,107);" %)Request 12562 + 12563 +{{code language="php" theme="RDark" title="Lookup Transaction Request"}} 12564 + <?php 12565 + 12566 +$curl = curl_init(); 12567 + 12568 +curl_setopt_array($curl, array( 12569 + CURLOPT_URL => 'https://api.onecount.net/v2/transactions/lookup?UserId={{OCID}}', 12570 + CURLOPT_RETURNTRANSFER => true, 12571 + CURLOPT_ENCODING => '', 12572 + CURLOPT_MAXREDIRS => 10, 12573 + CURLOPT_TIMEOUT => 0, 12574 + CURLOPT_FOLLOWLOCATION => true, 12575 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 12576 + CURLOPT_CUSTOMREQUEST => 'GET', 12577 + CURLOPT_HTTPHEADER => array( 12578 + 'Appkey: {{ONECOUNT API KEY}}' 12579 + ), 12580 +)); 12581 + 12582 +$response = curl_exec($curl); 12583 + 12584 +curl_close($curl); 12585 +echo $response; 12586 +{{/code}} 12587 + 12588 +\\ 12589 + 12590 +(% style="color: rgb(107,107,107);" %)Response 200 OK 12591 + 12592 +{{code language="yml" theme="RDark" title="Lookup Transaction Response" collapse="true"}} 12593 + { 12594 + "result": { 12595 + "success": "1", 12596 + "error": { 12597 + "code": "", 12598 + "message": "" 12599 + } 12600 + }, 12601 + "Transactions": [ 12602 + { 12603 + "Id": 52494786, 12604 + "UserId": 1234, 12605 + "TermId": 34, 12606 + "TransactionDate": "2016-01-19", 12607 + "TransactionTime": "15:30:04", 12608 + "RequestDate": "2016-01-19", 12609 + "UserIP": "12.226.247.2", 12610 + "SubscriptionType": "u", 12611 + "ProductId": 34, 12612 + "Source": 0, 12613 + "ProductStatus": 0, 12614 + "MediaFilePath": "", 12615 + "Amount": "" 12616 + }, 12617 + { 12618 + "Id": 42654041, 12619 + "UserId": 1234, 12620 + "TermId": 34, 12621 + "TransactionDate": "2015-09-09", 12622 + "TransactionTime": "11:20:39", 12623 + "RequestDate": "2015-09-09", 12624 + "UserIP": "24.187.236.98", 12625 + "SubscriptionType": "n", 12626 + "ProductId": 34, 12627 + "Source": 0, 12628 + "ProductStatus": 2, 12629 + "MediaFilePath": "", 12630 + "Amount": "" 12631 + }, 12632 + { 12633 + "Id": 97251022, 12634 + "UserId": 1234, 12635 + "TermId": 34, 12636 + "TransactionDate": "2015-06-04", 12637 + "TransactionTime": "14:59:42", 12638 + "RequestDate": "2015-06-04", 12639 + "UserIP": "12.226.247.2", 12640 + "SubscriptionType": "u", 12641 + "ProductId": 34, 12642 + "Source": 0, 12643 + "ProductStatus": 0, 12644 + "MediaFilePath": "", 12645 + "Amount": "" 12646 + }, 12647 + { 12648 + "Id": 55492559, 12649 + "UserId": 1234, 12650 + "TermId": 34, 12651 + "TransactionDate": "2015-04-03", 12652 + "TransactionTime": "16:32:04", 12653 + "RequestDate": "2015-04-03", 12654 + "UserIP": "24.187.236.98", 12655 + "SubscriptionType": "r", 12656 + "ProductId": 34, 12657 + "Source": 58, 12658 + "ProductStatus": 106, 12659 + "MediaFilePath": "", 12660 + "Amount": "" 12661 + }, 12662 + { 12663 + "Id": 98173391, 12664 + "UserId": 1234, 12665 + "TermId": 34, 12666 + "TransactionDate": "2015-04-03", 12667 + "TransactionTime": "15:50:45", 12668 + "RequestDate": "2014-08-19", 12669 + "UserIP": "24.187.236.98", 12670 + "SubscriptionType": "n", 12671 + "ProductId": 34, 12672 + "Source": 34, 12673 + "ProductStatus": 106, 12674 + "MediaFilePath": "", 12675 + "Amount": "" 12676 + }, 12677 + { 12678 + "Id": 91711793, 12679 + "UserId": 1234, 12680 + "TermId": 18, 12681 + "TransactionDate": "2015-04-27", 12682 + "TransactionTime": "14:24:51", 12683 + "RequestDate": "2015-04-27", 12684 + "UserIP": "24.187.236.98", 12685 + "SubscriptionType": "u", 12686 + "ProductId": 18, 12687 + "Source": 0, 12688 + "ProductStatus": 106, 12689 + "MediaFilePath": "", 12690 + "Amount": "" 12691 + }, 12692 + { 12693 + "Id": 74936400, 12694 + "UserId": 1234, 12695 + "TermId": 18, 12696 + "TransactionDate": "2015-04-27", 12697 + "TransactionTime": "12:35:18", 12698 + "RequestDate": "2015-04-27", 12699 + "UserIP": "68.196.187.74", 12700 + "SubscriptionType": "n", 12701 + "ProductId": 18, 12702 + "Source": 34, 12703 + "ProductStatus": 106, 12704 + "MediaFilePath": "", 12705 + "Amount": "" 12706 + }, 12707 + { 12708 + "Id": 21664714, 12709 + "UserId": 1234, 12710 + "TermId": 18, 12711 + "TransactionDate": "2015-04-03", 12712 + "TransactionTime": "15:50:46", 12713 + "RequestDate": "2015-04-03", 12714 + "UserIP": "24.187.236.98", 12715 + "SubscriptionType": "u", 12716 + "ProductId": 18, 12717 + "Source": 0, 12718 + "ProductStatus": 2, 12719 + "MediaFilePath": "", 12720 + "Amount": "" 12721 + }, 12722 + { 12723 + "Id": 81129263, 12724 + "UserId": 1234, 12725 + "TermId": 18, 12726 + "TransactionDate": "2014-08-19", 12727 + "TransactionTime": "11:18:55", 12728 + "RequestDate": "2014-08-19", 12729 + "UserIP": "74.201.38.1", 12730 + "SubscriptionType": "n", 12731 + "ProductId": 18, 12732 + "Source": 34, 12733 + "ProductStatus": 2, 12734 + "MediaFilePath": "", 12735 + "Amount": "" 12736 + }, 12737 + { 12738 + "Id": 30461748, 12739 + "UserId": 1234, 12740 + "ResourceId": 459, 12741 + "TransactionDate": "2023-03-15", 12742 + "TransactionTime": "12:07:55", 12743 + "RequestDate": "2023-03-15", 12744 + "UserIP": "74.201.38.12", 12745 + "SubscriptionType": "n", 12746 + "SourceCode": 0, 12747 + "ProductStatus": 0, 12748 + "MediaFilePath": "", 12749 + "Amount": "" 12750 + }, 12751 + { 12752 + "Id": 25858253, 12753 + "UserId": 1234, 12754 + "ResourceId": 451, 12755 + "TransactionDate": "2023-03-15", 12756 + "TransactionTime": "11:45:19", 12757 + "RequestDate": "2023-03-15", 12758 + "UserIP": "74.201.38.12", 12759 + "SubscriptionType": "n", 12760 + "SourceCode": 0, 12761 + "ProductStatus": 0, 12762 + "MediaFilePath": "", 12763 + "Amount": "" 12764 + }, 12765 + { 12766 + "Id": 69453260, 12767 + "UserId": 1234, 12768 + "ResourceId": 411, 12769 + "TransactionDate": "2022-06-07", 12770 + "TransactionTime": "17:03:14", 12771 + "RequestDate": "2022-06-07", 12772 + "UserIP": "74.201.38.12", 12773 + "SubscriptionType": "n", 12774 + "SourceCode": 0, 12775 + "ProductStatus": 0, 12776 + "MediaFilePath": "", 12777 + "Amount": "" 12778 + }, 12779 + { 12780 + "Id": 51354425, 12781 + "UserId": 1234, 12782 + "ResourceId": 355, 12783 + "TransactionDate": "2020-04-06", 12784 + "TransactionTime": "12:24:08", 12785 + "RequestDate": "2020-04-06", 12786 + "UserIP": "74.201.38.12", 12787 + "SubscriptionType": "n", 12788 + "SourceCode": 0, 12789 + "ProductStatus": 0, 12790 + "MediaFilePath": "", 12791 + "Amount": "" 12792 + } 12793 + ] 12794 +} 12795 +{{/code}} 12796 + 12797 +\\ 12798 + 12799 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 12800 +== (% 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 Transaction(%%) == 12801 + 12802 +---- 12803 + 12804 +{{panel bgColor="#D3D3D3" width="100%"}} 12805 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/transactions 12806 +{{/panel}} 12807 + 12808 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 12809 + 12810 +---- 12811 + 12812 +(% 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}} 12813 + 12814 +=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) === 12815 + 12816 +---- 12817 + 12818 +{{code language="yml" theme="RDark" title="Body"}} 12819 +{"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" } 12820 +{{/code}} 12821 + 12822 +==== Example ==== 12823 + 12824 +---- 12825 + 12826 +(% style="color: rgb(107,107,107);" %)Request 12827 + 12828 +{{code language="php" theme="RDark" title="Create Transaction Request"}} 12829 + <?php 12830 + 12831 +$curl = curl_init(); 12832 + 12833 +curl_setopt_array($curl, array( 12834 + CURLOPT_URL => 'https://api.onecount.net/v2/transactions', 12835 + CURLOPT_RETURNTRANSFER => true, 12836 + CURLOPT_ENCODING => '', 12837 + CURLOPT_MAXREDIRS => 10, 12838 + CURLOPT_TIMEOUT => 0, 12839 + CURLOPT_FOLLOWLOCATION => true, 12840 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 12841 + CURLOPT_CUSTOMREQUEST => 'POST', 12842 + CURLOPT_POSTFIELDS =>'{"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" }', 12843 + CURLOPT_HTTPHEADER => array( 12844 + 'Appkey: {{ONECOUNT API KEY}}' 12845 + ), 12846 +)); 12847 + 12848 +$response = curl_exec($curl); 12849 + 12850 +curl_close($curl); 12851 +echo $response; 12852 +{{/code}} 12853 + 12854 +\\ 12855 + 12856 +(% style="color: rgb(107,107,107);" %)Response 200 OK 12857 + 12858 +{{code language="yml" theme="RDark" title="Create Transaction Response" collapse="true"}} 12859 + { 12860 + "result": { 12861 + "success": "1", 12862 + "error": { 12863 + "code": "", 12864 + "message": "" 12865 + } 12866 + }, 12867 + "Transactions": { 12868 + "Id": "1234", 12869 + "UserId": 1845775, 12870 + "TermId": 447, 12871 + "TransactionDate": "20231211", 12872 + "TransactionTime": "09:34:26", 12873 + "RequestDate": "20231211", 12874 + "UserIP": "192.168.0.1", 12875 + "SubscriptionType": "n", 12876 + "ProductId": 599, 12877 + "Source": 83, 12878 + "ProductStatus": 2, 12879 + "MediaFilePath": "", 12880 + "Amount": "0.00" 12881 + } 12882 +} 12883 +{{/code}} 12884 + 12885 +\\ 12886 + 12887 +=== **COMPONENT: Engagements** === 12888 + 3362 3362 (% class="western" %) 3363 - StartDate:Datefrom whichthestartshouldhappen.Only valid whenUserIdis set.(Date)12890 +Engagement can be added, updated and searched for using the engagements resource from the api. 3364 3364 3365 3365 (% class="western" %) 3366 -EndDate: When the search should end. Only valid when UserId is set. (Date) 3367 -))) 12893 +\\ 3368 3368 12895 +(% class="wrapped" %) 3369 3369 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3370 3370 ((( 3371 3371 (% class="western" %) 3372 -** Response**12899 +**Method** 3373 3373 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3374 3374 ((( 3375 3375 (% class="western" %) 3376 -** Type**12903 +**Url** 3377 3377 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3378 3378 ((( 3379 3379 (% class="western" %) 3380 -** Description**12907 +**Action** 3381 3381 ))) 3382 3382 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3383 3383 ((( 3384 3384 (% class="western" %) 3385 -T ransactions12912 +GET 3386 3386 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3387 3387 ((( 3388 3388 (% class="western" %) 3389 - Transactions12916 +/(% style="color: rgb(33,33,33);" %)engagements 3390 3390 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3391 3391 ((( 3392 3392 (% class="western" %) 3393 - Returnsall transaction that satisfies the search criteria. Returnsall the packageand producttransactions of the user. PackageTransactions are the one with TermId and ProductId. Product Transactionsare the one with ResourceId.12920 +Get engagement data limiting 25. 3394 3394 ))) 3395 - 3396 -\\ 3397 - 3398 -**Sample response for /(% style="color: rgb(80,80,80);" %)transactions/lookup?UserId=25255105:(%%)** 3399 - 3400 -(% class="" %)|=(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3401 -((( 3402 -(% class="content-wrapper" %) 3403 -((( 3404 -(% class="confluence-embedded-file-wrapper confluence-embedded-manual-size" %)[[image:attach:Screen Shot 2020-02-26 at 11.14.29 AM.png||width="1407"]] 3405 -))) 3406 -))) 3407 - 3408 -\\ 3409 - 3410 -(% class="western" %) 3411 -POST method can be used to create user transaction. Transaction info needs to be sent as request and a TransactionId will be returned when the transaction is created. 3412 - 3413 3413 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3414 3414 ((( 3415 3415 (% class="western" %) 3416 - **Request**12925 +GET 3417 3417 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3418 3418 ((( 3419 3419 (% class="western" %) 3420 - **Type**12929 +/(% style="color: rgb(33,33,33);" %)engagements(%%)/<engagement id> 3421 3421 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3422 3422 ((( 3423 3423 (% class="western" %) 3424 - **Description**12933 +Get data for engagement id. The engagement id is a string 3425 3425 ))) 3426 3426 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3427 3427 ((( 3428 3428 (% class="western" %) 3429 -T ransactions12938 +POST 3430 3430 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3431 3431 ((( 3432 3432 (% class="western" %) 3433 - Transactions12942 +/(% style="color: rgb(33,33,33);" %)engagements 3434 3434 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3435 3435 ((( 3436 3436 (% class="western" %) 3437 -Contains fields that define a transaction. Id field should not be set. 3438 -))) 12946 +Create a new engagement 3439 3439 12948 +(% class="western" %) 12949 +Parameters required to create the engagement needs to be sent as post data in JSON format. 12950 +))) 3440 3440 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3441 3441 ((( 3442 3442 (% class="western" %) 3443 - **Response**12954 +PUT 3444 3444 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3445 3445 ((( 3446 3446 (% class="western" %) 3447 - **Type**12958 +/(% style="color: rgb(33,33,33);" %)engagements(%%)/<engagement id> 3448 3448 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3449 3449 ((( 3450 3450 (% class="western" %) 3451 -**Description** 12962 +Update engagement by engagement id. The engagement id string 12963 + 12964 +(% class="western" %) 12965 +Parameters required to update the engagement needs to be sent as post data in JSON format. 3452 3452 ))) 3453 - (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)12967 +|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3454 3454 ((( 3455 3455 (% class="western" %) 3456 -T ransactionId12970 +POST 3457 3457 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3458 3458 ((( 3459 3459 (% class="western" %) 3460 - int12974 +(% style="color: rgb(33,33,33);" %)/engagements/addUser 3461 3461 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3462 3462 ((( 3463 3463 (% class="western" %) 3464 -Returns transactionId of the newly created transaction. 12978 +Add user to engagement 12979 + 12980 +(% class="western" %) 12981 +Parameters required to add user to the engagement needs to be sent as post data in JSON format. 3465 3465 ))) 3466 3466 3467 3467 \\ 3468 3468 12986 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 12987 +== (% 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(%%) == 12988 + 12989 +---- 12990 + 12991 +---- 12992 + 12993 +{{panel bgColor="#D3D3D3" width="100%"}} 12994 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/engagements 12995 +{{/panel}} 12996 + 12997 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 12998 + 12999 +---- 13000 + 13001 +(% 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}} 13002 + 13003 +==== Example ==== 13004 + 13005 +---- 13006 + 13007 +(% style="color: rgb(107,107,107);" %)Request 13008 + 13009 +{{code language="php" theme="RDark" title="Get All Engagement Request"}} 13010 +<?php 13011 + 13012 +$curl = curl_init(); 13013 + 13014 +curl_setopt_array($curl, array( 13015 + CURLOPT_URL => 'https://api.onecount.net/v2/engagements', 13016 + CURLOPT_RETURNTRANSFER => true, 13017 + CURLOPT_ENCODING => '', 13018 + CURLOPT_MAXREDIRS => 10, 13019 + CURLOPT_TIMEOUT => 0, 13020 + CURLOPT_FOLLOWLOCATION => true, 13021 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 13022 + CURLOPT_CUSTOMREQUEST => 'GET', 13023 + CURLOPT_HTTPHEADER => array( 13024 + 'Appkey: {{ONECOUNT API KEY}}' 13025 + ), 13026 +)); 13027 + 13028 +$response = curl_exec($curl); 13029 + 13030 +curl_close($curl); 13031 +echo $response; 13032 + 13033 + 13034 +{{/code}} 13035 + 3469 3469 \\ 3470 3470 3471 -(% class="western" %) 3472 -**COMPONENT: Leads 3473 -** 13038 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 13039 +== (% 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(%%) == 3474 3474 3475 -(% class="western" %) 3476 -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. 13041 +---- 3477 3477 3478 -(% class="western" %) 13043 +---- 13044 + 13045 +{{panel bgColor="#D3D3D3" width="100%"}} 13046 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/engagements/~{~{Engagement ID}} 13047 +{{/panel}} 13048 + 13049 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 13050 + 13051 +---- 13052 + 13053 +(% 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}} 13054 + 13055 +==== Example ==== 13056 + 13057 +---- 13058 + 13059 +(% style="color: rgb(107,107,107);" %)Request 13060 + 13061 +{{code language="php" theme="RDark" title="Get Specific Engagement Request"}} 13062 +<?php 13063 + 13064 +$curl = curl_init(); 13065 + 13066 +curl_setopt_array($curl, array( 13067 + CURLOPT_URL => 'https://api.onecount.net/v2/engagements/{{Engagement ID}}', 13068 + CURLOPT_RETURNTRANSFER => true, 13069 + CURLOPT_ENCODING => '', 13070 + CURLOPT_MAXREDIRS => 10, 13071 + CURLOPT_TIMEOUT => 0, 13072 + CURLOPT_FOLLOWLOCATION => true, 13073 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 13074 + CURLOPT_CUSTOMREQUEST => 'GET', 13075 + CURLOPT_HTTPHEADER => array( 13076 + 'Appkey: {{ONECOUNT API KEY}}' 13077 + ), 13078 +)); 13079 + 13080 +$response = curl_exec($curl); 13081 + 13082 +curl_close($curl); 13083 +echo $response; 13084 + 13085 + 13086 +{{/code}} 13087 + 3479 3479 \\ 3480 3480 3481 -(% class="western" %) 13090 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 13091 +== (% 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(%%) == 13092 + 13093 +---- 13094 + 13095 +{{panel bgColor="#D3D3D3" width="100%"}} 13096 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/engagements 13097 +{{/panel}} 13098 + 13099 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 13100 + 13101 +---- 13102 + 13103 +(% 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}} 13104 + 13105 +=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) === 13106 + 13107 +---- 13108 + 13109 +{{code language="yml" theme="RDark" title="Body"}} 13110 +{"Name":"Engagement Name", "Description":"Engagement Description", "Metrics":[ 13111 + {"Name":[{"webinar ID 1":"Webinar 1"},{"webinar ID 3":"Webinar 3"},{"webinar ID 3":"Webinar 3"}],"Type": "select"}, 13112 + {"Attendance Status":[{"attended":"Attended"},{"not_attended":"Not Attended"}],"Type": "select"}, 13113 + {"Price":[],"Type": "numeric"}, 13114 + {"Transaction Date":[],"Type": "date"} 13115 +]} 13116 +{{/code}} 13117 + 13118 +==== Example ==== 13119 + 13120 +---- 13121 + 13122 +(% style="color: rgb(107,107,107);" %)Request 13123 + 13124 +{{code language="php" theme="RDark" title="Create Engagement Request"}} 13125 + <?php 13126 + 13127 +$curl = curl_init(); 13128 + 13129 +curl_setopt_array($curl, array( 13130 + CURLOPT_URL => 'https://api.onecount.net/v2/engagements', 13131 + CURLOPT_RETURNTRANSFER => true, 13132 + CURLOPT_ENCODING => '', 13133 + CURLOPT_MAXREDIRS => 10, 13134 + CURLOPT_TIMEOUT => 0, 13135 + CURLOPT_FOLLOWLOCATION => true, 13136 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 13137 + CURLOPT_CUSTOMREQUEST => 'POST', 13138 + CURLOPT_POSTFIELDS =>'{"Name":"Engagement Name", "Description":"Engagement Description", "Metrics":[ 13139 + {"Name":[{"webinar ID 1":"Webinar 1"},{"webinar ID 3":"Webinar 3"},{"webinar ID 3":"Webinar 3"}],"Type": "select"}, 13140 + {"Attendance Status":[{"attended":"Attended"},{"not_attended":"Not Attended"}],"Type": "select"}, 13141 + {"Price":[],"Type": "numeric"}, 13142 + {"Transaction Date":[],"Type": "date"} 13143 +]}', 13144 + CURLOPT_HTTPHEADER => array( 13145 + 'Appkey: {{ONECOUNT API KEY}}' 13146 + ), 13147 +)); 13148 + 13149 +$response = curl_exec($curl); 13150 + 13151 +curl_close($curl); 13152 +echo $response; 13153 +{{/code}} 13154 + 3482 3482 \\ 3483 3483 3484 -(% class="western" %) 13157 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 13158 +== (% 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(%%) == 13159 + 13160 +---- 13161 + 13162 +{{panel bgColor="#D3D3D3" width="100%"}} 13163 + (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/engagements/~{~{Engagement Id}} 13164 +{{/panel}} 13165 + 13166 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 13167 + 13168 +---- 13169 + 13170 +(% 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}} 13171 + 13172 +=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) === 13173 + 13174 +---- 13175 + 13176 +{{code language="yml" theme="RDark" title="Body"}} 13177 +{"Name":"Engagement Name", "Description":"Engagement Description", "Metrics":[ 13178 + {"Name":[{"webinar ID 5":"Webinar 5"},{"webinar ID 4":"Webinar 4"}],"Type": "select"}, 13179 + {"Price":[],"Type": "text"} 13180 +]} 13181 +{{/code}} 13182 + 13183 +==== Example ==== 13184 + 13185 +---- 13186 + 13187 +(% style="color: rgb(107,107,107);" %)Request 13188 + 13189 +{{code language="php" theme="RDark" title="Update Engagement Request"}} 13190 + <?php 13191 + 13192 +$curl = curl_init(); 13193 + 13194 +curl_setopt_array($curl, array( 13195 + CURLOPT_URL => 'https://api.onecount.net/v2/engagements/{{Engagement Id}}', 13196 + CURLOPT_RETURNTRANSFER => true, 13197 + CURLOPT_ENCODING => '', 13198 + CURLOPT_MAXREDIRS => 10, 13199 + CURLOPT_TIMEOUT => 0, 13200 + CURLOPT_FOLLOWLOCATION => true, 13201 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 13202 + CURLOPT_CUSTOMREQUEST => 'PUT', 13203 + CURLOPT_POSTFIELDS =>'{"Name":"Engagement Name", "Description":"Engagement Description", "Metrics":[ 13204 + {"Name":[{"webinar ID 5":"Webinar 5"},{"webinar ID 4":"Webinar 4"}],"Type": "select"}, 13205 + {"Price":[],"Type": "text"} 13206 +]}', 13207 + CURLOPT_HTTPHEADER => array( 13208 + 'Appkey: {{ONECOUNT API KEY}}' 13209 + ), 13210 +)); 13211 + 13212 +$response = curl_exec($curl); 13213 + 13214 +curl_close($curl); 13215 +echo $response; 13216 +{{/code}} 13217 + 3485 3485 \\ 3486 3486 13220 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 13221 +== (% 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(%%) == 13222 + 13223 +---- 13224 + 13225 +{{panel bgColor="#D3D3D3" width="100%"}} 13226 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/engagements/addUser 13227 +{{/panel}} 13228 + 13229 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 13230 + 13231 +---- 13232 + 13233 +(% 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}} 13234 + 13235 +=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) === 13236 + 13237 +---- 13238 + 13239 +{{code language="yml" theme="RDark" title="Body"}} 13240 +{"Engagement id":"073b3a98-129b-440e-90b1-57957215ca67","Vendor id":1, "Engagement show id":"webinar ID 4","User id":"3143231","timestamp":1702319997, "data":{"Attendance Status":"not_attended","Price":10.00},"segment":["segment id 1"]} 13241 +{{/code}} 13242 + 13243 +==== Example ==== 13244 + 13245 +---- 13246 + 13247 +(% style="color: rgb(107,107,107);" %)Request 13248 + 13249 +{{code language="php" theme="RDark" title="Add User to Engagement Request"}} 13250 + <?php 13251 + 13252 +$curl = curl_init(); 13253 + 13254 +curl_setopt_array($curl, array( 13255 + CURLOPT_URL => 'https://api.onecount.net/v2/engagements/addUser', 13256 + CURLOPT_RETURNTRANSFER => true, 13257 + CURLOPT_ENCODING => '', 13258 + CURLOPT_MAXREDIRS => 10, 13259 + CURLOPT_TIMEOUT => 0, 13260 + CURLOPT_FOLLOWLOCATION => true, 13261 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 13262 + CURLOPT_CUSTOMREQUEST => 'POST', 13263 + CURLOPT_POSTFIELDS =>'{"Engagement id":"073b3a98-129b-440e-90b1-57957215ca67","Vendor id":1, "Engagement show id":"webinar ID 4","User id":"3143231","timestamp":1702319997, "data":{"Attendance Status":"not_attended","Price":10.00},"segment":["segment id 1"]}', 13264 + CURLOPT_HTTPHEADER => array( 13265 + 'Appkey: {{ONECOUNT API KEY}}' 13266 + ), 13267 +)); 13268 + 13269 +$response = curl_exec($curl); 13270 + 13271 +curl_close($curl); 13272 +echo $response; 13273 +{{/code}} 13274 + 3487 3487 (% class="western" %) 3488 -\\ 13276 +=== **COMPONENT: Leads 13277 +** === 3489 3489 3490 3490 (% class="western" %) 3491 - \\13280 +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. 3492 3492 3493 3493 (% class="western" %) 3494 3494 **Telemarketing Leads ... ... @@ -3498,6 +3498,7 @@ 3498 3498 3499 3499 This resource is for manipulating telemarketing stat resource. A telemarketing stat can be created or listed. 3500 3500 13290 +(% class="wrapped" %) 3501 3501 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3502 3502 ((( 3503 3503 (% class="western" %) ... ... @@ -3556,6 +3556,7 @@ 3556 3556 (% class="western" %) 3557 3557 POST method can be used to create telemarketing stat. Telemarketing info needs to be sent as request and an Id will be returned when the transaction is created. 3558 3558 13349 +(% class="wrapped" %) 3559 3559 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3560 3560 ((( 3561 3561 (% class="western" %) ... ... @@ -3610,7 +3610,7 @@ 3610 3610 "ResourceId":"250", 3611 3611 3612 3612 (% class="western" %) 3613 -"PageUrl": "[[http:~~/~~/www.one-count.com/detail/a.php>>url:http://www.one-count.com/detail/a.php|| style=""rel="nofollow" shape="rect" class="external-link"]]",13404 +"PageUrl": "[[http:~~/~~/www.one-count.com/detail/a.php>>url:http://www.one-count.com/detail/a.php||rel="nofollow" shape="rect" class="external-link"]]", 3614 3614 3615 3615 (% class="western" %) 3616 3616 "PageTitle":"tests" ... ... @@ -3638,6 +3638,7 @@ 3638 3638 \\ 3639 3639 ))) 3640 3640 13432 +(% class="wrapped" %) 3641 3641 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3642 3642 ((( 3643 3643 (% class="western" %) ... ... @@ -3667,14 +3667,6 @@ 3667 3667 3668 3668 \\ 3669 3669 3670 -\\ 3671 - 3672 -\\ 3673 - 3674 -\\ 3675 - 3676 -\\ 3677 - 3678 3678 (% class="western" %) 3679 3679 **API REFERENCE** 3680 3680 ... ... @@ -3681,6 +3681,7 @@ 3681 3681 (% class="western" %) 3682 3682 **Type: Questions** 3683 3683 13468 +(% class="wrapped" %) 3684 3684 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3685 3685 ((( 3686 3686 (% class="western" %) ... ... @@ -3776,6 +3776,7 @@ 3776 3776 (% class="western" %) 3777 3777 **Type: Choices** 3778 3778 13564 +(% class="wrapped" %) 3779 3779 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3780 3780 ((( 3781 3781 (% class="western" %) ... ... @@ -3860,6 +3860,7 @@ 3860 3860 (% class="western" %) 3861 3861 **Type: Users** 3862 3862 13649 +(% class="wrapped" %) 3863 3863 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3864 3864 ((( 3865 3865 (% class="western" %) ... ... @@ -3931,6 +3931,7 @@ 3931 3931 (% class="western" %) 3932 3932 **Type: Demo** 3933 3933 13721 +(% class="wrapped" %) 3934 3934 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3935 3935 ((( 3936 3936 (% class="western" %) ... ... @@ -3989,6 +3989,7 @@ 3989 3989 (% class="western" %) 3990 3990 **Type: Transactions** 3991 3991 13780 +(% class="wrapped" %) 3992 3992 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3993 3993 ((( 3994 3994 (% class="western" %) ... ... @@ -4177,6 +4177,7 @@ 4177 4177 (% class="western" %) 4178 4178 **Type: Sources** 4179 4179 13969 +(% class="wrapped" %) 4180 4180 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 4181 4181 ((( 4182 4182 (% class="western" %) ... ... @@ -4249,6 +4249,7 @@ 4249 4249 (% class="western" %) 4250 4250 **Type: Products** 4251 4251 14042 +(% class="wrapped" %) 4252 4252 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 4253 4253 ((( 4254 4254 (% class="western" %) ... ... @@ -4320,6 +4320,7 @@ 4320 4320 (% class="western" %) 4321 4321 **Type: Terms** 4322 4322 14114 +(% class="wrapped" %) 4323 4323 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 4324 4324 ((( 4325 4325 (% class="western" %) ... ... @@ -4430,6 +4430,7 @@ 4430 4430 (% class="western" %) 4431 4431 **Type: Resources** 4432 4432 14225 +(% class="wrapped" %) 4433 4433 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 4434 4434 ((( 4435 4435 (% class="western" %) ... ... @@ -4574,6 +4574,7 @@ 4574 4574 (% class="western" %) 4575 4575 **Type: Telemarketing** 4576 4576 14370 +(% class="wrapped" %) 4577 4577 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 4578 4578 ((( 4579 4579 (% class="western" %)
- Confluence.Code.ConfluencePageClass[0]
-
- id
-
... ... @@ -1,1 +1,1 @@ 1 -10 82654791 +110231560 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://info.onecount.net//wiki/spaces/OD/pages/10 8265479/ONEcount API Documentation1 +https://info.onecount.net//wiki/spaces/OD/pages/110231560/ONEcount API Documentation