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,9 +7,10 @@ 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. ((( 10 10 (% class="western" %) 11 11 **GET** - Used for lookup of resources 12 - 13 +))) 13 13 1. ((( 14 14 (% class="western" %) 15 15 **PUT** - Used to update a resource ... ... @@ -66,7 +66,7 @@ 66 66 **Accessing API** 67 67 68 68 (% class="western" %) 69 -**REST API URL: [[https:~~/~~/api.onecount.net/v2/>>url:https://api.onecount.net/v2/||rel="nofollow" shape="rect" class="external-link"]]** 70 +**REST API URL: [[https:~~/~~/api.onecount.net/v2/>>url:https://api.onecount.net/v2/||style="" rel="nofollow" shape="rect" class="external-link"]]** 70 70 71 71 (% class="western" %) 72 72 **Appkey**: THIS WILL BE PROVIDED TO YOU ... ... @@ -173,7 +173,6 @@ 173 173 174 174 \\ 175 175 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&return=1,2 223 +/users/lookup?1=user1@[[email.com>>url:http://email.com/||style="" rel="nofollow" shape="rect" class="external-link"]]&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","e":"abc@one-count.com","p":"1234"} 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"} 298 298 299 299 (% class="western" %) 300 300 OR 301 301 302 302 (% class="western" %) 303 -{"u":"abc@one-count.com","p":"1234"} 303 +{"u":"[[abc@one-count.com>>mailto:abc@one-count.com||style="" rel="nofollow" shape="rect" class="external-link"]]","p":"1234"} 304 304 305 305 (% class="western" %) 306 306 OR 307 307 308 308 (% class="western" %) 309 -{"e":"abc@one-count.com","p":"1234"} 309 +{"e":"[[abc@one-count.com>>mailto:abc@one-count.com||style="" rel="nofollow" shape="rect" class="external-link"]]","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 ----- 320 +{{column width="100%"}} 321 + (% class="nolink" %)https:~/~/api.onecount.net/v2/users 322 +{{/column}} 321 321 322 -{{panel bgColor="#D3D3D3" width="100%"}} 323 -(% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users 324 -{{/panel}} 325 - 324 +(% style="" %) 326 326 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 327 327 328 328 ---- 329 329 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 ==== ... ... @@ -341,7 +341,7 @@ 341 341 $curl = curl_init(); 342 342 343 343 curl_setopt_array($curl, array( 344 - CURLOPT_URL => ' https://api.onecount.net/v2/users',344 + CURLOPT_URL => 'rayaan.onecount.net/api/v2/users', 345 345 CURLOPT_RETURNTRANSFER => true, 346 346 CURLOPT_ENCODING => '', 347 347 CURLOPT_MAXREDIRS => 10, ... ... @@ -859,14 +859,19 @@ 859 859 860 860 ---- 861 861 862 -{{ panel bgColor="#D3D3D3"width="100%"}}862 +{{column width="100%"}} 863 863 (% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users/(% style="color: rgb(33,33,33);" %)~{~{OCID}} 864 -{{/ panel}}864 +{{/column}} 865 865 866 +(% style="" %) 867 +~{~{OCID}} is user id which is provided by ONEcount 868 + 869 +(% style="" %) 866 866 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 867 867 868 868 ---- 869 869 874 +(% style="" %) 870 870 (% 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}} 871 871 872 872 ==== Example ==== ... ... @@ -881,7 +881,7 @@ 881 881 $curl = curl_init(); 882 882 883 883 curl_setopt_array($curl, array( 884 - CURLOPT_URL => ' https://api.onecount.net/v2/users/{{OCID}}',889 + CURLOPT_URL => 'rayaan.onecount.net/api/v2/users/8418', 885 885 CURLOPT_RETURNTRANSFER => true, 886 886 CURLOPT_ENCODING => '', 887 887 CURLOPT_MAXREDIRS => 10, ... ... @@ -959,14 +959,19 @@ 959 959 960 960 ---- 961 961 962 -{{ panel bgColor="#D3D3D3"width="100%"}}963 - (% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users(%class="nolink" style="color: rgb(33,33,33);" %)/login964 -{{/ panel}}967 +{{column width="100%"}} 968 + (% class="nolink" %)https:~/~/api.onecount.net/v2/users(% style="color: rgb(33,33,33);" %)/login 969 +{{/column}} 965 965 971 +(% style="" %) 972 +\\ 973 + 974 +(% style="" %) 966 966 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 967 967 968 968 ---- 969 969 979 +(% style="" %) 970 970 (% 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}} 971 971 972 972 === (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) === ... ... @@ -989,7 +989,7 @@ 989 989 $curl = curl_init(); 990 990 991 991 curl_setopt_array($curl, array( 992 - CURLOPT_URL => ' https://api.onecount.net/v2/users/login',1002 + CURLOPT_URL => 'rayaan.onecount.net/api/v2/users/login', 993 993 CURLOPT_RETURNTRANSFER => true, 994 994 CURLOPT_ENCODING => '', 995 995 CURLOPT_MAXREDIRS => 10, ... ... @@ -1035,14 +1035,19 @@ 1035 1035 1036 1036 ---- 1037 1037 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,41040 -{{/ panel}}1048 +{{column width="100%"}} 1049 + (% class="nolink" %)https:~/~/api.onecount.net/v2/users(% style="color: rgb(33,33,33);" %)/lookup?2=user_242_6298&return=1,2,3,4 1050 +{{/column}} 1041 1041 1052 +(% style="" %) 1053 +\\ 1054 + 1055 +(% style="" %) 1042 1042 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 1043 1043 1044 1044 ---- 1045 1045 1060 +(% style="" %) 1046 1046 (% 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}} 1047 1047 1048 1048 === (% style="color: rgb(33,33,33);" %)Query Params(%%) === ... ... @@ -1064,7 +1064,7 @@ 1064 1064 $curl = curl_init(); 1065 1065 1066 1066 curl_setopt_array($curl, array( 1067 - CURLOPT_URL => ' https://api.onecount.net/v2/users/lookup?2=user_242_6298&return=1,2,3,4',1082 + CURLOPT_URL => 'rayaan.onecount.net/api/v2/users/lookup?2=user_242_6298&return=1%2C2%2C3%2C4', 1068 1068 CURLOPT_RETURNTRANSFER => true, 1069 1069 CURLOPT_ENCODING => '', 1070 1070 CURLOPT_MAXREDIRS => 10, ... ... @@ -1117,14 +1117,19 @@ 1117 1117 1118 1118 ---- 1119 1119 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}}1135 +{{column width="100%"}} 1136 + (% class="nolink nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/users/~{~{OCID}}/partners/~{~{Partner id}} 1137 +{{/column}} 1123 1123 1139 +(% style="" %) 1140 +\\ 1141 + 1142 +(% style="" %) 1124 1124 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 1125 1125 1126 1126 ---- 1127 1127 1147 +(% style="" %) 1128 1128 (% 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}} 1129 1129 1130 1130 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) ... ... @@ -1132,16 +1132,326 @@ 1132 1132 1133 1133 ---- 1134 1134 1135 -{{ panel bgColor="#D3D3D3"width="100%"}}1136 -(% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users 1137 -{{/ panel}}1155 +{{column width="100%"}} 1156 + (% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users 1157 +{{/column}} 1138 1138 1159 +(% style="" %) 1139 1139 \\ 1140 1140 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 + 1141 1141 (% 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" %) 1142 1142 **POST method should be used to create users.** 1143 1143 1144 -(% class="wrapped" %) 1145 1145 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1146 1146 ((( 1147 1147 (% class="western" %) ... ... @@ -1208,7 +1208,6 @@ 1208 1208 CSV of ONEcount QuestionId's requested back in Users object in response. 1209 1209 ))) 1210 1210 1211 -(% class="wrapped" %) 1212 1212 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1213 1213 ((( 1214 1214 (% class="western" %) ... ... @@ -1236,89 +1236,11 @@ 1236 1236 Created users returned with the demo field requested in return parameter in json format. If return was not specified only UserId will be returned. 1237 1237 ))) 1238 1238 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" collapse="true"}} 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" collapse="true"}} 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 - 1285 1285 \\ 1286 1286 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 - 1315 1315 (% class="western" %) 1316 -\\ 1317 - 1318 -(% class="western" %) 1319 1319 **PUT method should be used to update users.** 1320 1320 1321 -(% class="wrapped" %) 1322 1322 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1323 1323 ((( 1324 1324 (% class="western" %) ... ... @@ -1343,7 +1343,7 @@ 1343 1343 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1344 1344 ((( 1345 1345 (% class="western" %) 1346 -Users object with update fields. Return property has CSVof questions id requested back in Users object.1597 +Users object with update fields. Return property has csv of questions id requested back in Users object. 1347 1347 ))) 1348 1348 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1349 1349 ((( ... ... @@ -1372,7 +1372,6 @@ 1372 1372 RequestDate to use for the demo update. If not provided current date will be used. 1373 1373 ))) 1374 1374 1375 -(% class="wrapped" %) 1376 1376 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1377 1377 ((( 1378 1378 (% class="western" %) ... ... @@ -1400,80 +1400,26 @@ 1400 1400 Updated user returned with the demo field requested in return parameter in json format. 1401 1401 ))) 1402 1402 1403 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 1653 +(% class="western" %) 1654 +\\ 1404 1404 1405 ----- 1656 +(% class="western" %) 1657 +\\ 1406 1406 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}} 1659 +(% class="western" %) 1660 +Create new users. Here in this example the JSON for request is passed in userFile.json file. 1408 1408 1409 - === (% style="color:rgb(33,33,33);"%)Body(%style="color: rgb(107,107,107);"%)raw(json)(%%)===1662 +{{{curl -X POST -H “Appkey: xxx” -H "Content-Type: application/json" –data-binary -d '@userFile.json' https://api.onecount.net/v2/users}}} 1410 1410 1411 ----- 1664 +(% class="western" %) 1665 +**~ ** 1412 1412 1413 -{{code language="yml" theme="RDark" title="Body" collapse="true"}} 1414 -{"Users":{"Demo":{"6":"title1"}}} 1415 -{{/code}} 1667 +(% class="western" %) 1668 +**~ ** 1416 1416 1417 -==== Example ==== 1418 - 1419 ----- 1420 - 1421 -(% style="color: rgb(107,107,107);" %)Request 1422 - 1423 -{{code language="php" theme="RDark" title="Update User Request" collapse="true"}} 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 - 1451 1451 \\ 1452 1452 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 - 1473 1473 (% class="western" %) 1474 -\\ 1475 - 1476 -(% class="western" %) 1477 1477 **COMPONENT: Questions** 1478 1478 1479 1479 (% class="western" %) ... ... @@ -1488,7 +1488,6 @@ 1488 1488 (% class="western" %) 1489 1489 There can be 6 types of questions: 1490 1490 1491 -(% class="wrapped" %) 1492 1492 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1493 1493 ((( 1494 1494 (% class="western" align="center" %) ... ... @@ -1553,7 +1553,6 @@ 1553 1553 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. 1554 1554 ))) 1555 1555 1556 -(% class="wrapped" %) 1557 1557 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1558 1558 ((( 1559 1559 (% class="western" %) ... ... @@ -1641,6606 +1641,248 @@ 1641 1641 1642 1642 \\ 1643 1643 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(%%) ==1838 +(% class="western" %) 1839 +**GET method can be used to lookup questions.** 1646 1646 1647 ----- 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. 1648 1648 1649 ----- 1867 +(% class="western" %) 1868 +Params: 1650 1650 1651 -{{panel bgColor="#D3D3D3" width="100%"}} 1652 -(% class="nolink nolink" %)https:~/~/api.onecount.net/v2/(% style="color: rgb(33,33,33);" %)questions 1653 -{{/panel}} 1870 +(% class="western" %) 1871 +Text: Word or phrase that should be present in the question text (String) 1654 1654 1655 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 1873 +(% class="western" %) 1874 +Type: Look up the question type. 1875 +))) 1656 1656 1657 ----- 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 +))) 1658 1658 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" collapse="true"}} 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 - 1695 1695 \\ 1696 1696 1697 -(% style="color: rgb(107,107,107);" %)Response 200 OK 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).** 1698 1698 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}} 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 +))) 3784 3784 3785 -\\ 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 +))) 3786 3786 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" collapse="true"}} 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 - 3833 3833 \\ 3834 3834 3835 -(% style="color: rgb(107,107,107);" %)Response 200 OK 1965 +(% class="western" %) 1966 +PUT method should be used to update question. 3836 3836 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}} 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 +))) 3856 3856 3857 -\\ 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 +))) 3858 3858 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(%%) 2022 +(% class="western" %) 3879 3879 \\ 3880 3880 3881 -==== Example ==== 2025 +(% class="western" %) 2026 +Example: Get list of questions from api which has FirstName in text 3882 3882 3883 --- --2028 +{{{curl -X GET -H “Appkey: xxx” https://api.onecount.net/v2/questions/lookup?Text=FirstName}}} 3884 3884 3885 -(% style="color: rgb(107,107,107);" %)Request 3886 - 3887 -{{code language="php" theme="RDark" title="Lookup question by text Request" collapse="true"}} 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"}} 2030 +(% class="western" %) 3917 3917 { 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}} 5302 5302 5303 -\\ 2033 +(% class="western" %) 2034 +"result": { 5304 5304 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(%%) ==2036 +(% class="western" %) 2037 +"success": "1", 5307 5307 5308 ----- 2039 +(% class="western" %) 2040 +"error": { 5309 5309 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}} 2042 +(% class="western" %) 2043 +"code": "0", 5313 5313 5314 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 2045 +(% class="western" %) 2046 +"message": "" 5315 5315 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" collapse="true"}} 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 - ] 2048 +(% class="western" %) 8005 8005 } 8006 -{{/code}} 8007 8007 8008 8008 (% class="western" %) 8009 - \\2052 +}, 8010 8010 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(%%) ==2054 +(% class="western" %) 2055 +"Questions": [ 8013 8013 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" collapse="true"}} 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" collapse="true"}} 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"}} 2057 +(% class="western" %) 8071 8071 { 8072 - "result": { 8073 - "success": "1", 8074 - "error": { 8075 - "code": "", 8076 - "message": "" 8077 - } 8078 - }, 8079 - "Questions": [ 8080 - { 8081 - "Id": 455 8082 - } 8083 - ] 8084 -} 8085 -{{/code}} 8086 8086 8087 -\\ 2060 +(% class="western" %) 2061 +"Id": "6", 8088 8088 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(%%) ==2063 +(% class="western" %) 2064 +"Text": "FirstName", 8091 8091 8092 ----- 2066 +(% class="western" %) 2067 +"Type": "1", 8093 8093 8094 -{{panel bgColor="#D3D3D3" width="100%"}} 8095 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/questions 8096 -{{/panel}} 2069 +(% class="western" %) 2070 +"Alias": "FName" 8097 8097 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" collapse="true"}} 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" collapse="true"}} 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 - ] 2072 +(% class="western" %) 8162 8162 } 8163 -{{/code}} 8164 8164 8165 -\\ 2075 +(% class="western" %) 2076 +] 8166 8166 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" collapse="true"}} 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" collapse="true"}} 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 - ] 2078 +(% class="western" %) 8242 8242 } 8243 -{{/code}} 8244 8244 8245 8245 (% class="western" %) 8246 8246 \\ ... ... @@ -8251,7 +8251,6 @@ 8251 8251 (% class="western" %) 8252 8252 This resource is for manipulating products resource. A product can be created, updated or searched. 8253 8253 8254 -(% class="wrapped" %) 8255 8255 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 8256 8256 ((( 8257 8257 (% class="western" %) ... ... @@ -8355,625 +8355,204 @@ 8355 8355 8356 8356 \\ 8357 8357 8358 -(% style="margin-left: 0.0px;"class="sc-fznLPX cxTVKx" %)8359 - ==(% class="sc-fzoaKM imuBmi" style="color:rgb(0,127,49);" %)GET (% class="sc-fzomuhjbmEtYdocumentation-core-item-request-name"style="color:rgb(33,33,33);" %)All Products(%%) ==2193 +(% class="western" %) 2194 +**GET method should be used to lookup products.** 8360 8360 8361 ----- 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. 8362 8362 8363 ----- 2222 +(% class="western" %) 2223 +Params: 8364 8364 8365 - {{panelbgColor="#D3D3D3"width="100%"}}8366 - (%class="nolink"%)https:~/~/api.onecount.net/v2(%style="color:rgb(33,33,33);" %)/products8367 - {{/panel}}2225 +(% class="western" %) 2226 +Name: Name of the Product for lookup (String) 2227 +))) 8368 8368 8369 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 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 +))) 8370 8370 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" collapse="true"}} 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 - 8408 8408 \\ 8409 8409 8410 -(% style="color: rgb(107,107,107);" %)Response 200 OK 2258 +(% class="western" %) 2259 +**POST method should be used to create products.** 8411 8411 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}} 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. 8645 8645 8646 -\\ 2287 +(% class="western" %) 2288 +Example: 8647 8647 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(%%) == 2290 +(% class="western" %) 2291 +{"Title":"Test123","Description": "Testss","Terms":{"Name":"Product123"},"PrimaryFormId":10,"ResourceID":17} 2292 +))) 8650 8650 8651 ----- 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 +))) 8652 8652 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" collapse="true"}} 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 - 8694 8694 \\ 8695 8695 8696 -(% style="color: rgb(107,107,107);" %)Response 200 OK 2323 +(% class="western" %) 2324 +PUT method should be used to update an individual product given the product info. 8697 8697 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}} 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. 8729 8729 8730 -\\ 2352 +(% class="western" %) 2353 +**Possible Request Params**: Title, Description, PrimaryFormId, ResourceID 8731 8731 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(%%) ==2355 +(% class="western" %) 2356 +**Example**: 8734 8734 8735 ----- 2358 +(% class="western" %) 2359 +{"Title":"Test123","Description": "Testss","PrimaryFormId":10,"ResourceID":17} 2360 +))) 8736 8736 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}} 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 +))) 8740 8740 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" collapse="true"}} 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 - 8784 8784 \\ 8785 8785 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" collapse="true"}} 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" collapse="true"}} 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" collapse="true"}} 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" collapse="true"}} 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 8977 (% class="western" %) 8978 8978 **COMPONENT: Terms** 8979 8979 ... ... @@ -8980,7 +8980,6 @@ 8980 8980 (% class="western" %) 8981 8981 This resource is for manipulating terms resource. A term can be created, updated or searched. 8982 8982 8983 -(% class="wrapped" %) 8984 8984 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 8985 8985 ((( 8986 8986 (% class="western" %) ... ... @@ -9049,513 +9049,207 @@ 9049 9049 9050 9050 \\ 9051 9051 9052 -(% style="margin-left: 0.0px;"class="sc-fznLPX cxTVKx" %)9053 - ==(% class="sc-fzoaKM imuBmi" style="color:rgb(0,127,49);" %)GET (% class="sc-fzomuhjbmEtYdocumentation-core-item-request-name"style="color:rgb(33,33,33);" %)All Terms(%%) ==2465 +(% class="western" %) 2466 +**GET method should be used to lookup products.** 9054 9054 9055 ----- 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. 9056 9056 9057 ----- 2494 +(% class="western" %) 2495 +Params: 9058 9058 9059 - {{panelbgColor="#D3D3D3"width="100%"}}9060 - (% class="nolink" %)https:~/~/api.onecount.net/v2(%style="color:rgb(33,33,33);" %)/terms9061 - {{/panel}}2497 +(% class="western" %) 2498 +Name: Name of the term for lookup (String) 2499 +))) 9062 9062 9063 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 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 +))) 9064 9064 9065 ----- 9066 - 9067 -(% 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}} 9068 - 9069 -==== Example ==== 9070 - 9071 ----- 9072 - 9073 -(% style="color: rgb(107,107,107);" %)Request 9074 - 9075 -{{code language="php" theme="RDark" title="Get All Terms Request" collapse="true"}} 9076 - <?php 9077 - 9078 -$curl = curl_init(); 9079 - 9080 -curl_setopt_array($curl, array( 9081 - CURLOPT_URL => 'https://api.onecount.net/v2/terms', 9082 - CURLOPT_RETURNTRANSFER => true, 9083 - CURLOPT_ENCODING => '', 9084 - CURLOPT_MAXREDIRS => 10, 9085 - CURLOPT_TIMEOUT => 0, 9086 - CURLOPT_FOLLOWLOCATION => true, 9087 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 9088 - CURLOPT_CUSTOMREQUEST => 'GET', 9089 - CURLOPT_HTTPHEADER => array( 9090 - 'Appkey: {{ONECOUNT API KEY}}' 9091 - ), 9092 -)); 9093 - 9094 -$response = curl_exec($curl); 9095 - 9096 -curl_close($curl); 9097 -echo $response; 9098 -{{/code}} 9099 - 9100 9100 \\ 9101 9101 9102 -(% style="color: rgb(107,107,107);" %)Response 200 OK 2530 +(% class="western" %) 2531 +**POST method should be used to create products.** 9103 9103 9104 -{{code language="yml" theme="RDark" title="Get All Terms Response" collapse="true"}} 9105 - { 9106 - "result": { 9107 - "success": "1", 9108 - "error": { 9109 - "code": "", 9110 - "message": "" 9111 - } 9112 - }, 9113 - "Terms": [ 9114 - { 9115 - "Id": 26, 9116 - "Name": "Please contact me to arrange a demo", 9117 - "Description": "", 9118 - "Duration": 1, 9119 - "DurationUnit": "I", 9120 - "Price": "0", 9121 - "ProductId": 26 9122 - }, 9123 - { 9124 - "Id": 34, 9125 - "Name": "ONEcount Promotional Emails", 9126 - "Description": "ONEcount promotional emails", 9127 - "Duration": 1, 9128 - "DurationUnit": "I", 9129 - "Price": "0", 9130 - "ProductId": 34 9131 - }, 9132 - { 9133 - "Id": 42, 9134 - "Name": "ONEcount Staff List", 9135 - "Description": "List of ONEcount/GCN Media Staff", 9136 - "Duration": 1, 9137 - "DurationUnit": "I", 9138 - "Price": "0", 9139 - "ProductId": 42 9140 - }, 9141 - { 9142 - "Id": 49, 9143 - "Name": "ONEcount Medical Publishers", 9144 - "Description": "ONEcount Medical Publishers and Associations", 9145 - "Duration": 1, 9146 - "DurationUnit": "I", 9147 - "Price": "0", 9148 - "ProductId": 49 9149 - }, 9150 - { 9151 - "Id": 57, 9152 - "Name": "000 Pop-Up Term", 9153 - "Description": "", 9154 - "Duration": 1, 9155 - "DurationUnit": "I", 9156 - "Price": "0", 9157 - "ProductId": 57 9158 - }, 9159 - { 9160 - "Id": 59, 9161 - "Name": "Get it for free", 9162 - "Description": "", 9163 - "Duration": 1, 9164 - "DurationUnit": "I", 9165 - "Price": "0", 9166 - "ProductId": 67 9167 - }, 9168 - { 9169 - "Id": 67, 9170 - "Name": "DAS_freepass_00", 9171 - "Description": "", 9172 - "Duration": 30, 9173 - "DurationUnit": "D", 9174 - "Price": "0", 9175 - "ProductId": 91 9176 - }, 9177 - { 9178 - "Id": 75, 9179 - "Name": "Product123", 9180 - "Description": null, 9181 - "Duration": 0, 9182 - "DurationUnit": "", 9183 - "Price": "0", 9184 - "ProductId": 99 9185 - }, 9186 - { 9187 - "Id": 83, 9188 - "Name": "Product123", 9189 - "Description": null, 9190 - "Duration": 0, 9191 - "DurationUnit": "", 9192 - "Price": "0", 9193 - "ProductId": 107 9194 - }, 9195 - { 9196 - "Id": 91, 9197 - "Name": "Test123 update ", 9198 - "Description": "Testss updated", 9199 - "Duration": 10, 9200 - "DurationUnit": "", 9201 - "Price": "0", 9202 - "ProductId": 107 9203 - }, 9204 - { 9205 - "Id": 93, 9206 - "Name": "Enhanced Analytics Webinar", 9207 - "Description": "Check the box to register for the February 26th webinar.", 9208 - "Duration": 1, 9209 - "DurationUnit": "I", 9210 - "Price": "0", 9211 - "ProductId": 109 9212 - }, 9213 - { 9214 - "Id": 423, 9215 - "Name": "Test term for API", 9216 - "Description": null, 9217 - "Duration": 0, 9218 - "DurationUnit": "", 9219 - "Price": "0.00", 9220 - "ProductId": 591 9221 - }, 9222 - { 9223 - "Id": 431, 9224 - "Name": "Test term for API 1", 9225 - "Description": null, 9226 - "Duration": 0, 9227 - "DurationUnit": "", 9228 - "Price": "0.00", 9229 - "ProductId": 599 9230 - } 9231 - ] 9232 -} 9233 -{{/code}} 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. 9234 9234 9235 -\\ 2559 +(% class="western" %) 2560 +**Possible Request Params**: Name, Description, Duration, DurationUnit, Price, ProductId, Active, ProductStatusId, Quantity, QuantityTxt 9236 9236 9237 -(% style="margin-left: 0.0px;"class="sc-fznLPX cxTVKx" %)9238 - == (% 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(%%) ==2562 +(% class="western" %) 2563 +**Example**: 9239 9239 9240 ----- 2565 +(% class="western" %) 2566 +{"Name":"Test123","Description":Testss","Duration":10,"ProductId":17} 2567 +))) 9241 9241 9242 -{{panel bgColor="#D3D3D3" width="100%"}} 9243 - (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/terms/~{~{Term Id}} 9244 -{{/panel}} 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 +))) 9245 9245 9246 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 9247 - 9248 ----- 9249 - 9250 -(% 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}} 9251 - 9252 -==== Example ==== 9253 - 9254 ----- 9255 - 9256 -(% style="color: rgb(107,107,107);" %)Request 9257 - 9258 -{{code language="php" theme="RDark" title="Get specific Term Request" collapse="true"}} 9259 - <?php 9260 - 9261 -$curl = curl_init(); 9262 - 9263 -curl_setopt_array($curl, array( 9264 - CURLOPT_URL => 'https://api.onecount.net/v2/terms/{{Term Id}}', 9265 - CURLOPT_RETURNTRANSFER => true, 9266 - CURLOPT_ENCODING => '', 9267 - CURLOPT_MAXREDIRS => 10, 9268 - CURLOPT_TIMEOUT => 0, 9269 - CURLOPT_FOLLOWLOCATION => true, 9270 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 9271 - CURLOPT_CUSTOMREQUEST => 'GET', 9272 - CURLOPT_HTTPHEADER => array( 9273 - 'Appkey: {{ONECOUNT API KEY}}' 9274 - ), 9275 -)); 9276 - 9277 -$response = curl_exec($curl); 9278 - 9279 -curl_close($curl); 9280 -echo $response; 9281 -{{/code}} 9282 - 9283 9283 \\ 9284 9284 9285 -(% style="color: rgb(107,107,107);" %)Response 200 OK 2598 +(% class="western" %) 2599 +PUT method should be used to update an individual term given the term info. 9286 9286 9287 -{{code language="yml" theme="RDark" title="Get specific Term Response" collapse="true"}} 9288 - { 9289 - "result": { 9290 - "success": "1", 9291 - "error": { 9292 - "code": "", 9293 - "message": "" 9294 - } 9295 - }, 9296 - "Terms": [ 9297 - { 9298 - "Id": 431, 9299 - "Name": "Test term for API 1", 9300 - "Description": null, 9301 - "Duration": 0, 9302 - "DurationUnit": "", 9303 - "Price": "0.00", 9304 - "ProductId": 599 9305 - } 9306 - ] 9307 -} 9308 -{{/code}} 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. 9309 9309 2627 +(% class="western" %) 9310 9310 \\ 9311 9311 9312 -(% style="margin-left: 0.0px;"class="sc-fznLPX cxTVKx" %)9313 - == (% 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(%%) ==2630 +(% class="western" %) 2631 +**Example**: 9314 9314 9315 ----- 2633 +(% class="western" %) 2634 +{"Name":"Test123","Description":Testss","Duration":10,"ProductId":17} 2635 +))) 9316 9316 9317 -{{panel bgColor="#D3D3D3" width="100%"}} 9318 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/terms/lookup?Name={(%%){Term Name}} 9319 -{{/panel}} 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 +))) 9320 9320 9321 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 9322 - 9323 ----- 9324 - 9325 -(% 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}} 9326 - 9327 -=== (% style="color: rgb(33,33,33);" %)Query Params(%%) === 9328 - 9329 ----- 9330 - 9331 -(% 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}} 9332 - 9333 -==== Example ==== 9334 - 9335 ----- 9336 - 9337 -(% style="color: rgb(107,107,107);" %)Request 9338 - 9339 -{{code language="php" theme="RDark" title="Lookup Term Request" collapse="true"}} 9340 - <?php 9341 - 9342 -$curl = curl_init(); 9343 - 9344 -curl_setopt_array($curl, array( 9345 - CURLOPT_URL => 'https://api.onecount.net/v2/terms/lookup?Name={{Term Name}}', 9346 - CURLOPT_RETURNTRANSFER => true, 9347 - CURLOPT_ENCODING => '', 9348 - CURLOPT_MAXREDIRS => 10, 9349 - CURLOPT_TIMEOUT => 0, 9350 - CURLOPT_FOLLOWLOCATION => true, 9351 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 9352 - CURLOPT_CUSTOMREQUEST => 'GET', 9353 - CURLOPT_HTTPHEADER => array( 9354 - 'Appkey: {{ONECOUNT API KEY}}' 9355 - ), 9356 -)); 9357 - 9358 -$response = curl_exec($curl); 9359 - 9360 -curl_close($curl); 9361 -echo $response; 9362 -{{/code}} 9363 - 9364 9364 \\ 9365 9365 9366 -(% style="color: rgb(107,107,107);" %)Response 200 OK 9367 - 9368 -{{code language="yml" theme="RDark" title="Lookup Term Response" collapse="true"}} 9369 -{ 9370 - "result": { 9371 - "success": "1", 9372 - "error": { 9373 - "code": "", 9374 - "message": "" 9375 - } 9376 - }, 9377 - "Terms": [ 9378 - { 9379 - "Id": 431, 9380 - "Name": "Test term for API 1", 9381 - "Description": null, 9382 - "Duration": 0, 9383 - "DurationUnit": "", 9384 - "Price": "0.00", 9385 - "ProductId": 599 9386 - } 9387 - ] 9388 -} 9389 -{{/code}} 9390 - 9391 -\\ 9392 - 9393 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 9394 -== (% 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(%%) == 9395 - 9396 ----- 9397 - 9398 -{{panel bgColor="#D3D3D3" width="100%"}} 9399 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/terms 9400 -{{/panel}} 9401 - 9402 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 9403 - 9404 ----- 9405 - 9406 -(% 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}} 9407 - 9408 -=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) === 9409 - 9410 ----- 9411 - 9412 -{{code language="yml" theme="RDark" title="Body" collapse="true"}} 9413 -{"Name":"Test API term creation","Description":"Test API term creation","Duration":10,"ProductId":599} 9414 -{{/code}} 9415 - 9416 -==== Example ==== 9417 - 9418 ----- 9419 - 9420 -(% style="color: rgb(107,107,107);" %)Request 9421 - 9422 -{{code language="php" theme="RDark" title="Create Term Request" collapse="true"}} 9423 -<?php 9424 - 9425 -$curl = curl_init(); 9426 - 9427 -curl_setopt_array($curl, array( 9428 - CURLOPT_URL => 'https://api.onecount.net/v2/terms', 9429 - CURLOPT_RETURNTRANSFER => true, 9430 - CURLOPT_ENCODING => '', 9431 - CURLOPT_MAXREDIRS => 10, 9432 - CURLOPT_TIMEOUT => 0, 9433 - CURLOPT_FOLLOWLOCATION => true, 9434 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 9435 - CURLOPT_CUSTOMREQUEST => 'POST', 9436 - CURLOPT_POSTFIELDS =>'{"Name":"Test API term creation","Description":"Test API term creation","Duration":10,"ProductId":599} 9437 - 9438 -', 9439 - CURLOPT_HTTPHEADER => array( 9440 - 'Appkey: {{ONECOUNT API KEY}}' 9441 - ), 9442 -)); 9443 - 9444 -$response = curl_exec($curl); 9445 - 9446 -curl_close($curl); 9447 -echo $response; 9448 - 9449 - 9450 -{{/code}} 9451 - 9452 -\\ 9453 - 9454 -(% style="color: rgb(107,107,107);" %)Response 200 OK 9455 - 9456 -{{code language="yml" theme="RDark" title="Create Term Response" collapse="true"}} 9457 -{ 9458 - "result": { 9459 - "success": "1", 9460 - "error": { 9461 - "code": "", 9462 - "message": "" 9463 - } 9464 - }, 9465 - "Terms": [ 9466 - { 9467 - "Id": 447 9468 - } 9469 - ] 9470 -} 9471 -{{/code}} 9472 - 9473 -\\ 9474 - 9475 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 9476 -== (% 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(%%) == 9477 - 9478 ----- 9479 - 9480 -{{panel bgColor="#D3D3D3" width="100%"}} 9481 - (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/terms/~{~{Term Id}} 9482 -{{/panel}} 9483 - 9484 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 9485 - 9486 ----- 9487 - 9488 -(% 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}} 9489 - 9490 -=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) === 9491 - 9492 ----- 9493 - 9494 -{{code language="yml" theme="RDark" title="Body" collapse="true"}} 9495 -{"Name":"Test API term creation update","Description":"Test API term creation update","Duration":10,"ProductId":599} 9496 -{{/code}} 9497 - 9498 -==== Example ==== 9499 - 9500 ----- 9501 - 9502 -(% style="color: rgb(107,107,107);" %)Request 9503 - 9504 -{{code language="php" theme="RDark" title="Update Term Request" collapse="true"}} 9505 - <?php 9506 - 9507 -$curl = curl_init(); 9508 - 9509 -curl_setopt_array($curl, array( 9510 - CURLOPT_URL => 'https://api.onecount.net/v2/terms/{{Term Id}}', 9511 - CURLOPT_RETURNTRANSFER => true, 9512 - CURLOPT_ENCODING => '', 9513 - CURLOPT_MAXREDIRS => 10, 9514 - CURLOPT_TIMEOUT => 0, 9515 - CURLOPT_FOLLOWLOCATION => true, 9516 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 9517 - CURLOPT_CUSTOMREQUEST => 'PUT', 9518 - CURLOPT_POSTFIELDS =>'{"Name":"Test API term creation update","Description":"Test API term creation update","Duration":10,"ProductId":599}', 9519 - CURLOPT_HTTPHEADER => array( 9520 - 'Appkey: {{ONECOUNT API KEY}}' 9521 - ), 9522 -)); 9523 - 9524 -$response = curl_exec($curl); 9525 - 9526 -curl_close($curl); 9527 -echo $response; 9528 -{{/code}} 9529 - 9530 -\\ 9531 - 9532 -(% style="color: rgb(107,107,107);" %)Response 200 OK 9533 - 9534 -{{code language="yml" theme="RDark" title="Update Term Response" collapse="true"}} 9535 - { 9536 - "result": { 9537 - "success": "1", 9538 - "error": { 9539 - "code": "", 9540 - "message": "" 9541 - } 9542 - }, 9543 - "Terms": [ 9544 - { 9545 - "Id": 447, 9546 - "Name": "Test API term creation update", 9547 - "Description": "Test API term creation update", 9548 - "Duration": 10, 9549 - "DurationUnit": "", 9550 - "Price": "0.00", 9551 - "ProductId": 599 9552 - } 9553 - ] 9554 -} 9555 -{{/code}} 9556 - 9557 -\\ 9558 - 9559 9559 (% class="western" %) 9560 9560 **COMPONENT: Resources** 9561 9561 ... ... @@ -9597,7 +9597,6 @@ 9597 9597 (% class="western" %) 9598 9598 This resource is for manipulating resources resource. A resource can be created, updated or searched. 9599 9599 9600 -(% class="wrapped" %) 9601 9601 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 9602 9602 ((( 9603 9603 (% class="western" %) ... ... @@ -9666,480 +9666,227 @@ 9666 9666 9667 9667 \\ 9668 9668 9669 -(% style="margin-left: 0.0px;"class="sc-fznLPX cxTVKx" %)9670 - ==(% class="sc-fzoaKM imuBmi" style="color:rgb(0,127,49);" %)GET (% class="sc-fzomuhjbmEtYdocumentation-core-item-request-name"style="color:rgb(33,33,33);" %)All Resources(%%) ==2775 +(% class="western" %) 2776 +**GET method should be used to lookup resources.** 9671 9671 9672 ----- 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. 9673 9673 9674 ----- 2804 +(% class="western" %) 2805 +Params: 9675 9675 9676 - {{panelbgColor="#D3D3D3"width="100%"}}9677 - (% class="nolink" %)https:~/~/api.onecount.net/v2(%style="color:rgb(33,33,33);" %)/resources9678 - {{/panel}}2807 +(% class="western" %) 2808 +Name: Name of the resource for lookup (String) 2809 +))) 9679 9679 9680 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 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 +))) 9681 9681 9682 ----- 9683 - 9684 -(% 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}} 9685 - 9686 -==== Example ==== 9687 - 9688 ----- 9689 - 9690 -(% style="color: rgb(107,107,107);" %)Request 9691 - 9692 -{{code language="php" theme="RDark" title="Get All Resource Request" collapse="true"}} 9693 - <?php 9694 - 9695 -$curl = curl_init(); 9696 - 9697 -curl_setopt_array($curl, array( 9698 - CURLOPT_URL => 'https://api.onecount.net/v2/resources', 9699 - CURLOPT_RETURNTRANSFER => true, 9700 - CURLOPT_ENCODING => '', 9701 - CURLOPT_MAXREDIRS => 10, 9702 - CURLOPT_TIMEOUT => 0, 9703 - CURLOPT_FOLLOWLOCATION => true, 9704 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 9705 - CURLOPT_CUSTOMREQUEST => 'GET', 9706 - CURLOPT_HTTPHEADER => array( 9707 - 'Appkey: {{ONECOUNT API KEY}}' 9708 - ), 9709 -)); 9710 - 9711 -$response = curl_exec($curl); 9712 - 9713 -curl_close($curl); 9714 -echo $response; 9715 -{{/code}} 9716 - 9717 9717 \\ 9718 9718 9719 -(% style="color: rgb(107,107,107);" %)Response 200 OK 2840 +(% class="western" %) 2841 +**POST method should be used to create resources.** 9720 9720 9721 -{{code language="yml" theme="RDark" title="Get All Resource Response" collapse="true"}} 9722 - { 9723 - "result": { 9724 - "success": "1", 9725 - "error": { 9726 - "code": "", 9727 - "message": "" 9728 - } 9729 - }, 9730 - "Resources": [ 9731 - { 9732 - "Id": 18, 9733 - "Name": "ONEcount/GCN Staff Newsletter Resource", 9734 - "Description": "ONEcount/GCN Staff Newsletter List", 9735 - "Type": "2", 9736 - "Value": "57|53|55", 9737 - "FreePass": 0 9738 - }, 9739 - { 9740 - "Id": 26, 9741 - "Name": "GCN TEST GROUP", 9742 - "Description": "THESE USER WILL GET TEST MESSAGE", 9743 - "Type": "2", 9744 - "Value": "47", 9745 - "FreePass": 0 9746 - }, 9747 - { 9748 - "Id": 98, 9749 - "Name": "ONEcount Prospects List", 9750 - "Description": "Newsletter List of ONEcount Prospects", 9751 - "Type": "2", 9752 - "Value": "55", 9753 - "FreePass": 0 9754 - }, 9755 - { 9756 - "Id": 106, 9757 - "Name": "Google Ads Form", 9758 - "Description": "", 9759 - "Type": "3", 9760 - "Value": "http://ocreg.one-count.com/onecount/reg/registerForm.cgi?form=186&brand=OC", 9761 - "FreePass": 0 9762 - }, 9763 - { 9764 - "Id": 114, 9765 - "Name": "secure files", 9766 - "Description": "", 9767 - "Type": "3", 9768 - "Value": "/download.php", 9769 - "FreePass": 0 9770 - }, 9771 - { 9772 - "Id": 130, 9773 - "Name": "REQUEST A DEMO", 9774 - "Description": "", 9775 - "Type": "3", 9776 - "Value": "http://ocreg.one-count.com/onecount/flexreg/displayform.cgi?g=0&form=34", 9777 - "FreePass": 0 9778 - }, 9779 - { 9780 - "Id": 137, 9781 - "Name": "ONEcount Medical Publishers", 9782 - "Description": "ONEcount Medical Publishers and Associations", 9783 - "Type": "2", 9784 - "Value": "61", 9785 - "FreePass": 0 9786 - }, 9787 - { 9788 - "Id": 145, 9789 - "Name": "Pop-Up Test Page", 9790 - "Description": "", 9791 - "Type": "3", 9792 - "Value": "http://omar.gcnmedia.com/projects/form/gated.html", 9793 - "FreePass": 0 9794 - }, 9795 - { 9796 - "Id": 146, 9797 - "Name": "Platform Resource", 9798 - "Description": "Test Resource", 9799 - "Type": "3", 9800 - "Value": "/Platform", 9801 - "FreePass": 0 9802 - }, 9803 - { 9804 - "Id": 153, 9805 - "Name": "Submitted", 9806 - "Description": "", 9807 - "Type": "3", 9808 - "Value": "http://gcn-reg.onecount.net/onecount/reg/tSuccessView.php?brand=oc", 9809 - "FreePass": 0 9810 - } 9811 - ] 9812 -} 9813 -{{/code}} 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. 9814 9814 9815 -\\ 2869 +(% class="western" %) 2870 +**Possible Request Params**: Name, Description, Type, Value, FreePass 9816 9816 9817 -(% style="margin-left: 0.0px;"class="sc-fznLPX cxTVKx" %)9818 - == (% 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(%%) ==2872 +(% class="western" %) 2873 +**Example**: 9819 9819 9820 ----- 2875 +(% class="western" %) 2876 +{"Name":"Test123","Description":Testss","Type":3,"Value":”/digital/”} 9821 9821 9822 -{{panel bgColor="#D3D3D3" width="100%"}} 9823 - (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/resources/{(%%){Resource ID}} 9824 -{{/panel}} 2878 +(% class="western" %) 2879 +{"Name":"Test123","Description":Testss","Type":3,"Value":[”/digital/”, "/article/"]} 9825 9825 9826 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 2881 +(% class="western" %) 2882 +{"Name":"Test123","Description":Testss","Type":3,"Value":”/digital/”, "FreePass":1} 9827 9827 9828 ----- 2884 +(% class="western" %) 2885 +{"Name":"Test123","Description":Testss","Type":3,"Value":[”/digital/”, "/article/"],"FreePass":1} 2886 +))) 9829 9829 9830 -(% 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}} 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 +))) 9831 9831 9832 -==== Example ==== 9833 - 9834 ----- 9835 - 9836 -(% style="color: rgb(107,107,107);" %)Request 9837 - 9838 -{{code language="php" theme="RDark" title="Get specific Resource Request" collapse="true"}} 9839 - <?php 9840 - 9841 -$curl = curl_init(); 9842 - 9843 -curl_setopt_array($curl, array( 9844 - CURLOPT_URL => 'https://api.onecount.net/v2/resources/{{Resource ID}}', 9845 - CURLOPT_RETURNTRANSFER => true, 9846 - CURLOPT_ENCODING => '', 9847 - CURLOPT_MAXREDIRS => 10, 9848 - CURLOPT_TIMEOUT => 0, 9849 - CURLOPT_FOLLOWLOCATION => true, 9850 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 9851 - CURLOPT_CUSTOMREQUEST => 'GET', 9852 - CURLOPT_HTTPHEADER => array( 9853 - 'Appkey: {{ONECOUNT API KEY}}' 9854 - ), 9855 -)); 9856 - 9857 -$response = curl_exec($curl); 9858 - 9859 -curl_close($curl); 9860 -echo $response; 9861 -{{/code}} 9862 - 9863 9863 \\ 9864 9864 9865 -(% style="color: rgb(107,107,107);" %)Response 200 OK 2917 +(% class="western" %) 2918 +PUT method should be used to update an individual resource given the resource info. 9866 9866 9867 -{{code language="yml" theme="RDark" title="Get specific Resource Response" collapse="true"}} 9868 - { 9869 - "result": { 9870 - "success": "1", 9871 - "error": { 9872 - "code": "", 9873 - "message": "" 9874 - } 9875 - }, 9876 - "Resources": [ 9877 - { 9878 - "Id": 623, 9879 - "Name": "TOP 3 THINGS - NonStop Local News", 9880 - "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.", 9881 - "Type": "2", 9882 - "Value": "", 9883 - "FreePass": 0 9884 - } 9885 - ] 9886 -} 9887 -{{/code}} 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. 9888 9888 2946 +(% class="western" %) 9889 9889 \\ 9890 9890 9891 -(% style="margin-left: 0.0px;"class="sc-fznLPX cxTVKx" %)9892 - == (% 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(%%) ==2949 +(% class="western" %) 2950 +Examples: 9893 9893 9894 ----- 2952 +(% class="western" %) 2953 +{"Name":"Test123","Description":Testss","Type":3,"Value":”/digital/”} 9895 9895 9896 -{{panel bgColor="#D3D3D3" width="100%"}} 9897 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/resources/lookup?Name={(%%){Resource Name}} 9898 -{{/panel}} 2955 +(% class="western" %) 2956 +{"Name":"Test123","Description":Testss","Type":3,"Value":[”/digital/”, "/article/"]} 9899 9899 9900 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 2958 +(% class="western" %) 2959 +{"Name":"Test123","Description":Testss","Type":3,"Value":”/digital/”,"FreePass":1} 9901 9901 9902 ----- 2961 +(% class="western" %) 2962 +{"Name":"Test123","Description":Testss","Type":3,"Value":[”/digital/”, "/article/"],"FreePass":1} 2963 +))) 9903 9903 9904 -(% 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}} 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 +))) 9905 9905 9906 -=== (% style="color: rgb(33,33,33);" %)Query Params(%%) === 9907 - 9908 ----- 9909 - 9910 -(% 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}} 9911 - 9912 -==== Example ==== 9913 - 9914 ----- 9915 - 9916 -(% style="color: rgb(107,107,107);" %)Request 9917 - 9918 -{{code language="php" theme="RDark" title="Lookup Resource Request" collapse="true"}} 9919 - <?php 9920 - 9921 -$curl = curl_init(); 9922 - 9923 -curl_setopt_array($curl, array( 9924 - CURLOPT_URL => 'https://api.onecount.net/v2/resources/lookup?Name={{Resource Name}}', 9925 - CURLOPT_RETURNTRANSFER => true, 9926 - CURLOPT_ENCODING => '', 9927 - CURLOPT_MAXREDIRS => 10, 9928 - CURLOPT_TIMEOUT => 0, 9929 - CURLOPT_FOLLOWLOCATION => true, 9930 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 9931 - CURLOPT_CUSTOMREQUEST => 'GET', 9932 - CURLOPT_HTTPHEADER => array( 9933 - 'Appkey: {{ONECOUNT API KEY}}' 9934 - ), 9935 -)); 9936 - 9937 -$response = curl_exec($curl); 9938 - 9939 -curl_close($curl); 9940 -echo $response; 9941 -{{/code}} 9942 - 9943 9943 \\ 9944 9944 9945 -(% style="color: rgb(107,107,107);" %)Response 200 OK 9946 - 9947 -{{code language="yml" theme="RDark" title="Lookup Resource Response" collapse="true"}} 9948 - { 9949 - "result": { 9950 - "success": "1", 9951 - "error": { 9952 - "code": "", 9953 - "message": "" 9954 - } 9955 - }, 9956 - "Resources": [ 9957 - { 9958 - "Id": 479, 9959 - "Name": "Virtualization Review", 9960 - "Description": "", 9961 - "Type": "0", 9962 - "Value": "", 9963 - "FreePass": 0 9964 - } 9965 - ] 9966 -} 9967 -{{/code}} 9968 - 9969 9969 \\ 9970 9970 9971 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 9972 -== (% 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(%%) == 9973 - 9974 ----- 9975 - 9976 -{{panel bgColor="#D3D3D3" width="100%"}} 9977 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/resources 9978 -{{/panel}} 9979 - 9980 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 9981 - 9982 ----- 9983 - 9984 -(% 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}} 9985 - 9986 -=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) === 9987 - 9988 ----- 9989 - 9990 -{{code language="yml" theme="RDark" title="Body" collapse="true"}} 9991 -{"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} 9992 -{{/code}} 9993 - 9994 -==== Example ==== 9995 - 9996 ----- 9997 - 9998 -(% style="color: rgb(107,107,107);" %)Request 9999 - 10000 -{{code language="php" theme="RDark" title="Create Resource Request" collapse="true"}} 10001 - <?php 10002 - 10003 -$curl = curl_init(); 10004 - 10005 -curl_setopt_array($curl, array( 10006 - CURLOPT_URL => 'https://api.onecount.net/v2/resources', 10007 - CURLOPT_RETURNTRANSFER => true, 10008 - CURLOPT_ENCODING => '', 10009 - CURLOPT_MAXREDIRS => 10, 10010 - CURLOPT_TIMEOUT => 0, 10011 - CURLOPT_FOLLOWLOCATION => true, 10012 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 10013 - CURLOPT_CUSTOMREQUEST => 'POST', 10014 - 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}', 10015 - CURLOPT_HTTPHEADER => array( 10016 - 'Appkey: {{ONECOUNT API KEY}}' 10017 - ), 10018 -)); 10019 - 10020 -$response = curl_exec($curl); 10021 - 10022 -curl_close($curl); 10023 -echo $response; 10024 -{{/code}} 10025 - 10026 -\\ 10027 - 10028 -(% style="color: rgb(107,107,107);" %)Response 200 OK 10029 - 10030 -{{code language="yml" theme="RDark" title="Create Resource Response" collapse="true"}} 10031 - { 10032 - "result": { 10033 - "success": "1", 10034 - "error": { 10035 - "code": "", 10036 - "message": "" 10037 - } 10038 - }, 10039 - "Resources": [ 10040 - { 10041 - "Id": 871, 10042 - "Name": "Test API product creation 21", 10043 - "Description": "Test API product creation 21", 10044 - "Type": "3", 10045 - "Value": "http://one-count.com", 10046 - "FreePass": 1 10047 - } 10048 - ] 10049 -} 10050 -{{/code}} 10051 - 10052 -\\ 10053 - 10054 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 10055 -== (% 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(%%) == 10056 - 10057 ----- 10058 - 10059 -{{panel bgColor="#D3D3D3" width="100%"}} 10060 - (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/resources/~{~{resource id}} 10061 -{{/panel}} 10062 - 10063 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 10064 - 10065 ----- 10066 - 10067 -(% 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}} 10068 - 10069 -=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) === 10070 - 10071 ----- 10072 - 10073 -{{code language="yml" theme="RDark" title="Body" collapse="true"}} 10074 -{"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} 10075 -{{/code}} 10076 - 10077 -==== Example ==== 10078 - 10079 ----- 10080 - 10081 -(% style="color: rgb(107,107,107);" %)Request 10082 - 10083 -{{code language="php" theme="RDark" title="Update Resource Request" collapse="true"}} 10084 - <?php 10085 - 10086 -$curl = curl_init(); 10087 - 10088 -curl_setopt_array($curl, array( 10089 - CURLOPT_URL => 'https://api.onecount.net/v2/resources/{{resource id}}', 10090 - CURLOPT_RETURNTRANSFER => true, 10091 - CURLOPT_ENCODING => '', 10092 - CURLOPT_MAXREDIRS => 10, 10093 - CURLOPT_TIMEOUT => 0, 10094 - CURLOPT_FOLLOWLOCATION => true, 10095 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 10096 - CURLOPT_CUSTOMREQUEST => 'PUT', 10097 - 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}', 10098 - CURLOPT_HTTPHEADER => array( 10099 - 'Appkey: {{ONECOUNT API KEY}}' 10100 - ), 10101 -)); 10102 - 10103 -$response = curl_exec($curl); 10104 - 10105 -curl_close($curl); 10106 -echo $response; 10107 -{{/code}} 10108 - 10109 -\\ 10110 - 10111 -(% style="color: rgb(107,107,107);" %)Response 200 OK 10112 - 10113 -{{code language="yml" theme="RDark" title="Update Resource Response" collapse="true"}} 10114 - { 10115 - "result": { 10116 - "success": "1", 10117 - "error": { 10118 - "code": "", 10119 - "message": "" 10120 - } 10121 - }, 10122 - "Resources": [ 10123 - { 10124 - "Id": 903, 10125 - "Name": "Test API product creation 23", 10126 - "Description": "Test API product creation 23", 10127 - "Type": "3", 10128 - "Value": "http://one-count.com", 10129 - "FreePass": 1 10130 - }, 10131 - { 10132 - "Id": 903, 10133 - "Name": "Test API product creation 23", 10134 - "Description": "Test API product creation 23", 10135 - "Type": "3", 10136 - "Value": "onecount.net", 10137 - "FreePass": 1 10138 - } 10139 - ] 10140 -} 10141 -{{/code}} 10142 - 10143 10143 (% class="western" %) 10144 10144 \\ 10145 10145 ... ... @@ -10150,7 +10150,6 @@ 10150 10150 (% class="western" %) 10151 10151 This resource is for manipulating source code for a resource. A source code can be created, updated or searched. 10152 10152 10153 -(% class="wrapped" %) 10154 10154 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 10155 10155 ((( 10156 10156 (% class="western" %) ... ... @@ -10219,534 +10219,192 @@ 10219 10219 10220 10220 \\ 10221 10221 10222 -(% style="margin-left: 0.0px;"class="sc-fznLPX cxTVKx" %)10223 - == (%class="sc-fzoaKMimuBmi"style="color:rgb(0,127,49);"%)GET(%class="sc-fzomuhjbmEtYdocumentation-core-item-request-name"style="color:rgb(33,33,33);" %)All Source codes(%%) ==3074 +(% class="western" %) 3075 +**Sources can be looked up given the code or Id. GET method should be used for lookup.** 10224 10224 10225 ----- 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. 10226 10226 10227 ----- 3103 +(% class="western" %) 3104 +Params: 10228 10228 10229 - {{panelbgColor="#D3D3D3"width="100%"}}10230 - (% class="nolink" %)https:~/~/api.onecount.net/v2(%style="color:rgb(33,33,33);" %)/sources10231 - {{/panel}}3106 +(% class="western" %) 3107 +Source: Source value (String) 3108 +))) 10232 10232 10233 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 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 +))) 10234 10234 10235 ----- 10236 - 10237 -(% 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}} 10238 - 10239 -==== Example ==== 10240 - 10241 ----- 10242 - 10243 -(% style="color: rgb(107,107,107);" %)Request 10244 - 10245 -{{code language="php" theme="RDark" title="Get All Source code Request" collapse="true"}} 10246 - <?php 10247 - 10248 -$curl = curl_init(); 10249 - 10250 -curl_setopt_array($curl, array( 10251 - CURLOPT_URL => 'https://api.onecount.net/v2/sources', 10252 - CURLOPT_RETURNTRANSFER => true, 10253 - CURLOPT_ENCODING => '', 10254 - CURLOPT_MAXREDIRS => 10, 10255 - CURLOPT_TIMEOUT => 0, 10256 - CURLOPT_FOLLOWLOCATION => true, 10257 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 10258 - CURLOPT_CUSTOMREQUEST => 'GET', 10259 - CURLOPT_HTTPHEADER => array( 10260 - 'Appkey: {{ONECOUNT API KEY}}' 10261 - ), 10262 -)); 10263 - 10264 -$response = curl_exec($curl); 10265 - 10266 -curl_close($curl); 10267 -echo $response; 10268 -{{/code}} 10269 - 10270 10270 \\ 10271 10271 10272 -(% style="color: rgb(107,107,107);" %)Response 200 OK 10273 - 10274 -{{code language="yml" theme="RDark" title="Get All Source code Response" collapse="true"}} 10275 - { 10276 - "result": { 10277 - "success": "1", 10278 - "error": { 10279 - "code": "", 10280 - "message": "" 10281 - } 10282 - }, 10283 - "Sources": [ 10284 - { 10285 - "Id": 26, 10286 - "Source": "GCN-Member", 10287 - "Description": "Uploaded from Reston VA", 10288 - "Parent": 0 10289 - }, 10290 - { 10291 - "Id": 34, 10292 - "Source": "SugarID", 10293 - "Description": "Sugar IDs cleaned contacts list and cleaned leads list sent by Sean Fulton for upload.", 10294 - "Parent": 0 10295 - }, 10296 - { 10297 - "Id": 42, 10298 - "Source": "DEMOFORM", 10299 - "Description": "\"Request a Demo\" form from one-count.com", 10300 - "Parent": 0 10301 - }, 10302 - { 10303 - "Id": 50, 10304 - "Source": "ABM ANNUAL 2014", 10305 - "Description": "ABM Annual 2014 - Registration List for Sponsors", 10306 - "Parent": 0 10307 - }, 10308 - { 10309 - "Id": 58, 10310 - "Source": "BIMS REG LIST", 10311 - "Description": "BIMS Registration List for Sponsors (2013/2014)", 10312 - "Parent": 0 10313 - }, 10314 - { 10315 - "Id": 66, 10316 - "Source": "SIPA 13", 10317 - "Description": "SIPA 2013 - sponsor - attendees", 10318 - "Parent": 0 10319 - }, 10320 - { 10321 - "Id": 74, 10322 - "Source": "Google Ads", 10323 - "Description": "From Google Banner Ads", 10324 - "Parent": 0 10325 - }, 10326 - { 10327 - "Id": 82, 10328 - "Source": "EDIT PROFILE", 10329 - "Description": "FOR EDIT PROFILE FORM", 10330 - "Parent": 0 10331 - }, 10332 - { 10333 - "Id": 83, 10334 - "Source": "Test Source Code", 10335 - "Description": "", 10336 - "Parent": 0 10337 - }, 10338 - { 10339 - "Id": 91, 10340 - "Source": "NEWSLETTER", 10341 - "Description": "Newsletter", 10342 - "Parent": 0 10343 - }, 10344 - { 10345 - "Id": 99, 10346 - "Source": "INFOTANKS-comps-only_12032019", 10347 - "Description": "", 10348 - "Parent": 0 10349 - }, 10350 - { 10351 - "Id": 107, 10352 - "Source": "INFOTANKS-DMP-only_12102019", 10353 - "Description": "", 10354 - "Parent": 0 10355 - }, 10356 - { 10357 - "Id": 109, 10358 - "Source": "BMVM", 10359 - "Description": "Active Attendees", 10360 - "Parent": 0 10361 - }, 10362 - { 10363 - "Id": 115, 10364 - "Source": "USECASES", 10365 - "Description": "Use Case PDF", 10366 - "Parent": 0 10367 - }, 10368 - { 10369 - "Id": 123, 10370 - "Source": "Borrell Miami 2022", 10371 - "Description": "", 10372 - "Parent": 0 10373 - }, 10374 - { 10375 - "Id": 131, 10376 - "Source": "05092022-telemarketing", 10377 - "Description": "", 10378 - "Parent": 0 10379 - }, 10380 - { 10381 - "Id": 139, 10382 - "Source": "WEBINAR6.15.22", 10383 - "Description": "Live Webinar Series June 15, 2022", 10384 - "Parent": 0 10385 - }, 10386 - { 10387 - "Id": 147, 10388 - "Source": "LMA Show List", 10389 - "Description": "", 10390 - "Parent": 0 10391 - }, 10392 - { 10393 - "Id": 155, 10394 - "Source": "AAA", 10395 - "Description": "", 10396 - "Parent": 0 10397 - }, 10398 - { 10399 - "Id": 163, 10400 - "Source": "MGS2022", 10401 - "Description": "", 10402 - "Parent": 0 10403 - }, 10404 - { 10405 - "Id": 171, 10406 - "Source": "MGS2023", 10407 - "Description": "", 10408 - "Parent": 0 10409 - }, 10410 - { 10411 - "Id": 179, 10412 - "Source": "Sugar Leads", 10413 - "Description": "", 10414 - "Parent": 0 10415 - }, 10416 - { 10417 - "Id": 187, 10418 - "Source": "seansbox", 10419 - "Description": "", 10420 - "Parent": 0 10421 - }, 10422 - { 10423 - "Id": 191, 10424 - "Source": "SEEITLIVE", 10425 - "Description": "Lunch & Learn Webinar Series with Special Partner Guests", 10426 - "Parent": 0 10427 - }, 10428 - { 10429 - "Id": 199, 10430 - "Source": "80-percent-conversion-rates", 10431 - "Description": "", 10432 - "Parent": 0 10433 - } 10434 - ] 10435 -} 10436 -{{/code}} 10437 - 3139 +(% class="western" %) 10438 10438 \\ 10439 10439 10440 -(% style="margin-left: 0.0px;"class="sc-fznLPX cxTVKx" %)10441 - ==(% class="sc-fzoaKM imuBmi" style="color:rgb(0,127,49);" %)GET (% class="sc-fzomuhjbmEtYdocumentation-core-item-request-name"style="color:rgb(33,33,33);"%)specificSourcecode(%%) ==3142 +(% class="western" %) 3143 +POST method should be used to create an individual source given the source parameters. 10442 10442 10443 ----- 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 +))) 10444 10444 10445 -{{panel bgColor="#D3D3D3" width="100%"}} 10446 - (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/sources/~{~{source code id}} 10447 -{{/panel}} 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 +))) 10448 10448 10449 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 10450 - 10451 ----- 10452 - 10453 -(% 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}} 10454 - 10455 -==== Example ==== 10456 - 10457 ----- 10458 - 10459 -(% style="color: rgb(107,107,107);" %)Request 10460 - 10461 -{{code language="php" theme="RDark" title="Get specific Source Request" collapse="true"}} 10462 - <?php 10463 - 10464 -$curl = curl_init(); 10465 - 10466 -curl_setopt_array($curl, array( 10467 - CURLOPT_URL => 'https://api.onecount.net/v2/sources/{{source code id}}', 10468 - CURLOPT_RETURNTRANSFER => true, 10469 - CURLOPT_ENCODING => '', 10470 - CURLOPT_MAXREDIRS => 10, 10471 - CURLOPT_TIMEOUT => 0, 10472 - CURLOPT_FOLLOWLOCATION => true, 10473 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 10474 - CURLOPT_CUSTOMREQUEST => 'GET', 10475 - CURLOPT_HTTPHEADER => array( 10476 - 'Appkey: {{ONECOUNT API KEY}}' 10477 - ), 10478 -)); 10479 - 10480 -$response = curl_exec($curl); 10481 - 10482 -curl_close($curl); 10483 -echo $response; 10484 -{{/code}} 10485 - 10486 10486 \\ 10487 10487 10488 -(% style="color: rgb(107,107,107);" %)Response 200 OK 3201 +(% class="western" %) 3202 +**PUT method can be used to update an individual source given the id.** 10489 10489 10490 -{{code language="yml" theme="RDark" title="Get specific Source Response" collapse="true"}} 10491 - { 10492 - "result": { 10493 - "success": "1", 10494 - "error": { 10495 - "code": "", 10496 - "message": "" 10497 - } 10498 - }, 10499 - "Sources": [ 10500 - { 10501 - "Id": 26, 10502 - "Source": "GCN-Member", 10503 - "Description": "Uploaded from Reston VA", 10504 - "Parent": 0 10505 - } 10506 - ] 10507 -} 10508 -{{/code}} 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 +))) 10509 10509 10510 -\\ 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 +))) 10511 10511 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);" %)lookup Source code(%%) == 10514 - 10515 ----- 10516 - 10517 -{{panel bgColor="#D3D3D3" width="100%"}} 10518 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/sources/lookup?Source={(%%){Source code Name}} 10519 -{{/panel}} 10520 - 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 -=== (% style="color: rgb(33,33,33);" %)Query Params(%%) === 10528 - 10529 ----- 10530 - 10531 -(% 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}} 10532 - 10533 -==== Example ==== 10534 - 10535 ----- 10536 - 10537 -(% style="color: rgb(107,107,107);" %)Request 10538 - 10539 -{{code language="php" theme="RDark" title="Lookup Source code Request" collapse="true"}} 10540 - <?php 10541 - 10542 -$curl = curl_init(); 10543 - 10544 -curl_setopt_array($curl, array( 10545 - CURLOPT_URL => 'https://api.onecount.net/v2/sources/lookup?Source={{Source code Name}}', 10546 - CURLOPT_RETURNTRANSFER => true, 10547 - CURLOPT_ENCODING => '', 10548 - CURLOPT_MAXREDIRS => 10, 10549 - CURLOPT_TIMEOUT => 0, 10550 - CURLOPT_FOLLOWLOCATION => true, 10551 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 10552 - CURLOPT_CUSTOMREQUEST => 'GET', 10553 - CURLOPT_HTTPHEADER => array( 10554 - 'Appkey: {{ONECOUNT API KEY}}' 10555 - ), 10556 -)); 10557 - 10558 -$response = curl_exec($curl); 10559 - 10560 -curl_close($curl); 10561 -echo $response; 10562 -{{/code}} 10563 - 10564 10564 \\ 10565 10565 10566 -(% style="color: rgb(107,107,107);" %)Response 200 OK 10567 - 10568 -{{code language="yml" theme="RDark" title="Lookup Source code Response" collapse="true"}} 10569 - { 10570 - "result": { 10571 - "success": "1", 10572 - "error": { 10573 - "code": "", 10574 - "message": "" 10575 - } 10576 - }, 10577 - "Sources": [ 10578 - { 10579 - "Id": 26, 10580 - "Source": "GCN-Member", 10581 - "Description": "Uploaded from Reston VA", 10582 - "Parent": 0 10583 - } 10584 - ] 10585 -} 10586 -{{/code}} 10587 - 10588 -\\ 10589 - 10590 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 10591 -== (% 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(%%) == 10592 - 10593 ----- 10594 - 10595 -{{panel bgColor="#D3D3D3" width="100%"}} 10596 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/sources 10597 -{{/panel}} 10598 - 10599 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 10600 - 10601 ----- 10602 - 10603 -(% 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}} 10604 - 10605 -=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) === 10606 - 10607 ----- 10608 - 10609 -{{code language="yml" theme="RDark" title="Body" collapse="true"}} 10610 -{"Source":"Test source code from API"} 10611 -{{/code}} 10612 - 10613 -==== Example ==== 10614 - 10615 ----- 10616 - 10617 -(% style="color: rgb(107,107,107);" %)Request 10618 - 10619 -{{code language="php" theme="RDark" title="Create Source code Request" collapse="true"}} 10620 - <?php 10621 - 10622 -$curl = curl_init(); 10623 - 10624 -curl_setopt_array($curl, array( 10625 - CURLOPT_URL => 'https://api.onecount.net/v2/sources', 10626 - CURLOPT_RETURNTRANSFER => true, 10627 - CURLOPT_ENCODING => '', 10628 - CURLOPT_MAXREDIRS => 10, 10629 - CURLOPT_TIMEOUT => 0, 10630 - CURLOPT_FOLLOWLOCATION => true, 10631 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 10632 - CURLOPT_CUSTOMREQUEST => 'POST', 10633 - CURLOPT_POSTFIELDS =>'{"Source":"Test source code from API"}', 10634 - CURLOPT_HTTPHEADER => array( 10635 - 'Appkey: {{ONECOUNT API KEY}}' 10636 - ), 10637 -)); 10638 - 10639 -$response = curl_exec($curl); 10640 - 10641 -curl_close($curl); 10642 -echo $response; 10643 -{{/code}} 10644 - 10645 -\\ 10646 - 10647 -(% style="color: rgb(107,107,107);" %)Response 200 OK 10648 - 10649 -{{code language="yml" theme="RDark" title="Create Source code Response" collapse="true"}} 10650 - { 10651 - "result": { 10652 - "success": "1", 10653 - "error": { 10654 - "code": "", 10655 - "message": "" 10656 - } 10657 - }, 10658 - "Sources": [ 10659 - { 10660 - "Id": 223, 10661 - "Source": "Test source code from API", 10662 - "Description": "", 10663 - "Parent": 0 10664 - } 10665 - ] 10666 -} 10667 -{{/code}} 10668 - 10669 -\\ 10670 - 10671 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 10672 -== (% 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(%%) == 10673 - 10674 ----- 10675 - 10676 -{{panel bgColor="#D3D3D3" width="100%"}} 10677 - (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/sources/~{~{source code id}} 10678 -{{/panel}} 10679 - 10680 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 10681 - 10682 ----- 10683 - 10684 -(% 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}} 10685 - 10686 -=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) === 10687 - 10688 ----- 10689 - 10690 -{{code language="yml" theme="RDark" title="Body" collapse="true"}} 10691 -{"Source":"Test API","Parent":215} 10692 -{{/code}} 10693 - 10694 -==== Example ==== 10695 - 10696 ----- 10697 - 10698 -(% style="color: rgb(107,107,107);" %)Request 10699 - 10700 -{{code language="php" theme="RDark" title="Update Source code Request" collapse="true"}} 10701 - <?php 10702 - 10703 -$curl = curl_init(); 10704 - 10705 -curl_setopt_array($curl, array( 10706 - CURLOPT_URL => 'https://api.onecount.net/v2/sources/{{source code id}}', 10707 - CURLOPT_RETURNTRANSFER => true, 10708 - CURLOPT_ENCODING => '', 10709 - CURLOPT_MAXREDIRS => 10, 10710 - CURLOPT_TIMEOUT => 0, 10711 - CURLOPT_FOLLOWLOCATION => true, 10712 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 10713 - CURLOPT_CUSTOMREQUEST => 'PUT', 10714 - CURLOPT_POSTFIELDS =>'{"Source":"Test API","Parent":215}', 10715 - CURLOPT_HTTPHEADER => array( 10716 - 'Appkey: {{ONECOUNT API KEY}}' 10717 - ), 10718 -)); 10719 - 10720 -$response = curl_exec($curl); 10721 - 10722 -curl_close($curl); 10723 -echo $response; 10724 -{{/code}} 10725 - 10726 -\\ 10727 - 10728 -(% style="color: rgb(107,107,107);" %)Response 200 OK 10729 - 10730 -{{code language="yml" theme="RDark" title="Update Source code Response" collapse="true"}} 10731 - { 10732 - "result": { 10733 - "success": "1", 10734 - "error": { 10735 - "code": "", 10736 - "message": "" 10737 - } 10738 - }, 10739 - "Sources": [ 10740 - { 10741 - "Id": 223, 10742 - "Source": "Test API", 10743 - "Description": "", 10744 - "Parent": 215 10745 - } 10746 - ] 10747 -} 10748 -{{/code}} 10749 - 10750 10750 (% class="western" %) 10751 10751 \\ 10752 10752 ... ... @@ -10756,7 +10756,6 @@ 10756 10756 (% class="western" %) 10757 10757 This resource is for manipulating transactions resource. A transaction can be created or searched. 10758 10758 10759 -(% class="wrapped" %) 10760 10760 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 10761 10761 ((( 10762 10762 (% class="western" %) ... ... @@ -10812,2062 +10812,176 @@ 10812 10812 10813 10813 \\ 10814 10814 10815 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 10816 -== (% 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(%%) == 10817 - 10818 ----- 10819 - 10820 ----- 10821 - 10822 -{{panel bgColor="#D3D3D3" width="100%"}} 10823 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/transactions 10824 -{{/panel}} 10825 - 10826 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 10827 - 10828 ----- 10829 - 10830 -(% 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}} 10831 - 10832 -==== Example ==== 10833 - 10834 ----- 10835 - 10836 -(% style="color: rgb(107,107,107);" %)Request 10837 - 10838 -{{code language="php" theme="RDark" title="Get All Transaction Request" collapse="true"}} 10839 - <?php 10840 - 10841 -$curl = curl_init(); 10842 - 10843 -curl_setopt_array($curl, array( 10844 - CURLOPT_URL => 'https://api.onecount.net/v2/transactions', 10845 - CURLOPT_RETURNTRANSFER => true, 10846 - CURLOPT_ENCODING => '', 10847 - CURLOPT_MAXREDIRS => 10, 10848 - CURLOPT_TIMEOUT => 0, 10849 - CURLOPT_FOLLOWLOCATION => true, 10850 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 10851 - CURLOPT_CUSTOMREQUEST => 'GET', 10852 - CURLOPT_HTTPHEADER => array( 10853 - 'Appkey: {{ONECOUNT API KEY}}' 10854 - ), 10855 -)); 10856 - 10857 -$response = curl_exec($curl); 10858 - 10859 -curl_close($curl); 10860 -echo $response; 10861 -{{/code}} 10862 - 3324 +(% class="western" %) 10863 10863 \\ 10864 10864 10865 -(% style="color: rgb(107,107,107);" %)Response 200 OK 3327 +(% class="western" %) 3328 +Transactions can be looked up using transactionId, date range, userid. Use GET method to do lookup. 10866 10866 10867 -{{code language="yml" theme="RDark" title="Get All Transaction Response" collapse="true"}} 10868 - { 10869 - "result": { 10870 - "success": "1", 10871 - "error": { 10872 - "code": "", 10873 - "message": "" 10874 - } 10875 - }, 10876 - "Transactions": [ 10877 - { 10878 - "Id": 10, 10879 - "UserId": 10, 10880 - "TermId": 2, 10881 - "TransactionDate": "2014-07-17", 10882 - "TransactionTime": "10:02:13", 10883 - "RequestDate": "2014-07-17", 10884 - "UserIP": "74.201.38.1", 10885 - "SubscriptionType": "n", 10886 - "ProductId": 2, 10887 - "Source": 10, 10888 - "ProductStatus": 2, 10889 - "MediaFilePath": "", 10890 - "Amount": "" 10891 - }, 10892 - { 10893 - "Id": 26, 10894 - "UserId": 10, 10895 - "TermId": 2, 10896 - "TransactionDate": "2014-07-17", 10897 - "TransactionTime": "10:41:59", 10898 - "RequestDate": "2014-07-17", 10899 - "UserIP": "74.201.38.1", 10900 - "SubscriptionType": "r", 10901 - "ProductId": 2, 10902 - "Source": 10, 10903 - "ProductStatus": 2, 10904 - "MediaFilePath": "", 10905 - "Amount": "" 10906 - }, 10907 - { 10908 - "Id": 50, 10909 - "UserId": 26, 10910 - "TermId": 2, 10911 - "TransactionDate": "2014-07-17", 10912 - "TransactionTime": "12:25:38", 10913 - "RequestDate": "2014-07-17", 10914 - "UserIP": "74.201.38.1", 10915 - "SubscriptionType": "n", 10916 - "ProductId": 2, 10917 - "Source": 10, 10918 - "ProductStatus": 2, 10919 - "MediaFilePath": "", 10920 - "Amount": "" 10921 - }, 10922 - { 10923 - "Id": 58, 10924 - "UserId": 10, 10925 - "TermId": 2, 10926 - "TransactionDate": "2014-07-17", 10927 - "TransactionTime": "12:25:43", 10928 - "RequestDate": "2014-07-17", 10929 - "UserIP": "74.201.38.1", 10930 - "SubscriptionType": "r", 10931 - "ProductId": 2, 10932 - "Source": 10, 10933 - "ProductStatus": 2, 10934 - "MediaFilePath": "", 10935 - "Amount": "" 10936 - }, 10937 - { 10938 - "Id": 66, 10939 - "UserId": 42, 10940 - "TermId": 2, 10941 - "TransactionDate": "2014-07-17", 10942 - "TransactionTime": "12:57:11", 10943 - "RequestDate": "2014-07-17", 10944 - "UserIP": "74.201.38.1", 10945 - "SubscriptionType": "n", 10946 - "ProductId": 2, 10947 - "Source": 26, 10948 - "ProductStatus": 2, 10949 - "MediaFilePath": "", 10950 - "Amount": "" 10951 - }, 10952 - { 10953 - "Id": 74, 10954 - "UserId": 50, 10955 - "TermId": 2, 10956 - "TransactionDate": "2014-07-17", 10957 - "TransactionTime": "12:57:11", 10958 - "RequestDate": "2014-07-17", 10959 - "UserIP": "74.201.38.1", 10960 - "SubscriptionType": "n", 10961 - "ProductId": 2, 10962 - "Source": 26, 10963 - "ProductStatus": 2, 10964 - "MediaFilePath": "", 10965 - "Amount": "" 10966 - }, 10967 - { 10968 - "Id": 82, 10969 - "UserId": 58, 10970 - "TermId": 2, 10971 - "TransactionDate": "2014-07-17", 10972 - "TransactionTime": "12:57:11", 10973 - "RequestDate": "2014-07-17", 10974 - "UserIP": "74.201.38.1", 10975 - "SubscriptionType": "n", 10976 - "ProductId": 2, 10977 - "Source": 26, 10978 - "ProductStatus": 2, 10979 - "MediaFilePath": "", 10980 - "Amount": "" 10981 - }, 10982 - { 10983 - "Id": 90, 10984 - "UserId": 66, 10985 - "TermId": 2, 10986 - "TransactionDate": "2014-07-17", 10987 - "TransactionTime": "12:57:11", 10988 - "RequestDate": "2014-07-17", 10989 - "UserIP": "74.201.38.1", 10990 - "SubscriptionType": "n", 10991 - "ProductId": 2, 10992 - "Source": 26, 10993 - "ProductStatus": 2, 10994 - "MediaFilePath": "", 10995 - "Amount": "" 10996 - }, 10997 - { 10998 - "Id": 98, 10999 - "UserId": 74, 11000 - "TermId": 2, 11001 - "TransactionDate": "2014-07-17", 11002 - "TransactionTime": "12:57:11", 11003 - "RequestDate": "2014-07-17", 11004 - "UserIP": "74.201.38.1", 11005 - "SubscriptionType": "n", 11006 - "ProductId": 2, 11007 - "Source": 26, 11008 - "ProductStatus": 2, 11009 - "MediaFilePath": "", 11010 - "Amount": "" 11011 - }, 11012 - { 11013 - "Id": 106, 11014 - "UserId": 82, 11015 - "TermId": 2, 11016 - "TransactionDate": "2014-07-17", 11017 - "TransactionTime": "12:57:11", 11018 - "RequestDate": "2014-07-17", 11019 - "UserIP": "74.201.38.1", 11020 - "SubscriptionType": "n", 11021 - "ProductId": 2, 11022 - "Source": 26, 11023 - "ProductStatus": 2, 11024 - "MediaFilePath": "", 11025 - "Amount": "" 11026 - }, 11027 - { 11028 - "Id": 114, 11029 - "UserId": 90, 11030 - "TermId": 2, 11031 - "TransactionDate": "2014-07-17", 11032 - "TransactionTime": "12:57:11", 11033 - "RequestDate": "2014-07-17", 11034 - "UserIP": "74.201.38.1", 11035 - "SubscriptionType": "n", 11036 - "ProductId": 2, 11037 - "Source": 26, 11038 - "ProductStatus": 2, 11039 - "MediaFilePath": "", 11040 - "Amount": "" 11041 - }, 11042 - { 11043 - "Id": 122, 11044 - "UserId": 98, 11045 - "TermId": 2, 11046 - "TransactionDate": "2014-07-17", 11047 - "TransactionTime": "12:57:11", 11048 - "RequestDate": "2014-07-17", 11049 - "UserIP": "74.201.38.1", 11050 - "SubscriptionType": "n", 11051 - "ProductId": 2, 11052 - "Source": 26, 11053 - "ProductStatus": 2, 11054 - "MediaFilePath": "", 11055 - "Amount": "" 11056 - }, 11057 - { 11058 - "Id": 130, 11059 - "UserId": 42, 11060 - "TermId": 2, 11061 - "TransactionDate": "2014-07-17", 11062 - "TransactionTime": "12:59:10", 11063 - "RequestDate": "2014-07-17", 11064 - "UserIP": "74.201.38.1", 11065 - "SubscriptionType": "r", 11066 - "ProductId": 2, 11067 - "Source": 10, 11068 - "ProductStatus": 2, 11069 - "MediaFilePath": "", 11070 - "Amount": "" 11071 - }, 11072 - { 11073 - "Id": 138, 11074 - "UserId": 50, 11075 - "TermId": 2, 11076 - "TransactionDate": "2014-07-17", 11077 - "TransactionTime": "12:59:10", 11078 - "RequestDate": "2014-07-17", 11079 - "UserIP": "74.201.38.1", 11080 - "SubscriptionType": "r", 11081 - "ProductId": 2, 11082 - "Source": 10, 11083 - "ProductStatus": 2, 11084 - "MediaFilePath": "", 11085 - "Amount": "" 11086 - }, 11087 - { 11088 - "Id": 146, 11089 - "UserId": 58, 11090 - "TermId": 2, 11091 - "TransactionDate": "2014-07-17", 11092 - "TransactionTime": "12:59:10", 11093 - "RequestDate": "2014-07-17", 11094 - "UserIP": "74.201.38.1", 11095 - "SubscriptionType": "r", 11096 - "ProductId": 2, 11097 - "Source": 10, 11098 - "ProductStatus": 2, 11099 - "MediaFilePath": "", 11100 - "Amount": "" 11101 - }, 11102 - { 11103 - "Id": 154, 11104 - "UserId": 66, 11105 - "TermId": 2, 11106 - "TransactionDate": "2014-07-17", 11107 - "TransactionTime": "12:59:10", 11108 - "RequestDate": "2014-07-17", 11109 - "UserIP": "74.201.38.1", 11110 - "SubscriptionType": "r", 11111 - "ProductId": 2, 11112 - "Source": 10, 11113 - "ProductStatus": 2, 11114 - "MediaFilePath": "", 11115 - "Amount": "" 11116 - }, 11117 - { 11118 - "Id": 162, 11119 - "UserId": 74, 11120 - "TermId": 2, 11121 - "TransactionDate": "2014-07-17", 11122 - "TransactionTime": "12:59:10", 11123 - "RequestDate": "2014-07-17", 11124 - "UserIP": "74.201.38.1", 11125 - "SubscriptionType": "r", 11126 - "ProductId": 2, 11127 - "Source": 10, 11128 - "ProductStatus": 2, 11129 - "MediaFilePath": "", 11130 - "Amount": "" 11131 - }, 11132 - { 11133 - "Id": 170, 11134 - "UserId": 82, 11135 - "TermId": 2, 11136 - "TransactionDate": "2014-07-17", 11137 - "TransactionTime": "12:59:10", 11138 - "RequestDate": "2014-07-17", 11139 - "UserIP": "74.201.38.1", 11140 - "SubscriptionType": "r", 11141 - "ProductId": 2, 11142 - "Source": 10, 11143 - "ProductStatus": 2, 11144 - "MediaFilePath": "", 11145 - "Amount": "" 11146 - }, 11147 - { 11148 - "Id": 178, 11149 - "UserId": 90, 11150 - "TermId": 2, 11151 - "TransactionDate": "2014-07-17", 11152 - "TransactionTime": "12:59:10", 11153 - "RequestDate": "2014-07-17", 11154 - "UserIP": "74.201.38.1", 11155 - "SubscriptionType": "r", 11156 - "ProductId": 2, 11157 - "Source": 10, 11158 - "ProductStatus": 2, 11159 - "MediaFilePath": "", 11160 - "Amount": "" 11161 - }, 11162 - { 11163 - "Id": 186, 11164 - "UserId": 98, 11165 - "TermId": 2, 11166 - "TransactionDate": "2014-07-17", 11167 - "TransactionTime": "12:59:10", 11168 - "RequestDate": "2014-07-17", 11169 - "UserIP": "74.201.38.1", 11170 - "SubscriptionType": "r", 11171 - "ProductId": 2, 11172 - "Source": 10, 11173 - "ProductStatus": 2, 11174 - "MediaFilePath": "", 11175 - "Amount": "" 11176 - }, 11177 - { 11178 - "Id": 194, 11179 - "UserId": 162, 11180 - "TermId": 2, 11181 - "TransactionDate": "2014-07-17", 11182 - "TransactionTime": "13:00:42", 11183 - "RequestDate": "2014-07-17", 11184 - "UserIP": "74.201.38.1", 11185 - "SubscriptionType": "n", 11186 - "ProductId": 2, 11187 - "Source": 10, 11188 - "ProductStatus": 2, 11189 - "MediaFilePath": "", 11190 - "Amount": "" 11191 - }, 11192 - { 11193 - "Id": 202, 11194 - "UserId": 170, 11195 - "TermId": 2, 11196 - "TransactionDate": "2014-07-17", 11197 - "TransactionTime": "13:00:42", 11198 - "RequestDate": "2014-07-17", 11199 - "UserIP": "74.201.38.1", 11200 - "SubscriptionType": "n", 11201 - "ProductId": 2, 11202 - "Source": 10, 11203 - "ProductStatus": 2, 11204 - "MediaFilePath": "", 11205 - "Amount": "" 11206 - }, 11207 - { 11208 - "Id": 210, 11209 - "UserId": 178, 11210 - "TermId": 2, 11211 - "TransactionDate": "2014-07-17", 11212 - "TransactionTime": "13:00:42", 11213 - "RequestDate": "2014-07-17", 11214 - "UserIP": "74.201.38.1", 11215 - "SubscriptionType": "n", 11216 - "ProductId": 2, 11217 - "Source": 10, 11218 - "ProductStatus": 2, 11219 - "MediaFilePath": "", 11220 - "Amount": "" 11221 - }, 11222 - { 11223 - "Id": 218, 11224 - "UserId": 186, 11225 - "TermId": 2, 11226 - "TransactionDate": "2014-07-17", 11227 - "TransactionTime": "13:00:42", 11228 - "RequestDate": "2014-07-17", 11229 - "UserIP": "74.201.38.1", 11230 - "SubscriptionType": "n", 11231 - "ProductId": 2, 11232 - "Source": 10, 11233 - "ProductStatus": 2, 11234 - "MediaFilePath": "", 11235 - "Amount": "" 11236 - }, 11237 - { 11238 - "Id": 226, 11239 - "UserId": 194, 11240 - "TermId": 2, 11241 - "TransactionDate": "2014-07-17", 11242 - "TransactionTime": "13:00:42", 11243 - "RequestDate": "2014-07-17", 11244 - "UserIP": "74.201.38.1", 11245 - "SubscriptionType": "n", 11246 - "ProductId": 2, 11247 - "Source": 10, 11248 - "ProductStatus": 2, 11249 - "MediaFilePath": "", 11250 - "Amount": "" 11251 - }, 11252 - { 11253 - "Id": 234, 11254 - "UserId": 202, 11255 - "TermId": 2, 11256 - "TransactionDate": "2014-07-17", 11257 - "TransactionTime": "13:00:42", 11258 - "RequestDate": "2014-07-17", 11259 - "UserIP": "74.201.38.1", 11260 - "SubscriptionType": "n", 11261 - "ProductId": 2, 11262 - "Source": 10, 11263 - "ProductStatus": 2, 11264 - "MediaFilePath": "", 11265 - "Amount": "" 11266 - }, 11267 - { 11268 - "Id": 242, 11269 - "UserId": 210, 11270 - "TermId": 2, 11271 - "TransactionDate": "2014-07-17", 11272 - "TransactionTime": "13:00:42", 11273 - "RequestDate": "2014-07-17", 11274 - "UserIP": "74.201.38.1", 11275 - "SubscriptionType": "n", 11276 - "ProductId": 2, 11277 - "Source": 10, 11278 - "ProductStatus": 2, 11279 - "MediaFilePath": "", 11280 - "Amount": "" 11281 - }, 11282 - { 11283 - "Id": 250, 11284 - "UserId": 218, 11285 - "TermId": 2, 11286 - "TransactionDate": "2014-07-17", 11287 - "TransactionTime": "13:00:42", 11288 - "RequestDate": "2014-07-17", 11289 - "UserIP": "74.201.38.1", 11290 - "SubscriptionType": "n", 11291 - "ProductId": 2, 11292 - "Source": 10, 11293 - "ProductStatus": 2, 11294 - "MediaFilePath": "", 11295 - "Amount": "" 11296 - }, 11297 - { 11298 - "Id": 258, 11299 - "UserId": 282, 11300 - "TermId": 2, 11301 - "TransactionDate": "2014-07-17", 11302 - "TransactionTime": "13:02:19", 11303 - "RequestDate": "2014-07-17", 11304 - "UserIP": "74.201.38.1", 11305 - "SubscriptionType": "n", 11306 - "ProductId": 2, 11307 - "Source": 10, 11308 - "ProductStatus": 2, 11309 - "MediaFilePath": "", 11310 - "Amount": "" 11311 - }, 11312 - { 11313 - "Id": 266, 11314 - "UserId": 290, 11315 - "TermId": 2, 11316 - "TransactionDate": "2014-07-17", 11317 - "TransactionTime": "13:02:19", 11318 - "RequestDate": "2014-07-17", 11319 - "UserIP": "74.201.38.1", 11320 - "SubscriptionType": "n", 11321 - "ProductId": 2, 11322 - "Source": 10, 11323 - "ProductStatus": 2, 11324 - "MediaFilePath": "", 11325 - "Amount": "" 11326 - }, 11327 - { 11328 - "Id": 274, 11329 - "UserId": 298, 11330 - "TermId": 2, 11331 - "TransactionDate": "2014-07-17", 11332 - "TransactionTime": "13:02:19", 11333 - "RequestDate": "2014-07-17", 11334 - "UserIP": "74.201.38.1", 11335 - "SubscriptionType": "n", 11336 - "ProductId": 2, 11337 - "Source": 10, 11338 - "ProductStatus": 2, 11339 - "MediaFilePath": "", 11340 - "Amount": "" 11341 - }, 11342 - { 11343 - "Id": 282, 11344 - "UserId": 306, 11345 - "TermId": 2, 11346 - "TransactionDate": "2014-07-17", 11347 - "TransactionTime": "13:02:19", 11348 - "RequestDate": "2014-07-17", 11349 - "UserIP": "74.201.38.1", 11350 - "SubscriptionType": "n", 11351 - "ProductId": 2, 11352 - "Source": 10, 11353 - "ProductStatus": 2, 11354 - "MediaFilePath": "", 11355 - "Amount": "" 11356 - }, 11357 - { 11358 - "Id": 290, 11359 - "UserId": 314, 11360 - "TermId": 2, 11361 - "TransactionDate": "2014-07-17", 11362 - "TransactionTime": "13:02:19", 11363 - "RequestDate": "2014-07-17", 11364 - "UserIP": "74.201.38.1", 11365 - "SubscriptionType": "n", 11366 - "ProductId": 2, 11367 - "Source": 10, 11368 - "ProductStatus": 2, 11369 - "MediaFilePath": "", 11370 - "Amount": "" 11371 - }, 11372 - { 11373 - "Id": 298, 11374 - "UserId": 322, 11375 - "TermId": 2, 11376 - "TransactionDate": "2014-07-17", 11377 - "TransactionTime": "13:02:19", 11378 - "RequestDate": "2014-07-17", 11379 - "UserIP": "74.201.38.1", 11380 - "SubscriptionType": "n", 11381 - "ProductId": 2, 11382 - "Source": 10, 11383 - "ProductStatus": 2, 11384 - "MediaFilePath": "", 11385 - "Amount": "" 11386 - }, 11387 - { 11388 - "Id": 306, 11389 - "UserId": 330, 11390 - "TermId": 2, 11391 - "TransactionDate": "2014-07-17", 11392 - "TransactionTime": "13:02:19", 11393 - "RequestDate": "2014-07-17", 11394 - "UserIP": "74.201.38.1", 11395 - "SubscriptionType": "n", 11396 - "ProductId": 2, 11397 - "Source": 10, 11398 - "ProductStatus": 2, 11399 - "MediaFilePath": "", 11400 - "Amount": "" 11401 - }, 11402 - { 11403 - "Id": 466, 11404 - "UserId": 698, 11405 - "TermId": 2, 11406 - "TransactionDate": "2014-07-17", 11407 - "TransactionTime": "13:13:06", 11408 - "RequestDate": "2014-07-17", 11409 - "UserIP": "74.201.38.1", 11410 - "SubscriptionType": "n", 11411 - "ProductId": 2, 11412 - "Source": 26, 11413 - "ProductStatus": 2, 11414 - "MediaFilePath": "", 11415 - "Amount": "" 11416 - }, 11417 - { 11418 - "Id": 474, 11419 - "UserId": 706, 11420 - "TermId": 2, 11421 - "TransactionDate": "2014-07-17", 11422 - "TransactionTime": "13:13:06", 11423 - "RequestDate": "2014-07-17", 11424 - "UserIP": "74.201.38.1", 11425 - "SubscriptionType": "n", 11426 - "ProductId": 2, 11427 - "Source": 26, 11428 - "ProductStatus": 2, 11429 - "MediaFilePath": "", 11430 - "Amount": "" 11431 - }, 11432 - { 11433 - "Id": 482, 11434 - "UserId": 714, 11435 - "TermId": 2, 11436 - "TransactionDate": "2014-07-17", 11437 - "TransactionTime": "13:13:06", 11438 - "RequestDate": "2014-07-17", 11439 - "UserIP": "74.201.38.1", 11440 - "SubscriptionType": "n", 11441 - "ProductId": 2, 11442 - "Source": 26, 11443 - "ProductStatus": 2, 11444 - "MediaFilePath": "", 11445 - "Amount": "" 11446 - }, 11447 - { 11448 - "Id": 490, 11449 - "UserId": 722, 11450 - "TermId": 2, 11451 - "TransactionDate": "2014-07-17", 11452 - "TransactionTime": "13:13:06", 11453 - "RequestDate": "2014-07-17", 11454 - "UserIP": "74.201.38.1", 11455 - "SubscriptionType": "n", 11456 - "ProductId": 2, 11457 - "Source": 26, 11458 - "ProductStatus": 2, 11459 - "MediaFilePath": "", 11460 - "Amount": "" 11461 - }, 11462 - { 11463 - "Id": 498, 11464 - "UserId": 730, 11465 - "TermId": 2, 11466 - "TransactionDate": "2014-07-17", 11467 - "TransactionTime": "13:13:06", 11468 - "RequestDate": "2014-07-17", 11469 - "UserIP": "74.201.38.1", 11470 - "SubscriptionType": "n", 11471 - "ProductId": 2, 11472 - "Source": 26, 11473 - "ProductStatus": 2, 11474 - "MediaFilePath": "", 11475 - "Amount": "" 11476 - }, 11477 - { 11478 - "Id": 506, 11479 - "UserId": 738, 11480 - "TermId": 2, 11481 - "TransactionDate": "2014-07-17", 11482 - "TransactionTime": "13:13:06", 11483 - "RequestDate": "2014-07-17", 11484 - "UserIP": "74.201.38.1", 11485 - "SubscriptionType": "n", 11486 - "ProductId": 2, 11487 - "Source": 26, 11488 - "ProductStatus": 2, 11489 - "MediaFilePath": "", 11490 - "Amount": "" 11491 - }, 11492 - { 11493 - "Id": 522, 11494 - "UserId": 754, 11495 - "TermId": 18, 11496 - "TransactionDate": "2014-08-19", 11497 - "TransactionTime": "11:18:55", 11498 - "RequestDate": "2014-08-19", 11499 - "UserIP": "74.201.38.1", 11500 - "SubscriptionType": "n", 11501 - "ProductId": 18, 11502 - "Source": 34, 11503 - "ProductStatus": 2, 11504 - "MediaFilePath": "", 11505 - "Amount": "" 11506 - }, 11507 - { 11508 - "Id": 530, 11509 - "UserId": 762, 11510 - "TermId": 18, 11511 - "TransactionDate": "2014-08-19", 11512 - "TransactionTime": "11:18:55", 11513 - "RequestDate": "2014-08-19", 11514 - "UserIP": "74.201.38.1", 11515 - "SubscriptionType": "n", 11516 - "ProductId": 18, 11517 - "Source": 34, 11518 - "ProductStatus": 2, 11519 - "MediaFilePath": "", 11520 - "Amount": "" 11521 - }, 11522 - { 11523 - "Id": 538, 11524 - "UserId": 770, 11525 - "TermId": 18, 11526 - "TransactionDate": "2014-08-19", 11527 - "TransactionTime": "11:18:55", 11528 - "RequestDate": "2014-08-19", 11529 - "UserIP": "74.201.38.1", 11530 - "SubscriptionType": "n", 11531 - "ProductId": 18, 11532 - "Source": 34, 11533 - "ProductStatus": 2, 11534 - "MediaFilePath": "", 11535 - "Amount": "" 11536 - }, 11537 - { 11538 - "Id": 546, 11539 - "UserId": 778, 11540 - "TermId": 18, 11541 - "TransactionDate": "2014-08-19", 11542 - "TransactionTime": "11:18:55", 11543 - "RequestDate": "2014-08-19", 11544 - "UserIP": "74.201.38.1", 11545 - "SubscriptionType": "n", 11546 - "ProductId": 18, 11547 - "Source": 34, 11548 - "ProductStatus": 2, 11549 - "MediaFilePath": "", 11550 - "Amount": "" 11551 - }, 11552 - { 11553 - "Id": 554, 11554 - "UserId": 786, 11555 - "TermId": 18, 11556 - "TransactionDate": "2014-08-19", 11557 - "TransactionTime": "11:18:55", 11558 - "RequestDate": "2014-08-19", 11559 - "UserIP": "74.201.38.1", 11560 - "SubscriptionType": "n", 11561 - "ProductId": 18, 11562 - "Source": 34, 11563 - "ProductStatus": 2, 11564 - "MediaFilePath": "", 11565 - "Amount": "" 11566 - }, 11567 - { 11568 - "Id": 570, 11569 - "UserId": 802, 11570 - "TermId": 18, 11571 - "TransactionDate": "2014-08-19", 11572 - "TransactionTime": "11:18:55", 11573 - "RequestDate": "2014-08-19", 11574 - "UserIP": "74.201.38.1", 11575 - "SubscriptionType": "n", 11576 - "ProductId": 18, 11577 - "Source": 34, 11578 - "ProductStatus": 2, 11579 - "MediaFilePath": "", 11580 - "Amount": "" 11581 - }, 11582 - { 11583 - "Id": 578, 11584 - "UserId": 810, 11585 - "TermId": 18, 11586 - "TransactionDate": "2014-08-19", 11587 - "TransactionTime": "11:18:55", 11588 - "RequestDate": "2014-08-19", 11589 - "UserIP": "74.201.38.1", 11590 - "SubscriptionType": "n", 11591 - "ProductId": 18, 11592 - "Source": 34, 11593 - "ProductStatus": 2, 11594 - "MediaFilePath": "", 11595 - "Amount": "" 11596 - }, 11597 - { 11598 - "Id": 586, 11599 - "UserId": 818, 11600 - "TermId": 18, 11601 - "TransactionDate": "2014-08-19", 11602 - "TransactionTime": "11:18:55", 11603 - "RequestDate": "2014-08-19", 11604 - "UserIP": "74.201.38.1", 11605 - "SubscriptionType": "n", 11606 - "ProductId": 18, 11607 - "Source": 34, 11608 - "ProductStatus": 2, 11609 - "MediaFilePath": "", 11610 - "Amount": "" 11611 - }, 11612 - { 11613 - "Id": 602, 11614 - "UserId": 834, 11615 - "TermId": 18, 11616 - "TransactionDate": "2014-08-19", 11617 - "TransactionTime": "11:18:55", 11618 - "RequestDate": "2014-08-19", 11619 - "UserIP": "74.201.38.1", 11620 - "SubscriptionType": "n", 11621 - "ProductId": 18, 11622 - "Source": 34, 11623 - "ProductStatus": 2, 11624 - "MediaFilePath": "", 11625 - "Amount": "" 11626 - }, 11627 - { 11628 - "Id": 610, 11629 - "UserId": 842, 11630 - "TermId": 18, 11631 - "TransactionDate": "2014-08-19", 11632 - "TransactionTime": "11:18:55", 11633 - "RequestDate": "2014-08-19", 11634 - "UserIP": "74.201.38.1", 11635 - "SubscriptionType": "n", 11636 - "ProductId": 18, 11637 - "Source": 34, 11638 - "ProductStatus": 2, 11639 - "MediaFilePath": "", 11640 - "Amount": "" 11641 - }, 11642 - { 11643 - "Id": 618, 11644 - "UserId": 850, 11645 - "TermId": 18, 11646 - "TransactionDate": "2014-08-19", 11647 - "TransactionTime": "11:18:55", 11648 - "RequestDate": "2014-08-19", 11649 - "UserIP": "74.201.38.1", 11650 - "SubscriptionType": "n", 11651 - "ProductId": 18, 11652 - "Source": 34, 11653 - "ProductStatus": 2, 11654 - "MediaFilePath": "", 11655 - "Amount": "" 11656 - }, 11657 - { 11658 - "Id": 626, 11659 - "UserId": 858, 11660 - "TermId": 18, 11661 - "TransactionDate": "2014-08-19", 11662 - "TransactionTime": "11:18:55", 11663 - "RequestDate": "2014-08-19", 11664 - "UserIP": "74.201.38.1", 11665 - "SubscriptionType": "n", 11666 - "ProductId": 18, 11667 - "Source": 34, 11668 - "ProductStatus": 2, 11669 - "MediaFilePath": "", 11670 - "Amount": "" 11671 - }, 11672 - { 11673 - "Id": 634, 11674 - "UserId": 866, 11675 - "TermId": 18, 11676 - "TransactionDate": "2014-08-19", 11677 - "TransactionTime": "11:18:55", 11678 - "RequestDate": "2014-08-19", 11679 - "UserIP": "74.201.38.1", 11680 - "SubscriptionType": "n", 11681 - "ProductId": 18, 11682 - "Source": 34, 11683 - "ProductStatus": 2, 11684 - "MediaFilePath": "", 11685 - "Amount": "" 11686 - }, 11687 - { 11688 - "Id": 642, 11689 - "UserId": 874, 11690 - "TermId": 18, 11691 - "TransactionDate": "2014-08-19", 11692 - "TransactionTime": "11:18:55", 11693 - "RequestDate": "2014-08-19", 11694 - "UserIP": "74.201.38.1", 11695 - "SubscriptionType": "n", 11696 - "ProductId": 18, 11697 - "Source": 34, 11698 - "ProductStatus": 2, 11699 - "MediaFilePath": "", 11700 - "Amount": "" 11701 - }, 11702 - { 11703 - "Id": 650, 11704 - "UserId": 882, 11705 - "TermId": 18, 11706 - "TransactionDate": "2014-08-19", 11707 - "TransactionTime": "11:18:55", 11708 - "RequestDate": "2014-08-19", 11709 - "UserIP": "74.201.38.1", 11710 - "SubscriptionType": "n", 11711 - "ProductId": 18, 11712 - "Source": 34, 11713 - "ProductStatus": 2, 11714 - "MediaFilePath": "", 11715 - "Amount": "" 11716 - }, 11717 - { 11718 - "Id": 658, 11719 - "UserId": 890, 11720 - "TermId": 18, 11721 - "TransactionDate": "2014-08-19", 11722 - "TransactionTime": "11:18:55", 11723 - "RequestDate": "2014-08-19", 11724 - "UserIP": "74.201.38.1", 11725 - "SubscriptionType": "n", 11726 - "ProductId": 18, 11727 - "Source": 34, 11728 - "ProductStatus": 2, 11729 - "MediaFilePath": "", 11730 - "Amount": "" 11731 - }, 11732 - { 11733 - "Id": 666, 11734 - "UserId": 898, 11735 - "TermId": 18, 11736 - "TransactionDate": "2014-08-19", 11737 - "TransactionTime": "11:18:55", 11738 - "RequestDate": "2014-08-19", 11739 - "UserIP": "74.201.38.1", 11740 - "SubscriptionType": "n", 11741 - "ProductId": 18, 11742 - "Source": 34, 11743 - "ProductStatus": 2, 11744 - "MediaFilePath": "", 11745 - "Amount": "" 11746 - }, 11747 - { 11748 - "Id": 674, 11749 - "UserId": 906, 11750 - "TermId": 18, 11751 - "TransactionDate": "2014-08-19", 11752 - "TransactionTime": "11:18:55", 11753 - "RequestDate": "2014-08-19", 11754 - "UserIP": "74.201.38.1", 11755 - "SubscriptionType": "n", 11756 - "ProductId": 18, 11757 - "Source": 34, 11758 - "ProductStatus": 2, 11759 - "MediaFilePath": "", 11760 - "Amount": "" 11761 - }, 11762 - { 11763 - "Id": 682, 11764 - "UserId": 914, 11765 - "TermId": 18, 11766 - "TransactionDate": "2014-08-19", 11767 - "TransactionTime": "11:18:55", 11768 - "RequestDate": "2014-08-19", 11769 - "UserIP": "74.201.38.1", 11770 - "SubscriptionType": "n", 11771 - "ProductId": 18, 11772 - "Source": 34, 11773 - "ProductStatus": 2, 11774 - "MediaFilePath": "", 11775 - "Amount": "" 11776 - }, 11777 - { 11778 - "Id": 690, 11779 - "UserId": 922, 11780 - "TermId": 18, 11781 - "TransactionDate": "2014-08-19", 11782 - "TransactionTime": "11:18:55", 11783 - "RequestDate": "2014-08-19", 11784 - "UserIP": "74.201.38.1", 11785 - "SubscriptionType": "n", 11786 - "ProductId": 18, 11787 - "Source": 34, 11788 - "ProductStatus": 2, 11789 - "MediaFilePath": "", 11790 - "Amount": "" 11791 - }, 11792 - { 11793 - "Id": 698, 11794 - "UserId": 930, 11795 - "TermId": 18, 11796 - "TransactionDate": "2014-08-19", 11797 - "TransactionTime": "11:18:55", 11798 - "RequestDate": "2014-08-19", 11799 - "UserIP": "74.201.38.1", 11800 - "SubscriptionType": "n", 11801 - "ProductId": 18, 11802 - "Source": 34, 11803 - "ProductStatus": 2, 11804 - "MediaFilePath": "", 11805 - "Amount": "" 11806 - }, 11807 - { 11808 - "Id": 706, 11809 - "UserId": 938, 11810 - "TermId": 18, 11811 - "TransactionDate": "2014-08-19", 11812 - "TransactionTime": "11:18:55", 11813 - "RequestDate": "2014-08-19", 11814 - "UserIP": "74.201.38.1", 11815 - "SubscriptionType": "n", 11816 - "ProductId": 18, 11817 - "Source": 34, 11818 - "ProductStatus": 2, 11819 - "MediaFilePath": "", 11820 - "Amount": "" 11821 - }, 11822 - { 11823 - "Id": 714, 11824 - "UserId": 946, 11825 - "TermId": 18, 11826 - "TransactionDate": "2014-08-19", 11827 - "TransactionTime": "11:18:55", 11828 - "RequestDate": "2014-08-19", 11829 - "UserIP": "74.201.38.1", 11830 - "SubscriptionType": "n", 11831 - "ProductId": 18, 11832 - "Source": 34, 11833 - "ProductStatus": 2, 11834 - "MediaFilePath": "", 11835 - "Amount": "" 11836 - }, 11837 - { 11838 - "Id": 722, 11839 - "UserId": 954, 11840 - "TermId": 18, 11841 - "TransactionDate": "2014-08-19", 11842 - "TransactionTime": "11:18:55", 11843 - "RequestDate": "2014-08-19", 11844 - "UserIP": "74.201.38.1", 11845 - "SubscriptionType": "n", 11846 - "ProductId": 18, 11847 - "Source": 34, 11848 - "ProductStatus": 2, 11849 - "MediaFilePath": "", 11850 - "Amount": "" 11851 - }, 11852 - { 11853 - "Id": 730, 11854 - "UserId": 962, 11855 - "TermId": 18, 11856 - "TransactionDate": "2014-08-19", 11857 - "TransactionTime": "11:18:55", 11858 - "RequestDate": "2014-08-19", 11859 - "UserIP": "74.201.38.1", 11860 - "SubscriptionType": "n", 11861 - "ProductId": 18, 11862 - "Source": 34, 11863 - "ProductStatus": 2, 11864 - "MediaFilePath": "", 11865 - "Amount": "" 11866 - }, 11867 - { 11868 - "Id": 738, 11869 - "UserId": 970, 11870 - "TermId": 18, 11871 - "TransactionDate": "2014-08-19", 11872 - "TransactionTime": "11:18:55", 11873 - "RequestDate": "2014-08-19", 11874 - "UserIP": "74.201.38.1", 11875 - "SubscriptionType": "n", 11876 - "ProductId": 18, 11877 - "Source": 34, 11878 - "ProductStatus": 2, 11879 - "MediaFilePath": "", 11880 - "Amount": "" 11881 - }, 11882 - { 11883 - "Id": 746, 11884 - "UserId": 978, 11885 - "TermId": 18, 11886 - "TransactionDate": "2014-08-19", 11887 - "TransactionTime": "11:18:55", 11888 - "RequestDate": "2014-08-19", 11889 - "UserIP": "74.201.38.1", 11890 - "SubscriptionType": "n", 11891 - "ProductId": 18, 11892 - "Source": 34, 11893 - "ProductStatus": 2, 11894 - "MediaFilePath": "", 11895 - "Amount": "" 11896 - }, 11897 - { 11898 - "Id": 754, 11899 - "UserId": 986, 11900 - "TermId": 18, 11901 - "TransactionDate": "2014-08-19", 11902 - "TransactionTime": "11:18:55", 11903 - "RequestDate": "2014-08-19", 11904 - "UserIP": "74.201.38.1", 11905 - "SubscriptionType": "n", 11906 - "ProductId": 18, 11907 - "Source": 34, 11908 - "ProductStatus": 2, 11909 - "MediaFilePath": "", 11910 - "Amount": "" 11911 - }, 11912 - { 11913 - "Id": 762, 11914 - "UserId": 994, 11915 - "TermId": 18, 11916 - "TransactionDate": "2014-08-19", 11917 - "TransactionTime": "11:18:55", 11918 - "RequestDate": "2014-08-19", 11919 - "UserIP": "74.201.38.1", 11920 - "SubscriptionType": "n", 11921 - "ProductId": 18, 11922 - "Source": 34, 11923 - "ProductStatus": 2, 11924 - "MediaFilePath": "", 11925 - "Amount": "" 11926 - }, 11927 - { 11928 - "Id": 770, 11929 - "UserId": 1002, 11930 - "TermId": 18, 11931 - "TransactionDate": "2014-08-19", 11932 - "TransactionTime": "11:18:55", 11933 - "RequestDate": "2014-08-19", 11934 - "UserIP": "74.201.38.1", 11935 - "SubscriptionType": "n", 11936 - "ProductId": 18, 11937 - "Source": 34, 11938 - "ProductStatus": 2, 11939 - "MediaFilePath": "", 11940 - "Amount": "" 11941 - }, 11942 - { 11943 - "Id": 778, 11944 - "UserId": 1010, 11945 - "TermId": 18, 11946 - "TransactionDate": "2014-08-19", 11947 - "TransactionTime": "11:18:55", 11948 - "RequestDate": "2014-08-19", 11949 - "UserIP": "74.201.38.1", 11950 - "SubscriptionType": "n", 11951 - "ProductId": 18, 11952 - "Source": 34, 11953 - "ProductStatus": 2, 11954 - "MediaFilePath": "", 11955 - "Amount": "" 11956 - }, 11957 - { 11958 - "Id": 786, 11959 - "UserId": 1018, 11960 - "TermId": 18, 11961 - "TransactionDate": "2014-08-19", 11962 - "TransactionTime": "11:18:55", 11963 - "RequestDate": "2014-08-19", 11964 - "UserIP": "74.201.38.1", 11965 - "SubscriptionType": "n", 11966 - "ProductId": 18, 11967 - "Source": 34, 11968 - "ProductStatus": 2, 11969 - "MediaFilePath": "", 11970 - "Amount": "" 11971 - }, 11972 - { 11973 - "Id": 794, 11974 - "UserId": 1026, 11975 - "TermId": 18, 11976 - "TransactionDate": "2014-08-19", 11977 - "TransactionTime": "11:18:55", 11978 - "RequestDate": "2014-08-19", 11979 - "UserIP": "74.201.38.1", 11980 - "SubscriptionType": "n", 11981 - "ProductId": 18, 11982 - "Source": 34, 11983 - "ProductStatus": 2, 11984 - "MediaFilePath": "", 11985 - "Amount": "" 11986 - }, 11987 - { 11988 - "Id": 802, 11989 - "UserId": 1034, 11990 - "TermId": 18, 11991 - "TransactionDate": "2014-08-19", 11992 - "TransactionTime": "11:18:55", 11993 - "RequestDate": "2014-08-19", 11994 - "UserIP": "74.201.38.1", 11995 - "SubscriptionType": "n", 11996 - "ProductId": 18, 11997 - "Source": 34, 11998 - "ProductStatus": 2, 11999 - "MediaFilePath": "", 12000 - "Amount": "" 12001 - }, 12002 - { 12003 - "Id": 810, 12004 - "UserId": 1042, 12005 - "TermId": 18, 12006 - "TransactionDate": "2014-08-19", 12007 - "TransactionTime": "11:18:55", 12008 - "RequestDate": "2014-08-19", 12009 - "UserIP": "74.201.38.1", 12010 - "SubscriptionType": "n", 12011 - "ProductId": 18, 12012 - "Source": 34, 12013 - "ProductStatus": 2, 12014 - "MediaFilePath": "", 12015 - "Amount": "" 12016 - }, 12017 - { 12018 - "Id": 818, 12019 - "UserId": 1050, 12020 - "TermId": 18, 12021 - "TransactionDate": "2014-08-19", 12022 - "TransactionTime": "11:18:55", 12023 - "RequestDate": "2014-08-19", 12024 - "UserIP": "74.201.38.1", 12025 - "SubscriptionType": "n", 12026 - "ProductId": 18, 12027 - "Source": 34, 12028 - "ProductStatus": 2, 12029 - "MediaFilePath": "", 12030 - "Amount": "" 12031 - }, 12032 - { 12033 - "Id": 826, 12034 - "UserId": 1058, 12035 - "TermId": 18, 12036 - "TransactionDate": "2014-08-19", 12037 - "TransactionTime": "11:18:55", 12038 - "RequestDate": "2014-08-19", 12039 - "UserIP": "74.201.38.1", 12040 - "SubscriptionType": "n", 12041 - "ProductId": 18, 12042 - "Source": 34, 12043 - "ProductStatus": 2, 12044 - "MediaFilePath": "", 12045 - "Amount": "" 12046 - }, 12047 - { 12048 - "Id": 834, 12049 - "UserId": 1066, 12050 - "TermId": 18, 12051 - "TransactionDate": "2014-08-19", 12052 - "TransactionTime": "11:18:55", 12053 - "RequestDate": "2014-08-19", 12054 - "UserIP": "74.201.38.1", 12055 - "SubscriptionType": "n", 12056 - "ProductId": 18, 12057 - "Source": 34, 12058 - "ProductStatus": 2, 12059 - "MediaFilePath": "", 12060 - "Amount": "" 12061 - }, 12062 - { 12063 - "Id": 842, 12064 - "UserId": 1074, 12065 - "TermId": 18, 12066 - "TransactionDate": "2014-08-19", 12067 - "TransactionTime": "11:18:55", 12068 - "RequestDate": "2014-08-19", 12069 - "UserIP": "74.201.38.1", 12070 - "SubscriptionType": "n", 12071 - "ProductId": 18, 12072 - "Source": 34, 12073 - "ProductStatus": 2, 12074 - "MediaFilePath": "", 12075 - "Amount": "" 12076 - }, 12077 - { 12078 - "Id": 850, 12079 - "UserId": 1082, 12080 - "TermId": 18, 12081 - "TransactionDate": "2014-08-19", 12082 - "TransactionTime": "11:18:55", 12083 - "RequestDate": "2014-08-19", 12084 - "UserIP": "74.201.38.1", 12085 - "SubscriptionType": "n", 12086 - "ProductId": 18, 12087 - "Source": 34, 12088 - "ProductStatus": 2, 12089 - "MediaFilePath": "", 12090 - "Amount": "" 12091 - }, 12092 - { 12093 - "Id": 858, 12094 - "UserId": 1090, 12095 - "TermId": 18, 12096 - "TransactionDate": "2014-08-19", 12097 - "TransactionTime": "11:18:55", 12098 - "RequestDate": "2014-08-19", 12099 - "UserIP": "74.201.38.1", 12100 - "SubscriptionType": "n", 12101 - "ProductId": 18, 12102 - "Source": 34, 12103 - "ProductStatus": 2, 12104 - "MediaFilePath": "", 12105 - "Amount": "" 12106 - }, 12107 - { 12108 - "Id": 866, 12109 - "UserId": 1098, 12110 - "TermId": 18, 12111 - "TransactionDate": "2014-08-19", 12112 - "TransactionTime": "11:18:55", 12113 - "RequestDate": "2014-08-19", 12114 - "UserIP": "74.201.38.1", 12115 - "SubscriptionType": "n", 12116 - "ProductId": 18, 12117 - "Source": 34, 12118 - "ProductStatus": 2, 12119 - "MediaFilePath": "", 12120 - "Amount": "" 12121 - }, 12122 - { 12123 - "Id": 874, 12124 - "UserId": 1106, 12125 - "TermId": 18, 12126 - "TransactionDate": "2014-08-19", 12127 - "TransactionTime": "11:18:55", 12128 - "RequestDate": "2014-08-19", 12129 - "UserIP": "74.201.38.1", 12130 - "SubscriptionType": "n", 12131 - "ProductId": 18, 12132 - "Source": 34, 12133 - "ProductStatus": 2, 12134 - "MediaFilePath": "", 12135 - "Amount": "" 12136 - }, 12137 - { 12138 - "Id": 882, 12139 - "UserId": 1114, 12140 - "TermId": 18, 12141 - "TransactionDate": "2014-08-19", 12142 - "TransactionTime": "11:18:55", 12143 - "RequestDate": "2014-08-19", 12144 - "UserIP": "74.201.38.1", 12145 - "SubscriptionType": "n", 12146 - "ProductId": 18, 12147 - "Source": 34, 12148 - "ProductStatus": 2, 12149 - "MediaFilePath": "", 12150 - "Amount": "" 12151 - }, 12152 - { 12153 - "Id": 890, 12154 - "UserId": 1122, 12155 - "TermId": 18, 12156 - "TransactionDate": "2014-08-19", 12157 - "TransactionTime": "11:18:55", 12158 - "RequestDate": "2014-08-19", 12159 - "UserIP": "74.201.38.1", 12160 - "SubscriptionType": "n", 12161 - "ProductId": 18, 12162 - "Source": 34, 12163 - "ProductStatus": 2, 12164 - "MediaFilePath": "", 12165 - "Amount": "" 12166 - }, 12167 - { 12168 - "Id": 898, 12169 - "UserId": 1130, 12170 - "TermId": 18, 12171 - "TransactionDate": "2014-08-19", 12172 - "TransactionTime": "11:18:55", 12173 - "RequestDate": "2014-08-19", 12174 - "UserIP": "74.201.38.1", 12175 - "SubscriptionType": "n", 12176 - "ProductId": 18, 12177 - "Source": 34, 12178 - "ProductStatus": 2, 12179 - "MediaFilePath": "", 12180 - "Amount": "" 12181 - }, 12182 - { 12183 - "Id": 906, 12184 - "UserId": 1138, 12185 - "TermId": 18, 12186 - "TransactionDate": "2014-08-19", 12187 - "TransactionTime": "11:18:55", 12188 - "RequestDate": "2014-08-19", 12189 - "UserIP": "74.201.38.1", 12190 - "SubscriptionType": "n", 12191 - "ProductId": 18, 12192 - "Source": 34, 12193 - "ProductStatus": 2, 12194 - "MediaFilePath": "", 12195 - "Amount": "" 12196 - }, 12197 - { 12198 - "Id": 914, 12199 - "UserId": 1146, 12200 - "TermId": 18, 12201 - "TransactionDate": "2014-08-19", 12202 - "TransactionTime": "11:18:55", 12203 - "RequestDate": "2014-08-19", 12204 - "UserIP": "74.201.38.1", 12205 - "SubscriptionType": "n", 12206 - "ProductId": 18, 12207 - "Source": 34, 12208 - "ProductStatus": 2, 12209 - "MediaFilePath": "", 12210 - "Amount": "" 12211 - }, 12212 - { 12213 - "Id": 922, 12214 - "UserId": 1154, 12215 - "TermId": 18, 12216 - "TransactionDate": "2014-08-19", 12217 - "TransactionTime": "11:18:55", 12218 - "RequestDate": "2014-08-19", 12219 - "UserIP": "74.201.38.1", 12220 - "SubscriptionType": "n", 12221 - "ProductId": 18, 12222 - "Source": 34, 12223 - "ProductStatus": 2, 12224 - "MediaFilePath": "", 12225 - "Amount": "" 12226 - }, 12227 - { 12228 - "Id": 930, 12229 - "UserId": 1162, 12230 - "TermId": 18, 12231 - "TransactionDate": "2014-08-19", 12232 - "TransactionTime": "11:18:55", 12233 - "RequestDate": "2014-08-19", 12234 - "UserIP": "74.201.38.1", 12235 - "SubscriptionType": "n", 12236 - "ProductId": 18, 12237 - "Source": 34, 12238 - "ProductStatus": 2, 12239 - "MediaFilePath": "", 12240 - "Amount": "" 12241 - }, 12242 - { 12243 - "Id": 938, 12244 - "UserId": 1170, 12245 - "TermId": 18, 12246 - "TransactionDate": "2014-08-19", 12247 - "TransactionTime": "11:18:55", 12248 - "RequestDate": "2014-08-19", 12249 - "UserIP": "74.201.38.1", 12250 - "SubscriptionType": "n", 12251 - "ProductId": 18, 12252 - "Source": 34, 12253 - "ProductStatus": 2, 12254 - "MediaFilePath": "", 12255 - "Amount": "" 12256 - }, 12257 - { 12258 - "Id": 946, 12259 - "UserId": 1178, 12260 - "TermId": 18, 12261 - "TransactionDate": "2014-08-19", 12262 - "TransactionTime": "11:18:55", 12263 - "RequestDate": "2014-08-19", 12264 - "UserIP": "74.201.38.1", 12265 - "SubscriptionType": "n", 12266 - "ProductId": 18, 12267 - "Source": 34, 12268 - "ProductStatus": 2, 12269 - "MediaFilePath": "", 12270 - "Amount": "" 12271 - }, 12272 - { 12273 - "Id": 954, 12274 - "UserId": 1186, 12275 - "TermId": 18, 12276 - "TransactionDate": "2014-08-19", 12277 - "TransactionTime": "11:18:55", 12278 - "RequestDate": "2014-08-19", 12279 - "UserIP": "74.201.38.1", 12280 - "SubscriptionType": "n", 12281 - "ProductId": 18, 12282 - "Source": 34, 12283 - "ProductStatus": 2, 12284 - "MediaFilePath": "", 12285 - "Amount": "" 12286 - }, 12287 - { 12288 - "Id": 962, 12289 - "UserId": 1194, 12290 - "TermId": 18, 12291 - "TransactionDate": "2014-08-19", 12292 - "TransactionTime": "11:18:55", 12293 - "RequestDate": "2014-08-19", 12294 - "UserIP": "74.201.38.1", 12295 - "SubscriptionType": "n", 12296 - "ProductId": 18, 12297 - "Source": 34, 12298 - "ProductStatus": 2, 12299 - "MediaFilePath": "", 12300 - "Amount": "" 12301 - }, 12302 - { 12303 - "Id": 970, 12304 - "UserId": 1202, 12305 - "TermId": 18, 12306 - "TransactionDate": "2014-08-19", 12307 - "TransactionTime": "11:18:55", 12308 - "RequestDate": "2014-08-19", 12309 - "UserIP": "74.201.38.1", 12310 - "SubscriptionType": "n", 12311 - "ProductId": 18, 12312 - "Source": 34, 12313 - "ProductStatus": 2, 12314 - "MediaFilePath": "", 12315 - "Amount": "" 12316 - }, 12317 - { 12318 - "Id": 978, 12319 - "UserId": 1210, 12320 - "TermId": 18, 12321 - "TransactionDate": "2014-08-19", 12322 - "TransactionTime": "11:18:55", 12323 - "RequestDate": "2014-08-19", 12324 - "UserIP": "74.201.38.1", 12325 - "SubscriptionType": "n", 12326 - "ProductId": 18, 12327 - "Source": 34, 12328 - "ProductStatus": 2, 12329 - "MediaFilePath": "", 12330 - "Amount": "" 12331 - }, 12332 - { 12333 - "Id": 986, 12334 - "UserId": 1218, 12335 - "TermId": 18, 12336 - "TransactionDate": "2014-08-19", 12337 - "TransactionTime": "11:18:55", 12338 - "RequestDate": "2014-08-19", 12339 - "UserIP": "74.201.38.1", 12340 - "SubscriptionType": "n", 12341 - "ProductId": 18, 12342 - "Source": 34, 12343 - "ProductStatus": 2, 12344 - "MediaFilePath": "", 12345 - "Amount": "" 12346 - }, 12347 - { 12348 - "Id": 994, 12349 - "UserId": 1226, 12350 - "TermId": 18, 12351 - "TransactionDate": "2014-08-19", 12352 - "TransactionTime": "11:18:55", 12353 - "RequestDate": "2014-08-19", 12354 - "UserIP": "74.201.38.1", 12355 - "SubscriptionType": "n", 12356 - "ProductId": 18, 12357 - "Source": 34, 12358 - "ProductStatus": 2, 12359 - "MediaFilePath": "", 12360 - "Amount": "" 12361 - }, 12362 - { 12363 - "Id": 1002, 12364 - "UserId": 1234, 12365 - "TermId": 18, 12366 - "TransactionDate": "2014-08-19", 12367 - "TransactionTime": "11:18:55", 12368 - "RequestDate": "2014-08-19", 12369 - "UserIP": "74.201.38.1", 12370 - "SubscriptionType": "n", 12371 - "ProductId": 18, 12372 - "Source": 34, 12373 - "ProductStatus": 2, 12374 - "MediaFilePath": "", 12375 - "Amount": "" 12376 - } 12377 - ] 12378 -} 12379 -{{/code}} 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. 12380 12380 12381 -\\ 3356 +(% class="western" %) 3357 +Params: 12382 12382 12383 -(% style="margin-left: 0.0px;"class="sc-fznLPX cxTVKx" %)12384 - == (% class="sc-fzoaKM imuBmi" style="color:rgb(0,127,49);"%)GET (% class="sc-fzomuhjbmEtYdocumentation-core-item-request-name"style="color:rgb(33,33,33);" %)specificTransaction(%%)==3359 +(% class="western" %) 3360 +UserId: Id of the user whose transaction is to be looked up (Int) 12385 12385 12386 ----- 3362 +(% class="western" %) 3363 +StartDate: Date from which the start should happen. Only valid when UserId is set. (Date) 12387 12387 12388 - {{panelbgColor="#D3D3D3"width="100%"}}12389 - (% class="nolink" %)https:~/~/api.onecount.net/v2(%style="color:rgb(33,33,33);"%)/transactions/~{~{Transactionid}}12390 - {{/panel}}3365 +(% class="western" %) 3366 +EndDate: When the search should end. Only valid when UserId is set. (Date) 3367 +))) 12391 12391 12392 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 3369 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3370 +((( 3371 +(% class="western" %) 3372 +**Response** 3373 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3374 +((( 3375 +(% class="western" %) 3376 +**Type** 3377 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3378 +((( 3379 +(% class="western" %) 3380 +**Description** 3381 +))) 3382 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3383 +((( 3384 +(% class="western" %) 3385 +Transactions 3386 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3387 +((( 3388 +(% class="western" %) 3389 +Transactions 3390 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3391 +((( 3392 +(% class="western" %) 3393 +Returns all transaction that satisfies the search criteria. Returns all the package and product transactions of the user. Package Transactions are the one with TermId and ProductId. Product Transactions are the one with ResourceId. 3394 +))) 12393 12393 12394 ----- 12395 - 12396 -(% 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}} 12397 - 12398 -==== Example ==== 12399 - 12400 ----- 12401 - 12402 -(% style="color: rgb(107,107,107);" %)Request 12403 - 12404 -{{code language="php" theme="RDark" title="Get specific Transaction Request" collapse="true"}} 12405 - <?php 12406 - 12407 -$curl = curl_init(); 12408 - 12409 -curl_setopt_array($curl, array( 12410 - CURLOPT_URL => 'https://api.onecount.net/v2/transactions/{{Transaction id}}', 12411 - CURLOPT_RETURNTRANSFER => true, 12412 - CURLOPT_ENCODING => '', 12413 - CURLOPT_MAXREDIRS => 10, 12414 - CURLOPT_TIMEOUT => 0, 12415 - CURLOPT_FOLLOWLOCATION => true, 12416 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 12417 - CURLOPT_CUSTOMREQUEST => 'GET', 12418 - CURLOPT_HTTPHEADER => array( 12419 - 'Appkey: {{ONECOUNT API KEY}}' 12420 - ), 12421 -)); 12422 - 12423 -$response = curl_exec($curl); 12424 - 12425 -curl_close($curl); 12426 -echo $response; 12427 -{{/code}} 12428 - 12429 12429 \\ 12430 12430 12431 -(% style="color: rgb( 107,107,107);" %)Response0 OK3398 +**Sample response for /(% style="color: rgb(80,80,80);" %)transactions/lookup?UserId=25255105:(%%)** 12432 12432 12433 -{{code language="yml" theme="RDark" title="Get specific Transaction Response" collapse="true"}} 12434 - { 12435 - "result": { 12436 - "success": "1", 12437 - "error": { 12438 - "code": "", 12439 - "message": "" 12440 - } 12441 - }, 12442 - "Transactions": [ 12443 - { 12444 - "Id": 1002, 12445 - "UserId": 1234, 12446 - "TermId": 18, 12447 - "TransactionDate": "2014-08-19", 12448 - "TransactionTime": "11:18:55", 12449 - "RequestDate": "2014-08-19", 12450 - "UserIP": "74.201.38.1", 12451 - "SubscriptionType": "n", 12452 - "ProductId": 18, 12453 - "Source": 34, 12454 - "ProductStatus": 2, 12455 - "MediaFilePath": "", 12456 - "Amount": "" 12457 - } 12458 - ] 12459 -} 12460 -{{/code}} 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 +))) 12461 12461 12462 12462 \\ 12463 12463 12464 -(% style="margin-left: 0.0px;"class="sc-fznLPX cxTVKx" %)12465 - ==(%class="sc-fzoaKMimuBmi"style="color:rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name"style="color:rgb(33,33,33);"%)lookupTransaction(%%)==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. 12466 12466 12467 ----- 3413 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3414 +((( 3415 +(% class="western" %) 3416 +**Request** 3417 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3418 +((( 3419 +(% class="western" %) 3420 +**Type** 3421 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3422 +((( 3423 +(% class="western" %) 3424 +**Description** 3425 +))) 3426 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3427 +((( 3428 +(% class="western" %) 3429 +Transactions 3430 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3431 +((( 3432 +(% class="western" %) 3433 +Transactions 3434 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3435 +((( 3436 +(% class="western" %) 3437 +Contains fields that define a transaction. Id field should not be set. 3438 +))) 12468 12468 12469 -{{panel bgColor="#D3D3D3" width="100%"}} 12470 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/transactions/lookup?UserId=~{~{OCID}} 12471 -{{/panel}} 3440 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3441 +((( 3442 +(% class="western" %) 3443 +**Response** 3444 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3445 +((( 3446 +(% class="western" %) 3447 +**Type** 3448 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3449 +((( 3450 +(% class="western" %) 3451 +**Description** 3452 +))) 3453 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3454 +((( 3455 +(% class="western" %) 3456 +TransactionId 3457 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3458 +((( 3459 +(% class="western" %) 3460 +int 3461 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3462 +((( 3463 +(% class="western" %) 3464 +Returns transactionId of the newly created transaction. 3465 +))) 12472 12472 12473 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 12474 - 12475 ----- 12476 - 12477 -(% 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}} 12478 - 12479 -=== (% style="color: rgb(33,33,33);" %)Query Params(%%) === 12480 - 12481 ----- 12482 - 12483 -(% 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}} 12484 - 12485 -==== Example ==== 12486 - 12487 ----- 12488 - 12489 -(% style="color: rgb(107,107,107);" %)Request 12490 - 12491 -{{code language="php" theme="RDark" title="Lookup Transaction Request" collapse="true"}} 12492 - <?php 12493 - 12494 -$curl = curl_init(); 12495 - 12496 -curl_setopt_array($curl, array( 12497 - CURLOPT_URL => 'https://api.onecount.net/v2/transactions/lookup?UserId={{OCID}}', 12498 - CURLOPT_RETURNTRANSFER => true, 12499 - CURLOPT_ENCODING => '', 12500 - CURLOPT_MAXREDIRS => 10, 12501 - CURLOPT_TIMEOUT => 0, 12502 - CURLOPT_FOLLOWLOCATION => true, 12503 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 12504 - CURLOPT_CUSTOMREQUEST => 'GET', 12505 - CURLOPT_HTTPHEADER => array( 12506 - 'Appkey: {{ONECOUNT API KEY}}' 12507 - ), 12508 -)); 12509 - 12510 -$response = curl_exec($curl); 12511 - 12512 -curl_close($curl); 12513 -echo $response; 12514 -{{/code}} 12515 - 12516 12516 \\ 12517 12517 12518 -(% style="color: rgb(107,107,107);" %)Response 200 OK 12519 - 12520 -{{code language="yml" theme="RDark" title="Lookup Transaction Response" collapse="true"}} 12521 - { 12522 - "result": { 12523 - "success": "1", 12524 - "error": { 12525 - "code": "", 12526 - "message": "" 12527 - } 12528 - }, 12529 - "Transactions": [ 12530 - { 12531 - "Id": 52494786, 12532 - "UserId": 1234, 12533 - "TermId": 34, 12534 - "TransactionDate": "2016-01-19", 12535 - "TransactionTime": "15:30:04", 12536 - "RequestDate": "2016-01-19", 12537 - "UserIP": "12.226.247.2", 12538 - "SubscriptionType": "u", 12539 - "ProductId": 34, 12540 - "Source": 0, 12541 - "ProductStatus": 0, 12542 - "MediaFilePath": "", 12543 - "Amount": "" 12544 - }, 12545 - { 12546 - "Id": 42654041, 12547 - "UserId": 1234, 12548 - "TermId": 34, 12549 - "TransactionDate": "2015-09-09", 12550 - "TransactionTime": "11:20:39", 12551 - "RequestDate": "2015-09-09", 12552 - "UserIP": "24.187.236.98", 12553 - "SubscriptionType": "n", 12554 - "ProductId": 34, 12555 - "Source": 0, 12556 - "ProductStatus": 2, 12557 - "MediaFilePath": "", 12558 - "Amount": "" 12559 - }, 12560 - { 12561 - "Id": 97251022, 12562 - "UserId": 1234, 12563 - "TermId": 34, 12564 - "TransactionDate": "2015-06-04", 12565 - "TransactionTime": "14:59:42", 12566 - "RequestDate": "2015-06-04", 12567 - "UserIP": "12.226.247.2", 12568 - "SubscriptionType": "u", 12569 - "ProductId": 34, 12570 - "Source": 0, 12571 - "ProductStatus": 0, 12572 - "MediaFilePath": "", 12573 - "Amount": "" 12574 - }, 12575 - { 12576 - "Id": 55492559, 12577 - "UserId": 1234, 12578 - "TermId": 34, 12579 - "TransactionDate": "2015-04-03", 12580 - "TransactionTime": "16:32:04", 12581 - "RequestDate": "2015-04-03", 12582 - "UserIP": "24.187.236.98", 12583 - "SubscriptionType": "r", 12584 - "ProductId": 34, 12585 - "Source": 58, 12586 - "ProductStatus": 106, 12587 - "MediaFilePath": "", 12588 - "Amount": "" 12589 - }, 12590 - { 12591 - "Id": 98173391, 12592 - "UserId": 1234, 12593 - "TermId": 34, 12594 - "TransactionDate": "2015-04-03", 12595 - "TransactionTime": "15:50:45", 12596 - "RequestDate": "2014-08-19", 12597 - "UserIP": "24.187.236.98", 12598 - "SubscriptionType": "n", 12599 - "ProductId": 34, 12600 - "Source": 34, 12601 - "ProductStatus": 106, 12602 - "MediaFilePath": "", 12603 - "Amount": "" 12604 - }, 12605 - { 12606 - "Id": 91711793, 12607 - "UserId": 1234, 12608 - "TermId": 18, 12609 - "TransactionDate": "2015-04-27", 12610 - "TransactionTime": "14:24:51", 12611 - "RequestDate": "2015-04-27", 12612 - "UserIP": "24.187.236.98", 12613 - "SubscriptionType": "u", 12614 - "ProductId": 18, 12615 - "Source": 0, 12616 - "ProductStatus": 106, 12617 - "MediaFilePath": "", 12618 - "Amount": "" 12619 - }, 12620 - { 12621 - "Id": 74936400, 12622 - "UserId": 1234, 12623 - "TermId": 18, 12624 - "TransactionDate": "2015-04-27", 12625 - "TransactionTime": "12:35:18", 12626 - "RequestDate": "2015-04-27", 12627 - "UserIP": "68.196.187.74", 12628 - "SubscriptionType": "n", 12629 - "ProductId": 18, 12630 - "Source": 34, 12631 - "ProductStatus": 106, 12632 - "MediaFilePath": "", 12633 - "Amount": "" 12634 - }, 12635 - { 12636 - "Id": 21664714, 12637 - "UserId": 1234, 12638 - "TermId": 18, 12639 - "TransactionDate": "2015-04-03", 12640 - "TransactionTime": "15:50:46", 12641 - "RequestDate": "2015-04-03", 12642 - "UserIP": "24.187.236.98", 12643 - "SubscriptionType": "u", 12644 - "ProductId": 18, 12645 - "Source": 0, 12646 - "ProductStatus": 2, 12647 - "MediaFilePath": "", 12648 - "Amount": "" 12649 - }, 12650 - { 12651 - "Id": 81129263, 12652 - "UserId": 1234, 12653 - "TermId": 18, 12654 - "TransactionDate": "2014-08-19", 12655 - "TransactionTime": "11:18:55", 12656 - "RequestDate": "2014-08-19", 12657 - "UserIP": "74.201.38.1", 12658 - "SubscriptionType": "n", 12659 - "ProductId": 18, 12660 - "Source": 34, 12661 - "ProductStatus": 2, 12662 - "MediaFilePath": "", 12663 - "Amount": "" 12664 - }, 12665 - { 12666 - "Id": 30461748, 12667 - "UserId": 1234, 12668 - "ResourceId": 459, 12669 - "TransactionDate": "2023-03-15", 12670 - "TransactionTime": "12:07:55", 12671 - "RequestDate": "2023-03-15", 12672 - "UserIP": "74.201.38.12", 12673 - "SubscriptionType": "n", 12674 - "SourceCode": 0, 12675 - "ProductStatus": 0, 12676 - "MediaFilePath": "", 12677 - "Amount": "" 12678 - }, 12679 - { 12680 - "Id": 25858253, 12681 - "UserId": 1234, 12682 - "ResourceId": 451, 12683 - "TransactionDate": "2023-03-15", 12684 - "TransactionTime": "11:45:19", 12685 - "RequestDate": "2023-03-15", 12686 - "UserIP": "74.201.38.12", 12687 - "SubscriptionType": "n", 12688 - "SourceCode": 0, 12689 - "ProductStatus": 0, 12690 - "MediaFilePath": "", 12691 - "Amount": "" 12692 - }, 12693 - { 12694 - "Id": 69453260, 12695 - "UserId": 1234, 12696 - "ResourceId": 411, 12697 - "TransactionDate": "2022-06-07", 12698 - "TransactionTime": "17:03:14", 12699 - "RequestDate": "2022-06-07", 12700 - "UserIP": "74.201.38.12", 12701 - "SubscriptionType": "n", 12702 - "SourceCode": 0, 12703 - "ProductStatus": 0, 12704 - "MediaFilePath": "", 12705 - "Amount": "" 12706 - }, 12707 - { 12708 - "Id": 51354425, 12709 - "UserId": 1234, 12710 - "ResourceId": 355, 12711 - "TransactionDate": "2020-04-06", 12712 - "TransactionTime": "12:24:08", 12713 - "RequestDate": "2020-04-06", 12714 - "UserIP": "74.201.38.12", 12715 - "SubscriptionType": "n", 12716 - "SourceCode": 0, 12717 - "ProductStatus": 0, 12718 - "MediaFilePath": "", 12719 - "Amount": "" 12720 - } 12721 - ] 12722 -} 12723 -{{/code}} 12724 - 12725 12725 \\ 12726 12726 12727 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 12728 -== (% 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(%%) == 3471 +(% class="western" %) 3472 +**COMPONENT: Leads 3473 +** 12729 12729 12730 ----- 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. 12731 12731 12732 -{{panel bgColor="#D3D3D3" width="100%"}} 12733 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/transactions 12734 -{{/panel}} 12735 - 12736 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 12737 - 12738 ----- 12739 - 12740 -(% 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}} 12741 - 12742 -=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) === 12743 - 12744 ----- 12745 - 12746 -{{code language="yml" theme="RDark" title="Body" collapse="true"}} 12747 -{"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" } 12748 -{{/code}} 12749 - 12750 -==== Example ==== 12751 - 12752 ----- 12753 - 12754 -(% style="color: rgb(107,107,107);" %)Request 12755 - 12756 -{{code language="php" theme="RDark" title="Create Transaction Request" collapse="true"}} 12757 - <?php 12758 - 12759 -$curl = curl_init(); 12760 - 12761 -curl_setopt_array($curl, array( 12762 - CURLOPT_URL => 'https://api.onecount.net/v2/transactions', 12763 - CURLOPT_RETURNTRANSFER => true, 12764 - CURLOPT_ENCODING => '', 12765 - CURLOPT_MAXREDIRS => 10, 12766 - CURLOPT_TIMEOUT => 0, 12767 - CURLOPT_FOLLOWLOCATION => true, 12768 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 12769 - CURLOPT_CUSTOMREQUEST => 'POST', 12770 - 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" }', 12771 - CURLOPT_HTTPHEADER => array( 12772 - 'Appkey: {{ONECOUNT API KEY}}' 12773 - ), 12774 -)); 12775 - 12776 -$response = curl_exec($curl); 12777 - 12778 -curl_close($curl); 12779 -echo $response; 12780 -{{/code}} 12781 - 3478 +(% class="western" %) 12782 12782 \\ 12783 12783 12784 -(% style="color: rgb(107,107,107);" %)Response 200 OK 12785 - 12786 -{{code language="yml" theme="RDark" title="Create Transaction Response" collapse="true"}} 12787 - { 12788 - "result": { 12789 - "success": "1", 12790 - "error": { 12791 - "code": "", 12792 - "message": "" 12793 - } 12794 - }, 12795 - "Transactions": { 12796 - "Id": "1234", 12797 - "UserId": 1845775, 12798 - "TermId": 447, 12799 - "TransactionDate": "20231211", 12800 - "TransactionTime": "09:34:26", 12801 - "RequestDate": "20231211", 12802 - "UserIP": "192.168.0.1", 12803 - "SubscriptionType": "n", 12804 - "ProductId": 599, 12805 - "Source": 83, 12806 - "ProductStatus": 2, 12807 - "MediaFilePath": "", 12808 - "Amount": "0.00" 12809 - } 12810 -} 12811 -{{/code}} 12812 - 3481 +(% class="western" %) 12813 12813 \\ 12814 12814 3484 +(% class="western" %) 12815 12815 \\ 12816 12816 3487 +(% class="western" %) 12817 12817 \\ 12818 12818 3490 +(% class="western" %) 12819 12819 \\ 12820 12820 12821 -\\ 12822 - 12823 -\\ 12824 - 12825 -\\ 12826 - 12827 -\\ 12828 - 12829 -\\ 12830 - 12831 -\\ 12832 - 12833 -\\ 12834 - 12835 -\\ 12836 - 12837 -\\ 12838 - 12839 -\\ 12840 - 12841 -\\ 12842 - 12843 -\\ 12844 - 12845 -\\ 12846 - 12847 -\\ 12848 - 12849 -\\ 12850 - 12851 -\\ 12852 - 12853 -\\ 12854 - 12855 -\\ 12856 - 12857 -\\ 12858 - 12859 -\\ 12860 - 12861 -\\ 12862 - 12863 12863 (% class="western" %) 12864 -**COMPONENT: Leads 12865 -** 12866 - 12867 -(% class="western" %) 12868 -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. 12869 - 12870 -(% class="western" %) 12871 12871 **Telemarketing Leads 12872 12872 ** 12873 12873 ... ... @@ -12875,7 +12875,6 @@ 12875 12875 12876 12876 This resource is for manipulating telemarketing stat resource. A telemarketing stat can be created or listed. 12877 12877 12878 -(% class="wrapped" %) 12879 12879 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12880 12880 ((( 12881 12881 (% class="western" %) ... ... @@ -12934,7 +12934,6 @@ 12934 12934 (% class="western" %) 12935 12935 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. 12936 12936 12937 -(% class="wrapped" %) 12938 12938 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12939 12939 ((( 12940 12940 (% class="western" %) ... ... @@ -12989,7 +12989,7 @@ 12989 12989 "ResourceId":"250", 12990 12990 12991 12991 (% class="western" %) 12992 -"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"]]", 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"]]", 12993 12993 12994 12994 (% class="western" %) 12995 12995 "PageTitle":"tests" ... ... @@ -13017,7 +13017,6 @@ 13017 13017 \\ 13018 13018 ))) 13019 13019 13020 -(% class="wrapped" %) 13021 13021 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 13022 13022 ((( 13023 13023 (% class="western" %) ... ... @@ -13061,7 +13061,6 @@ 13061 13061 (% class="western" %) 13062 13062 **Type: Questions** 13063 13063 13064 -(% class="wrapped" %) 13065 13065 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 13066 13066 ((( 13067 13067 (% class="western" %) ... ... @@ -13157,7 +13157,6 @@ 13157 13157 (% class="western" %) 13158 13158 **Type: Choices** 13159 13159 13160 -(% class="wrapped" %) 13161 13161 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 13162 13162 ((( 13163 13163 (% class="western" %) ... ... @@ -13242,7 +13242,6 @@ 13242 13242 (% class="western" %) 13243 13243 **Type: Users** 13244 13244 13245 -(% class="wrapped" %) 13246 13246 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 13247 13247 ((( 13248 13248 (% class="western" %) ... ... @@ -13314,7 +13314,6 @@ 13314 13314 (% class="western" %) 13315 13315 **Type: Demo** 13316 13316 13317 -(% class="wrapped" %) 13318 13318 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 13319 13319 ((( 13320 13320 (% class="western" %) ... ... @@ -13373,7 +13373,6 @@ 13373 13373 (% class="western" %) 13374 13374 **Type: Transactions** 13375 13375 13376 -(% class="wrapped" %) 13377 13377 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 13378 13378 ((( 13379 13379 (% class="western" %) ... ... @@ -13562,7 +13562,6 @@ 13562 13562 (% class="western" %) 13563 13563 **Type: Sources** 13564 13564 13565 -(% class="wrapped" %) 13566 13566 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 13567 13567 ((( 13568 13568 (% class="western" %) ... ... @@ -13635,7 +13635,6 @@ 13635 13635 (% class="western" %) 13636 13636 **Type: Products** 13637 13637 13638 -(% class="wrapped" %) 13639 13639 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 13640 13640 ((( 13641 13641 (% class="western" %) ... ... @@ -13707,7 +13707,6 @@ 13707 13707 (% class="western" %) 13708 13708 **Type: Terms** 13709 13709 13710 -(% class="wrapped" %) 13711 13711 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 13712 13712 ((( 13713 13713 (% class="western" %) ... ... @@ -13818,7 +13818,6 @@ 13818 13818 (% class="western" %) 13819 13819 **Type: Resources** 13820 13820 13821 -(% class="wrapped" %) 13822 13822 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 13823 13823 ((( 13824 13824 (% class="western" %) ... ... @@ -13963,7 +13963,6 @@ 13963 13963 (% class="western" %) 13964 13964 **Type: Telemarketing** 13965 13965 13966 -(% class="wrapped" %) 13967 13967 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 13968 13968 ((( 13969 13969 (% class="western" %)
- Confluence.Code.ConfluencePageClass[0]
-
- id
-
... ... @@ -1,1 +1,1 @@ 1 -1082654 831 +108265479 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://info.onecount.net//wiki/spaces/OD/pages/1082654 83/ONEcount API Documentation1 +https://info.onecount.net//wiki/spaces/OD/pages/108265479/ONEcount API Documentation