Last modified by Rayaan Ahmed on 2025/06/27 12:14

From version 3.1
edited by rayaan@one-count_com
on 2023/12/12 06:21
Change comment: There is no comment for this version
To version 1.1
edited by rayaan@one-count_com
on 2023/12/12 04:31
Change comment: There is no comment for this version

Summary

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" %)
... ... @@ -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 ====
... ... @@ -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 ====
... ... @@ -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);" %)/login
964 -{{/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)(%%) ===
... ... @@ -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,4
1040 -{{/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(%%) ===
... ... @@ -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,13 +1132,324 @@
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 1144  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
... ... @@ -1234,86 +1234,9 @@
1234 1234  Created users returned with the demo field requested in return parameter in json format. If return was not specified only UserId will be returned.
1235 1235  )))
1236 1236  
1237 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
1238 -
1239 -----
1240 -
1241 -(% 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}}
1242 -
1243 -=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
1244 -
1245 -----
1246 -
1247 -{{code language="yml" theme="RDark" title="Body" collapse="true"}}
1248 -{"Users":{"PartnerId":1,"Demo":{"1":"testApirayaan7@onecount.net","4":"Rayaan","5":"Ahmed"}},"DedupeColumns":"1","Transactions":[]}
1249 -{{/code}}
1250 -
1251 -==== Example ====
1252 -
1253 -----
1254 -
1255 -(% style="color: rgb(107,107,107);" %)Request
1256 -
1257 -{{code language="php" theme="RDark" title="Create User Request" collapse="true"}}
1258 -<?php
1259 -
1260 -$curl = curl_init();
1261 -
1262 -curl_setopt_array($curl, array(
1263 - CURLOPT_URL => 'rayaan.onecount.net/api/v2/users',
1264 - CURLOPT_RETURNTRANSFER => true,
1265 - CURLOPT_ENCODING => '',
1266 - CURLOPT_MAXREDIRS => 10,
1267 - CURLOPT_TIMEOUT => 0,
1268 - CURLOPT_FOLLOWLOCATION => true,
1269 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
1270 - CURLOPT_CUSTOMREQUEST => 'POST',
1271 - CURLOPT_POSTFIELDS =>'{"Users":{"PartnerId":1,"Demo":{"1":"testApirayaan6@onecount.net","4":"Rayaan","5":"Ahmed"}},"DedupeColumns":"1","Transactions":[]}',
1272 - CURLOPT_HTTPHEADER => array(
1273 - 'Appkey: {{ONECOUNT API KEY}}'
1274 - ),
1275 -));
1276 -
1277 -$response = curl_exec($curl);
1278 -
1279 -curl_close($curl);
1280 -echo $response;
1281 -{{/code}}
1282 -
1283 1283  \\
1284 1284  
1285 -(% style="color: rgb(107,107,107);" %)Response  200 OK
1286 -
1287 -{{code language="yml" theme="RDark" title="Create user Response" collapse="true"}}
1288 -{
1289 - "result": {
1290 - "success": "1",
1291 - "error": {
1292 - "code": "",
1293 - "message": ""
1294 - }
1295 - },
1296 - "Users": {
1297 - "Id": 1845831
1298 - }
1299 -}
1300 -{{/code}}
1301 -
1302 -\\
1303 -
1304 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
1305 -== (% 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(%%) ==
1306 -
1307 -----
1308 -
1309 -{{panel bgColor="#D3D3D3" width="100%"}}
1310 - (% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users/~{~{OCID(% class="nolink" %)}}
1311 -{{/panel}}
1312 -
1313 1313  (% class="western" %)
1314 -\\
1315 -
1316 -(% class="western" %)
1317 1317  **PUT method should be used to update users.**
1318 1318  
1319 1319  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
... ... @@ -1340,7 +1340,7 @@
1340 1340  )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1341 1341  (((
1342 1342  (% class="western" %)
1343 -Users object with update fields. Return property has CSV of 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.
1344 1344  )))
1345 1345  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1346 1346  (((
... ... @@ -1396,80 +1396,26 @@
1396 1396  Updated user returned with the demo field requested in return parameter in json format.
1397 1397  )))
1398 1398  
1399 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
1653 +(% class="western" %)
1654 +\\
1400 1400  
1401 -----
1656 +(% class="western" %)
1657 +\\
1402 1402  
1403 -(% 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.
1404 1404  
1405 -=== (% 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}}}
1406 1406  
1407 -----
1664 +(% class="western" %)
1665 +**~ **
1408 1408  
1409 -{{code language="yml" theme="RDark" title="Body" collapse="true"}}
1410 -{"Users":{"Demo":{"6":"title1"}}}
1411 -{{/code}}
1667 +(% class="western" %)
1668 +**~ **
1412 1412  
1413 -==== Example ====
1414 -
1415 -----
1416 -
1417 -(% style="color: rgb(107,107,107);" %)Request
1418 -
1419 -{{code language="php" theme="RDark" title="Update User Request" collapse="true"}}
1420 -<?php
1421 -
1422 -$curl = curl_init();
1423 -
1424 -curl_setopt_array($curl, array(
1425 - CURLOPT_URL => 'rayaan.onecount.net/api/v2/users/{{OCID}}',
1426 - CURLOPT_RETURNTRANSFER => true,
1427 - CURLOPT_ENCODING => '',
1428 - CURLOPT_MAXREDIRS => 10,
1429 - CURLOPT_TIMEOUT => 0,
1430 - CURLOPT_FOLLOWLOCATION => true,
1431 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
1432 - CURLOPT_CUSTOMREQUEST => 'PUT',
1433 - CURLOPT_POSTFIELDS =>'{"Users":{"Demo":{"6":"title"}}}',
1434 - CURLOPT_HTTPHEADER => array(
1435 - 'Appkey: {{ONECOUNT API KEY}}'
1436 - ),
1437 -));
1438 -
1439 -$response = curl_exec($curl);
1440 -
1441 -curl_close($curl);
1442 -echo $response;
1443 -
1444 -
1445 -{{/code}}
1446 -
1447 1447  \\
1448 1448  
1449 -(% style="color: rgb(107,107,107);" %)Response  200 OK
1450 -
1451 -{{code language="yml" theme="RDark" title="Update user Response" collapse="true"}}
1452 -{
1453 - "result": {
1454 - "success": "1",
1455 - "error": {
1456 - "code": "",
1457 - "message": ""
1458 - }
1459 - },
1460 - "Users": [
1461 - {
1462 - "Id": 1845823,
1463 - "OCID_HASH": "fccaa8dc7afadccc5882528d47b27c2bb53e2788dd0ac1fe170abef77a9c4d5b"
1464 - }
1465 - ]
1466 -}
1467 -{{/code}}
1468 -
1469 1469  (% class="western" %)
1470 -\\
1471 -
1472 -(% class="western" %)
1473 1473  **COMPONENT: Questions**
1474 1474  
1475 1475  (% class="western" %)
... ... @@ -1484,7 +1484,6 @@
1484 1484  (% class="western" %)
1485 1485  There can be 6 types of questions:
1486 1486  
1487 -(% class="wrapped" %)
1488 1488  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1489 1489  (((
1490 1490  (% class="western" align="center" %)
... ... @@ -1549,7 +1549,6 @@
1549 1549  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.
1550 1550  )))
1551 1551  
1552 -(% class="wrapped" %)
1553 1553  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1554 1554  (((
1555 1555  (% class="western" %)
... ... @@ -1637,6606 +1637,248 @@
1637 1637  
1638 1638  \\
1639 1639  
1640 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
1641 -== (% 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.**
1642 1642  
1643 -----
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.
1644 1644  
1645 -----
1867 +(% class="western" %)
1868 +Params:
1646 1646  
1647 -{{panel bgColor="#D3D3D3" width="100%"}}
1648 -(% class="nolink nolink" %)https:~/~/api.onecount.net/v2/(% style="color: rgb(33,33,33);" %)questions
1649 -{{/panel}}
1870 +(% class="western" %)
1871 +Text: Word or phrase that should be present in the question text (String)
1650 1650  
1651 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
1873 +(% class="western" %)
1874 +Type: Look up the question type.
1875 +)))
1652 1652  
1653 -----
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 +)))
1654 1654  
1655 -(% 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}}
1656 -
1657 -==== Example ====
1658 -
1659 -----
1660 -
1661 -(% style="color: rgb(107,107,107);" %)Request
1662 -
1663 -{{code language="php" theme="RDark" title="Get All Questions Request" collapse="true"}}
1664 -<?php
1665 -
1666 -$curl = curl_init();
1667 -
1668 -curl_setopt_array($curl, array(
1669 - CURLOPT_URL => 'rayaan.onecount.net/api/v2/questions',
1670 - CURLOPT_RETURNTRANSFER => true,
1671 - CURLOPT_ENCODING => '',
1672 - CURLOPT_MAXREDIRS => 10,
1673 - CURLOPT_TIMEOUT => 0,
1674 - CURLOPT_FOLLOWLOCATION => true,
1675 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
1676 - CURLOPT_CUSTOMREQUEST => 'GET',
1677 - CURLOPT_HTTPHEADER => array(
1678 - 'Appkey: 70856f83422599c8e36191098f1536ae06e7bbcd'
1679 - ),
1680 -));
1681 -
1682 -$response = curl_exec($curl);
1683 -
1684 -curl_close($curl);
1685 -echo $response;
1686 -
1687 -
1688 -
1689 -{{/code}}
1690 -
1691 1691  \\
1692 1692  
1693 -(% 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).**
1694 1694  
1695 -{{code language="yml" theme="RDark" title="Get All Questions Response" collapse="true"}}
1696 -{
1697 - "result": {
1698 - "success": "1",
1699 - "error": {
1700 - "code": "",
1701 - "message": ""
1702 - }
1703 - },
1704 - "Questions": [
1705 - {
1706 - "Id": 1,
1707 - "Text": "Email",
1708 - "Type": "0",
1709 - "Alias": "Email"
1710 - },
1711 - {
1712 - "Id": 2,
1713 - "Text": "Username",
1714 - "Type": "0",
1715 - "Alias": "Username"
1716 - },
1717 - {
1718 - "Id": 3,
1719 - "Text": "Password",
1720 - "Type": "2",
1721 - "Alias": "Password"
1722 - },
1723 - {
1724 - "Id": 4,
1725 - "Text": "First Name",
1726 - "Type": "0",
1727 - "Alias": "First Name"
1728 - },
1729 - {
1730 - "Id": 5,
1731 - "Text": "Last Name",
1732 - "Type": "0",
1733 - "Alias": "Last Name"
1734 - },
1735 - {
1736 - "Id": 6,
1737 - "Text": "Title",
1738 - "Type": "0",
1739 - "Alias": "Title"
1740 - },
1741 - {
1742 - "Id": 7,
1743 - "Text": "Company Name",
1744 - "Type": "0",
1745 - "Alias": "Company Name"
1746 - },
1747 - {
1748 - "Id": 8,
1749 - "Text": "Company Address",
1750 - "Type": "0",
1751 - "Alias": "Company Address"
1752 - },
1753 - {
1754 - "Id": 9,
1755 - "Text": "Address2",
1756 - "Type": "0",
1757 - "Alias": "Address2"
1758 - },
1759 - {
1760 - "Id": 10,
1761 - "Text": "City",
1762 - "Type": "0",
1763 - "Alias": "City"
1764 - },
1765 - {
1766 - "Id": 11,
1767 - "Text": "State/Province",
1768 - "Type": "4",
1769 - "Alias": "State/Province",
1770 - "Choices": [
1771 - {
1772 - "Id": 1554,
1773 - "QuestionId": 11,
1774 - "Text": "Select One",
1775 - "Value": "",
1776 - "Order": 1
1777 - },
1778 - {
1779 - "Id": 1562,
1780 - "QuestionId": 11,
1781 - "Text": "Alabama",
1782 - "Value": "AL",
1783 - "Order": 2
1784 - },
1785 - {
1786 - "Id": 1570,
1787 - "QuestionId": 11,
1788 - "Text": "Alaska",
1789 - "Value": "AK",
1790 - "Order": 3
1791 - },
1792 - {
1793 - "Id": 1578,
1794 - "QuestionId": 11,
1795 - "Text": "Arizona",
1796 - "Value": "AZ",
1797 - "Order": 4
1798 - },
1799 - {
1800 - "Id": 1586,
1801 - "QuestionId": 11,
1802 - "Text": "Arkansas",
1803 - "Value": "AR",
1804 - "Order": 5
1805 - },
1806 - {
1807 - "Id": 1594,
1808 - "QuestionId": 11,
1809 - "Text": "California",
1810 - "Value": "CA",
1811 - "Order": 6
1812 - },
1813 - {
1814 - "Id": 1602,
1815 - "QuestionId": 11,
1816 - "Text": "Colorado",
1817 - "Value": "CO",
1818 - "Order": 7
1819 - },
1820 - {
1821 - "Id": 1610,
1822 - "QuestionId": 11,
1823 - "Text": "Connecticut",
1824 - "Value": "CT",
1825 - "Order": 8
1826 - },
1827 - {
1828 - "Id": 1618,
1829 - "QuestionId": 11,
1830 - "Text": "Delaware",
1831 - "Value": "DE",
1832 - "Order": 9
1833 - },
1834 - {
1835 - "Id": 1626,
1836 - "QuestionId": 11,
1837 - "Text": "District of Columbia",
1838 - "Value": "DC",
1839 - "Order": 10
1840 - },
1841 - {
1842 - "Id": 1634,
1843 - "QuestionId": 11,
1844 - "Text": "Florida",
1845 - "Value": "FL",
1846 - "Order": 11
1847 - },
1848 - {
1849 - "Id": 1642,
1850 - "QuestionId": 11,
1851 - "Text": "Georgia",
1852 - "Value": "GA",
1853 - "Order": 12
1854 - },
1855 - {
1856 - "Id": 1650,
1857 - "QuestionId": 11,
1858 - "Text": "Hawaii",
1859 - "Value": "HI",
1860 - "Order": 13
1861 - },
1862 - {
1863 - "Id": 1658,
1864 - "QuestionId": 11,
1865 - "Text": "Idaho",
1866 - "Value": "ID",
1867 - "Order": 14
1868 - },
1869 - {
1870 - "Id": 1666,
1871 - "QuestionId": 11,
1872 - "Text": "Illinois",
1873 - "Value": "IL",
1874 - "Order": 15
1875 - },
1876 - {
1877 - "Id": 1674,
1878 - "QuestionId": 11,
1879 - "Text": "Indiana",
1880 - "Value": "IN",
1881 - "Order": 16
1882 - },
1883 - {
1884 - "Id": 1682,
1885 - "QuestionId": 11,
1886 - "Text": "Iowa",
1887 - "Value": "IA",
1888 - "Order": 17
1889 - },
1890 - {
1891 - "Id": 1690,
1892 - "QuestionId": 11,
1893 - "Text": "Kansas",
1894 - "Value": "KS",
1895 - "Order": 18
1896 - },
1897 - {
1898 - "Id": 1698,
1899 - "QuestionId": 11,
1900 - "Text": "Kentucky",
1901 - "Value": "KY",
1902 - "Order": 19
1903 - },
1904 - {
1905 - "Id": 1706,
1906 - "QuestionId": 11,
1907 - "Text": "Louisiana",
1908 - "Value": "LA",
1909 - "Order": 20
1910 - },
1911 - {
1912 - "Id": 1714,
1913 - "QuestionId": 11,
1914 - "Text": "Maine",
1915 - "Value": "ME",
1916 - "Order": 21
1917 - },
1918 - {
1919 - "Id": 1722,
1920 - "QuestionId": 11,
1921 - "Text": "Maryland",
1922 - "Value": "MD",
1923 - "Order": 22
1924 - },
1925 - {
1926 - "Id": 1730,
1927 - "QuestionId": 11,
1928 - "Text": "Massachusetts",
1929 - "Value": "MA",
1930 - "Order": 23
1931 - },
1932 - {
1933 - "Id": 1738,
1934 - "QuestionId": 11,
1935 - "Text": "Michigan",
1936 - "Value": "MI",
1937 - "Order": 24
1938 - },
1939 - {
1940 - "Id": 1746,
1941 - "QuestionId": 11,
1942 - "Text": "Minnesota",
1943 - "Value": "MN",
1944 - "Order": 25
1945 - },
1946 - {
1947 - "Id": 1754,
1948 - "QuestionId": 11,
1949 - "Text": "Mississippi",
1950 - "Value": "MS",
1951 - "Order": 26
1952 - },
1953 - {
1954 - "Id": 1762,
1955 - "QuestionId": 11,
1956 - "Text": "Missouri",
1957 - "Value": "MO",
1958 - "Order": 27
1959 - },
1960 - {
1961 - "Id": 1770,
1962 - "QuestionId": 11,
1963 - "Text": "Montana",
1964 - "Value": "MT",
1965 - "Order": 28
1966 - },
1967 - {
1968 - "Id": 1778,
1969 - "QuestionId": 11,
1970 - "Text": "Nebraska",
1971 - "Value": "NE",
1972 - "Order": 29
1973 - },
1974 - {
1975 - "Id": 1786,
1976 - "QuestionId": 11,
1977 - "Text": "Nevada",
1978 - "Value": "NV",
1979 - "Order": 30
1980 - },
1981 - {
1982 - "Id": 1794,
1983 - "QuestionId": 11,
1984 - "Text": "New Hampshire",
1985 - "Value": "NH",
1986 - "Order": 31
1987 - },
1988 - {
1989 - "Id": 1802,
1990 - "QuestionId": 11,
1991 - "Text": "New Jersey",
1992 - "Value": "NJ",
1993 - "Order": 32
1994 - },
1995 - {
1996 - "Id": 1810,
1997 - "QuestionId": 11,
1998 - "Text": "New Mexico",
1999 - "Value": "NM",
2000 - "Order": 33
2001 - },
2002 - {
2003 - "Id": 1818,
2004 - "QuestionId": 11,
2005 - "Text": "New York",
2006 - "Value": "NY",
2007 - "Order": 34
2008 - },
2009 - {
2010 - "Id": 1826,
2011 - "QuestionId": 11,
2012 - "Text": "North Carolina",
2013 - "Value": "NC",
2014 - "Order": 35
2015 - },
2016 - {
2017 - "Id": 1834,
2018 - "QuestionId": 11,
2019 - "Text": "Ohio",
2020 - "Value": "OH",
2021 - "Order": 37
2022 - },
2023 - {
2024 - "Id": 1842,
2025 - "QuestionId": 11,
2026 - "Text": "Oklahoma",
2027 - "Value": "OK",
2028 - "Order": 38
2029 - },
2030 - {
2031 - "Id": 1850,
2032 - "QuestionId": 11,
2033 - "Text": "Oregon",
2034 - "Value": "OR",
2035 - "Order": 39
2036 - },
2037 - {
2038 - "Id": 1858,
2039 - "QuestionId": 11,
2040 - "Text": "Pennsylvania",
2041 - "Value": "PA",
2042 - "Order": 40
2043 - },
2044 - {
2045 - "Id": 1866,
2046 - "QuestionId": 11,
2047 - "Text": "Rhode Island",
2048 - "Value": "RI",
2049 - "Order": 41
2050 - },
2051 - {
2052 - "Id": 1874,
2053 - "QuestionId": 11,
2054 - "Text": "South Carolina",
2055 - "Value": "SC",
2056 - "Order": 42
2057 - },
2058 - {
2059 - "Id": 1882,
2060 - "QuestionId": 11,
2061 - "Text": "South Dakota",
2062 - "Value": "SD",
2063 - "Order": 43
2064 - },
2065 - {
2066 - "Id": 1890,
2067 - "QuestionId": 11,
2068 - "Text": "Tennessee",
2069 - "Value": "TN",
2070 - "Order": 44
2071 - },
2072 - {
2073 - "Id": 1898,
2074 - "QuestionId": 11,
2075 - "Text": "Texas",
2076 - "Value": "TX",
2077 - "Order": 45
2078 - },
2079 - {
2080 - "Id": 1906,
2081 - "QuestionId": 11,
2082 - "Text": "Utah",
2083 - "Value": "UT",
2084 - "Order": 46
2085 - },
2086 - {
2087 - "Id": 1914,
2088 - "QuestionId": 11,
2089 - "Text": "Vermont",
2090 - "Value": "VT",
2091 - "Order": 47
2092 - },
2093 - {
2094 - "Id": 1922,
2095 - "QuestionId": 11,
2096 - "Text": "Virginia",
2097 - "Value": "VA",
2098 - "Order": 48
2099 - },
2100 - {
2101 - "Id": 1930,
2102 - "QuestionId": 11,
2103 - "Text": "Washington",
2104 - "Value": "WA",
2105 - "Order": 49
2106 - },
2107 - {
2108 - "Id": 1938,
2109 - "QuestionId": 11,
2110 - "Text": "West Virginia",
2111 - "Value": "WV",
2112 - "Order": 50
2113 - },
2114 - {
2115 - "Id": 1946,
2116 - "QuestionId": 11,
2117 - "Text": "Wisconsin",
2118 - "Value": "WI",
2119 - "Order": 51
2120 - },
2121 - {
2122 - "Id": 1954,
2123 - "QuestionId": 11,
2124 - "Text": "Wyoming",
2125 - "Value": "WY",
2126 - "Order": 52
2127 - },
2128 - {
2129 - "Id": 1962,
2130 - "QuestionId": 11,
2131 - "Text": "American Samoa",
2132 - "Value": "AS",
2133 - "Order": 53
2134 - },
2135 - {
2136 - "Id": 1970,
2137 - "QuestionId": 11,
2138 - "Text": "North Dakota",
2139 - "Value": "ND",
2140 - "Order": 36
2141 - },
2142 - {
2143 - "Id": 1978,
2144 - "QuestionId": 11,
2145 - "Text": "Federated States of Micronesia",
2146 - "Value": "FM",
2147 - "Order": 54
2148 - },
2149 - {
2150 - "Id": 1986,
2151 - "QuestionId": 11,
2152 - "Text": "Guam",
2153 - "Value": "GU",
2154 - "Order": 55
2155 - },
2156 - {
2157 - "Id": 1994,
2158 - "QuestionId": 11,
2159 - "Text": "Marshall Islands",
2160 - "Value": "MH",
2161 - "Order": 56
2162 - },
2163 - {
2164 - "Id": 2002,
2165 - "QuestionId": 11,
2166 - "Text": "Northern Mariana Islands",
2167 - "Value": "MP",
2168 - "Order": 57
2169 - },
2170 - {
2171 - "Id": 2010,
2172 - "QuestionId": 11,
2173 - "Text": "Palau",
2174 - "Value": "PW",
2175 - "Order": 58
2176 - },
2177 - {
2178 - "Id": 2018,
2179 - "QuestionId": 11,
2180 - "Text": "Puerto Rico",
2181 - "Value": "PR",
2182 - "Order": 59
2183 - },
2184 - {
2185 - "Id": 2026,
2186 - "QuestionId": 11,
2187 - "Text": "U.S. Virgin Islands",
2188 - "Value": "VI",
2189 - "Order": 60
2190 - },
2191 - {
2192 - "Id": 2034,
2193 - "QuestionId": 11,
2194 - "Text": "Armed Forces Africa",
2195 - "Value": "AE",
2196 - "Order": 61
2197 - },
2198 - {
2199 - "Id": 2042,
2200 - "QuestionId": 11,
2201 - "Text": "Armed Forces Americas (except Canada)",
2202 - "Value": "AA",
2203 - "Order": 62
2204 - },
2205 - {
2206 - "Id": 2050,
2207 - "QuestionId": 11,
2208 - "Text": "Armed Forces Canada",
2209 - "Value": "AE",
2210 - "Order": 63
2211 - },
2212 - {
2213 - "Id": 2058,
2214 - "QuestionId": 11,
2215 - "Text": "Armed Forces Europe",
2216 - "Value": "AE",
2217 - "Order": 64
2218 - },
2219 - {
2220 - "Id": 2066,
2221 - "QuestionId": 11,
2222 - "Text": "Armed Forces Middle East",
2223 - "Value": "AE",
2224 - "Order": 65
2225 - },
2226 - {
2227 - "Id": 2074,
2228 - "QuestionId": 11,
2229 - "Text": "Armed Forces Pacific",
2230 - "Value": "AP",
2231 - "Order": 66
2232 - },
2233 - {
2234 - "Id": 2082,
2235 - "QuestionId": 11,
2236 - "Text": "Non-US/Not Applicable",
2237 - "Value": "Non-US/Not Applicable",
2238 - "Order": 67
2239 - },
2240 - {
2241 - "Id": 2090,
2242 - "QuestionId": 11,
2243 - "Text": "Ontario",
2244 - "Value": "Ontario",
2245 - "Order": 68
2246 - },
2247 - {
2248 - "Id": 2098,
2249 - "QuestionId": 11,
2250 - "Text": "Quebec",
2251 - "Value": "Quebec",
2252 - "Order": 69
2253 - },
2254 - {
2255 - "Id": 2106,
2256 - "QuestionId": 11,
2257 - "Text": "Nova Scotia",
2258 - "Value": "Nova Scotia",
2259 - "Order": 70
2260 - },
2261 - {
2262 - "Id": 2114,
2263 - "QuestionId": 11,
2264 - "Text": "New Brunswick",
2265 - "Value": "New Brunswick",
2266 - "Order": 71
2267 - },
2268 - {
2269 - "Id": 2122,
2270 - "QuestionId": 11,
2271 - "Text": "Manitoba",
2272 - "Value": "Manitoba",
2273 - "Order": 72
2274 - },
2275 - {
2276 - "Id": 2130,
2277 - "QuestionId": 11,
2278 - "Text": "Brittish Columbia",
2279 - "Value": "Brittish Columbia",
2280 - "Order": 73
2281 - },
2282 - {
2283 - "Id": 2138,
2284 - "QuestionId": 11,
2285 - "Text": "Prince Edward Island",
2286 - "Value": "Prince Edward Island",
2287 - "Order": 74
2288 - },
2289 - {
2290 - "Id": 2146,
2291 - "QuestionId": 11,
2292 - "Text": "Saskatchewan",
2293 - "Value": "Saskatchewan",
2294 - "Order": 75
2295 - },
2296 - {
2297 - "Id": 2154,
2298 - "QuestionId": 11,
2299 - "Text": "Alberta",
2300 - "Value": "Alberta",
2301 - "Order": 76
2302 - },
2303 - {
2304 - "Id": 2162,
2305 - "QuestionId": 11,
2306 - "Text": "Newfoundland and Labrador",
2307 - "Value": "Newfoundland and Labrador",
2308 - "Order": 77
2309 - },
2310 - {
2311 - "Id": 2170,
2312 - "QuestionId": 11,
2313 - "Text": "British Columbia",
2314 - "Value": "British Columbia",
2315 - "Order": 78
2316 - },
2317 - {
2318 - "Id": 2178,
2319 - "QuestionId": 11,
2320 - "Text": "Ontario",
2321 - "Value": "ON",
2322 - "Order": 79
2323 - }
2324 - ]
2325 - },
2326 - {
2327 - "Id": 12,
2328 - "Text": "Zip/Postal Code",
2329 - "Type": "0",
2330 - "Alias": "Zip/Postal Code"
2331 - },
2332 - {
2333 - "Id": 13,
2334 - "Text": "Country",
2335 - "Type": "4",
2336 - "Alias": "Country",
2337 - "Choices": [
2338 - {
2339 - "Id": 2,
2340 - "QuestionId": 13,
2341 - "Text": "Select One",
2342 - "Value": "",
2343 - "Order": 1
2344 - },
2345 - {
2346 - "Id": 10,
2347 - "QuestionId": 13,
2348 - "Text": "Afghanistan",
2349 - "Value": "Afghanistan",
2350 - "Order": 3
2351 - },
2352 - {
2353 - "Id": 18,
2354 - "QuestionId": 13,
2355 - "Text": "Albania",
2356 - "Value": "Albania",
2357 - "Order": 4
2358 - },
2359 - {
2360 - "Id": 26,
2361 - "QuestionId": 13,
2362 - "Text": "Algeria",
2363 - "Value": "Algeria",
2364 - "Order": 5
2365 - },
2366 - {
2367 - "Id": 34,
2368 - "QuestionId": 13,
2369 - "Text": "Andorra",
2370 - "Value": "Andorra",
2371 - "Order": 6
2372 - },
2373 - {
2374 - "Id": 42,
2375 - "QuestionId": 13,
2376 - "Text": "Angola",
2377 - "Value": "Angola",
2378 - "Order": 7
2379 - },
2380 - {
2381 - "Id": 50,
2382 - "QuestionId": 13,
2383 - "Text": "Antigua and Barbuda",
2384 - "Value": "Antigua and Barbuda",
2385 - "Order": 8
2386 - },
2387 - {
2388 - "Id": 58,
2389 - "QuestionId": 13,
2390 - "Text": "Argentina",
2391 - "Value": "Argentina",
2392 - "Order": 9
2393 - },
2394 - {
2395 - "Id": 66,
2396 - "QuestionId": 13,
2397 - "Text": "Armenia",
2398 - "Value": "Armenia",
2399 - "Order": 10
2400 - },
2401 - {
2402 - "Id": 74,
2403 - "QuestionId": 13,
2404 - "Text": "Australia",
2405 - "Value": "Australia",
2406 - "Order": 11
2407 - },
2408 - {
2409 - "Id": 82,
2410 - "QuestionId": 13,
2411 - "Text": "Austria",
2412 - "Value": "Austria",
2413 - "Order": 12
2414 - },
2415 - {
2416 - "Id": 90,
2417 - "QuestionId": 13,
2418 - "Text": "Azerbaijan",
2419 - "Value": "Azerbaijan",
2420 - "Order": 13
2421 - },
2422 - {
2423 - "Id": 98,
2424 - "QuestionId": 13,
2425 - "Text": "Bahamas",
2426 - "Value": "Bahamas",
2427 - "Order": 14
2428 - },
2429 - {
2430 - "Id": 106,
2431 - "QuestionId": 13,
2432 - "Text": "Bahrain",
2433 - "Value": "Bahrain",
2434 - "Order": 15
2435 - },
2436 - {
2437 - "Id": 114,
2438 - "QuestionId": 13,
2439 - "Text": "Bangladesh",
2440 - "Value": "Bangladesh",
2441 - "Order": 16
2442 - },
2443 - {
2444 - "Id": 122,
2445 - "QuestionId": 13,
2446 - "Text": "Barbados",
2447 - "Value": "Barbados",
2448 - "Order": 17
2449 - },
2450 - {
2451 - "Id": 130,
2452 - "QuestionId": 13,
2453 - "Text": "Belarus",
2454 - "Value": "Belarus",
2455 - "Order": 18
2456 - },
2457 - {
2458 - "Id": 138,
2459 - "QuestionId": 13,
2460 - "Text": "Belgium",
2461 - "Value": "Belgium",
2462 - "Order": 19
2463 - },
2464 - {
2465 - "Id": 146,
2466 - "QuestionId": 13,
2467 - "Text": "Belize",
2468 - "Value": "Belize",
2469 - "Order": 20
2470 - },
2471 - {
2472 - "Id": 154,
2473 - "QuestionId": 13,
2474 - "Text": "Benin",
2475 - "Value": "Benin",
2476 - "Order": 21
2477 - },
2478 - {
2479 - "Id": 162,
2480 - "QuestionId": 13,
2481 - "Text": "Bhutan",
2482 - "Value": "Bhutan",
2483 - "Order": 22
2484 - },
2485 - {
2486 - "Id": 170,
2487 - "QuestionId": 13,
2488 - "Text": "Bolivia",
2489 - "Value": "Bolivia",
2490 - "Order": 23
2491 - },
2492 - {
2493 - "Id": 178,
2494 - "QuestionId": 13,
2495 - "Text": "Bosnia and Herzegovina",
2496 - "Value": "Bosnia and Herzegovina",
2497 - "Order": 24
2498 - },
2499 - {
2500 - "Id": 186,
2501 - "QuestionId": 13,
2502 - "Text": "Botswana",
2503 - "Value": "Botswana",
2504 - "Order": 25
2505 - },
2506 - {
2507 - "Id": 194,
2508 - "QuestionId": 13,
2509 - "Text": "Brazil",
2510 - "Value": "Brazil",
2511 - "Order": 26
2512 - },
2513 - {
2514 - "Id": 202,
2515 - "QuestionId": 13,
2516 - "Text": "Brunei",
2517 - "Value": "Brunei",
2518 - "Order": 27
2519 - },
2520 - {
2521 - "Id": 210,
2522 - "QuestionId": 13,
2523 - "Text": "Bulgaria",
2524 - "Value": "Bulgaria",
2525 - "Order": 28
2526 - },
2527 - {
2528 - "Id": 218,
2529 - "QuestionId": 13,
2530 - "Text": "Burkina Faso",
2531 - "Value": "Burkina Faso",
2532 - "Order": 29
2533 - },
2534 - {
2535 - "Id": 226,
2536 - "QuestionId": 13,
2537 - "Text": "Burundi",
2538 - "Value": "Burundi",
2539 - "Order": 30
2540 - },
2541 - {
2542 - "Id": 234,
2543 - "QuestionId": 13,
2544 - "Text": "Cambodia",
2545 - "Value": "Cambodia",
2546 - "Order": 31
2547 - },
2548 - {
2549 - "Id": 242,
2550 - "QuestionId": 13,
2551 - "Text": "Cameroon",
2552 - "Value": "Cameroon",
2553 - "Order": 32
2554 - },
2555 - {
2556 - "Id": 250,
2557 - "QuestionId": 13,
2558 - "Text": "Canada",
2559 - "Value": "Canada",
2560 - "Order": 33
2561 - },
2562 - {
2563 - "Id": 258,
2564 - "QuestionId": 13,
2565 - "Text": "Cape Verde",
2566 - "Value": "Cape Verde",
2567 - "Order": 34
2568 - },
2569 - {
2570 - "Id": 266,
2571 - "QuestionId": 13,
2572 - "Text": "Central African Republic",
2573 - "Value": "Central African Republic",
2574 - "Order": 35
2575 - },
2576 - {
2577 - "Id": 274,
2578 - "QuestionId": 13,
2579 - "Text": "Chad",
2580 - "Value": "Chad",
2581 - "Order": 36
2582 - },
2583 - {
2584 - "Id": 282,
2585 - "QuestionId": 13,
2586 - "Text": "Chile",
2587 - "Value": "Chile",
2588 - "Order": 37
2589 - },
2590 - {
2591 - "Id": 290,
2592 - "QuestionId": 13,
2593 - "Text": "China",
2594 - "Value": "China",
2595 - "Order": 38
2596 - },
2597 - {
2598 - "Id": 298,
2599 - "QuestionId": 13,
2600 - "Text": "Colombia",
2601 - "Value": "Colombia",
2602 - "Order": 39
2603 - },
2604 - {
2605 - "Id": 306,
2606 - "QuestionId": 13,
2607 - "Text": "Comoros",
2608 - "Value": "Comoros",
2609 - "Order": 40
2610 - },
2611 - {
2612 - "Id": 314,
2613 - "QuestionId": 13,
2614 - "Text": "Congo (Brazzaville)",
2615 - "Value": "Congo (Brazzaville)",
2616 - "Order": 41
2617 - },
2618 - {
2619 - "Id": 322,
2620 - "QuestionId": 13,
2621 - "Text": "Congo",
2622 - "Value": "Congo",
2623 - "Order": 42
2624 - },
2625 - {
2626 - "Id": 330,
2627 - "QuestionId": 13,
2628 - "Text": "Costa Rica",
2629 - "Value": "Costa Rica",
2630 - "Order": 43
2631 - },
2632 - {
2633 - "Id": 338,
2634 - "QuestionId": 13,
2635 - "Text": "Cote d'Ivoire",
2636 - "Value": "Cote d'Ivoire",
2637 - "Order": 44
2638 - },
2639 - {
2640 - "Id": 346,
2641 - "QuestionId": 13,
2642 - "Text": "Croatia",
2643 - "Value": "Croatia",
2644 - "Order": 45
2645 - },
2646 - {
2647 - "Id": 354,
2648 - "QuestionId": 13,
2649 - "Text": "Cuba",
2650 - "Value": "Cuba",
2651 - "Order": 46
2652 - },
2653 - {
2654 - "Id": 362,
2655 - "QuestionId": 13,
2656 - "Text": "Cyprus",
2657 - "Value": "Cyprus",
2658 - "Order": 47
2659 - },
2660 - {
2661 - "Id": 370,
2662 - "QuestionId": 13,
2663 - "Text": "Czech Republic",
2664 - "Value": "Czech Republic",
2665 - "Order": 48
2666 - },
2667 - {
2668 - "Id": 378,
2669 - "QuestionId": 13,
2670 - "Text": "Denmark",
2671 - "Value": "Denmark",
2672 - "Order": 49
2673 - },
2674 - {
2675 - "Id": 386,
2676 - "QuestionId": 13,
2677 - "Text": "Djibouti",
2678 - "Value": "Djibouti",
2679 - "Order": 50
2680 - },
2681 - {
2682 - "Id": 394,
2683 - "QuestionId": 13,
2684 - "Text": "Dominica",
2685 - "Value": "Dominica",
2686 - "Order": 51
2687 - },
2688 - {
2689 - "Id": 402,
2690 - "QuestionId": 13,
2691 - "Text": "Dominican Republic",
2692 - "Value": "Dominican Republic",
2693 - "Order": 52
2694 - },
2695 - {
2696 - "Id": 410,
2697 - "QuestionId": 13,
2698 - "Text": "East Timor",
2699 - "Value": "East Timor",
2700 - "Order": 53
2701 - },
2702 - {
2703 - "Id": 418,
2704 - "QuestionId": 13,
2705 - "Text": "Ecuador",
2706 - "Value": "Ecuador",
2707 - "Order": 54
2708 - },
2709 - {
2710 - "Id": 426,
2711 - "QuestionId": 13,
2712 - "Text": "Egypt",
2713 - "Value": "Egypt",
2714 - "Order": 55
2715 - },
2716 - {
2717 - "Id": 434,
2718 - "QuestionId": 13,
2719 - "Text": "El Salvador",
2720 - "Value": "El Salvador",
2721 - "Order": 56
2722 - },
2723 - {
2724 - "Id": 442,
2725 - "QuestionId": 13,
2726 - "Text": "Equatorial Guinea",
2727 - "Value": "Equatorial Guinea",
2728 - "Order": 57
2729 - },
2730 - {
2731 - "Id": 450,
2732 - "QuestionId": 13,
2733 - "Text": "Eritrea",
2734 - "Value": "Eritrea",
2735 - "Order": 58
2736 - },
2737 - {
2738 - "Id": 458,
2739 - "QuestionId": 13,
2740 - "Text": "Estonia",
2741 - "Value": "Estonia",
2742 - "Order": 59
2743 - },
2744 - {
2745 - "Id": 466,
2746 - "QuestionId": 13,
2747 - "Text": "Ethiopia",
2748 - "Value": "Ethiopia",
2749 - "Order": 60
2750 - },
2751 - {
2752 - "Id": 474,
2753 - "QuestionId": 13,
2754 - "Text": "Fiji",
2755 - "Value": "Fiji",
2756 - "Order": 61
2757 - },
2758 - {
2759 - "Id": 482,
2760 - "QuestionId": 13,
2761 - "Text": "Finland",
2762 - "Value": "Finland",
2763 - "Order": 62
2764 - },
2765 - {
2766 - "Id": 490,
2767 - "QuestionId": 13,
2768 - "Text": "France",
2769 - "Value": "France",
2770 - "Order": 63
2771 - },
2772 - {
2773 - "Id": 498,
2774 - "QuestionId": 13,
2775 - "Text": "Gabon",
2776 - "Value": "Gabon",
2777 - "Order": 64
2778 - },
2779 - {
2780 - "Id": 506,
2781 - "QuestionId": 13,
2782 - "Text": "Gambia, The",
2783 - "Value": "Gambia, The",
2784 - "Order": 65
2785 - },
2786 - {
2787 - "Id": 514,
2788 - "QuestionId": 13,
2789 - "Text": "Georgia",
2790 - "Value": "Georgia",
2791 - "Order": 66
2792 - },
2793 - {
2794 - "Id": 522,
2795 - "QuestionId": 13,
2796 - "Text": "Germany",
2797 - "Value": "Germany",
2798 - "Order": 67
2799 - },
2800 - {
2801 - "Id": 530,
2802 - "QuestionId": 13,
2803 - "Text": "Ghana",
2804 - "Value": "Ghana",
2805 - "Order": 68
2806 - },
2807 - {
2808 - "Id": 538,
2809 - "QuestionId": 13,
2810 - "Text": "Greece",
2811 - "Value": "Greece",
2812 - "Order": 69
2813 - },
2814 - {
2815 - "Id": 546,
2816 - "QuestionId": 13,
2817 - "Text": "Grenada",
2818 - "Value": "Grenada",
2819 - "Order": 70
2820 - },
2821 - {
2822 - "Id": 554,
2823 - "QuestionId": 13,
2824 - "Text": "Guatemala",
2825 - "Value": "Guatemala",
2826 - "Order": 71
2827 - },
2828 - {
2829 - "Id": 562,
2830 - "QuestionId": 13,
2831 - "Text": "Guinea",
2832 - "Value": "Guinea",
2833 - "Order": 72
2834 - },
2835 - {
2836 - "Id": 570,
2837 - "QuestionId": 13,
2838 - "Text": "Guinea-Bissau",
2839 - "Value": "Guinea-Bissau",
2840 - "Order": 73
2841 - },
2842 - {
2843 - "Id": 578,
2844 - "QuestionId": 13,
2845 - "Text": "Guyana",
2846 - "Value": "Guyana",
2847 - "Order": 74
2848 - },
2849 - {
2850 - "Id": 586,
2851 - "QuestionId": 13,
2852 - "Text": "Haiti",
2853 - "Value": "Haiti",
2854 - "Order": 75
2855 - },
2856 - {
2857 - "Id": 594,
2858 - "QuestionId": 13,
2859 - "Text": "Honduras",
2860 - "Value": "Honduras",
2861 - "Order": 76
2862 - },
2863 - {
2864 - "Id": 602,
2865 - "QuestionId": 13,
2866 - "Text": "Hungary",
2867 - "Value": "Hungary",
2868 - "Order": 77
2869 - },
2870 - {
2871 - "Id": 610,
2872 - "QuestionId": 13,
2873 - "Text": "Iceland",
2874 - "Value": "Iceland",
2875 - "Order": 78
2876 - },
2877 - {
2878 - "Id": 618,
2879 - "QuestionId": 13,
2880 - "Text": "India",
2881 - "Value": "India",
2882 - "Order": 79
2883 - },
2884 - {
2885 - "Id": 626,
2886 - "QuestionId": 13,
2887 - "Text": "Indonesia",
2888 - "Value": "Indonesia",
2889 - "Order": 80
2890 - },
2891 - {
2892 - "Id": 634,
2893 - "QuestionId": 13,
2894 - "Text": "Iran",
2895 - "Value": "Iran",
2896 - "Order": 81
2897 - },
2898 - {
2899 - "Id": 642,
2900 - "QuestionId": 13,
2901 - "Text": "Iraq",
2902 - "Value": "Iraq",
2903 - "Order": 82
2904 - },
2905 - {
2906 - "Id": 650,
2907 - "QuestionId": 13,
2908 - "Text": "Ireland",
2909 - "Value": "Ireland",
2910 - "Order": 83
2911 - },
2912 - {
2913 - "Id": 658,
2914 - "QuestionId": 13,
2915 - "Text": "Israel",
2916 - "Value": "Israel",
2917 - "Order": 84
2918 - },
2919 - {
2920 - "Id": 666,
2921 - "QuestionId": 13,
2922 - "Text": "Italy",
2923 - "Value": "Italy",
2924 - "Order": 85
2925 - },
2926 - {
2927 - "Id": 674,
2928 - "QuestionId": 13,
2929 - "Text": "Jamaica",
2930 - "Value": "Jamaica",
2931 - "Order": 86
2932 - },
2933 - {
2934 - "Id": 682,
2935 - "QuestionId": 13,
2936 - "Text": "Japan",
2937 - "Value": "Japan",
2938 - "Order": 87
2939 - },
2940 - {
2941 - "Id": 690,
2942 - "QuestionId": 13,
2943 - "Text": "Jordan",
2944 - "Value": "Jordan",
2945 - "Order": 88
2946 - },
2947 - {
2948 - "Id": 698,
2949 - "QuestionId": 13,
2950 - "Text": "Kazakhstan",
2951 - "Value": "Kazakhstan",
2952 - "Order": 89
2953 - },
2954 - {
2955 - "Id": 706,
2956 - "QuestionId": 13,
2957 - "Text": "Kenya",
2958 - "Value": "Kenya",
2959 - "Order": 90
2960 - },
2961 - {
2962 - "Id": 714,
2963 - "QuestionId": 13,
2964 - "Text": "Kiribati",
2965 - "Value": "Kiribati",
2966 - "Order": 91
2967 - },
2968 - {
2969 - "Id": 722,
2970 - "QuestionId": 13,
2971 - "Text": "Korea, North",
2972 - "Value": "Korea, North",
2973 - "Order": 92
2974 - },
2975 - {
2976 - "Id": 730,
2977 - "QuestionId": 13,
2978 - "Text": "Korea, South",
2979 - "Value": "Korea, South",
2980 - "Order": 93
2981 - },
2982 - {
2983 - "Id": 738,
2984 - "QuestionId": 13,
2985 - "Text": "Kuwait",
2986 - "Value": "Kuwait",
2987 - "Order": 94
2988 - },
2989 - {
2990 - "Id": 746,
2991 - "QuestionId": 13,
2992 - "Text": "Kyrgyzstan",
2993 - "Value": "Kyrgyzstan",
2994 - "Order": 95
2995 - },
2996 - {
2997 - "Id": 754,
2998 - "QuestionId": 13,
2999 - "Text": "Laos",
3000 - "Value": "Laos",
3001 - "Order": 96
3002 - },
3003 - {
3004 - "Id": 762,
3005 - "QuestionId": 13,
3006 - "Text": "Latvia",
3007 - "Value": "Latvia",
3008 - "Order": 97
3009 - },
3010 - {
3011 - "Id": 770,
3012 - "QuestionId": 13,
3013 - "Text": "Lebanon",
3014 - "Value": "Lebanon",
3015 - "Order": 98
3016 - },
3017 - {
3018 - "Id": 778,
3019 - "QuestionId": 13,
3020 - "Text": "Lesotho",
3021 - "Value": "Lesotho",
3022 - "Order": 99
3023 - },
3024 - {
3025 - "Id": 786,
3026 - "QuestionId": 13,
3027 - "Text": "Liberia",
3028 - "Value": "Liberia",
3029 - "Order": 100
3030 - },
3031 - {
3032 - "Id": 794,
3033 - "QuestionId": 13,
3034 - "Text": "Libya",
3035 - "Value": "Libya",
3036 - "Order": 101
3037 - },
3038 - {
3039 - "Id": 802,
3040 - "QuestionId": 13,
3041 - "Text": "Liechtenstein",
3042 - "Value": "Liechtenstein",
3043 - "Order": 102
3044 - },
3045 - {
3046 - "Id": 810,
3047 - "QuestionId": 13,
3048 - "Text": "Lithuania",
3049 - "Value": "Lithuania",
3050 - "Order": 103
3051 - },
3052 - {
3053 - "Id": 818,
3054 - "QuestionId": 13,
3055 - "Text": "Luxembourg",
3056 - "Value": "Luxembourg",
3057 - "Order": 104
3058 - },
3059 - {
3060 - "Id": 826,
3061 - "QuestionId": 13,
3062 - "Text": "Macedonia",
3063 - "Value": "Macedonia",
3064 - "Order": 105
3065 - },
3066 - {
3067 - "Id": 834,
3068 - "QuestionId": 13,
3069 - "Text": "Madagascar",
3070 - "Value": "Madagascar",
3071 - "Order": 106
3072 - },
3073 - {
3074 - "Id": 842,
3075 - "QuestionId": 13,
3076 - "Text": "Malawi",
3077 - "Value": "Malawi",
3078 - "Order": 107
3079 - },
3080 - {
3081 - "Id": 850,
3082 - "QuestionId": 13,
3083 - "Text": "Malaysia",
3084 - "Value": "Malaysia",
3085 - "Order": 108
3086 - },
3087 - {
3088 - "Id": 858,
3089 - "QuestionId": 13,
3090 - "Text": "Maldives",
3091 - "Value": "Maldives",
3092 - "Order": 109
3093 - },
3094 - {
3095 - "Id": 866,
3096 - "QuestionId": 13,
3097 - "Text": "Mali",
3098 - "Value": "Mali",
3099 - "Order": 110
3100 - },
3101 - {
3102 - "Id": 874,
3103 - "QuestionId": 13,
3104 - "Text": "Malta",
3105 - "Value": "Malta",
3106 - "Order": 111
3107 - },
3108 - {
3109 - "Id": 882,
3110 - "QuestionId": 13,
3111 - "Text": "Marshall Islands",
3112 - "Value": "Marshall Islands",
3113 - "Order": 112
3114 - },
3115 - {
3116 - "Id": 890,
3117 - "QuestionId": 13,
3118 - "Text": "Mauritania",
3119 - "Value": "Mauritania",
3120 - "Order": 113
3121 - },
3122 - {
3123 - "Id": 898,
3124 - "QuestionId": 13,
3125 - "Text": "Mauritius",
3126 - "Value": "Mauritius",
3127 - "Order": 114
3128 - },
3129 - {
3130 - "Id": 906,
3131 - "QuestionId": 13,
3132 - "Text": "Mexico",
3133 - "Value": "Mexico",
3134 - "Order": 115
3135 - },
3136 - {
3137 - "Id": 914,
3138 - "QuestionId": 13,
3139 - "Text": "Micronesia",
3140 - "Value": "Micronesia",
3141 - "Order": 116
3142 - },
3143 - {
3144 - "Id": 922,
3145 - "QuestionId": 13,
3146 - "Text": "Moldova",
3147 - "Value": "Moldova",
3148 - "Order": 117
3149 - },
3150 - {
3151 - "Id": 930,
3152 - "QuestionId": 13,
3153 - "Text": "Monaco",
3154 - "Value": "Monaco",
3155 - "Order": 118
3156 - },
3157 - {
3158 - "Id": 938,
3159 - "QuestionId": 13,
3160 - "Text": "Mongolia",
3161 - "Value": "Mongolia",
3162 - "Order": 119
3163 - },
3164 - {
3165 - "Id": 946,
3166 - "QuestionId": 13,
3167 - "Text": "Morocco",
3168 - "Value": "Morocco",
3169 - "Order": 120
3170 - },
3171 - {
3172 - "Id": 954,
3173 - "QuestionId": 13,
3174 - "Text": "Mozambique",
3175 - "Value": "Mozambique",
3176 - "Order": 121
3177 - },
3178 - {
3179 - "Id": 962,
3180 - "QuestionId": 13,
3181 - "Text": "Myanmar",
3182 - "Value": "Myanmar",
3183 - "Order": 122
3184 - },
3185 - {
3186 - "Id": 970,
3187 - "QuestionId": 13,
3188 - "Text": "Namibia",
3189 - "Value": "Namibia",
3190 - "Order": 123
3191 - },
3192 - {
3193 - "Id": 978,
3194 - "QuestionId": 13,
3195 - "Text": "Nauru",
3196 - "Value": "Nauru",
3197 - "Order": 124
3198 - },
3199 - {
3200 - "Id": 986,
3201 - "QuestionId": 13,
3202 - "Text": "Nepa",
3203 - "Value": "Nepa",
3204 - "Order": 125
3205 - },
3206 - {
3207 - "Id": 994,
3208 - "QuestionId": 13,
3209 - "Text": "Netherlands",
3210 - "Value": "Netherlands",
3211 - "Order": 126
3212 - },
3213 - {
3214 - "Id": 1002,
3215 - "QuestionId": 13,
3216 - "Text": "New Zealand",
3217 - "Value": "New Zealand",
3218 - "Order": 127
3219 - },
3220 - {
3221 - "Id": 1010,
3222 - "QuestionId": 13,
3223 - "Text": "Nicaragua",
3224 - "Value": "Nicaragua",
3225 - "Order": 128
3226 - },
3227 - {
3228 - "Id": 1018,
3229 - "QuestionId": 13,
3230 - "Text": "Niger",
3231 - "Value": "Niger",
3232 - "Order": 129
3233 - },
3234 - {
3235 - "Id": 1026,
3236 - "QuestionId": 13,
3237 - "Text": "Nigeria",
3238 - "Value": "Nigeria",
3239 - "Order": 130
3240 - },
3241 - {
3242 - "Id": 1034,
3243 - "QuestionId": 13,
3244 - "Text": "Norway",
3245 - "Value": "Norway",
3246 - "Order": 131
3247 - },
3248 - {
3249 - "Id": 1042,
3250 - "QuestionId": 13,
3251 - "Text": "Oman",
3252 - "Value": "Oman",
3253 - "Order": 132
3254 - },
3255 - {
3256 - "Id": 1050,
3257 - "QuestionId": 13,
3258 - "Text": "Pakistan",
3259 - "Value": "Pakistan",
3260 - "Order": 133
3261 - },
3262 - {
3263 - "Id": 1058,
3264 - "QuestionId": 13,
3265 - "Text": "Palau",
3266 - "Value": "Palau",
3267 - "Order": 134
3268 - },
3269 - {
3270 - "Id": 1066,
3271 - "QuestionId": 13,
3272 - "Text": "Panama",
3273 - "Value": "Panama",
3274 - "Order": 135
3275 - },
3276 - {
3277 - "Id": 1074,
3278 - "QuestionId": 13,
3279 - "Text": "Papua New Guinea",
3280 - "Value": "Papua New Guinea",
3281 - "Order": 136
3282 - },
3283 - {
3284 - "Id": 1082,
3285 - "QuestionId": 13,
3286 - "Text": "Paraguay",
3287 - "Value": "Paraguay",
3288 - "Order": 137
3289 - },
3290 - {
3291 - "Id": 1090,
3292 - "QuestionId": 13,
3293 - "Text": "Peru",
3294 - "Value": "Peru",
3295 - "Order": 138
3296 - },
3297 - {
3298 - "Id": 1098,
3299 - "QuestionId": 13,
3300 - "Text": "Philippines",
3301 - "Value": "Philippines",
3302 - "Order": 139
3303 - },
3304 - {
3305 - "Id": 1106,
3306 - "QuestionId": 13,
3307 - "Text": "Poland",
3308 - "Value": "Poland",
3309 - "Order": 140
3310 - },
3311 - {
3312 - "Id": 1114,
3313 - "QuestionId": 13,
3314 - "Text": "Portugal",
3315 - "Value": "Portugal",
3316 - "Order": 141
3317 - },
3318 - {
3319 - "Id": 1122,
3320 - "QuestionId": 13,
3321 - "Text": "Qatar",
3322 - "Value": "Qatar",
3323 - "Order": 142
3324 - },
3325 - {
3326 - "Id": 1130,
3327 - "QuestionId": 13,
3328 - "Text": "Romania",
3329 - "Value": "Romania",
3330 - "Order": 143
3331 - },
3332 - {
3333 - "Id": 1138,
3334 - "QuestionId": 13,
3335 - "Text": "Russia",
3336 - "Value": "Russia",
3337 - "Order": 144
3338 - },
3339 - {
3340 - "Id": 1146,
3341 - "QuestionId": 13,
3342 - "Text": "Rwanda",
3343 - "Value": "Rwanda",
3344 - "Order": 145
3345 - },
3346 - {
3347 - "Id": 1154,
3348 - "QuestionId": 13,
3349 - "Text": "Saint Kitts and Nevis",
3350 - "Value": "Saint Kitts and Nevis",
3351 - "Order": 146
3352 - },
3353 - {
3354 - "Id": 1162,
3355 - "QuestionId": 13,
3356 - "Text": "Saint Lucia",
3357 - "Value": "Saint Lucia",
3358 - "Order": 147
3359 - },
3360 - {
3361 - "Id": 1170,
3362 - "QuestionId": 13,
3363 - "Text": "Saint Vincent",
3364 - "Value": "Saint Vincent",
3365 - "Order": 148
3366 - },
3367 - {
3368 - "Id": 1178,
3369 - "QuestionId": 13,
3370 - "Text": "Samoa",
3371 - "Value": "Samoa",
3372 - "Order": 149
3373 - },
3374 - {
3375 - "Id": 1186,
3376 - "QuestionId": 13,
3377 - "Text": "San Marino",
3378 - "Value": "San Marino",
3379 - "Order": 150
3380 - },
3381 - {
3382 - "Id": 1194,
3383 - "QuestionId": 13,
3384 - "Text": "Sao Tome and Principe",
3385 - "Value": "Sao Tome and Principe",
3386 - "Order": 151
3387 - },
3388 - {
3389 - "Id": 1202,
3390 - "QuestionId": 13,
3391 - "Text": "Saudi Arabia",
3392 - "Value": "Saudi Arabia",
3393 - "Order": 152
3394 - },
3395 - {
3396 - "Id": 1210,
3397 - "QuestionId": 13,
3398 - "Text": "Senegal",
3399 - "Value": "Senegal",
3400 - "Order": 153
3401 - },
3402 - {
3403 - "Id": 1218,
3404 - "QuestionId": 13,
3405 - "Text": "Serbia and Montenegro",
3406 - "Value": "Serbia and Montenegro",
3407 - "Order": 154
3408 - },
3409 - {
3410 - "Id": 1226,
3411 - "QuestionId": 13,
3412 - "Text": "Seychelles",
3413 - "Value": "Seychelles",
3414 - "Order": 155
3415 - },
3416 - {
3417 - "Id": 1234,
3418 - "QuestionId": 13,
3419 - "Text": "Sierra Leone",
3420 - "Value": "Sierra Leone",
3421 - "Order": 156
3422 - },
3423 - {
3424 - "Id": 1242,
3425 - "QuestionId": 13,
3426 - "Text": "Singapore",
3427 - "Value": "Singapore",
3428 - "Order": 157
3429 - },
3430 - {
3431 - "Id": 1250,
3432 - "QuestionId": 13,
3433 - "Text": "Slovakia",
3434 - "Value": "Slovakia",
3435 - "Order": 158
3436 - },
3437 - {
3438 - "Id": 1258,
3439 - "QuestionId": 13,
3440 - "Text": "Slovenia",
3441 - "Value": "Slovenia",
3442 - "Order": 159
3443 - },
3444 - {
3445 - "Id": 1266,
3446 - "QuestionId": 13,
3447 - "Text": "Solomon Islands",
3448 - "Value": "Solomon Islands",
3449 - "Order": 160
3450 - },
3451 - {
3452 - "Id": 1274,
3453 - "QuestionId": 13,
3454 - "Text": "Somalia",
3455 - "Value": "Somalia",
3456 - "Order": 161
3457 - },
3458 - {
3459 - "Id": 1282,
3460 - "QuestionId": 13,
3461 - "Text": "South Africa",
3462 - "Value": "South Africa",
3463 - "Order": 162
3464 - },
3465 - {
3466 - "Id": 1290,
3467 - "QuestionId": 13,
3468 - "Text": "Spain",
3469 - "Value": "Spain",
3470 - "Order": 163
3471 - },
3472 - {
3473 - "Id": 1298,
3474 - "QuestionId": 13,
3475 - "Text": "Sri Lanka",
3476 - "Value": "Sri Lanka",
3477 - "Order": 164
3478 - },
3479 - {
3480 - "Id": 1306,
3481 - "QuestionId": 13,
3482 - "Text": "Sudan",
3483 - "Value": "Sudan",
3484 - "Order": 165
3485 - },
3486 - {
3487 - "Id": 1314,
3488 - "QuestionId": 13,
3489 - "Text": "Suriname",
3490 - "Value": "Suriname",
3491 - "Order": 166
3492 - },
3493 - {
3494 - "Id": 1322,
3495 - "QuestionId": 13,
3496 - "Text": "Swaziland",
3497 - "Value": "Swaziland",
3498 - "Order": 167
3499 - },
3500 - {
3501 - "Id": 1330,
3502 - "QuestionId": 13,
3503 - "Text": "Sweden",
3504 - "Value": "Sweden",
3505 - "Order": 168
3506 - },
3507 - {
3508 - "Id": 1338,
3509 - "QuestionId": 13,
3510 - "Text": "Switzerland",
3511 - "Value": "Switzerland",
3512 - "Order": 169
3513 - },
3514 - {
3515 - "Id": 1346,
3516 - "QuestionId": 13,
3517 - "Text": "Syria",
3518 - "Value": "Syria",
3519 - "Order": 170
3520 - },
3521 - {
3522 - "Id": 1354,
3523 - "QuestionId": 13,
3524 - "Text": "Taiwan",
3525 - "Value": "Taiwan",
3526 - "Order": 171
3527 - },
3528 - {
3529 - "Id": 1362,
3530 - "QuestionId": 13,
3531 - "Text": "Tajikistan",
3532 - "Value": "Tajikistan",
3533 - "Order": 172
3534 - },
3535 - {
3536 - "Id": 1370,
3537 - "QuestionId": 13,
3538 - "Text": "Tanzania",
3539 - "Value": "Tanzania",
3540 - "Order": 173
3541 - },
3542 - {
3543 - "Id": 1378,
3544 - "QuestionId": 13,
3545 - "Text": "Thailand",
3546 - "Value": "Thailand",
3547 - "Order": 174
3548 - },
3549 - {
3550 - "Id": 1386,
3551 - "QuestionId": 13,
3552 - "Text": "Togo",
3553 - "Value": "Togo",
3554 - "Order": 175
3555 - },
3556 - {
3557 - "Id": 1394,
3558 - "QuestionId": 13,
3559 - "Text": "Tonga",
3560 - "Value": "Tonga",
3561 - "Order": 176
3562 - },
3563 - {
3564 - "Id": 1402,
3565 - "QuestionId": 13,
3566 - "Text": "Trinidad and Tobago",
3567 - "Value": "Trinidad and Tobago",
3568 - "Order": 177
3569 - },
3570 - {
3571 - "Id": 1410,
3572 - "QuestionId": 13,
3573 - "Text": "Tunisia",
3574 - "Value": "Tunisia",
3575 - "Order": 178
3576 - },
3577 - {
3578 - "Id": 1418,
3579 - "QuestionId": 13,
3580 - "Text": "Turkey",
3581 - "Value": "Turkey",
3582 - "Order": 179
3583 - },
3584 - {
3585 - "Id": 1426,
3586 - "QuestionId": 13,
3587 - "Text": "Turkmenistan",
3588 - "Value": "Turkmenistan",
3589 - "Order": 180
3590 - },
3591 - {
3592 - "Id": 1434,
3593 - "QuestionId": 13,
3594 - "Text": "Tuvalu",
3595 - "Value": "Tuvalu",
3596 - "Order": 181
3597 - },
3598 - {
3599 - "Id": 1442,
3600 - "QuestionId": 13,
3601 - "Text": "Uganda",
3602 - "Value": "Uganda",
3603 - "Order": 182
3604 - },
3605 - {
3606 - "Id": 1450,
3607 - "QuestionId": 13,
3608 - "Text": "Ukraine",
3609 - "Value": "Ukraine",
3610 - "Order": 183
3611 - },
3612 - {
3613 - "Id": 1458,
3614 - "QuestionId": 13,
3615 - "Text": "United Arab Emirates",
3616 - "Value": "United Arab Emirates",
3617 - "Order": 184
3618 - },
3619 - {
3620 - "Id": 1466,
3621 - "QuestionId": 13,
3622 - "Text": "United Kingdom",
3623 - "Value": "United Kingdom",
3624 - "Order": 185
3625 - },
3626 - {
3627 - "Id": 1474,
3628 - "QuestionId": 13,
3629 - "Text": "United States",
3630 - "Value": "United States",
3631 - "Order": 2
3632 - },
3633 - {
3634 - "Id": 1482,
3635 - "QuestionId": 13,
3636 - "Text": "Uruguay",
3637 - "Value": "Uruguay",
3638 - "Order": 186
3639 - },
3640 - {
3641 - "Id": 1490,
3642 - "QuestionId": 13,
3643 - "Text": "Uzbekistan",
3644 - "Value": "Uzbekistan",
3645 - "Order": 187
3646 - },
3647 - {
3648 - "Id": 1498,
3649 - "QuestionId": 13,
3650 - "Text": "Vanuatu",
3651 - "Value": "Vanuatu",
3652 - "Order": 188
3653 - },
3654 - {
3655 - "Id": 1506,
3656 - "QuestionId": 13,
3657 - "Text": "Vatican City",
3658 - "Value": "Vatican City",
3659 - "Order": 189
3660 - },
3661 - {
3662 - "Id": 1514,
3663 - "QuestionId": 13,
3664 - "Text": "Venezuela",
3665 - "Value": "Venezuela",
3666 - "Order": 190
3667 - },
3668 - {
3669 - "Id": 1522,
3670 - "QuestionId": 13,
3671 - "Text": "Vietnam",
3672 - "Value": "Vietnam",
3673 - "Order": 191
3674 - },
3675 - {
3676 - "Id": 1530,
3677 - "QuestionId": 13,
3678 - "Text": "Yemen",
3679 - "Value": "Yemen",
3680 - "Order": 192
3681 - },
3682 - {
3683 - "Id": 1538,
3684 - "QuestionId": 13,
3685 - "Text": "Zambia",
3686 - "Value": "Zambia",
3687 - "Order": 193
3688 - },
3689 - {
3690 - "Id": 1546,
3691 - "QuestionId": 13,
3692 - "Text": "Zimbabwe",
3693 - "Value": "Zimbabwe",
3694 - "Order": 194
3695 - },
3696 - {
3697 - "Id": 2186,
3698 - "QuestionId": 13,
3699 - "Text": "British Columbia",
3700 - "Value": "British Columbia",
3701 - "Order": 195
3702 - }
3703 - ]
3704 - },
3705 - {
3706 - "Id": 14,
3707 - "Text": "Phone",
3708 - "Type": "0",
3709 - "Alias": "Phone"
3710 - },
3711 - {
3712 - "Id": 15,
3713 - "Text": "Fax",
3714 - "Type": "0",
3715 - "Alias": "Fax"
3716 - },
3717 - {
3718 - "Id": 18,
3719 - "Text": " NEW QUESTION",
3720 - "Type": "0",
3721 - "Alias": ""
3722 - },
3723 - {
3724 - "Id": 26,
3725 - "Text": " NEW QUESTION",
3726 - "Type": "0",
3727 - "Alias": ""
3728 - },
3729 - {
3730 - "Id": 34,
3731 - "Text": " NEW QUESTION",
3732 - "Type": "0",
3733 - "Alias": ""
3734 - },
3735 - {
3736 - "Id": 42,
3737 - "Text": " NEW QUESTION",
3738 - "Type": "0",
3739 - "Alias": ""
3740 - },
3741 - {
3742 - "Id": 50,
3743 - "Text": " NEW QUESTION",
3744 - "Type": "0",
3745 - "Alias": ""
3746 - },
3747 - {
3748 - "Id": 58,
3749 - "Text": " NEW QUESTION",
3750 - "Type": "0",
3751 - "Alias": ""
3752 - },
3753 - {
3754 - "Id": 66,
3755 - "Text": " NEW QUESTION",
3756 - "Type": "0",
3757 - "Alias": ""
3758 - },
3759 - {
3760 - "Id": 74,
3761 - "Text": " NEW QUESTION",
3762 - "Type": "0",
3763 - "Alias": ""
3764 - },
3765 - {
3766 - "Id": 82,
3767 - "Text": " NEW QUESTION",
3768 - "Type": "0",
3769 - "Alias": ""
3770 - },
3771 - {
3772 - "Id": 90,
3773 - "Text": " NEW QUESTION",
3774 - "Type": "0",
3775 - "Alias": ""
3776 - }
3777 - ]
3778 -}
3779 -{{/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 +)))
3780 3780  
3781 -\\
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 +)))
3782 3782  
3783 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
3784 -== (% 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(%%) ==
3785 -
3786 -----
3787 -
3788 -{{panel bgColor="#D3D3D3" width="100%"}}
3789 - (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/questions/~{~{QUESTION ID}}
3790 -{{/panel}}
3791 -
3792 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
3793 -
3794 -----
3795 -
3796 -(% 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}}
3797 -
3798 -==== Example ====
3799 -
3800 -----
3801 -
3802 -(% style="color: rgb(107,107,107);" %)Request
3803 -
3804 -{{code language="php" theme="RDark" title="Get specific Question Request" collapse="true"}}
3805 -<?php
3806 -
3807 -$curl = curl_init();
3808 -
3809 -curl_setopt_array($curl, array(
3810 - CURLOPT_URL => 'rayaan.onecount.net/api/v2/questions/{{QUESTION ID}}',
3811 - CURLOPT_RETURNTRANSFER => true,
3812 - CURLOPT_ENCODING => '',
3813 - CURLOPT_MAXREDIRS => 10,
3814 - CURLOPT_TIMEOUT => 0,
3815 - CURLOPT_FOLLOWLOCATION => true,
3816 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
3817 - CURLOPT_CUSTOMREQUEST => 'GET',
3818 - CURLOPT_HTTPHEADER => array(
3819 - 'Appkey: {{ONECOUNT API KEY}}'
3820 - ),
3821 -));
3822 -
3823 -$response = curl_exec($curl);
3824 -
3825 -curl_close($curl);
3826 -echo $response;
3827 -{{/code}}
3828 -
3829 3829  \\
3830 3830  
3831 -(% style="color: rgb(107,107,107);" %)Response  200 OK
1965 +(% class="western" %)
1966 +PUT method should be used to update question.
3832 3832  
3833 -{{code language="yml" theme="RDark" title="Get specific question Response" collapse="true"}}
3834 -{
3835 - "result": {
3836 - "success": "1",
3837 - "error": {
3838 - "code": "",
3839 - "message": ""
3840 - }
3841 - },
3842 - "Questions": [
3843 - {
3844 - "Id": 3,
3845 - "Text": "Password",
3846 - "Type": "2",
3847 - "Alias": "Password"
3848 - }
3849 - ]
3850 -}
3851 -{{/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 +)))
3852 3852  
3853 -\\
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 +)))
3854 3854  
3855 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
3856 -== (% 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(%%) ==
3857 -
3858 -----
3859 -
3860 -{{panel bgColor="#D3D3D3" width="100%"}}
3861 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/questions/lookup?Text=COUNTRY
3862 -{{/panel}}
3863 -
3864 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
3865 -
3866 -----
3867 -
3868 -(% 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}}
3869 -
3870 -=== (% style="color: rgb(33,33,33);" %)Query Params(%%) ===
3871 -
3872 -----
3873 -
3874 -(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Text  COUNTRY(%%)
2022 +(% class="western" %)
3875 3875  \\
3876 3876  
3877 -==== Example ====
2025 +(% class="western" %)
2026 +Example: Get list of questions from api which has FirstName in text
3878 3878  
3879 -----
2028 +{{{curl -X GET -H “Appkey: xxx” https://api.onecount.net/v2/questions/lookup?Text=FirstName}}}
3880 3880  
3881 -(% style="color: rgb(107,107,107);" %)Request
3882 -
3883 -{{code language="php" theme="RDark" title="Lookup question by text Request" collapse="true"}}
3884 -<?php
3885 -
3886 -$curl = curl_init();
3887 -
3888 -curl_setopt_array($curl, array(
3889 - CURLOPT_URL => 'rayaan.onecount.net/api/v2/questions/lookup?Text=COUNTRY',
3890 - CURLOPT_RETURNTRANSFER => true,
3891 - CURLOPT_ENCODING => '',
3892 - CURLOPT_MAXREDIRS => 10,
3893 - CURLOPT_TIMEOUT => 0,
3894 - CURLOPT_FOLLOWLOCATION => true,
3895 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
3896 - CURLOPT_CUSTOMREQUEST => 'GET',
3897 - CURLOPT_HTTPHEADER => array(
3898 - 'Appkey: {{ONECOUNT API KEY}}'
3899 - ),
3900 -));
3901 -
3902 -$response = curl_exec($curl);
3903 -
3904 -curl_close($curl);
3905 -echo $response;
3906 -{{/code}}
3907 -
3908 -\\
3909 -
3910 -(% style="color: rgb(107,107,107);" %)Response  200 OK
3911 -
3912 -{{code language="yml" theme="RDark" title="Lookup question by title Response" collapse="true"}}
2030 +(% class="western" %)
3913 3913  {
3914 - "result": {
3915 - "success": "1",
3916 - "error": {
3917 - "code": "",
3918 - "message": ""
3919 - }
3920 - },
3921 - "Questions": [
3922 - {
3923 - "Id": 13,
3924 - "Text": "Country",
3925 - "Type": "4",
3926 - "Alias": "Country",
3927 - "Choices": [
3928 - {
3929 - "Id": 2,
3930 - "QuestionId": 13,
3931 - "Text": "Select One",
3932 - "Value": "",
3933 - "Order": 1
3934 - },
3935 - {
3936 - "Id": 10,
3937 - "QuestionId": 13,
3938 - "Text": "Afghanistan",
3939 - "Value": "Afghanistan",
3940 - "Order": 3
3941 - },
3942 - {
3943 - "Id": 18,
3944 - "QuestionId": 13,
3945 - "Text": "Albania",
3946 - "Value": "Albania",
3947 - "Order": 4
3948 - },
3949 - {
3950 - "Id": 26,
3951 - "QuestionId": 13,
3952 - "Text": "Algeria",
3953 - "Value": "Algeria",
3954 - "Order": 5
3955 - },
3956 - {
3957 - "Id": 34,
3958 - "QuestionId": 13,
3959 - "Text": "Andorra",
3960 - "Value": "Andorra",
3961 - "Order": 6
3962 - },
3963 - {
3964 - "Id": 42,
3965 - "QuestionId": 13,
3966 - "Text": "Angola",
3967 - "Value": "Angola",
3968 - "Order": 7
3969 - },
3970 - {
3971 - "Id": 50,
3972 - "QuestionId": 13,
3973 - "Text": "Antigua and Barbuda",
3974 - "Value": "Antigua and Barbuda",
3975 - "Order": 8
3976 - },
3977 - {
3978 - "Id": 58,
3979 - "QuestionId": 13,
3980 - "Text": "Argentina",
3981 - "Value": "Argentina",
3982 - "Order": 9
3983 - },
3984 - {
3985 - "Id": 66,
3986 - "QuestionId": 13,
3987 - "Text": "Armenia",
3988 - "Value": "Armenia",
3989 - "Order": 10
3990 - },
3991 - {
3992 - "Id": 74,
3993 - "QuestionId": 13,
3994 - "Text": "Australia",
3995 - "Value": "Australia",
3996 - "Order": 11
3997 - },
3998 - {
3999 - "Id": 82,
4000 - "QuestionId": 13,
4001 - "Text": "Austria",
4002 - "Value": "Austria",
4003 - "Order": 12
4004 - },
4005 - {
4006 - "Id": 90,
4007 - "QuestionId": 13,
4008 - "Text": "Azerbaijan",
4009 - "Value": "Azerbaijan",
4010 - "Order": 13
4011 - },
4012 - {
4013 - "Id": 98,
4014 - "QuestionId": 13,
4015 - "Text": "Bahamas",
4016 - "Value": "Bahamas",
4017 - "Order": 14
4018 - },
4019 - {
4020 - "Id": 106,
4021 - "QuestionId": 13,
4022 - "Text": "Bahrain",
4023 - "Value": "Bahrain",
4024 - "Order": 15
4025 - },
4026 - {
4027 - "Id": 114,
4028 - "QuestionId": 13,
4029 - "Text": "Bangladesh",
4030 - "Value": "Bangladesh",
4031 - "Order": 16
4032 - },
4033 - {
4034 - "Id": 122,
4035 - "QuestionId": 13,
4036 - "Text": "Barbados",
4037 - "Value": "Barbados",
4038 - "Order": 17
4039 - },
4040 - {
4041 - "Id": 130,
4042 - "QuestionId": 13,
4043 - "Text": "Belarus",
4044 - "Value": "Belarus",
4045 - "Order": 18
4046 - },
4047 - {
4048 - "Id": 138,
4049 - "QuestionId": 13,
4050 - "Text": "Belgium",
4051 - "Value": "Belgium",
4052 - "Order": 19
4053 - },
4054 - {
4055 - "Id": 146,
4056 - "QuestionId": 13,
4057 - "Text": "Belize",
4058 - "Value": "Belize",
4059 - "Order": 20
4060 - },
4061 - {
4062 - "Id": 154,
4063 - "QuestionId": 13,
4064 - "Text": "Benin",
4065 - "Value": "Benin",
4066 - "Order": 21
4067 - },
4068 - {
4069 - "Id": 162,
4070 - "QuestionId": 13,
4071 - "Text": "Bhutan",
4072 - "Value": "Bhutan",
4073 - "Order": 22
4074 - },
4075 - {
4076 - "Id": 170,
4077 - "QuestionId": 13,
4078 - "Text": "Bolivia",
4079 - "Value": "Bolivia",
4080 - "Order": 23
4081 - },
4082 - {
4083 - "Id": 178,
4084 - "QuestionId": 13,
4085 - "Text": "Bosnia and Herzegovina",
4086 - "Value": "Bosnia and Herzegovina",
4087 - "Order": 24
4088 - },
4089 - {
4090 - "Id": 186,
4091 - "QuestionId": 13,
4092 - "Text": "Botswana",
4093 - "Value": "Botswana",
4094 - "Order": 25
4095 - },
4096 - {
4097 - "Id": 194,
4098 - "QuestionId": 13,
4099 - "Text": "Brazil",
4100 - "Value": "Brazil",
4101 - "Order": 26
4102 - },
4103 - {
4104 - "Id": 202,
4105 - "QuestionId": 13,
4106 - "Text": "Brunei",
4107 - "Value": "Brunei",
4108 - "Order": 27
4109 - },
4110 - {
4111 - "Id": 210,
4112 - "QuestionId": 13,
4113 - "Text": "Bulgaria",
4114 - "Value": "Bulgaria",
4115 - "Order": 28
4116 - },
4117 - {
4118 - "Id": 218,
4119 - "QuestionId": 13,
4120 - "Text": "Burkina Faso",
4121 - "Value": "Burkina Faso",
4122 - "Order": 29
4123 - },
4124 - {
4125 - "Id": 226,
4126 - "QuestionId": 13,
4127 - "Text": "Burundi",
4128 - "Value": "Burundi",
4129 - "Order": 30
4130 - },
4131 - {
4132 - "Id": 234,
4133 - "QuestionId": 13,
4134 - "Text": "Cambodia",
4135 - "Value": "Cambodia",
4136 - "Order": 31
4137 - },
4138 - {
4139 - "Id": 242,
4140 - "QuestionId": 13,
4141 - "Text": "Cameroon",
4142 - "Value": "Cameroon",
4143 - "Order": 32
4144 - },
4145 - {
4146 - "Id": 250,
4147 - "QuestionId": 13,
4148 - "Text": "Canada",
4149 - "Value": "Canada",
4150 - "Order": 33
4151 - },
4152 - {
4153 - "Id": 258,
4154 - "QuestionId": 13,
4155 - "Text": "Cape Verde",
4156 - "Value": "Cape Verde",
4157 - "Order": 34
4158 - },
4159 - {
4160 - "Id": 266,
4161 - "QuestionId": 13,
4162 - "Text": "Central African Republic",
4163 - "Value": "Central African Republic",
4164 - "Order": 35
4165 - },
4166 - {
4167 - "Id": 274,
4168 - "QuestionId": 13,
4169 - "Text": "Chad",
4170 - "Value": "Chad",
4171 - "Order": 36
4172 - },
4173 - {
4174 - "Id": 282,
4175 - "QuestionId": 13,
4176 - "Text": "Chile",
4177 - "Value": "Chile",
4178 - "Order": 37
4179 - },
4180 - {
4181 - "Id": 290,
4182 - "QuestionId": 13,
4183 - "Text": "China",
4184 - "Value": "China",
4185 - "Order": 38
4186 - },
4187 - {
4188 - "Id": 298,
4189 - "QuestionId": 13,
4190 - "Text": "Colombia",
4191 - "Value": "Colombia",
4192 - "Order": 39
4193 - },
4194 - {
4195 - "Id": 306,
4196 - "QuestionId": 13,
4197 - "Text": "Comoros",
4198 - "Value": "Comoros",
4199 - "Order": 40
4200 - },
4201 - {
4202 - "Id": 314,
4203 - "QuestionId": 13,
4204 - "Text": "Congo (Brazzaville)",
4205 - "Value": "Congo (Brazzaville)",
4206 - "Order": 41
4207 - },
4208 - {
4209 - "Id": 322,
4210 - "QuestionId": 13,
4211 - "Text": "Congo",
4212 - "Value": "Congo",
4213 - "Order": 42
4214 - },
4215 - {
4216 - "Id": 330,
4217 - "QuestionId": 13,
4218 - "Text": "Costa Rica",
4219 - "Value": "Costa Rica",
4220 - "Order": 43
4221 - },
4222 - {
4223 - "Id": 338,
4224 - "QuestionId": 13,
4225 - "Text": "Cote d'Ivoire",
4226 - "Value": "Cote d'Ivoire",
4227 - "Order": 44
4228 - },
4229 - {
4230 - "Id": 346,
4231 - "QuestionId": 13,
4232 - "Text": "Croatia",
4233 - "Value": "Croatia",
4234 - "Order": 45
4235 - },
4236 - {
4237 - "Id": 354,
4238 - "QuestionId": 13,
4239 - "Text": "Cuba",
4240 - "Value": "Cuba",
4241 - "Order": 46
4242 - },
4243 - {
4244 - "Id": 362,
4245 - "QuestionId": 13,
4246 - "Text": "Cyprus",
4247 - "Value": "Cyprus",
4248 - "Order": 47
4249 - },
4250 - {
4251 - "Id": 370,
4252 - "QuestionId": 13,
4253 - "Text": "Czech Republic",
4254 - "Value": "Czech Republic",
4255 - "Order": 48
4256 - },
4257 - {
4258 - "Id": 378,
4259 - "QuestionId": 13,
4260 - "Text": "Denmark",
4261 - "Value": "Denmark",
4262 - "Order": 49
4263 - },
4264 - {
4265 - "Id": 386,
4266 - "QuestionId": 13,
4267 - "Text": "Djibouti",
4268 - "Value": "Djibouti",
4269 - "Order": 50
4270 - },
4271 - {
4272 - "Id": 394,
4273 - "QuestionId": 13,
4274 - "Text": "Dominica",
4275 - "Value": "Dominica",
4276 - "Order": 51
4277 - },
4278 - {
4279 - "Id": 402,
4280 - "QuestionId": 13,
4281 - "Text": "Dominican Republic",
4282 - "Value": "Dominican Republic",
4283 - "Order": 52
4284 - },
4285 - {
4286 - "Id": 410,
4287 - "QuestionId": 13,
4288 - "Text": "East Timor",
4289 - "Value": "East Timor",
4290 - "Order": 53
4291 - },
4292 - {
4293 - "Id": 418,
4294 - "QuestionId": 13,
4295 - "Text": "Ecuador",
4296 - "Value": "Ecuador",
4297 - "Order": 54
4298 - },
4299 - {
4300 - "Id": 426,
4301 - "QuestionId": 13,
4302 - "Text": "Egypt",
4303 - "Value": "Egypt",
4304 - "Order": 55
4305 - },
4306 - {
4307 - "Id": 434,
4308 - "QuestionId": 13,
4309 - "Text": "El Salvador",
4310 - "Value": "El Salvador",
4311 - "Order": 56
4312 - },
4313 - {
4314 - "Id": 442,
4315 - "QuestionId": 13,
4316 - "Text": "Equatorial Guinea",
4317 - "Value": "Equatorial Guinea",
4318 - "Order": 57
4319 - },
4320 - {
4321 - "Id": 450,
4322 - "QuestionId": 13,
4323 - "Text": "Eritrea",
4324 - "Value": "Eritrea",
4325 - "Order": 58
4326 - },
4327 - {
4328 - "Id": 458,
4329 - "QuestionId": 13,
4330 - "Text": "Estonia",
4331 - "Value": "Estonia",
4332 - "Order": 59
4333 - },
4334 - {
4335 - "Id": 466,
4336 - "QuestionId": 13,
4337 - "Text": "Ethiopia",
4338 - "Value": "Ethiopia",
4339 - "Order": 60
4340 - },
4341 - {
4342 - "Id": 474,
4343 - "QuestionId": 13,
4344 - "Text": "Fiji",
4345 - "Value": "Fiji",
4346 - "Order": 61
4347 - },
4348 - {
4349 - "Id": 482,
4350 - "QuestionId": 13,
4351 - "Text": "Finland",
4352 - "Value": "Finland",
4353 - "Order": 62
4354 - },
4355 - {
4356 - "Id": 490,
4357 - "QuestionId": 13,
4358 - "Text": "France",
4359 - "Value": "France",
4360 - "Order": 63
4361 - },
4362 - {
4363 - "Id": 498,
4364 - "QuestionId": 13,
4365 - "Text": "Gabon",
4366 - "Value": "Gabon",
4367 - "Order": 64
4368 - },
4369 - {
4370 - "Id": 506,
4371 - "QuestionId": 13,
4372 - "Text": "Gambia, The",
4373 - "Value": "Gambia, The",
4374 - "Order": 65
4375 - },
4376 - {
4377 - "Id": 514,
4378 - "QuestionId": 13,
4379 - "Text": "Georgia",
4380 - "Value": "Georgia",
4381 - "Order": 66
4382 - },
4383 - {
4384 - "Id": 522,
4385 - "QuestionId": 13,
4386 - "Text": "Germany",
4387 - "Value": "Germany",
4388 - "Order": 67
4389 - },
4390 - {
4391 - "Id": 530,
4392 - "QuestionId": 13,
4393 - "Text": "Ghana",
4394 - "Value": "Ghana",
4395 - "Order": 68
4396 - },
4397 - {
4398 - "Id": 538,
4399 - "QuestionId": 13,
4400 - "Text": "Greece",
4401 - "Value": "Greece",
4402 - "Order": 69
4403 - },
4404 - {
4405 - "Id": 546,
4406 - "QuestionId": 13,
4407 - "Text": "Grenada",
4408 - "Value": "Grenada",
4409 - "Order": 70
4410 - },
4411 - {
4412 - "Id": 554,
4413 - "QuestionId": 13,
4414 - "Text": "Guatemala",
4415 - "Value": "Guatemala",
4416 - "Order": 71
4417 - },
4418 - {
4419 - "Id": 562,
4420 - "QuestionId": 13,
4421 - "Text": "Guinea",
4422 - "Value": "Guinea",
4423 - "Order": 72
4424 - },
4425 - {
4426 - "Id": 570,
4427 - "QuestionId": 13,
4428 - "Text": "Guinea-Bissau",
4429 - "Value": "Guinea-Bissau",
4430 - "Order": 73
4431 - },
4432 - {
4433 - "Id": 578,
4434 - "QuestionId": 13,
4435 - "Text": "Guyana",
4436 - "Value": "Guyana",
4437 - "Order": 74
4438 - },
4439 - {
4440 - "Id": 586,
4441 - "QuestionId": 13,
4442 - "Text": "Haiti",
4443 - "Value": "Haiti",
4444 - "Order": 75
4445 - },
4446 - {
4447 - "Id": 594,
4448 - "QuestionId": 13,
4449 - "Text": "Honduras",
4450 - "Value": "Honduras",
4451 - "Order": 76
4452 - },
4453 - {
4454 - "Id": 602,
4455 - "QuestionId": 13,
4456 - "Text": "Hungary",
4457 - "Value": "Hungary",
4458 - "Order": 77
4459 - },
4460 - {
4461 - "Id": 610,
4462 - "QuestionId": 13,
4463 - "Text": "Iceland",
4464 - "Value": "Iceland",
4465 - "Order": 78
4466 - },
4467 - {
4468 - "Id": 618,
4469 - "QuestionId": 13,
4470 - "Text": "India",
4471 - "Value": "India",
4472 - "Order": 79
4473 - },
4474 - {
4475 - "Id": 626,
4476 - "QuestionId": 13,
4477 - "Text": "Indonesia",
4478 - "Value": "Indonesia",
4479 - "Order": 80
4480 - },
4481 - {
4482 - "Id": 634,
4483 - "QuestionId": 13,
4484 - "Text": "Iran",
4485 - "Value": "Iran",
4486 - "Order": 81
4487 - },
4488 - {
4489 - "Id": 642,
4490 - "QuestionId": 13,
4491 - "Text": "Iraq",
4492 - "Value": "Iraq",
4493 - "Order": 82
4494 - },
4495 - {
4496 - "Id": 650,
4497 - "QuestionId": 13,
4498 - "Text": "Ireland",
4499 - "Value": "Ireland",
4500 - "Order": 83
4501 - },
4502 - {
4503 - "Id": 658,
4504 - "QuestionId": 13,
4505 - "Text": "Israel",
4506 - "Value": "Israel",
4507 - "Order": 84
4508 - },
4509 - {
4510 - "Id": 666,
4511 - "QuestionId": 13,
4512 - "Text": "Italy",
4513 - "Value": "Italy",
4514 - "Order": 85
4515 - },
4516 - {
4517 - "Id": 674,
4518 - "QuestionId": 13,
4519 - "Text": "Jamaica",
4520 - "Value": "Jamaica",
4521 - "Order": 86
4522 - },
4523 - {
4524 - "Id": 682,
4525 - "QuestionId": 13,
4526 - "Text": "Japan",
4527 - "Value": "Japan",
4528 - "Order": 87
4529 - },
4530 - {
4531 - "Id": 690,
4532 - "QuestionId": 13,
4533 - "Text": "Jordan",
4534 - "Value": "Jordan",
4535 - "Order": 88
4536 - },
4537 - {
4538 - "Id": 698,
4539 - "QuestionId": 13,
4540 - "Text": "Kazakhstan",
4541 - "Value": "Kazakhstan",
4542 - "Order": 89
4543 - },
4544 - {
4545 - "Id": 706,
4546 - "QuestionId": 13,
4547 - "Text": "Kenya",
4548 - "Value": "Kenya",
4549 - "Order": 90
4550 - },
4551 - {
4552 - "Id": 714,
4553 - "QuestionId": 13,
4554 - "Text": "Kiribati",
4555 - "Value": "Kiribati",
4556 - "Order": 91
4557 - },
4558 - {
4559 - "Id": 722,
4560 - "QuestionId": 13,
4561 - "Text": "Korea, North",
4562 - "Value": "Korea, North",
4563 - "Order": 92
4564 - },
4565 - {
4566 - "Id": 730,
4567 - "QuestionId": 13,
4568 - "Text": "Korea, South",
4569 - "Value": "Korea, South",
4570 - "Order": 93
4571 - },
4572 - {
4573 - "Id": 738,
4574 - "QuestionId": 13,
4575 - "Text": "Kuwait",
4576 - "Value": "Kuwait",
4577 - "Order": 94
4578 - },
4579 - {
4580 - "Id": 746,
4581 - "QuestionId": 13,
4582 - "Text": "Kyrgyzstan",
4583 - "Value": "Kyrgyzstan",
4584 - "Order": 95
4585 - },
4586 - {
4587 - "Id": 754,
4588 - "QuestionId": 13,
4589 - "Text": "Laos",
4590 - "Value": "Laos",
4591 - "Order": 96
4592 - },
4593 - {
4594 - "Id": 762,
4595 - "QuestionId": 13,
4596 - "Text": "Latvia",
4597 - "Value": "Latvia",
4598 - "Order": 97
4599 - },
4600 - {
4601 - "Id": 770,
4602 - "QuestionId": 13,
4603 - "Text": "Lebanon",
4604 - "Value": "Lebanon",
4605 - "Order": 98
4606 - },
4607 - {
4608 - "Id": 778,
4609 - "QuestionId": 13,
4610 - "Text": "Lesotho",
4611 - "Value": "Lesotho",
4612 - "Order": 99
4613 - },
4614 - {
4615 - "Id": 786,
4616 - "QuestionId": 13,
4617 - "Text": "Liberia",
4618 - "Value": "Liberia",
4619 - "Order": 100
4620 - },
4621 - {
4622 - "Id": 794,
4623 - "QuestionId": 13,
4624 - "Text": "Libya",
4625 - "Value": "Libya",
4626 - "Order": 101
4627 - },
4628 - {
4629 - "Id": 802,
4630 - "QuestionId": 13,
4631 - "Text": "Liechtenstein",
4632 - "Value": "Liechtenstein",
4633 - "Order": 102
4634 - },
4635 - {
4636 - "Id": 810,
4637 - "QuestionId": 13,
4638 - "Text": "Lithuania",
4639 - "Value": "Lithuania",
4640 - "Order": 103
4641 - },
4642 - {
4643 - "Id": 818,
4644 - "QuestionId": 13,
4645 - "Text": "Luxembourg",
4646 - "Value": "Luxembourg",
4647 - "Order": 104
4648 - },
4649 - {
4650 - "Id": 826,
4651 - "QuestionId": 13,
4652 - "Text": "Macedonia",
4653 - "Value": "Macedonia",
4654 - "Order": 105
4655 - },
4656 - {
4657 - "Id": 834,
4658 - "QuestionId": 13,
4659 - "Text": "Madagascar",
4660 - "Value": "Madagascar",
4661 - "Order": 106
4662 - },
4663 - {
4664 - "Id": 842,
4665 - "QuestionId": 13,
4666 - "Text": "Malawi",
4667 - "Value": "Malawi",
4668 - "Order": 107
4669 - },
4670 - {
4671 - "Id": 850,
4672 - "QuestionId": 13,
4673 - "Text": "Malaysia",
4674 - "Value": "Malaysia",
4675 - "Order": 108
4676 - },
4677 - {
4678 - "Id": 858,
4679 - "QuestionId": 13,
4680 - "Text": "Maldives",
4681 - "Value": "Maldives",
4682 - "Order": 109
4683 - },
4684 - {
4685 - "Id": 866,
4686 - "QuestionId": 13,
4687 - "Text": "Mali",
4688 - "Value": "Mali",
4689 - "Order": 110
4690 - },
4691 - {
4692 - "Id": 874,
4693 - "QuestionId": 13,
4694 - "Text": "Malta",
4695 - "Value": "Malta",
4696 - "Order": 111
4697 - },
4698 - {
4699 - "Id": 882,
4700 - "QuestionId": 13,
4701 - "Text": "Marshall Islands",
4702 - "Value": "Marshall Islands",
4703 - "Order": 112
4704 - },
4705 - {
4706 - "Id": 890,
4707 - "QuestionId": 13,
4708 - "Text": "Mauritania",
4709 - "Value": "Mauritania",
4710 - "Order": 113
4711 - },
4712 - {
4713 - "Id": 898,
4714 - "QuestionId": 13,
4715 - "Text": "Mauritius",
4716 - "Value": "Mauritius",
4717 - "Order": 114
4718 - },
4719 - {
4720 - "Id": 906,
4721 - "QuestionId": 13,
4722 - "Text": "Mexico",
4723 - "Value": "Mexico",
4724 - "Order": 115
4725 - },
4726 - {
4727 - "Id": 914,
4728 - "QuestionId": 13,
4729 - "Text": "Micronesia",
4730 - "Value": "Micronesia",
4731 - "Order": 116
4732 - },
4733 - {
4734 - "Id": 922,
4735 - "QuestionId": 13,
4736 - "Text": "Moldova",
4737 - "Value": "Moldova",
4738 - "Order": 117
4739 - },
4740 - {
4741 - "Id": 930,
4742 - "QuestionId": 13,
4743 - "Text": "Monaco",
4744 - "Value": "Monaco",
4745 - "Order": 118
4746 - },
4747 - {
4748 - "Id": 938,
4749 - "QuestionId": 13,
4750 - "Text": "Mongolia",
4751 - "Value": "Mongolia",
4752 - "Order": 119
4753 - },
4754 - {
4755 - "Id": 946,
4756 - "QuestionId": 13,
4757 - "Text": "Morocco",
4758 - "Value": "Morocco",
4759 - "Order": 120
4760 - },
4761 - {
4762 - "Id": 954,
4763 - "QuestionId": 13,
4764 - "Text": "Mozambique",
4765 - "Value": "Mozambique",
4766 - "Order": 121
4767 - },
4768 - {
4769 - "Id": 962,
4770 - "QuestionId": 13,
4771 - "Text": "Myanmar",
4772 - "Value": "Myanmar",
4773 - "Order": 122
4774 - },
4775 - {
4776 - "Id": 970,
4777 - "QuestionId": 13,
4778 - "Text": "Namibia",
4779 - "Value": "Namibia",
4780 - "Order": 123
4781 - },
4782 - {
4783 - "Id": 978,
4784 - "QuestionId": 13,
4785 - "Text": "Nauru",
4786 - "Value": "Nauru",
4787 - "Order": 124
4788 - },
4789 - {
4790 - "Id": 986,
4791 - "QuestionId": 13,
4792 - "Text": "Nepa",
4793 - "Value": "Nepa",
4794 - "Order": 125
4795 - },
4796 - {
4797 - "Id": 994,
4798 - "QuestionId": 13,
4799 - "Text": "Netherlands",
4800 - "Value": "Netherlands",
4801 - "Order": 126
4802 - },
4803 - {
4804 - "Id": 1002,
4805 - "QuestionId": 13,
4806 - "Text": "New Zealand",
4807 - "Value": "New Zealand",
4808 - "Order": 127
4809 - },
4810 - {
4811 - "Id": 1010,
4812 - "QuestionId": 13,
4813 - "Text": "Nicaragua",
4814 - "Value": "Nicaragua",
4815 - "Order": 128
4816 - },
4817 - {
4818 - "Id": 1018,
4819 - "QuestionId": 13,
4820 - "Text": "Niger",
4821 - "Value": "Niger",
4822 - "Order": 129
4823 - },
4824 - {
4825 - "Id": 1026,
4826 - "QuestionId": 13,
4827 - "Text": "Nigeria",
4828 - "Value": "Nigeria",
4829 - "Order": 130
4830 - },
4831 - {
4832 - "Id": 1034,
4833 - "QuestionId": 13,
4834 - "Text": "Norway",
4835 - "Value": "Norway",
4836 - "Order": 131
4837 - },
4838 - {
4839 - "Id": 1042,
4840 - "QuestionId": 13,
4841 - "Text": "Oman",
4842 - "Value": "Oman",
4843 - "Order": 132
4844 - },
4845 - {
4846 - "Id": 1050,
4847 - "QuestionId": 13,
4848 - "Text": "Pakistan",
4849 - "Value": "Pakistan",
4850 - "Order": 133
4851 - },
4852 - {
4853 - "Id": 1058,
4854 - "QuestionId": 13,
4855 - "Text": "Palau",
4856 - "Value": "Palau",
4857 - "Order": 134
4858 - },
4859 - {
4860 - "Id": 1066,
4861 - "QuestionId": 13,
4862 - "Text": "Panama",
4863 - "Value": "Panama",
4864 - "Order": 135
4865 - },
4866 - {
4867 - "Id": 1074,
4868 - "QuestionId": 13,
4869 - "Text": "Papua New Guinea",
4870 - "Value": "Papua New Guinea",
4871 - "Order": 136
4872 - },
4873 - {
4874 - "Id": 1082,
4875 - "QuestionId": 13,
4876 - "Text": "Paraguay",
4877 - "Value": "Paraguay",
4878 - "Order": 137
4879 - },
4880 - {
4881 - "Id": 1090,
4882 - "QuestionId": 13,
4883 - "Text": "Peru",
4884 - "Value": "Peru",
4885 - "Order": 138
4886 - },
4887 - {
4888 - "Id": 1098,
4889 - "QuestionId": 13,
4890 - "Text": "Philippines",
4891 - "Value": "Philippines",
4892 - "Order": 139
4893 - },
4894 - {
4895 - "Id": 1106,
4896 - "QuestionId": 13,
4897 - "Text": "Poland",
4898 - "Value": "Poland",
4899 - "Order": 140
4900 - },
4901 - {
4902 - "Id": 1114,
4903 - "QuestionId": 13,
4904 - "Text": "Portugal",
4905 - "Value": "Portugal",
4906 - "Order": 141
4907 - },
4908 - {
4909 - "Id": 1122,
4910 - "QuestionId": 13,
4911 - "Text": "Qatar",
4912 - "Value": "Qatar",
4913 - "Order": 142
4914 - },
4915 - {
4916 - "Id": 1130,
4917 - "QuestionId": 13,
4918 - "Text": "Romania",
4919 - "Value": "Romania",
4920 - "Order": 143
4921 - },
4922 - {
4923 - "Id": 1138,
4924 - "QuestionId": 13,
4925 - "Text": "Russia",
4926 - "Value": "Russia",
4927 - "Order": 144
4928 - },
4929 - {
4930 - "Id": 1146,
4931 - "QuestionId": 13,
4932 - "Text": "Rwanda",
4933 - "Value": "Rwanda",
4934 - "Order": 145
4935 - },
4936 - {
4937 - "Id": 1154,
4938 - "QuestionId": 13,
4939 - "Text": "Saint Kitts and Nevis",
4940 - "Value": "Saint Kitts and Nevis",
4941 - "Order": 146
4942 - },
4943 - {
4944 - "Id": 1162,
4945 - "QuestionId": 13,
4946 - "Text": "Saint Lucia",
4947 - "Value": "Saint Lucia",
4948 - "Order": 147
4949 - },
4950 - {
4951 - "Id": 1170,
4952 - "QuestionId": 13,
4953 - "Text": "Saint Vincent",
4954 - "Value": "Saint Vincent",
4955 - "Order": 148
4956 - },
4957 - {
4958 - "Id": 1178,
4959 - "QuestionId": 13,
4960 - "Text": "Samoa",
4961 - "Value": "Samoa",
4962 - "Order": 149
4963 - },
4964 - {
4965 - "Id": 1186,
4966 - "QuestionId": 13,
4967 - "Text": "San Marino",
4968 - "Value": "San Marino",
4969 - "Order": 150
4970 - },
4971 - {
4972 - "Id": 1194,
4973 - "QuestionId": 13,
4974 - "Text": "Sao Tome and Principe",
4975 - "Value": "Sao Tome and Principe",
4976 - "Order": 151
4977 - },
4978 - {
4979 - "Id": 1202,
4980 - "QuestionId": 13,
4981 - "Text": "Saudi Arabia",
4982 - "Value": "Saudi Arabia",
4983 - "Order": 152
4984 - },
4985 - {
4986 - "Id": 1210,
4987 - "QuestionId": 13,
4988 - "Text": "Senegal",
4989 - "Value": "Senegal",
4990 - "Order": 153
4991 - },
4992 - {
4993 - "Id": 1218,
4994 - "QuestionId": 13,
4995 - "Text": "Serbia and Montenegro",
4996 - "Value": "Serbia and Montenegro",
4997 - "Order": 154
4998 - },
4999 - {
5000 - "Id": 1226,
5001 - "QuestionId": 13,
5002 - "Text": "Seychelles",
5003 - "Value": "Seychelles",
5004 - "Order": 155
5005 - },
5006 - {
5007 - "Id": 1234,
5008 - "QuestionId": 13,
5009 - "Text": "Sierra Leone",
5010 - "Value": "Sierra Leone",
5011 - "Order": 156
5012 - },
5013 - {
5014 - "Id": 1242,
5015 - "QuestionId": 13,
5016 - "Text": "Singapore",
5017 - "Value": "Singapore",
5018 - "Order": 157
5019 - },
5020 - {
5021 - "Id": 1250,
5022 - "QuestionId": 13,
5023 - "Text": "Slovakia",
5024 - "Value": "Slovakia",
5025 - "Order": 158
5026 - },
5027 - {
5028 - "Id": 1258,
5029 - "QuestionId": 13,
5030 - "Text": "Slovenia",
5031 - "Value": "Slovenia",
5032 - "Order": 159
5033 - },
5034 - {
5035 - "Id": 1266,
5036 - "QuestionId": 13,
5037 - "Text": "Solomon Islands",
5038 - "Value": "Solomon Islands",
5039 - "Order": 160
5040 - },
5041 - {
5042 - "Id": 1274,
5043 - "QuestionId": 13,
5044 - "Text": "Somalia",
5045 - "Value": "Somalia",
5046 - "Order": 161
5047 - },
5048 - {
5049 - "Id": 1282,
5050 - "QuestionId": 13,
5051 - "Text": "South Africa",
5052 - "Value": "South Africa",
5053 - "Order": 162
5054 - },
5055 - {
5056 - "Id": 1290,
5057 - "QuestionId": 13,
5058 - "Text": "Spain",
5059 - "Value": "Spain",
5060 - "Order": 163
5061 - },
5062 - {
5063 - "Id": 1298,
5064 - "QuestionId": 13,
5065 - "Text": "Sri Lanka",
5066 - "Value": "Sri Lanka",
5067 - "Order": 164
5068 - },
5069 - {
5070 - "Id": 1306,
5071 - "QuestionId": 13,
5072 - "Text": "Sudan",
5073 - "Value": "Sudan",
5074 - "Order": 165
5075 - },
5076 - {
5077 - "Id": 1314,
5078 - "QuestionId": 13,
5079 - "Text": "Suriname",
5080 - "Value": "Suriname",
5081 - "Order": 166
5082 - },
5083 - {
5084 - "Id": 1322,
5085 - "QuestionId": 13,
5086 - "Text": "Swaziland",
5087 - "Value": "Swaziland",
5088 - "Order": 167
5089 - },
5090 - {
5091 - "Id": 1330,
5092 - "QuestionId": 13,
5093 - "Text": "Sweden",
5094 - "Value": "Sweden",
5095 - "Order": 168
5096 - },
5097 - {
5098 - "Id": 1338,
5099 - "QuestionId": 13,
5100 - "Text": "Switzerland",
5101 - "Value": "Switzerland",
5102 - "Order": 169
5103 - },
5104 - {
5105 - "Id": 1346,
5106 - "QuestionId": 13,
5107 - "Text": "Syria",
5108 - "Value": "Syria",
5109 - "Order": 170
5110 - },
5111 - {
5112 - "Id": 1354,
5113 - "QuestionId": 13,
5114 - "Text": "Taiwan",
5115 - "Value": "Taiwan",
5116 - "Order": 171
5117 - },
5118 - {
5119 - "Id": 1362,
5120 - "QuestionId": 13,
5121 - "Text": "Tajikistan",
5122 - "Value": "Tajikistan",
5123 - "Order": 172
5124 - },
5125 - {
5126 - "Id": 1370,
5127 - "QuestionId": 13,
5128 - "Text": "Tanzania",
5129 - "Value": "Tanzania",
5130 - "Order": 173
5131 - },
5132 - {
5133 - "Id": 1378,
5134 - "QuestionId": 13,
5135 - "Text": "Thailand",
5136 - "Value": "Thailand",
5137 - "Order": 174
5138 - },
5139 - {
5140 - "Id": 1386,
5141 - "QuestionId": 13,
5142 - "Text": "Togo",
5143 - "Value": "Togo",
5144 - "Order": 175
5145 - },
5146 - {
5147 - "Id": 1394,
5148 - "QuestionId": 13,
5149 - "Text": "Tonga",
5150 - "Value": "Tonga",
5151 - "Order": 176
5152 - },
5153 - {
5154 - "Id": 1402,
5155 - "QuestionId": 13,
5156 - "Text": "Trinidad and Tobago",
5157 - "Value": "Trinidad and Tobago",
5158 - "Order": 177
5159 - },
5160 - {
5161 - "Id": 1410,
5162 - "QuestionId": 13,
5163 - "Text": "Tunisia",
5164 - "Value": "Tunisia",
5165 - "Order": 178
5166 - },
5167 - {
5168 - "Id": 1418,
5169 - "QuestionId": 13,
5170 - "Text": "Turkey",
5171 - "Value": "Turkey",
5172 - "Order": 179
5173 - },
5174 - {
5175 - "Id": 1426,
5176 - "QuestionId": 13,
5177 - "Text": "Turkmenistan",
5178 - "Value": "Turkmenistan",
5179 - "Order": 180
5180 - },
5181 - {
5182 - "Id": 1434,
5183 - "QuestionId": 13,
5184 - "Text": "Tuvalu",
5185 - "Value": "Tuvalu",
5186 - "Order": 181
5187 - },
5188 - {
5189 - "Id": 1442,
5190 - "QuestionId": 13,
5191 - "Text": "Uganda",
5192 - "Value": "Uganda",
5193 - "Order": 182
5194 - },
5195 - {
5196 - "Id": 1450,
5197 - "QuestionId": 13,
5198 - "Text": "Ukraine",
5199 - "Value": "Ukraine",
5200 - "Order": 183
5201 - },
5202 - {
5203 - "Id": 1458,
5204 - "QuestionId": 13,
5205 - "Text": "United Arab Emirates",
5206 - "Value": "United Arab Emirates",
5207 - "Order": 184
5208 - },
5209 - {
5210 - "Id": 1466,
5211 - "QuestionId": 13,
5212 - "Text": "United Kingdom",
5213 - "Value": "United Kingdom",
5214 - "Order": 185
5215 - },
5216 - {
5217 - "Id": 1474,
5218 - "QuestionId": 13,
5219 - "Text": "United States",
5220 - "Value": "United States",
5221 - "Order": 2
5222 - },
5223 - {
5224 - "Id": 1482,
5225 - "QuestionId": 13,
5226 - "Text": "Uruguay",
5227 - "Value": "Uruguay",
5228 - "Order": 186
5229 - },
5230 - {
5231 - "Id": 1490,
5232 - "QuestionId": 13,
5233 - "Text": "Uzbekistan",
5234 - "Value": "Uzbekistan",
5235 - "Order": 187
5236 - },
5237 - {
5238 - "Id": 1498,
5239 - "QuestionId": 13,
5240 - "Text": "Vanuatu",
5241 - "Value": "Vanuatu",
5242 - "Order": 188
5243 - },
5244 - {
5245 - "Id": 1506,
5246 - "QuestionId": 13,
5247 - "Text": "Vatican City",
5248 - "Value": "Vatican City",
5249 - "Order": 189
5250 - },
5251 - {
5252 - "Id": 1514,
5253 - "QuestionId": 13,
5254 - "Text": "Venezuela",
5255 - "Value": "Venezuela",
5256 - "Order": 190
5257 - },
5258 - {
5259 - "Id": 1522,
5260 - "QuestionId": 13,
5261 - "Text": "Vietnam",
5262 - "Value": "Vietnam",
5263 - "Order": 191
5264 - },
5265 - {
5266 - "Id": 1530,
5267 - "QuestionId": 13,
5268 - "Text": "Yemen",
5269 - "Value": "Yemen",
5270 - "Order": 192
5271 - },
5272 - {
5273 - "Id": 1538,
5274 - "QuestionId": 13,
5275 - "Text": "Zambia",
5276 - "Value": "Zambia",
5277 - "Order": 193
5278 - },
5279 - {
5280 - "Id": 1546,
5281 - "QuestionId": 13,
5282 - "Text": "Zimbabwe",
5283 - "Value": "Zimbabwe",
5284 - "Order": 194
5285 - },
5286 - {
5287 - "Id": 2186,
5288 - "QuestionId": 13,
5289 - "Text": "British Columbia",
5290 - "Value": "British Columbia",
5291 - "Order": 195
5292 - }
5293 - ]
5294 - }
5295 - ]
5296 -}
5297 -{{/code}}
5298 5298  
5299 -\\
2033 +(% class="western" %)
2034 +"result": {
5300 5300  
5301 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
5302 -== (% 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",
5303 5303  
5304 -----
2039 +(% class="western" %)
2040 +"error": {
5305 5305  
5306 -{{panel bgColor="#D3D3D3" width="100%"}}
5307 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/questions/lookup?Type=4
5308 -{{/panel}}
2042 +(% class="western" %)
2043 +"code": "0",
5309 5309  
5310 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
2045 +(% class="western" %)
2046 +"message": ""
5311 5311  
5312 -----
5313 -
5314 -(% 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}}
5315 -
5316 -=== (% style="color: rgb(33,33,33);" %)Query Params(%%) ===
5317 -
5318 -----
5319 -
5320 -(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Type  4(%%)
5321 -\\
5322 -
5323 -==== Example ====
5324 -
5325 -----
5326 -
5327 -(% style="color: rgb(107,107,107);" %)Request
5328 -
5329 -{{code language="php" theme="RDark" title="Lookup question by Type Request" collapse="true"}}
5330 -<?php
5331 -
5332 -$curl = curl_init();
5333 -
5334 -curl_setopt_array($curl, array(
5335 - CURLOPT_URL => 'rayaan.onecount.net/api/v2/questions/lookup?Type=4',
5336 - CURLOPT_RETURNTRANSFER => true,
5337 - CURLOPT_ENCODING => '',
5338 - CURLOPT_MAXREDIRS => 10,
5339 - CURLOPT_TIMEOUT => 0,
5340 - CURLOPT_FOLLOWLOCATION => true,
5341 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
5342 - CURLOPT_CUSTOMREQUEST => 'GET',
5343 - CURLOPT_HTTPHEADER => array(
5344 - 'Appkey: {{ONECOUNT API KEY}}'
5345 - ),
5346 -));
5347 -
5348 -$response = curl_exec($curl);
5349 -
5350 -curl_close($curl);
5351 -echo $response;
5352 -{{/code}}
5353 -
5354 -\\
5355 -
5356 -(% style="color: rgb(107,107,107);" %)Response  200 OK
5357 -
5358 -{{code language="yml" theme="RDark" title="Lookup question by type Response" collapse="true"}}
5359 -{
5360 - "result": {
5361 - "success": "1",
5362 - "error": {
5363 - "code": "",
5364 - "message": ""
5365 - }
5366 - },
5367 - "Questions": [
5368 - {
5369 - "Id": 11,
5370 - "Text": "State/Province",
5371 - "Type": "4",
5372 - "Alias": "State/Province",
5373 - "Choices": [
5374 - {
5375 - "Id": 1554,
5376 - "QuestionId": 11,
5377 - "Text": "Select One",
5378 - "Value": "",
5379 - "Order": 1
5380 - },
5381 - {
5382 - "Id": 1562,
5383 - "QuestionId": 11,
5384 - "Text": "Alabama",
5385 - "Value": "AL",
5386 - "Order": 2
5387 - },
5388 - {
5389 - "Id": 1570,
5390 - "QuestionId": 11,
5391 - "Text": "Alaska",
5392 - "Value": "AK",
5393 - "Order": 3
5394 - },
5395 - {
5396 - "Id": 1578,
5397 - "QuestionId": 11,
5398 - "Text": "Arizona",
5399 - "Value": "AZ",
5400 - "Order": 4
5401 - },
5402 - {
5403 - "Id": 1586,
5404 - "QuestionId": 11,
5405 - "Text": "Arkansas",
5406 - "Value": "AR",
5407 - "Order": 5
5408 - },
5409 - {
5410 - "Id": 1594,
5411 - "QuestionId": 11,
5412 - "Text": "California",
5413 - "Value": "CA",
5414 - "Order": 6
5415 - },
5416 - {
5417 - "Id": 1602,
5418 - "QuestionId": 11,
5419 - "Text": "Colorado",
5420 - "Value": "CO",
5421 - "Order": 7
5422 - },
5423 - {
5424 - "Id": 1610,
5425 - "QuestionId": 11,
5426 - "Text": "Connecticut",
5427 - "Value": "CT",
5428 - "Order": 8
5429 - },
5430 - {
5431 - "Id": 1618,
5432 - "QuestionId": 11,
5433 - "Text": "Delaware",
5434 - "Value": "DE",
5435 - "Order": 9
5436 - },
5437 - {
5438 - "Id": 1626,
5439 - "QuestionId": 11,
5440 - "Text": "District of Columbia",
5441 - "Value": "DC",
5442 - "Order": 10
5443 - },
5444 - {
5445 - "Id": 1634,
5446 - "QuestionId": 11,
5447 - "Text": "Florida",
5448 - "Value": "FL",
5449 - "Order": 11
5450 - },
5451 - {
5452 - "Id": 1642,
5453 - "QuestionId": 11,
5454 - "Text": "Georgia",
5455 - "Value": "GA",
5456 - "Order": 12
5457 - },
5458 - {
5459 - "Id": 1650,
5460 - "QuestionId": 11,
5461 - "Text": "Hawaii",
5462 - "Value": "HI",
5463 - "Order": 13
5464 - },
5465 - {
5466 - "Id": 1658,
5467 - "QuestionId": 11,
5468 - "Text": "Idaho",
5469 - "Value": "ID",
5470 - "Order": 14
5471 - },
5472 - {
5473 - "Id": 1666,
5474 - "QuestionId": 11,
5475 - "Text": "Illinois",
5476 - "Value": "IL",
5477 - "Order": 15
5478 - },
5479 - {
5480 - "Id": 1674,
5481 - "QuestionId": 11,
5482 - "Text": "Indiana",
5483 - "Value": "IN",
5484 - "Order": 16
5485 - },
5486 - {
5487 - "Id": 1682,
5488 - "QuestionId": 11,
5489 - "Text": "Iowa",
5490 - "Value": "IA",
5491 - "Order": 17
5492 - },
5493 - {
5494 - "Id": 1690,
5495 - "QuestionId": 11,
5496 - "Text": "Kansas",
5497 - "Value": "KS",
5498 - "Order": 18
5499 - },
5500 - {
5501 - "Id": 1698,
5502 - "QuestionId": 11,
5503 - "Text": "Kentucky",
5504 - "Value": "KY",
5505 - "Order": 19
5506 - },
5507 - {
5508 - "Id": 1706,
5509 - "QuestionId": 11,
5510 - "Text": "Louisiana",
5511 - "Value": "LA",
5512 - "Order": 20
5513 - },
5514 - {
5515 - "Id": 1714,
5516 - "QuestionId": 11,
5517 - "Text": "Maine",
5518 - "Value": "ME",
5519 - "Order": 21
5520 - },
5521 - {
5522 - "Id": 1722,
5523 - "QuestionId": 11,
5524 - "Text": "Maryland",
5525 - "Value": "MD",
5526 - "Order": 22
5527 - },
5528 - {
5529 - "Id": 1730,
5530 - "QuestionId": 11,
5531 - "Text": "Massachusetts",
5532 - "Value": "MA",
5533 - "Order": 23
5534 - },
5535 - {
5536 - "Id": 1738,
5537 - "QuestionId": 11,
5538 - "Text": "Michigan",
5539 - "Value": "MI",
5540 - "Order": 24
5541 - },
5542 - {
5543 - "Id": 1746,
5544 - "QuestionId": 11,
5545 - "Text": "Minnesota",
5546 - "Value": "MN",
5547 - "Order": 25
5548 - },
5549 - {
5550 - "Id": 1754,
5551 - "QuestionId": 11,
5552 - "Text": "Mississippi",
5553 - "Value": "MS",
5554 - "Order": 26
5555 - },
5556 - {
5557 - "Id": 1762,
5558 - "QuestionId": 11,
5559 - "Text": "Missouri",
5560 - "Value": "MO",
5561 - "Order": 27
5562 - },
5563 - {
5564 - "Id": 1770,
5565 - "QuestionId": 11,
5566 - "Text": "Montana",
5567 - "Value": "MT",
5568 - "Order": 28
5569 - },
5570 - {
5571 - "Id": 1778,
5572 - "QuestionId": 11,
5573 - "Text": "Nebraska",
5574 - "Value": "NE",
5575 - "Order": 29
5576 - },
5577 - {
5578 - "Id": 1786,
5579 - "QuestionId": 11,
5580 - "Text": "Nevada",
5581 - "Value": "NV",
5582 - "Order": 30
5583 - },
5584 - {
5585 - "Id": 1794,
5586 - "QuestionId": 11,
5587 - "Text": "New Hampshire",
5588 - "Value": "NH",
5589 - "Order": 31
5590 - },
5591 - {
5592 - "Id": 1802,
5593 - "QuestionId": 11,
5594 - "Text": "New Jersey",
5595 - "Value": "NJ",
5596 - "Order": 32
5597 - },
5598 - {
5599 - "Id": 1810,
5600 - "QuestionId": 11,
5601 - "Text": "New Mexico",
5602 - "Value": "NM",
5603 - "Order": 33
5604 - },
5605 - {
5606 - "Id": 1818,
5607 - "QuestionId": 11,
5608 - "Text": "New York",
5609 - "Value": "NY",
5610 - "Order": 34
5611 - },
5612 - {
5613 - "Id": 1826,
5614 - "QuestionId": 11,
5615 - "Text": "North Carolina",
5616 - "Value": "NC",
5617 - "Order": 35
5618 - },
5619 - {
5620 - "Id": 1834,
5621 - "QuestionId": 11,
5622 - "Text": "Ohio",
5623 - "Value": "OH",
5624 - "Order": 37
5625 - },
5626 - {
5627 - "Id": 1842,
5628 - "QuestionId": 11,
5629 - "Text": "Oklahoma",
5630 - "Value": "OK",
5631 - "Order": 38
5632 - },
5633 - {
5634 - "Id": 1850,
5635 - "QuestionId": 11,
5636 - "Text": "Oregon",
5637 - "Value": "OR",
5638 - "Order": 39
5639 - },
5640 - {
5641 - "Id": 1858,
5642 - "QuestionId": 11,
5643 - "Text": "Pennsylvania",
5644 - "Value": "PA",
5645 - "Order": 40
5646 - },
5647 - {
5648 - "Id": 1866,
5649 - "QuestionId": 11,
5650 - "Text": "Rhode Island",
5651 - "Value": "RI",
5652 - "Order": 41
5653 - },
5654 - {
5655 - "Id": 1874,
5656 - "QuestionId": 11,
5657 - "Text": "South Carolina",
5658 - "Value": "SC",
5659 - "Order": 42
5660 - },
5661 - {
5662 - "Id": 1882,
5663 - "QuestionId": 11,
5664 - "Text": "South Dakota",
5665 - "Value": "SD",
5666 - "Order": 43
5667 - },
5668 - {
5669 - "Id": 1890,
5670 - "QuestionId": 11,
5671 - "Text": "Tennessee",
5672 - "Value": "TN",
5673 - "Order": 44
5674 - },
5675 - {
5676 - "Id": 1898,
5677 - "QuestionId": 11,
5678 - "Text": "Texas",
5679 - "Value": "TX",
5680 - "Order": 45
5681 - },
5682 - {
5683 - "Id": 1906,
5684 - "QuestionId": 11,
5685 - "Text": "Utah",
5686 - "Value": "UT",
5687 - "Order": 46
5688 - },
5689 - {
5690 - "Id": 1914,
5691 - "QuestionId": 11,
5692 - "Text": "Vermont",
5693 - "Value": "VT",
5694 - "Order": 47
5695 - },
5696 - {
5697 - "Id": 1922,
5698 - "QuestionId": 11,
5699 - "Text": "Virginia",
5700 - "Value": "VA",
5701 - "Order": 48
5702 - },
5703 - {
5704 - "Id": 1930,
5705 - "QuestionId": 11,
5706 - "Text": "Washington",
5707 - "Value": "WA",
5708 - "Order": 49
5709 - },
5710 - {
5711 - "Id": 1938,
5712 - "QuestionId": 11,
5713 - "Text": "West Virginia",
5714 - "Value": "WV",
5715 - "Order": 50
5716 - },
5717 - {
5718 - "Id": 1946,
5719 - "QuestionId": 11,
5720 - "Text": "Wisconsin",
5721 - "Value": "WI",
5722 - "Order": 51
5723 - },
5724 - {
5725 - "Id": 1954,
5726 - "QuestionId": 11,
5727 - "Text": "Wyoming",
5728 - "Value": "WY",
5729 - "Order": 52
5730 - },
5731 - {
5732 - "Id": 1962,
5733 - "QuestionId": 11,
5734 - "Text": "American Samoa",
5735 - "Value": "AS",
5736 - "Order": 53
5737 - },
5738 - {
5739 - "Id": 1970,
5740 - "QuestionId": 11,
5741 - "Text": "North Dakota",
5742 - "Value": "ND",
5743 - "Order": 36
5744 - },
5745 - {
5746 - "Id": 1978,
5747 - "QuestionId": 11,
5748 - "Text": "Federated States of Micronesia",
5749 - "Value": "FM",
5750 - "Order": 54
5751 - },
5752 - {
5753 - "Id": 1986,
5754 - "QuestionId": 11,
5755 - "Text": "Guam",
5756 - "Value": "GU",
5757 - "Order": 55
5758 - },
5759 - {
5760 - "Id": 1994,
5761 - "QuestionId": 11,
5762 - "Text": "Marshall Islands",
5763 - "Value": "MH",
5764 - "Order": 56
5765 - },
5766 - {
5767 - "Id": 2002,
5768 - "QuestionId": 11,
5769 - "Text": "Northern Mariana Islands",
5770 - "Value": "MP",
5771 - "Order": 57
5772 - },
5773 - {
5774 - "Id": 2010,
5775 - "QuestionId": 11,
5776 - "Text": "Palau",
5777 - "Value": "PW",
5778 - "Order": 58
5779 - },
5780 - {
5781 - "Id": 2018,
5782 - "QuestionId": 11,
5783 - "Text": "Puerto Rico",
5784 - "Value": "PR",
5785 - "Order": 59
5786 - },
5787 - {
5788 - "Id": 2026,
5789 - "QuestionId": 11,
5790 - "Text": "U.S. Virgin Islands",
5791 - "Value": "VI",
5792 - "Order": 60
5793 - },
5794 - {
5795 - "Id": 2034,
5796 - "QuestionId": 11,
5797 - "Text": "Armed Forces Africa",
5798 - "Value": "AE",
5799 - "Order": 61
5800 - },
5801 - {
5802 - "Id": 2042,
5803 - "QuestionId": 11,
5804 - "Text": "Armed Forces Americas (except Canada)",
5805 - "Value": "AA",
5806 - "Order": 62
5807 - },
5808 - {
5809 - "Id": 2050,
5810 - "QuestionId": 11,
5811 - "Text": "Armed Forces Canada",
5812 - "Value": "AE",
5813 - "Order": 63
5814 - },
5815 - {
5816 - "Id": 2058,
5817 - "QuestionId": 11,
5818 - "Text": "Armed Forces Europe",
5819 - "Value": "AE",
5820 - "Order": 64
5821 - },
5822 - {
5823 - "Id": 2066,
5824 - "QuestionId": 11,
5825 - "Text": "Armed Forces Middle East",
5826 - "Value": "AE",
5827 - "Order": 65
5828 - },
5829 - {
5830 - "Id": 2074,
5831 - "QuestionId": 11,
5832 - "Text": "Armed Forces Pacific",
5833 - "Value": "AP",
5834 - "Order": 66
5835 - },
5836 - {
5837 - "Id": 2082,
5838 - "QuestionId": 11,
5839 - "Text": "Non-US/Not Applicable",
5840 - "Value": "Non-US/Not Applicable",
5841 - "Order": 67
5842 - },
5843 - {
5844 - "Id": 2090,
5845 - "QuestionId": 11,
5846 - "Text": "Ontario",
5847 - "Value": "Ontario",
5848 - "Order": 68
5849 - },
5850 - {
5851 - "Id": 2098,
5852 - "QuestionId": 11,
5853 - "Text": "Quebec",
5854 - "Value": "Quebec",
5855 - "Order": 69
5856 - },
5857 - {
5858 - "Id": 2106,
5859 - "QuestionId": 11,
5860 - "Text": "Nova Scotia",
5861 - "Value": "Nova Scotia",
5862 - "Order": 70
5863 - },
5864 - {
5865 - "Id": 2114,
5866 - "QuestionId": 11,
5867 - "Text": "New Brunswick",
5868 - "Value": "New Brunswick",
5869 - "Order": 71
5870 - },
5871 - {
5872 - "Id": 2122,
5873 - "QuestionId": 11,
5874 - "Text": "Manitoba",
5875 - "Value": "Manitoba",
5876 - "Order": 72
5877 - },
5878 - {
5879 - "Id": 2130,
5880 - "QuestionId": 11,
5881 - "Text": "Brittish Columbia",
5882 - "Value": "Brittish Columbia",
5883 - "Order": 73
5884 - },
5885 - {
5886 - "Id": 2138,
5887 - "QuestionId": 11,
5888 - "Text": "Prince Edward Island",
5889 - "Value": "Prince Edward Island",
5890 - "Order": 74
5891 - },
5892 - {
5893 - "Id": 2146,
5894 - "QuestionId": 11,
5895 - "Text": "Saskatchewan",
5896 - "Value": "Saskatchewan",
5897 - "Order": 75
5898 - },
5899 - {
5900 - "Id": 2154,
5901 - "QuestionId": 11,
5902 - "Text": "Alberta",
5903 - "Value": "Alberta",
5904 - "Order": 76
5905 - },
5906 - {
5907 - "Id": 2162,
5908 - "QuestionId": 11,
5909 - "Text": "Newfoundland and Labrador",
5910 - "Value": "Newfoundland and Labrador",
5911 - "Order": 77
5912 - },
5913 - {
5914 - "Id": 2170,
5915 - "QuestionId": 11,
5916 - "Text": "British Columbia",
5917 - "Value": "British Columbia",
5918 - "Order": 78
5919 - },
5920 - {
5921 - "Id": 2178,
5922 - "QuestionId": 11,
5923 - "Text": "Ontario",
5924 - "Value": "ON",
5925 - "Order": 79
5926 - }
5927 - ]
5928 - },
5929 - {
5930 - "Id": 13,
5931 - "Text": "Country",
5932 - "Type": "4",
5933 - "Alias": "Country",
5934 - "Choices": [
5935 - {
5936 - "Id": 2,
5937 - "QuestionId": 13,
5938 - "Text": "Select One",
5939 - "Value": "",
5940 - "Order": 1
5941 - },
5942 - {
5943 - "Id": 10,
5944 - "QuestionId": 13,
5945 - "Text": "Afghanistan",
5946 - "Value": "Afghanistan",
5947 - "Order": 3
5948 - },
5949 - {
5950 - "Id": 18,
5951 - "QuestionId": 13,
5952 - "Text": "Albania",
5953 - "Value": "Albania",
5954 - "Order": 4
5955 - },
5956 - {
5957 - "Id": 26,
5958 - "QuestionId": 13,
5959 - "Text": "Algeria",
5960 - "Value": "Algeria",
5961 - "Order": 5
5962 - },
5963 - {
5964 - "Id": 34,
5965 - "QuestionId": 13,
5966 - "Text": "Andorra",
5967 - "Value": "Andorra",
5968 - "Order": 6
5969 - },
5970 - {
5971 - "Id": 42,
5972 - "QuestionId": 13,
5973 - "Text": "Angola",
5974 - "Value": "Angola",
5975 - "Order": 7
5976 - },
5977 - {
5978 - "Id": 50,
5979 - "QuestionId": 13,
5980 - "Text": "Antigua and Barbuda",
5981 - "Value": "Antigua and Barbuda",
5982 - "Order": 8
5983 - },
5984 - {
5985 - "Id": 58,
5986 - "QuestionId": 13,
5987 - "Text": "Argentina",
5988 - "Value": "Argentina",
5989 - "Order": 9
5990 - },
5991 - {
5992 - "Id": 66,
5993 - "QuestionId": 13,
5994 - "Text": "Armenia",
5995 - "Value": "Armenia",
5996 - "Order": 10
5997 - },
5998 - {
5999 - "Id": 74,
6000 - "QuestionId": 13,
6001 - "Text": "Australia",
6002 - "Value": "Australia",
6003 - "Order": 11
6004 - },
6005 - {
6006 - "Id": 82,
6007 - "QuestionId": 13,
6008 - "Text": "Austria",
6009 - "Value": "Austria",
6010 - "Order": 12
6011 - },
6012 - {
6013 - "Id": 90,
6014 - "QuestionId": 13,
6015 - "Text": "Azerbaijan",
6016 - "Value": "Azerbaijan",
6017 - "Order": 13
6018 - },
6019 - {
6020 - "Id": 98,
6021 - "QuestionId": 13,
6022 - "Text": "Bahamas",
6023 - "Value": "Bahamas",
6024 - "Order": 14
6025 - },
6026 - {
6027 - "Id": 106,
6028 - "QuestionId": 13,
6029 - "Text": "Bahrain",
6030 - "Value": "Bahrain",
6031 - "Order": 15
6032 - },
6033 - {
6034 - "Id": 114,
6035 - "QuestionId": 13,
6036 - "Text": "Bangladesh",
6037 - "Value": "Bangladesh",
6038 - "Order": 16
6039 - },
6040 - {
6041 - "Id": 122,
6042 - "QuestionId": 13,
6043 - "Text": "Barbados",
6044 - "Value": "Barbados",
6045 - "Order": 17
6046 - },
6047 - {
6048 - "Id": 130,
6049 - "QuestionId": 13,
6050 - "Text": "Belarus",
6051 - "Value": "Belarus",
6052 - "Order": 18
6053 - },
6054 - {
6055 - "Id": 138,
6056 - "QuestionId": 13,
6057 - "Text": "Belgium",
6058 - "Value": "Belgium",
6059 - "Order": 19
6060 - },
6061 - {
6062 - "Id": 146,
6063 - "QuestionId": 13,
6064 - "Text": "Belize",
6065 - "Value": "Belize",
6066 - "Order": 20
6067 - },
6068 - {
6069 - "Id": 154,
6070 - "QuestionId": 13,
6071 - "Text": "Benin",
6072 - "Value": "Benin",
6073 - "Order": 21
6074 - },
6075 - {
6076 - "Id": 162,
6077 - "QuestionId": 13,
6078 - "Text": "Bhutan",
6079 - "Value": "Bhutan",
6080 - "Order": 22
6081 - },
6082 - {
6083 - "Id": 170,
6084 - "QuestionId": 13,
6085 - "Text": "Bolivia",
6086 - "Value": "Bolivia",
6087 - "Order": 23
6088 - },
6089 - {
6090 - "Id": 178,
6091 - "QuestionId": 13,
6092 - "Text": "Bosnia and Herzegovina",
6093 - "Value": "Bosnia and Herzegovina",
6094 - "Order": 24
6095 - },
6096 - {
6097 - "Id": 186,
6098 - "QuestionId": 13,
6099 - "Text": "Botswana",
6100 - "Value": "Botswana",
6101 - "Order": 25
6102 - },
6103 - {
6104 - "Id": 194,
6105 - "QuestionId": 13,
6106 - "Text": "Brazil",
6107 - "Value": "Brazil",
6108 - "Order": 26
6109 - },
6110 - {
6111 - "Id": 202,
6112 - "QuestionId": 13,
6113 - "Text": "Brunei",
6114 - "Value": "Brunei",
6115 - "Order": 27
6116 - },
6117 - {
6118 - "Id": 210,
6119 - "QuestionId": 13,
6120 - "Text": "Bulgaria",
6121 - "Value": "Bulgaria",
6122 - "Order": 28
6123 - },
6124 - {
6125 - "Id": 218,
6126 - "QuestionId": 13,
6127 - "Text": "Burkina Faso",
6128 - "Value": "Burkina Faso",
6129 - "Order": 29
6130 - },
6131 - {
6132 - "Id": 226,
6133 - "QuestionId": 13,
6134 - "Text": "Burundi",
6135 - "Value": "Burundi",
6136 - "Order": 30
6137 - },
6138 - {
6139 - "Id": 234,
6140 - "QuestionId": 13,
6141 - "Text": "Cambodia",
6142 - "Value": "Cambodia",
6143 - "Order": 31
6144 - },
6145 - {
6146 - "Id": 242,
6147 - "QuestionId": 13,
6148 - "Text": "Cameroon",
6149 - "Value": "Cameroon",
6150 - "Order": 32
6151 - },
6152 - {
6153 - "Id": 250,
6154 - "QuestionId": 13,
6155 - "Text": "Canada",
6156 - "Value": "Canada",
6157 - "Order": 33
6158 - },
6159 - {
6160 - "Id": 258,
6161 - "QuestionId": 13,
6162 - "Text": "Cape Verde",
6163 - "Value": "Cape Verde",
6164 - "Order": 34
6165 - },
6166 - {
6167 - "Id": 266,
6168 - "QuestionId": 13,
6169 - "Text": "Central African Republic",
6170 - "Value": "Central African Republic",
6171 - "Order": 35
6172 - },
6173 - {
6174 - "Id": 274,
6175 - "QuestionId": 13,
6176 - "Text": "Chad",
6177 - "Value": "Chad",
6178 - "Order": 36
6179 - },
6180 - {
6181 - "Id": 282,
6182 - "QuestionId": 13,
6183 - "Text": "Chile",
6184 - "Value": "Chile",
6185 - "Order": 37
6186 - },
6187 - {
6188 - "Id": 290,
6189 - "QuestionId": 13,
6190 - "Text": "China",
6191 - "Value": "China",
6192 - "Order": 38
6193 - },
6194 - {
6195 - "Id": 298,
6196 - "QuestionId": 13,
6197 - "Text": "Colombia",
6198 - "Value": "Colombia",
6199 - "Order": 39
6200 - },
6201 - {
6202 - "Id": 306,
6203 - "QuestionId": 13,
6204 - "Text": "Comoros",
6205 - "Value": "Comoros",
6206 - "Order": 40
6207 - },
6208 - {
6209 - "Id": 314,
6210 - "QuestionId": 13,
6211 - "Text": "Congo (Brazzaville)",
6212 - "Value": "Congo (Brazzaville)",
6213 - "Order": 41
6214 - },
6215 - {
6216 - "Id": 322,
6217 - "QuestionId": 13,
6218 - "Text": "Congo",
6219 - "Value": "Congo",
6220 - "Order": 42
6221 - },
6222 - {
6223 - "Id": 330,
6224 - "QuestionId": 13,
6225 - "Text": "Costa Rica",
6226 - "Value": "Costa Rica",
6227 - "Order": 43
6228 - },
6229 - {
6230 - "Id": 338,
6231 - "QuestionId": 13,
6232 - "Text": "Cote d'Ivoire",
6233 - "Value": "Cote d'Ivoire",
6234 - "Order": 44
6235 - },
6236 - {
6237 - "Id": 346,
6238 - "QuestionId": 13,
6239 - "Text": "Croatia",
6240 - "Value": "Croatia",
6241 - "Order": 45
6242 - },
6243 - {
6244 - "Id": 354,
6245 - "QuestionId": 13,
6246 - "Text": "Cuba",
6247 - "Value": "Cuba",
6248 - "Order": 46
6249 - },
6250 - {
6251 - "Id": 362,
6252 - "QuestionId": 13,
6253 - "Text": "Cyprus",
6254 - "Value": "Cyprus",
6255 - "Order": 47
6256 - },
6257 - {
6258 - "Id": 370,
6259 - "QuestionId": 13,
6260 - "Text": "Czech Republic",
6261 - "Value": "Czech Republic",
6262 - "Order": 48
6263 - },
6264 - {
6265 - "Id": 378,
6266 - "QuestionId": 13,
6267 - "Text": "Denmark",
6268 - "Value": "Denmark",
6269 - "Order": 49
6270 - },
6271 - {
6272 - "Id": 386,
6273 - "QuestionId": 13,
6274 - "Text": "Djibouti",
6275 - "Value": "Djibouti",
6276 - "Order": 50
6277 - },
6278 - {
6279 - "Id": 394,
6280 - "QuestionId": 13,
6281 - "Text": "Dominica",
6282 - "Value": "Dominica",
6283 - "Order": 51
6284 - },
6285 - {
6286 - "Id": 402,
6287 - "QuestionId": 13,
6288 - "Text": "Dominican Republic",
6289 - "Value": "Dominican Republic",
6290 - "Order": 52
6291 - },
6292 - {
6293 - "Id": 410,
6294 - "QuestionId": 13,
6295 - "Text": "East Timor",
6296 - "Value": "East Timor",
6297 - "Order": 53
6298 - },
6299 - {
6300 - "Id": 418,
6301 - "QuestionId": 13,
6302 - "Text": "Ecuador",
6303 - "Value": "Ecuador",
6304 - "Order": 54
6305 - },
6306 - {
6307 - "Id": 426,
6308 - "QuestionId": 13,
6309 - "Text": "Egypt",
6310 - "Value": "Egypt",
6311 - "Order": 55
6312 - },
6313 - {
6314 - "Id": 434,
6315 - "QuestionId": 13,
6316 - "Text": "El Salvador",
6317 - "Value": "El Salvador",
6318 - "Order": 56
6319 - },
6320 - {
6321 - "Id": 442,
6322 - "QuestionId": 13,
6323 - "Text": "Equatorial Guinea",
6324 - "Value": "Equatorial Guinea",
6325 - "Order": 57
6326 - },
6327 - {
6328 - "Id": 450,
6329 - "QuestionId": 13,
6330 - "Text": "Eritrea",
6331 - "Value": "Eritrea",
6332 - "Order": 58
6333 - },
6334 - {
6335 - "Id": 458,
6336 - "QuestionId": 13,
6337 - "Text": "Estonia",
6338 - "Value": "Estonia",
6339 - "Order": 59
6340 - },
6341 - {
6342 - "Id": 466,
6343 - "QuestionId": 13,
6344 - "Text": "Ethiopia",
6345 - "Value": "Ethiopia",
6346 - "Order": 60
6347 - },
6348 - {
6349 - "Id": 474,
6350 - "QuestionId": 13,
6351 - "Text": "Fiji",
6352 - "Value": "Fiji",
6353 - "Order": 61
6354 - },
6355 - {
6356 - "Id": 482,
6357 - "QuestionId": 13,
6358 - "Text": "Finland",
6359 - "Value": "Finland",
6360 - "Order": 62
6361 - },
6362 - {
6363 - "Id": 490,
6364 - "QuestionId": 13,
6365 - "Text": "France",
6366 - "Value": "France",
6367 - "Order": 63
6368 - },
6369 - {
6370 - "Id": 498,
6371 - "QuestionId": 13,
6372 - "Text": "Gabon",
6373 - "Value": "Gabon",
6374 - "Order": 64
6375 - },
6376 - {
6377 - "Id": 506,
6378 - "QuestionId": 13,
6379 - "Text": "Gambia, The",
6380 - "Value": "Gambia, The",
6381 - "Order": 65
6382 - },
6383 - {
6384 - "Id": 514,
6385 - "QuestionId": 13,
6386 - "Text": "Georgia",
6387 - "Value": "Georgia",
6388 - "Order": 66
6389 - },
6390 - {
6391 - "Id": 522,
6392 - "QuestionId": 13,
6393 - "Text": "Germany",
6394 - "Value": "Germany",
6395 - "Order": 67
6396 - },
6397 - {
6398 - "Id": 530,
6399 - "QuestionId": 13,
6400 - "Text": "Ghana",
6401 - "Value": "Ghana",
6402 - "Order": 68
6403 - },
6404 - {
6405 - "Id": 538,
6406 - "QuestionId": 13,
6407 - "Text": "Greece",
6408 - "Value": "Greece",
6409 - "Order": 69
6410 - },
6411 - {
6412 - "Id": 546,
6413 - "QuestionId": 13,
6414 - "Text": "Grenada",
6415 - "Value": "Grenada",
6416 - "Order": 70
6417 - },
6418 - {
6419 - "Id": 554,
6420 - "QuestionId": 13,
6421 - "Text": "Guatemala",
6422 - "Value": "Guatemala",
6423 - "Order": 71
6424 - },
6425 - {
6426 - "Id": 562,
6427 - "QuestionId": 13,
6428 - "Text": "Guinea",
6429 - "Value": "Guinea",
6430 - "Order": 72
6431 - },
6432 - {
6433 - "Id": 570,
6434 - "QuestionId": 13,
6435 - "Text": "Guinea-Bissau",
6436 - "Value": "Guinea-Bissau",
6437 - "Order": 73
6438 - },
6439 - {
6440 - "Id": 578,
6441 - "QuestionId": 13,
6442 - "Text": "Guyana",
6443 - "Value": "Guyana",
6444 - "Order": 74
6445 - },
6446 - {
6447 - "Id": 586,
6448 - "QuestionId": 13,
6449 - "Text": "Haiti",
6450 - "Value": "Haiti",
6451 - "Order": 75
6452 - },
6453 - {
6454 - "Id": 594,
6455 - "QuestionId": 13,
6456 - "Text": "Honduras",
6457 - "Value": "Honduras",
6458 - "Order": 76
6459 - },
6460 - {
6461 - "Id": 602,
6462 - "QuestionId": 13,
6463 - "Text": "Hungary",
6464 - "Value": "Hungary",
6465 - "Order": 77
6466 - },
6467 - {
6468 - "Id": 610,
6469 - "QuestionId": 13,
6470 - "Text": "Iceland",
6471 - "Value": "Iceland",
6472 - "Order": 78
6473 - },
6474 - {
6475 - "Id": 618,
6476 - "QuestionId": 13,
6477 - "Text": "India",
6478 - "Value": "India",
6479 - "Order": 79
6480 - },
6481 - {
6482 - "Id": 626,
6483 - "QuestionId": 13,
6484 - "Text": "Indonesia",
6485 - "Value": "Indonesia",
6486 - "Order": 80
6487 - },
6488 - {
6489 - "Id": 634,
6490 - "QuestionId": 13,
6491 - "Text": "Iran",
6492 - "Value": "Iran",
6493 - "Order": 81
6494 - },
6495 - {
6496 - "Id": 642,
6497 - "QuestionId": 13,
6498 - "Text": "Iraq",
6499 - "Value": "Iraq",
6500 - "Order": 82
6501 - },
6502 - {
6503 - "Id": 650,
6504 - "QuestionId": 13,
6505 - "Text": "Ireland",
6506 - "Value": "Ireland",
6507 - "Order": 83
6508 - },
6509 - {
6510 - "Id": 658,
6511 - "QuestionId": 13,
6512 - "Text": "Israel",
6513 - "Value": "Israel",
6514 - "Order": 84
6515 - },
6516 - {
6517 - "Id": 666,
6518 - "QuestionId": 13,
6519 - "Text": "Italy",
6520 - "Value": "Italy",
6521 - "Order": 85
6522 - },
6523 - {
6524 - "Id": 674,
6525 - "QuestionId": 13,
6526 - "Text": "Jamaica",
6527 - "Value": "Jamaica",
6528 - "Order": 86
6529 - },
6530 - {
6531 - "Id": 682,
6532 - "QuestionId": 13,
6533 - "Text": "Japan",
6534 - "Value": "Japan",
6535 - "Order": 87
6536 - },
6537 - {
6538 - "Id": 690,
6539 - "QuestionId": 13,
6540 - "Text": "Jordan",
6541 - "Value": "Jordan",
6542 - "Order": 88
6543 - },
6544 - {
6545 - "Id": 698,
6546 - "QuestionId": 13,
6547 - "Text": "Kazakhstan",
6548 - "Value": "Kazakhstan",
6549 - "Order": 89
6550 - },
6551 - {
6552 - "Id": 706,
6553 - "QuestionId": 13,
6554 - "Text": "Kenya",
6555 - "Value": "Kenya",
6556 - "Order": 90
6557 - },
6558 - {
6559 - "Id": 714,
6560 - "QuestionId": 13,
6561 - "Text": "Kiribati",
6562 - "Value": "Kiribati",
6563 - "Order": 91
6564 - },
6565 - {
6566 - "Id": 722,
6567 - "QuestionId": 13,
6568 - "Text": "Korea, North",
6569 - "Value": "Korea, North",
6570 - "Order": 92
6571 - },
6572 - {
6573 - "Id": 730,
6574 - "QuestionId": 13,
6575 - "Text": "Korea, South",
6576 - "Value": "Korea, South",
6577 - "Order": 93
6578 - },
6579 - {
6580 - "Id": 738,
6581 - "QuestionId": 13,
6582 - "Text": "Kuwait",
6583 - "Value": "Kuwait",
6584 - "Order": 94
6585 - },
6586 - {
6587 - "Id": 746,
6588 - "QuestionId": 13,
6589 - "Text": "Kyrgyzstan",
6590 - "Value": "Kyrgyzstan",
6591 - "Order": 95
6592 - },
6593 - {
6594 - "Id": 754,
6595 - "QuestionId": 13,
6596 - "Text": "Laos",
6597 - "Value": "Laos",
6598 - "Order": 96
6599 - },
6600 - {
6601 - "Id": 762,
6602 - "QuestionId": 13,
6603 - "Text": "Latvia",
6604 - "Value": "Latvia",
6605 - "Order": 97
6606 - },
6607 - {
6608 - "Id": 770,
6609 - "QuestionId": 13,
6610 - "Text": "Lebanon",
6611 - "Value": "Lebanon",
6612 - "Order": 98
6613 - },
6614 - {
6615 - "Id": 778,
6616 - "QuestionId": 13,
6617 - "Text": "Lesotho",
6618 - "Value": "Lesotho",
6619 - "Order": 99
6620 - },
6621 - {
6622 - "Id": 786,
6623 - "QuestionId": 13,
6624 - "Text": "Liberia",
6625 - "Value": "Liberia",
6626 - "Order": 100
6627 - },
6628 - {
6629 - "Id": 794,
6630 - "QuestionId": 13,
6631 - "Text": "Libya",
6632 - "Value": "Libya",
6633 - "Order": 101
6634 - },
6635 - {
6636 - "Id": 802,
6637 - "QuestionId": 13,
6638 - "Text": "Liechtenstein",
6639 - "Value": "Liechtenstein",
6640 - "Order": 102
6641 - },
6642 - {
6643 - "Id": 810,
6644 - "QuestionId": 13,
6645 - "Text": "Lithuania",
6646 - "Value": "Lithuania",
6647 - "Order": 103
6648 - },
6649 - {
6650 - "Id": 818,
6651 - "QuestionId": 13,
6652 - "Text": "Luxembourg",
6653 - "Value": "Luxembourg",
6654 - "Order": 104
6655 - },
6656 - {
6657 - "Id": 826,
6658 - "QuestionId": 13,
6659 - "Text": "Macedonia",
6660 - "Value": "Macedonia",
6661 - "Order": 105
6662 - },
6663 - {
6664 - "Id": 834,
6665 - "QuestionId": 13,
6666 - "Text": "Madagascar",
6667 - "Value": "Madagascar",
6668 - "Order": 106
6669 - },
6670 - {
6671 - "Id": 842,
6672 - "QuestionId": 13,
6673 - "Text": "Malawi",
6674 - "Value": "Malawi",
6675 - "Order": 107
6676 - },
6677 - {
6678 - "Id": 850,
6679 - "QuestionId": 13,
6680 - "Text": "Malaysia",
6681 - "Value": "Malaysia",
6682 - "Order": 108
6683 - },
6684 - {
6685 - "Id": 858,
6686 - "QuestionId": 13,
6687 - "Text": "Maldives",
6688 - "Value": "Maldives",
6689 - "Order": 109
6690 - },
6691 - {
6692 - "Id": 866,
6693 - "QuestionId": 13,
6694 - "Text": "Mali",
6695 - "Value": "Mali",
6696 - "Order": 110
6697 - },
6698 - {
6699 - "Id": 874,
6700 - "QuestionId": 13,
6701 - "Text": "Malta",
6702 - "Value": "Malta",
6703 - "Order": 111
6704 - },
6705 - {
6706 - "Id": 882,
6707 - "QuestionId": 13,
6708 - "Text": "Marshall Islands",
6709 - "Value": "Marshall Islands",
6710 - "Order": 112
6711 - },
6712 - {
6713 - "Id": 890,
6714 - "QuestionId": 13,
6715 - "Text": "Mauritania",
6716 - "Value": "Mauritania",
6717 - "Order": 113
6718 - },
6719 - {
6720 - "Id": 898,
6721 - "QuestionId": 13,
6722 - "Text": "Mauritius",
6723 - "Value": "Mauritius",
6724 - "Order": 114
6725 - },
6726 - {
6727 - "Id": 906,
6728 - "QuestionId": 13,
6729 - "Text": "Mexico",
6730 - "Value": "Mexico",
6731 - "Order": 115
6732 - },
6733 - {
6734 - "Id": 914,
6735 - "QuestionId": 13,
6736 - "Text": "Micronesia",
6737 - "Value": "Micronesia",
6738 - "Order": 116
6739 - },
6740 - {
6741 - "Id": 922,
6742 - "QuestionId": 13,
6743 - "Text": "Moldova",
6744 - "Value": "Moldova",
6745 - "Order": 117
6746 - },
6747 - {
6748 - "Id": 930,
6749 - "QuestionId": 13,
6750 - "Text": "Monaco",
6751 - "Value": "Monaco",
6752 - "Order": 118
6753 - },
6754 - {
6755 - "Id": 938,
6756 - "QuestionId": 13,
6757 - "Text": "Mongolia",
6758 - "Value": "Mongolia",
6759 - "Order": 119
6760 - },
6761 - {
6762 - "Id": 946,
6763 - "QuestionId": 13,
6764 - "Text": "Morocco",
6765 - "Value": "Morocco",
6766 - "Order": 120
6767 - },
6768 - {
6769 - "Id": 954,
6770 - "QuestionId": 13,
6771 - "Text": "Mozambique",
6772 - "Value": "Mozambique",
6773 - "Order": 121
6774 - },
6775 - {
6776 - "Id": 962,
6777 - "QuestionId": 13,
6778 - "Text": "Myanmar",
6779 - "Value": "Myanmar",
6780 - "Order": 122
6781 - },
6782 - {
6783 - "Id": 970,
6784 - "QuestionId": 13,
6785 - "Text": "Namibia",
6786 - "Value": "Namibia",
6787 - "Order": 123
6788 - },
6789 - {
6790 - "Id": 978,
6791 - "QuestionId": 13,
6792 - "Text": "Nauru",
6793 - "Value": "Nauru",
6794 - "Order": 124
6795 - },
6796 - {
6797 - "Id": 986,
6798 - "QuestionId": 13,
6799 - "Text": "Nepa",
6800 - "Value": "Nepa",
6801 - "Order": 125
6802 - },
6803 - {
6804 - "Id": 994,
6805 - "QuestionId": 13,
6806 - "Text": "Netherlands",
6807 - "Value": "Netherlands",
6808 - "Order": 126
6809 - },
6810 - {
6811 - "Id": 1002,
6812 - "QuestionId": 13,
6813 - "Text": "New Zealand",
6814 - "Value": "New Zealand",
6815 - "Order": 127
6816 - },
6817 - {
6818 - "Id": 1010,
6819 - "QuestionId": 13,
6820 - "Text": "Nicaragua",
6821 - "Value": "Nicaragua",
6822 - "Order": 128
6823 - },
6824 - {
6825 - "Id": 1018,
6826 - "QuestionId": 13,
6827 - "Text": "Niger",
6828 - "Value": "Niger",
6829 - "Order": 129
6830 - },
6831 - {
6832 - "Id": 1026,
6833 - "QuestionId": 13,
6834 - "Text": "Nigeria",
6835 - "Value": "Nigeria",
6836 - "Order": 130
6837 - },
6838 - {
6839 - "Id": 1034,
6840 - "QuestionId": 13,
6841 - "Text": "Norway",
6842 - "Value": "Norway",
6843 - "Order": 131
6844 - },
6845 - {
6846 - "Id": 1042,
6847 - "QuestionId": 13,
6848 - "Text": "Oman",
6849 - "Value": "Oman",
6850 - "Order": 132
6851 - },
6852 - {
6853 - "Id": 1050,
6854 - "QuestionId": 13,
6855 - "Text": "Pakistan",
6856 - "Value": "Pakistan",
6857 - "Order": 133
6858 - },
6859 - {
6860 - "Id": 1058,
6861 - "QuestionId": 13,
6862 - "Text": "Palau",
6863 - "Value": "Palau",
6864 - "Order": 134
6865 - },
6866 - {
6867 - "Id": 1066,
6868 - "QuestionId": 13,
6869 - "Text": "Panama",
6870 - "Value": "Panama",
6871 - "Order": 135
6872 - },
6873 - {
6874 - "Id": 1074,
6875 - "QuestionId": 13,
6876 - "Text": "Papua New Guinea",
6877 - "Value": "Papua New Guinea",
6878 - "Order": 136
6879 - },
6880 - {
6881 - "Id": 1082,
6882 - "QuestionId": 13,
6883 - "Text": "Paraguay",
6884 - "Value": "Paraguay",
6885 - "Order": 137
6886 - },
6887 - {
6888 - "Id": 1090,
6889 - "QuestionId": 13,
6890 - "Text": "Peru",
6891 - "Value": "Peru",
6892 - "Order": 138
6893 - },
6894 - {
6895 - "Id": 1098,
6896 - "QuestionId": 13,
6897 - "Text": "Philippines",
6898 - "Value": "Philippines",
6899 - "Order": 139
6900 - },
6901 - {
6902 - "Id": 1106,
6903 - "QuestionId": 13,
6904 - "Text": "Poland",
6905 - "Value": "Poland",
6906 - "Order": 140
6907 - },
6908 - {
6909 - "Id": 1114,
6910 - "QuestionId": 13,
6911 - "Text": "Portugal",
6912 - "Value": "Portugal",
6913 - "Order": 141
6914 - },
6915 - {
6916 - "Id": 1122,
6917 - "QuestionId": 13,
6918 - "Text": "Qatar",
6919 - "Value": "Qatar",
6920 - "Order": 142
6921 - },
6922 - {
6923 - "Id": 1130,
6924 - "QuestionId": 13,
6925 - "Text": "Romania",
6926 - "Value": "Romania",
6927 - "Order": 143
6928 - },
6929 - {
6930 - "Id": 1138,
6931 - "QuestionId": 13,
6932 - "Text": "Russia",
6933 - "Value": "Russia",
6934 - "Order": 144
6935 - },
6936 - {
6937 - "Id": 1146,
6938 - "QuestionId": 13,
6939 - "Text": "Rwanda",
6940 - "Value": "Rwanda",
6941 - "Order": 145
6942 - },
6943 - {
6944 - "Id": 1154,
6945 - "QuestionId": 13,
6946 - "Text": "Saint Kitts and Nevis",
6947 - "Value": "Saint Kitts and Nevis",
6948 - "Order": 146
6949 - },
6950 - {
6951 - "Id": 1162,
6952 - "QuestionId": 13,
6953 - "Text": "Saint Lucia",
6954 - "Value": "Saint Lucia",
6955 - "Order": 147
6956 - },
6957 - {
6958 - "Id": 1170,
6959 - "QuestionId": 13,
6960 - "Text": "Saint Vincent",
6961 - "Value": "Saint Vincent",
6962 - "Order": 148
6963 - },
6964 - {
6965 - "Id": 1178,
6966 - "QuestionId": 13,
6967 - "Text": "Samoa",
6968 - "Value": "Samoa",
6969 - "Order": 149
6970 - },
6971 - {
6972 - "Id": 1186,
6973 - "QuestionId": 13,
6974 - "Text": "San Marino",
6975 - "Value": "San Marino",
6976 - "Order": 150
6977 - },
6978 - {
6979 - "Id": 1194,
6980 - "QuestionId": 13,
6981 - "Text": "Sao Tome and Principe",
6982 - "Value": "Sao Tome and Principe",
6983 - "Order": 151
6984 - },
6985 - {
6986 - "Id": 1202,
6987 - "QuestionId": 13,
6988 - "Text": "Saudi Arabia",
6989 - "Value": "Saudi Arabia",
6990 - "Order": 152
6991 - },
6992 - {
6993 - "Id": 1210,
6994 - "QuestionId": 13,
6995 - "Text": "Senegal",
6996 - "Value": "Senegal",
6997 - "Order": 153
6998 - },
6999 - {
7000 - "Id": 1218,
7001 - "QuestionId": 13,
7002 - "Text": "Serbia and Montenegro",
7003 - "Value": "Serbia and Montenegro",
7004 - "Order": 154
7005 - },
7006 - {
7007 - "Id": 1226,
7008 - "QuestionId": 13,
7009 - "Text": "Seychelles",
7010 - "Value": "Seychelles",
7011 - "Order": 155
7012 - },
7013 - {
7014 - "Id": 1234,
7015 - "QuestionId": 13,
7016 - "Text": "Sierra Leone",
7017 - "Value": "Sierra Leone",
7018 - "Order": 156
7019 - },
7020 - {
7021 - "Id": 1242,
7022 - "QuestionId": 13,
7023 - "Text": "Singapore",
7024 - "Value": "Singapore",
7025 - "Order": 157
7026 - },
7027 - {
7028 - "Id": 1250,
7029 - "QuestionId": 13,
7030 - "Text": "Slovakia",
7031 - "Value": "Slovakia",
7032 - "Order": 158
7033 - },
7034 - {
7035 - "Id": 1258,
7036 - "QuestionId": 13,
7037 - "Text": "Slovenia",
7038 - "Value": "Slovenia",
7039 - "Order": 159
7040 - },
7041 - {
7042 - "Id": 1266,
7043 - "QuestionId": 13,
7044 - "Text": "Solomon Islands",
7045 - "Value": "Solomon Islands",
7046 - "Order": 160
7047 - },
7048 - {
7049 - "Id": 1274,
7050 - "QuestionId": 13,
7051 - "Text": "Somalia",
7052 - "Value": "Somalia",
7053 - "Order": 161
7054 - },
7055 - {
7056 - "Id": 1282,
7057 - "QuestionId": 13,
7058 - "Text": "South Africa",
7059 - "Value": "South Africa",
7060 - "Order": 162
7061 - },
7062 - {
7063 - "Id": 1290,
7064 - "QuestionId": 13,
7065 - "Text": "Spain",
7066 - "Value": "Spain",
7067 - "Order": 163
7068 - },
7069 - {
7070 - "Id": 1298,
7071 - "QuestionId": 13,
7072 - "Text": "Sri Lanka",
7073 - "Value": "Sri Lanka",
7074 - "Order": 164
7075 - },
7076 - {
7077 - "Id": 1306,
7078 - "QuestionId": 13,
7079 - "Text": "Sudan",
7080 - "Value": "Sudan",
7081 - "Order": 165
7082 - },
7083 - {
7084 - "Id": 1314,
7085 - "QuestionId": 13,
7086 - "Text": "Suriname",
7087 - "Value": "Suriname",
7088 - "Order": 166
7089 - },
7090 - {
7091 - "Id": 1322,
7092 - "QuestionId": 13,
7093 - "Text": "Swaziland",
7094 - "Value": "Swaziland",
7095 - "Order": 167
7096 - },
7097 - {
7098 - "Id": 1330,
7099 - "QuestionId": 13,
7100 - "Text": "Sweden",
7101 - "Value": "Sweden",
7102 - "Order": 168
7103 - },
7104 - {
7105 - "Id": 1338,
7106 - "QuestionId": 13,
7107 - "Text": "Switzerland",
7108 - "Value": "Switzerland",
7109 - "Order": 169
7110 - },
7111 - {
7112 - "Id": 1346,
7113 - "QuestionId": 13,
7114 - "Text": "Syria",
7115 - "Value": "Syria",
7116 - "Order": 170
7117 - },
7118 - {
7119 - "Id": 1354,
7120 - "QuestionId": 13,
7121 - "Text": "Taiwan",
7122 - "Value": "Taiwan",
7123 - "Order": 171
7124 - },
7125 - {
7126 - "Id": 1362,
7127 - "QuestionId": 13,
7128 - "Text": "Tajikistan",
7129 - "Value": "Tajikistan",
7130 - "Order": 172
7131 - },
7132 - {
7133 - "Id": 1370,
7134 - "QuestionId": 13,
7135 - "Text": "Tanzania",
7136 - "Value": "Tanzania",
7137 - "Order": 173
7138 - },
7139 - {
7140 - "Id": 1378,
7141 - "QuestionId": 13,
7142 - "Text": "Thailand",
7143 - "Value": "Thailand",
7144 - "Order": 174
7145 - },
7146 - {
7147 - "Id": 1386,
7148 - "QuestionId": 13,
7149 - "Text": "Togo",
7150 - "Value": "Togo",
7151 - "Order": 175
7152 - },
7153 - {
7154 - "Id": 1394,
7155 - "QuestionId": 13,
7156 - "Text": "Tonga",
7157 - "Value": "Tonga",
7158 - "Order": 176
7159 - },
7160 - {
7161 - "Id": 1402,
7162 - "QuestionId": 13,
7163 - "Text": "Trinidad and Tobago",
7164 - "Value": "Trinidad and Tobago",
7165 - "Order": 177
7166 - },
7167 - {
7168 - "Id": 1410,
7169 - "QuestionId": 13,
7170 - "Text": "Tunisia",
7171 - "Value": "Tunisia",
7172 - "Order": 178
7173 - },
7174 - {
7175 - "Id": 1418,
7176 - "QuestionId": 13,
7177 - "Text": "Turkey",
7178 - "Value": "Turkey",
7179 - "Order": 179
7180 - },
7181 - {
7182 - "Id": 1426,
7183 - "QuestionId": 13,
7184 - "Text": "Turkmenistan",
7185 - "Value": "Turkmenistan",
7186 - "Order": 180
7187 - },
7188 - {
7189 - "Id": 1434,
7190 - "QuestionId": 13,
7191 - "Text": "Tuvalu",
7192 - "Value": "Tuvalu",
7193 - "Order": 181
7194 - },
7195 - {
7196 - "Id": 1442,
7197 - "QuestionId": 13,
7198 - "Text": "Uganda",
7199 - "Value": "Uganda",
7200 - "Order": 182
7201 - },
7202 - {
7203 - "Id": 1450,
7204 - "QuestionId": 13,
7205 - "Text": "Ukraine",
7206 - "Value": "Ukraine",
7207 - "Order": 183
7208 - },
7209 - {
7210 - "Id": 1458,
7211 - "QuestionId": 13,
7212 - "Text": "United Arab Emirates",
7213 - "Value": "United Arab Emirates",
7214 - "Order": 184
7215 - },
7216 - {
7217 - "Id": 1466,
7218 - "QuestionId": 13,
7219 - "Text": "United Kingdom",
7220 - "Value": "United Kingdom",
7221 - "Order": 185
7222 - },
7223 - {
7224 - "Id": 1474,
7225 - "QuestionId": 13,
7226 - "Text": "United States",
7227 - "Value": "United States",
7228 - "Order": 2
7229 - },
7230 - {
7231 - "Id": 1482,
7232 - "QuestionId": 13,
7233 - "Text": "Uruguay",
7234 - "Value": "Uruguay",
7235 - "Order": 186
7236 - },
7237 - {
7238 - "Id": 1490,
7239 - "QuestionId": 13,
7240 - "Text": "Uzbekistan",
7241 - "Value": "Uzbekistan",
7242 - "Order": 187
7243 - },
7244 - {
7245 - "Id": 1498,
7246 - "QuestionId": 13,
7247 - "Text": "Vanuatu",
7248 - "Value": "Vanuatu",
7249 - "Order": 188
7250 - },
7251 - {
7252 - "Id": 1506,
7253 - "QuestionId": 13,
7254 - "Text": "Vatican City",
7255 - "Value": "Vatican City",
7256 - "Order": 189
7257 - },
7258 - {
7259 - "Id": 1514,
7260 - "QuestionId": 13,
7261 - "Text": "Venezuela",
7262 - "Value": "Venezuela",
7263 - "Order": 190
7264 - },
7265 - {
7266 - "Id": 1522,
7267 - "QuestionId": 13,
7268 - "Text": "Vietnam",
7269 - "Value": "Vietnam",
7270 - "Order": 191
7271 - },
7272 - {
7273 - "Id": 1530,
7274 - "QuestionId": 13,
7275 - "Text": "Yemen",
7276 - "Value": "Yemen",
7277 - "Order": 192
7278 - },
7279 - {
7280 - "Id": 1538,
7281 - "QuestionId": 13,
7282 - "Text": "Zambia",
7283 - "Value": "Zambia",
7284 - "Order": 193
7285 - },
7286 - {
7287 - "Id": 1546,
7288 - "QuestionId": 13,
7289 - "Text": "Zimbabwe",
7290 - "Value": "Zimbabwe",
7291 - "Order": 194
7292 - },
7293 - {
7294 - "Id": 2186,
7295 - "QuestionId": 13,
7296 - "Text": "British Columbia",
7297 - "Value": "British Columbia",
7298 - "Order": 195
7299 - }
7300 - ]
7301 - },
7302 - {
7303 - "Id": 178,
7304 - "Text": "Job Function",
7305 - "Type": "4",
7306 - "Alias": "Job Function",
7307 - "Choices": [
7308 - {
7309 - "Id": 2266,
7310 - "QuestionId": 178,
7311 - "Text": "Select One",
7312 - "Value": "",
7313 - "Order": 1
7314 - },
7315 - {
7316 - "Id": 2274,
7317 - "QuestionId": 178,
7318 - "Text": "Sales",
7319 - "Value": "Sales",
7320 - "Order": 2
7321 - },
7322 - {
7323 - "Id": 2282,
7324 - "QuestionId": 178,
7325 - "Text": "Marketing",
7326 - "Value": "Marketing",
7327 - "Order": 3
7328 - },
7329 - {
7330 - "Id": 2290,
7331 - "QuestionId": 178,
7332 - "Text": "New Media",
7333 - "Value": "New Media",
7334 - "Order": 4
7335 - },
7336 - {
7337 - "Id": 2298,
7338 - "QuestionId": 178,
7339 - "Text": "Audience Development",
7340 - "Value": "Audience Development",
7341 - "Order": 5
7342 - },
7343 - {
7344 - "Id": 2306,
7345 - "QuestionId": 178,
7346 - "Text": "Editorial",
7347 - "Value": "Editorial",
7348 - "Order": 6
7349 - },
7350 - {
7351 - "Id": 2314,
7352 - "QuestionId": 178,
7353 - "Text": "Information Technology",
7354 - "Value": "IT",
7355 - "Order": 7
7356 - },
7357 - {
7358 - "Id": 2322,
7359 - "QuestionId": 178,
7360 - "Text": "Corporate",
7361 - "Value": "Corporate",
7362 - "Order": 8
7363 - },
7364 - {
7365 - "Id": 2418,
7366 - "QuestionId": 178,
7367 - "Text": "Other",
7368 - "Value": "Other",
7369 - "Order": 9
7370 - }
7371 - ]
7372 - },
7373 - {
7374 - "Id": 202,
7375 - "Text": "Type of Publication",
7376 - "Type": "4",
7377 - "Alias": "Type of Publication",
7378 - "Choices": [
7379 - {
7380 - "Id": 2330,
7381 - "QuestionId": 202,
7382 - "Text": "Select One",
7383 - "Value": "",
7384 - "Order": 1
7385 - },
7386 - {
7387 - "Id": 2338,
7388 - "QuestionId": 202,
7389 - "Text": "Magazine",
7390 - "Value": "Magazine",
7391 - "Order": 2
7392 - },
7393 - {
7394 - "Id": 2346,
7395 - "QuestionId": 202,
7396 - "Text": "Newspaper",
7397 - "Value": "Newspaper",
7398 - "Order": 3
7399 - },
7400 - {
7401 - "Id": 2354,
7402 - "QuestionId": 202,
7403 - "Text": "Digital Publisher",
7404 - "Value": "Digital Publisher",
7405 - "Order": 4
7406 - },
7407 - {
7408 - "Id": 2362,
7409 - "QuestionId": 202,
7410 - "Text": "Book Publisher",
7411 - "Value": "Book Publisher",
7412 - "Order": 5
7413 - },
7414 - {
7415 - "Id": 2370,
7416 - "QuestionId": 202,
7417 - "Text": "Newsletter/Email",
7418 - "Value": "Newsletter/Email",
7419 - "Order": 6
7420 - }
7421 - ]
7422 - },
7423 - {
7424 - "Id": 226,
7425 - "Text": "What is your time frame for deployment?",
7426 - "Type": "4",
7427 - "Alias": "What is your time frame for deployment?",
7428 - "Choices": [
7429 - {
7430 - "Id": 2378,
7431 - "QuestionId": 226,
7432 - "Text": "Select One",
7433 - "Value": "",
7434 - "Order": 1
7435 - },
7436 - {
7437 - "Id": 2386,
7438 - "QuestionId": 226,
7439 - "Text": "0-3 months",
7440 - "Value": "0-3",
7441 - "Order": 2
7442 - },
7443 - {
7444 - "Id": 2394,
7445 - "QuestionId": 226,
7446 - "Text": "3-6 months",
7447 - "Value": "3-6",
7448 - "Order": 3
7449 - },
7450 - {
7451 - "Id": 2402,
7452 - "QuestionId": 226,
7453 - "Text": "6-12 months",
7454 - "Value": "6-12",
7455 - "Order": 4
7456 - },
7457 - {
7458 - "Id": 2410,
7459 - "QuestionId": 226,
7460 - "Text": "No Formal Plans",
7461 - "Value": "No Formal Plans",
7462 - "Order": 5
7463 - }
7464 - ]
7465 - },
7466 - {
7467 - "Id": 250,
7468 - "Text": "Industry",
7469 - "Type": "4",
7470 - "Alias": "Industry",
7471 - "Choices": [
7472 - {
7473 - "Id": 2426,
7474 - "QuestionId": 250,
7475 - "Text": "Agency",
7476 - "Value": "Agency",
7477 - "Order": 2
7478 - },
7479 - {
7480 - "Id": 2434,
7481 - "QuestionId": 250,
7482 - "Text": "Association",
7483 - "Value": "Association",
7484 - "Order": 3
7485 - },
7486 - {
7487 - "Id": 2442,
7488 - "QuestionId": 250,
7489 - "Text": "Direct Marketing",
7490 - "Value": "Direct Marketing",
7491 - "Order": 4
7492 - },
7493 - {
7494 - "Id": 2450,
7495 - "QuestionId": 250,
7496 - "Text": "Publisher",
7497 - "Value": "Publisher",
7498 - "Order": 5
7499 - },
7500 - {
7501 - "Id": 2458,
7502 - "QuestionId": 250,
7503 - "Text": "Service Bureau",
7504 - "Value": "Service Bureau",
7505 - "Order": 6
7506 - },
7507 - {
7508 - "Id": 2466,
7509 - "QuestionId": 250,
7510 - "Text": "Select One",
7511 - "Value": "Government",
7512 - "Order": 1
7513 - },
7514 - {
7515 - "Id": 2737,
7516 - "QuestionId": 250,
7517 - "Text": "Other",
7518 - "Value": "Other",
7519 - "Order": 7
7520 - },
7521 - {
7522 - "Id": 3051,
7523 - "QuestionId": 250,
7524 - "Text": "Business Services",
7525 - "Value": "Business Services",
7526 - "Order": 8
7527 - },
7528 - {
7529 - "Id": 3059,
7530 - "QuestionId": 250,
7531 - "Text": "Business Services, Media & Internet",
7532 - "Value": "Business Services, Media & Internet",
7533 - "Order": 9
7534 - },
7535 - {
7536 - "Id": 3067,
7537 - "QuestionId": 250,
7538 - "Text": "Business Services,Consumer Services",
7539 - "Value": "Business Services,Consumer Services",
7540 - "Order": 10
7541 - },
7542 - {
7543 - "Id": 3075,
7544 - "QuestionId": 250,
7545 - "Text": "Business Services,Finance",
7546 - "Value": "Business Services,Finance",
7547 - "Order": 11
7548 - },
7549 - {
7550 - "Id": 3083,
7551 - "QuestionId": 250,
7552 - "Text": "Business Services,Retail,Media & Internet",
7553 - "Value": "Business Services,Retail,Media & Internet",
7554 - "Order": 12
7555 - },
7556 - {
7557 - "Id": 3091,
7558 - "QuestionId": 250,
7559 - "Text": "Business Services,Telecommunications",
7560 - "Value": "Business Services,Telecommunications",
7561 - "Order": 13
7562 - },
7563 - {
7564 - "Id": 3099,
7565 - "QuestionId": 250,
7566 - "Text": "Energy, Utilities & Waste Treatment",
7567 - "Value": "Energy, Utilities & Waste Treatment",
7568 - "Order": 14
7569 - },
7570 - {
7571 - "Id": 3107,
7572 - "QuestionId": 250,
7573 - "Text": "Finance",
7574 - "Value": "Finance",
7575 - "Order": 15
7576 - },
7577 - {
7578 - "Id": 3115,
7579 - "QuestionId": 250,
7580 - "Text": "Hospitality",
7581 - "Value": "Hospitality",
7582 - "Order": 16
7583 - },
7584 - {
7585 - "Id": 3123,
7586 - "QuestionId": 250,
7587 - "Text": "Hospitality,Media & Internet",
7588 - "Value": "Hospitality,Media & Internet",
7589 - "Order": 17
7590 - },
7591 - {
7592 - "Id": 3131,
7593 - "QuestionId": 250,
7594 - "Text": "Insurance",
7595 - "Value": "Insurance",
7596 - "Order": 18
7597 - },
7598 - {
7599 - "Id": 3139,
7600 - "QuestionId": 250,
7601 - "Text": "Insurance, Finance",
7602 - "Value": "Insurance, Finance",
7603 - "Order": 19
7604 - },
7605 - {
7606 - "Id": 3147,
7607 - "QuestionId": 250,
7608 - "Text": "Manufacturing",
7609 - "Value": "Manufacturing",
7610 - "Order": 20
7611 - },
7612 - {
7613 - "Id": 3155,
7614 - "QuestionId": 250,
7615 - "Text": "Manufacturing,Business Services",
7616 - "Value": "Manufacturing,Business Services",
7617 - "Order": 21
7618 - },
7619 - {
7620 - "Id": 3163,
7621 - "QuestionId": 250,
7622 - "Text": "Manufacturing,Retail,Healthcare",
7623 - "Value": "Manufacturing,Retail,Healthcare",
7624 - "Order": 22
7625 - },
7626 - {
7627 - "Id": 3171,
7628 - "QuestionId": 250,
7629 - "Text": "Media & Internet",
7630 - "Value": "Media & Internet",
7631 - "Order": 23
7632 - },
7633 - {
7634 - "Id": 3179,
7635 - "QuestionId": 250,
7636 - "Text": "Media & Internet,Business Services",
7637 - "Value": "Media & Internet,Business Services",
7638 - "Order": 24
7639 - },
7640 - {
7641 - "Id": 3187,
7642 - "QuestionId": 250,
7643 - "Text": "Organizations",
7644 - "Value": "Organizations",
7645 - "Order": 25
7646 - },
7647 - {
7648 - "Id": 3195,
7649 - "QuestionId": 250,
7650 - "Text": "Real Estate",
7651 - "Value": "Real Estate",
7652 - "Order": 26
7653 - },
7654 - {
7655 - "Id": 3203,
7656 - "QuestionId": 250,
7657 - "Text": "Retail",
7658 - "Value": "Retail",
7659 - "Order": 27
7660 - },
7661 - {
7662 - "Id": 3211,
7663 - "QuestionId": 250,
7664 - "Text": "Retail,Software,Consumer Services",
7665 - "Value": "Retail,Software,Consumer Services",
7666 - "Order": 28
7667 - },
7668 - {
7669 - "Id": 3219,
7670 - "QuestionId": 250,
7671 - "Text": "Software",
7672 - "Value": "Software",
7673 - "Order": 29
7674 - },
7675 - {
7676 - "Id": 3227,
7677 - "QuestionId": 250,
7678 - "Text": "Retail, Manufacturing",
7679 - "Value": "Retail, Manufacturing",
7680 - "Order": 30
7681 - },
7682 - {
7683 - "Id": 3235,
7684 - "QuestionId": 250,
7685 - "Text": "Software,Manufacturing,Retail",
7686 - "Value": "Software,Manufacturing,Retail",
7687 - "Order": 31
7688 - },
7689 - {
7690 - "Id": 3243,
7691 - "QuestionId": 250,
7692 - "Text": "Business Services,Media & Internet",
7693 - "Value": "Business Services,Media & Internet",
7694 - "Order": 32
7695 - },
7696 - {
7697 - "Id": 3251,
7698 - "QuestionId": 250,
7699 - "Text": "Telecommunications",
7700 - "Value": "Telecommunications",
7701 - "Order": 33
7702 - }
7703 - ]
7704 - },
7705 - {
7706 - "Id": 274,
7707 - "Text": "How many employees work at your company?_Copy",
7708 - "Type": "4",
7709 - "Alias": "ALL",
7710 - "Choices": [
7711 - {
7712 - "Id": 2698,
7713 - "QuestionId": 274,
7714 - "Text": "1-25",
7715 - "Value": "01",
7716 - "Order": 1
7717 - },
7718 - {
7719 - "Id": 2706,
7720 - "QuestionId": 274,
7721 - "Text": "26-100",
7722 - "Value": "02",
7723 - "Order": 2
7724 - },
7725 - {
7726 - "Id": 2714,
7727 - "QuestionId": 274,
7728 - "Text": "101-250",
7729 - "Value": "03",
7730 - "Order": 3
7731 - },
7732 - {
7733 - "Id": 2722,
7734 - "QuestionId": 274,
7735 - "Text": "251-500",
7736 - "Value": "04",
7737 - "Order": 4
7738 - },
7739 - {
7740 - "Id": 2730,
7741 - "QuestionId": 274,
7742 - "Text": "500+",
7743 - "Value": "05",
7744 - "Order": 5
7745 - }
7746 - ]
7747 - },
7748 - {
7749 - "Id": 281,
7750 - "Text": "How many employees work at your company?_Copy",
7751 - "Type": "4",
7752 - "Alias": "How many employees work at your company?_Copy",
7753 - "Choices": [
7754 - {
7755 - "Id": 2745,
7756 - "QuestionId": 281,
7757 - "Text": "1-25",
7758 - "Value": "01",
7759 - "Order": 1
7760 - },
7761 - {
7762 - "Id": 2753,
7763 - "QuestionId": 281,
7764 - "Text": "26-100",
7765 - "Value": "02",
7766 - "Order": 2
7767 - },
7768 - {
7769 - "Id": 2761,
7770 - "QuestionId": 281,
7771 - "Text": "101-250",
7772 - "Value": "03",
7773 - "Order": 3
7774 - },
7775 - {
7776 - "Id": 2769,
7777 - "QuestionId": 281,
7778 - "Text": "251-500",
7779 - "Value": "04",
7780 - "Order": 4
7781 - },
7782 - {
7783 - "Id": 2777,
7784 - "QuestionId": 281,
7785 - "Text": "500+",
7786 - "Value": "05",
7787 - "Order": 5
7788 - }
7789 - ]
7790 - },
7791 - {
7792 - "Id": 291,
7793 - "Text": "DAS Question Update",
7794 - "Type": "4",
7795 - "Alias": "DAS Question Update",
7796 - "Choices": [
7797 - {
7798 - "Id": 2859,
7799 - "QuestionId": 291,
7800 - "Text": "Choice a Update",
7801 - "Value": "a Update",
7802 - "Order": 1
7803 - },
7804 - {
7805 - "Id": 2867,
7806 - "QuestionId": 291,
7807 - "Text": "Choice b Update",
7808 - "Value": "b Update",
7809 - "Order": 2
7810 - }
7811 - ]
7812 - },
7813 - {
7814 - "Id": 363,
7815 - "Text": "Group Size",
7816 - "Type": "4",
7817 - "Alias": "Group Size",
7818 - "Choices": [
7819 - {
7820 - "Id": 3027,
7821 - "QuestionId": 363,
7822 - "Text": "NA",
7823 - "Value": "NA",
7824 - "Order": 1
7825 - },
7826 - {
7827 - "Id": 3035,
7828 - "QuestionId": 363,
7829 - "Text": "0-10",
7830 - "Value": "0-10",
7831 - "Order": 2
7832 - },
7833 - {
7834 - "Id": 3043,
7835 - "QuestionId": 363,
7836 - "Text": "10-25",
7837 - "Value": "10-25",
7838 - "Order": 3
7839 - }
7840 - ]
7841 - },
7842 - {
7843 - "Id": 399,
7844 - "Text": "What best describes your job title?",
7845 - "Type": "4",
7846 - "Alias": "1105-title",
7847 - "Choices": [
7848 - {
7849 - "Id": 3255,
7850 - "QuestionId": 399,
7851 - "Text": "CIO, CTO, CKO, Technical/VP",
7852 - "Value": "CIO",
7853 - "Order": 1
7854 - },
7855 - {
7856 - "Id": 3263,
7857 - "QuestionId": 399,
7858 - "Text": "Corporate Management",
7859 - "Value": "corporate",
7860 - "Order": 2
7861 - },
7862 - {
7863 - "Id": 3271,
7864 - "QuestionId": 399,
7865 - "Text": "IS/IT Director/Manager",
7866 - "Value": "it",
7867 - "Order": 3
7868 - },
7869 - {
7870 - "Id": 3279,
7871 - "QuestionId": 399,
7872 - "Text": "Director of Softare Development",
7873 - "Value": "software director",
7874 - "Order": 4
7875 - },
7876 - {
7877 - "Id": 3287,
7878 - "QuestionId": 399,
7879 - "Text": "Application Development Manager",
7880 - "Value": "ADM",
7881 - "Order": 5
7882 - }
7883 - ]
7884 - },
7885 - {
7886 - "Id": 407,
7887 - "Text": "What is your organization's (or largest client, if you are a consultant) primary business at this location?",
7888 - "Type": "4",
7889 - "Alias": "1105 largest client",
7890 - "Choices": [
7891 - {
7892 - "Id": 3295,
7893 - "QuestionId": 407,
7894 - "Text": "Aerospace",
7895 - "Value": "aerospace",
7896 - "Order": 1
7897 - },
7898 - {
7899 - "Id": 3303,
7900 - "QuestionId": 407,
7901 - "Text": "Agriculture/Mining/Gas/Oil",
7902 - "Value": "ag",
7903 - "Order": 2
7904 - },
7905 - {
7906 - "Id": 3311,
7907 - "QuestionId": 407,
7908 - "Text": "Business Services/Consultants",
7909 - "Value": "bs",
7910 - "Order": 3
7911 - },
7912 - {
7913 - "Id": 3319,
7914 - "QuestionId": 407,
7915 - "Text": "Construction/Architecture/Engineering",
7916 - "Value": "construction",
7917 - "Order": 4
7918 - },
7919 - {
7920 - "Id": 3327,
7921 - "QuestionId": 407,
7922 - "Text": "Education/Training",
7923 - "Value": "education",
7924 - "Order": 5
7925 - }
7926 - ]
7927 - },
7928 - {
7929 - "Id": 415,
7930 - "Text": "What is the total number of employees in your entire organzation?",
7931 - "Type": "4",
7932 - "Alias": "1105 num employees",
7933 - "Choices": [
7934 - {
7935 - "Id": 3335,
7936 - "QuestionId": 415,
7937 - "Text": "10,000 or more",
7938 - "Value": "10000",
7939 - "Order": 1
7940 - },
7941 - {
7942 - "Id": 3343,
7943 - "QuestionId": 415,
7944 - "Text": "5,000 - 9,999",
7945 - "Value": "5000",
7946 - "Order": 2
7947 - },
7948 - {
7949 - "Id": 3351,
7950 - "QuestionId": 415,
7951 - "Text": "1,000 - 4,999",
7952 - "Value": "1000",
7953 - "Order": 3
7954 - },
7955 - {
7956 - "Id": 3359,
7957 - "QuestionId": 415,
7958 - "Text": "500 - 999",
7959 - "Value": "500",
7960 - "Order": 4
7961 - },
7962 - {
7963 - "Id": 3367,
7964 - "QuestionId": 415,
7965 - "Text": "100 - 499",
7966 - "Value": "100",
7967 - "Order": 5
7968 - },
7969 - {
7970 - "Id": 3375,
7971 - "QuestionId": 415,
7972 - "Text": "Under 100",
7973 - "Value": "Under 100",
7974 - "Order": 6
7975 - }
7976 - ]
7977 - },
7978 - {
7979 - "Id": 423,
7980 - "Text": "saaa",
7981 - "Type": "4",
7982 - "Alias": "test",
7983 - "Choices": [
7984 - {
7985 - "Id": 3383,
7986 - "QuestionId": 423,
7987 - "Text": "1",
7988 - "Value": "1",
7989 - "Order": 1
7990 - },
7991 - {
7992 - "Id": 3391,
7993 - "QuestionId": 423,
7994 - "Text": "3",
7995 - "Value": "3",
7996 - "Order": 2
7997 - }
7998 - ]
7999 - }
8000 - ]
2048 +(% class="western" %)
8001 8001  }
8002 -{{/code}}
8003 8003  
8004 8004  (% class="western" %)
8005 -\\
2052 +},
8006 8006  
8007 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
8008 -== (% 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": [
8009 8009  
8010 -----
8011 -
8012 -{{panel bgColor="#D3D3D3" width="100%"}}
8013 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/questions
8014 -{{/panel}}
8015 -
8016 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
8017 -
8018 -----
8019 -
8020 -(% 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}}
8021 -
8022 -=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
8023 -
8024 -----
8025 -
8026 -{{code language="yml" theme="RDark" title="Body" collapse="true"}}
8027 -{"Text":"Test from API 3","Type":0,"Alias":"Test from API 3"}
8028 -{{/code}}
8029 -
8030 -==== Example ====
8031 -
8032 -----
8033 -
8034 -(% style="color: rgb(107,107,107);" %)Request
8035 -
8036 -{{code language="php" theme="RDark" title="Create Question Request" collapse="true"}}
8037 -<?php
8038 -
8039 -$curl = curl_init();
8040 -
8041 -curl_setopt_array($curl, array(
8042 - CURLOPT_URL => 'rayaan.onecount.net/api/v2/questions',
8043 - CURLOPT_RETURNTRANSFER => true,
8044 - CURLOPT_ENCODING => '',
8045 - CURLOPT_MAXREDIRS => 10,
8046 - CURLOPT_TIMEOUT => 0,
8047 - CURLOPT_FOLLOWLOCATION => true,
8048 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
8049 - CURLOPT_CUSTOMREQUEST => 'POST',
8050 - CURLOPT_POSTFIELDS =>'{"Text":"Test from API 3","Type":0,"Alias":"Test from API 3"}',
8051 - CURLOPT_HTTPHEADER => array(
8052 - 'Appkey: {{ONECOUNT API KEY}}'
8053 - ),
8054 -));
8055 -
8056 -$response = curl_exec($curl);
8057 -
8058 -curl_close($curl);
8059 -echo $response;
8060 -{{/code}}
8061 -
8062 -\\
8063 -
8064 -(% style="color: rgb(107,107,107);" %)Response  200 OK
8065 -
8066 -{{code language="yml" theme="RDark" title="Create question Response" collapse="true"}}
2057 +(% class="western" %)
8067 8067  {
8068 - "result": {
8069 - "success": "1",
8070 - "error": {
8071 - "code": "",
8072 - "message": ""
8073 - }
8074 - },
8075 - "Questions": [
8076 - {
8077 - "Id": 455
8078 - }
8079 - ]
8080 -}
8081 -{{/code}}
8082 8082  
8083 -\\
2060 +(% class="western" %)
2061 +"Id": "6",
8084 8084  
8085 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
8086 -== (% 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",
8087 8087  
8088 -----
2066 +(% class="western" %)
2067 +"Type": "1",
8089 8089  
8090 -{{panel bgColor="#D3D3D3" width="100%"}}
8091 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/questions
8092 -{{/panel}}
2069 +(% class="western" %)
2070 +"Alias": "FName"
8093 8093  
8094 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
8095 -
8096 -----
8097 -
8098 -(% 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}}
8099 -
8100 -=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
8101 -
8102 -----
8103 -
8104 -{{code language="yml" theme="RDark" title="Body" collapse="true"}}
8105 -{"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"}]}
8106 -{{/code}}
8107 -
8108 -==== Example ====
8109 -
8110 -----
8111 -
8112 -(% style="color: rgb(107,107,107);" %)Request
8113 -
8114 -{{code language="php" theme="RDark" title="Create Question Request" collapse="true"}}
8115 -<?php
8116 -
8117 -$curl = curl_init();
8118 -
8119 -curl_setopt_array($curl, array(
8120 - CURLOPT_URL => 'rayaan.onecount.net/api/v2/questions',
8121 - CURLOPT_RETURNTRANSFER => true,
8122 - CURLOPT_ENCODING => '',
8123 - CURLOPT_MAXREDIRS => 10,
8124 - CURLOPT_TIMEOUT => 0,
8125 - CURLOPT_FOLLOWLOCATION => true,
8126 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
8127 - CURLOPT_CUSTOMREQUEST => 'POST',
8128 - 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"}]}',
8129 - CURLOPT_HTTPHEADER => array(
8130 - 'Appkey: {{ONECOUNT API KEY}}'
8131 - ),
8132 -));
8133 -
8134 -$response = curl_exec($curl);
8135 -
8136 -curl_close($curl);
8137 -echo $response;
8138 -{{/code}}
8139 -
8140 -\\
8141 -
8142 -(% style="color: rgb(107,107,107);" %)Response  200 OK
8143 -
8144 -{{code language="yml" theme="RDark" title="Create question Response" collapse="true"}}
8145 -{
8146 - "result": {
8147 - "success": "1",
8148 - "error": {
8149 - "code": "",
8150 - "message": ""
8151 - }
8152 - },
8153 - "Questions": [
8154 - {
8155 - "Id": 495
8156 - }
8157 - ]
2072 +(% class="western" %)
8158 8158  }
8159 -{{/code}}
8160 8160  
8161 -\\
2075 +(% class="western" %)
2076 +]
8162 8162  
8163 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
8164 -== (% 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(%%) ==
8165 -
8166 -----
8167 -
8168 -{{panel bgColor="#D3D3D3" width="100%"}}
8169 - (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/questions/~{~{QUESTION ID}}
8170 -{{/panel}}
8171 -
8172 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
8173 -
8174 -----
8175 -
8176 -(% 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}}
8177 -
8178 -=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
8179 -
8180 -----
8181 -
8182 -{{code language="yml" theme="RDark" title="Body" collapse="true"}}
8183 -{"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"}]}
8184 -{{/code}}
8185 -
8186 -==== Example ====
8187 -
8188 -----
8189 -
8190 -(% style="color: rgb(107,107,107);" %)Request
8191 -
8192 -{{code language="php" theme="RDark" title="Update Question Request" collapse="true"}}
8193 -<?php
8194 -
8195 -$curl = curl_init();
8196 -
8197 -curl_setopt_array($curl, array(
8198 - CURLOPT_URL => 'rayaan.onecount.net/api/v2/questions/503',
8199 - CURLOPT_RETURNTRANSFER => true,
8200 - CURLOPT_ENCODING => '',
8201 - CURLOPT_MAXREDIRS => 10,
8202 - CURLOPT_TIMEOUT => 0,
8203 - CURLOPT_FOLLOWLOCATION => true,
8204 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
8205 - CURLOPT_CUSTOMREQUEST => 'PUT',
8206 - 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"}]}',
8207 - CURLOPT_HTTPHEADER => array(
8208 - 'Appkey: {{ONECOUNT API KEY}}'
8209 - ),
8210 -));
8211 -
8212 -$response = curl_exec($curl);
8213 -
8214 -curl_close($curl);
8215 -echo $response;
8216 -
8217 -
8218 -{{/code}}
8219 -
8220 -\\
8221 -
8222 -(% style="color: rgb(107,107,107);" %)Response  200 OK
8223 -
8224 -{{code language="yml" theme="RDark" title="Update Question Response" collapse="true"}}
8225 -{
8226 - "result": {
8227 - "success": "1",
8228 - "error": {
8229 - "code": "",
8230 - "message": ""
8231 - }
8232 - },
8233 - "Questions": [
8234 - {
8235 - "Id": 503
8236 - }
8237 - ]
2078 +(% class="western" %)
8238 8238  }
8239 -{{/code}}
8240 8240  
8241 8241  (% class="western" %)
8242 8242  \\
... ... @@ -8247,7 +8247,6 @@
8247 8247  (% class="western" %)
8248 8248  This resource is for manipulating products resource. A product can be created, updated or searched.
8249 8249  
8250 -(% class="wrapped" %)
8251 8251  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8252 8252  (((
8253 8253  (% class="western" %)
... ... @@ -8351,564 +8351,204 @@
8351 8351  
8352 8352  \\
8353 8353  
8354 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
8355 -== (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)All Products(%%) ==
2193 +(% class="western" %)
2194 +**GET method should be used to lookup products.**
8356 8356  
8357 -----
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.
8358 8358  
8359 -----
2222 +(% class="western" %)
2223 +Params:
8360 8360  
8361 -{{panel bgColor="#D3D3D3" width="100%"}}
8362 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/products
8363 -{{/panel}}
2225 +(% class="western" %)
2226 +Name: Name of the Product for lookup (String)
2227 +)))
8364 8364  
8365 -=== (% 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 +)))
8366 8366  
8367 -----
8368 -
8369 -(% 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}}
8370 -
8371 -==== Example ====
8372 -
8373 -----
8374 -
8375 -(% style="color: rgb(107,107,107);" %)Request
8376 -
8377 -{{code language="php" theme="RDark" title="Get All Products Request" collapse="true"}}
8378 -<?php
8379 -
8380 -$curl = curl_init();
8381 -
8382 -curl_setopt_array($curl, array(
8383 - CURLOPT_URL => 'rayaan.onecount.net/api/v2/products',
8384 - CURLOPT_RETURNTRANSFER => true,
8385 - CURLOPT_ENCODING => '',
8386 - CURLOPT_MAXREDIRS => 10,
8387 - CURLOPT_TIMEOUT => 0,
8388 - CURLOPT_FOLLOWLOCATION => true,
8389 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
8390 - CURLOPT_CUSTOMREQUEST => 'GET',
8391 - CURLOPT_HTTPHEADER => array(
8392 - 'Appkey: {{ONECOUNT API KEY}}'
8393 - ),
8394 -));
8395 -
8396 -$response = curl_exec($curl);
8397 -
8398 -curl_close($curl);
8399 -echo $response;
8400 -
8401 -
8402 -{{/code}}
8403 -
8404 8404  \\
8405 8405  
8406 -(% style="color: rgb(107,107,107);" %)Response  200 OK
2258 +(% class="western" %)
2259 +**POST method should be used to create products.**
8407 8407  
8408 -{{code language="yml" theme="RDark" title="Get All Products Response" collapse="true"}}
8409 - {
8410 - "result": {
8411 - "success": "1",
8412 - "error": {
8413 - "code": "",
8414 - "message": ""
8415 - }
8416 - },
8417 - "Products": [
8418 - {
8419 - "ProductId": 26,
8420 - "Title": "ONEcount Product Demo",
8421 - "Description": "",
8422 - "ResourceIDs": [],
8423 - "PrimaryFormID": [
8424 - "307",
8425 - "34"
8426 - ],
8427 - "Terms": {
8428 - "Id": 26,
8429 - "Name": "Please contact me to arrange a demo",
8430 - "Description": "",
8431 - "Duration": 1,
8432 - "DurationUnit": "I",
8433 - "Price": "0",
8434 - "ProductId": 26
8435 - }
8436 - },
8437 - {
8438 - "ProductId": 34,
8439 - "Title": "ONEcount Promotional Emails",
8440 - "Description": "Master List of ONEcount prospects to receive promotional emails, etc.",
8441 - "ResourceIDs": [
8442 - 98,
8443 - 114
8444 - ],
8445 - "PrimaryFormID": [
8446 - "194"
8447 - ],
8448 - "Terms": {
8449 - "Id": 34,
8450 - "Name": "ONEcount Promotional Emails",
8451 - "Description": "ONEcount promotional emails",
8452 - "Duration": 1,
8453 - "DurationUnit": "I",
8454 - "Price": "0",
8455 - "ProductId": 34
8456 - }
8457 - },
8458 - {
8459 - "ProductId": 42,
8460 - "Title": "ONEcount Staff",
8461 - "Description": "ONEcount/GCN Media Staff",
8462 - "ResourceIDs": [
8463 - 18
8464 - ],
8465 - "PrimaryFormID": [
8466 - "186"
8467 - ],
8468 - "Terms": {
8469 - "Id": 42,
8470 - "Name": "ONEcount Staff List",
8471 - "Description": "List of ONEcount/GCN Media Staff",
8472 - "Duration": 1,
8473 - "DurationUnit": "I",
8474 - "Price": "0",
8475 - "ProductId": 42
8476 - }
8477 - },
8478 - {
8479 - "ProductId": 49,
8480 - "Title": "ONEcount Medical Publishers",
8481 - "Description": "For blasts to medical publishers and associations",
8482 - "ResourceIDs": [
8483 - 137
8484 - ],
8485 - "PrimaryFormID": [
8486 - "170"
8487 - ],
8488 - "Terms": {
8489 - "Id": 49,
8490 - "Name": "ONEcount Medical Publishers",
8491 - "Description": "ONEcount Medical Publishers and Associations",
8492 - "Duration": 1,
8493 - "DurationUnit": "I",
8494 - "Price": "0",
8495 - "ProductId": 49
8496 - }
8497 - },
8498 - {
8499 - "ProductId": 57,
8500 - "Title": "000 Pop-Up Form",
8501 - "Description": "",
8502 - "ResourceIDs": [
8503 - 145
8504 - ],
8505 - "PrimaryFormID": [
8506 - "170"
8507 - ],
8508 - "Terms": {
8509 - "Id": 57,
8510 - "Name": "000 Pop-Up Term",
8511 - "Description": "",
8512 - "Duration": 1,
8513 - "DurationUnit": "I",
8514 - "Price": "0",
8515 - "ProductId": 57
8516 - }
8517 - },
8518 - {
8519 - "ProductId": 65,
8520 - "Title": "TEST",
8521 - "Description": "",
8522 - "ResourceIDs": [],
8523 - "PrimaryFormID": [
8524 - "194"
8525 - ],
8526 - "Terms": {}
8527 - },
8528 - {
8529 - "ProductId": 67,
8530 - "Title": "Gated Product Example PKG",
8531 - "Description": "",
8532 - "ResourceIDs": [],
8533 - "PrimaryFormID": [
8534 - "195"
8535 - ],
8536 - "Terms": {
8537 - "Id": 59,
8538 - "Name": "Get it for free",
8539 - "Description": "",
8540 - "Duration": 1,
8541 - "DurationUnit": "I",
8542 - "Price": "0",
8543 - "ProductId": 67
8544 - }
8545 - },
8546 - {
8547 - "ProductId": 75,
8548 - "Title": "SB: Apple Moves To Limit Tracking in Safari: Prove",
8549 - "Description": "",
8550 - "ResourceIDs": [],
8551 - "PrimaryFormID": [],
8552 - "Terms": {}
8553 - },
8554 - {
8555 - "ProductId": 83,
8556 - "Title": "SB: Audience Extension: Turning Identity Into Cash",
8557 - "Description": "",
8558 - "ResourceIDs": [],
8559 - "PrimaryFormID": [],
8560 - "Terms": {}
8561 - },
8562 - {
8563 - "ProductId": 91,
8564 - "Title": "DAS_freepass_00",
8565 - "Description": "",
8566 - "ResourceIDs": [
8567 - 187
8568 - ],
8569 - "PrimaryFormID": [
8570 - "267"
8571 - ],
8572 - "Terms": {
8573 - "Id": 67,
8574 - "Name": "DAS_freepass_00",
8575 - "Description": "",
8576 - "Duration": 30,
8577 - "DurationUnit": "D",
8578 - "Price": "0",
8579 - "ProductId": 91
8580 - }
8581 - },
8582 - {
8583 - "ProductId": 99,
8584 - "Title": "Test12311111",
8585 - "Description": "Testss",
8586 - "ResourceIDs": [],
8587 - "PrimaryFormID": [
8588 - "10"
8589 - ],
8590 - "Terms": {
8591 - "Id": 75,
8592 - "Name": "Product123",
8593 - "Description": null,
8594 - "Duration": 0,
8595 - "DurationUnit": "",
8596 - "Price": "0",
8597 - "ProductId": 99
8598 - }
8599 - },
8600 - {
8601 - "ProductId": 107,
8602 - "Title": "Test123-456",
8603 - "Description": "Testss updated",
8604 - "ResourceIDs": [
8605 - 98
8606 - ],
8607 - "PrimaryFormID": [
8608 - "10"
8609 - ],
8610 - "Terms": {
8611 - "Id": 83,
8612 - "Name": "Product123",
8613 - "Description": null,
8614 - "Duration": 0,
8615 - "DurationUnit": "",
8616 - "Price": "0",
8617 - "ProductId": 107
8618 - }
8619 - },
8620 - {
8621 - "ProductId": 109,
8622 - "Title": "Webinar: Enhanced Analytics 2-26-2019 at 1 PM",
8623 - "Description": "",
8624 - "ResourceIDs": [
8625 - 197
8626 - ],
8627 - "PrimaryFormID": [],
8628 - "Terms": {
8629 - "Id": 93,
8630 - "Name": "Enhanced Analytics Webinar",
8631 - "Description": "Check the box to register for the February 26th webinar.",
8632 - "Duration": 1,
8633 - "DurationUnit": "I",
8634 - "Price": "0",
8635 - "ProductId": 109
8636 - }
8637 - }
8638 - ]
8639 -}
8640 -{{/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.
8641 8641  
8642 -\\
2287 +(% class="western" %)
2288 +Example:
8643 8643  
8644 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
8645 -== (% 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 +)))
8646 8646  
8647 -----
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 +)))
8648 8648  
8649 -{{panel bgColor="#D3D3D3" width="100%"}}
8650 - (% class="nolink" %)https:~/~/api.onecount.net/v2/users(% style="color: rgb(33,33,33);" %)/products/~{~{product id}}
8651 -{{/panel}}
8652 -
8653 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
8654 -
8655 -----
8656 -
8657 -(% 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}}
8658 -
8659 -==== Example ====
8660 -
8661 -----
8662 -
8663 -(% style="color: rgb(107,107,107);" %)Request
8664 -
8665 -{{code language="php" theme="RDark" title="Get specific Product Request" collapse="true"}}
8666 - <?php
8667 -
8668 -$curl = curl_init();
8669 -
8670 -curl_setopt_array($curl, array(
8671 - CURLOPT_URL => 'rayaan.onecount.net/api/v2/products/{{Product id}}',
8672 - CURLOPT_RETURNTRANSFER => true,
8673 - CURLOPT_ENCODING => '',
8674 - CURLOPT_MAXREDIRS => 10,
8675 - CURLOPT_TIMEOUT => 0,
8676 - CURLOPT_FOLLOWLOCATION => true,
8677 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
8678 - CURLOPT_CUSTOMREQUEST => 'GET',
8679 - CURLOPT_HTTPHEADER => array(
8680 - 'Appkey: {{ONECOUNT API KEY}}'
8681 - ),
8682 -));
8683 -
8684 -$response = curl_exec($curl);
8685 -
8686 -curl_close($curl);
8687 -echo $response;
8688 -{{/code}}
8689 -
8690 8690  \\
8691 8691  
8692 -(% 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.
8693 8693  
8694 -{{code language="yml" theme="RDark" title="Get specific Product Response" collapse="true"}}
8695 - {
8696 - "result": {
8697 - "success": "1",
8698 - "error": {
8699 - "code": "",
8700 - "message": ""
8701 - }
8702 - },
8703 - "Products": [
8704 - {
8705 - "ProductId": 109,
8706 - "Title": "Webinar: Enhanced Analytics 2-26-2019 at 1 PM",
8707 - "Description": "",
8708 - "ResourceIDs": [
8709 - 197
8710 - ],
8711 - "PrimaryFormID": [],
8712 - "Terms": {
8713 - "Id": 93,
8714 - "Name": "Enhanced Analytics Webinar",
8715 - "Description": "Check the box to register for the February 26th webinar.",
8716 - "Duration": 1,
8717 - "DurationUnit": "I",
8718 - "Price": "0",
8719 - "ProductId": 109
8720 - }
8721 - }
8722 - ]
8723 -}
8724 -{{/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.
8725 8725  
8726 -\\
2352 +(% class="western" %)
2353 +**Possible Request Params**: Title, Description, PrimaryFormId, ResourceID
8727 8727  
8728 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
8729 -== (% 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**:
8730 8730  
8731 -----
2358 +(% class="western" %)
2359 +{"Title":"Test123","Description": "Testss","PrimaryFormId":10,"ResourceID":17}
2360 +)))
8732 8732  
8733 -{{panel bgColor="#D3D3D3" width="100%"}}
8734 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/products/lookup?Title=~{~{Product Name}}
8735 -{{/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 +)))
8736 8736  
8737 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
8738 -
8739 -----
8740 -
8741 -(% 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}}
8742 -
8743 -=== (% style="color: rgb(33,33,33);" %)Query Params(%%) ===
8744 -
8745 -----
8746 -
8747 -(% 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);" %)
8748 -
8749 -==== Example ====
8750 -
8751 -----
8752 -
8753 -(% style="color: rgb(107,107,107);" %)Request
8754 -
8755 -{{code language="php" theme="RDark" title="Lookup Product Request" collapse="true"}}
8756 - <?php
8757 -
8758 -$curl = curl_init();
8759 -
8760 -curl_setopt_array($curl, array(
8761 - CURLOPT_URL => 'rayaan.onecount.net/api/v2/products/lookup?Title={{Package Name}}',
8762 - CURLOPT_RETURNTRANSFER => true,
8763 - CURLOPT_ENCODING => '',
8764 - CURLOPT_MAXREDIRS => 10,
8765 - CURLOPT_TIMEOUT => 0,
8766 - CURLOPT_FOLLOWLOCATION => true,
8767 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
8768 - CURLOPT_CUSTOMREQUEST => 'GET',
8769 - CURLOPT_HTTPHEADER => array(
8770 - 'Appkey: {{ONECOUNT API KEY}}'
8771 - ),
8772 -));
8773 -
8774 -$response = curl_exec($curl);
8775 -
8776 -curl_close($curl);
8777 -echo $response;
8778 -{{/code}}
8779 -
8780 8780  \\
8781 8781  
8782 -(% style="color: rgb(107,107,107);" %)Response  200 OK
8783 -
8784 -{{code language="yml" theme="RDark" title="Lookup Product Response" collapse="true"}}
8785 - {
8786 - "result": {
8787 - "success": "1",
8788 - "error": {
8789 - "code": "",
8790 - "message": ""
8791 - }
8792 - },
8793 - "Products": [
8794 - {
8795 - "ProductId": 107,
8796 - "Title": "Test123-456",
8797 - "Description": "Testss updated",
8798 - "Terms": {
8799 - "Id": 83,
8800 - "Name": "Product123",
8801 - "Description": null,
8802 - "Duration": 0,
8803 - "DurationUnit": "",
8804 - "Price": "0",
8805 - "ProductId": 107
8806 - }
8807 - }
8808 - ]
8809 -}
8810 -{{/code}}
8811 -
8812 -\\
8813 -
8814 -\\
8815 -
8816 -\\
8817 -
8818 -\\
8819 -
8820 -\\
8821 -
8822 -\\
8823 -
8824 -\\
8825 -
8826 -\\
8827 -
8828 -\\
8829 -
8830 -\\
8831 -
8832 -\\
8833 -
8834 -\\
8835 -
8836 -\\
8837 -
8838 -\\
8839 -
8840 -\\
8841 -
8842 -\\
8843 -
8844 -\\
8845 -
8846 -\\
8847 -
8848 -\\
8849 -
8850 -\\
8851 -
8852 -\\
8853 -
8854 -\\
8855 -
8856 -\\
8857 -
8858 -\\
8859 -
8860 -\\
8861 -
8862 -\\
8863 -
8864 -\\
8865 -
8866 -\\
8867 -
8868 -\\
8869 -
8870 -\\
8871 -
8872 -\\
8873 -
8874 -\\
8875 -
8876 -\\
8877 -
8878 -\\
8879 -
8880 -\\
8881 -
8882 -\\
8883 -
8884 -\\
8885 -
8886 -\\
8887 -
8888 -\\
8889 -
8890 -\\
8891 -
8892 -\\
8893 -
8894 -\\
8895 -
8896 -\\
8897 -
8898 -\\
8899 -
8900 -\\
8901 -
8902 -\\
8903 -
8904 -\\
8905 -
8906 -\\
8907 -
8908 -\\
8909 -
8910 -\\
8911 -
8912 8912  (% class="western" %)
8913 8913  **COMPONENT: Terms**
8914 8914  
... ... @@ -8915,7 +8915,6 @@
8915 8915  (% class="western" %)
8916 8916  This resource is for manipulating terms resource. A term can be created, updated or searched.
8917 8917  
8918 -(% class="wrapped" %)
8919 8919  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8920 8920  (((
8921 8921  (% class="western" %)
... ... @@ -8984,334 +8984,207 @@
8984 8984  
8985 8985  \\
8986 8986  
8987 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
8988 -== (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)All Terms(%%) ==
2465 +(% class="western" %)
2466 +**GET method should be used to lookup products.**
8989 8989  
8990 -----
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.
8991 8991  
8992 -----
2494 +(% class="western" %)
2495 +Params:
8993 8993  
8994 -{{panel bgColor="#D3D3D3" width="100%"}}
8995 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/terms
8996 -{{/panel}}
2497 +(% class="western" %)
2498 +Name: Name of the term for lookup (String)
2499 +)))
8997 8997  
8998 -=== (% 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 +)))
8999 8999  
9000 -----
9001 -
9002 -(% 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}}
9003 -
9004 -==== Example ====
9005 -
9006 -----
9007 -
9008 -(% style="color: rgb(107,107,107);" %)Request
9009 -
9010 -{{code language="php" theme="RDark" title="Get All Terms Request" collapse="true"}}
9011 - <?php
9012 -
9013 -$curl = curl_init();
9014 -
9015 -curl_setopt_array($curl, array(
9016 - CURLOPT_URL => 'rayaan.onecount.net/api/v2/terms',
9017 - CURLOPT_RETURNTRANSFER => true,
9018 - CURLOPT_ENCODING => '',
9019 - CURLOPT_MAXREDIRS => 10,
9020 - CURLOPT_TIMEOUT => 0,
9021 - CURLOPT_FOLLOWLOCATION => true,
9022 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
9023 - CURLOPT_CUSTOMREQUEST => 'GET',
9024 - CURLOPT_HTTPHEADER => array(
9025 - 'Appkey: {{ONECOUNT API KEY}}'
9026 - ),
9027 -));
9028 -
9029 -$response = curl_exec($curl);
9030 -
9031 -curl_close($curl);
9032 -echo $response;
9033 -{{/code}}
9034 -
9035 9035  \\
9036 9036  
9037 -(% style="color: rgb(107,107,107);" %)Response  200 OK
2530 +(% class="western" %)
2531 +**POST method should be used to create products.**
9038 9038  
9039 -{{code language="yml" theme="RDark" title="Get All Terms Response" collapse="true"}}
9040 - {
9041 - "result": {
9042 - "success": "1",
9043 - "error": {
9044 - "code": "",
9045 - "message": ""
9046 - }
9047 - },
9048 - "Terms": [
9049 - {
9050 - "Id": 26,
9051 - "Name": "Please contact me to arrange a demo",
9052 - "Description": "",
9053 - "Duration": 1,
9054 - "DurationUnit": "I",
9055 - "Price": "0",
9056 - "ProductId": 26
9057 - },
9058 - {
9059 - "Id": 34,
9060 - "Name": "ONEcount Promotional Emails",
9061 - "Description": "ONEcount promotional emails",
9062 - "Duration": 1,
9063 - "DurationUnit": "I",
9064 - "Price": "0",
9065 - "ProductId": 34
9066 - },
9067 - {
9068 - "Id": 42,
9069 - "Name": "ONEcount Staff List",
9070 - "Description": "List of ONEcount/GCN Media Staff",
9071 - "Duration": 1,
9072 - "DurationUnit": "I",
9073 - "Price": "0",
9074 - "ProductId": 42
9075 - },
9076 - {
9077 - "Id": 49,
9078 - "Name": "ONEcount Medical Publishers",
9079 - "Description": "ONEcount Medical Publishers and Associations",
9080 - "Duration": 1,
9081 - "DurationUnit": "I",
9082 - "Price": "0",
9083 - "ProductId": 49
9084 - },
9085 - {
9086 - "Id": 57,
9087 - "Name": "000 Pop-Up Term",
9088 - "Description": "",
9089 - "Duration": 1,
9090 - "DurationUnit": "I",
9091 - "Price": "0",
9092 - "ProductId": 57
9093 - },
9094 - {
9095 - "Id": 59,
9096 - "Name": "Get it for free",
9097 - "Description": "",
9098 - "Duration": 1,
9099 - "DurationUnit": "I",
9100 - "Price": "0",
9101 - "ProductId": 67
9102 - },
9103 - {
9104 - "Id": 67,
9105 - "Name": "DAS_freepass_00",
9106 - "Description": "",
9107 - "Duration": 30,
9108 - "DurationUnit": "D",
9109 - "Price": "0",
9110 - "ProductId": 91
9111 - },
9112 - {
9113 - "Id": 75,
9114 - "Name": "Product123",
9115 - "Description": null,
9116 - "Duration": 0,
9117 - "DurationUnit": "",
9118 - "Price": "0",
9119 - "ProductId": 99
9120 - },
9121 - {
9122 - "Id": 83,
9123 - "Name": "Product123",
9124 - "Description": null,
9125 - "Duration": 0,
9126 - "DurationUnit": "",
9127 - "Price": "0",
9128 - "ProductId": 107
9129 - },
9130 - {
9131 - "Id": 91,
9132 - "Name": "Test123 update ",
9133 - "Description": "Testss updated",
9134 - "Duration": 10,
9135 - "DurationUnit": "",
9136 - "Price": "0",
9137 - "ProductId": 107
9138 - },
9139 - {
9140 - "Id": 93,
9141 - "Name": "Enhanced Analytics Webinar",
9142 - "Description": "Check the box to register for the February 26th webinar.",
9143 - "Duration": 1,
9144 - "DurationUnit": "I",
9145 - "Price": "0",
9146 - "ProductId": 109
9147 - },
9148 - {
9149 - "Id": 423,
9150 - "Name": "Test term for API",
9151 - "Description": null,
9152 - "Duration": 0,
9153 - "DurationUnit": "",
9154 - "Price": "0.00",
9155 - "ProductId": 591
9156 - },
9157 - {
9158 - "Id": 431,
9159 - "Name": "Test term for API 1",
9160 - "Description": null,
9161 - "Duration": 0,
9162 - "DurationUnit": "",
9163 - "Price": "0.00",
9164 - "ProductId": 599
9165 - }
9166 - ]
9167 -}
9168 -{{/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.
9169 9169  
9170 -\\
2559 +(% class="western" %)
2560 +**Possible Request Params**: Name, Description, Duration, DurationUnit, Price, ProductId, Active, ProductStatusId, Quantity, QuantityTxt
9171 9171  
9172 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
9173 -== (% 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**:
9174 9174  
9175 -----
2565 +(% class="western" %)
2566 +{"Name":"Test123","Description":Testss","Duration":10,"ProductId":17}
2567 +)))
9176 9176  
9177 -{{panel bgColor="#D3D3D3" width="100%"}}
9178 - (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/terms/~{~{Term Id}}
9179 -{{/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 +)))
9180 9180  
9181 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
9182 -
9183 -----
9184 -
9185 -(% 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}}
9186 -
9187 -==== Example ====
9188 -
9189 -----
9190 -
9191 -(% style="color: rgb(107,107,107);" %)Request
9192 -
9193 -{{code language="php" theme="RDark" title="Get specific Term Request" collapse="true"}}
9194 - <?php
9195 -
9196 -$curl = curl_init();
9197 -
9198 -curl_setopt_array($curl, array(
9199 - CURLOPT_URL => 'rayaan.onecount.net/api/v2/terms/{{Term Id}}',
9200 - CURLOPT_RETURNTRANSFER => true,
9201 - CURLOPT_ENCODING => '',
9202 - CURLOPT_MAXREDIRS => 10,
9203 - CURLOPT_TIMEOUT => 0,
9204 - CURLOPT_FOLLOWLOCATION => true,
9205 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
9206 - CURLOPT_CUSTOMREQUEST => 'GET',
9207 - CURLOPT_HTTPHEADER => array(
9208 - 'Appkey: {{ONECOUNT API KEY}}'
9209 - ),
9210 -));
9211 -
9212 -$response = curl_exec($curl);
9213 -
9214 -curl_close($curl);
9215 -echo $response;
9216 -{{/code}}
9217 -
9218 9218  \\
9219 9219  
9220 -(% 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.
9221 9221  
9222 -{{code language="yml" theme="RDark" title="Get specific Term Response" collapse="true"}}
9223 - {
9224 - "result": {
9225 - "success": "1",
9226 - "error": {
9227 - "code": "",
9228 - "message": ""
9229 - }
9230 - },
9231 - "Terms": [
9232 - {
9233 - "Id": 431,
9234 - "Name": "Test term for API 1",
9235 - "Description": null,
9236 - "Duration": 0,
9237 - "DurationUnit": "",
9238 - "Price": "0.00",
9239 - "ProductId": 599
9240 - }
9241 - ]
9242 -}
9243 -{{/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.
9244 9244  
2627 +(% class="western" %)
9245 9245  \\
9246 9246  
9247 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
9248 -== (% 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**:
9249 9249  
9250 -----
2633 +(% class="western" %)
2634 +{"Name":"Test123","Description":Testss","Duration":10,"ProductId":17}
2635 +)))
9251 9251  
9252 -{{panel bgColor="#D3D3D3" width="100%"}}
9253 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/terms/lookup?Name={(%%){Term Name}}
9254 -{{/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 +)))
9255 9255  
9256 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
9257 -
9258 -----
9259 -
9260 -(% 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}}
9261 -
9262 -=== (% style="color: rgb(33,33,33);" %)Query Params(%%) ===
9263 -
9264 -----
9265 -
9266 -(% 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}}
9267 -
9268 -==== Example ====
9269 -
9270 -----
9271 -
9272 -(% style="color: rgb(107,107,107);" %)Request
9273 -
9274 -{{code language="php" theme="RDark" title="Lookup Term Request" collapse="true"}}
9275 - <?php
9276 -
9277 -$curl = curl_init();
9278 -
9279 -curl_setopt_array($curl, array(
9280 - CURLOPT_URL => 'rayaan.onecount.net/api/v2/terms/lookup?Name={{Term Name}} ',
9281 - CURLOPT_RETURNTRANSFER => true,
9282 - CURLOPT_ENCODING => '',
9283 - CURLOPT_MAXREDIRS => 10,
9284 - CURLOPT_TIMEOUT => 0,
9285 - CURLOPT_FOLLOWLOCATION => true,
9286 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
9287 - CURLOPT_CUSTOMREQUEST => 'GET',
9288 - CURLOPT_HTTPHEADER => array(
9289 - 'Appkey: {{ONECOUNT API KEY}}'
9290 - ),
9291 -));
9292 -
9293 -$response = curl_exec($curl);
9294 -
9295 -curl_close($curl);
9296 -echo $response;
9297 -{{/code}}
9298 -
9299 9299  \\
9300 9300  
9301 -(% style="color: rgb(107,107,107);" %)Response  200 OK
9302 -
9303 -{{code language="yml" theme="RDark" title="Lookup Term Response" collapse="true"/}}
9304 -
9305 -\\
9306 -
9307 -\\
9308 -
9309 -\\
9310 -
9311 -\\
9312 -
9313 -\\
9314 -
9315 9315  (% class="western" %)
9316 9316  **COMPONENT: Resources**
9317 9317  
... ... @@ -9353,7 +9353,6 @@
9353 9353  (% class="western" %)
9354 9354  This resource is for manipulating resources resource. A resource can be created, updated or searched.
9355 9355  
9356 -(% class="wrapped" %)
9357 9357  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9358 9358  (((
9359 9359  (% class="western" %)
... ... @@ -9422,274 +9422,227 @@
9422 9422  
9423 9423  \\
9424 9424  
9425 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
9426 -== (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)All Resources(%%) ==
2775 +(% class="western" %)
2776 +**GET method should be used to lookup resources.**
9427 9427  
9428 -----
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.
9429 9429  
9430 -----
2804 +(% class="western" %)
2805 +Params:
9431 9431  
9432 -{{panel bgColor="#D3D3D3" width="100%"}}
9433 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/resources
9434 -{{/panel}}
2807 +(% class="western" %)
2808 +Name: Name of the resource for lookup (String)
2809 +)))
9435 9435  
9436 -=== (% 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 +)))
9437 9437  
9438 -----
9439 -
9440 -(% 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}}
9441 -
9442 -==== Example ====
9443 -
9444 -----
9445 -
9446 -(% style="color: rgb(107,107,107);" %)Request
9447 -
9448 -{{code language="php" theme="RDark" title="Get All Resource Request" collapse="true"}}
9449 - <?php
9450 -
9451 -$curl = curl_init();
9452 -
9453 -curl_setopt_array($curl, array(
9454 - CURLOPT_URL => 'rayaan.onecount.net/api/v2/resources?limit=10',
9455 - CURLOPT_RETURNTRANSFER => true,
9456 - CURLOPT_ENCODING => '',
9457 - CURLOPT_MAXREDIRS => 10,
9458 - CURLOPT_TIMEOUT => 0,
9459 - CURLOPT_FOLLOWLOCATION => true,
9460 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
9461 - CURLOPT_CUSTOMREQUEST => 'GET',
9462 - CURLOPT_HTTPHEADER => array(
9463 - 'Appkey: {{ONECOUNT API KEY}}'
9464 - ),
9465 -));
9466 -
9467 -$response = curl_exec($curl);
9468 -
9469 -curl_close($curl);
9470 -echo $response;
9471 -{{/code}}
9472 -
9473 9473  \\
9474 9474  
9475 -(% style="color: rgb(107,107,107);" %)Response  200 OK
2840 +(% class="western" %)
2841 +**POST method should be used to create resources.**
9476 9476  
9477 -{{code language="yml" theme="RDark" title="Get All Resource Response" collapse="true"}}
9478 - {
9479 - "result": {
9480 - "success": "1",
9481 - "error": {
9482 - "code": "",
9483 - "message": ""
9484 - }
9485 - },
9486 - "Resources": [
9487 - {
9488 - "Id": 18,
9489 - "Name": "ONEcount/GCN Staff Newsletter Resource",
9490 - "Description": "ONEcount/GCN Staff Newsletter List",
9491 - "Type": "2",
9492 - "Value": "57|53|55",
9493 - "FreePass": 0
9494 - },
9495 - {
9496 - "Id": 26,
9497 - "Name": "GCN TEST GROUP",
9498 - "Description": "THESE USER WILL GET TEST MESSAGE",
9499 - "Type": "2",
9500 - "Value": "47",
9501 - "FreePass": 0
9502 - },
9503 - {
9504 - "Id": 98,
9505 - "Name": "ONEcount Prospects List",
9506 - "Description": "Newsletter List of ONEcount Prospects",
9507 - "Type": "2",
9508 - "Value": "55",
9509 - "FreePass": 0
9510 - },
9511 - {
9512 - "Id": 106,
9513 - "Name": "Google Ads Form",
9514 - "Description": "",
9515 - "Type": "3",
9516 - "Value": "http://ocreg.one-count.com/onecount/reg/registerForm.cgi?form=186&brand=OC",
9517 - "FreePass": 0
9518 - },
9519 - {
9520 - "Id": 114,
9521 - "Name": "secure files",
9522 - "Description": "",
9523 - "Type": "3",
9524 - "Value": "/download.php",
9525 - "FreePass": 0
9526 - },
9527 - {
9528 - "Id": 130,
9529 - "Name": "REQUEST A DEMO",
9530 - "Description": "",
9531 - "Type": "3",
9532 - "Value": "http://ocreg.one-count.com/onecount/flexreg/displayform.cgi?g=0&form=34",
9533 - "FreePass": 0
9534 - },
9535 - {
9536 - "Id": 137,
9537 - "Name": "ONEcount Medical Publishers",
9538 - "Description": "ONEcount Medical Publishers and Associations",
9539 - "Type": "2",
9540 - "Value": "61",
9541 - "FreePass": 0
9542 - },
9543 - {
9544 - "Id": 145,
9545 - "Name": "Pop-Up Test Page",
9546 - "Description": "",
9547 - "Type": "3",
9548 - "Value": "http://omar.gcnmedia.com/projects/form/gated.html",
9549 - "FreePass": 0
9550 - },
9551 - {
9552 - "Id": 146,
9553 - "Name": "Platform Resource",
9554 - "Description": "Test Resource",
9555 - "Type": "3",
9556 - "Value": "/Platform",
9557 - "FreePass": 0
9558 - },
9559 - {
9560 - "Id": 153,
9561 - "Name": "Submitted",
9562 - "Description": "",
9563 - "Type": "3",
9564 - "Value": "http://gcn-reg.onecount.net/onecount/reg/tSuccessView.php?brand=oc",
9565 - "FreePass": 0
9566 - }
9567 - ]
9568 -}
9569 -{{/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.
9570 9570  
9571 -\\
2869 +(% class="western" %)
2870 +**Possible Request Params**: Name, Description, Type, Value, FreePass
9572 9572  
9573 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
9574 -== (% 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**:
9575 9575  
9576 -----
2875 +(% class="western" %)
2876 +{"Name":"Test123","Description":Testss","Type":3,"Value":”/digital/”}
9577 9577  
9578 -{{panel bgColor="#D3D3D3" width="100%"}}
9579 - (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/resources/{(%%){Resource ID}}
9580 -{{/panel}}
2878 +(% class="western" %)
2879 +{"Name":"Test123","Description":Testss","Type":3,"Value":[”/digital/”, "/article/"]}
9581 9581  
9582 -=== (% 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}
9583 9583  
9584 -----
2884 +(% class="western" %)
2885 +{"Name":"Test123","Description":Testss","Type":3,"Value":[”/digital/”, "/article/"],"FreePass":1}
2886 +)))
9585 9585  
9586 -(% 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 +)))
9587 9587  
9588 -==== Example ====
9589 -
9590 -----
9591 -
9592 -(% style="color: rgb(107,107,107);" %)Request
9593 -
9594 -{{code language="php" theme="RDark" title="Get specific Resource Request" collapse="true"}}
9595 - <?php
9596 -
9597 -$curl = curl_init();
9598 -
9599 -curl_setopt_array($curl, array(
9600 - CURLOPT_URL => 'rayaan.onecount.net/api/v2/resources/{{Resource ID}}',
9601 - CURLOPT_RETURNTRANSFER => true,
9602 - CURLOPT_ENCODING => '',
9603 - CURLOPT_MAXREDIRS => 10,
9604 - CURLOPT_TIMEOUT => 0,
9605 - CURLOPT_FOLLOWLOCATION => true,
9606 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
9607 - CURLOPT_CUSTOMREQUEST => 'GET',
9608 - CURLOPT_HTTPHEADER => array(
9609 - 'Appkey: {{ONECOUNT API KEY}}'
9610 - ),
9611 -));
9612 -
9613 -$response = curl_exec($curl);
9614 -
9615 -curl_close($curl);
9616 -echo $response;
9617 -{{/code}}
9618 -
9619 9619  \\
9620 9620  
9621 -(% 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.
9622 9622  
9623 -{{code language="yml" theme="RDark" title="Get specific Resource Response" collapse="true"}}
9624 - {
9625 - "result": {
9626 - "success": "1",
9627 - "error": {
9628 - "code": "",
9629 - "message": ""
9630 - }
9631 - },
9632 - "Resources": [
9633 - {
9634 - "Id": 623,
9635 - "Name": "TOP 3 THINGS - NonStop Local News",
9636 - "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.",
9637 - "Type": "2",
9638 - "Value": "",
9639 - "FreePass": 0
9640 - }
9641 - ]
9642 -}
9643 -{{/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.
9644 9644  
2946 +(% class="western" %)
9645 9645  \\
9646 9646  
9647 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
9648 -== (% 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:
9649 9649  
9650 -----
2952 +(% class="western" %)
2953 +{"Name":"Test123","Description":Testss","Type":3,"Value":”/digital/”}
9651 9651  
9652 -{{panel bgColor="#D3D3D3" width="100%"}}
9653 -(% class="nolink" %)[[https:~~/~~/api.onecount.net/v2/users>>url:https://api.onecount.net/v2/users||shape="rect"]](% style="color: rgb(33,33,33);" %)/lookup?2=user_242_6298&return=1,2,3,4
9654 -{{/panel}}
2955 +(% class="western" %)
2956 +{"Name":"Test123","Description":Testss","Type":3,"Value":[”/digital/”, "/article/"]}
9655 9655  
9656 -=== (% 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}
9657 9657  
9658 -----
2961 +(% class="western" %)
2962 +{"Name":"Test123","Description":Testss","Type":3,"Value":[”/digital/”, "/article/"],"FreePass":1}
2963 +)))
9659 9659  
9660 -(% 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 +)))
9661 9661  
9662 -=== (% style="color: rgb(33,33,33);" %)Query Params(%%) ===
9663 -
9664 -----
9665 -
9666 -(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)2  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)user_242_6298(%%)
9667 -(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)return  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)1,2,3,4
9668 -
9669 -==== Example ====
9670 -
9671 -----
9672 -
9673 -(% style="color: rgb(107,107,107);" %)Request
9674 -
9675 -{{code language="php" theme="RDark" title="Lookup user Request" collapse="true"/}}
9676 -
9677 9677  \\
9678 9678  
9679 -(% style="color: rgb(107,107,107);" %)Response  200 OK
9680 -
9681 -{{code language="yml" theme="RDark" title="Lookup user Response" collapse="true"/}}
9682 -
9683 9683  \\
9684 9684  
9685 -\\
9686 -
9687 -\\
9688 -
9689 -\\
9690 -
9691 -\\
9692 -
9693 9693  (% class="western" %)
9694 9694  \\
9695 9695  
... ... @@ -9700,7 +9700,6 @@
9700 9700  (% class="western" %)
9701 9701  This resource is for manipulating source code for a resource. A source code can be created, updated or searched.
9702 9702  
9703 -(% class="wrapped" %)
9704 9704  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9705 9705  (((
9706 9706  (% class="western" %)
... ... @@ -9769,340 +9769,192 @@
9769 9769  
9770 9770  \\
9771 9771  
9772 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
9773 -== (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)All Source codes(%%) ==
3074 +(% class="western" %)
3075 +**Sources can be looked up given the code or Id. GET method should be used for lookup.**
9774 9774  
9775 -----
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.
9776 9776  
9777 -----
3103 +(% class="western" %)
3104 +Params:
9778 9778  
9779 -{{panel bgColor="#D3D3D3" width="100%"}}
9780 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/sources
9781 -{{/panel}}
3106 +(% class="western" %)
3107 +Source: Source value (String)
3108 +)))
9782 9782  
9783 -=== (% 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 +)))
9784 9784  
9785 -----
9786 -
9787 -(% 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}}
9788 -
9789 -==== Example ====
9790 -
9791 -----
9792 -
9793 -(% style="color: rgb(107,107,107);" %)Request
9794 -
9795 -{{code language="php" theme="RDark" title="Get All Source code Request" collapse="true"}}
9796 - <?php
9797 -
9798 -$curl = curl_init();
9799 -
9800 -curl_setopt_array($curl, array(
9801 - CURLOPT_URL => 'rayaan.onecount.net/api/v2/sources',
9802 - CURLOPT_RETURNTRANSFER => true,
9803 - CURLOPT_ENCODING => '',
9804 - CURLOPT_MAXREDIRS => 10,
9805 - CURLOPT_TIMEOUT => 0,
9806 - CURLOPT_FOLLOWLOCATION => true,
9807 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
9808 - CURLOPT_CUSTOMREQUEST => 'GET',
9809 - CURLOPT_HTTPHEADER => array(
9810 - 'Appkey: {{ONECOUNT API KEY}}'
9811 - ),
9812 -));
9813 -
9814 -$response = curl_exec($curl);
9815 -
9816 -curl_close($curl);
9817 -echo $response;
9818 -{{/code}}
9819 -
9820 9820  \\
9821 9821  
9822 -(% style="color: rgb(107,107,107);" %)Response  200 OK
9823 -
9824 -{{code language="yml" theme="RDark" title="Get All Source code Response" collapse="true"}}
9825 - {
9826 - "result": {
9827 - "success": "1",
9828 - "error": {
9829 - "code": "",
9830 - "message": ""
9831 - }
9832 - },
9833 - "Sources": [
9834 - {
9835 - "Id": 26,
9836 - "Source": "GCN-Member",
9837 - "Description": "Uploaded from Reston VA",
9838 - "Parent": 0
9839 - },
9840 - {
9841 - "Id": 34,
9842 - "Source": "SugarID",
9843 - "Description": "Sugar IDs cleaned contacts list and cleaned leads list sent by Sean Fulton for upload.",
9844 - "Parent": 0
9845 - },
9846 - {
9847 - "Id": 42,
9848 - "Source": "DEMOFORM",
9849 - "Description": "\"Request a Demo\" form from one-count.com",
9850 - "Parent": 0
9851 - },
9852 - {
9853 - "Id": 50,
9854 - "Source": "ABM ANNUAL 2014",
9855 - "Description": "ABM Annual 2014 - Registration List for Sponsors",
9856 - "Parent": 0
9857 - },
9858 - {
9859 - "Id": 58,
9860 - "Source": "BIMS REG LIST",
9861 - "Description": "BIMS Registration List for Sponsors (2013/2014)",
9862 - "Parent": 0
9863 - },
9864 - {
9865 - "Id": 66,
9866 - "Source": "SIPA 13",
9867 - "Description": "SIPA 2013 - sponsor - attendees",
9868 - "Parent": 0
9869 - },
9870 - {
9871 - "Id": 74,
9872 - "Source": "Google Ads",
9873 - "Description": "From Google Banner Ads",
9874 - "Parent": 0
9875 - },
9876 - {
9877 - "Id": 82,
9878 - "Source": "EDIT PROFILE",
9879 - "Description": "FOR EDIT PROFILE FORM",
9880 - "Parent": 0
9881 - },
9882 - {
9883 - "Id": 83,
9884 - "Source": "Test Source Code",
9885 - "Description": "",
9886 - "Parent": 0
9887 - },
9888 - {
9889 - "Id": 91,
9890 - "Source": "NEWSLETTER",
9891 - "Description": "Newsletter",
9892 - "Parent": 0
9893 - },
9894 - {
9895 - "Id": 99,
9896 - "Source": "INFOTANKS-comps-only_12032019",
9897 - "Description": "",
9898 - "Parent": 0
9899 - },
9900 - {
9901 - "Id": 107,
9902 - "Source": "INFOTANKS-DMP-only_12102019",
9903 - "Description": "",
9904 - "Parent": 0
9905 - },
9906 - {
9907 - "Id": 109,
9908 - "Source": "BMVM",
9909 - "Description": "Active Attendees",
9910 - "Parent": 0
9911 - },
9912 - {
9913 - "Id": 115,
9914 - "Source": "USECASES",
9915 - "Description": "Use Case PDF",
9916 - "Parent": 0
9917 - },
9918 - {
9919 - "Id": 123,
9920 - "Source": "Borrell Miami 2022",
9921 - "Description": "",
9922 - "Parent": 0
9923 - },
9924 - {
9925 - "Id": 131,
9926 - "Source": "05092022-telemarketing",
9927 - "Description": "",
9928 - "Parent": 0
9929 - },
9930 - {
9931 - "Id": 139,
9932 - "Source": "WEBINAR6.15.22",
9933 - "Description": "Live Webinar Series June 15, 2022",
9934 - "Parent": 0
9935 - },
9936 - {
9937 - "Id": 147,
9938 - "Source": "LMA Show List",
9939 - "Description": "",
9940 - "Parent": 0
9941 - },
9942 - {
9943 - "Id": 155,
9944 - "Source": "AAA",
9945 - "Description": "",
9946 - "Parent": 0
9947 - },
9948 - {
9949 - "Id": 163,
9950 - "Source": "MGS2022",
9951 - "Description": "",
9952 - "Parent": 0
9953 - },
9954 - {
9955 - "Id": 171,
9956 - "Source": "MGS2023",
9957 - "Description": "",
9958 - "Parent": 0
9959 - },
9960 - {
9961 - "Id": 179,
9962 - "Source": "Sugar Leads",
9963 - "Description": "",
9964 - "Parent": 0
9965 - },
9966 - {
9967 - "Id": 187,
9968 - "Source": "seansbox",
9969 - "Description": "",
9970 - "Parent": 0
9971 - },
9972 - {
9973 - "Id": 191,
9974 - "Source": "SEEITLIVE",
9975 - "Description": "Lunch & Learn Webinar Series with Special Partner Guests",
9976 - "Parent": 0
9977 - },
9978 - {
9979 - "Id": 199,
9980 - "Source": "80-percent-conversion-rates",
9981 - "Description": "",
9982 - "Parent": 0
9983 - }
9984 - ]
9985 -}
9986 -{{/code}}
9987 -
3139 +(% class="western" %)
9988 9988  \\
9989 9989  
9990 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
9991 -== (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)specific Source code(%%) ==
3142 +(% class="western" %)
3143 +POST method should be used to create an individual source given the source parameters.
9992 9992  
9993 -----
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 +)))
9994 9994  
9995 -{{panel bgColor="#D3D3D3" width="100%"}}
9996 - (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/sources/~{~{source code id}}
9997 -{{/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 +)))
9998 9998  
9999 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
10000 -
10001 -----
10002 -
10003 -(% 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}}
10004 -
10005 -==== Example ====
10006 -
10007 -----
10008 -
10009 -(% style="color: rgb(107,107,107);" %)Request
10010 -
10011 -{{code language="php" theme="RDark" title="Get specific Source Request" collapse="true"}}
10012 - <?php
10013 -
10014 -$curl = curl_init();
10015 -
10016 -curl_setopt_array($curl, array(
10017 - CURLOPT_URL => 'rayaan.onecount.net/api/v2/sources/{{source code id}}',
10018 - CURLOPT_RETURNTRANSFER => true,
10019 - CURLOPT_ENCODING => '',
10020 - CURLOPT_MAXREDIRS => 10,
10021 - CURLOPT_TIMEOUT => 0,
10022 - CURLOPT_FOLLOWLOCATION => true,
10023 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
10024 - CURLOPT_CUSTOMREQUEST => 'GET',
10025 - CURLOPT_HTTPHEADER => array(
10026 - 'Appkey: {{ONECOUNT API KEY}}'
10027 - ),
10028 -));
10029 -
10030 -$response = curl_exec($curl);
10031 -
10032 -curl_close($curl);
10033 -echo $response;
10034 -{{/code}}
10035 -
10036 10036  \\
10037 10037  
10038 -(% 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.**
10039 10039  
10040 -{{code language="yml" theme="RDark" title="Get specific Source Response" collapse="true"}}
10041 - {
10042 - "result": {
10043 - "success": "1",
10044 - "error": {
10045 - "code": "",
10046 - "message": ""
10047 - }
10048 - },
10049 - "Sources": [
10050 - {
10051 - "Id": 26,
10052 - "Source": "GCN-Member",
10053 - "Description": "Uploaded from Reston VA",
10054 - "Parent": 0
10055 - }
10056 - ]
10057 -}
10058 -{{/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 +)))
10059 10059  
10060 -\\
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 +)))
10061 10061  
10062 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
10063 -== (% 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(%%) ==
10064 -
10065 -----
10066 -
10067 -{{panel bgColor="#D3D3D3" width="100%"}}
10068 -(% class="nolink" %)[[https:~~/~~/api.onecount.net/v2/users>>url:https://api.onecount.net/v2/users||shape="rect"]](% style="color: rgb(33,33,33);" %)/lookup?2=user_242_6298&return=1,2,3,4
10069 -{{/panel}}
10070 -
10071 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
10072 -
10073 -----
10074 -
10075 -(% 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}}
10076 -
10077 -=== (% style="color: rgb(33,33,33);" %)Query Params(%%) ===
10078 -
10079 -----
10080 -
10081 -(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)2  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)user_242_6298(%%)
10082 -(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)return  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)1,2,3,4
10083 -
10084 -==== Example ====
10085 -
10086 -----
10087 -
10088 -(% style="color: rgb(107,107,107);" %)Request
10089 -
10090 -{{code language="php" theme="RDark" title="Lookup user Request" collapse="true"/}}
10091 -
10092 10092  \\
10093 10093  
10094 -(% style="color: rgb(107,107,107);" %)Response  200 OK
10095 -
10096 -{{code language="yml" theme="RDark" title="Lookup user Response" collapse="true"/}}
10097 -
10098 -\\
10099 -
10100 -\\
10101 -
10102 -\\
10103 -
10104 -\\
10105 -
10106 10106  (% class="western" %)
10107 10107  \\
10108 10108  
... ... @@ -10112,7 +10112,6 @@
10112 10112  (% class="western" %)
10113 10113  This resource is for manipulating transactions resource. A transaction can be created or searched.
10114 10114  
10115 -(% class="wrapped" %)
10116 10116  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10117 10117  (((
10118 10118  (% class="western" %)
... ... @@ -10168,1747 +10168,176 @@
10168 10168  
10169 10169  \\
10170 10170  
10171 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
10172 -== (% 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(%%) ==
10173 -
10174 -----
10175 -
10176 -----
10177 -
10178 -{{panel bgColor="#D3D3D3" width="100%"}}
10179 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/transactions
10180 -{{/panel}}
10181 -
10182 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
10183 -
10184 -----
10185 -
10186 -(% 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}}
10187 -
10188 -==== Example ====
10189 -
10190 -----
10191 -
10192 -(% style="color: rgb(107,107,107);" %)Request
10193 -
10194 -{{code language="php" theme="RDark" title="Get All Transaction Request" collapse="true"}}
10195 - <?php
10196 -
10197 -$curl = curl_init();
10198 -
10199 -curl_setopt_array($curl, array(
10200 - CURLOPT_URL => 'rayaan.onecount.net/api/v2/transactions?limit=100',
10201 - CURLOPT_RETURNTRANSFER => true,
10202 - CURLOPT_ENCODING => '',
10203 - CURLOPT_MAXREDIRS => 10,
10204 - CURLOPT_TIMEOUT => 0,
10205 - CURLOPT_FOLLOWLOCATION => true,
10206 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
10207 - CURLOPT_CUSTOMREQUEST => 'GET',
10208 - CURLOPT_HTTPHEADER => array(
10209 - 'Appkey: {{ONECOUNT API KEY}}'
10210 - ),
10211 -));
10212 -
10213 -$response = curl_exec($curl);
10214 -
10215 -curl_close($curl);
10216 -echo $response;
10217 -{{/code}}
10218 -
3324 +(% class="western" %)
10219 10219  \\
10220 10220  
10221 -(% 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.
10222 10222  
10223 -{{code language="yml" theme="RDark" title="Get All Transaction Response" collapse="true"}}
10224 - {
10225 - "result": {
10226 - "success": "1",
10227 - "error": {
10228 - "code": "",
10229 - "message": ""
10230 - }
10231 - },
10232 - "Transactions": [
10233 - {
10234 - "Id": 10,
10235 - "UserId": 10,
10236 - "TermId": 2,
10237 - "TransactionDate": "2014-07-17",
10238 - "TransactionTime": "10:02:13",
10239 - "RequestDate": "2014-07-17",
10240 - "UserIP": "74.201.38.1",
10241 - "SubscriptionType": "n",
10242 - "ProductId": 2,
10243 - "Source": 10,
10244 - "ProductStatus": 2,
10245 - "MediaFilePath": "",
10246 - "Amount": ""
10247 - },
10248 - {
10249 - "Id": 26,
10250 - "UserId": 10,
10251 - "TermId": 2,
10252 - "TransactionDate": "2014-07-17",
10253 - "TransactionTime": "10:41:59",
10254 - "RequestDate": "2014-07-17",
10255 - "UserIP": "74.201.38.1",
10256 - "SubscriptionType": "r",
10257 - "ProductId": 2,
10258 - "Source": 10,
10259 - "ProductStatus": 2,
10260 - "MediaFilePath": "",
10261 - "Amount": ""
10262 - },
10263 - {
10264 - "Id": 50,
10265 - "UserId": 26,
10266 - "TermId": 2,
10267 - "TransactionDate": "2014-07-17",
10268 - "TransactionTime": "12:25:38",
10269 - "RequestDate": "2014-07-17",
10270 - "UserIP": "74.201.38.1",
10271 - "SubscriptionType": "n",
10272 - "ProductId": 2,
10273 - "Source": 10,
10274 - "ProductStatus": 2,
10275 - "MediaFilePath": "",
10276 - "Amount": ""
10277 - },
10278 - {
10279 - "Id": 58,
10280 - "UserId": 10,
10281 - "TermId": 2,
10282 - "TransactionDate": "2014-07-17",
10283 - "TransactionTime": "12:25:43",
10284 - "RequestDate": "2014-07-17",
10285 - "UserIP": "74.201.38.1",
10286 - "SubscriptionType": "r",
10287 - "ProductId": 2,
10288 - "Source": 10,
10289 - "ProductStatus": 2,
10290 - "MediaFilePath": "",
10291 - "Amount": ""
10292 - },
10293 - {
10294 - "Id": 66,
10295 - "UserId": 42,
10296 - "TermId": 2,
10297 - "TransactionDate": "2014-07-17",
10298 - "TransactionTime": "12:57:11",
10299 - "RequestDate": "2014-07-17",
10300 - "UserIP": "74.201.38.1",
10301 - "SubscriptionType": "n",
10302 - "ProductId": 2,
10303 - "Source": 26,
10304 - "ProductStatus": 2,
10305 - "MediaFilePath": "",
10306 - "Amount": ""
10307 - },
10308 - {
10309 - "Id": 74,
10310 - "UserId": 50,
10311 - "TermId": 2,
10312 - "TransactionDate": "2014-07-17",
10313 - "TransactionTime": "12:57:11",
10314 - "RequestDate": "2014-07-17",
10315 - "UserIP": "74.201.38.1",
10316 - "SubscriptionType": "n",
10317 - "ProductId": 2,
10318 - "Source": 26,
10319 - "ProductStatus": 2,
10320 - "MediaFilePath": "",
10321 - "Amount": ""
10322 - },
10323 - {
10324 - "Id": 82,
10325 - "UserId": 58,
10326 - "TermId": 2,
10327 - "TransactionDate": "2014-07-17",
10328 - "TransactionTime": "12:57:11",
10329 - "RequestDate": "2014-07-17",
10330 - "UserIP": "74.201.38.1",
10331 - "SubscriptionType": "n",
10332 - "ProductId": 2,
10333 - "Source": 26,
10334 - "ProductStatus": 2,
10335 - "MediaFilePath": "",
10336 - "Amount": ""
10337 - },
10338 - {
10339 - "Id": 90,
10340 - "UserId": 66,
10341 - "TermId": 2,
10342 - "TransactionDate": "2014-07-17",
10343 - "TransactionTime": "12:57:11",
10344 - "RequestDate": "2014-07-17",
10345 - "UserIP": "74.201.38.1",
10346 - "SubscriptionType": "n",
10347 - "ProductId": 2,
10348 - "Source": 26,
10349 - "ProductStatus": 2,
10350 - "MediaFilePath": "",
10351 - "Amount": ""
10352 - },
10353 - {
10354 - "Id": 98,
10355 - "UserId": 74,
10356 - "TermId": 2,
10357 - "TransactionDate": "2014-07-17",
10358 - "TransactionTime": "12:57:11",
10359 - "RequestDate": "2014-07-17",
10360 - "UserIP": "74.201.38.1",
10361 - "SubscriptionType": "n",
10362 - "ProductId": 2,
10363 - "Source": 26,
10364 - "ProductStatus": 2,
10365 - "MediaFilePath": "",
10366 - "Amount": ""
10367 - },
10368 - {
10369 - "Id": 106,
10370 - "UserId": 82,
10371 - "TermId": 2,
10372 - "TransactionDate": "2014-07-17",
10373 - "TransactionTime": "12:57:11",
10374 - "RequestDate": "2014-07-17",
10375 - "UserIP": "74.201.38.1",
10376 - "SubscriptionType": "n",
10377 - "ProductId": 2,
10378 - "Source": 26,
10379 - "ProductStatus": 2,
10380 - "MediaFilePath": "",
10381 - "Amount": ""
10382 - },
10383 - {
10384 - "Id": 114,
10385 - "UserId": 90,
10386 - "TermId": 2,
10387 - "TransactionDate": "2014-07-17",
10388 - "TransactionTime": "12:57:11",
10389 - "RequestDate": "2014-07-17",
10390 - "UserIP": "74.201.38.1",
10391 - "SubscriptionType": "n",
10392 - "ProductId": 2,
10393 - "Source": 26,
10394 - "ProductStatus": 2,
10395 - "MediaFilePath": "",
10396 - "Amount": ""
10397 - },
10398 - {
10399 - "Id": 122,
10400 - "UserId": 98,
10401 - "TermId": 2,
10402 - "TransactionDate": "2014-07-17",
10403 - "TransactionTime": "12:57:11",
10404 - "RequestDate": "2014-07-17",
10405 - "UserIP": "74.201.38.1",
10406 - "SubscriptionType": "n",
10407 - "ProductId": 2,
10408 - "Source": 26,
10409 - "ProductStatus": 2,
10410 - "MediaFilePath": "",
10411 - "Amount": ""
10412 - },
10413 - {
10414 - "Id": 130,
10415 - "UserId": 42,
10416 - "TermId": 2,
10417 - "TransactionDate": "2014-07-17",
10418 - "TransactionTime": "12:59:10",
10419 - "RequestDate": "2014-07-17",
10420 - "UserIP": "74.201.38.1",
10421 - "SubscriptionType": "r",
10422 - "ProductId": 2,
10423 - "Source": 10,
10424 - "ProductStatus": 2,
10425 - "MediaFilePath": "",
10426 - "Amount": ""
10427 - },
10428 - {
10429 - "Id": 138,
10430 - "UserId": 50,
10431 - "TermId": 2,
10432 - "TransactionDate": "2014-07-17",
10433 - "TransactionTime": "12:59:10",
10434 - "RequestDate": "2014-07-17",
10435 - "UserIP": "74.201.38.1",
10436 - "SubscriptionType": "r",
10437 - "ProductId": 2,
10438 - "Source": 10,
10439 - "ProductStatus": 2,
10440 - "MediaFilePath": "",
10441 - "Amount": ""
10442 - },
10443 - {
10444 - "Id": 146,
10445 - "UserId": 58,
10446 - "TermId": 2,
10447 - "TransactionDate": "2014-07-17",
10448 - "TransactionTime": "12:59:10",
10449 - "RequestDate": "2014-07-17",
10450 - "UserIP": "74.201.38.1",
10451 - "SubscriptionType": "r",
10452 - "ProductId": 2,
10453 - "Source": 10,
10454 - "ProductStatus": 2,
10455 - "MediaFilePath": "",
10456 - "Amount": ""
10457 - },
10458 - {
10459 - "Id": 154,
10460 - "UserId": 66,
10461 - "TermId": 2,
10462 - "TransactionDate": "2014-07-17",
10463 - "TransactionTime": "12:59:10",
10464 - "RequestDate": "2014-07-17",
10465 - "UserIP": "74.201.38.1",
10466 - "SubscriptionType": "r",
10467 - "ProductId": 2,
10468 - "Source": 10,
10469 - "ProductStatus": 2,
10470 - "MediaFilePath": "",
10471 - "Amount": ""
10472 - },
10473 - {
10474 - "Id": 162,
10475 - "UserId": 74,
10476 - "TermId": 2,
10477 - "TransactionDate": "2014-07-17",
10478 - "TransactionTime": "12:59:10",
10479 - "RequestDate": "2014-07-17",
10480 - "UserIP": "74.201.38.1",
10481 - "SubscriptionType": "r",
10482 - "ProductId": 2,
10483 - "Source": 10,
10484 - "ProductStatus": 2,
10485 - "MediaFilePath": "",
10486 - "Amount": ""
10487 - },
10488 - {
10489 - "Id": 170,
10490 - "UserId": 82,
10491 - "TermId": 2,
10492 - "TransactionDate": "2014-07-17",
10493 - "TransactionTime": "12:59:10",
10494 - "RequestDate": "2014-07-17",
10495 - "UserIP": "74.201.38.1",
10496 - "SubscriptionType": "r",
10497 - "ProductId": 2,
10498 - "Source": 10,
10499 - "ProductStatus": 2,
10500 - "MediaFilePath": "",
10501 - "Amount": ""
10502 - },
10503 - {
10504 - "Id": 178,
10505 - "UserId": 90,
10506 - "TermId": 2,
10507 - "TransactionDate": "2014-07-17",
10508 - "TransactionTime": "12:59:10",
10509 - "RequestDate": "2014-07-17",
10510 - "UserIP": "74.201.38.1",
10511 - "SubscriptionType": "r",
10512 - "ProductId": 2,
10513 - "Source": 10,
10514 - "ProductStatus": 2,
10515 - "MediaFilePath": "",
10516 - "Amount": ""
10517 - },
10518 - {
10519 - "Id": 186,
10520 - "UserId": 98,
10521 - "TermId": 2,
10522 - "TransactionDate": "2014-07-17",
10523 - "TransactionTime": "12:59:10",
10524 - "RequestDate": "2014-07-17",
10525 - "UserIP": "74.201.38.1",
10526 - "SubscriptionType": "r",
10527 - "ProductId": 2,
10528 - "Source": 10,
10529 - "ProductStatus": 2,
10530 - "MediaFilePath": "",
10531 - "Amount": ""
10532 - },
10533 - {
10534 - "Id": 194,
10535 - "UserId": 162,
10536 - "TermId": 2,
10537 - "TransactionDate": "2014-07-17",
10538 - "TransactionTime": "13:00:42",
10539 - "RequestDate": "2014-07-17",
10540 - "UserIP": "74.201.38.1",
10541 - "SubscriptionType": "n",
10542 - "ProductId": 2,
10543 - "Source": 10,
10544 - "ProductStatus": 2,
10545 - "MediaFilePath": "",
10546 - "Amount": ""
10547 - },
10548 - {
10549 - "Id": 202,
10550 - "UserId": 170,
10551 - "TermId": 2,
10552 - "TransactionDate": "2014-07-17",
10553 - "TransactionTime": "13:00:42",
10554 - "RequestDate": "2014-07-17",
10555 - "UserIP": "74.201.38.1",
10556 - "SubscriptionType": "n",
10557 - "ProductId": 2,
10558 - "Source": 10,
10559 - "ProductStatus": 2,
10560 - "MediaFilePath": "",
10561 - "Amount": ""
10562 - },
10563 - {
10564 - "Id": 210,
10565 - "UserId": 178,
10566 - "TermId": 2,
10567 - "TransactionDate": "2014-07-17",
10568 - "TransactionTime": "13:00:42",
10569 - "RequestDate": "2014-07-17",
10570 - "UserIP": "74.201.38.1",
10571 - "SubscriptionType": "n",
10572 - "ProductId": 2,
10573 - "Source": 10,
10574 - "ProductStatus": 2,
10575 - "MediaFilePath": "",
10576 - "Amount": ""
10577 - },
10578 - {
10579 - "Id": 218,
10580 - "UserId": 186,
10581 - "TermId": 2,
10582 - "TransactionDate": "2014-07-17",
10583 - "TransactionTime": "13:00:42",
10584 - "RequestDate": "2014-07-17",
10585 - "UserIP": "74.201.38.1",
10586 - "SubscriptionType": "n",
10587 - "ProductId": 2,
10588 - "Source": 10,
10589 - "ProductStatus": 2,
10590 - "MediaFilePath": "",
10591 - "Amount": ""
10592 - },
10593 - {
10594 - "Id": 226,
10595 - "UserId": 194,
10596 - "TermId": 2,
10597 - "TransactionDate": "2014-07-17",
10598 - "TransactionTime": "13:00:42",
10599 - "RequestDate": "2014-07-17",
10600 - "UserIP": "74.201.38.1",
10601 - "SubscriptionType": "n",
10602 - "ProductId": 2,
10603 - "Source": 10,
10604 - "ProductStatus": 2,
10605 - "MediaFilePath": "",
10606 - "Amount": ""
10607 - },
10608 - {
10609 - "Id": 234,
10610 - "UserId": 202,
10611 - "TermId": 2,
10612 - "TransactionDate": "2014-07-17",
10613 - "TransactionTime": "13:00:42",
10614 - "RequestDate": "2014-07-17",
10615 - "UserIP": "74.201.38.1",
10616 - "SubscriptionType": "n",
10617 - "ProductId": 2,
10618 - "Source": 10,
10619 - "ProductStatus": 2,
10620 - "MediaFilePath": "",
10621 - "Amount": ""
10622 - },
10623 - {
10624 - "Id": 242,
10625 - "UserId": 210,
10626 - "TermId": 2,
10627 - "TransactionDate": "2014-07-17",
10628 - "TransactionTime": "13:00:42",
10629 - "RequestDate": "2014-07-17",
10630 - "UserIP": "74.201.38.1",
10631 - "SubscriptionType": "n",
10632 - "ProductId": 2,
10633 - "Source": 10,
10634 - "ProductStatus": 2,
10635 - "MediaFilePath": "",
10636 - "Amount": ""
10637 - },
10638 - {
10639 - "Id": 250,
10640 - "UserId": 218,
10641 - "TermId": 2,
10642 - "TransactionDate": "2014-07-17",
10643 - "TransactionTime": "13:00:42",
10644 - "RequestDate": "2014-07-17",
10645 - "UserIP": "74.201.38.1",
10646 - "SubscriptionType": "n",
10647 - "ProductId": 2,
10648 - "Source": 10,
10649 - "ProductStatus": 2,
10650 - "MediaFilePath": "",
10651 - "Amount": ""
10652 - },
10653 - {
10654 - "Id": 258,
10655 - "UserId": 282,
10656 - "TermId": 2,
10657 - "TransactionDate": "2014-07-17",
10658 - "TransactionTime": "13:02:19",
10659 - "RequestDate": "2014-07-17",
10660 - "UserIP": "74.201.38.1",
10661 - "SubscriptionType": "n",
10662 - "ProductId": 2,
10663 - "Source": 10,
10664 - "ProductStatus": 2,
10665 - "MediaFilePath": "",
10666 - "Amount": ""
10667 - },
10668 - {
10669 - "Id": 266,
10670 - "UserId": 290,
10671 - "TermId": 2,
10672 - "TransactionDate": "2014-07-17",
10673 - "TransactionTime": "13:02:19",
10674 - "RequestDate": "2014-07-17",
10675 - "UserIP": "74.201.38.1",
10676 - "SubscriptionType": "n",
10677 - "ProductId": 2,
10678 - "Source": 10,
10679 - "ProductStatus": 2,
10680 - "MediaFilePath": "",
10681 - "Amount": ""
10682 - },
10683 - {
10684 - "Id": 274,
10685 - "UserId": 298,
10686 - "TermId": 2,
10687 - "TransactionDate": "2014-07-17",
10688 - "TransactionTime": "13:02:19",
10689 - "RequestDate": "2014-07-17",
10690 - "UserIP": "74.201.38.1",
10691 - "SubscriptionType": "n",
10692 - "ProductId": 2,
10693 - "Source": 10,
10694 - "ProductStatus": 2,
10695 - "MediaFilePath": "",
10696 - "Amount": ""
10697 - },
10698 - {
10699 - "Id": 282,
10700 - "UserId": 306,
10701 - "TermId": 2,
10702 - "TransactionDate": "2014-07-17",
10703 - "TransactionTime": "13:02:19",
10704 - "RequestDate": "2014-07-17",
10705 - "UserIP": "74.201.38.1",
10706 - "SubscriptionType": "n",
10707 - "ProductId": 2,
10708 - "Source": 10,
10709 - "ProductStatus": 2,
10710 - "MediaFilePath": "",
10711 - "Amount": ""
10712 - },
10713 - {
10714 - "Id": 290,
10715 - "UserId": 314,
10716 - "TermId": 2,
10717 - "TransactionDate": "2014-07-17",
10718 - "TransactionTime": "13:02:19",
10719 - "RequestDate": "2014-07-17",
10720 - "UserIP": "74.201.38.1",
10721 - "SubscriptionType": "n",
10722 - "ProductId": 2,
10723 - "Source": 10,
10724 - "ProductStatus": 2,
10725 - "MediaFilePath": "",
10726 - "Amount": ""
10727 - },
10728 - {
10729 - "Id": 298,
10730 - "UserId": 322,
10731 - "TermId": 2,
10732 - "TransactionDate": "2014-07-17",
10733 - "TransactionTime": "13:02:19",
10734 - "RequestDate": "2014-07-17",
10735 - "UserIP": "74.201.38.1",
10736 - "SubscriptionType": "n",
10737 - "ProductId": 2,
10738 - "Source": 10,
10739 - "ProductStatus": 2,
10740 - "MediaFilePath": "",
10741 - "Amount": ""
10742 - },
10743 - {
10744 - "Id": 306,
10745 - "UserId": 330,
10746 - "TermId": 2,
10747 - "TransactionDate": "2014-07-17",
10748 - "TransactionTime": "13:02:19",
10749 - "RequestDate": "2014-07-17",
10750 - "UserIP": "74.201.38.1",
10751 - "SubscriptionType": "n",
10752 - "ProductId": 2,
10753 - "Source": 10,
10754 - "ProductStatus": 2,
10755 - "MediaFilePath": "",
10756 - "Amount": ""
10757 - },
10758 - {
10759 - "Id": 466,
10760 - "UserId": 698,
10761 - "TermId": 2,
10762 - "TransactionDate": "2014-07-17",
10763 - "TransactionTime": "13:13:06",
10764 - "RequestDate": "2014-07-17",
10765 - "UserIP": "74.201.38.1",
10766 - "SubscriptionType": "n",
10767 - "ProductId": 2,
10768 - "Source": 26,
10769 - "ProductStatus": 2,
10770 - "MediaFilePath": "",
10771 - "Amount": ""
10772 - },
10773 - {
10774 - "Id": 474,
10775 - "UserId": 706,
10776 - "TermId": 2,
10777 - "TransactionDate": "2014-07-17",
10778 - "TransactionTime": "13:13:06",
10779 - "RequestDate": "2014-07-17",
10780 - "UserIP": "74.201.38.1",
10781 - "SubscriptionType": "n",
10782 - "ProductId": 2,
10783 - "Source": 26,
10784 - "ProductStatus": 2,
10785 - "MediaFilePath": "",
10786 - "Amount": ""
10787 - },
10788 - {
10789 - "Id": 482,
10790 - "UserId": 714,
10791 - "TermId": 2,
10792 - "TransactionDate": "2014-07-17",
10793 - "TransactionTime": "13:13:06",
10794 - "RequestDate": "2014-07-17",
10795 - "UserIP": "74.201.38.1",
10796 - "SubscriptionType": "n",
10797 - "ProductId": 2,
10798 - "Source": 26,
10799 - "ProductStatus": 2,
10800 - "MediaFilePath": "",
10801 - "Amount": ""
10802 - },
10803 - {
10804 - "Id": 490,
10805 - "UserId": 722,
10806 - "TermId": 2,
10807 - "TransactionDate": "2014-07-17",
10808 - "TransactionTime": "13:13:06",
10809 - "RequestDate": "2014-07-17",
10810 - "UserIP": "74.201.38.1",
10811 - "SubscriptionType": "n",
10812 - "ProductId": 2,
10813 - "Source": 26,
10814 - "ProductStatus": 2,
10815 - "MediaFilePath": "",
10816 - "Amount": ""
10817 - },
10818 - {
10819 - "Id": 498,
10820 - "UserId": 730,
10821 - "TermId": 2,
10822 - "TransactionDate": "2014-07-17",
10823 - "TransactionTime": "13:13:06",
10824 - "RequestDate": "2014-07-17",
10825 - "UserIP": "74.201.38.1",
10826 - "SubscriptionType": "n",
10827 - "ProductId": 2,
10828 - "Source": 26,
10829 - "ProductStatus": 2,
10830 - "MediaFilePath": "",
10831 - "Amount": ""
10832 - },
10833 - {
10834 - "Id": 506,
10835 - "UserId": 738,
10836 - "TermId": 2,
10837 - "TransactionDate": "2014-07-17",
10838 - "TransactionTime": "13:13:06",
10839 - "RequestDate": "2014-07-17",
10840 - "UserIP": "74.201.38.1",
10841 - "SubscriptionType": "n",
10842 - "ProductId": 2,
10843 - "Source": 26,
10844 - "ProductStatus": 2,
10845 - "MediaFilePath": "",
10846 - "Amount": ""
10847 - },
10848 - {
10849 - "Id": 522,
10850 - "UserId": 754,
10851 - "TermId": 18,
10852 - "TransactionDate": "2014-08-19",
10853 - "TransactionTime": "11:18:55",
10854 - "RequestDate": "2014-08-19",
10855 - "UserIP": "74.201.38.1",
10856 - "SubscriptionType": "n",
10857 - "ProductId": 18,
10858 - "Source": 34,
10859 - "ProductStatus": 2,
10860 - "MediaFilePath": "",
10861 - "Amount": ""
10862 - },
10863 - {
10864 - "Id": 530,
10865 - "UserId": 762,
10866 - "TermId": 18,
10867 - "TransactionDate": "2014-08-19",
10868 - "TransactionTime": "11:18:55",
10869 - "RequestDate": "2014-08-19",
10870 - "UserIP": "74.201.38.1",
10871 - "SubscriptionType": "n",
10872 - "ProductId": 18,
10873 - "Source": 34,
10874 - "ProductStatus": 2,
10875 - "MediaFilePath": "",
10876 - "Amount": ""
10877 - },
10878 - {
10879 - "Id": 538,
10880 - "UserId": 770,
10881 - "TermId": 18,
10882 - "TransactionDate": "2014-08-19",
10883 - "TransactionTime": "11:18:55",
10884 - "RequestDate": "2014-08-19",
10885 - "UserIP": "74.201.38.1",
10886 - "SubscriptionType": "n",
10887 - "ProductId": 18,
10888 - "Source": 34,
10889 - "ProductStatus": 2,
10890 - "MediaFilePath": "",
10891 - "Amount": ""
10892 - },
10893 - {
10894 - "Id": 546,
10895 - "UserId": 778,
10896 - "TermId": 18,
10897 - "TransactionDate": "2014-08-19",
10898 - "TransactionTime": "11:18:55",
10899 - "RequestDate": "2014-08-19",
10900 - "UserIP": "74.201.38.1",
10901 - "SubscriptionType": "n",
10902 - "ProductId": 18,
10903 - "Source": 34,
10904 - "ProductStatus": 2,
10905 - "MediaFilePath": "",
10906 - "Amount": ""
10907 - },
10908 - {
10909 - "Id": 554,
10910 - "UserId": 786,
10911 - "TermId": 18,
10912 - "TransactionDate": "2014-08-19",
10913 - "TransactionTime": "11:18:55",
10914 - "RequestDate": "2014-08-19",
10915 - "UserIP": "74.201.38.1",
10916 - "SubscriptionType": "n",
10917 - "ProductId": 18,
10918 - "Source": 34,
10919 - "ProductStatus": 2,
10920 - "MediaFilePath": "",
10921 - "Amount": ""
10922 - },
10923 - {
10924 - "Id": 570,
10925 - "UserId": 802,
10926 - "TermId": 18,
10927 - "TransactionDate": "2014-08-19",
10928 - "TransactionTime": "11:18:55",
10929 - "RequestDate": "2014-08-19",
10930 - "UserIP": "74.201.38.1",
10931 - "SubscriptionType": "n",
10932 - "ProductId": 18,
10933 - "Source": 34,
10934 - "ProductStatus": 2,
10935 - "MediaFilePath": "",
10936 - "Amount": ""
10937 - },
10938 - {
10939 - "Id": 578,
10940 - "UserId": 810,
10941 - "TermId": 18,
10942 - "TransactionDate": "2014-08-19",
10943 - "TransactionTime": "11:18:55",
10944 - "RequestDate": "2014-08-19",
10945 - "UserIP": "74.201.38.1",
10946 - "SubscriptionType": "n",
10947 - "ProductId": 18,
10948 - "Source": 34,
10949 - "ProductStatus": 2,
10950 - "MediaFilePath": "",
10951 - "Amount": ""
10952 - },
10953 - {
10954 - "Id": 586,
10955 - "UserId": 818,
10956 - "TermId": 18,
10957 - "TransactionDate": "2014-08-19",
10958 - "TransactionTime": "11:18:55",
10959 - "RequestDate": "2014-08-19",
10960 - "UserIP": "74.201.38.1",
10961 - "SubscriptionType": "n",
10962 - "ProductId": 18,
10963 - "Source": 34,
10964 - "ProductStatus": 2,
10965 - "MediaFilePath": "",
10966 - "Amount": ""
10967 - },
10968 - {
10969 - "Id": 602,
10970 - "UserId": 834,
10971 - "TermId": 18,
10972 - "TransactionDate": "2014-08-19",
10973 - "TransactionTime": "11:18:55",
10974 - "RequestDate": "2014-08-19",
10975 - "UserIP": "74.201.38.1",
10976 - "SubscriptionType": "n",
10977 - "ProductId": 18,
10978 - "Source": 34,
10979 - "ProductStatus": 2,
10980 - "MediaFilePath": "",
10981 - "Amount": ""
10982 - },
10983 - {
10984 - "Id": 610,
10985 - "UserId": 842,
10986 - "TermId": 18,
10987 - "TransactionDate": "2014-08-19",
10988 - "TransactionTime": "11:18:55",
10989 - "RequestDate": "2014-08-19",
10990 - "UserIP": "74.201.38.1",
10991 - "SubscriptionType": "n",
10992 - "ProductId": 18,
10993 - "Source": 34,
10994 - "ProductStatus": 2,
10995 - "MediaFilePath": "",
10996 - "Amount": ""
10997 - },
10998 - {
10999 - "Id": 618,
11000 - "UserId": 850,
11001 - "TermId": 18,
11002 - "TransactionDate": "2014-08-19",
11003 - "TransactionTime": "11:18:55",
11004 - "RequestDate": "2014-08-19",
11005 - "UserIP": "74.201.38.1",
11006 - "SubscriptionType": "n",
11007 - "ProductId": 18,
11008 - "Source": 34,
11009 - "ProductStatus": 2,
11010 - "MediaFilePath": "",
11011 - "Amount": ""
11012 - },
11013 - {
11014 - "Id": 626,
11015 - "UserId": 858,
11016 - "TermId": 18,
11017 - "TransactionDate": "2014-08-19",
11018 - "TransactionTime": "11:18:55",
11019 - "RequestDate": "2014-08-19",
11020 - "UserIP": "74.201.38.1",
11021 - "SubscriptionType": "n",
11022 - "ProductId": 18,
11023 - "Source": 34,
11024 - "ProductStatus": 2,
11025 - "MediaFilePath": "",
11026 - "Amount": ""
11027 - },
11028 - {
11029 - "Id": 634,
11030 - "UserId": 866,
11031 - "TermId": 18,
11032 - "TransactionDate": "2014-08-19",
11033 - "TransactionTime": "11:18:55",
11034 - "RequestDate": "2014-08-19",
11035 - "UserIP": "74.201.38.1",
11036 - "SubscriptionType": "n",
11037 - "ProductId": 18,
11038 - "Source": 34,
11039 - "ProductStatus": 2,
11040 - "MediaFilePath": "",
11041 - "Amount": ""
11042 - },
11043 - {
11044 - "Id": 642,
11045 - "UserId": 874,
11046 - "TermId": 18,
11047 - "TransactionDate": "2014-08-19",
11048 - "TransactionTime": "11:18:55",
11049 - "RequestDate": "2014-08-19",
11050 - "UserIP": "74.201.38.1",
11051 - "SubscriptionType": "n",
11052 - "ProductId": 18,
11053 - "Source": 34,
11054 - "ProductStatus": 2,
11055 - "MediaFilePath": "",
11056 - "Amount": ""
11057 - },
11058 - {
11059 - "Id": 650,
11060 - "UserId": 882,
11061 - "TermId": 18,
11062 - "TransactionDate": "2014-08-19",
11063 - "TransactionTime": "11:18:55",
11064 - "RequestDate": "2014-08-19",
11065 - "UserIP": "74.201.38.1",
11066 - "SubscriptionType": "n",
11067 - "ProductId": 18,
11068 - "Source": 34,
11069 - "ProductStatus": 2,
11070 - "MediaFilePath": "",
11071 - "Amount": ""
11072 - },
11073 - {
11074 - "Id": 658,
11075 - "UserId": 890,
11076 - "TermId": 18,
11077 - "TransactionDate": "2014-08-19",
11078 - "TransactionTime": "11:18:55",
11079 - "RequestDate": "2014-08-19",
11080 - "UserIP": "74.201.38.1",
11081 - "SubscriptionType": "n",
11082 - "ProductId": 18,
11083 - "Source": 34,
11084 - "ProductStatus": 2,
11085 - "MediaFilePath": "",
11086 - "Amount": ""
11087 - },
11088 - {
11089 - "Id": 666,
11090 - "UserId": 898,
11091 - "TermId": 18,
11092 - "TransactionDate": "2014-08-19",
11093 - "TransactionTime": "11:18:55",
11094 - "RequestDate": "2014-08-19",
11095 - "UserIP": "74.201.38.1",
11096 - "SubscriptionType": "n",
11097 - "ProductId": 18,
11098 - "Source": 34,
11099 - "ProductStatus": 2,
11100 - "MediaFilePath": "",
11101 - "Amount": ""
11102 - },
11103 - {
11104 - "Id": 674,
11105 - "UserId": 906,
11106 - "TermId": 18,
11107 - "TransactionDate": "2014-08-19",
11108 - "TransactionTime": "11:18:55",
11109 - "RequestDate": "2014-08-19",
11110 - "UserIP": "74.201.38.1",
11111 - "SubscriptionType": "n",
11112 - "ProductId": 18,
11113 - "Source": 34,
11114 - "ProductStatus": 2,
11115 - "MediaFilePath": "",
11116 - "Amount": ""
11117 - },
11118 - {
11119 - "Id": 682,
11120 - "UserId": 914,
11121 - "TermId": 18,
11122 - "TransactionDate": "2014-08-19",
11123 - "TransactionTime": "11:18:55",
11124 - "RequestDate": "2014-08-19",
11125 - "UserIP": "74.201.38.1",
11126 - "SubscriptionType": "n",
11127 - "ProductId": 18,
11128 - "Source": 34,
11129 - "ProductStatus": 2,
11130 - "MediaFilePath": "",
11131 - "Amount": ""
11132 - },
11133 - {
11134 - "Id": 690,
11135 - "UserId": 922,
11136 - "TermId": 18,
11137 - "TransactionDate": "2014-08-19",
11138 - "TransactionTime": "11:18:55",
11139 - "RequestDate": "2014-08-19",
11140 - "UserIP": "74.201.38.1",
11141 - "SubscriptionType": "n",
11142 - "ProductId": 18,
11143 - "Source": 34,
11144 - "ProductStatus": 2,
11145 - "MediaFilePath": "",
11146 - "Amount": ""
11147 - },
11148 - {
11149 - "Id": 698,
11150 - "UserId": 930,
11151 - "TermId": 18,
11152 - "TransactionDate": "2014-08-19",
11153 - "TransactionTime": "11:18:55",
11154 - "RequestDate": "2014-08-19",
11155 - "UserIP": "74.201.38.1",
11156 - "SubscriptionType": "n",
11157 - "ProductId": 18,
11158 - "Source": 34,
11159 - "ProductStatus": 2,
11160 - "MediaFilePath": "",
11161 - "Amount": ""
11162 - },
11163 - {
11164 - "Id": 706,
11165 - "UserId": 938,
11166 - "TermId": 18,
11167 - "TransactionDate": "2014-08-19",
11168 - "TransactionTime": "11:18:55",
11169 - "RequestDate": "2014-08-19",
11170 - "UserIP": "74.201.38.1",
11171 - "SubscriptionType": "n",
11172 - "ProductId": 18,
11173 - "Source": 34,
11174 - "ProductStatus": 2,
11175 - "MediaFilePath": "",
11176 - "Amount": ""
11177 - },
11178 - {
11179 - "Id": 714,
11180 - "UserId": 946,
11181 - "TermId": 18,
11182 - "TransactionDate": "2014-08-19",
11183 - "TransactionTime": "11:18:55",
11184 - "RequestDate": "2014-08-19",
11185 - "UserIP": "74.201.38.1",
11186 - "SubscriptionType": "n",
11187 - "ProductId": 18,
11188 - "Source": 34,
11189 - "ProductStatus": 2,
11190 - "MediaFilePath": "",
11191 - "Amount": ""
11192 - },
11193 - {
11194 - "Id": 722,
11195 - "UserId": 954,
11196 - "TermId": 18,
11197 - "TransactionDate": "2014-08-19",
11198 - "TransactionTime": "11:18:55",
11199 - "RequestDate": "2014-08-19",
11200 - "UserIP": "74.201.38.1",
11201 - "SubscriptionType": "n",
11202 - "ProductId": 18,
11203 - "Source": 34,
11204 - "ProductStatus": 2,
11205 - "MediaFilePath": "",
11206 - "Amount": ""
11207 - },
11208 - {
11209 - "Id": 730,
11210 - "UserId": 962,
11211 - "TermId": 18,
11212 - "TransactionDate": "2014-08-19",
11213 - "TransactionTime": "11:18:55",
11214 - "RequestDate": "2014-08-19",
11215 - "UserIP": "74.201.38.1",
11216 - "SubscriptionType": "n",
11217 - "ProductId": 18,
11218 - "Source": 34,
11219 - "ProductStatus": 2,
11220 - "MediaFilePath": "",
11221 - "Amount": ""
11222 - },
11223 - {
11224 - "Id": 738,
11225 - "UserId": 970,
11226 - "TermId": 18,
11227 - "TransactionDate": "2014-08-19",
11228 - "TransactionTime": "11:18:55",
11229 - "RequestDate": "2014-08-19",
11230 - "UserIP": "74.201.38.1",
11231 - "SubscriptionType": "n",
11232 - "ProductId": 18,
11233 - "Source": 34,
11234 - "ProductStatus": 2,
11235 - "MediaFilePath": "",
11236 - "Amount": ""
11237 - },
11238 - {
11239 - "Id": 746,
11240 - "UserId": 978,
11241 - "TermId": 18,
11242 - "TransactionDate": "2014-08-19",
11243 - "TransactionTime": "11:18:55",
11244 - "RequestDate": "2014-08-19",
11245 - "UserIP": "74.201.38.1",
11246 - "SubscriptionType": "n",
11247 - "ProductId": 18,
11248 - "Source": 34,
11249 - "ProductStatus": 2,
11250 - "MediaFilePath": "",
11251 - "Amount": ""
11252 - },
11253 - {
11254 - "Id": 754,
11255 - "UserId": 986,
11256 - "TermId": 18,
11257 - "TransactionDate": "2014-08-19",
11258 - "TransactionTime": "11:18:55",
11259 - "RequestDate": "2014-08-19",
11260 - "UserIP": "74.201.38.1",
11261 - "SubscriptionType": "n",
11262 - "ProductId": 18,
11263 - "Source": 34,
11264 - "ProductStatus": 2,
11265 - "MediaFilePath": "",
11266 - "Amount": ""
11267 - },
11268 - {
11269 - "Id": 762,
11270 - "UserId": 994,
11271 - "TermId": 18,
11272 - "TransactionDate": "2014-08-19",
11273 - "TransactionTime": "11:18:55",
11274 - "RequestDate": "2014-08-19",
11275 - "UserIP": "74.201.38.1",
11276 - "SubscriptionType": "n",
11277 - "ProductId": 18,
11278 - "Source": 34,
11279 - "ProductStatus": 2,
11280 - "MediaFilePath": "",
11281 - "Amount": ""
11282 - },
11283 - {
11284 - "Id": 770,
11285 - "UserId": 1002,
11286 - "TermId": 18,
11287 - "TransactionDate": "2014-08-19",
11288 - "TransactionTime": "11:18:55",
11289 - "RequestDate": "2014-08-19",
11290 - "UserIP": "74.201.38.1",
11291 - "SubscriptionType": "n",
11292 - "ProductId": 18,
11293 - "Source": 34,
11294 - "ProductStatus": 2,
11295 - "MediaFilePath": "",
11296 - "Amount": ""
11297 - },
11298 - {
11299 - "Id": 778,
11300 - "UserId": 1010,
11301 - "TermId": 18,
11302 - "TransactionDate": "2014-08-19",
11303 - "TransactionTime": "11:18:55",
11304 - "RequestDate": "2014-08-19",
11305 - "UserIP": "74.201.38.1",
11306 - "SubscriptionType": "n",
11307 - "ProductId": 18,
11308 - "Source": 34,
11309 - "ProductStatus": 2,
11310 - "MediaFilePath": "",
11311 - "Amount": ""
11312 - },
11313 - {
11314 - "Id": 786,
11315 - "UserId": 1018,
11316 - "TermId": 18,
11317 - "TransactionDate": "2014-08-19",
11318 - "TransactionTime": "11:18:55",
11319 - "RequestDate": "2014-08-19",
11320 - "UserIP": "74.201.38.1",
11321 - "SubscriptionType": "n",
11322 - "ProductId": 18,
11323 - "Source": 34,
11324 - "ProductStatus": 2,
11325 - "MediaFilePath": "",
11326 - "Amount": ""
11327 - },
11328 - {
11329 - "Id": 794,
11330 - "UserId": 1026,
11331 - "TermId": 18,
11332 - "TransactionDate": "2014-08-19",
11333 - "TransactionTime": "11:18:55",
11334 - "RequestDate": "2014-08-19",
11335 - "UserIP": "74.201.38.1",
11336 - "SubscriptionType": "n",
11337 - "ProductId": 18,
11338 - "Source": 34,
11339 - "ProductStatus": 2,
11340 - "MediaFilePath": "",
11341 - "Amount": ""
11342 - },
11343 - {
11344 - "Id": 802,
11345 - "UserId": 1034,
11346 - "TermId": 18,
11347 - "TransactionDate": "2014-08-19",
11348 - "TransactionTime": "11:18:55",
11349 - "RequestDate": "2014-08-19",
11350 - "UserIP": "74.201.38.1",
11351 - "SubscriptionType": "n",
11352 - "ProductId": 18,
11353 - "Source": 34,
11354 - "ProductStatus": 2,
11355 - "MediaFilePath": "",
11356 - "Amount": ""
11357 - },
11358 - {
11359 - "Id": 810,
11360 - "UserId": 1042,
11361 - "TermId": 18,
11362 - "TransactionDate": "2014-08-19",
11363 - "TransactionTime": "11:18:55",
11364 - "RequestDate": "2014-08-19",
11365 - "UserIP": "74.201.38.1",
11366 - "SubscriptionType": "n",
11367 - "ProductId": 18,
11368 - "Source": 34,
11369 - "ProductStatus": 2,
11370 - "MediaFilePath": "",
11371 - "Amount": ""
11372 - },
11373 - {
11374 - "Id": 818,
11375 - "UserId": 1050,
11376 - "TermId": 18,
11377 - "TransactionDate": "2014-08-19",
11378 - "TransactionTime": "11:18:55",
11379 - "RequestDate": "2014-08-19",
11380 - "UserIP": "74.201.38.1",
11381 - "SubscriptionType": "n",
11382 - "ProductId": 18,
11383 - "Source": 34,
11384 - "ProductStatus": 2,
11385 - "MediaFilePath": "",
11386 - "Amount": ""
11387 - },
11388 - {
11389 - "Id": 826,
11390 - "UserId": 1058,
11391 - "TermId": 18,
11392 - "TransactionDate": "2014-08-19",
11393 - "TransactionTime": "11:18:55",
11394 - "RequestDate": "2014-08-19",
11395 - "UserIP": "74.201.38.1",
11396 - "SubscriptionType": "n",
11397 - "ProductId": 18,
11398 - "Source": 34,
11399 - "ProductStatus": 2,
11400 - "MediaFilePath": "",
11401 - "Amount": ""
11402 - },
11403 - {
11404 - "Id": 834,
11405 - "UserId": 1066,
11406 - "TermId": 18,
11407 - "TransactionDate": "2014-08-19",
11408 - "TransactionTime": "11:18:55",
11409 - "RequestDate": "2014-08-19",
11410 - "UserIP": "74.201.38.1",
11411 - "SubscriptionType": "n",
11412 - "ProductId": 18,
11413 - "Source": 34,
11414 - "ProductStatus": 2,
11415 - "MediaFilePath": "",
11416 - "Amount": ""
11417 - },
11418 - {
11419 - "Id": 842,
11420 - "UserId": 1074,
11421 - "TermId": 18,
11422 - "TransactionDate": "2014-08-19",
11423 - "TransactionTime": "11:18:55",
11424 - "RequestDate": "2014-08-19",
11425 - "UserIP": "74.201.38.1",
11426 - "SubscriptionType": "n",
11427 - "ProductId": 18,
11428 - "Source": 34,
11429 - "ProductStatus": 2,
11430 - "MediaFilePath": "",
11431 - "Amount": ""
11432 - },
11433 - {
11434 - "Id": 850,
11435 - "UserId": 1082,
11436 - "TermId": 18,
11437 - "TransactionDate": "2014-08-19",
11438 - "TransactionTime": "11:18:55",
11439 - "RequestDate": "2014-08-19",
11440 - "UserIP": "74.201.38.1",
11441 - "SubscriptionType": "n",
11442 - "ProductId": 18,
11443 - "Source": 34,
11444 - "ProductStatus": 2,
11445 - "MediaFilePath": "",
11446 - "Amount": ""
11447 - },
11448 - {
11449 - "Id": 858,
11450 - "UserId": 1090,
11451 - "TermId": 18,
11452 - "TransactionDate": "2014-08-19",
11453 - "TransactionTime": "11:18:55",
11454 - "RequestDate": "2014-08-19",
11455 - "UserIP": "74.201.38.1",
11456 - "SubscriptionType": "n",
11457 - "ProductId": 18,
11458 - "Source": 34,
11459 - "ProductStatus": 2,
11460 - "MediaFilePath": "",
11461 - "Amount": ""
11462 - },
11463 - {
11464 - "Id": 866,
11465 - "UserId": 1098,
11466 - "TermId": 18,
11467 - "TransactionDate": "2014-08-19",
11468 - "TransactionTime": "11:18:55",
11469 - "RequestDate": "2014-08-19",
11470 - "UserIP": "74.201.38.1",
11471 - "SubscriptionType": "n",
11472 - "ProductId": 18,
11473 - "Source": 34,
11474 - "ProductStatus": 2,
11475 - "MediaFilePath": "",
11476 - "Amount": ""
11477 - },
11478 - {
11479 - "Id": 874,
11480 - "UserId": 1106,
11481 - "TermId": 18,
11482 - "TransactionDate": "2014-08-19",
11483 - "TransactionTime": "11:18:55",
11484 - "RequestDate": "2014-08-19",
11485 - "UserIP": "74.201.38.1",
11486 - "SubscriptionType": "n",
11487 - "ProductId": 18,
11488 - "Source": 34,
11489 - "ProductStatus": 2,
11490 - "MediaFilePath": "",
11491 - "Amount": ""
11492 - },
11493 - {
11494 - "Id": 882,
11495 - "UserId": 1114,
11496 - "TermId": 18,
11497 - "TransactionDate": "2014-08-19",
11498 - "TransactionTime": "11:18:55",
11499 - "RequestDate": "2014-08-19",
11500 - "UserIP": "74.201.38.1",
11501 - "SubscriptionType": "n",
11502 - "ProductId": 18,
11503 - "Source": 34,
11504 - "ProductStatus": 2,
11505 - "MediaFilePath": "",
11506 - "Amount": ""
11507 - },
11508 - {
11509 - "Id": 890,
11510 - "UserId": 1122,
11511 - "TermId": 18,
11512 - "TransactionDate": "2014-08-19",
11513 - "TransactionTime": "11:18:55",
11514 - "RequestDate": "2014-08-19",
11515 - "UserIP": "74.201.38.1",
11516 - "SubscriptionType": "n",
11517 - "ProductId": 18,
11518 - "Source": 34,
11519 - "ProductStatus": 2,
11520 - "MediaFilePath": "",
11521 - "Amount": ""
11522 - },
11523 - {
11524 - "Id": 898,
11525 - "UserId": 1130,
11526 - "TermId": 18,
11527 - "TransactionDate": "2014-08-19",
11528 - "TransactionTime": "11:18:55",
11529 - "RequestDate": "2014-08-19",
11530 - "UserIP": "74.201.38.1",
11531 - "SubscriptionType": "n",
11532 - "ProductId": 18,
11533 - "Source": 34,
11534 - "ProductStatus": 2,
11535 - "MediaFilePath": "",
11536 - "Amount": ""
11537 - },
11538 - {
11539 - "Id": 906,
11540 - "UserId": 1138,
11541 - "TermId": 18,
11542 - "TransactionDate": "2014-08-19",
11543 - "TransactionTime": "11:18:55",
11544 - "RequestDate": "2014-08-19",
11545 - "UserIP": "74.201.38.1",
11546 - "SubscriptionType": "n",
11547 - "ProductId": 18,
11548 - "Source": 34,
11549 - "ProductStatus": 2,
11550 - "MediaFilePath": "",
11551 - "Amount": ""
11552 - },
11553 - {
11554 - "Id": 914,
11555 - "UserId": 1146,
11556 - "TermId": 18,
11557 - "TransactionDate": "2014-08-19",
11558 - "TransactionTime": "11:18:55",
11559 - "RequestDate": "2014-08-19",
11560 - "UserIP": "74.201.38.1",
11561 - "SubscriptionType": "n",
11562 - "ProductId": 18,
11563 - "Source": 34,
11564 - "ProductStatus": 2,
11565 - "MediaFilePath": "",
11566 - "Amount": ""
11567 - },
11568 - {
11569 - "Id": 922,
11570 - "UserId": 1154,
11571 - "TermId": 18,
11572 - "TransactionDate": "2014-08-19",
11573 - "TransactionTime": "11:18:55",
11574 - "RequestDate": "2014-08-19",
11575 - "UserIP": "74.201.38.1",
11576 - "SubscriptionType": "n",
11577 - "ProductId": 18,
11578 - "Source": 34,
11579 - "ProductStatus": 2,
11580 - "MediaFilePath": "",
11581 - "Amount": ""
11582 - },
11583 - {
11584 - "Id": 930,
11585 - "UserId": 1162,
11586 - "TermId": 18,
11587 - "TransactionDate": "2014-08-19",
11588 - "TransactionTime": "11:18:55",
11589 - "RequestDate": "2014-08-19",
11590 - "UserIP": "74.201.38.1",
11591 - "SubscriptionType": "n",
11592 - "ProductId": 18,
11593 - "Source": 34,
11594 - "ProductStatus": 2,
11595 - "MediaFilePath": "",
11596 - "Amount": ""
11597 - },
11598 - {
11599 - "Id": 938,
11600 - "UserId": 1170,
11601 - "TermId": 18,
11602 - "TransactionDate": "2014-08-19",
11603 - "TransactionTime": "11:18:55",
11604 - "RequestDate": "2014-08-19",
11605 - "UserIP": "74.201.38.1",
11606 - "SubscriptionType": "n",
11607 - "ProductId": 18,
11608 - "Source": 34,
11609 - "ProductStatus": 2,
11610 - "MediaFilePath": "",
11611 - "Amount": ""
11612 - },
11613 - {
11614 - "Id": 946,
11615 - "UserId": 1178,
11616 - "TermId": 18,
11617 - "TransactionDate": "2014-08-19",
11618 - "TransactionTime": "11:18:55",
11619 - "RequestDate": "2014-08-19",
11620 - "UserIP": "74.201.38.1",
11621 - "SubscriptionType": "n",
11622 - "ProductId": 18,
11623 - "Source": 34,
11624 - "ProductStatus": 2,
11625 - "MediaFilePath": "",
11626 - "Amount": ""
11627 - },
11628 - {
11629 - "Id": 954,
11630 - "UserId": 1186,
11631 - "TermId": 18,
11632 - "TransactionDate": "2014-08-19",
11633 - "TransactionTime": "11:18:55",
11634 - "RequestDate": "2014-08-19",
11635 - "UserIP": "74.201.38.1",
11636 - "SubscriptionType": "n",
11637 - "ProductId": 18,
11638 - "Source": 34,
11639 - "ProductStatus": 2,
11640 - "MediaFilePath": "",
11641 - "Amount": ""
11642 - },
11643 - {
11644 - "Id": 962,
11645 - "UserId": 1194,
11646 - "TermId": 18,
11647 - "TransactionDate": "2014-08-19",
11648 - "TransactionTime": "11:18:55",
11649 - "RequestDate": "2014-08-19",
11650 - "UserIP": "74.201.38.1",
11651 - "SubscriptionType": "n",
11652 - "ProductId": 18,
11653 - "Source": 34,
11654 - "ProductStatus": 2,
11655 - "MediaFilePath": "",
11656 - "Amount": ""
11657 - },
11658 - {
11659 - "Id": 970,
11660 - "UserId": 1202,
11661 - "TermId": 18,
11662 - "TransactionDate": "2014-08-19",
11663 - "TransactionTime": "11:18:55",
11664 - "RequestDate": "2014-08-19",
11665 - "UserIP": "74.201.38.1",
11666 - "SubscriptionType": "n",
11667 - "ProductId": 18,
11668 - "Source": 34,
11669 - "ProductStatus": 2,
11670 - "MediaFilePath": "",
11671 - "Amount": ""
11672 - },
11673 - {
11674 - "Id": 978,
11675 - "UserId": 1210,
11676 - "TermId": 18,
11677 - "TransactionDate": "2014-08-19",
11678 - "TransactionTime": "11:18:55",
11679 - "RequestDate": "2014-08-19",
11680 - "UserIP": "74.201.38.1",
11681 - "SubscriptionType": "n",
11682 - "ProductId": 18,
11683 - "Source": 34,
11684 - "ProductStatus": 2,
11685 - "MediaFilePath": "",
11686 - "Amount": ""
11687 - },
11688 - {
11689 - "Id": 986,
11690 - "UserId": 1218,
11691 - "TermId": 18,
11692 - "TransactionDate": "2014-08-19",
11693 - "TransactionTime": "11:18:55",
11694 - "RequestDate": "2014-08-19",
11695 - "UserIP": "74.201.38.1",
11696 - "SubscriptionType": "n",
11697 - "ProductId": 18,
11698 - "Source": 34,
11699 - "ProductStatus": 2,
11700 - "MediaFilePath": "",
11701 - "Amount": ""
11702 - },
11703 - {
11704 - "Id": 994,
11705 - "UserId": 1226,
11706 - "TermId": 18,
11707 - "TransactionDate": "2014-08-19",
11708 - "TransactionTime": "11:18:55",
11709 - "RequestDate": "2014-08-19",
11710 - "UserIP": "74.201.38.1",
11711 - "SubscriptionType": "n",
11712 - "ProductId": 18,
11713 - "Source": 34,
11714 - "ProductStatus": 2,
11715 - "MediaFilePath": "",
11716 - "Amount": ""
11717 - },
11718 - {
11719 - "Id": 1002,
11720 - "UserId": 1234,
11721 - "TermId": 18,
11722 - "TransactionDate": "2014-08-19",
11723 - "TransactionTime": "11:18:55",
11724 - "RequestDate": "2014-08-19",
11725 - "UserIP": "74.201.38.1",
11726 - "SubscriptionType": "n",
11727 - "ProductId": 18,
11728 - "Source": 34,
11729 - "ProductStatus": 2,
11730 - "MediaFilePath": "",
11731 - "Amount": ""
11732 - }
11733 - ]
11734 -}
11735 -{{/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.
11736 11736  
11737 -\\
3356 +(% class="western" %)
3357 +Params:
11738 11738  
11739 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
11740 -== (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)specific Transaction(%%) ==
3359 +(% class="western" %)
3360 +UserId: Id of the user whose transaction is to be looked up (Int)
11741 11741  
11742 -----
3362 +(% class="western" %)
3363 +StartDate: Date from which the start should happen. Only valid when UserId is set. (Date)
11743 11743  
11744 -{{panel bgColor="#D3D3D3" width="100%"}}
11745 - (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/transactions/~{~{Transaction id}}
11746 -{{/panel}}
3365 +(% class="western" %)
3366 +EndDate: When the search should end. Only valid when UserId is set. (Date)
3367 +)))
11747 11747  
11748 -=== (% 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 +)))
11749 11749  
11750 -----
11751 -
11752 -(% 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}}
11753 -
11754 -==== Example ====
11755 -
11756 -----
11757 -
11758 -(% style="color: rgb(107,107,107);" %)Request
11759 -
11760 -{{code language="php" theme="RDark" title="Get specific Transaction Request" collapse="true"}}
11761 - <?php
11762 -
11763 -$curl = curl_init();
11764 -
11765 -curl_setopt_array($curl, array(
11766 - CURLOPT_URL => 'rayaan.onecount.net/api/v2/transactions/{{Transaction id}}',
11767 - CURLOPT_RETURNTRANSFER => true,
11768 - CURLOPT_ENCODING => '',
11769 - CURLOPT_MAXREDIRS => 10,
11770 - CURLOPT_TIMEOUT => 0,
11771 - CURLOPT_FOLLOWLOCATION => true,
11772 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
11773 - CURLOPT_CUSTOMREQUEST => 'GET',
11774 - CURLOPT_HTTPHEADER => array(
11775 - 'Appkey: {{ONECOUNT API KEY}}'
11776 - ),
11777 -));
11778 -
11779 -$response = curl_exec($curl);
11780 -
11781 -curl_close($curl);
11782 -echo $response;
11783 -{{/code}}
11784 -
11785 11785  \\
11786 11786  
11787 -(% style="color: rgb(107,107,107);" %)Response  200 OK
3398 +**Sample response for /(% style="color: rgb(80,80,80);" %)transactions/lookup?UserId=25255105:(%%)**
11788 11788  
11789 -{{code language="yml" theme="RDark" title="Get specific Transaction Response" collapse="true"}}
11790 - {
11791 - "result": {
11792 - "success": "1",
11793 - "error": {
11794 - "code": "",
11795 - "message": ""
11796 - }
11797 - },
11798 - "Transactions": [
11799 - {
11800 - "Id": 1002,
11801 - "UserId": 1234,
11802 - "TermId": 18,
11803 - "TransactionDate": "2014-08-19",
11804 - "TransactionTime": "11:18:55",
11805 - "RequestDate": "2014-08-19",
11806 - "UserIP": "74.201.38.1",
11807 - "SubscriptionType": "n",
11808 - "ProductId": 18,
11809 - "Source": 34,
11810 - "ProductStatus": 2,
11811 - "MediaFilePath": "",
11812 - "Amount": ""
11813 - }
11814 - ]
11815 -}
11816 -{{/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 +)))
11817 11817  
11818 11818  \\
11819 11819  
11820 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
11821 -== (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)lookup Transaction(%%) ==
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.
11822 11822  
11823 -----
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 +)))
11824 11824  
11825 -{{panel bgColor="#D3D3D3" width="100%"}}
11826 -(% class="nolink" %)[[https:~~/~~/api.onecount.net/v2/users>>url:https://api.onecount.net/v2/users||shape="rect"]](% style="color: rgb(33,33,33);" %)/lookup?2=user_242_6298&return=1,2,3,4
11827 -{{/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 +)))
11828 11828  
11829 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
11830 -
11831 -----
11832 -
11833 -(% 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}}
11834 -
11835 -=== (% style="color: rgb(33,33,33);" %)Query Params(%%) ===
11836 -
11837 -----
11838 -
11839 -(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)2  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)user_242_6298(%%)
11840 -(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)return  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)1,2,3,4
11841 -
11842 -==== Example ====
11843 -
11844 -----
11845 -
11846 -(% style="color: rgb(107,107,107);" %)Request
11847 -
11848 -{{code language="php" theme="RDark" title="Lookup user Request" collapse="true"/}}
11849 -
11850 11850  \\
11851 11851  
11852 -(% style="color: rgb(107,107,107);" %)Response  200 OK
11853 -
11854 -{{code language="yml" theme="RDark" title="Lookup user Response" collapse="true"/}}
11855 -
11856 11856  \\
11857 11857  
11858 -\\
3471 +(% class="western" %)
3472 +**COMPONENT: Leads
3473 +**
11859 11859  
11860 -\\
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.
11861 11861  
3478 +(% class="western" %)
11862 11862  \\
11863 11863  
3481 +(% class="western" %)
11864 11864  \\
11865 11865  
3484 +(% class="western" %)
11866 11866  \\
11867 11867  
3487 +(% class="western" %)
11868 11868  \\
11869 11869  
3490 +(% class="western" %)
11870 11870  \\
11871 11871  
11872 -\\
11873 -
11874 -\\
11875 -
11876 -\\
11877 -
11878 -\\
11879 -
11880 -\\
11881 -
11882 -\\
11883 -
11884 -\\
11885 -
11886 -\\
11887 -
11888 -\\
11889 -
11890 -\\
11891 -
11892 -\\
11893 -
11894 -\\
11895 -
11896 -\\
11897 -
11898 -\\
11899 -
11900 -\\
11901 -
11902 -\\
11903 -
11904 11904  (% class="western" %)
11905 -**COMPONENT: Leads
11906 -**
11907 -
11908 -(% class="western" %)
11909 -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.
11910 -
11911 -(% class="western" %)
11912 11912  **Telemarketing Leads
11913 11913  **
11914 11914  
... ... @@ -11916,7 +11916,6 @@
11916 11916  
11917 11917  This resource is for manipulating telemarketing stat resource. A telemarketing stat can be created or listed.
11918 11918  
11919 -(% class="wrapped" %)
11920 11920  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
11921 11921  (((
11922 11922  (% class="western" %)
... ... @@ -11975,7 +11975,6 @@
11975 11975  (% class="western" %)
11976 11976  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.
11977 11977  
11978 -(% class="wrapped" %)
11979 11979  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
11980 11980  (((
11981 11981  (% class="western" %)
... ... @@ -12030,7 +12030,7 @@
12030 12030  "ResourceId":"250",
12031 12031  
12032 12032  (% class="western" %)
12033 -"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"]]",
12034 12034  
12035 12035  (% class="western" %)
12036 12036  "PageTitle":"tests"
... ... @@ -12058,7 +12058,6 @@
12058 12058  \\
12059 12059  )))
12060 12060  
12061 -(% class="wrapped" %)
12062 12062  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12063 12063  (((
12064 12064  (% class="western" %)
... ... @@ -12102,7 +12102,6 @@
12102 12102  (% class="western" %)
12103 12103  **Type: Questions**
12104 12104  
12105 -(% class="wrapped" %)
12106 12106  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12107 12107  (((
12108 12108  (% class="western" %)
... ... @@ -12198,7 +12198,6 @@
12198 12198  (% class="western" %)
12199 12199  **Type: Choices**
12200 12200  
12201 -(% class="wrapped" %)
12202 12202  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12203 12203  (((
12204 12204  (% class="western" %)
... ... @@ -12283,7 +12283,6 @@
12283 12283  (% class="western" %)
12284 12284  **Type: Users**
12285 12285  
12286 -(% class="wrapped" %)
12287 12287  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12288 12288  (((
12289 12289  (% class="western" %)
... ... @@ -12355,7 +12355,6 @@
12355 12355  (% class="western" %)
12356 12356  **Type: Demo**
12357 12357  
12358 -(% class="wrapped" %)
12359 12359  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12360 12360  (((
12361 12361  (% class="western" %)
... ... @@ -12414,7 +12414,6 @@
12414 12414  (% class="western" %)
12415 12415  **Type: Transactions**
12416 12416  
12417 -(% class="wrapped" %)
12418 12418  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12419 12419  (((
12420 12420  (% class="western" %)
... ... @@ -12603,7 +12603,6 @@
12603 12603  (% class="western" %)
12604 12604  **Type: Sources**
12605 12605  
12606 -(% class="wrapped" %)
12607 12607  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12608 12608  (((
12609 12609  (% class="western" %)
... ... @@ -12676,7 +12676,6 @@
12676 12676  (% class="western" %)
12677 12677  **Type: Products**
12678 12678  
12679 -(% class="wrapped" %)
12680 12680  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12681 12681  (((
12682 12682  (% class="western" %)
... ... @@ -12748,7 +12748,6 @@
12748 12748  (% class="western" %)
12749 12749  **Type: Terms**
12750 12750  
12751 -(% class="wrapped" %)
12752 12752  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12753 12753  (((
12754 12754  (% class="western" %)
... ... @@ -12859,7 +12859,6 @@
12859 12859  (% class="western" %)
12860 12860  **Type: Resources**
12861 12861  
12862 -(% class="wrapped" %)
12863 12863  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12864 12864  (((
12865 12865  (% class="western" %)
... ... @@ -13004,7 +13004,6 @@
13004 13004  (% class="western" %)
13005 13005  **Type: Telemarketing**
13006 13006  
13007 -(% class="wrapped" %)
13008 13008  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13009 13009  (((
13010 13010  (% class="western" %)
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,1 @@
1 -108265481
1 +108265479
url
... ... @@ -1,1 +1,1 @@
1 -https://info.onecount.net//wiki/spaces/OD/pages/108265481/ONEcount API Documentation
1 +https://info.onecount.net//wiki/spaces/OD/pages/108265479/ONEcount API Documentation