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

From version 8.1
edited by rayaan@one-count_com
on 2024/01/10 14:39
Change comment: There is no comment for this version
To version 2.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
Parent
... ... @@ -1,1 +1,0 @@
1 -System Setup Detail and Technical Information
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
... ... @@ -59,11 +59,6 @@
59 59  11. Create Engagements
60 60  11. Update Engagements
61 61  11. Add users data to Engagement
62 -1. Segments\\
63 -11. Get all Segments
64 -11. Get specific segment by segment id
65 -11. Add users to segment
66 -11. Get all segment ids for a user
67 67  
68 68  \\
69 69  
... ... @@ -71,7 +71,7 @@
71 71  **Accessing API**
72 72  
73 73  (% class="western" %)
74 -**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"]]**
75 75  
76 76  (% class="western" %)
77 77  **Appkey**: THIS WILL BE PROVIDED TO YOU
... ... @@ -120,7 +120,7 @@
120 120  (% class="western" %)
121 121  API will output the response in a JSON format discussed below.
122 122  
123 -{{code language="yml" theme="RDark" title="Response"}}
119 +{{code language="yml" theme="RDark" title="Response" collapse="true"}}
124 124  {
125 125   "result": {
126 126   "success": "1",
... ... @@ -178,7 +178,6 @@
178 178  
179 179  \\
180 180  
181 -(% class="wrapped" %)
182 182  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
183 183  (((
184 184  (% class="western" %)
... ... @@ -225,7 +225,7 @@
225 225  )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
226 226  (((
227 227  (% class="western" %)
228 -/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
229 229  )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
230 230  (((
231 231  (% class="western" %)
... ... @@ -232,7 +232,7 @@
232 232  Lookup for user whose question id (1) is equal to supplied value. The users object returned will have value of questions 1 & 2. Here for example assumed to be firstname and last name.
233 233  
234 234  (% class="western" %)
235 -Return parameter defines a CSV of question id that are requested back in response.
230 +Return parameter defines a csv of question id that are requested back in response.
236 236  )))
237 237  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
238 238  (((
... ... @@ -299,19 +299,19 @@
299 299  Example:
300 300  
301 301  (% class="western" %)
302 -{"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"}
303 303  
304 304  (% class="western" %)
305 305  OR
306 306  
307 307  (% class="western" %)
308 -{"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"}
309 309  
310 310  (% class="western" %)
311 311  OR
312 312  
313 313  (% class="western" %)
314 -{"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"}
315 315  
316 316  (% class="western" %)
317 317  **OUTPUT** : Should get OCID of the user if it finds it otherwise get and error with msg user not found.
... ... @@ -322,16 +322,16 @@
322 322  
323 323  ----
324 324  
325 -----
320 +{{column width="100%"}}
321 + (% class="nolink" %)https:~/~/api.onecount.net/v2/users
322 +{{/column}}
326 326  
327 -{{panel bgColor="#D3D3D3" width="100%"}}
328 -(% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users
329 -{{/panel}}
330 -
324 +(% style="" %)
331 331  === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
332 332  
333 333  ----
334 334  
329 +(% style="" %)
335 335  (% 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}}
336 336  
337 337  ==== Example ====
... ... @@ -340,13 +340,13 @@
340 340  
341 341  (% style="color: rgb(107,107,107);" %)Request
342 342  
343 -{{code language="php" theme="RDark" title="Get All Users Request"}}
338 +{{code language="php" theme="RDark" title="Get All Users Request" collapse="true"}}
344 344  <?php
345 345  
346 346  $curl = curl_init();
347 347  
348 348  curl_setopt_array($curl, array(
349 - CURLOPT_URL => 'https://api.onecount.net/v2/users',
344 + CURLOPT_URL => 'rayaan.onecount.net/api/v2/users',
350 350   CURLOPT_RETURNTRANSFER => true,
351 351   CURLOPT_ENCODING => '',
352 352   CURLOPT_MAXREDIRS => 10,
... ... @@ -369,7 +369,7 @@
369 369  
370 370  \\
371 371  
372 -(% style="color: rgb(107,107,107);" %)Response  200 OK
367 +(% style="color: rgb(107,107,107);" %)Response  200 OK
373 373  
374 374  {{code language="yml" theme="RDark" title="Get All Users Response" collapse="true"}}
375 375  {
... ... @@ -864,14 +864,19 @@
864 864  
865 865  ----
866 866  
867 -{{panel bgColor="#D3D3D3" width="100%"}}
862 +{{column width="100%"}}
868 868   (% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users/(% style="color: rgb(33,33,33);" %)~{~{OCID}}
869 -{{/panel}}
864 +{{/column}}
870 870  
866 +(% style="" %)
867 +~{~{OCID}} is user id which is provided by ONEcount
868 +
869 +(% style="" %)
871 871  === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
872 872  
873 873  ----
874 874  
874 +(% style="" %)
875 875  (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
876 876  
877 877  ==== Example ====
... ... @@ -880,13 +880,13 @@
880 880  
881 881  (% style="color: rgb(107,107,107);" %)Request
882 882  
883 -{{code language="php" theme="RDark" title="Get specific User Request"}}
883 +{{code language="php" theme="RDark" title="Get specific User Request" collapse="true"}}
884 884  <?php
885 885  
886 886  $curl = curl_init();
887 887  
888 888  curl_setopt_array($curl, array(
889 - CURLOPT_URL => 'https://api.onecount.net/v2/users/{{OCID}}',
889 + CURLOPT_URL => 'rayaan.onecount.net/api/v2/users/8418',
890 890   CURLOPT_RETURNTRANSFER => true,
891 891   CURLOPT_ENCODING => '',
892 892   CURLOPT_MAXREDIRS => 10,
... ... @@ -907,7 +907,7 @@
907 907  
908 908  \\
909 909  
910 -(% style="color: rgb(107,107,107);" %)Response  200 OK
910 +(% style="color: rgb(107,107,107);" %)Response  200 OK
911 911  
912 912  {{code language="yml" theme="RDark" title="Get specific user Response" collapse="true"}}
913 913  {
... ... @@ -964,14 +964,19 @@
964 964  
965 965  ----
966 966  
967 -{{panel bgColor="#D3D3D3" width="100%"}}
968 - (% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users(% class="nolink" style="color: rgb(33,33,33);" %)/login
969 -{{/panel}}
967 +{{column width="100%"}}
968 + (% class="nolink" %)https:~/~/api.onecount.net/v2/users(% style="color: rgb(33,33,33);" %)/login
969 +{{/column}}
970 970  
971 +(% style="" %)
972 +\\
973 +
974 +(% style="" %)
971 971  === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
972 972  
973 973  ----
974 974  
979 +(% style="" %)
975 975  (% 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}}
976 976  
977 977  === (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
... ... @@ -978,7 +978,7 @@
978 978  
979 979  ----
980 980  
981 -{{code language="yml" theme="RDark" title="Body"}}
986 +{{code language="yml" theme="RDark" title="Body" collapse="true"}}
982 982  {"e":"rayaan@one-count.com","p":"12345"}
983 983  {{/code}}
984 984  
... ... @@ -988,13 +988,13 @@
988 988  
989 989  (% style="color: rgb(107,107,107);" %)Request
990 990  
991 -{{code language="php" theme="RDark" title="User login Request"}}
996 +{{code language="php" theme="RDark" title="User login Request" collapse="true"}}
992 992  <?php
993 993  
994 994  $curl = curl_init();
995 995  
996 996  curl_setopt_array($curl, array(
997 - CURLOPT_URL => 'https://api.onecount.net/v2/users/login',
1002 + CURLOPT_URL => 'rayaan.onecount.net/api/v2/users/login',
998 998   CURLOPT_RETURNTRANSFER => true,
999 999   CURLOPT_ENCODING => '',
1000 1000   CURLOPT_MAXREDIRS => 10,
... ... @@ -1016,7 +1016,7 @@
1016 1016  
1017 1017  \\
1018 1018  
1019 -(% style="color: rgb(107,107,107);" %)Response  200 OK
1024 +(% style="color: rgb(107,107,107);" %)Response  200 OK
1020 1020  
1021 1021  {{code language="yml" theme="RDark" title="Login user Response" collapse="true"}}
1022 1022  {
... ... @@ -1040,14 +1040,19 @@
1040 1040  
1041 1041  ----
1042 1042  
1043 -{{panel bgColor="#D3D3D3" width="100%"}}
1044 -(% 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
1045 -{{/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}}
1046 1046  
1052 +(% style="" %)
1053 +\\
1054 +
1055 +(% style="" %)
1047 1047  === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
1048 1048  
1049 1049  ----
1050 1050  
1060 +(% style="" %)
1051 1051  (% 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}}
1052 1052  
1053 1053  === (% style="color: rgb(33,33,33);" %)Query Params(%%) ===
... ... @@ -1063,13 +1063,13 @@
1063 1063  
1064 1064  (% style="color: rgb(107,107,107);" %)Request
1065 1065  
1066 -{{code language="php" theme="RDark" title="Lookup user Request"}}
1076 +{{code language="php" theme="RDark" title="Lookup user Request" collapse="true"}}
1067 1067  <?php
1068 1068  
1069 1069  $curl = curl_init();
1070 1070  
1071 1071  curl_setopt_array($curl, array(
1072 - CURLOPT_URL => 'https://api.onecount.net/v2/users/lookup?2=user_242_6298&return=1,2,3,4',
1082 + CURLOPT_URL => 'rayaan.onecount.net/api/v2/users/lookup?2=user_242_6298&return=1%2C2%2C3%2C4',
1073 1073   CURLOPT_RETURNTRANSFER => true,
1074 1074   CURLOPT_ENCODING => '',
1075 1075   CURLOPT_MAXREDIRS => 10,
... ... @@ -1090,7 +1090,7 @@
1090 1090  
1091 1091  \\
1092 1092  
1093 -(% style="color: rgb(107,107,107);" %)Response  200 OK
1103 +(% style="color: rgb(107,107,107);" %)Response  200 OK
1094 1094  
1095 1095  {{code language="yml" theme="RDark" title="Lookup user Response" collapse="true"}}
1096 1096  {
... ... @@ -1122,14 +1122,19 @@
1122 1122  
1123 1123  ----
1124 1124  
1125 -{{panel bgColor="#D3D3D3" width="100%"}}
1126 -(% class="nolink nolink" %)https:~/~/api.onecount.net/v2(% class="nolink" style="color: rgb(33,33,33);" %)/users/~{~{OCID}}/partners/~{~{Partner id}}
1127 -{{/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}}
1128 1128  
1139 +(% style="" %)
1140 +\\
1141 +
1142 +(% style="" %)
1129 1129  === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
1130 1130  
1131 1131  ----
1132 1132  
1147 +(% style="" %)
1133 1133  (% 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}}
1134 1134  
1135 1135  (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
... ... @@ -1137,16 +1137,326 @@
1137 1137  
1138 1138  ----
1139 1139  
1140 -{{panel bgColor="#D3D3D3" width="100%"}}
1141 -(% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users
1142 -{{/panel}}
1155 +{{column width="100%"}}
1156 + (% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users
1157 +{{/column}}
1143 1143  
1159 +(% style="" %)
1144 1144  \\
1145 1145  
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 +
1146 1146  (% 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" %)
1147 1147  **POST method should be used to create users.**
1148 1148  
1149 -(% class="wrapped" %)
1150 1150  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1151 1151  (((
1152 1152  (% class="western" %)
... ... @@ -1213,7 +1213,6 @@
1213 1213  CSV of ONEcount QuestionId's requested back in Users object in response.
1214 1214  )))
1215 1215  
1216 -(% class="wrapped" %)
1217 1217  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1218 1218  (((
1219 1219  (% class="western" %)
... ... @@ -1241,89 +1241,11 @@
1241 1241  Created users returned with the demo field requested in return parameter in json format. If return was not specified only UserId will be returned.
1242 1242  )))
1243 1243  
1244 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
1245 -
1246 -----
1247 -
1248 -(% 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}}
1249 -
1250 -=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
1251 -
1252 -----
1253 -
1254 -{{code language="yml" theme="RDark" title="Body"}}
1255 -{"Users":{"PartnerId":1,"Demo":{"1":"testApirayaan7@onecount.net","4":"Rayaan","5":"Ahmed"}},"DedupeColumns":"1","Transactions":[]}
1256 -{{/code}}
1257 -
1258 -==== Example ====
1259 -
1260 -----
1261 -
1262 -(% style="color: rgb(107,107,107);" %)Request
1263 -
1264 -{{code language="php" theme="RDark" title="Create User Request"}}
1265 -<?php
1266 -
1267 -$curl = curl_init();
1268 -
1269 -curl_setopt_array($curl, array(
1270 - CURLOPT_URL => 'https://api.onecount.net/v2/users',
1271 - CURLOPT_RETURNTRANSFER => true,
1272 - CURLOPT_ENCODING => '',
1273 - CURLOPT_MAXREDIRS => 10,
1274 - CURLOPT_TIMEOUT => 0,
1275 - CURLOPT_FOLLOWLOCATION => true,
1276 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
1277 - CURLOPT_CUSTOMREQUEST => 'POST',
1278 - CURLOPT_POSTFIELDS =>'{"Users":{"PartnerId":1,"Demo":{"1":"testApirayaan6@onecount.net","4":"Rayaan","5":"Ahmed"}},"DedupeColumns":"1","Transactions":[]}',
1279 - CURLOPT_HTTPHEADER => array(
1280 - 'Appkey: {{ONECOUNT API KEY}}'
1281 - ),
1282 -));
1283 -
1284 -$response = curl_exec($curl);
1285 -
1286 -curl_close($curl);
1287 -echo $response;
1288 -{{/code}}
1289 -
1290 1290  \\
1291 1291  
1292 -(% style="color: rgb(107,107,107);" %)Response  200 OK
1293 -
1294 -{{code language="yml" theme="RDark" title="Create user Response" collapse="true"}}
1295 -{
1296 - "result": {
1297 - "success": "1",
1298 - "error": {
1299 - "code": "",
1300 - "message": ""
1301 - }
1302 - },
1303 - "Users": {
1304 - "Id": 1845831
1305 - }
1306 -}
1307 -{{/code}}
1308 -
1309 -\\
1310 -
1311 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
1312 -== (% 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(%%) ==
1313 -
1314 -----
1315 -
1316 -{{panel bgColor="#D3D3D3" width="100%"}}
1317 - (% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users/~{~{OCID(% class="nolink" %)}}
1318 -{{/panel}}
1319 -
1320 1320  (% class="western" %)
1321 -\\
1322 -
1323 -(% class="western" %)
1324 1324  **PUT method should be used to update users.**
1325 1325  
1326 -(% class="wrapped" %)
1327 1327  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1328 1328  (((
1329 1329  (% class="western" %)
... ... @@ -1348,7 +1348,7 @@
1348 1348  )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1349 1349  (((
1350 1350  (% class="western" %)
1351 -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.
1352 1352  )))
1353 1353  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1354 1354  (((
... ... @@ -1377,7 +1377,6 @@
1377 1377  RequestDate to use for the demo update. If not provided current date will be used.
1378 1378  )))
1379 1379  
1380 -(% class="wrapped" %)
1381 1381  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1382 1382  (((
1383 1383  (% class="western" %)
... ... @@ -1405,83 +1405,29 @@
1405 1405  Updated user returned with the demo field requested in return parameter in json format.
1406 1406  )))
1407 1407  
1408 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
1653 +(% class="western" %)
1654 +\\
1409 1409  
1410 -----
1656 +(% class="western" %)
1657 +\\
1411 1411  
1412 -(% 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.
1413 1413  
1414 -=== (% 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}}}
1415 1415  
1416 -----
1664 +(% class="western" %)
1665 +**~ **
1417 1417  
1418 -{{code language="yml" theme="RDark" title="Body"}}
1419 -{"Users":{"Demo":{"6":"title1"}}}
1420 -{{/code}}
1667 +(% class="western" %)
1668 +**~ **
1421 1421  
1422 -==== Example ====
1423 -
1424 -----
1425 -
1426 -(% style="color: rgb(107,107,107);" %)Request
1427 -
1428 -{{code language="php" theme="RDark" title="Update User Request"}}
1429 -<?php
1430 -
1431 -$curl = curl_init();
1432 -
1433 -curl_setopt_array($curl, array(
1434 - CURLOPT_URL => 'https://api.onecount.net/v2/users/{{OCID}}',
1435 - CURLOPT_RETURNTRANSFER => true,
1436 - CURLOPT_ENCODING => '',
1437 - CURLOPT_MAXREDIRS => 10,
1438 - CURLOPT_TIMEOUT => 0,
1439 - CURLOPT_FOLLOWLOCATION => true,
1440 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
1441 - CURLOPT_CUSTOMREQUEST => 'PUT',
1442 - CURLOPT_POSTFIELDS =>'{"Users":{"Demo":{"6":"title"}}}',
1443 - CURLOPT_HTTPHEADER => array(
1444 - 'Appkey: {{ONECOUNT API KEY}}'
1445 - ),
1446 -));
1447 -
1448 -$response = curl_exec($curl);
1449 -
1450 -curl_close($curl);
1451 -echo $response;
1452 -
1453 -
1454 -{{/code}}
1455 -
1456 1456  \\
1457 1457  
1458 -(% style="color: rgb(107,107,107);" %)Response  200 OK
1459 -
1460 -{{code language="yml" theme="RDark" title="Update user Response" collapse="true"}}
1461 -{
1462 - "result": {
1463 - "success": "1",
1464 - "error": {
1465 - "code": "",
1466 - "message": ""
1467 - }
1468 - },
1469 - "Users": [
1470 - {
1471 - "Id": 1845823,
1472 - "OCID_HASH": "fccaa8dc7afadccc5882528d47b27c2bb53e2788dd0ac1fe170abef77a9c4d5b"
1473 - }
1474 - ]
1475 -}
1476 -{{/code}}
1477 -
1478 1478  (% class="western" %)
1479 -\\
1673 +**COMPONENT: Questions**
1480 1480  
1481 1481  (% class="western" %)
1482 -=== **COMPONENT: Questions** ===
1483 -
1484 -(% class="western" %)
1485 1485  All data fields in ONEcount are made up of questions. Questions are configurable on a per-client basis, and no two customer installations will have the same question (ie., field) layout. Therefore, before querying or updating any ONEcount installation, you'll need to get an understanding of the question layout of the installation. This API segment will allow you to query ONEcount to determine the question layout for the installation. It will also allow you to create new questions within the system. This resource does not allow you to update the data for a specific user (see User section).
1486 1486  
1487 1487  (% class="western" %)
... ... @@ -1493,7 +1493,6 @@
1493 1493  (% class="western" %)
1494 1494  There can be 6 types of questions:
1495 1495  
1496 -(% class="wrapped" %)
1497 1497  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1498 1498  (((
1499 1499  (% class="western" align="center" %)
... ... @@ -1558,7 +1558,6 @@
1558 1558  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.
1559 1559  )))
1560 1560  
1561 -(% class="wrapped" %)
1562 1562  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1563 1563  (((
1564 1564  (% class="western" %)
... ... @@ -1646,6617 +1646,258 @@
1646 1646  
1647 1647  \\
1648 1648  
1649 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
1650 -== (% 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.**
1651 1651  
1652 -----
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.
1653 1653  
1654 -----
1867 +(% class="western" %)
1868 +Params:
1655 1655  
1656 -{{panel bgColor="#D3D3D3" width="100%"}}
1657 -(% class="nolink nolink" %)https:~/~/api.onecount.net/v2/(% style="color: rgb(33,33,33);" %)questions
1658 -{{/panel}}
1870 +(% class="western" %)
1871 +Text: Word or phrase that should be present in the question text (String)
1659 1659  
1660 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
1873 +(% class="western" %)
1874 +Type: Look up the question type.
1875 +)))
1661 1661  
1662 -----
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 +)))
1663 1663  
1664 -(% 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}}
1665 -
1666 -==== Example ====
1667 -
1668 -----
1669 -
1670 -(% style="color: rgb(107,107,107);" %)Request
1671 -
1672 -{{code language="php" theme="RDark" title="Get All Questions Request"}}
1673 -<?php
1674 -
1675 -$curl = curl_init();
1676 -
1677 -curl_setopt_array($curl, array(
1678 - CURLOPT_URL => 'https://api.onecount.net/v2/questions',
1679 - CURLOPT_RETURNTRANSFER => true,
1680 - CURLOPT_ENCODING => '',
1681 - CURLOPT_MAXREDIRS => 10,
1682 - CURLOPT_TIMEOUT => 0,
1683 - CURLOPT_FOLLOWLOCATION => true,
1684 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
1685 - CURLOPT_CUSTOMREQUEST => 'GET',
1686 - CURLOPT_HTTPHEADER => array(
1687 - 'Appkey: 70856f83422599c8e36191098f1536ae06e7bbcd'
1688 - ),
1689 -));
1690 -
1691 -$response = curl_exec($curl);
1692 -
1693 -curl_close($curl);
1694 -echo $response;
1695 -
1696 -
1697 -
1698 -{{/code}}
1699 -
1700 1700  \\
1701 1701  
1702 -(% 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).**
1703 1703  
1704 -{{code language="yml" theme="RDark" title="Get All Questions Response" collapse="true"}}
1705 -{
1706 - "result": {
1707 - "success": "1",
1708 - "error": {
1709 - "code": "",
1710 - "message": ""
1711 - }
1712 - },
1713 - "Questions": [
1714 - {
1715 - "Id": 1,
1716 - "Text": "Email",
1717 - "Type": "0",
1718 - "Alias": "Email"
1719 - },
1720 - {
1721 - "Id": 2,
1722 - "Text": "Username",
1723 - "Type": "0",
1724 - "Alias": "Username"
1725 - },
1726 - {
1727 - "Id": 3,
1728 - "Text": "Password",
1729 - "Type": "2",
1730 - "Alias": "Password"
1731 - },
1732 - {
1733 - "Id": 4,
1734 - "Text": "First Name",
1735 - "Type": "0",
1736 - "Alias": "First Name"
1737 - },
1738 - {
1739 - "Id": 5,
1740 - "Text": "Last Name",
1741 - "Type": "0",
1742 - "Alias": "Last Name"
1743 - },
1744 - {
1745 - "Id": 6,
1746 - "Text": "Title",
1747 - "Type": "0",
1748 - "Alias": "Title"
1749 - },
1750 - {
1751 - "Id": 7,
1752 - "Text": "Company Name",
1753 - "Type": "0",
1754 - "Alias": "Company Name"
1755 - },
1756 - {
1757 - "Id": 8,
1758 - "Text": "Company Address",
1759 - "Type": "0",
1760 - "Alias": "Company Address"
1761 - },
1762 - {
1763 - "Id": 9,
1764 - "Text": "Address2",
1765 - "Type": "0",
1766 - "Alias": "Address2"
1767 - },
1768 - {
1769 - "Id": 10,
1770 - "Text": "City",
1771 - "Type": "0",
1772 - "Alias": "City"
1773 - },
1774 - {
1775 - "Id": 11,
1776 - "Text": "State/Province",
1777 - "Type": "4",
1778 - "Alias": "State/Province",
1779 - "Choices": [
1780 - {
1781 - "Id": 1554,
1782 - "QuestionId": 11,
1783 - "Text": "Select One",
1784 - "Value": "",
1785 - "Order": 1
1786 - },
1787 - {
1788 - "Id": 1562,
1789 - "QuestionId": 11,
1790 - "Text": "Alabama",
1791 - "Value": "AL",
1792 - "Order": 2
1793 - },
1794 - {
1795 - "Id": 1570,
1796 - "QuestionId": 11,
1797 - "Text": "Alaska",
1798 - "Value": "AK",
1799 - "Order": 3
1800 - },
1801 - {
1802 - "Id": 1578,
1803 - "QuestionId": 11,
1804 - "Text": "Arizona",
1805 - "Value": "AZ",
1806 - "Order": 4
1807 - },
1808 - {
1809 - "Id": 1586,
1810 - "QuestionId": 11,
1811 - "Text": "Arkansas",
1812 - "Value": "AR",
1813 - "Order": 5
1814 - },
1815 - {
1816 - "Id": 1594,
1817 - "QuestionId": 11,
1818 - "Text": "California",
1819 - "Value": "CA",
1820 - "Order": 6
1821 - },
1822 - {
1823 - "Id": 1602,
1824 - "QuestionId": 11,
1825 - "Text": "Colorado",
1826 - "Value": "CO",
1827 - "Order": 7
1828 - },
1829 - {
1830 - "Id": 1610,
1831 - "QuestionId": 11,
1832 - "Text": "Connecticut",
1833 - "Value": "CT",
1834 - "Order": 8
1835 - },
1836 - {
1837 - "Id": 1618,
1838 - "QuestionId": 11,
1839 - "Text": "Delaware",
1840 - "Value": "DE",
1841 - "Order": 9
1842 - },
1843 - {
1844 - "Id": 1626,
1845 - "QuestionId": 11,
1846 - "Text": "District of Columbia",
1847 - "Value": "DC",
1848 - "Order": 10
1849 - },
1850 - {
1851 - "Id": 1634,
1852 - "QuestionId": 11,
1853 - "Text": "Florida",
1854 - "Value": "FL",
1855 - "Order": 11
1856 - },
1857 - {
1858 - "Id": 1642,
1859 - "QuestionId": 11,
1860 - "Text": "Georgia",
1861 - "Value": "GA",
1862 - "Order": 12
1863 - },
1864 - {
1865 - "Id": 1650,
1866 - "QuestionId": 11,
1867 - "Text": "Hawaii",
1868 - "Value": "HI",
1869 - "Order": 13
1870 - },
1871 - {
1872 - "Id": 1658,
1873 - "QuestionId": 11,
1874 - "Text": "Idaho",
1875 - "Value": "ID",
1876 - "Order": 14
1877 - },
1878 - {
1879 - "Id": 1666,
1880 - "QuestionId": 11,
1881 - "Text": "Illinois",
1882 - "Value": "IL",
1883 - "Order": 15
1884 - },
1885 - {
1886 - "Id": 1674,
1887 - "QuestionId": 11,
1888 - "Text": "Indiana",
1889 - "Value": "IN",
1890 - "Order": 16
1891 - },
1892 - {
1893 - "Id": 1682,
1894 - "QuestionId": 11,
1895 - "Text": "Iowa",
1896 - "Value": "IA",
1897 - "Order": 17
1898 - },
1899 - {
1900 - "Id": 1690,
1901 - "QuestionId": 11,
1902 - "Text": "Kansas",
1903 - "Value": "KS",
1904 - "Order": 18
1905 - },
1906 - {
1907 - "Id": 1698,
1908 - "QuestionId": 11,
1909 - "Text": "Kentucky",
1910 - "Value": "KY",
1911 - "Order": 19
1912 - },
1913 - {
1914 - "Id": 1706,
1915 - "QuestionId": 11,
1916 - "Text": "Louisiana",
1917 - "Value": "LA",
1918 - "Order": 20
1919 - },
1920 - {
1921 - "Id": 1714,
1922 - "QuestionId": 11,
1923 - "Text": "Maine",
1924 - "Value": "ME",
1925 - "Order": 21
1926 - },
1927 - {
1928 - "Id": 1722,
1929 - "QuestionId": 11,
1930 - "Text": "Maryland",
1931 - "Value": "MD",
1932 - "Order": 22
1933 - },
1934 - {
1935 - "Id": 1730,
1936 - "QuestionId": 11,
1937 - "Text": "Massachusetts",
1938 - "Value": "MA",
1939 - "Order": 23
1940 - },
1941 - {
1942 - "Id": 1738,
1943 - "QuestionId": 11,
1944 - "Text": "Michigan",
1945 - "Value": "MI",
1946 - "Order": 24
1947 - },
1948 - {
1949 - "Id": 1746,
1950 - "QuestionId": 11,
1951 - "Text": "Minnesota",
1952 - "Value": "MN",
1953 - "Order": 25
1954 - },
1955 - {
1956 - "Id": 1754,
1957 - "QuestionId": 11,
1958 - "Text": "Mississippi",
1959 - "Value": "MS",
1960 - "Order": 26
1961 - },
1962 - {
1963 - "Id": 1762,
1964 - "QuestionId": 11,
1965 - "Text": "Missouri",
1966 - "Value": "MO",
1967 - "Order": 27
1968 - },
1969 - {
1970 - "Id": 1770,
1971 - "QuestionId": 11,
1972 - "Text": "Montana",
1973 - "Value": "MT",
1974 - "Order": 28
1975 - },
1976 - {
1977 - "Id": 1778,
1978 - "QuestionId": 11,
1979 - "Text": "Nebraska",
1980 - "Value": "NE",
1981 - "Order": 29
1982 - },
1983 - {
1984 - "Id": 1786,
1985 - "QuestionId": 11,
1986 - "Text": "Nevada",
1987 - "Value": "NV",
1988 - "Order": 30
1989 - },
1990 - {
1991 - "Id": 1794,
1992 - "QuestionId": 11,
1993 - "Text": "New Hampshire",
1994 - "Value": "NH",
1995 - "Order": 31
1996 - },
1997 - {
1998 - "Id": 1802,
1999 - "QuestionId": 11,
2000 - "Text": "New Jersey",
2001 - "Value": "NJ",
2002 - "Order": 32
2003 - },
2004 - {
2005 - "Id": 1810,
2006 - "QuestionId": 11,
2007 - "Text": "New Mexico",
2008 - "Value": "NM",
2009 - "Order": 33
2010 - },
2011 - {
2012 - "Id": 1818,
2013 - "QuestionId": 11,
2014 - "Text": "New York",
2015 - "Value": "NY",
2016 - "Order": 34
2017 - },
2018 - {
2019 - "Id": 1826,
2020 - "QuestionId": 11,
2021 - "Text": "North Carolina",
2022 - "Value": "NC",
2023 - "Order": 35
2024 - },
2025 - {
2026 - "Id": 1834,
2027 - "QuestionId": 11,
2028 - "Text": "Ohio",
2029 - "Value": "OH",
2030 - "Order": 37
2031 - },
2032 - {
2033 - "Id": 1842,
2034 - "QuestionId": 11,
2035 - "Text": "Oklahoma",
2036 - "Value": "OK",
2037 - "Order": 38
2038 - },
2039 - {
2040 - "Id": 1850,
2041 - "QuestionId": 11,
2042 - "Text": "Oregon",
2043 - "Value": "OR",
2044 - "Order": 39
2045 - },
2046 - {
2047 - "Id": 1858,
2048 - "QuestionId": 11,
2049 - "Text": "Pennsylvania",
2050 - "Value": "PA",
2051 - "Order": 40
2052 - },
2053 - {
2054 - "Id": 1866,
2055 - "QuestionId": 11,
2056 - "Text": "Rhode Island",
2057 - "Value": "RI",
2058 - "Order": 41
2059 - },
2060 - {
2061 - "Id": 1874,
2062 - "QuestionId": 11,
2063 - "Text": "South Carolina",
2064 - "Value": "SC",
2065 - "Order": 42
2066 - },
2067 - {
2068 - "Id": 1882,
2069 - "QuestionId": 11,
2070 - "Text": "South Dakota",
2071 - "Value": "SD",
2072 - "Order": 43
2073 - },
2074 - {
2075 - "Id": 1890,
2076 - "QuestionId": 11,
2077 - "Text": "Tennessee",
2078 - "Value": "TN",
2079 - "Order": 44
2080 - },
2081 - {
2082 - "Id": 1898,
2083 - "QuestionId": 11,
2084 - "Text": "Texas",
2085 - "Value": "TX",
2086 - "Order": 45
2087 - },
2088 - {
2089 - "Id": 1906,
2090 - "QuestionId": 11,
2091 - "Text": "Utah",
2092 - "Value": "UT",
2093 - "Order": 46
2094 - },
2095 - {
2096 - "Id": 1914,
2097 - "QuestionId": 11,
2098 - "Text": "Vermont",
2099 - "Value": "VT",
2100 - "Order": 47
2101 - },
2102 - {
2103 - "Id": 1922,
2104 - "QuestionId": 11,
2105 - "Text": "Virginia",
2106 - "Value": "VA",
2107 - "Order": 48
2108 - },
2109 - {
2110 - "Id": 1930,
2111 - "QuestionId": 11,
2112 - "Text": "Washington",
2113 - "Value": "WA",
2114 - "Order": 49
2115 - },
2116 - {
2117 - "Id": 1938,
2118 - "QuestionId": 11,
2119 - "Text": "West Virginia",
2120 - "Value": "WV",
2121 - "Order": 50
2122 - },
2123 - {
2124 - "Id": 1946,
2125 - "QuestionId": 11,
2126 - "Text": "Wisconsin",
2127 - "Value": "WI",
2128 - "Order": 51
2129 - },
2130 - {
2131 - "Id": 1954,
2132 - "QuestionId": 11,
2133 - "Text": "Wyoming",
2134 - "Value": "WY",
2135 - "Order": 52
2136 - },
2137 - {
2138 - "Id": 1962,
2139 - "QuestionId": 11,
2140 - "Text": "American Samoa",
2141 - "Value": "AS",
2142 - "Order": 53
2143 - },
2144 - {
2145 - "Id": 1970,
2146 - "QuestionId": 11,
2147 - "Text": "North Dakota",
2148 - "Value": "ND",
2149 - "Order": 36
2150 - },
2151 - {
2152 - "Id": 1978,
2153 - "QuestionId": 11,
2154 - "Text": "Federated States of Micronesia",
2155 - "Value": "FM",
2156 - "Order": 54
2157 - },
2158 - {
2159 - "Id": 1986,
2160 - "QuestionId": 11,
2161 - "Text": "Guam",
2162 - "Value": "GU",
2163 - "Order": 55
2164 - },
2165 - {
2166 - "Id": 1994,
2167 - "QuestionId": 11,
2168 - "Text": "Marshall Islands",
2169 - "Value": "MH",
2170 - "Order": 56
2171 - },
2172 - {
2173 - "Id": 2002,
2174 - "QuestionId": 11,
2175 - "Text": "Northern Mariana Islands",
2176 - "Value": "MP",
2177 - "Order": 57
2178 - },
2179 - {
2180 - "Id": 2010,
2181 - "QuestionId": 11,
2182 - "Text": "Palau",
2183 - "Value": "PW",
2184 - "Order": 58
2185 - },
2186 - {
2187 - "Id": 2018,
2188 - "QuestionId": 11,
2189 - "Text": "Puerto Rico",
2190 - "Value": "PR",
2191 - "Order": 59
2192 - },
2193 - {
2194 - "Id": 2026,
2195 - "QuestionId": 11,
2196 - "Text": "U.S. Virgin Islands",
2197 - "Value": "VI",
2198 - "Order": 60
2199 - },
2200 - {
2201 - "Id": 2034,
2202 - "QuestionId": 11,
2203 - "Text": "Armed Forces Africa",
2204 - "Value": "AE",
2205 - "Order": 61
2206 - },
2207 - {
2208 - "Id": 2042,
2209 - "QuestionId": 11,
2210 - "Text": "Armed Forces Americas (except Canada)",
2211 - "Value": "AA",
2212 - "Order": 62
2213 - },
2214 - {
2215 - "Id": 2050,
2216 - "QuestionId": 11,
2217 - "Text": "Armed Forces Canada",
2218 - "Value": "AE",
2219 - "Order": 63
2220 - },
2221 - {
2222 - "Id": 2058,
2223 - "QuestionId": 11,
2224 - "Text": "Armed Forces Europe",
2225 - "Value": "AE",
2226 - "Order": 64
2227 - },
2228 - {
2229 - "Id": 2066,
2230 - "QuestionId": 11,
2231 - "Text": "Armed Forces Middle East",
2232 - "Value": "AE",
2233 - "Order": 65
2234 - },
2235 - {
2236 - "Id": 2074,
2237 - "QuestionId": 11,
2238 - "Text": "Armed Forces Pacific",
2239 - "Value": "AP",
2240 - "Order": 66
2241 - },
2242 - {
2243 - "Id": 2082,
2244 - "QuestionId": 11,
2245 - "Text": "Non-US/Not Applicable",
2246 - "Value": "Non-US/Not Applicable",
2247 - "Order": 67
2248 - },
2249 - {
2250 - "Id": 2090,
2251 - "QuestionId": 11,
2252 - "Text": "Ontario",
2253 - "Value": "Ontario",
2254 - "Order": 68
2255 - },
2256 - {
2257 - "Id": 2098,
2258 - "QuestionId": 11,
2259 - "Text": "Quebec",
2260 - "Value": "Quebec",
2261 - "Order": 69
2262 - },
2263 - {
2264 - "Id": 2106,
2265 - "QuestionId": 11,
2266 - "Text": "Nova Scotia",
2267 - "Value": "Nova Scotia",
2268 - "Order": 70
2269 - },
2270 - {
2271 - "Id": 2114,
2272 - "QuestionId": 11,
2273 - "Text": "New Brunswick",
2274 - "Value": "New Brunswick",
2275 - "Order": 71
2276 - },
2277 - {
2278 - "Id": 2122,
2279 - "QuestionId": 11,
2280 - "Text": "Manitoba",
2281 - "Value": "Manitoba",
2282 - "Order": 72
2283 - },
2284 - {
2285 - "Id": 2130,
2286 - "QuestionId": 11,
2287 - "Text": "Brittish Columbia",
2288 - "Value": "Brittish Columbia",
2289 - "Order": 73
2290 - },
2291 - {
2292 - "Id": 2138,
2293 - "QuestionId": 11,
2294 - "Text": "Prince Edward Island",
2295 - "Value": "Prince Edward Island",
2296 - "Order": 74
2297 - },
2298 - {
2299 - "Id": 2146,
2300 - "QuestionId": 11,
2301 - "Text": "Saskatchewan",
2302 - "Value": "Saskatchewan",
2303 - "Order": 75
2304 - },
2305 - {
2306 - "Id": 2154,
2307 - "QuestionId": 11,
2308 - "Text": "Alberta",
2309 - "Value": "Alberta",
2310 - "Order": 76
2311 - },
2312 - {
2313 - "Id": 2162,
2314 - "QuestionId": 11,
2315 - "Text": "Newfoundland and Labrador",
2316 - "Value": "Newfoundland and Labrador",
2317 - "Order": 77
2318 - },
2319 - {
2320 - "Id": 2170,
2321 - "QuestionId": 11,
2322 - "Text": "British Columbia",
2323 - "Value": "British Columbia",
2324 - "Order": 78
2325 - },
2326 - {
2327 - "Id": 2178,
2328 - "QuestionId": 11,
2329 - "Text": "Ontario",
2330 - "Value": "ON",
2331 - "Order": 79
2332 - }
2333 - ]
2334 - },
2335 - {
2336 - "Id": 12,
2337 - "Text": "Zip/Postal Code",
2338 - "Type": "0",
2339 - "Alias": "Zip/Postal Code"
2340 - },
2341 - {
2342 - "Id": 13,
2343 - "Text": "Country",
2344 - "Type": "4",
2345 - "Alias": "Country",
2346 - "Choices": [
2347 - {
2348 - "Id": 2,
2349 - "QuestionId": 13,
2350 - "Text": "Select One",
2351 - "Value": "",
2352 - "Order": 1
2353 - },
2354 - {
2355 - "Id": 10,
2356 - "QuestionId": 13,
2357 - "Text": "Afghanistan",
2358 - "Value": "Afghanistan",
2359 - "Order": 3
2360 - },
2361 - {
2362 - "Id": 18,
2363 - "QuestionId": 13,
2364 - "Text": "Albania",
2365 - "Value": "Albania",
2366 - "Order": 4
2367 - },
2368 - {
2369 - "Id": 26,
2370 - "QuestionId": 13,
2371 - "Text": "Algeria",
2372 - "Value": "Algeria",
2373 - "Order": 5
2374 - },
2375 - {
2376 - "Id": 34,
2377 - "QuestionId": 13,
2378 - "Text": "Andorra",
2379 - "Value": "Andorra",
2380 - "Order": 6
2381 - },
2382 - {
2383 - "Id": 42,
2384 - "QuestionId": 13,
2385 - "Text": "Angola",
2386 - "Value": "Angola",
2387 - "Order": 7
2388 - },
2389 - {
2390 - "Id": 50,
2391 - "QuestionId": 13,
2392 - "Text": "Antigua and Barbuda",
2393 - "Value": "Antigua and Barbuda",
2394 - "Order": 8
2395 - },
2396 - {
2397 - "Id": 58,
2398 - "QuestionId": 13,
2399 - "Text": "Argentina",
2400 - "Value": "Argentina",
2401 - "Order": 9
2402 - },
2403 - {
2404 - "Id": 66,
2405 - "QuestionId": 13,
2406 - "Text": "Armenia",
2407 - "Value": "Armenia",
2408 - "Order": 10
2409 - },
2410 - {
2411 - "Id": 74,
2412 - "QuestionId": 13,
2413 - "Text": "Australia",
2414 - "Value": "Australia",
2415 - "Order": 11
2416 - },
2417 - {
2418 - "Id": 82,
2419 - "QuestionId": 13,
2420 - "Text": "Austria",
2421 - "Value": "Austria",
2422 - "Order": 12
2423 - },
2424 - {
2425 - "Id": 90,
2426 - "QuestionId": 13,
2427 - "Text": "Azerbaijan",
2428 - "Value": "Azerbaijan",
2429 - "Order": 13
2430 - },
2431 - {
2432 - "Id": 98,
2433 - "QuestionId": 13,
2434 - "Text": "Bahamas",
2435 - "Value": "Bahamas",
2436 - "Order": 14
2437 - },
2438 - {
2439 - "Id": 106,
2440 - "QuestionId": 13,
2441 - "Text": "Bahrain",
2442 - "Value": "Bahrain",
2443 - "Order": 15
2444 - },
2445 - {
2446 - "Id": 114,
2447 - "QuestionId": 13,
2448 - "Text": "Bangladesh",
2449 - "Value": "Bangladesh",
2450 - "Order": 16
2451 - },
2452 - {
2453 - "Id": 122,
2454 - "QuestionId": 13,
2455 - "Text": "Barbados",
2456 - "Value": "Barbados",
2457 - "Order": 17
2458 - },
2459 - {
2460 - "Id": 130,
2461 - "QuestionId": 13,
2462 - "Text": "Belarus",
2463 - "Value": "Belarus",
2464 - "Order": 18
2465 - },
2466 - {
2467 - "Id": 138,
2468 - "QuestionId": 13,
2469 - "Text": "Belgium",
2470 - "Value": "Belgium",
2471 - "Order": 19
2472 - },
2473 - {
2474 - "Id": 146,
2475 - "QuestionId": 13,
2476 - "Text": "Belize",
2477 - "Value": "Belize",
2478 - "Order": 20
2479 - },
2480 - {
2481 - "Id": 154,
2482 - "QuestionId": 13,
2483 - "Text": "Benin",
2484 - "Value": "Benin",
2485 - "Order": 21
2486 - },
2487 - {
2488 - "Id": 162,
2489 - "QuestionId": 13,
2490 - "Text": "Bhutan",
2491 - "Value": "Bhutan",
2492 - "Order": 22
2493 - },
2494 - {
2495 - "Id": 170,
2496 - "QuestionId": 13,
2497 - "Text": "Bolivia",
2498 - "Value": "Bolivia",
2499 - "Order": 23
2500 - },
2501 - {
2502 - "Id": 178,
2503 - "QuestionId": 13,
2504 - "Text": "Bosnia and Herzegovina",
2505 - "Value": "Bosnia and Herzegovina",
2506 - "Order": 24
2507 - },
2508 - {
2509 - "Id": 186,
2510 - "QuestionId": 13,
2511 - "Text": "Botswana",
2512 - "Value": "Botswana",
2513 - "Order": 25
2514 - },
2515 - {
2516 - "Id": 194,
2517 - "QuestionId": 13,
2518 - "Text": "Brazil",
2519 - "Value": "Brazil",
2520 - "Order": 26
2521 - },
2522 - {
2523 - "Id": 202,
2524 - "QuestionId": 13,
2525 - "Text": "Brunei",
2526 - "Value": "Brunei",
2527 - "Order": 27
2528 - },
2529 - {
2530 - "Id": 210,
2531 - "QuestionId": 13,
2532 - "Text": "Bulgaria",
2533 - "Value": "Bulgaria",
2534 - "Order": 28
2535 - },
2536 - {
2537 - "Id": 218,
2538 - "QuestionId": 13,
2539 - "Text": "Burkina Faso",
2540 - "Value": "Burkina Faso",
2541 - "Order": 29
2542 - },
2543 - {
2544 - "Id": 226,
2545 - "QuestionId": 13,
2546 - "Text": "Burundi",
2547 - "Value": "Burundi",
2548 - "Order": 30
2549 - },
2550 - {
2551 - "Id": 234,
2552 - "QuestionId": 13,
2553 - "Text": "Cambodia",
2554 - "Value": "Cambodia",
2555 - "Order": 31
2556 - },
2557 - {
2558 - "Id": 242,
2559 - "QuestionId": 13,
2560 - "Text": "Cameroon",
2561 - "Value": "Cameroon",
2562 - "Order": 32
2563 - },
2564 - {
2565 - "Id": 250,
2566 - "QuestionId": 13,
2567 - "Text": "Canada",
2568 - "Value": "Canada",
2569 - "Order": 33
2570 - },
2571 - {
2572 - "Id": 258,
2573 - "QuestionId": 13,
2574 - "Text": "Cape Verde",
2575 - "Value": "Cape Verde",
2576 - "Order": 34
2577 - },
2578 - {
2579 - "Id": 266,
2580 - "QuestionId": 13,
2581 - "Text": "Central African Republic",
2582 - "Value": "Central African Republic",
2583 - "Order": 35
2584 - },
2585 - {
2586 - "Id": 274,
2587 - "QuestionId": 13,
2588 - "Text": "Chad",
2589 - "Value": "Chad",
2590 - "Order": 36
2591 - },
2592 - {
2593 - "Id": 282,
2594 - "QuestionId": 13,
2595 - "Text": "Chile",
2596 - "Value": "Chile",
2597 - "Order": 37
2598 - },
2599 - {
2600 - "Id": 290,
2601 - "QuestionId": 13,
2602 - "Text": "China",
2603 - "Value": "China",
2604 - "Order": 38
2605 - },
2606 - {
2607 - "Id": 298,
2608 - "QuestionId": 13,
2609 - "Text": "Colombia",
2610 - "Value": "Colombia",
2611 - "Order": 39
2612 - },
2613 - {
2614 - "Id": 306,
2615 - "QuestionId": 13,
2616 - "Text": "Comoros",
2617 - "Value": "Comoros",
2618 - "Order": 40
2619 - },
2620 - {
2621 - "Id": 314,
2622 - "QuestionId": 13,
2623 - "Text": "Congo (Brazzaville)",
2624 - "Value": "Congo (Brazzaville)",
2625 - "Order": 41
2626 - },
2627 - {
2628 - "Id": 322,
2629 - "QuestionId": 13,
2630 - "Text": "Congo",
2631 - "Value": "Congo",
2632 - "Order": 42
2633 - },
2634 - {
2635 - "Id": 330,
2636 - "QuestionId": 13,
2637 - "Text": "Costa Rica",
2638 - "Value": "Costa Rica",
2639 - "Order": 43
2640 - },
2641 - {
2642 - "Id": 338,
2643 - "QuestionId": 13,
2644 - "Text": "Cote d'Ivoire",
2645 - "Value": "Cote d'Ivoire",
2646 - "Order": 44
2647 - },
2648 - {
2649 - "Id": 346,
2650 - "QuestionId": 13,
2651 - "Text": "Croatia",
2652 - "Value": "Croatia",
2653 - "Order": 45
2654 - },
2655 - {
2656 - "Id": 354,
2657 - "QuestionId": 13,
2658 - "Text": "Cuba",
2659 - "Value": "Cuba",
2660 - "Order": 46
2661 - },
2662 - {
2663 - "Id": 362,
2664 - "QuestionId": 13,
2665 - "Text": "Cyprus",
2666 - "Value": "Cyprus",
2667 - "Order": 47
2668 - },
2669 - {
2670 - "Id": 370,
2671 - "QuestionId": 13,
2672 - "Text": "Czech Republic",
2673 - "Value": "Czech Republic",
2674 - "Order": 48
2675 - },
2676 - {
2677 - "Id": 378,
2678 - "QuestionId": 13,
2679 - "Text": "Denmark",
2680 - "Value": "Denmark",
2681 - "Order": 49
2682 - },
2683 - {
2684 - "Id": 386,
2685 - "QuestionId": 13,
2686 - "Text": "Djibouti",
2687 - "Value": "Djibouti",
2688 - "Order": 50
2689 - },
2690 - {
2691 - "Id": 394,
2692 - "QuestionId": 13,
2693 - "Text": "Dominica",
2694 - "Value": "Dominica",
2695 - "Order": 51
2696 - },
2697 - {
2698 - "Id": 402,
2699 - "QuestionId": 13,
2700 - "Text": "Dominican Republic",
2701 - "Value": "Dominican Republic",
2702 - "Order": 52
2703 - },
2704 - {
2705 - "Id": 410,
2706 - "QuestionId": 13,
2707 - "Text": "East Timor",
2708 - "Value": "East Timor",
2709 - "Order": 53
2710 - },
2711 - {
2712 - "Id": 418,
2713 - "QuestionId": 13,
2714 - "Text": "Ecuador",
2715 - "Value": "Ecuador",
2716 - "Order": 54
2717 - },
2718 - {
2719 - "Id": 426,
2720 - "QuestionId": 13,
2721 - "Text": "Egypt",
2722 - "Value": "Egypt",
2723 - "Order": 55
2724 - },
2725 - {
2726 - "Id": 434,
2727 - "QuestionId": 13,
2728 - "Text": "El Salvador",
2729 - "Value": "El Salvador",
2730 - "Order": 56
2731 - },
2732 - {
2733 - "Id": 442,
2734 - "QuestionId": 13,
2735 - "Text": "Equatorial Guinea",
2736 - "Value": "Equatorial Guinea",
2737 - "Order": 57
2738 - },
2739 - {
2740 - "Id": 450,
2741 - "QuestionId": 13,
2742 - "Text": "Eritrea",
2743 - "Value": "Eritrea",
2744 - "Order": 58
2745 - },
2746 - {
2747 - "Id": 458,
2748 - "QuestionId": 13,
2749 - "Text": "Estonia",
2750 - "Value": "Estonia",
2751 - "Order": 59
2752 - },
2753 - {
2754 - "Id": 466,
2755 - "QuestionId": 13,
2756 - "Text": "Ethiopia",
2757 - "Value": "Ethiopia",
2758 - "Order": 60
2759 - },
2760 - {
2761 - "Id": 474,
2762 - "QuestionId": 13,
2763 - "Text": "Fiji",
2764 - "Value": "Fiji",
2765 - "Order": 61
2766 - },
2767 - {
2768 - "Id": 482,
2769 - "QuestionId": 13,
2770 - "Text": "Finland",
2771 - "Value": "Finland",
2772 - "Order": 62
2773 - },
2774 - {
2775 - "Id": 490,
2776 - "QuestionId": 13,
2777 - "Text": "France",
2778 - "Value": "France",
2779 - "Order": 63
2780 - },
2781 - {
2782 - "Id": 498,
2783 - "QuestionId": 13,
2784 - "Text": "Gabon",
2785 - "Value": "Gabon",
2786 - "Order": 64
2787 - },
2788 - {
2789 - "Id": 506,
2790 - "QuestionId": 13,
2791 - "Text": "Gambia, The",
2792 - "Value": "Gambia, The",
2793 - "Order": 65
2794 - },
2795 - {
2796 - "Id": 514,
2797 - "QuestionId": 13,
2798 - "Text": "Georgia",
2799 - "Value": "Georgia",
2800 - "Order": 66
2801 - },
2802 - {
2803 - "Id": 522,
2804 - "QuestionId": 13,
2805 - "Text": "Germany",
2806 - "Value": "Germany",
2807 - "Order": 67
2808 - },
2809 - {
2810 - "Id": 530,
2811 - "QuestionId": 13,
2812 - "Text": "Ghana",
2813 - "Value": "Ghana",
2814 - "Order": 68
2815 - },
2816 - {
2817 - "Id": 538,
2818 - "QuestionId": 13,
2819 - "Text": "Greece",
2820 - "Value": "Greece",
2821 - "Order": 69
2822 - },
2823 - {
2824 - "Id": 546,
2825 - "QuestionId": 13,
2826 - "Text": "Grenada",
2827 - "Value": "Grenada",
2828 - "Order": 70
2829 - },
2830 - {
2831 - "Id": 554,
2832 - "QuestionId": 13,
2833 - "Text": "Guatemala",
2834 - "Value": "Guatemala",
2835 - "Order": 71
2836 - },
2837 - {
2838 - "Id": 562,
2839 - "QuestionId": 13,
2840 - "Text": "Guinea",
2841 - "Value": "Guinea",
2842 - "Order": 72
2843 - },
2844 - {
2845 - "Id": 570,
2846 - "QuestionId": 13,
2847 - "Text": "Guinea-Bissau",
2848 - "Value": "Guinea-Bissau",
2849 - "Order": 73
2850 - },
2851 - {
2852 - "Id": 578,
2853 - "QuestionId": 13,
2854 - "Text": "Guyana",
2855 - "Value": "Guyana",
2856 - "Order": 74
2857 - },
2858 - {
2859 - "Id": 586,
2860 - "QuestionId": 13,
2861 - "Text": "Haiti",
2862 - "Value": "Haiti",
2863 - "Order": 75
2864 - },
2865 - {
2866 - "Id": 594,
2867 - "QuestionId": 13,
2868 - "Text": "Honduras",
2869 - "Value": "Honduras",
2870 - "Order": 76
2871 - },
2872 - {
2873 - "Id": 602,
2874 - "QuestionId": 13,
2875 - "Text": "Hungary",
2876 - "Value": "Hungary",
2877 - "Order": 77
2878 - },
2879 - {
2880 - "Id": 610,
2881 - "QuestionId": 13,
2882 - "Text": "Iceland",
2883 - "Value": "Iceland",
2884 - "Order": 78
2885 - },
2886 - {
2887 - "Id": 618,
2888 - "QuestionId": 13,
2889 - "Text": "India",
2890 - "Value": "India",
2891 - "Order": 79
2892 - },
2893 - {
2894 - "Id": 626,
2895 - "QuestionId": 13,
2896 - "Text": "Indonesia",
2897 - "Value": "Indonesia",
2898 - "Order": 80
2899 - },
2900 - {
2901 - "Id": 634,
2902 - "QuestionId": 13,
2903 - "Text": "Iran",
2904 - "Value": "Iran",
2905 - "Order": 81
2906 - },
2907 - {
2908 - "Id": 642,
2909 - "QuestionId": 13,
2910 - "Text": "Iraq",
2911 - "Value": "Iraq",
2912 - "Order": 82
2913 - },
2914 - {
2915 - "Id": 650,
2916 - "QuestionId": 13,
2917 - "Text": "Ireland",
2918 - "Value": "Ireland",
2919 - "Order": 83
2920 - },
2921 - {
2922 - "Id": 658,
2923 - "QuestionId": 13,
2924 - "Text": "Israel",
2925 - "Value": "Israel",
2926 - "Order": 84
2927 - },
2928 - {
2929 - "Id": 666,
2930 - "QuestionId": 13,
2931 - "Text": "Italy",
2932 - "Value": "Italy",
2933 - "Order": 85
2934 - },
2935 - {
2936 - "Id": 674,
2937 - "QuestionId": 13,
2938 - "Text": "Jamaica",
2939 - "Value": "Jamaica",
2940 - "Order": 86
2941 - },
2942 - {
2943 - "Id": 682,
2944 - "QuestionId": 13,
2945 - "Text": "Japan",
2946 - "Value": "Japan",
2947 - "Order": 87
2948 - },
2949 - {
2950 - "Id": 690,
2951 - "QuestionId": 13,
2952 - "Text": "Jordan",
2953 - "Value": "Jordan",
2954 - "Order": 88
2955 - },
2956 - {
2957 - "Id": 698,
2958 - "QuestionId": 13,
2959 - "Text": "Kazakhstan",
2960 - "Value": "Kazakhstan",
2961 - "Order": 89
2962 - },
2963 - {
2964 - "Id": 706,
2965 - "QuestionId": 13,
2966 - "Text": "Kenya",
2967 - "Value": "Kenya",
2968 - "Order": 90
2969 - },
2970 - {
2971 - "Id": 714,
2972 - "QuestionId": 13,
2973 - "Text": "Kiribati",
2974 - "Value": "Kiribati",
2975 - "Order": 91
2976 - },
2977 - {
2978 - "Id": 722,
2979 - "QuestionId": 13,
2980 - "Text": "Korea, North",
2981 - "Value": "Korea, North",
2982 - "Order": 92
2983 - },
2984 - {
2985 - "Id": 730,
2986 - "QuestionId": 13,
2987 - "Text": "Korea, South",
2988 - "Value": "Korea, South",
2989 - "Order": 93
2990 - },
2991 - {
2992 - "Id": 738,
2993 - "QuestionId": 13,
2994 - "Text": "Kuwait",
2995 - "Value": "Kuwait",
2996 - "Order": 94
2997 - },
2998 - {
2999 - "Id": 746,
3000 - "QuestionId": 13,
3001 - "Text": "Kyrgyzstan",
3002 - "Value": "Kyrgyzstan",
3003 - "Order": 95
3004 - },
3005 - {
3006 - "Id": 754,
3007 - "QuestionId": 13,
3008 - "Text": "Laos",
3009 - "Value": "Laos",
3010 - "Order": 96
3011 - },
3012 - {
3013 - "Id": 762,
3014 - "QuestionId": 13,
3015 - "Text": "Latvia",
3016 - "Value": "Latvia",
3017 - "Order": 97
3018 - },
3019 - {
3020 - "Id": 770,
3021 - "QuestionId": 13,
3022 - "Text": "Lebanon",
3023 - "Value": "Lebanon",
3024 - "Order": 98
3025 - },
3026 - {
3027 - "Id": 778,
3028 - "QuestionId": 13,
3029 - "Text": "Lesotho",
3030 - "Value": "Lesotho",
3031 - "Order": 99
3032 - },
3033 - {
3034 - "Id": 786,
3035 - "QuestionId": 13,
3036 - "Text": "Liberia",
3037 - "Value": "Liberia",
3038 - "Order": 100
3039 - },
3040 - {
3041 - "Id": 794,
3042 - "QuestionId": 13,
3043 - "Text": "Libya",
3044 - "Value": "Libya",
3045 - "Order": 101
3046 - },
3047 - {
3048 - "Id": 802,
3049 - "QuestionId": 13,
3050 - "Text": "Liechtenstein",
3051 - "Value": "Liechtenstein",
3052 - "Order": 102
3053 - },
3054 - {
3055 - "Id": 810,
3056 - "QuestionId": 13,
3057 - "Text": "Lithuania",
3058 - "Value": "Lithuania",
3059 - "Order": 103
3060 - },
3061 - {
3062 - "Id": 818,
3063 - "QuestionId": 13,
3064 - "Text": "Luxembourg",
3065 - "Value": "Luxembourg",
3066 - "Order": 104
3067 - },
3068 - {
3069 - "Id": 826,
3070 - "QuestionId": 13,
3071 - "Text": "Macedonia",
3072 - "Value": "Macedonia",
3073 - "Order": 105
3074 - },
3075 - {
3076 - "Id": 834,
3077 - "QuestionId": 13,
3078 - "Text": "Madagascar",
3079 - "Value": "Madagascar",
3080 - "Order": 106
3081 - },
3082 - {
3083 - "Id": 842,
3084 - "QuestionId": 13,
3085 - "Text": "Malawi",
3086 - "Value": "Malawi",
3087 - "Order": 107
3088 - },
3089 - {
3090 - "Id": 850,
3091 - "QuestionId": 13,
3092 - "Text": "Malaysia",
3093 - "Value": "Malaysia",
3094 - "Order": 108
3095 - },
3096 - {
3097 - "Id": 858,
3098 - "QuestionId": 13,
3099 - "Text": "Maldives",
3100 - "Value": "Maldives",
3101 - "Order": 109
3102 - },
3103 - {
3104 - "Id": 866,
3105 - "QuestionId": 13,
3106 - "Text": "Mali",
3107 - "Value": "Mali",
3108 - "Order": 110
3109 - },
3110 - {
3111 - "Id": 874,
3112 - "QuestionId": 13,
3113 - "Text": "Malta",
3114 - "Value": "Malta",
3115 - "Order": 111
3116 - },
3117 - {
3118 - "Id": 882,
3119 - "QuestionId": 13,
3120 - "Text": "Marshall Islands",
3121 - "Value": "Marshall Islands",
3122 - "Order": 112
3123 - },
3124 - {
3125 - "Id": 890,
3126 - "QuestionId": 13,
3127 - "Text": "Mauritania",
3128 - "Value": "Mauritania",
3129 - "Order": 113
3130 - },
3131 - {
3132 - "Id": 898,
3133 - "QuestionId": 13,
3134 - "Text": "Mauritius",
3135 - "Value": "Mauritius",
3136 - "Order": 114
3137 - },
3138 - {
3139 - "Id": 906,
3140 - "QuestionId": 13,
3141 - "Text": "Mexico",
3142 - "Value": "Mexico",
3143 - "Order": 115
3144 - },
3145 - {
3146 - "Id": 914,
3147 - "QuestionId": 13,
3148 - "Text": "Micronesia",
3149 - "Value": "Micronesia",
3150 - "Order": 116
3151 - },
3152 - {
3153 - "Id": 922,
3154 - "QuestionId": 13,
3155 - "Text": "Moldova",
3156 - "Value": "Moldova",
3157 - "Order": 117
3158 - },
3159 - {
3160 - "Id": 930,
3161 - "QuestionId": 13,
3162 - "Text": "Monaco",
3163 - "Value": "Monaco",
3164 - "Order": 118
3165 - },
3166 - {
3167 - "Id": 938,
3168 - "QuestionId": 13,
3169 - "Text": "Mongolia",
3170 - "Value": "Mongolia",
3171 - "Order": 119
3172 - },
3173 - {
3174 - "Id": 946,
3175 - "QuestionId": 13,
3176 - "Text": "Morocco",
3177 - "Value": "Morocco",
3178 - "Order": 120
3179 - },
3180 - {
3181 - "Id": 954,
3182 - "QuestionId": 13,
3183 - "Text": "Mozambique",
3184 - "Value": "Mozambique",
3185 - "Order": 121
3186 - },
3187 - {
3188 - "Id": 962,
3189 - "QuestionId": 13,
3190 - "Text": "Myanmar",
3191 - "Value": "Myanmar",
3192 - "Order": 122
3193 - },
3194 - {
3195 - "Id": 970,
3196 - "QuestionId": 13,
3197 - "Text": "Namibia",
3198 - "Value": "Namibia",
3199 - "Order": 123
3200 - },
3201 - {
3202 - "Id": 978,
3203 - "QuestionId": 13,
3204 - "Text": "Nauru",
3205 - "Value": "Nauru",
3206 - "Order": 124
3207 - },
3208 - {
3209 - "Id": 986,
3210 - "QuestionId": 13,
3211 - "Text": "Nepa",
3212 - "Value": "Nepa",
3213 - "Order": 125
3214 - },
3215 - {
3216 - "Id": 994,
3217 - "QuestionId": 13,
3218 - "Text": "Netherlands",
3219 - "Value": "Netherlands",
3220 - "Order": 126
3221 - },
3222 - {
3223 - "Id": 1002,
3224 - "QuestionId": 13,
3225 - "Text": "New Zealand",
3226 - "Value": "New Zealand",
3227 - "Order": 127
3228 - },
3229 - {
3230 - "Id": 1010,
3231 - "QuestionId": 13,
3232 - "Text": "Nicaragua",
3233 - "Value": "Nicaragua",
3234 - "Order": 128
3235 - },
3236 - {
3237 - "Id": 1018,
3238 - "QuestionId": 13,
3239 - "Text": "Niger",
3240 - "Value": "Niger",
3241 - "Order": 129
3242 - },
3243 - {
3244 - "Id": 1026,
3245 - "QuestionId": 13,
3246 - "Text": "Nigeria",
3247 - "Value": "Nigeria",
3248 - "Order": 130
3249 - },
3250 - {
3251 - "Id": 1034,
3252 - "QuestionId": 13,
3253 - "Text": "Norway",
3254 - "Value": "Norway",
3255 - "Order": 131
3256 - },
3257 - {
3258 - "Id": 1042,
3259 - "QuestionId": 13,
3260 - "Text": "Oman",
3261 - "Value": "Oman",
3262 - "Order": 132
3263 - },
3264 - {
3265 - "Id": 1050,
3266 - "QuestionId": 13,
3267 - "Text": "Pakistan",
3268 - "Value": "Pakistan",
3269 - "Order": 133
3270 - },
3271 - {
3272 - "Id": 1058,
3273 - "QuestionId": 13,
3274 - "Text": "Palau",
3275 - "Value": "Palau",
3276 - "Order": 134
3277 - },
3278 - {
3279 - "Id": 1066,
3280 - "QuestionId": 13,
3281 - "Text": "Panama",
3282 - "Value": "Panama",
3283 - "Order": 135
3284 - },
3285 - {
3286 - "Id": 1074,
3287 - "QuestionId": 13,
3288 - "Text": "Papua New Guinea",
3289 - "Value": "Papua New Guinea",
3290 - "Order": 136
3291 - },
3292 - {
3293 - "Id": 1082,
3294 - "QuestionId": 13,
3295 - "Text": "Paraguay",
3296 - "Value": "Paraguay",
3297 - "Order": 137
3298 - },
3299 - {
3300 - "Id": 1090,
3301 - "QuestionId": 13,
3302 - "Text": "Peru",
3303 - "Value": "Peru",
3304 - "Order": 138
3305 - },
3306 - {
3307 - "Id": 1098,
3308 - "QuestionId": 13,
3309 - "Text": "Philippines",
3310 - "Value": "Philippines",
3311 - "Order": 139
3312 - },
3313 - {
3314 - "Id": 1106,
3315 - "QuestionId": 13,
3316 - "Text": "Poland",
3317 - "Value": "Poland",
3318 - "Order": 140
3319 - },
3320 - {
3321 - "Id": 1114,
3322 - "QuestionId": 13,
3323 - "Text": "Portugal",
3324 - "Value": "Portugal",
3325 - "Order": 141
3326 - },
3327 - {
3328 - "Id": 1122,
3329 - "QuestionId": 13,
3330 - "Text": "Qatar",
3331 - "Value": "Qatar",
3332 - "Order": 142
3333 - },
3334 - {
3335 - "Id": 1130,
3336 - "QuestionId": 13,
3337 - "Text": "Romania",
3338 - "Value": "Romania",
3339 - "Order": 143
3340 - },
3341 - {
3342 - "Id": 1138,
3343 - "QuestionId": 13,
3344 - "Text": "Russia",
3345 - "Value": "Russia",
3346 - "Order": 144
3347 - },
3348 - {
3349 - "Id": 1146,
3350 - "QuestionId": 13,
3351 - "Text": "Rwanda",
3352 - "Value": "Rwanda",
3353 - "Order": 145
3354 - },
3355 - {
3356 - "Id": 1154,
3357 - "QuestionId": 13,
3358 - "Text": "Saint Kitts and Nevis",
3359 - "Value": "Saint Kitts and Nevis",
3360 - "Order": 146
3361 - },
3362 - {
3363 - "Id": 1162,
3364 - "QuestionId": 13,
3365 - "Text": "Saint Lucia",
3366 - "Value": "Saint Lucia",
3367 - "Order": 147
3368 - },
3369 - {
3370 - "Id": 1170,
3371 - "QuestionId": 13,
3372 - "Text": "Saint Vincent",
3373 - "Value": "Saint Vincent",
3374 - "Order": 148
3375 - },
3376 - {
3377 - "Id": 1178,
3378 - "QuestionId": 13,
3379 - "Text": "Samoa",
3380 - "Value": "Samoa",
3381 - "Order": 149
3382 - },
3383 - {
3384 - "Id": 1186,
3385 - "QuestionId": 13,
3386 - "Text": "San Marino",
3387 - "Value": "San Marino",
3388 - "Order": 150
3389 - },
3390 - {
3391 - "Id": 1194,
3392 - "QuestionId": 13,
3393 - "Text": "Sao Tome and Principe",
3394 - "Value": "Sao Tome and Principe",
3395 - "Order": 151
3396 - },
3397 - {
3398 - "Id": 1202,
3399 - "QuestionId": 13,
3400 - "Text": "Saudi Arabia",
3401 - "Value": "Saudi Arabia",
3402 - "Order": 152
3403 - },
3404 - {
3405 - "Id": 1210,
3406 - "QuestionId": 13,
3407 - "Text": "Senegal",
3408 - "Value": "Senegal",
3409 - "Order": 153
3410 - },
3411 - {
3412 - "Id": 1218,
3413 - "QuestionId": 13,
3414 - "Text": "Serbia and Montenegro",
3415 - "Value": "Serbia and Montenegro",
3416 - "Order": 154
3417 - },
3418 - {
3419 - "Id": 1226,
3420 - "QuestionId": 13,
3421 - "Text": "Seychelles",
3422 - "Value": "Seychelles",
3423 - "Order": 155
3424 - },
3425 - {
3426 - "Id": 1234,
3427 - "QuestionId": 13,
3428 - "Text": "Sierra Leone",
3429 - "Value": "Sierra Leone",
3430 - "Order": 156
3431 - },
3432 - {
3433 - "Id": 1242,
3434 - "QuestionId": 13,
3435 - "Text": "Singapore",
3436 - "Value": "Singapore",
3437 - "Order": 157
3438 - },
3439 - {
3440 - "Id": 1250,
3441 - "QuestionId": 13,
3442 - "Text": "Slovakia",
3443 - "Value": "Slovakia",
3444 - "Order": 158
3445 - },
3446 - {
3447 - "Id": 1258,
3448 - "QuestionId": 13,
3449 - "Text": "Slovenia",
3450 - "Value": "Slovenia",
3451 - "Order": 159
3452 - },
3453 - {
3454 - "Id": 1266,
3455 - "QuestionId": 13,
3456 - "Text": "Solomon Islands",
3457 - "Value": "Solomon Islands",
3458 - "Order": 160
3459 - },
3460 - {
3461 - "Id": 1274,
3462 - "QuestionId": 13,
3463 - "Text": "Somalia",
3464 - "Value": "Somalia",
3465 - "Order": 161
3466 - },
3467 - {
3468 - "Id": 1282,
3469 - "QuestionId": 13,
3470 - "Text": "South Africa",
3471 - "Value": "South Africa",
3472 - "Order": 162
3473 - },
3474 - {
3475 - "Id": 1290,
3476 - "QuestionId": 13,
3477 - "Text": "Spain",
3478 - "Value": "Spain",
3479 - "Order": 163
3480 - },
3481 - {
3482 - "Id": 1298,
3483 - "QuestionId": 13,
3484 - "Text": "Sri Lanka",
3485 - "Value": "Sri Lanka",
3486 - "Order": 164
3487 - },
3488 - {
3489 - "Id": 1306,
3490 - "QuestionId": 13,
3491 - "Text": "Sudan",
3492 - "Value": "Sudan",
3493 - "Order": 165
3494 - },
3495 - {
3496 - "Id": 1314,
3497 - "QuestionId": 13,
3498 - "Text": "Suriname",
3499 - "Value": "Suriname",
3500 - "Order": 166
3501 - },
3502 - {
3503 - "Id": 1322,
3504 - "QuestionId": 13,
3505 - "Text": "Swaziland",
3506 - "Value": "Swaziland",
3507 - "Order": 167
3508 - },
3509 - {
3510 - "Id": 1330,
3511 - "QuestionId": 13,
3512 - "Text": "Sweden",
3513 - "Value": "Sweden",
3514 - "Order": 168
3515 - },
3516 - {
3517 - "Id": 1338,
3518 - "QuestionId": 13,
3519 - "Text": "Switzerland",
3520 - "Value": "Switzerland",
3521 - "Order": 169
3522 - },
3523 - {
3524 - "Id": 1346,
3525 - "QuestionId": 13,
3526 - "Text": "Syria",
3527 - "Value": "Syria",
3528 - "Order": 170
3529 - },
3530 - {
3531 - "Id": 1354,
3532 - "QuestionId": 13,
3533 - "Text": "Taiwan",
3534 - "Value": "Taiwan",
3535 - "Order": 171
3536 - },
3537 - {
3538 - "Id": 1362,
3539 - "QuestionId": 13,
3540 - "Text": "Tajikistan",
3541 - "Value": "Tajikistan",
3542 - "Order": 172
3543 - },
3544 - {
3545 - "Id": 1370,
3546 - "QuestionId": 13,
3547 - "Text": "Tanzania",
3548 - "Value": "Tanzania",
3549 - "Order": 173
3550 - },
3551 - {
3552 - "Id": 1378,
3553 - "QuestionId": 13,
3554 - "Text": "Thailand",
3555 - "Value": "Thailand",
3556 - "Order": 174
3557 - },
3558 - {
3559 - "Id": 1386,
3560 - "QuestionId": 13,
3561 - "Text": "Togo",
3562 - "Value": "Togo",
3563 - "Order": 175
3564 - },
3565 - {
3566 - "Id": 1394,
3567 - "QuestionId": 13,
3568 - "Text": "Tonga",
3569 - "Value": "Tonga",
3570 - "Order": 176
3571 - },
3572 - {
3573 - "Id": 1402,
3574 - "QuestionId": 13,
3575 - "Text": "Trinidad and Tobago",
3576 - "Value": "Trinidad and Tobago",
3577 - "Order": 177
3578 - },
3579 - {
3580 - "Id": 1410,
3581 - "QuestionId": 13,
3582 - "Text": "Tunisia",
3583 - "Value": "Tunisia",
3584 - "Order": 178
3585 - },
3586 - {
3587 - "Id": 1418,
3588 - "QuestionId": 13,
3589 - "Text": "Turkey",
3590 - "Value": "Turkey",
3591 - "Order": 179
3592 - },
3593 - {
3594 - "Id": 1426,
3595 - "QuestionId": 13,
3596 - "Text": "Turkmenistan",
3597 - "Value": "Turkmenistan",
3598 - "Order": 180
3599 - },
3600 - {
3601 - "Id": 1434,
3602 - "QuestionId": 13,
3603 - "Text": "Tuvalu",
3604 - "Value": "Tuvalu",
3605 - "Order": 181
3606 - },
3607 - {
3608 - "Id": 1442,
3609 - "QuestionId": 13,
3610 - "Text": "Uganda",
3611 - "Value": "Uganda",
3612 - "Order": 182
3613 - },
3614 - {
3615 - "Id": 1450,
3616 - "QuestionId": 13,
3617 - "Text": "Ukraine",
3618 - "Value": "Ukraine",
3619 - "Order": 183
3620 - },
3621 - {
3622 - "Id": 1458,
3623 - "QuestionId": 13,
3624 - "Text": "United Arab Emirates",
3625 - "Value": "United Arab Emirates",
3626 - "Order": 184
3627 - },
3628 - {
3629 - "Id": 1466,
3630 - "QuestionId": 13,
3631 - "Text": "United Kingdom",
3632 - "Value": "United Kingdom",
3633 - "Order": 185
3634 - },
3635 - {
3636 - "Id": 1474,
3637 - "QuestionId": 13,
3638 - "Text": "United States",
3639 - "Value": "United States",
3640 - "Order": 2
3641 - },
3642 - {
3643 - "Id": 1482,
3644 - "QuestionId": 13,
3645 - "Text": "Uruguay",
3646 - "Value": "Uruguay",
3647 - "Order": 186
3648 - },
3649 - {
3650 - "Id": 1490,
3651 - "QuestionId": 13,
3652 - "Text": "Uzbekistan",
3653 - "Value": "Uzbekistan",
3654 - "Order": 187
3655 - },
3656 - {
3657 - "Id": 1498,
3658 - "QuestionId": 13,
3659 - "Text": "Vanuatu",
3660 - "Value": "Vanuatu",
3661 - "Order": 188
3662 - },
3663 - {
3664 - "Id": 1506,
3665 - "QuestionId": 13,
3666 - "Text": "Vatican City",
3667 - "Value": "Vatican City",
3668 - "Order": 189
3669 - },
3670 - {
3671 - "Id": 1514,
3672 - "QuestionId": 13,
3673 - "Text": "Venezuela",
3674 - "Value": "Venezuela",
3675 - "Order": 190
3676 - },
3677 - {
3678 - "Id": 1522,
3679 - "QuestionId": 13,
3680 - "Text": "Vietnam",
3681 - "Value": "Vietnam",
3682 - "Order": 191
3683 - },
3684 - {
3685 - "Id": 1530,
3686 - "QuestionId": 13,
3687 - "Text": "Yemen",
3688 - "Value": "Yemen",
3689 - "Order": 192
3690 - },
3691 - {
3692 - "Id": 1538,
3693 - "QuestionId": 13,
3694 - "Text": "Zambia",
3695 - "Value": "Zambia",
3696 - "Order": 193
3697 - },
3698 - {
3699 - "Id": 1546,
3700 - "QuestionId": 13,
3701 - "Text": "Zimbabwe",
3702 - "Value": "Zimbabwe",
3703 - "Order": 194
3704 - },
3705 - {
3706 - "Id": 2186,
3707 - "QuestionId": 13,
3708 - "Text": "British Columbia",
3709 - "Value": "British Columbia",
3710 - "Order": 195
3711 - }
3712 - ]
3713 - },
3714 - {
3715 - "Id": 14,
3716 - "Text": "Phone",
3717 - "Type": "0",
3718 - "Alias": "Phone"
3719 - },
3720 - {
3721 - "Id": 15,
3722 - "Text": "Fax",
3723 - "Type": "0",
3724 - "Alias": "Fax"
3725 - },
3726 - {
3727 - "Id": 18,
3728 - "Text": " NEW QUESTION",
3729 - "Type": "0",
3730 - "Alias": ""
3731 - },
3732 - {
3733 - "Id": 26,
3734 - "Text": " NEW QUESTION",
3735 - "Type": "0",
3736 - "Alias": ""
3737 - },
3738 - {
3739 - "Id": 34,
3740 - "Text": " NEW QUESTION",
3741 - "Type": "0",
3742 - "Alias": ""
3743 - },
3744 - {
3745 - "Id": 42,
3746 - "Text": " NEW QUESTION",
3747 - "Type": "0",
3748 - "Alias": ""
3749 - },
3750 - {
3751 - "Id": 50,
3752 - "Text": " NEW QUESTION",
3753 - "Type": "0",
3754 - "Alias": ""
3755 - },
3756 - {
3757 - "Id": 58,
3758 - "Text": " NEW QUESTION",
3759 - "Type": "0",
3760 - "Alias": ""
3761 - },
3762 - {
3763 - "Id": 66,
3764 - "Text": " NEW QUESTION",
3765 - "Type": "0",
3766 - "Alias": ""
3767 - },
3768 - {
3769 - "Id": 74,
3770 - "Text": " NEW QUESTION",
3771 - "Type": "0",
3772 - "Alias": ""
3773 - },
3774 - {
3775 - "Id": 82,
3776 - "Text": " NEW QUESTION",
3777 - "Type": "0",
3778 - "Alias": ""
3779 - },
3780 - {
3781 - "Id": 90,
3782 - "Text": " NEW QUESTION",
3783 - "Type": "0",
3784 - "Alias": ""
3785 - }
3786 - ]
3787 -}
3788 -{{/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 +)))
3789 3789  
3790 -\\
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 +)))
3791 3791  
3792 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
3793 -== (% 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(%%) ==
3794 -
3795 -----
3796 -
3797 -{{panel bgColor="#D3D3D3" width="100%"}}
3798 - (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/questions/~{~{QUESTION ID}}
3799 -{{/panel}}
3800 -
3801 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
3802 -
3803 -----
3804 -
3805 -(% 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}}
3806 -
3807 -==== Example ====
3808 -
3809 -----
3810 -
3811 -(% style="color: rgb(107,107,107);" %)Request
3812 -
3813 -{{code language="php" theme="RDark" title="Get specific Question Request"}}
3814 -<?php
3815 -
3816 -$curl = curl_init();
3817 -
3818 -curl_setopt_array($curl, array(
3819 - CURLOPT_URL => 'https://api.onecount.net/v2/questions/{{QUESTION ID}}',
3820 - CURLOPT_RETURNTRANSFER => true,
3821 - CURLOPT_ENCODING => '',
3822 - CURLOPT_MAXREDIRS => 10,
3823 - CURLOPT_TIMEOUT => 0,
3824 - CURLOPT_FOLLOWLOCATION => true,
3825 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
3826 - CURLOPT_CUSTOMREQUEST => 'GET',
3827 - CURLOPT_HTTPHEADER => array(
3828 - 'Appkey: {{ONECOUNT API KEY}}'
3829 - ),
3830 -));
3831 -
3832 -$response = curl_exec($curl);
3833 -
3834 -curl_close($curl);
3835 -echo $response;
3836 -{{/code}}
3837 -
3838 3838  \\
3839 3839  
3840 -(% style="color: rgb(107,107,107);" %)Response  200 OK
1965 +(% class="western" %)
1966 +PUT method should be used to update question.
3841 3841  
3842 -{{code language="yml" theme="RDark" title="Get specific question Response" collapse="true"}}
3843 -{
3844 - "result": {
3845 - "success": "1",
3846 - "error": {
3847 - "code": "",
3848 - "message": ""
3849 - }
3850 - },
3851 - "Questions": [
3852 - {
3853 - "Id": 3,
3854 - "Text": "Password",
3855 - "Type": "2",
3856 - "Alias": "Password"
3857 - }
3858 - ]
3859 -}
3860 -{{/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 +)))
3861 3861  
3862 -\\
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 +)))
3863 3863  
3864 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
3865 -== (% 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(%%) ==
3866 -
3867 -----
3868 -
3869 -{{panel bgColor="#D3D3D3" width="100%"}}
3870 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/questions/lookup?Text=COUNTRY
3871 -{{/panel}}
3872 -
3873 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
3874 -
3875 -----
3876 -
3877 -(% 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}}
3878 -
3879 -=== (% style="color: rgb(33,33,33);" %)Query Params(%%) ===
3880 -
3881 -----
3882 -
3883 -(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Text  COUNTRY(%%)
2022 +(% class="western" %)
3884 3884  \\
3885 3885  
3886 -==== Example ====
2025 +(% class="western" %)
2026 +Example: Get list of questions from api which has FirstName in text
3887 3887  
3888 -----
2028 +{{{curl -X GET -H “Appkey: xxx” https://api.onecount.net/v2/questions/lookup?Text=FirstName}}}
3889 3889  
3890 -(% style="color: rgb(107,107,107);" %)Request
3891 -
3892 -{{code language="php" theme="RDark" title="Lookup question by text Request"}}
3893 -<?php
3894 -
3895 -$curl = curl_init();
3896 -
3897 -curl_setopt_array($curl, array(
3898 - CURLOPT_URL => 'https://api.onecount.net/v2/questions/lookup?Text=COUNTRY',
3899 - CURLOPT_RETURNTRANSFER => true,
3900 - CURLOPT_ENCODING => '',
3901 - CURLOPT_MAXREDIRS => 10,
3902 - CURLOPT_TIMEOUT => 0,
3903 - CURLOPT_FOLLOWLOCATION => true,
3904 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
3905 - CURLOPT_CUSTOMREQUEST => 'GET',
3906 - CURLOPT_HTTPHEADER => array(
3907 - 'Appkey: {{ONECOUNT API KEY}}'
3908 - ),
3909 -));
3910 -
3911 -$response = curl_exec($curl);
3912 -
3913 -curl_close($curl);
3914 -echo $response;
3915 -{{/code}}
3916 -
3917 -\\
3918 -
3919 -(% style="color: rgb(107,107,107);" %)Response  200 OK
3920 -
3921 -{{code language="yml" theme="RDark" title="Lookup question by title Response" collapse="true"}}
2030 +(% class="western" %)
3922 3922  {
3923 - "result": {
3924 - "success": "1",
3925 - "error": {
3926 - "code": "",
3927 - "message": ""
3928 - }
3929 - },
3930 - "Questions": [
3931 - {
3932 - "Id": 13,
3933 - "Text": "Country",
3934 - "Type": "4",
3935 - "Alias": "Country",
3936 - "Choices": [
3937 - {
3938 - "Id": 2,
3939 - "QuestionId": 13,
3940 - "Text": "Select One",
3941 - "Value": "",
3942 - "Order": 1
3943 - },
3944 - {
3945 - "Id": 10,
3946 - "QuestionId": 13,
3947 - "Text": "Afghanistan",
3948 - "Value": "Afghanistan",
3949 - "Order": 3
3950 - },
3951 - {
3952 - "Id": 18,
3953 - "QuestionId": 13,
3954 - "Text": "Albania",
3955 - "Value": "Albania",
3956 - "Order": 4
3957 - },
3958 - {
3959 - "Id": 26,
3960 - "QuestionId": 13,
3961 - "Text": "Algeria",
3962 - "Value": "Algeria",
3963 - "Order": 5
3964 - },
3965 - {
3966 - "Id": 34,
3967 - "QuestionId": 13,
3968 - "Text": "Andorra",
3969 - "Value": "Andorra",
3970 - "Order": 6
3971 - },
3972 - {
3973 - "Id": 42,
3974 - "QuestionId": 13,
3975 - "Text": "Angola",
3976 - "Value": "Angola",
3977 - "Order": 7
3978 - },
3979 - {
3980 - "Id": 50,
3981 - "QuestionId": 13,
3982 - "Text": "Antigua and Barbuda",
3983 - "Value": "Antigua and Barbuda",
3984 - "Order": 8
3985 - },
3986 - {
3987 - "Id": 58,
3988 - "QuestionId": 13,
3989 - "Text": "Argentina",
3990 - "Value": "Argentina",
3991 - "Order": 9
3992 - },
3993 - {
3994 - "Id": 66,
3995 - "QuestionId": 13,
3996 - "Text": "Armenia",
3997 - "Value": "Armenia",
3998 - "Order": 10
3999 - },
4000 - {
4001 - "Id": 74,
4002 - "QuestionId": 13,
4003 - "Text": "Australia",
4004 - "Value": "Australia",
4005 - "Order": 11
4006 - },
4007 - {
4008 - "Id": 82,
4009 - "QuestionId": 13,
4010 - "Text": "Austria",
4011 - "Value": "Austria",
4012 - "Order": 12
4013 - },
4014 - {
4015 - "Id": 90,
4016 - "QuestionId": 13,
4017 - "Text": "Azerbaijan",
4018 - "Value": "Azerbaijan",
4019 - "Order": 13
4020 - },
4021 - {
4022 - "Id": 98,
4023 - "QuestionId": 13,
4024 - "Text": "Bahamas",
4025 - "Value": "Bahamas",
4026 - "Order": 14
4027 - },
4028 - {
4029 - "Id": 106,
4030 - "QuestionId": 13,
4031 - "Text": "Bahrain",
4032 - "Value": "Bahrain",
4033 - "Order": 15
4034 - },
4035 - {
4036 - "Id": 114,
4037 - "QuestionId": 13,
4038 - "Text": "Bangladesh",
4039 - "Value": "Bangladesh",
4040 - "Order": 16
4041 - },
4042 - {
4043 - "Id": 122,
4044 - "QuestionId": 13,
4045 - "Text": "Barbados",
4046 - "Value": "Barbados",
4047 - "Order": 17
4048 - },
4049 - {
4050 - "Id": 130,
4051 - "QuestionId": 13,
4052 - "Text": "Belarus",
4053 - "Value": "Belarus",
4054 - "Order": 18
4055 - },
4056 - {
4057 - "Id": 138,
4058 - "QuestionId": 13,
4059 - "Text": "Belgium",
4060 - "Value": "Belgium",
4061 - "Order": 19
4062 - },
4063 - {
4064 - "Id": 146,
4065 - "QuestionId": 13,
4066 - "Text": "Belize",
4067 - "Value": "Belize",
4068 - "Order": 20
4069 - },
4070 - {
4071 - "Id": 154,
4072 - "QuestionId": 13,
4073 - "Text": "Benin",
4074 - "Value": "Benin",
4075 - "Order": 21
4076 - },
4077 - {
4078 - "Id": 162,
4079 - "QuestionId": 13,
4080 - "Text": "Bhutan",
4081 - "Value": "Bhutan",
4082 - "Order": 22
4083 - },
4084 - {
4085 - "Id": 170,
4086 - "QuestionId": 13,
4087 - "Text": "Bolivia",
4088 - "Value": "Bolivia",
4089 - "Order": 23
4090 - },
4091 - {
4092 - "Id": 178,
4093 - "QuestionId": 13,
4094 - "Text": "Bosnia and Herzegovina",
4095 - "Value": "Bosnia and Herzegovina",
4096 - "Order": 24
4097 - },
4098 - {
4099 - "Id": 186,
4100 - "QuestionId": 13,
4101 - "Text": "Botswana",
4102 - "Value": "Botswana",
4103 - "Order": 25
4104 - },
4105 - {
4106 - "Id": 194,
4107 - "QuestionId": 13,
4108 - "Text": "Brazil",
4109 - "Value": "Brazil",
4110 - "Order": 26
4111 - },
4112 - {
4113 - "Id": 202,
4114 - "QuestionId": 13,
4115 - "Text": "Brunei",
4116 - "Value": "Brunei",
4117 - "Order": 27
4118 - },
4119 - {
4120 - "Id": 210,
4121 - "QuestionId": 13,
4122 - "Text": "Bulgaria",
4123 - "Value": "Bulgaria",
4124 - "Order": 28
4125 - },
4126 - {
4127 - "Id": 218,
4128 - "QuestionId": 13,
4129 - "Text": "Burkina Faso",
4130 - "Value": "Burkina Faso",
4131 - "Order": 29
4132 - },
4133 - {
4134 - "Id": 226,
4135 - "QuestionId": 13,
4136 - "Text": "Burundi",
4137 - "Value": "Burundi",
4138 - "Order": 30
4139 - },
4140 - {
4141 - "Id": 234,
4142 - "QuestionId": 13,
4143 - "Text": "Cambodia",
4144 - "Value": "Cambodia",
4145 - "Order": 31
4146 - },
4147 - {
4148 - "Id": 242,
4149 - "QuestionId": 13,
4150 - "Text": "Cameroon",
4151 - "Value": "Cameroon",
4152 - "Order": 32
4153 - },
4154 - {
4155 - "Id": 250,
4156 - "QuestionId": 13,
4157 - "Text": "Canada",
4158 - "Value": "Canada",
4159 - "Order": 33
4160 - },
4161 - {
4162 - "Id": 258,
4163 - "QuestionId": 13,
4164 - "Text": "Cape Verde",
4165 - "Value": "Cape Verde",
4166 - "Order": 34
4167 - },
4168 - {
4169 - "Id": 266,
4170 - "QuestionId": 13,
4171 - "Text": "Central African Republic",
4172 - "Value": "Central African Republic",
4173 - "Order": 35
4174 - },
4175 - {
4176 - "Id": 274,
4177 - "QuestionId": 13,
4178 - "Text": "Chad",
4179 - "Value": "Chad",
4180 - "Order": 36
4181 - },
4182 - {
4183 - "Id": 282,
4184 - "QuestionId": 13,
4185 - "Text": "Chile",
4186 - "Value": "Chile",
4187 - "Order": 37
4188 - },
4189 - {
4190 - "Id": 290,
4191 - "QuestionId": 13,
4192 - "Text": "China",
4193 - "Value": "China",
4194 - "Order": 38
4195 - },
4196 - {
4197 - "Id": 298,
4198 - "QuestionId": 13,
4199 - "Text": "Colombia",
4200 - "Value": "Colombia",
4201 - "Order": 39
4202 - },
4203 - {
4204 - "Id": 306,
4205 - "QuestionId": 13,
4206 - "Text": "Comoros",
4207 - "Value": "Comoros",
4208 - "Order": 40
4209 - },
4210 - {
4211 - "Id": 314,
4212 - "QuestionId": 13,
4213 - "Text": "Congo (Brazzaville)",
4214 - "Value": "Congo (Brazzaville)",
4215 - "Order": 41
4216 - },
4217 - {
4218 - "Id": 322,
4219 - "QuestionId": 13,
4220 - "Text": "Congo",
4221 - "Value": "Congo",
4222 - "Order": 42
4223 - },
4224 - {
4225 - "Id": 330,
4226 - "QuestionId": 13,
4227 - "Text": "Costa Rica",
4228 - "Value": "Costa Rica",
4229 - "Order": 43
4230 - },
4231 - {
4232 - "Id": 338,
4233 - "QuestionId": 13,
4234 - "Text": "Cote d'Ivoire",
4235 - "Value": "Cote d'Ivoire",
4236 - "Order": 44
4237 - },
4238 - {
4239 - "Id": 346,
4240 - "QuestionId": 13,
4241 - "Text": "Croatia",
4242 - "Value": "Croatia",
4243 - "Order": 45
4244 - },
4245 - {
4246 - "Id": 354,
4247 - "QuestionId": 13,
4248 - "Text": "Cuba",
4249 - "Value": "Cuba",
4250 - "Order": 46
4251 - },
4252 - {
4253 - "Id": 362,
4254 - "QuestionId": 13,
4255 - "Text": "Cyprus",
4256 - "Value": "Cyprus",
4257 - "Order": 47
4258 - },
4259 - {
4260 - "Id": 370,
4261 - "QuestionId": 13,
4262 - "Text": "Czech Republic",
4263 - "Value": "Czech Republic",
4264 - "Order": 48
4265 - },
4266 - {
4267 - "Id": 378,
4268 - "QuestionId": 13,
4269 - "Text": "Denmark",
4270 - "Value": "Denmark",
4271 - "Order": 49
4272 - },
4273 - {
4274 - "Id": 386,
4275 - "QuestionId": 13,
4276 - "Text": "Djibouti",
4277 - "Value": "Djibouti",
4278 - "Order": 50
4279 - },
4280 - {
4281 - "Id": 394,
4282 - "QuestionId": 13,
4283 - "Text": "Dominica",
4284 - "Value": "Dominica",
4285 - "Order": 51
4286 - },
4287 - {
4288 - "Id": 402,
4289 - "QuestionId": 13,
4290 - "Text": "Dominican Republic",
4291 - "Value": "Dominican Republic",
4292 - "Order": 52
4293 - },
4294 - {
4295 - "Id": 410,
4296 - "QuestionId": 13,
4297 - "Text": "East Timor",
4298 - "Value": "East Timor",
4299 - "Order": 53
4300 - },
4301 - {
4302 - "Id": 418,
4303 - "QuestionId": 13,
4304 - "Text": "Ecuador",
4305 - "Value": "Ecuador",
4306 - "Order": 54
4307 - },
4308 - {
4309 - "Id": 426,
4310 - "QuestionId": 13,
4311 - "Text": "Egypt",
4312 - "Value": "Egypt",
4313 - "Order": 55
4314 - },
4315 - {
4316 - "Id": 434,
4317 - "QuestionId": 13,
4318 - "Text": "El Salvador",
4319 - "Value": "El Salvador",
4320 - "Order": 56
4321 - },
4322 - {
4323 - "Id": 442,
4324 - "QuestionId": 13,
4325 - "Text": "Equatorial Guinea",
4326 - "Value": "Equatorial Guinea",
4327 - "Order": 57
4328 - },
4329 - {
4330 - "Id": 450,
4331 - "QuestionId": 13,
4332 - "Text": "Eritrea",
4333 - "Value": "Eritrea",
4334 - "Order": 58
4335 - },
4336 - {
4337 - "Id": 458,
4338 - "QuestionId": 13,
4339 - "Text": "Estonia",
4340 - "Value": "Estonia",
4341 - "Order": 59
4342 - },
4343 - {
4344 - "Id": 466,
4345 - "QuestionId": 13,
4346 - "Text": "Ethiopia",
4347 - "Value": "Ethiopia",
4348 - "Order": 60
4349 - },
4350 - {
4351 - "Id": 474,
4352 - "QuestionId": 13,
4353 - "Text": "Fiji",
4354 - "Value": "Fiji",
4355 - "Order": 61
4356 - },
4357 - {
4358 - "Id": 482,
4359 - "QuestionId": 13,
4360 - "Text": "Finland",
4361 - "Value": "Finland",
4362 - "Order": 62
4363 - },
4364 - {
4365 - "Id": 490,
4366 - "QuestionId": 13,
4367 - "Text": "France",
4368 - "Value": "France",
4369 - "Order": 63
4370 - },
4371 - {
4372 - "Id": 498,
4373 - "QuestionId": 13,
4374 - "Text": "Gabon",
4375 - "Value": "Gabon",
4376 - "Order": 64
4377 - },
4378 - {
4379 - "Id": 506,
4380 - "QuestionId": 13,
4381 - "Text": "Gambia, The",
4382 - "Value": "Gambia, The",
4383 - "Order": 65
4384 - },
4385 - {
4386 - "Id": 514,
4387 - "QuestionId": 13,
4388 - "Text": "Georgia",
4389 - "Value": "Georgia",
4390 - "Order": 66
4391 - },
4392 - {
4393 - "Id": 522,
4394 - "QuestionId": 13,
4395 - "Text": "Germany",
4396 - "Value": "Germany",
4397 - "Order": 67
4398 - },
4399 - {
4400 - "Id": 530,
4401 - "QuestionId": 13,
4402 - "Text": "Ghana",
4403 - "Value": "Ghana",
4404 - "Order": 68
4405 - },
4406 - {
4407 - "Id": 538,
4408 - "QuestionId": 13,
4409 - "Text": "Greece",
4410 - "Value": "Greece",
4411 - "Order": 69
4412 - },
4413 - {
4414 - "Id": 546,
4415 - "QuestionId": 13,
4416 - "Text": "Grenada",
4417 - "Value": "Grenada",
4418 - "Order": 70
4419 - },
4420 - {
4421 - "Id": 554,
4422 - "QuestionId": 13,
4423 - "Text": "Guatemala",
4424 - "Value": "Guatemala",
4425 - "Order": 71
4426 - },
4427 - {
4428 - "Id": 562,
4429 - "QuestionId": 13,
4430 - "Text": "Guinea",
4431 - "Value": "Guinea",
4432 - "Order": 72
4433 - },
4434 - {
4435 - "Id": 570,
4436 - "QuestionId": 13,
4437 - "Text": "Guinea-Bissau",
4438 - "Value": "Guinea-Bissau",
4439 - "Order": 73
4440 - },
4441 - {
4442 - "Id": 578,
4443 - "QuestionId": 13,
4444 - "Text": "Guyana",
4445 - "Value": "Guyana",
4446 - "Order": 74
4447 - },
4448 - {
4449 - "Id": 586,
4450 - "QuestionId": 13,
4451 - "Text": "Haiti",
4452 - "Value": "Haiti",
4453 - "Order": 75
4454 - },
4455 - {
4456 - "Id": 594,
4457 - "QuestionId": 13,
4458 - "Text": "Honduras",
4459 - "Value": "Honduras",
4460 - "Order": 76
4461 - },
4462 - {
4463 - "Id": 602,
4464 - "QuestionId": 13,
4465 - "Text": "Hungary",
4466 - "Value": "Hungary",
4467 - "Order": 77
4468 - },
4469 - {
4470 - "Id": 610,
4471 - "QuestionId": 13,
4472 - "Text": "Iceland",
4473 - "Value": "Iceland",
4474 - "Order": 78
4475 - },
4476 - {
4477 - "Id": 618,
4478 - "QuestionId": 13,
4479 - "Text": "India",
4480 - "Value": "India",
4481 - "Order": 79
4482 - },
4483 - {
4484 - "Id": 626,
4485 - "QuestionId": 13,
4486 - "Text": "Indonesia",
4487 - "Value": "Indonesia",
4488 - "Order": 80
4489 - },
4490 - {
4491 - "Id": 634,
4492 - "QuestionId": 13,
4493 - "Text": "Iran",
4494 - "Value": "Iran",
4495 - "Order": 81
4496 - },
4497 - {
4498 - "Id": 642,
4499 - "QuestionId": 13,
4500 - "Text": "Iraq",
4501 - "Value": "Iraq",
4502 - "Order": 82
4503 - },
4504 - {
4505 - "Id": 650,
4506 - "QuestionId": 13,
4507 - "Text": "Ireland",
4508 - "Value": "Ireland",
4509 - "Order": 83
4510 - },
4511 - {
4512 - "Id": 658,
4513 - "QuestionId": 13,
4514 - "Text": "Israel",
4515 - "Value": "Israel",
4516 - "Order": 84
4517 - },
4518 - {
4519 - "Id": 666,
4520 - "QuestionId": 13,
4521 - "Text": "Italy",
4522 - "Value": "Italy",
4523 - "Order": 85
4524 - },
4525 - {
4526 - "Id": 674,
4527 - "QuestionId": 13,
4528 - "Text": "Jamaica",
4529 - "Value": "Jamaica",
4530 - "Order": 86
4531 - },
4532 - {
4533 - "Id": 682,
4534 - "QuestionId": 13,
4535 - "Text": "Japan",
4536 - "Value": "Japan",
4537 - "Order": 87
4538 - },
4539 - {
4540 - "Id": 690,
4541 - "QuestionId": 13,
4542 - "Text": "Jordan",
4543 - "Value": "Jordan",
4544 - "Order": 88
4545 - },
4546 - {
4547 - "Id": 698,
4548 - "QuestionId": 13,
4549 - "Text": "Kazakhstan",
4550 - "Value": "Kazakhstan",
4551 - "Order": 89
4552 - },
4553 - {
4554 - "Id": 706,
4555 - "QuestionId": 13,
4556 - "Text": "Kenya",
4557 - "Value": "Kenya",
4558 - "Order": 90
4559 - },
4560 - {
4561 - "Id": 714,
4562 - "QuestionId": 13,
4563 - "Text": "Kiribati",
4564 - "Value": "Kiribati",
4565 - "Order": 91
4566 - },
4567 - {
4568 - "Id": 722,
4569 - "QuestionId": 13,
4570 - "Text": "Korea, North",
4571 - "Value": "Korea, North",
4572 - "Order": 92
4573 - },
4574 - {
4575 - "Id": 730,
4576 - "QuestionId": 13,
4577 - "Text": "Korea, South",
4578 - "Value": "Korea, South",
4579 - "Order": 93
4580 - },
4581 - {
4582 - "Id": 738,
4583 - "QuestionId": 13,
4584 - "Text": "Kuwait",
4585 - "Value": "Kuwait",
4586 - "Order": 94
4587 - },
4588 - {
4589 - "Id": 746,
4590 - "QuestionId": 13,
4591 - "Text": "Kyrgyzstan",
4592 - "Value": "Kyrgyzstan",
4593 - "Order": 95
4594 - },
4595 - {
4596 - "Id": 754,
4597 - "QuestionId": 13,
4598 - "Text": "Laos",
4599 - "Value": "Laos",
4600 - "Order": 96
4601 - },
4602 - {
4603 - "Id": 762,
4604 - "QuestionId": 13,
4605 - "Text": "Latvia",
4606 - "Value": "Latvia",
4607 - "Order": 97
4608 - },
4609 - {
4610 - "Id": 770,
4611 - "QuestionId": 13,
4612 - "Text": "Lebanon",
4613 - "Value": "Lebanon",
4614 - "Order": 98
4615 - },
4616 - {
4617 - "Id": 778,
4618 - "QuestionId": 13,
4619 - "Text": "Lesotho",
4620 - "Value": "Lesotho",
4621 - "Order": 99
4622 - },
4623 - {
4624 - "Id": 786,
4625 - "QuestionId": 13,
4626 - "Text": "Liberia",
4627 - "Value": "Liberia",
4628 - "Order": 100
4629 - },
4630 - {
4631 - "Id": 794,
4632 - "QuestionId": 13,
4633 - "Text": "Libya",
4634 - "Value": "Libya",
4635 - "Order": 101
4636 - },
4637 - {
4638 - "Id": 802,
4639 - "QuestionId": 13,
4640 - "Text": "Liechtenstein",
4641 - "Value": "Liechtenstein",
4642 - "Order": 102
4643 - },
4644 - {
4645 - "Id": 810,
4646 - "QuestionId": 13,
4647 - "Text": "Lithuania",
4648 - "Value": "Lithuania",
4649 - "Order": 103
4650 - },
4651 - {
4652 - "Id": 818,
4653 - "QuestionId": 13,
4654 - "Text": "Luxembourg",
4655 - "Value": "Luxembourg",
4656 - "Order": 104
4657 - },
4658 - {
4659 - "Id": 826,
4660 - "QuestionId": 13,
4661 - "Text": "Macedonia",
4662 - "Value": "Macedonia",
4663 - "Order": 105
4664 - },
4665 - {
4666 - "Id": 834,
4667 - "QuestionId": 13,
4668 - "Text": "Madagascar",
4669 - "Value": "Madagascar",
4670 - "Order": 106
4671 - },
4672 - {
4673 - "Id": 842,
4674 - "QuestionId": 13,
4675 - "Text": "Malawi",
4676 - "Value": "Malawi",
4677 - "Order": 107
4678 - },
4679 - {
4680 - "Id": 850,
4681 - "QuestionId": 13,
4682 - "Text": "Malaysia",
4683 - "Value": "Malaysia",
4684 - "Order": 108
4685 - },
4686 - {
4687 - "Id": 858,
4688 - "QuestionId": 13,
4689 - "Text": "Maldives",
4690 - "Value": "Maldives",
4691 - "Order": 109
4692 - },
4693 - {
4694 - "Id": 866,
4695 - "QuestionId": 13,
4696 - "Text": "Mali",
4697 - "Value": "Mali",
4698 - "Order": 110
4699 - },
4700 - {
4701 - "Id": 874,
4702 - "QuestionId": 13,
4703 - "Text": "Malta",
4704 - "Value": "Malta",
4705 - "Order": 111
4706 - },
4707 - {
4708 - "Id": 882,
4709 - "QuestionId": 13,
4710 - "Text": "Marshall Islands",
4711 - "Value": "Marshall Islands",
4712 - "Order": 112
4713 - },
4714 - {
4715 - "Id": 890,
4716 - "QuestionId": 13,
4717 - "Text": "Mauritania",
4718 - "Value": "Mauritania",
4719 - "Order": 113
4720 - },
4721 - {
4722 - "Id": 898,
4723 - "QuestionId": 13,
4724 - "Text": "Mauritius",
4725 - "Value": "Mauritius",
4726 - "Order": 114
4727 - },
4728 - {
4729 - "Id": 906,
4730 - "QuestionId": 13,
4731 - "Text": "Mexico",
4732 - "Value": "Mexico",
4733 - "Order": 115
4734 - },
4735 - {
4736 - "Id": 914,
4737 - "QuestionId": 13,
4738 - "Text": "Micronesia",
4739 - "Value": "Micronesia",
4740 - "Order": 116
4741 - },
4742 - {
4743 - "Id": 922,
4744 - "QuestionId": 13,
4745 - "Text": "Moldova",
4746 - "Value": "Moldova",
4747 - "Order": 117
4748 - },
4749 - {
4750 - "Id": 930,
4751 - "QuestionId": 13,
4752 - "Text": "Monaco",
4753 - "Value": "Monaco",
4754 - "Order": 118
4755 - },
4756 - {
4757 - "Id": 938,
4758 - "QuestionId": 13,
4759 - "Text": "Mongolia",
4760 - "Value": "Mongolia",
4761 - "Order": 119
4762 - },
4763 - {
4764 - "Id": 946,
4765 - "QuestionId": 13,
4766 - "Text": "Morocco",
4767 - "Value": "Morocco",
4768 - "Order": 120
4769 - },
4770 - {
4771 - "Id": 954,
4772 - "QuestionId": 13,
4773 - "Text": "Mozambique",
4774 - "Value": "Mozambique",
4775 - "Order": 121
4776 - },
4777 - {
4778 - "Id": 962,
4779 - "QuestionId": 13,
4780 - "Text": "Myanmar",
4781 - "Value": "Myanmar",
4782 - "Order": 122
4783 - },
4784 - {
4785 - "Id": 970,
4786 - "QuestionId": 13,
4787 - "Text": "Namibia",
4788 - "Value": "Namibia",
4789 - "Order": 123
4790 - },
4791 - {
4792 - "Id": 978,
4793 - "QuestionId": 13,
4794 - "Text": "Nauru",
4795 - "Value": "Nauru",
4796 - "Order": 124
4797 - },
4798 - {
4799 - "Id": 986,
4800 - "QuestionId": 13,
4801 - "Text": "Nepa",
4802 - "Value": "Nepa",
4803 - "Order": 125
4804 - },
4805 - {
4806 - "Id": 994,
4807 - "QuestionId": 13,
4808 - "Text": "Netherlands",
4809 - "Value": "Netherlands",
4810 - "Order": 126
4811 - },
4812 - {
4813 - "Id": 1002,
4814 - "QuestionId": 13,
4815 - "Text": "New Zealand",
4816 - "Value": "New Zealand",
4817 - "Order": 127
4818 - },
4819 - {
4820 - "Id": 1010,
4821 - "QuestionId": 13,
4822 - "Text": "Nicaragua",
4823 - "Value": "Nicaragua",
4824 - "Order": 128
4825 - },
4826 - {
4827 - "Id": 1018,
4828 - "QuestionId": 13,
4829 - "Text": "Niger",
4830 - "Value": "Niger",
4831 - "Order": 129
4832 - },
4833 - {
4834 - "Id": 1026,
4835 - "QuestionId": 13,
4836 - "Text": "Nigeria",
4837 - "Value": "Nigeria",
4838 - "Order": 130
4839 - },
4840 - {
4841 - "Id": 1034,
4842 - "QuestionId": 13,
4843 - "Text": "Norway",
4844 - "Value": "Norway",
4845 - "Order": 131
4846 - },
4847 - {
4848 - "Id": 1042,
4849 - "QuestionId": 13,
4850 - "Text": "Oman",
4851 - "Value": "Oman",
4852 - "Order": 132
4853 - },
4854 - {
4855 - "Id": 1050,
4856 - "QuestionId": 13,
4857 - "Text": "Pakistan",
4858 - "Value": "Pakistan",
4859 - "Order": 133
4860 - },
4861 - {
4862 - "Id": 1058,
4863 - "QuestionId": 13,
4864 - "Text": "Palau",
4865 - "Value": "Palau",
4866 - "Order": 134
4867 - },
4868 - {
4869 - "Id": 1066,
4870 - "QuestionId": 13,
4871 - "Text": "Panama",
4872 - "Value": "Panama",
4873 - "Order": 135
4874 - },
4875 - {
4876 - "Id": 1074,
4877 - "QuestionId": 13,
4878 - "Text": "Papua New Guinea",
4879 - "Value": "Papua New Guinea",
4880 - "Order": 136
4881 - },
4882 - {
4883 - "Id": 1082,
4884 - "QuestionId": 13,
4885 - "Text": "Paraguay",
4886 - "Value": "Paraguay",
4887 - "Order": 137
4888 - },
4889 - {
4890 - "Id": 1090,
4891 - "QuestionId": 13,
4892 - "Text": "Peru",
4893 - "Value": "Peru",
4894 - "Order": 138
4895 - },
4896 - {
4897 - "Id": 1098,
4898 - "QuestionId": 13,
4899 - "Text": "Philippines",
4900 - "Value": "Philippines",
4901 - "Order": 139
4902 - },
4903 - {
4904 - "Id": 1106,
4905 - "QuestionId": 13,
4906 - "Text": "Poland",
4907 - "Value": "Poland",
4908 - "Order": 140
4909 - },
4910 - {
4911 - "Id": 1114,
4912 - "QuestionId": 13,
4913 - "Text": "Portugal",
4914 - "Value": "Portugal",
4915 - "Order": 141
4916 - },
4917 - {
4918 - "Id": 1122,
4919 - "QuestionId": 13,
4920 - "Text": "Qatar",
4921 - "Value": "Qatar",
4922 - "Order": 142
4923 - },
4924 - {
4925 - "Id": 1130,
4926 - "QuestionId": 13,
4927 - "Text": "Romania",
4928 - "Value": "Romania",
4929 - "Order": 143
4930 - },
4931 - {
4932 - "Id": 1138,
4933 - "QuestionId": 13,
4934 - "Text": "Russia",
4935 - "Value": "Russia",
4936 - "Order": 144
4937 - },
4938 - {
4939 - "Id": 1146,
4940 - "QuestionId": 13,
4941 - "Text": "Rwanda",
4942 - "Value": "Rwanda",
4943 - "Order": 145
4944 - },
4945 - {
4946 - "Id": 1154,
4947 - "QuestionId": 13,
4948 - "Text": "Saint Kitts and Nevis",
4949 - "Value": "Saint Kitts and Nevis",
4950 - "Order": 146
4951 - },
4952 - {
4953 - "Id": 1162,
4954 - "QuestionId": 13,
4955 - "Text": "Saint Lucia",
4956 - "Value": "Saint Lucia",
4957 - "Order": 147
4958 - },
4959 - {
4960 - "Id": 1170,
4961 - "QuestionId": 13,
4962 - "Text": "Saint Vincent",
4963 - "Value": "Saint Vincent",
4964 - "Order": 148
4965 - },
4966 - {
4967 - "Id": 1178,
4968 - "QuestionId": 13,
4969 - "Text": "Samoa",
4970 - "Value": "Samoa",
4971 - "Order": 149
4972 - },
4973 - {
4974 - "Id": 1186,
4975 - "QuestionId": 13,
4976 - "Text": "San Marino",
4977 - "Value": "San Marino",
4978 - "Order": 150
4979 - },
4980 - {
4981 - "Id": 1194,
4982 - "QuestionId": 13,
4983 - "Text": "Sao Tome and Principe",
4984 - "Value": "Sao Tome and Principe",
4985 - "Order": 151
4986 - },
4987 - {
4988 - "Id": 1202,
4989 - "QuestionId": 13,
4990 - "Text": "Saudi Arabia",
4991 - "Value": "Saudi Arabia",
4992 - "Order": 152
4993 - },
4994 - {
4995 - "Id": 1210,
4996 - "QuestionId": 13,
4997 - "Text": "Senegal",
4998 - "Value": "Senegal",
4999 - "Order": 153
5000 - },
5001 - {
5002 - "Id": 1218,
5003 - "QuestionId": 13,
5004 - "Text": "Serbia and Montenegro",
5005 - "Value": "Serbia and Montenegro",
5006 - "Order": 154
5007 - },
5008 - {
5009 - "Id": 1226,
5010 - "QuestionId": 13,
5011 - "Text": "Seychelles",
5012 - "Value": "Seychelles",
5013 - "Order": 155
5014 - },
5015 - {
5016 - "Id": 1234,
5017 - "QuestionId": 13,
5018 - "Text": "Sierra Leone",
5019 - "Value": "Sierra Leone",
5020 - "Order": 156
5021 - },
5022 - {
5023 - "Id": 1242,
5024 - "QuestionId": 13,
5025 - "Text": "Singapore",
5026 - "Value": "Singapore",
5027 - "Order": 157
5028 - },
5029 - {
5030 - "Id": 1250,
5031 - "QuestionId": 13,
5032 - "Text": "Slovakia",
5033 - "Value": "Slovakia",
5034 - "Order": 158
5035 - },
5036 - {
5037 - "Id": 1258,
5038 - "QuestionId": 13,
5039 - "Text": "Slovenia",
5040 - "Value": "Slovenia",
5041 - "Order": 159
5042 - },
5043 - {
5044 - "Id": 1266,
5045 - "QuestionId": 13,
5046 - "Text": "Solomon Islands",
5047 - "Value": "Solomon Islands",
5048 - "Order": 160
5049 - },
5050 - {
5051 - "Id": 1274,
5052 - "QuestionId": 13,
5053 - "Text": "Somalia",
5054 - "Value": "Somalia",
5055 - "Order": 161
5056 - },
5057 - {
5058 - "Id": 1282,
5059 - "QuestionId": 13,
5060 - "Text": "South Africa",
5061 - "Value": "South Africa",
5062 - "Order": 162
5063 - },
5064 - {
5065 - "Id": 1290,
5066 - "QuestionId": 13,
5067 - "Text": "Spain",
5068 - "Value": "Spain",
5069 - "Order": 163
5070 - },
5071 - {
5072 - "Id": 1298,
5073 - "QuestionId": 13,
5074 - "Text": "Sri Lanka",
5075 - "Value": "Sri Lanka",
5076 - "Order": 164
5077 - },
5078 - {
5079 - "Id": 1306,
5080 - "QuestionId": 13,
5081 - "Text": "Sudan",
5082 - "Value": "Sudan",
5083 - "Order": 165
5084 - },
5085 - {
5086 - "Id": 1314,
5087 - "QuestionId": 13,
5088 - "Text": "Suriname",
5089 - "Value": "Suriname",
5090 - "Order": 166
5091 - },
5092 - {
5093 - "Id": 1322,
5094 - "QuestionId": 13,
5095 - "Text": "Swaziland",
5096 - "Value": "Swaziland",
5097 - "Order": 167
5098 - },
5099 - {
5100 - "Id": 1330,
5101 - "QuestionId": 13,
5102 - "Text": "Sweden",
5103 - "Value": "Sweden",
5104 - "Order": 168
5105 - },
5106 - {
5107 - "Id": 1338,
5108 - "QuestionId": 13,
5109 - "Text": "Switzerland",
5110 - "Value": "Switzerland",
5111 - "Order": 169
5112 - },
5113 - {
5114 - "Id": 1346,
5115 - "QuestionId": 13,
5116 - "Text": "Syria",
5117 - "Value": "Syria",
5118 - "Order": 170
5119 - },
5120 - {
5121 - "Id": 1354,
5122 - "QuestionId": 13,
5123 - "Text": "Taiwan",
5124 - "Value": "Taiwan",
5125 - "Order": 171
5126 - },
5127 - {
5128 - "Id": 1362,
5129 - "QuestionId": 13,
5130 - "Text": "Tajikistan",
5131 - "Value": "Tajikistan",
5132 - "Order": 172
5133 - },
5134 - {
5135 - "Id": 1370,
5136 - "QuestionId": 13,
5137 - "Text": "Tanzania",
5138 - "Value": "Tanzania",
5139 - "Order": 173
5140 - },
5141 - {
5142 - "Id": 1378,
5143 - "QuestionId": 13,
5144 - "Text": "Thailand",
5145 - "Value": "Thailand",
5146 - "Order": 174
5147 - },
5148 - {
5149 - "Id": 1386,
5150 - "QuestionId": 13,
5151 - "Text": "Togo",
5152 - "Value": "Togo",
5153 - "Order": 175
5154 - },
5155 - {
5156 - "Id": 1394,
5157 - "QuestionId": 13,
5158 - "Text": "Tonga",
5159 - "Value": "Tonga",
5160 - "Order": 176
5161 - },
5162 - {
5163 - "Id": 1402,
5164 - "QuestionId": 13,
5165 - "Text": "Trinidad and Tobago",
5166 - "Value": "Trinidad and Tobago",
5167 - "Order": 177
5168 - },
5169 - {
5170 - "Id": 1410,
5171 - "QuestionId": 13,
5172 - "Text": "Tunisia",
5173 - "Value": "Tunisia",
5174 - "Order": 178
5175 - },
5176 - {
5177 - "Id": 1418,
5178 - "QuestionId": 13,
5179 - "Text": "Turkey",
5180 - "Value": "Turkey",
5181 - "Order": 179
5182 - },
5183 - {
5184 - "Id": 1426,
5185 - "QuestionId": 13,
5186 - "Text": "Turkmenistan",
5187 - "Value": "Turkmenistan",
5188 - "Order": 180
5189 - },
5190 - {
5191 - "Id": 1434,
5192 - "QuestionId": 13,
5193 - "Text": "Tuvalu",
5194 - "Value": "Tuvalu",
5195 - "Order": 181
5196 - },
5197 - {
5198 - "Id": 1442,
5199 - "QuestionId": 13,
5200 - "Text": "Uganda",
5201 - "Value": "Uganda",
5202 - "Order": 182
5203 - },
5204 - {
5205 - "Id": 1450,
5206 - "QuestionId": 13,
5207 - "Text": "Ukraine",
5208 - "Value": "Ukraine",
5209 - "Order": 183
5210 - },
5211 - {
5212 - "Id": 1458,
5213 - "QuestionId": 13,
5214 - "Text": "United Arab Emirates",
5215 - "Value": "United Arab Emirates",
5216 - "Order": 184
5217 - },
5218 - {
5219 - "Id": 1466,
5220 - "QuestionId": 13,
5221 - "Text": "United Kingdom",
5222 - "Value": "United Kingdom",
5223 - "Order": 185
5224 - },
5225 - {
5226 - "Id": 1474,
5227 - "QuestionId": 13,
5228 - "Text": "United States",
5229 - "Value": "United States",
5230 - "Order": 2
5231 - },
5232 - {
5233 - "Id": 1482,
5234 - "QuestionId": 13,
5235 - "Text": "Uruguay",
5236 - "Value": "Uruguay",
5237 - "Order": 186
5238 - },
5239 - {
5240 - "Id": 1490,
5241 - "QuestionId": 13,
5242 - "Text": "Uzbekistan",
5243 - "Value": "Uzbekistan",
5244 - "Order": 187
5245 - },
5246 - {
5247 - "Id": 1498,
5248 - "QuestionId": 13,
5249 - "Text": "Vanuatu",
5250 - "Value": "Vanuatu",
5251 - "Order": 188
5252 - },
5253 - {
5254 - "Id": 1506,
5255 - "QuestionId": 13,
5256 - "Text": "Vatican City",
5257 - "Value": "Vatican City",
5258 - "Order": 189
5259 - },
5260 - {
5261 - "Id": 1514,
5262 - "QuestionId": 13,
5263 - "Text": "Venezuela",
5264 - "Value": "Venezuela",
5265 - "Order": 190
5266 - },
5267 - {
5268 - "Id": 1522,
5269 - "QuestionId": 13,
5270 - "Text": "Vietnam",
5271 - "Value": "Vietnam",
5272 - "Order": 191
5273 - },
5274 - {
5275 - "Id": 1530,
5276 - "QuestionId": 13,
5277 - "Text": "Yemen",
5278 - "Value": "Yemen",
5279 - "Order": 192
5280 - },
5281 - {
5282 - "Id": 1538,
5283 - "QuestionId": 13,
5284 - "Text": "Zambia",
5285 - "Value": "Zambia",
5286 - "Order": 193
5287 - },
5288 - {
5289 - "Id": 1546,
5290 - "QuestionId": 13,
5291 - "Text": "Zimbabwe",
5292 - "Value": "Zimbabwe",
5293 - "Order": 194
5294 - },
5295 - {
5296 - "Id": 2186,
5297 - "QuestionId": 13,
5298 - "Text": "British Columbia",
5299 - "Value": "British Columbia",
5300 - "Order": 195
5301 - }
5302 - ]
5303 - }
5304 - ]
5305 -}
5306 -{{/code}}
5307 5307  
5308 -\\
2033 +(% class="western" %)
2034 +"result": {
5309 5309  
5310 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
5311 -== (% 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",
5312 5312  
5313 -----
2039 +(% class="western" %)
2040 +"error": {
5314 5314  
5315 -{{panel bgColor="#D3D3D3" width="100%"}}
5316 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/questions/lookup?Type=4
5317 -{{/panel}}
2042 +(% class="western" %)
2043 +"code": "0",
5318 5318  
5319 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
2045 +(% class="western" %)
2046 +"message": ""
5320 5320  
5321 -----
5322 -
5323 -(% 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}}
5324 -
5325 -=== (% style="color: rgb(33,33,33);" %)Query Params(%%) ===
5326 -
5327 -----
5328 -
5329 -(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Type  4(%%)
5330 -\\
5331 -
5332 -==== Example ====
5333 -
5334 -----
5335 -
5336 -(% style="color: rgb(107,107,107);" %)Request
5337 -
5338 -{{code language="php" theme="RDark" title="Lookup question by Type Request"}}
5339 -<?php
5340 -
5341 -$curl = curl_init();
5342 -
5343 -curl_setopt_array($curl, array(
5344 - CURLOPT_URL => 'https://api.onecount.net/v2/questions/lookup?Type=4',
5345 - CURLOPT_RETURNTRANSFER => true,
5346 - CURLOPT_ENCODING => '',
5347 - CURLOPT_MAXREDIRS => 10,
5348 - CURLOPT_TIMEOUT => 0,
5349 - CURLOPT_FOLLOWLOCATION => true,
5350 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
5351 - CURLOPT_CUSTOMREQUEST => 'GET',
5352 - CURLOPT_HTTPHEADER => array(
5353 - 'Appkey: {{ONECOUNT API KEY}}'
5354 - ),
5355 -));
5356 -
5357 -$response = curl_exec($curl);
5358 -
5359 -curl_close($curl);
5360 -echo $response;
5361 -{{/code}}
5362 -
5363 -\\
5364 -
5365 -(% style="color: rgb(107,107,107);" %)Response  200 OK
5366 -
5367 -{{code language="yml" theme="RDark" title="Lookup question by type Response" collapse="true"}}
5368 -{
5369 - "result": {
5370 - "success": "1",
5371 - "error": {
5372 - "code": "",
5373 - "message": ""
5374 - }
5375 - },
5376 - "Questions": [
5377 - {
5378 - "Id": 11,
5379 - "Text": "State/Province",
5380 - "Type": "4",
5381 - "Alias": "State/Province",
5382 - "Choices": [
5383 - {
5384 - "Id": 1554,
5385 - "QuestionId": 11,
5386 - "Text": "Select One",
5387 - "Value": "",
5388 - "Order": 1
5389 - },
5390 - {
5391 - "Id": 1562,
5392 - "QuestionId": 11,
5393 - "Text": "Alabama",
5394 - "Value": "AL",
5395 - "Order": 2
5396 - },
5397 - {
5398 - "Id": 1570,
5399 - "QuestionId": 11,
5400 - "Text": "Alaska",
5401 - "Value": "AK",
5402 - "Order": 3
5403 - },
5404 - {
5405 - "Id": 1578,
5406 - "QuestionId": 11,
5407 - "Text": "Arizona",
5408 - "Value": "AZ",
5409 - "Order": 4
5410 - },
5411 - {
5412 - "Id": 1586,
5413 - "QuestionId": 11,
5414 - "Text": "Arkansas",
5415 - "Value": "AR",
5416 - "Order": 5
5417 - },
5418 - {
5419 - "Id": 1594,
5420 - "QuestionId": 11,
5421 - "Text": "California",
5422 - "Value": "CA",
5423 - "Order": 6
5424 - },
5425 - {
5426 - "Id": 1602,
5427 - "QuestionId": 11,
5428 - "Text": "Colorado",
5429 - "Value": "CO",
5430 - "Order": 7
5431 - },
5432 - {
5433 - "Id": 1610,
5434 - "QuestionId": 11,
5435 - "Text": "Connecticut",
5436 - "Value": "CT",
5437 - "Order": 8
5438 - },
5439 - {
5440 - "Id": 1618,
5441 - "QuestionId": 11,
5442 - "Text": "Delaware",
5443 - "Value": "DE",
5444 - "Order": 9
5445 - },
5446 - {
5447 - "Id": 1626,
5448 - "QuestionId": 11,
5449 - "Text": "District of Columbia",
5450 - "Value": "DC",
5451 - "Order": 10
5452 - },
5453 - {
5454 - "Id": 1634,
5455 - "QuestionId": 11,
5456 - "Text": "Florida",
5457 - "Value": "FL",
5458 - "Order": 11
5459 - },
5460 - {
5461 - "Id": 1642,
5462 - "QuestionId": 11,
5463 - "Text": "Georgia",
5464 - "Value": "GA",
5465 - "Order": 12
5466 - },
5467 - {
5468 - "Id": 1650,
5469 - "QuestionId": 11,
5470 - "Text": "Hawaii",
5471 - "Value": "HI",
5472 - "Order": 13
5473 - },
5474 - {
5475 - "Id": 1658,
5476 - "QuestionId": 11,
5477 - "Text": "Idaho",
5478 - "Value": "ID",
5479 - "Order": 14
5480 - },
5481 - {
5482 - "Id": 1666,
5483 - "QuestionId": 11,
5484 - "Text": "Illinois",
5485 - "Value": "IL",
5486 - "Order": 15
5487 - },
5488 - {
5489 - "Id": 1674,
5490 - "QuestionId": 11,
5491 - "Text": "Indiana",
5492 - "Value": "IN",
5493 - "Order": 16
5494 - },
5495 - {
5496 - "Id": 1682,
5497 - "QuestionId": 11,
5498 - "Text": "Iowa",
5499 - "Value": "IA",
5500 - "Order": 17
5501 - },
5502 - {
5503 - "Id": 1690,
5504 - "QuestionId": 11,
5505 - "Text": "Kansas",
5506 - "Value": "KS",
5507 - "Order": 18
5508 - },
5509 - {
5510 - "Id": 1698,
5511 - "QuestionId": 11,
5512 - "Text": "Kentucky",
5513 - "Value": "KY",
5514 - "Order": 19
5515 - },
5516 - {
5517 - "Id": 1706,
5518 - "QuestionId": 11,
5519 - "Text": "Louisiana",
5520 - "Value": "LA",
5521 - "Order": 20
5522 - },
5523 - {
5524 - "Id": 1714,
5525 - "QuestionId": 11,
5526 - "Text": "Maine",
5527 - "Value": "ME",
5528 - "Order": 21
5529 - },
5530 - {
5531 - "Id": 1722,
5532 - "QuestionId": 11,
5533 - "Text": "Maryland",
5534 - "Value": "MD",
5535 - "Order": 22
5536 - },
5537 - {
5538 - "Id": 1730,
5539 - "QuestionId": 11,
5540 - "Text": "Massachusetts",
5541 - "Value": "MA",
5542 - "Order": 23
5543 - },
5544 - {
5545 - "Id": 1738,
5546 - "QuestionId": 11,
5547 - "Text": "Michigan",
5548 - "Value": "MI",
5549 - "Order": 24
5550 - },
5551 - {
5552 - "Id": 1746,
5553 - "QuestionId": 11,
5554 - "Text": "Minnesota",
5555 - "Value": "MN",
5556 - "Order": 25
5557 - },
5558 - {
5559 - "Id": 1754,
5560 - "QuestionId": 11,
5561 - "Text": "Mississippi",
5562 - "Value": "MS",
5563 - "Order": 26
5564 - },
5565 - {
5566 - "Id": 1762,
5567 - "QuestionId": 11,
5568 - "Text": "Missouri",
5569 - "Value": "MO",
5570 - "Order": 27
5571 - },
5572 - {
5573 - "Id": 1770,
5574 - "QuestionId": 11,
5575 - "Text": "Montana",
5576 - "Value": "MT",
5577 - "Order": 28
5578 - },
5579 - {
5580 - "Id": 1778,
5581 - "QuestionId": 11,
5582 - "Text": "Nebraska",
5583 - "Value": "NE",
5584 - "Order": 29
5585 - },
5586 - {
5587 - "Id": 1786,
5588 - "QuestionId": 11,
5589 - "Text": "Nevada",
5590 - "Value": "NV",
5591 - "Order": 30
5592 - },
5593 - {
5594 - "Id": 1794,
5595 - "QuestionId": 11,
5596 - "Text": "New Hampshire",
5597 - "Value": "NH",
5598 - "Order": 31
5599 - },
5600 - {
5601 - "Id": 1802,
5602 - "QuestionId": 11,
5603 - "Text": "New Jersey",
5604 - "Value": "NJ",
5605 - "Order": 32
5606 - },
5607 - {
5608 - "Id": 1810,
5609 - "QuestionId": 11,
5610 - "Text": "New Mexico",
5611 - "Value": "NM",
5612 - "Order": 33
5613 - },
5614 - {
5615 - "Id": 1818,
5616 - "QuestionId": 11,
5617 - "Text": "New York",
5618 - "Value": "NY",
5619 - "Order": 34
5620 - },
5621 - {
5622 - "Id": 1826,
5623 - "QuestionId": 11,
5624 - "Text": "North Carolina",
5625 - "Value": "NC",
5626 - "Order": 35
5627 - },
5628 - {
5629 - "Id": 1834,
5630 - "QuestionId": 11,
5631 - "Text": "Ohio",
5632 - "Value": "OH",
5633 - "Order": 37
5634 - },
5635 - {
5636 - "Id": 1842,
5637 - "QuestionId": 11,
5638 - "Text": "Oklahoma",
5639 - "Value": "OK",
5640 - "Order": 38
5641 - },
5642 - {
5643 - "Id": 1850,
5644 - "QuestionId": 11,
5645 - "Text": "Oregon",
5646 - "Value": "OR",
5647 - "Order": 39
5648 - },
5649 - {
5650 - "Id": 1858,
5651 - "QuestionId": 11,
5652 - "Text": "Pennsylvania",
5653 - "Value": "PA",
5654 - "Order": 40
5655 - },
5656 - {
5657 - "Id": 1866,
5658 - "QuestionId": 11,
5659 - "Text": "Rhode Island",
5660 - "Value": "RI",
5661 - "Order": 41
5662 - },
5663 - {
5664 - "Id": 1874,
5665 - "QuestionId": 11,
5666 - "Text": "South Carolina",
5667 - "Value": "SC",
5668 - "Order": 42
5669 - },
5670 - {
5671 - "Id": 1882,
5672 - "QuestionId": 11,
5673 - "Text": "South Dakota",
5674 - "Value": "SD",
5675 - "Order": 43
5676 - },
5677 - {
5678 - "Id": 1890,
5679 - "QuestionId": 11,
5680 - "Text": "Tennessee",
5681 - "Value": "TN",
5682 - "Order": 44
5683 - },
5684 - {
5685 - "Id": 1898,
5686 - "QuestionId": 11,
5687 - "Text": "Texas",
5688 - "Value": "TX",
5689 - "Order": 45
5690 - },
5691 - {
5692 - "Id": 1906,
5693 - "QuestionId": 11,
5694 - "Text": "Utah",
5695 - "Value": "UT",
5696 - "Order": 46
5697 - },
5698 - {
5699 - "Id": 1914,
5700 - "QuestionId": 11,
5701 - "Text": "Vermont",
5702 - "Value": "VT",
5703 - "Order": 47
5704 - },
5705 - {
5706 - "Id": 1922,
5707 - "QuestionId": 11,
5708 - "Text": "Virginia",
5709 - "Value": "VA",
5710 - "Order": 48
5711 - },
5712 - {
5713 - "Id": 1930,
5714 - "QuestionId": 11,
5715 - "Text": "Washington",
5716 - "Value": "WA",
5717 - "Order": 49
5718 - },
5719 - {
5720 - "Id": 1938,
5721 - "QuestionId": 11,
5722 - "Text": "West Virginia",
5723 - "Value": "WV",
5724 - "Order": 50
5725 - },
5726 - {
5727 - "Id": 1946,
5728 - "QuestionId": 11,
5729 - "Text": "Wisconsin",
5730 - "Value": "WI",
5731 - "Order": 51
5732 - },
5733 - {
5734 - "Id": 1954,
5735 - "QuestionId": 11,
5736 - "Text": "Wyoming",
5737 - "Value": "WY",
5738 - "Order": 52
5739 - },
5740 - {
5741 - "Id": 1962,
5742 - "QuestionId": 11,
5743 - "Text": "American Samoa",
5744 - "Value": "AS",
5745 - "Order": 53
5746 - },
5747 - {
5748 - "Id": 1970,
5749 - "QuestionId": 11,
5750 - "Text": "North Dakota",
5751 - "Value": "ND",
5752 - "Order": 36
5753 - },
5754 - {
5755 - "Id": 1978,
5756 - "QuestionId": 11,
5757 - "Text": "Federated States of Micronesia",
5758 - "Value": "FM",
5759 - "Order": 54
5760 - },
5761 - {
5762 - "Id": 1986,
5763 - "QuestionId": 11,
5764 - "Text": "Guam",
5765 - "Value": "GU",
5766 - "Order": 55
5767 - },
5768 - {
5769 - "Id": 1994,
5770 - "QuestionId": 11,
5771 - "Text": "Marshall Islands",
5772 - "Value": "MH",
5773 - "Order": 56
5774 - },
5775 - {
5776 - "Id": 2002,
5777 - "QuestionId": 11,
5778 - "Text": "Northern Mariana Islands",
5779 - "Value": "MP",
5780 - "Order": 57
5781 - },
5782 - {
5783 - "Id": 2010,
5784 - "QuestionId": 11,
5785 - "Text": "Palau",
5786 - "Value": "PW",
5787 - "Order": 58
5788 - },
5789 - {
5790 - "Id": 2018,
5791 - "QuestionId": 11,
5792 - "Text": "Puerto Rico",
5793 - "Value": "PR",
5794 - "Order": 59
5795 - },
5796 - {
5797 - "Id": 2026,
5798 - "QuestionId": 11,
5799 - "Text": "U.S. Virgin Islands",
5800 - "Value": "VI",
5801 - "Order": 60
5802 - },
5803 - {
5804 - "Id": 2034,
5805 - "QuestionId": 11,
5806 - "Text": "Armed Forces Africa",
5807 - "Value": "AE",
5808 - "Order": 61
5809 - },
5810 - {
5811 - "Id": 2042,
5812 - "QuestionId": 11,
5813 - "Text": "Armed Forces Americas (except Canada)",
5814 - "Value": "AA",
5815 - "Order": 62
5816 - },
5817 - {
5818 - "Id": 2050,
5819 - "QuestionId": 11,
5820 - "Text": "Armed Forces Canada",
5821 - "Value": "AE",
5822 - "Order": 63
5823 - },
5824 - {
5825 - "Id": 2058,
5826 - "QuestionId": 11,
5827 - "Text": "Armed Forces Europe",
5828 - "Value": "AE",
5829 - "Order": 64
5830 - },
5831 - {
5832 - "Id": 2066,
5833 - "QuestionId": 11,
5834 - "Text": "Armed Forces Middle East",
5835 - "Value": "AE",
5836 - "Order": 65
5837 - },
5838 - {
5839 - "Id": 2074,
5840 - "QuestionId": 11,
5841 - "Text": "Armed Forces Pacific",
5842 - "Value": "AP",
5843 - "Order": 66
5844 - },
5845 - {
5846 - "Id": 2082,
5847 - "QuestionId": 11,
5848 - "Text": "Non-US/Not Applicable",
5849 - "Value": "Non-US/Not Applicable",
5850 - "Order": 67
5851 - },
5852 - {
5853 - "Id": 2090,
5854 - "QuestionId": 11,
5855 - "Text": "Ontario",
5856 - "Value": "Ontario",
5857 - "Order": 68
5858 - },
5859 - {
5860 - "Id": 2098,
5861 - "QuestionId": 11,
5862 - "Text": "Quebec",
5863 - "Value": "Quebec",
5864 - "Order": 69
5865 - },
5866 - {
5867 - "Id": 2106,
5868 - "QuestionId": 11,
5869 - "Text": "Nova Scotia",
5870 - "Value": "Nova Scotia",
5871 - "Order": 70
5872 - },
5873 - {
5874 - "Id": 2114,
5875 - "QuestionId": 11,
5876 - "Text": "New Brunswick",
5877 - "Value": "New Brunswick",
5878 - "Order": 71
5879 - },
5880 - {
5881 - "Id": 2122,
5882 - "QuestionId": 11,
5883 - "Text": "Manitoba",
5884 - "Value": "Manitoba",
5885 - "Order": 72
5886 - },
5887 - {
5888 - "Id": 2130,
5889 - "QuestionId": 11,
5890 - "Text": "Brittish Columbia",
5891 - "Value": "Brittish Columbia",
5892 - "Order": 73
5893 - },
5894 - {
5895 - "Id": 2138,
5896 - "QuestionId": 11,
5897 - "Text": "Prince Edward Island",
5898 - "Value": "Prince Edward Island",
5899 - "Order": 74
5900 - },
5901 - {
5902 - "Id": 2146,
5903 - "QuestionId": 11,
5904 - "Text": "Saskatchewan",
5905 - "Value": "Saskatchewan",
5906 - "Order": 75
5907 - },
5908 - {
5909 - "Id": 2154,
5910 - "QuestionId": 11,
5911 - "Text": "Alberta",
5912 - "Value": "Alberta",
5913 - "Order": 76
5914 - },
5915 - {
5916 - "Id": 2162,
5917 - "QuestionId": 11,
5918 - "Text": "Newfoundland and Labrador",
5919 - "Value": "Newfoundland and Labrador",
5920 - "Order": 77
5921 - },
5922 - {
5923 - "Id": 2170,
5924 - "QuestionId": 11,
5925 - "Text": "British Columbia",
5926 - "Value": "British Columbia",
5927 - "Order": 78
5928 - },
5929 - {
5930 - "Id": 2178,
5931 - "QuestionId": 11,
5932 - "Text": "Ontario",
5933 - "Value": "ON",
5934 - "Order": 79
5935 - }
5936 - ]
5937 - },
5938 - {
5939 - "Id": 13,
5940 - "Text": "Country",
5941 - "Type": "4",
5942 - "Alias": "Country",
5943 - "Choices": [
5944 - {
5945 - "Id": 2,
5946 - "QuestionId": 13,
5947 - "Text": "Select One",
5948 - "Value": "",
5949 - "Order": 1
5950 - },
5951 - {
5952 - "Id": 10,
5953 - "QuestionId": 13,
5954 - "Text": "Afghanistan",
5955 - "Value": "Afghanistan",
5956 - "Order": 3
5957 - },
5958 - {
5959 - "Id": 18,
5960 - "QuestionId": 13,
5961 - "Text": "Albania",
5962 - "Value": "Albania",
5963 - "Order": 4
5964 - },
5965 - {
5966 - "Id": 26,
5967 - "QuestionId": 13,
5968 - "Text": "Algeria",
5969 - "Value": "Algeria",
5970 - "Order": 5
5971 - },
5972 - {
5973 - "Id": 34,
5974 - "QuestionId": 13,
5975 - "Text": "Andorra",
5976 - "Value": "Andorra",
5977 - "Order": 6
5978 - },
5979 - {
5980 - "Id": 42,
5981 - "QuestionId": 13,
5982 - "Text": "Angola",
5983 - "Value": "Angola",
5984 - "Order": 7
5985 - },
5986 - {
5987 - "Id": 50,
5988 - "QuestionId": 13,
5989 - "Text": "Antigua and Barbuda",
5990 - "Value": "Antigua and Barbuda",
5991 - "Order": 8
5992 - },
5993 - {
5994 - "Id": 58,
5995 - "QuestionId": 13,
5996 - "Text": "Argentina",
5997 - "Value": "Argentina",
5998 - "Order": 9
5999 - },
6000 - {
6001 - "Id": 66,
6002 - "QuestionId": 13,
6003 - "Text": "Armenia",
6004 - "Value": "Armenia",
6005 - "Order": 10
6006 - },
6007 - {
6008 - "Id": 74,
6009 - "QuestionId": 13,
6010 - "Text": "Australia",
6011 - "Value": "Australia",
6012 - "Order": 11
6013 - },
6014 - {
6015 - "Id": 82,
6016 - "QuestionId": 13,
6017 - "Text": "Austria",
6018 - "Value": "Austria",
6019 - "Order": 12
6020 - },
6021 - {
6022 - "Id": 90,
6023 - "QuestionId": 13,
6024 - "Text": "Azerbaijan",
6025 - "Value": "Azerbaijan",
6026 - "Order": 13
6027 - },
6028 - {
6029 - "Id": 98,
6030 - "QuestionId": 13,
6031 - "Text": "Bahamas",
6032 - "Value": "Bahamas",
6033 - "Order": 14
6034 - },
6035 - {
6036 - "Id": 106,
6037 - "QuestionId": 13,
6038 - "Text": "Bahrain",
6039 - "Value": "Bahrain",
6040 - "Order": 15
6041 - },
6042 - {
6043 - "Id": 114,
6044 - "QuestionId": 13,
6045 - "Text": "Bangladesh",
6046 - "Value": "Bangladesh",
6047 - "Order": 16
6048 - },
6049 - {
6050 - "Id": 122,
6051 - "QuestionId": 13,
6052 - "Text": "Barbados",
6053 - "Value": "Barbados",
6054 - "Order": 17
6055 - },
6056 - {
6057 - "Id": 130,
6058 - "QuestionId": 13,
6059 - "Text": "Belarus",
6060 - "Value": "Belarus",
6061 - "Order": 18
6062 - },
6063 - {
6064 - "Id": 138,
6065 - "QuestionId": 13,
6066 - "Text": "Belgium",
6067 - "Value": "Belgium",
6068 - "Order": 19
6069 - },
6070 - {
6071 - "Id": 146,
6072 - "QuestionId": 13,
6073 - "Text": "Belize",
6074 - "Value": "Belize",
6075 - "Order": 20
6076 - },
6077 - {
6078 - "Id": 154,
6079 - "QuestionId": 13,
6080 - "Text": "Benin",
6081 - "Value": "Benin",
6082 - "Order": 21
6083 - },
6084 - {
6085 - "Id": 162,
6086 - "QuestionId": 13,
6087 - "Text": "Bhutan",
6088 - "Value": "Bhutan",
6089 - "Order": 22
6090 - },
6091 - {
6092 - "Id": 170,
6093 - "QuestionId": 13,
6094 - "Text": "Bolivia",
6095 - "Value": "Bolivia",
6096 - "Order": 23
6097 - },
6098 - {
6099 - "Id": 178,
6100 - "QuestionId": 13,
6101 - "Text": "Bosnia and Herzegovina",
6102 - "Value": "Bosnia and Herzegovina",
6103 - "Order": 24
6104 - },
6105 - {
6106 - "Id": 186,
6107 - "QuestionId": 13,
6108 - "Text": "Botswana",
6109 - "Value": "Botswana",
6110 - "Order": 25
6111 - },
6112 - {
6113 - "Id": 194,
6114 - "QuestionId": 13,
6115 - "Text": "Brazil",
6116 - "Value": "Brazil",
6117 - "Order": 26
6118 - },
6119 - {
6120 - "Id": 202,
6121 - "QuestionId": 13,
6122 - "Text": "Brunei",
6123 - "Value": "Brunei",
6124 - "Order": 27
6125 - },
6126 - {
6127 - "Id": 210,
6128 - "QuestionId": 13,
6129 - "Text": "Bulgaria",
6130 - "Value": "Bulgaria",
6131 - "Order": 28
6132 - },
6133 - {
6134 - "Id": 218,
6135 - "QuestionId": 13,
6136 - "Text": "Burkina Faso",
6137 - "Value": "Burkina Faso",
6138 - "Order": 29
6139 - },
6140 - {
6141 - "Id": 226,
6142 - "QuestionId": 13,
6143 - "Text": "Burundi",
6144 - "Value": "Burundi",
6145 - "Order": 30
6146 - },
6147 - {
6148 - "Id": 234,
6149 - "QuestionId": 13,
6150 - "Text": "Cambodia",
6151 - "Value": "Cambodia",
6152 - "Order": 31
6153 - },
6154 - {
6155 - "Id": 242,
6156 - "QuestionId": 13,
6157 - "Text": "Cameroon",
6158 - "Value": "Cameroon",
6159 - "Order": 32
6160 - },
6161 - {
6162 - "Id": 250,
6163 - "QuestionId": 13,
6164 - "Text": "Canada",
6165 - "Value": "Canada",
6166 - "Order": 33
6167 - },
6168 - {
6169 - "Id": 258,
6170 - "QuestionId": 13,
6171 - "Text": "Cape Verde",
6172 - "Value": "Cape Verde",
6173 - "Order": 34
6174 - },
6175 - {
6176 - "Id": 266,
6177 - "QuestionId": 13,
6178 - "Text": "Central African Republic",
6179 - "Value": "Central African Republic",
6180 - "Order": 35
6181 - },
6182 - {
6183 - "Id": 274,
6184 - "QuestionId": 13,
6185 - "Text": "Chad",
6186 - "Value": "Chad",
6187 - "Order": 36
6188 - },
6189 - {
6190 - "Id": 282,
6191 - "QuestionId": 13,
6192 - "Text": "Chile",
6193 - "Value": "Chile",
6194 - "Order": 37
6195 - },
6196 - {
6197 - "Id": 290,
6198 - "QuestionId": 13,
6199 - "Text": "China",
6200 - "Value": "China",
6201 - "Order": 38
6202 - },
6203 - {
6204 - "Id": 298,
6205 - "QuestionId": 13,
6206 - "Text": "Colombia",
6207 - "Value": "Colombia",
6208 - "Order": 39
6209 - },
6210 - {
6211 - "Id": 306,
6212 - "QuestionId": 13,
6213 - "Text": "Comoros",
6214 - "Value": "Comoros",
6215 - "Order": 40
6216 - },
6217 - {
6218 - "Id": 314,
6219 - "QuestionId": 13,
6220 - "Text": "Congo (Brazzaville)",
6221 - "Value": "Congo (Brazzaville)",
6222 - "Order": 41
6223 - },
6224 - {
6225 - "Id": 322,
6226 - "QuestionId": 13,
6227 - "Text": "Congo",
6228 - "Value": "Congo",
6229 - "Order": 42
6230 - },
6231 - {
6232 - "Id": 330,
6233 - "QuestionId": 13,
6234 - "Text": "Costa Rica",
6235 - "Value": "Costa Rica",
6236 - "Order": 43
6237 - },
6238 - {
6239 - "Id": 338,
6240 - "QuestionId": 13,
6241 - "Text": "Cote d'Ivoire",
6242 - "Value": "Cote d'Ivoire",
6243 - "Order": 44
6244 - },
6245 - {
6246 - "Id": 346,
6247 - "QuestionId": 13,
6248 - "Text": "Croatia",
6249 - "Value": "Croatia",
6250 - "Order": 45
6251 - },
6252 - {
6253 - "Id": 354,
6254 - "QuestionId": 13,
6255 - "Text": "Cuba",
6256 - "Value": "Cuba",
6257 - "Order": 46
6258 - },
6259 - {
6260 - "Id": 362,
6261 - "QuestionId": 13,
6262 - "Text": "Cyprus",
6263 - "Value": "Cyprus",
6264 - "Order": 47
6265 - },
6266 - {
6267 - "Id": 370,
6268 - "QuestionId": 13,
6269 - "Text": "Czech Republic",
6270 - "Value": "Czech Republic",
6271 - "Order": 48
6272 - },
6273 - {
6274 - "Id": 378,
6275 - "QuestionId": 13,
6276 - "Text": "Denmark",
6277 - "Value": "Denmark",
6278 - "Order": 49
6279 - },
6280 - {
6281 - "Id": 386,
6282 - "QuestionId": 13,
6283 - "Text": "Djibouti",
6284 - "Value": "Djibouti",
6285 - "Order": 50
6286 - },
6287 - {
6288 - "Id": 394,
6289 - "QuestionId": 13,
6290 - "Text": "Dominica",
6291 - "Value": "Dominica",
6292 - "Order": 51
6293 - },
6294 - {
6295 - "Id": 402,
6296 - "QuestionId": 13,
6297 - "Text": "Dominican Republic",
6298 - "Value": "Dominican Republic",
6299 - "Order": 52
6300 - },
6301 - {
6302 - "Id": 410,
6303 - "QuestionId": 13,
6304 - "Text": "East Timor",
6305 - "Value": "East Timor",
6306 - "Order": 53
6307 - },
6308 - {
6309 - "Id": 418,
6310 - "QuestionId": 13,
6311 - "Text": "Ecuador",
6312 - "Value": "Ecuador",
6313 - "Order": 54
6314 - },
6315 - {
6316 - "Id": 426,
6317 - "QuestionId": 13,
6318 - "Text": "Egypt",
6319 - "Value": "Egypt",
6320 - "Order": 55
6321 - },
6322 - {
6323 - "Id": 434,
6324 - "QuestionId": 13,
6325 - "Text": "El Salvador",
6326 - "Value": "El Salvador",
6327 - "Order": 56
6328 - },
6329 - {
6330 - "Id": 442,
6331 - "QuestionId": 13,
6332 - "Text": "Equatorial Guinea",
6333 - "Value": "Equatorial Guinea",
6334 - "Order": 57
6335 - },
6336 - {
6337 - "Id": 450,
6338 - "QuestionId": 13,
6339 - "Text": "Eritrea",
6340 - "Value": "Eritrea",
6341 - "Order": 58
6342 - },
6343 - {
6344 - "Id": 458,
6345 - "QuestionId": 13,
6346 - "Text": "Estonia",
6347 - "Value": "Estonia",
6348 - "Order": 59
6349 - },
6350 - {
6351 - "Id": 466,
6352 - "QuestionId": 13,
6353 - "Text": "Ethiopia",
6354 - "Value": "Ethiopia",
6355 - "Order": 60
6356 - },
6357 - {
6358 - "Id": 474,
6359 - "QuestionId": 13,
6360 - "Text": "Fiji",
6361 - "Value": "Fiji",
6362 - "Order": 61
6363 - },
6364 - {
6365 - "Id": 482,
6366 - "QuestionId": 13,
6367 - "Text": "Finland",
6368 - "Value": "Finland",
6369 - "Order": 62
6370 - },
6371 - {
6372 - "Id": 490,
6373 - "QuestionId": 13,
6374 - "Text": "France",
6375 - "Value": "France",
6376 - "Order": 63
6377 - },
6378 - {
6379 - "Id": 498,
6380 - "QuestionId": 13,
6381 - "Text": "Gabon",
6382 - "Value": "Gabon",
6383 - "Order": 64
6384 - },
6385 - {
6386 - "Id": 506,
6387 - "QuestionId": 13,
6388 - "Text": "Gambia, The",
6389 - "Value": "Gambia, The",
6390 - "Order": 65
6391 - },
6392 - {
6393 - "Id": 514,
6394 - "QuestionId": 13,
6395 - "Text": "Georgia",
6396 - "Value": "Georgia",
6397 - "Order": 66
6398 - },
6399 - {
6400 - "Id": 522,
6401 - "QuestionId": 13,
6402 - "Text": "Germany",
6403 - "Value": "Germany",
6404 - "Order": 67
6405 - },
6406 - {
6407 - "Id": 530,
6408 - "QuestionId": 13,
6409 - "Text": "Ghana",
6410 - "Value": "Ghana",
6411 - "Order": 68
6412 - },
6413 - {
6414 - "Id": 538,
6415 - "QuestionId": 13,
6416 - "Text": "Greece",
6417 - "Value": "Greece",
6418 - "Order": 69
6419 - },
6420 - {
6421 - "Id": 546,
6422 - "QuestionId": 13,
6423 - "Text": "Grenada",
6424 - "Value": "Grenada",
6425 - "Order": 70
6426 - },
6427 - {
6428 - "Id": 554,
6429 - "QuestionId": 13,
6430 - "Text": "Guatemala",
6431 - "Value": "Guatemala",
6432 - "Order": 71
6433 - },
6434 - {
6435 - "Id": 562,
6436 - "QuestionId": 13,
6437 - "Text": "Guinea",
6438 - "Value": "Guinea",
6439 - "Order": 72
6440 - },
6441 - {
6442 - "Id": 570,
6443 - "QuestionId": 13,
6444 - "Text": "Guinea-Bissau",
6445 - "Value": "Guinea-Bissau",
6446 - "Order": 73
6447 - },
6448 - {
6449 - "Id": 578,
6450 - "QuestionId": 13,
6451 - "Text": "Guyana",
6452 - "Value": "Guyana",
6453 - "Order": 74
6454 - },
6455 - {
6456 - "Id": 586,
6457 - "QuestionId": 13,
6458 - "Text": "Haiti",
6459 - "Value": "Haiti",
6460 - "Order": 75
6461 - },
6462 - {
6463 - "Id": 594,
6464 - "QuestionId": 13,
6465 - "Text": "Honduras",
6466 - "Value": "Honduras",
6467 - "Order": 76
6468 - },
6469 - {
6470 - "Id": 602,
6471 - "QuestionId": 13,
6472 - "Text": "Hungary",
6473 - "Value": "Hungary",
6474 - "Order": 77
6475 - },
6476 - {
6477 - "Id": 610,
6478 - "QuestionId": 13,
6479 - "Text": "Iceland",
6480 - "Value": "Iceland",
6481 - "Order": 78
6482 - },
6483 - {
6484 - "Id": 618,
6485 - "QuestionId": 13,
6486 - "Text": "India",
6487 - "Value": "India",
6488 - "Order": 79
6489 - },
6490 - {
6491 - "Id": 626,
6492 - "QuestionId": 13,
6493 - "Text": "Indonesia",
6494 - "Value": "Indonesia",
6495 - "Order": 80
6496 - },
6497 - {
6498 - "Id": 634,
6499 - "QuestionId": 13,
6500 - "Text": "Iran",
6501 - "Value": "Iran",
6502 - "Order": 81
6503 - },
6504 - {
6505 - "Id": 642,
6506 - "QuestionId": 13,
6507 - "Text": "Iraq",
6508 - "Value": "Iraq",
6509 - "Order": 82
6510 - },
6511 - {
6512 - "Id": 650,
6513 - "QuestionId": 13,
6514 - "Text": "Ireland",
6515 - "Value": "Ireland",
6516 - "Order": 83
6517 - },
6518 - {
6519 - "Id": 658,
6520 - "QuestionId": 13,
6521 - "Text": "Israel",
6522 - "Value": "Israel",
6523 - "Order": 84
6524 - },
6525 - {
6526 - "Id": 666,
6527 - "QuestionId": 13,
6528 - "Text": "Italy",
6529 - "Value": "Italy",
6530 - "Order": 85
6531 - },
6532 - {
6533 - "Id": 674,
6534 - "QuestionId": 13,
6535 - "Text": "Jamaica",
6536 - "Value": "Jamaica",
6537 - "Order": 86
6538 - },
6539 - {
6540 - "Id": 682,
6541 - "QuestionId": 13,
6542 - "Text": "Japan",
6543 - "Value": "Japan",
6544 - "Order": 87
6545 - },
6546 - {
6547 - "Id": 690,
6548 - "QuestionId": 13,
6549 - "Text": "Jordan",
6550 - "Value": "Jordan",
6551 - "Order": 88
6552 - },
6553 - {
6554 - "Id": 698,
6555 - "QuestionId": 13,
6556 - "Text": "Kazakhstan",
6557 - "Value": "Kazakhstan",
6558 - "Order": 89
6559 - },
6560 - {
6561 - "Id": 706,
6562 - "QuestionId": 13,
6563 - "Text": "Kenya",
6564 - "Value": "Kenya",
6565 - "Order": 90
6566 - },
6567 - {
6568 - "Id": 714,
6569 - "QuestionId": 13,
6570 - "Text": "Kiribati",
6571 - "Value": "Kiribati",
6572 - "Order": 91
6573 - },
6574 - {
6575 - "Id": 722,
6576 - "QuestionId": 13,
6577 - "Text": "Korea, North",
6578 - "Value": "Korea, North",
6579 - "Order": 92
6580 - },
6581 - {
6582 - "Id": 730,
6583 - "QuestionId": 13,
6584 - "Text": "Korea, South",
6585 - "Value": "Korea, South",
6586 - "Order": 93
6587 - },
6588 - {
6589 - "Id": 738,
6590 - "QuestionId": 13,
6591 - "Text": "Kuwait",
6592 - "Value": "Kuwait",
6593 - "Order": 94
6594 - },
6595 - {
6596 - "Id": 746,
6597 - "QuestionId": 13,
6598 - "Text": "Kyrgyzstan",
6599 - "Value": "Kyrgyzstan",
6600 - "Order": 95
6601 - },
6602 - {
6603 - "Id": 754,
6604 - "QuestionId": 13,
6605 - "Text": "Laos",
6606 - "Value": "Laos",
6607 - "Order": 96
6608 - },
6609 - {
6610 - "Id": 762,
6611 - "QuestionId": 13,
6612 - "Text": "Latvia",
6613 - "Value": "Latvia",
6614 - "Order": 97
6615 - },
6616 - {
6617 - "Id": 770,
6618 - "QuestionId": 13,
6619 - "Text": "Lebanon",
6620 - "Value": "Lebanon",
6621 - "Order": 98
6622 - },
6623 - {
6624 - "Id": 778,
6625 - "QuestionId": 13,
6626 - "Text": "Lesotho",
6627 - "Value": "Lesotho",
6628 - "Order": 99
6629 - },
6630 - {
6631 - "Id": 786,
6632 - "QuestionId": 13,
6633 - "Text": "Liberia",
6634 - "Value": "Liberia",
6635 - "Order": 100
6636 - },
6637 - {
6638 - "Id": 794,
6639 - "QuestionId": 13,
6640 - "Text": "Libya",
6641 - "Value": "Libya",
6642 - "Order": 101
6643 - },
6644 - {
6645 - "Id": 802,
6646 - "QuestionId": 13,
6647 - "Text": "Liechtenstein",
6648 - "Value": "Liechtenstein",
6649 - "Order": 102
6650 - },
6651 - {
6652 - "Id": 810,
6653 - "QuestionId": 13,
6654 - "Text": "Lithuania",
6655 - "Value": "Lithuania",
6656 - "Order": 103
6657 - },
6658 - {
6659 - "Id": 818,
6660 - "QuestionId": 13,
6661 - "Text": "Luxembourg",
6662 - "Value": "Luxembourg",
6663 - "Order": 104
6664 - },
6665 - {
6666 - "Id": 826,
6667 - "QuestionId": 13,
6668 - "Text": "Macedonia",
6669 - "Value": "Macedonia",
6670 - "Order": 105
6671 - },
6672 - {
6673 - "Id": 834,
6674 - "QuestionId": 13,
6675 - "Text": "Madagascar",
6676 - "Value": "Madagascar",
6677 - "Order": 106
6678 - },
6679 - {
6680 - "Id": 842,
6681 - "QuestionId": 13,
6682 - "Text": "Malawi",
6683 - "Value": "Malawi",
6684 - "Order": 107
6685 - },
6686 - {
6687 - "Id": 850,
6688 - "QuestionId": 13,
6689 - "Text": "Malaysia",
6690 - "Value": "Malaysia",
6691 - "Order": 108
6692 - },
6693 - {
6694 - "Id": 858,
6695 - "QuestionId": 13,
6696 - "Text": "Maldives",
6697 - "Value": "Maldives",
6698 - "Order": 109
6699 - },
6700 - {
6701 - "Id": 866,
6702 - "QuestionId": 13,
6703 - "Text": "Mali",
6704 - "Value": "Mali",
6705 - "Order": 110
6706 - },
6707 - {
6708 - "Id": 874,
6709 - "QuestionId": 13,
6710 - "Text": "Malta",
6711 - "Value": "Malta",
6712 - "Order": 111
6713 - },
6714 - {
6715 - "Id": 882,
6716 - "QuestionId": 13,
6717 - "Text": "Marshall Islands",
6718 - "Value": "Marshall Islands",
6719 - "Order": 112
6720 - },
6721 - {
6722 - "Id": 890,
6723 - "QuestionId": 13,
6724 - "Text": "Mauritania",
6725 - "Value": "Mauritania",
6726 - "Order": 113
6727 - },
6728 - {
6729 - "Id": 898,
6730 - "QuestionId": 13,
6731 - "Text": "Mauritius",
6732 - "Value": "Mauritius",
6733 - "Order": 114
6734 - },
6735 - {
6736 - "Id": 906,
6737 - "QuestionId": 13,
6738 - "Text": "Mexico",
6739 - "Value": "Mexico",
6740 - "Order": 115
6741 - },
6742 - {
6743 - "Id": 914,
6744 - "QuestionId": 13,
6745 - "Text": "Micronesia",
6746 - "Value": "Micronesia",
6747 - "Order": 116
6748 - },
6749 - {
6750 - "Id": 922,
6751 - "QuestionId": 13,
6752 - "Text": "Moldova",
6753 - "Value": "Moldova",
6754 - "Order": 117
6755 - },
6756 - {
6757 - "Id": 930,
6758 - "QuestionId": 13,
6759 - "Text": "Monaco",
6760 - "Value": "Monaco",
6761 - "Order": 118
6762 - },
6763 - {
6764 - "Id": 938,
6765 - "QuestionId": 13,
6766 - "Text": "Mongolia",
6767 - "Value": "Mongolia",
6768 - "Order": 119
6769 - },
6770 - {
6771 - "Id": 946,
6772 - "QuestionId": 13,
6773 - "Text": "Morocco",
6774 - "Value": "Morocco",
6775 - "Order": 120
6776 - },
6777 - {
6778 - "Id": 954,
6779 - "QuestionId": 13,
6780 - "Text": "Mozambique",
6781 - "Value": "Mozambique",
6782 - "Order": 121
6783 - },
6784 - {
6785 - "Id": 962,
6786 - "QuestionId": 13,
6787 - "Text": "Myanmar",
6788 - "Value": "Myanmar",
6789 - "Order": 122
6790 - },
6791 - {
6792 - "Id": 970,
6793 - "QuestionId": 13,
6794 - "Text": "Namibia",
6795 - "Value": "Namibia",
6796 - "Order": 123
6797 - },
6798 - {
6799 - "Id": 978,
6800 - "QuestionId": 13,
6801 - "Text": "Nauru",
6802 - "Value": "Nauru",
6803 - "Order": 124
6804 - },
6805 - {
6806 - "Id": 986,
6807 - "QuestionId": 13,
6808 - "Text": "Nepa",
6809 - "Value": "Nepa",
6810 - "Order": 125
6811 - },
6812 - {
6813 - "Id": 994,
6814 - "QuestionId": 13,
6815 - "Text": "Netherlands",
6816 - "Value": "Netherlands",
6817 - "Order": 126
6818 - },
6819 - {
6820 - "Id": 1002,
6821 - "QuestionId": 13,
6822 - "Text": "New Zealand",
6823 - "Value": "New Zealand",
6824 - "Order": 127
6825 - },
6826 - {
6827 - "Id": 1010,
6828 - "QuestionId": 13,
6829 - "Text": "Nicaragua",
6830 - "Value": "Nicaragua",
6831 - "Order": 128
6832 - },
6833 - {
6834 - "Id": 1018,
6835 - "QuestionId": 13,
6836 - "Text": "Niger",
6837 - "Value": "Niger",
6838 - "Order": 129
6839 - },
6840 - {
6841 - "Id": 1026,
6842 - "QuestionId": 13,
6843 - "Text": "Nigeria",
6844 - "Value": "Nigeria",
6845 - "Order": 130
6846 - },
6847 - {
6848 - "Id": 1034,
6849 - "QuestionId": 13,
6850 - "Text": "Norway",
6851 - "Value": "Norway",
6852 - "Order": 131
6853 - },
6854 - {
6855 - "Id": 1042,
6856 - "QuestionId": 13,
6857 - "Text": "Oman",
6858 - "Value": "Oman",
6859 - "Order": 132
6860 - },
6861 - {
6862 - "Id": 1050,
6863 - "QuestionId": 13,
6864 - "Text": "Pakistan",
6865 - "Value": "Pakistan",
6866 - "Order": 133
6867 - },
6868 - {
6869 - "Id": 1058,
6870 - "QuestionId": 13,
6871 - "Text": "Palau",
6872 - "Value": "Palau",
6873 - "Order": 134
6874 - },
6875 - {
6876 - "Id": 1066,
6877 - "QuestionId": 13,
6878 - "Text": "Panama",
6879 - "Value": "Panama",
6880 - "Order": 135
6881 - },
6882 - {
6883 - "Id": 1074,
6884 - "QuestionId": 13,
6885 - "Text": "Papua New Guinea",
6886 - "Value": "Papua New Guinea",
6887 - "Order": 136
6888 - },
6889 - {
6890 - "Id": 1082,
6891 - "QuestionId": 13,
6892 - "Text": "Paraguay",
6893 - "Value": "Paraguay",
6894 - "Order": 137
6895 - },
6896 - {
6897 - "Id": 1090,
6898 - "QuestionId": 13,
6899 - "Text": "Peru",
6900 - "Value": "Peru",
6901 - "Order": 138
6902 - },
6903 - {
6904 - "Id": 1098,
6905 - "QuestionId": 13,
6906 - "Text": "Philippines",
6907 - "Value": "Philippines",
6908 - "Order": 139
6909 - },
6910 - {
6911 - "Id": 1106,
6912 - "QuestionId": 13,
6913 - "Text": "Poland",
6914 - "Value": "Poland",
6915 - "Order": 140
6916 - },
6917 - {
6918 - "Id": 1114,
6919 - "QuestionId": 13,
6920 - "Text": "Portugal",
6921 - "Value": "Portugal",
6922 - "Order": 141
6923 - },
6924 - {
6925 - "Id": 1122,
6926 - "QuestionId": 13,
6927 - "Text": "Qatar",
6928 - "Value": "Qatar",
6929 - "Order": 142
6930 - },
6931 - {
6932 - "Id": 1130,
6933 - "QuestionId": 13,
6934 - "Text": "Romania",
6935 - "Value": "Romania",
6936 - "Order": 143
6937 - },
6938 - {
6939 - "Id": 1138,
6940 - "QuestionId": 13,
6941 - "Text": "Russia",
6942 - "Value": "Russia",
6943 - "Order": 144
6944 - },
6945 - {
6946 - "Id": 1146,
6947 - "QuestionId": 13,
6948 - "Text": "Rwanda",
6949 - "Value": "Rwanda",
6950 - "Order": 145
6951 - },
6952 - {
6953 - "Id": 1154,
6954 - "QuestionId": 13,
6955 - "Text": "Saint Kitts and Nevis",
6956 - "Value": "Saint Kitts and Nevis",
6957 - "Order": 146
6958 - },
6959 - {
6960 - "Id": 1162,
6961 - "QuestionId": 13,
6962 - "Text": "Saint Lucia",
6963 - "Value": "Saint Lucia",
6964 - "Order": 147
6965 - },
6966 - {
6967 - "Id": 1170,
6968 - "QuestionId": 13,
6969 - "Text": "Saint Vincent",
6970 - "Value": "Saint Vincent",
6971 - "Order": 148
6972 - },
6973 - {
6974 - "Id": 1178,
6975 - "QuestionId": 13,
6976 - "Text": "Samoa",
6977 - "Value": "Samoa",
6978 - "Order": 149
6979 - },
6980 - {
6981 - "Id": 1186,
6982 - "QuestionId": 13,
6983 - "Text": "San Marino",
6984 - "Value": "San Marino",
6985 - "Order": 150
6986 - },
6987 - {
6988 - "Id": 1194,
6989 - "QuestionId": 13,
6990 - "Text": "Sao Tome and Principe",
6991 - "Value": "Sao Tome and Principe",
6992 - "Order": 151
6993 - },
6994 - {
6995 - "Id": 1202,
6996 - "QuestionId": 13,
6997 - "Text": "Saudi Arabia",
6998 - "Value": "Saudi Arabia",
6999 - "Order": 152
7000 - },
7001 - {
7002 - "Id": 1210,
7003 - "QuestionId": 13,
7004 - "Text": "Senegal",
7005 - "Value": "Senegal",
7006 - "Order": 153
7007 - },
7008 - {
7009 - "Id": 1218,
7010 - "QuestionId": 13,
7011 - "Text": "Serbia and Montenegro",
7012 - "Value": "Serbia and Montenegro",
7013 - "Order": 154
7014 - },
7015 - {
7016 - "Id": 1226,
7017 - "QuestionId": 13,
7018 - "Text": "Seychelles",
7019 - "Value": "Seychelles",
7020 - "Order": 155
7021 - },
7022 - {
7023 - "Id": 1234,
7024 - "QuestionId": 13,
7025 - "Text": "Sierra Leone",
7026 - "Value": "Sierra Leone",
7027 - "Order": 156
7028 - },
7029 - {
7030 - "Id": 1242,
7031 - "QuestionId": 13,
7032 - "Text": "Singapore",
7033 - "Value": "Singapore",
7034 - "Order": 157
7035 - },
7036 - {
7037 - "Id": 1250,
7038 - "QuestionId": 13,
7039 - "Text": "Slovakia",
7040 - "Value": "Slovakia",
7041 - "Order": 158
7042 - },
7043 - {
7044 - "Id": 1258,
7045 - "QuestionId": 13,
7046 - "Text": "Slovenia",
7047 - "Value": "Slovenia",
7048 - "Order": 159
7049 - },
7050 - {
7051 - "Id": 1266,
7052 - "QuestionId": 13,
7053 - "Text": "Solomon Islands",
7054 - "Value": "Solomon Islands",
7055 - "Order": 160
7056 - },
7057 - {
7058 - "Id": 1274,
7059 - "QuestionId": 13,
7060 - "Text": "Somalia",
7061 - "Value": "Somalia",
7062 - "Order": 161
7063 - },
7064 - {
7065 - "Id": 1282,
7066 - "QuestionId": 13,
7067 - "Text": "South Africa",
7068 - "Value": "South Africa",
7069 - "Order": 162
7070 - },
7071 - {
7072 - "Id": 1290,
7073 - "QuestionId": 13,
7074 - "Text": "Spain",
7075 - "Value": "Spain",
7076 - "Order": 163
7077 - },
7078 - {
7079 - "Id": 1298,
7080 - "QuestionId": 13,
7081 - "Text": "Sri Lanka",
7082 - "Value": "Sri Lanka",
7083 - "Order": 164
7084 - },
7085 - {
7086 - "Id": 1306,
7087 - "QuestionId": 13,
7088 - "Text": "Sudan",
7089 - "Value": "Sudan",
7090 - "Order": 165
7091 - },
7092 - {
7093 - "Id": 1314,
7094 - "QuestionId": 13,
7095 - "Text": "Suriname",
7096 - "Value": "Suriname",
7097 - "Order": 166
7098 - },
7099 - {
7100 - "Id": 1322,
7101 - "QuestionId": 13,
7102 - "Text": "Swaziland",
7103 - "Value": "Swaziland",
7104 - "Order": 167
7105 - },
7106 - {
7107 - "Id": 1330,
7108 - "QuestionId": 13,
7109 - "Text": "Sweden",
7110 - "Value": "Sweden",
7111 - "Order": 168
7112 - },
7113 - {
7114 - "Id": 1338,
7115 - "QuestionId": 13,
7116 - "Text": "Switzerland",
7117 - "Value": "Switzerland",
7118 - "Order": 169
7119 - },
7120 - {
7121 - "Id": 1346,
7122 - "QuestionId": 13,
7123 - "Text": "Syria",
7124 - "Value": "Syria",
7125 - "Order": 170
7126 - },
7127 - {
7128 - "Id": 1354,
7129 - "QuestionId": 13,
7130 - "Text": "Taiwan",
7131 - "Value": "Taiwan",
7132 - "Order": 171
7133 - },
7134 - {
7135 - "Id": 1362,
7136 - "QuestionId": 13,
7137 - "Text": "Tajikistan",
7138 - "Value": "Tajikistan",
7139 - "Order": 172
7140 - },
7141 - {
7142 - "Id": 1370,
7143 - "QuestionId": 13,
7144 - "Text": "Tanzania",
7145 - "Value": "Tanzania",
7146 - "Order": 173
7147 - },
7148 - {
7149 - "Id": 1378,
7150 - "QuestionId": 13,
7151 - "Text": "Thailand",
7152 - "Value": "Thailand",
7153 - "Order": 174
7154 - },
7155 - {
7156 - "Id": 1386,
7157 - "QuestionId": 13,
7158 - "Text": "Togo",
7159 - "Value": "Togo",
7160 - "Order": 175
7161 - },
7162 - {
7163 - "Id": 1394,
7164 - "QuestionId": 13,
7165 - "Text": "Tonga",
7166 - "Value": "Tonga",
7167 - "Order": 176
7168 - },
7169 - {
7170 - "Id": 1402,
7171 - "QuestionId": 13,
7172 - "Text": "Trinidad and Tobago",
7173 - "Value": "Trinidad and Tobago",
7174 - "Order": 177
7175 - },
7176 - {
7177 - "Id": 1410,
7178 - "QuestionId": 13,
7179 - "Text": "Tunisia",
7180 - "Value": "Tunisia",
7181 - "Order": 178
7182 - },
7183 - {
7184 - "Id": 1418,
7185 - "QuestionId": 13,
7186 - "Text": "Turkey",
7187 - "Value": "Turkey",
7188 - "Order": 179
7189 - },
7190 - {
7191 - "Id": 1426,
7192 - "QuestionId": 13,
7193 - "Text": "Turkmenistan",
7194 - "Value": "Turkmenistan",
7195 - "Order": 180
7196 - },
7197 - {
7198 - "Id": 1434,
7199 - "QuestionId": 13,
7200 - "Text": "Tuvalu",
7201 - "Value": "Tuvalu",
7202 - "Order": 181
7203 - },
7204 - {
7205 - "Id": 1442,
7206 - "QuestionId": 13,
7207 - "Text": "Uganda",
7208 - "Value": "Uganda",
7209 - "Order": 182
7210 - },
7211 - {
7212 - "Id": 1450,
7213 - "QuestionId": 13,
7214 - "Text": "Ukraine",
7215 - "Value": "Ukraine",
7216 - "Order": 183
7217 - },
7218 - {
7219 - "Id": 1458,
7220 - "QuestionId": 13,
7221 - "Text": "United Arab Emirates",
7222 - "Value": "United Arab Emirates",
7223 - "Order": 184
7224 - },
7225 - {
7226 - "Id": 1466,
7227 - "QuestionId": 13,
7228 - "Text": "United Kingdom",
7229 - "Value": "United Kingdom",
7230 - "Order": 185
7231 - },
7232 - {
7233 - "Id": 1474,
7234 - "QuestionId": 13,
7235 - "Text": "United States",
7236 - "Value": "United States",
7237 - "Order": 2
7238 - },
7239 - {
7240 - "Id": 1482,
7241 - "QuestionId": 13,
7242 - "Text": "Uruguay",
7243 - "Value": "Uruguay",
7244 - "Order": 186
7245 - },
7246 - {
7247 - "Id": 1490,
7248 - "QuestionId": 13,
7249 - "Text": "Uzbekistan",
7250 - "Value": "Uzbekistan",
7251 - "Order": 187
7252 - },
7253 - {
7254 - "Id": 1498,
7255 - "QuestionId": 13,
7256 - "Text": "Vanuatu",
7257 - "Value": "Vanuatu",
7258 - "Order": 188
7259 - },
7260 - {
7261 - "Id": 1506,
7262 - "QuestionId": 13,
7263 - "Text": "Vatican City",
7264 - "Value": "Vatican City",
7265 - "Order": 189
7266 - },
7267 - {
7268 - "Id": 1514,
7269 - "QuestionId": 13,
7270 - "Text": "Venezuela",
7271 - "Value": "Venezuela",
7272 - "Order": 190
7273 - },
7274 - {
7275 - "Id": 1522,
7276 - "QuestionId": 13,
7277 - "Text": "Vietnam",
7278 - "Value": "Vietnam",
7279 - "Order": 191
7280 - },
7281 - {
7282 - "Id": 1530,
7283 - "QuestionId": 13,
7284 - "Text": "Yemen",
7285 - "Value": "Yemen",
7286 - "Order": 192
7287 - },
7288 - {
7289 - "Id": 1538,
7290 - "QuestionId": 13,
7291 - "Text": "Zambia",
7292 - "Value": "Zambia",
7293 - "Order": 193
7294 - },
7295 - {
7296 - "Id": 1546,
7297 - "QuestionId": 13,
7298 - "Text": "Zimbabwe",
7299 - "Value": "Zimbabwe",
7300 - "Order": 194
7301 - },
7302 - {
7303 - "Id": 2186,
7304 - "QuestionId": 13,
7305 - "Text": "British Columbia",
7306 - "Value": "British Columbia",
7307 - "Order": 195
7308 - }
7309 - ]
7310 - },
7311 - {
7312 - "Id": 178,
7313 - "Text": "Job Function",
7314 - "Type": "4",
7315 - "Alias": "Job Function",
7316 - "Choices": [
7317 - {
7318 - "Id": 2266,
7319 - "QuestionId": 178,
7320 - "Text": "Select One",
7321 - "Value": "",
7322 - "Order": 1
7323 - },
7324 - {
7325 - "Id": 2274,
7326 - "QuestionId": 178,
7327 - "Text": "Sales",
7328 - "Value": "Sales",
7329 - "Order": 2
7330 - },
7331 - {
7332 - "Id": 2282,
7333 - "QuestionId": 178,
7334 - "Text": "Marketing",
7335 - "Value": "Marketing",
7336 - "Order": 3
7337 - },
7338 - {
7339 - "Id": 2290,
7340 - "QuestionId": 178,
7341 - "Text": "New Media",
7342 - "Value": "New Media",
7343 - "Order": 4
7344 - },
7345 - {
7346 - "Id": 2298,
7347 - "QuestionId": 178,
7348 - "Text": "Audience Development",
7349 - "Value": "Audience Development",
7350 - "Order": 5
7351 - },
7352 - {
7353 - "Id": 2306,
7354 - "QuestionId": 178,
7355 - "Text": "Editorial",
7356 - "Value": "Editorial",
7357 - "Order": 6
7358 - },
7359 - {
7360 - "Id": 2314,
7361 - "QuestionId": 178,
7362 - "Text": "Information Technology",
7363 - "Value": "IT",
7364 - "Order": 7
7365 - },
7366 - {
7367 - "Id": 2322,
7368 - "QuestionId": 178,
7369 - "Text": "Corporate",
7370 - "Value": "Corporate",
7371 - "Order": 8
7372 - },
7373 - {
7374 - "Id": 2418,
7375 - "QuestionId": 178,
7376 - "Text": "Other",
7377 - "Value": "Other",
7378 - "Order": 9
7379 - }
7380 - ]
7381 - },
7382 - {
7383 - "Id": 202,
7384 - "Text": "Type of Publication",
7385 - "Type": "4",
7386 - "Alias": "Type of Publication",
7387 - "Choices": [
7388 - {
7389 - "Id": 2330,
7390 - "QuestionId": 202,
7391 - "Text": "Select One",
7392 - "Value": "",
7393 - "Order": 1
7394 - },
7395 - {
7396 - "Id": 2338,
7397 - "QuestionId": 202,
7398 - "Text": "Magazine",
7399 - "Value": "Magazine",
7400 - "Order": 2
7401 - },
7402 - {
7403 - "Id": 2346,
7404 - "QuestionId": 202,
7405 - "Text": "Newspaper",
7406 - "Value": "Newspaper",
7407 - "Order": 3
7408 - },
7409 - {
7410 - "Id": 2354,
7411 - "QuestionId": 202,
7412 - "Text": "Digital Publisher",
7413 - "Value": "Digital Publisher",
7414 - "Order": 4
7415 - },
7416 - {
7417 - "Id": 2362,
7418 - "QuestionId": 202,
7419 - "Text": "Book Publisher",
7420 - "Value": "Book Publisher",
7421 - "Order": 5
7422 - },
7423 - {
7424 - "Id": 2370,
7425 - "QuestionId": 202,
7426 - "Text": "Newsletter/Email",
7427 - "Value": "Newsletter/Email",
7428 - "Order": 6
7429 - }
7430 - ]
7431 - },
7432 - {
7433 - "Id": 226,
7434 - "Text": "What is your time frame for deployment?",
7435 - "Type": "4",
7436 - "Alias": "What is your time frame for deployment?",
7437 - "Choices": [
7438 - {
7439 - "Id": 2378,
7440 - "QuestionId": 226,
7441 - "Text": "Select One",
7442 - "Value": "",
7443 - "Order": 1
7444 - },
7445 - {
7446 - "Id": 2386,
7447 - "QuestionId": 226,
7448 - "Text": "0-3 months",
7449 - "Value": "0-3",
7450 - "Order": 2
7451 - },
7452 - {
7453 - "Id": 2394,
7454 - "QuestionId": 226,
7455 - "Text": "3-6 months",
7456 - "Value": "3-6",
7457 - "Order": 3
7458 - },
7459 - {
7460 - "Id": 2402,
7461 - "QuestionId": 226,
7462 - "Text": "6-12 months",
7463 - "Value": "6-12",
7464 - "Order": 4
7465 - },
7466 - {
7467 - "Id": 2410,
7468 - "QuestionId": 226,
7469 - "Text": "No Formal Plans",
7470 - "Value": "No Formal Plans",
7471 - "Order": 5
7472 - }
7473 - ]
7474 - },
7475 - {
7476 - "Id": 250,
7477 - "Text": "Industry",
7478 - "Type": "4",
7479 - "Alias": "Industry",
7480 - "Choices": [
7481 - {
7482 - "Id": 2426,
7483 - "QuestionId": 250,
7484 - "Text": "Agency",
7485 - "Value": "Agency",
7486 - "Order": 2
7487 - },
7488 - {
7489 - "Id": 2434,
7490 - "QuestionId": 250,
7491 - "Text": "Association",
7492 - "Value": "Association",
7493 - "Order": 3
7494 - },
7495 - {
7496 - "Id": 2442,
7497 - "QuestionId": 250,
7498 - "Text": "Direct Marketing",
7499 - "Value": "Direct Marketing",
7500 - "Order": 4
7501 - },
7502 - {
7503 - "Id": 2450,
7504 - "QuestionId": 250,
7505 - "Text": "Publisher",
7506 - "Value": "Publisher",
7507 - "Order": 5
7508 - },
7509 - {
7510 - "Id": 2458,
7511 - "QuestionId": 250,
7512 - "Text": "Service Bureau",
7513 - "Value": "Service Bureau",
7514 - "Order": 6
7515 - },
7516 - {
7517 - "Id": 2466,
7518 - "QuestionId": 250,
7519 - "Text": "Select One",
7520 - "Value": "Government",
7521 - "Order": 1
7522 - },
7523 - {
7524 - "Id": 2737,
7525 - "QuestionId": 250,
7526 - "Text": "Other",
7527 - "Value": "Other",
7528 - "Order": 7
7529 - },
7530 - {
7531 - "Id": 3051,
7532 - "QuestionId": 250,
7533 - "Text": "Business Services",
7534 - "Value": "Business Services",
7535 - "Order": 8
7536 - },
7537 - {
7538 - "Id": 3059,
7539 - "QuestionId": 250,
7540 - "Text": "Business Services, Media & Internet",
7541 - "Value": "Business Services, Media & Internet",
7542 - "Order": 9
7543 - },
7544 - {
7545 - "Id": 3067,
7546 - "QuestionId": 250,
7547 - "Text": "Business Services,Consumer Services",
7548 - "Value": "Business Services,Consumer Services",
7549 - "Order": 10
7550 - },
7551 - {
7552 - "Id": 3075,
7553 - "QuestionId": 250,
7554 - "Text": "Business Services,Finance",
7555 - "Value": "Business Services,Finance",
7556 - "Order": 11
7557 - },
7558 - {
7559 - "Id": 3083,
7560 - "QuestionId": 250,
7561 - "Text": "Business Services,Retail,Media & Internet",
7562 - "Value": "Business Services,Retail,Media & Internet",
7563 - "Order": 12
7564 - },
7565 - {
7566 - "Id": 3091,
7567 - "QuestionId": 250,
7568 - "Text": "Business Services,Telecommunications",
7569 - "Value": "Business Services,Telecommunications",
7570 - "Order": 13
7571 - },
7572 - {
7573 - "Id": 3099,
7574 - "QuestionId": 250,
7575 - "Text": "Energy, Utilities & Waste Treatment",
7576 - "Value": "Energy, Utilities & Waste Treatment",
7577 - "Order": 14
7578 - },
7579 - {
7580 - "Id": 3107,
7581 - "QuestionId": 250,
7582 - "Text": "Finance",
7583 - "Value": "Finance",
7584 - "Order": 15
7585 - },
7586 - {
7587 - "Id": 3115,
7588 - "QuestionId": 250,
7589 - "Text": "Hospitality",
7590 - "Value": "Hospitality",
7591 - "Order": 16
7592 - },
7593 - {
7594 - "Id": 3123,
7595 - "QuestionId": 250,
7596 - "Text": "Hospitality,Media & Internet",
7597 - "Value": "Hospitality,Media & Internet",
7598 - "Order": 17
7599 - },
7600 - {
7601 - "Id": 3131,
7602 - "QuestionId": 250,
7603 - "Text": "Insurance",
7604 - "Value": "Insurance",
7605 - "Order": 18
7606 - },
7607 - {
7608 - "Id": 3139,
7609 - "QuestionId": 250,
7610 - "Text": "Insurance, Finance",
7611 - "Value": "Insurance, Finance",
7612 - "Order": 19
7613 - },
7614 - {
7615 - "Id": 3147,
7616 - "QuestionId": 250,
7617 - "Text": "Manufacturing",
7618 - "Value": "Manufacturing",
7619 - "Order": 20
7620 - },
7621 - {
7622 - "Id": 3155,
7623 - "QuestionId": 250,
7624 - "Text": "Manufacturing,Business Services",
7625 - "Value": "Manufacturing,Business Services",
7626 - "Order": 21
7627 - },
7628 - {
7629 - "Id": 3163,
7630 - "QuestionId": 250,
7631 - "Text": "Manufacturing,Retail,Healthcare",
7632 - "Value": "Manufacturing,Retail,Healthcare",
7633 - "Order": 22
7634 - },
7635 - {
7636 - "Id": 3171,
7637 - "QuestionId": 250,
7638 - "Text": "Media & Internet",
7639 - "Value": "Media & Internet",
7640 - "Order": 23
7641 - },
7642 - {
7643 - "Id": 3179,
7644 - "QuestionId": 250,
7645 - "Text": "Media & Internet,Business Services",
7646 - "Value": "Media & Internet,Business Services",
7647 - "Order": 24
7648 - },
7649 - {
7650 - "Id": 3187,
7651 - "QuestionId": 250,
7652 - "Text": "Organizations",
7653 - "Value": "Organizations",
7654 - "Order": 25
7655 - },
7656 - {
7657 - "Id": 3195,
7658 - "QuestionId": 250,
7659 - "Text": "Real Estate",
7660 - "Value": "Real Estate",
7661 - "Order": 26
7662 - },
7663 - {
7664 - "Id": 3203,
7665 - "QuestionId": 250,
7666 - "Text": "Retail",
7667 - "Value": "Retail",
7668 - "Order": 27
7669 - },
7670 - {
7671 - "Id": 3211,
7672 - "QuestionId": 250,
7673 - "Text": "Retail,Software,Consumer Services",
7674 - "Value": "Retail,Software,Consumer Services",
7675 - "Order": 28
7676 - },
7677 - {
7678 - "Id": 3219,
7679 - "QuestionId": 250,
7680 - "Text": "Software",
7681 - "Value": "Software",
7682 - "Order": 29
7683 - },
7684 - {
7685 - "Id": 3227,
7686 - "QuestionId": 250,
7687 - "Text": "Retail, Manufacturing",
7688 - "Value": "Retail, Manufacturing",
7689 - "Order": 30
7690 - },
7691 - {
7692 - "Id": 3235,
7693 - "QuestionId": 250,
7694 - "Text": "Software,Manufacturing,Retail",
7695 - "Value": "Software,Manufacturing,Retail",
7696 - "Order": 31
7697 - },
7698 - {
7699 - "Id": 3243,
7700 - "QuestionId": 250,
7701 - "Text": "Business Services,Media & Internet",
7702 - "Value": "Business Services,Media & Internet",
7703 - "Order": 32
7704 - },
7705 - {
7706 - "Id": 3251,
7707 - "QuestionId": 250,
7708 - "Text": "Telecommunications",
7709 - "Value": "Telecommunications",
7710 - "Order": 33
7711 - }
7712 - ]
7713 - },
7714 - {
7715 - "Id": 274,
7716 - "Text": "How many employees work at your company?_Copy",
7717 - "Type": "4",
7718 - "Alias": "ALL",
7719 - "Choices": [
7720 - {
7721 - "Id": 2698,
7722 - "QuestionId": 274,
7723 - "Text": "1-25",
7724 - "Value": "01",
7725 - "Order": 1
7726 - },
7727 - {
7728 - "Id": 2706,
7729 - "QuestionId": 274,
7730 - "Text": "26-100",
7731 - "Value": "02",
7732 - "Order": 2
7733 - },
7734 - {
7735 - "Id": 2714,
7736 - "QuestionId": 274,
7737 - "Text": "101-250",
7738 - "Value": "03",
7739 - "Order": 3
7740 - },
7741 - {
7742 - "Id": 2722,
7743 - "QuestionId": 274,
7744 - "Text": "251-500",
7745 - "Value": "04",
7746 - "Order": 4
7747 - },
7748 - {
7749 - "Id": 2730,
7750 - "QuestionId": 274,
7751 - "Text": "500+",
7752 - "Value": "05",
7753 - "Order": 5
7754 - }
7755 - ]
7756 - },
7757 - {
7758 - "Id": 281,
7759 - "Text": "How many employees work at your company?_Copy",
7760 - "Type": "4",
7761 - "Alias": "How many employees work at your company?_Copy",
7762 - "Choices": [
7763 - {
7764 - "Id": 2745,
7765 - "QuestionId": 281,
7766 - "Text": "1-25",
7767 - "Value": "01",
7768 - "Order": 1
7769 - },
7770 - {
7771 - "Id": 2753,
7772 - "QuestionId": 281,
7773 - "Text": "26-100",
7774 - "Value": "02",
7775 - "Order": 2
7776 - },
7777 - {
7778 - "Id": 2761,
7779 - "QuestionId": 281,
7780 - "Text": "101-250",
7781 - "Value": "03",
7782 - "Order": 3
7783 - },
7784 - {
7785 - "Id": 2769,
7786 - "QuestionId": 281,
7787 - "Text": "251-500",
7788 - "Value": "04",
7789 - "Order": 4
7790 - },
7791 - {
7792 - "Id": 2777,
7793 - "QuestionId": 281,
7794 - "Text": "500+",
7795 - "Value": "05",
7796 - "Order": 5
7797 - }
7798 - ]
7799 - },
7800 - {
7801 - "Id": 291,
7802 - "Text": "DAS Question Update",
7803 - "Type": "4",
7804 - "Alias": "DAS Question Update",
7805 - "Choices": [
7806 - {
7807 - "Id": 2859,
7808 - "QuestionId": 291,
7809 - "Text": "Choice a Update",
7810 - "Value": "a Update",
7811 - "Order": 1
7812 - },
7813 - {
7814 - "Id": 2867,
7815 - "QuestionId": 291,
7816 - "Text": "Choice b Update",
7817 - "Value": "b Update",
7818 - "Order": 2
7819 - }
7820 - ]
7821 - },
7822 - {
7823 - "Id": 363,
7824 - "Text": "Group Size",
7825 - "Type": "4",
7826 - "Alias": "Group Size",
7827 - "Choices": [
7828 - {
7829 - "Id": 3027,
7830 - "QuestionId": 363,
7831 - "Text": "NA",
7832 - "Value": "NA",
7833 - "Order": 1
7834 - },
7835 - {
7836 - "Id": 3035,
7837 - "QuestionId": 363,
7838 - "Text": "0-10",
7839 - "Value": "0-10",
7840 - "Order": 2
7841 - },
7842 - {
7843 - "Id": 3043,
7844 - "QuestionId": 363,
7845 - "Text": "10-25",
7846 - "Value": "10-25",
7847 - "Order": 3
7848 - }
7849 - ]
7850 - },
7851 - {
7852 - "Id": 399,
7853 - "Text": "What best describes your job title?",
7854 - "Type": "4",
7855 - "Alias": "1105-title",
7856 - "Choices": [
7857 - {
7858 - "Id": 3255,
7859 - "QuestionId": 399,
7860 - "Text": "CIO, CTO, CKO, Technical/VP",
7861 - "Value": "CIO",
7862 - "Order": 1
7863 - },
7864 - {
7865 - "Id": 3263,
7866 - "QuestionId": 399,
7867 - "Text": "Corporate Management",
7868 - "Value": "corporate",
7869 - "Order": 2
7870 - },
7871 - {
7872 - "Id": 3271,
7873 - "QuestionId": 399,
7874 - "Text": "IS/IT Director/Manager",
7875 - "Value": "it",
7876 - "Order": 3
7877 - },
7878 - {
7879 - "Id": 3279,
7880 - "QuestionId": 399,
7881 - "Text": "Director of Softare Development",
7882 - "Value": "software director",
7883 - "Order": 4
7884 - },
7885 - {
7886 - "Id": 3287,
7887 - "QuestionId": 399,
7888 - "Text": "Application Development Manager",
7889 - "Value": "ADM",
7890 - "Order": 5
7891 - }
7892 - ]
7893 - },
7894 - {
7895 - "Id": 407,
7896 - "Text": "What is your organization's (or largest client, if you are a consultant) primary business at this location?",
7897 - "Type": "4",
7898 - "Alias": "1105 largest client",
7899 - "Choices": [
7900 - {
7901 - "Id": 3295,
7902 - "QuestionId": 407,
7903 - "Text": "Aerospace",
7904 - "Value": "aerospace",
7905 - "Order": 1
7906 - },
7907 - {
7908 - "Id": 3303,
7909 - "QuestionId": 407,
7910 - "Text": "Agriculture/Mining/Gas/Oil",
7911 - "Value": "ag",
7912 - "Order": 2
7913 - },
7914 - {
7915 - "Id": 3311,
7916 - "QuestionId": 407,
7917 - "Text": "Business Services/Consultants",
7918 - "Value": "bs",
7919 - "Order": 3
7920 - },
7921 - {
7922 - "Id": 3319,
7923 - "QuestionId": 407,
7924 - "Text": "Construction/Architecture/Engineering",
7925 - "Value": "construction",
7926 - "Order": 4
7927 - },
7928 - {
7929 - "Id": 3327,
7930 - "QuestionId": 407,
7931 - "Text": "Education/Training",
7932 - "Value": "education",
7933 - "Order": 5
7934 - }
7935 - ]
7936 - },
7937 - {
7938 - "Id": 415,
7939 - "Text": "What is the total number of employees in your entire organzation?",
7940 - "Type": "4",
7941 - "Alias": "1105 num employees",
7942 - "Choices": [
7943 - {
7944 - "Id": 3335,
7945 - "QuestionId": 415,
7946 - "Text": "10,000 or more",
7947 - "Value": "10000",
7948 - "Order": 1
7949 - },
7950 - {
7951 - "Id": 3343,
7952 - "QuestionId": 415,
7953 - "Text": "5,000 - 9,999",
7954 - "Value": "5000",
7955 - "Order": 2
7956 - },
7957 - {
7958 - "Id": 3351,
7959 - "QuestionId": 415,
7960 - "Text": "1,000 - 4,999",
7961 - "Value": "1000",
7962 - "Order": 3
7963 - },
7964 - {
7965 - "Id": 3359,
7966 - "QuestionId": 415,
7967 - "Text": "500 - 999",
7968 - "Value": "500",
7969 - "Order": 4
7970 - },
7971 - {
7972 - "Id": 3367,
7973 - "QuestionId": 415,
7974 - "Text": "100 - 499",
7975 - "Value": "100",
7976 - "Order": 5
7977 - },
7978 - {
7979 - "Id": 3375,
7980 - "QuestionId": 415,
7981 - "Text": "Under 100",
7982 - "Value": "Under 100",
7983 - "Order": 6
7984 - }
7985 - ]
7986 - },
7987 - {
7988 - "Id": 423,
7989 - "Text": "saaa",
7990 - "Type": "4",
7991 - "Alias": "test",
7992 - "Choices": [
7993 - {
7994 - "Id": 3383,
7995 - "QuestionId": 423,
7996 - "Text": "1",
7997 - "Value": "1",
7998 - "Order": 1
7999 - },
8000 - {
8001 - "Id": 3391,
8002 - "QuestionId": 423,
8003 - "Text": "3",
8004 - "Value": "3",
8005 - "Order": 2
8006 - }
8007 - ]
8008 - }
8009 - ]
2048 +(% class="western" %)
8010 8010  }
8011 -{{/code}}
8012 8012  
8013 8013  (% class="western" %)
8014 -\\
2052 +},
8015 8015  
8016 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
8017 -== (% 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": [
8018 8018  
8019 -----
8020 -
8021 -{{panel bgColor="#D3D3D3" width="100%"}}
8022 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/questions
8023 -{{/panel}}
8024 -
8025 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
8026 -
8027 -----
8028 -
8029 -(% 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}}
8030 -
8031 -=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
8032 -
8033 -----
8034 -
8035 -{{code language="yml" theme="RDark" title="Body"}}
8036 -{"Text":"Test from API 3","Type":0,"Alias":"Test from API 3"}
8037 -{{/code}}
8038 -
8039 -==== Example ====
8040 -
8041 -----
8042 -
8043 -(% style="color: rgb(107,107,107);" %)Request
8044 -
8045 -{{code language="php" theme="RDark" title="Create Question Request"}}
8046 -<?php
8047 -
8048 -$curl = curl_init();
8049 -
8050 -curl_setopt_array($curl, array(
8051 - CURLOPT_URL => 'https://api.onecount.net/v2/questions',
8052 - CURLOPT_RETURNTRANSFER => true,
8053 - CURLOPT_ENCODING => '',
8054 - CURLOPT_MAXREDIRS => 10,
8055 - CURLOPT_TIMEOUT => 0,
8056 - CURLOPT_FOLLOWLOCATION => true,
8057 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
8058 - CURLOPT_CUSTOMREQUEST => 'POST',
8059 - CURLOPT_POSTFIELDS =>'{"Text":"Test from API 3","Type":0,"Alias":"Test from API 3"}',
8060 - CURLOPT_HTTPHEADER => array(
8061 - 'Appkey: {{ONECOUNT API KEY}}'
8062 - ),
8063 -));
8064 -
8065 -$response = curl_exec($curl);
8066 -
8067 -curl_close($curl);
8068 -echo $response;
8069 -{{/code}}
8070 -
8071 -\\
8072 -
8073 -(% style="color: rgb(107,107,107);" %)Response  200 OK
8074 -
8075 -{{code language="yml" theme="RDark" title="Create question Response" collapse="true"}}
2057 +(% class="western" %)
8076 8076  {
8077 - "result": {
8078 - "success": "1",
8079 - "error": {
8080 - "code": "",
8081 - "message": ""
8082 - }
8083 - },
8084 - "Questions": [
8085 - {
8086 - "Id": 455
8087 - }
8088 - ]
8089 -}
8090 -{{/code}}
8091 8091  
8092 -\\
2060 +(% class="western" %)
2061 +"Id": "6",
8093 8093  
8094 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
8095 -== (% 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",
8096 8096  
8097 -----
2066 +(% class="western" %)
2067 +"Type": "1",
8098 8098  
8099 -{{panel bgColor="#D3D3D3" width="100%"}}
8100 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/questions
8101 -{{/panel}}
2069 +(% class="western" %)
2070 +"Alias": "FName"
8102 8102  
8103 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
8104 -
8105 -----
8106 -
8107 -(% 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}}
8108 -
8109 -=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
8110 -
8111 -----
8112 -
8113 -{{code language="yml" theme="RDark" title="Body"}}
8114 -{"Text":"Test from API 6","Type":4,"Alias":"Test from API 6", "Choices":[{"Text":"test 1","Value":"test 1"},{"Text":"test 2","Value":"test 2"}]}
8115 -{{/code}}
8116 -
8117 -==== Example ====
8118 -
8119 -----
8120 -
8121 -(% style="color: rgb(107,107,107);" %)Request
8122 -
8123 -{{code language="php" theme="RDark" title="Create Question Request"}}
8124 -<?php
8125 -
8126 -$curl = curl_init();
8127 -
8128 -curl_setopt_array($curl, array(
8129 - CURLOPT_URL => 'https://api.onecount.net/v2/questions',
8130 - CURLOPT_RETURNTRANSFER => true,
8131 - CURLOPT_ENCODING => '',
8132 - CURLOPT_MAXREDIRS => 10,
8133 - CURLOPT_TIMEOUT => 0,
8134 - CURLOPT_FOLLOWLOCATION => true,
8135 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
8136 - CURLOPT_CUSTOMREQUEST => 'POST',
8137 - 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"}]}',
8138 - CURLOPT_HTTPHEADER => array(
8139 - 'Appkey: {{ONECOUNT API KEY}}'
8140 - ),
8141 -));
8142 -
8143 -$response = curl_exec($curl);
8144 -
8145 -curl_close($curl);
8146 -echo $response;
8147 -{{/code}}
8148 -
8149 -\\
8150 -
8151 -(% style="color: rgb(107,107,107);" %)Response  200 OK
8152 -
8153 -{{code language="yml" theme="RDark" title="Create question Response" collapse="true"}}
8154 -{
8155 - "result": {
8156 - "success": "1",
8157 - "error": {
8158 - "code": "",
8159 - "message": ""
8160 - }
8161 - },
8162 - "Questions": [
8163 - {
8164 - "Id": 495
8165 - }
8166 - ]
2072 +(% class="western" %)
8167 8167  }
8168 -{{/code}}
8169 8169  
8170 -\\
2075 +(% class="western" %)
2076 +]
8171 8171  
8172 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
8173 -== (% 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(%%) ==
8174 -
8175 -----
8176 -
8177 -{{panel bgColor="#D3D3D3" width="100%"}}
8178 - (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/questions/~{~{QUESTION ID}}
8179 -{{/panel}}
8180 -
8181 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
8182 -
8183 -----
8184 -
8185 -(% 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}}
8186 -
8187 -=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
8188 -
8189 -----
8190 -
8191 -{{code language="yml" theme="RDark" title="Body"}}
8192 -{"Text":"Test from API 6 changed","Type":4,"Alias":"Test from API 6 changed", "Choices":[{"Text":"test 1","Value":"test 1"},{"Text":"test 2","Value":"test 2"}]}
8193 -{{/code}}
8194 -
8195 -==== Example ====
8196 -
8197 -----
8198 -
8199 -(% style="color: rgb(107,107,107);" %)Request
8200 -
8201 -{{code language="php" theme="RDark" title="Update Question Request"}}
8202 -<?php
8203 -
8204 -$curl = curl_init();
8205 -
8206 -curl_setopt_array($curl, array(
8207 - CURLOPT_URL => 'https://api.onecount.net/v2/questions/{{QUESTION ID}}',
8208 - CURLOPT_RETURNTRANSFER => true,
8209 - CURLOPT_ENCODING => '',
8210 - CURLOPT_MAXREDIRS => 10,
8211 - CURLOPT_TIMEOUT => 0,
8212 - CURLOPT_FOLLOWLOCATION => true,
8213 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
8214 - CURLOPT_CUSTOMREQUEST => 'PUT',
8215 - 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"}]}',
8216 - CURLOPT_HTTPHEADER => array(
8217 - 'Appkey: {{ONECOUNT API KEY}}'
8218 - ),
8219 -));
8220 -
8221 -$response = curl_exec($curl);
8222 -
8223 -curl_close($curl);
8224 -echo $response;
8225 -
8226 -
8227 -{{/code}}
8228 -
8229 -\\
8230 -
8231 -(% style="color: rgb(107,107,107);" %)Response  200 OK
8232 -
8233 -{{code language="yml" theme="RDark" title="Update Question Response" collapse="true"}}
8234 -{
8235 - "result": {
8236 - "success": "1",
8237 - "error": {
8238 - "code": "",
8239 - "message": ""
8240 - }
8241 - },
8242 - "Questions": [
8243 - {
8244 - "Id": 503
8245 - }
8246 - ]
2078 +(% class="western" %)
8247 8247  }
8248 -{{/code}}
8249 8249  
8250 8250  (% class="western" %)
8251 8251  \\
8252 8252  
8253 8253  (% class="western" %)
8254 -=== **COMPONENT: Products** ===
2085 +**COMPONENT: Products**
8255 8255  
8256 8256  (% class="western" %)
8257 8257  This resource is for manipulating products resource. A product can be created, updated or searched.
8258 8258  
8259 -(% class="wrapped" %)
8260 8260  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8261 8261  (((
8262 8262  (% class="western" %)
... ... @@ -8360,704 +8360,210 @@
8360 8360  
8361 8361  \\
8362 8362  
8363 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
8364 -== (% 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.**
8365 8365  
8366 -----
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.
8367 8367  
8368 -----
2222 +(% class="western" %)
2223 +Params:
8369 8369  
8370 -{{panel bgColor="#D3D3D3" width="100%"}}
8371 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/products
8372 -{{/panel}}
2225 +(% class="western" %)
2226 +Name: Name of the Product for lookup (String)
2227 +)))
8373 8373  
8374 -=== (% 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 +)))
8375 8375  
8376 -----
8377 -
8378 -(% 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}}
8379 -
8380 -==== Example ====
8381 -
8382 -----
8383 -
8384 -(% style="color: rgb(107,107,107);" %)Request
8385 -
8386 -{{code language="php" theme="RDark" title="Get All Products Request"}}
8387 -<?php
8388 -
8389 -$curl = curl_init();
8390 -
8391 -curl_setopt_array($curl, array(
8392 - CURLOPT_URL => 'https://api.onecount.net/v2/products',
8393 - CURLOPT_RETURNTRANSFER => true,
8394 - CURLOPT_ENCODING => '',
8395 - CURLOPT_MAXREDIRS => 10,
8396 - CURLOPT_TIMEOUT => 0,
8397 - CURLOPT_FOLLOWLOCATION => true,
8398 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
8399 - CURLOPT_CUSTOMREQUEST => 'GET',
8400 - CURLOPT_HTTPHEADER => array(
8401 - 'Appkey: {{ONECOUNT API KEY}}'
8402 - ),
8403 -));
8404 -
8405 -$response = curl_exec($curl);
8406 -
8407 -curl_close($curl);
8408 -echo $response;
8409 -
8410 -
8411 -{{/code}}
8412 -
8413 8413  \\
8414 8414  
8415 -(% style="color: rgb(107,107,107);" %)Response  200 OK
2258 +(% class="western" %)
2259 +**POST method should be used to create products.**
8416 8416  
8417 -{{code language="yml" theme="RDark" title="Get All Products Response" collapse="true"}}
8418 - {
8419 - "result": {
8420 - "success": "1",
8421 - "error": {
8422 - "code": "",
8423 - "message": ""
8424 - }
8425 - },
8426 - "Products": [
8427 - {
8428 - "ProductId": 26,
8429 - "Title": "ONEcount Product Demo",
8430 - "Description": "",
8431 - "ResourceIDs": [],
8432 - "PrimaryFormID": [
8433 - "307",
8434 - "34"
8435 - ],
8436 - "Terms": {
8437 - "Id": 26,
8438 - "Name": "Please contact me to arrange a demo",
8439 - "Description": "",
8440 - "Duration": 1,
8441 - "DurationUnit": "I",
8442 - "Price": "0",
8443 - "ProductId": 26
8444 - }
8445 - },
8446 - {
8447 - "ProductId": 34,
8448 - "Title": "ONEcount Promotional Emails",
8449 - "Description": "Master List of ONEcount prospects to receive promotional emails, etc.",
8450 - "ResourceIDs": [
8451 - 98,
8452 - 114
8453 - ],
8454 - "PrimaryFormID": [
8455 - "194"
8456 - ],
8457 - "Terms": {
8458 - "Id": 34,
8459 - "Name": "ONEcount Promotional Emails",
8460 - "Description": "ONEcount promotional emails",
8461 - "Duration": 1,
8462 - "DurationUnit": "I",
8463 - "Price": "0",
8464 - "ProductId": 34
8465 - }
8466 - },
8467 - {
8468 - "ProductId": 42,
8469 - "Title": "ONEcount Staff",
8470 - "Description": "ONEcount/GCN Media Staff",
8471 - "ResourceIDs": [
8472 - 18
8473 - ],
8474 - "PrimaryFormID": [
8475 - "186"
8476 - ],
8477 - "Terms": {
8478 - "Id": 42,
8479 - "Name": "ONEcount Staff List",
8480 - "Description": "List of ONEcount/GCN Media Staff",
8481 - "Duration": 1,
8482 - "DurationUnit": "I",
8483 - "Price": "0",
8484 - "ProductId": 42
8485 - }
8486 - },
8487 - {
8488 - "ProductId": 49,
8489 - "Title": "ONEcount Medical Publishers",
8490 - "Description": "For blasts to medical publishers and associations",
8491 - "ResourceIDs": [
8492 - 137
8493 - ],
8494 - "PrimaryFormID": [
8495 - "170"
8496 - ],
8497 - "Terms": {
8498 - "Id": 49,
8499 - "Name": "ONEcount Medical Publishers",
8500 - "Description": "ONEcount Medical Publishers and Associations",
8501 - "Duration": 1,
8502 - "DurationUnit": "I",
8503 - "Price": "0",
8504 - "ProductId": 49
8505 - }
8506 - },
8507 - {
8508 - "ProductId": 57,
8509 - "Title": "000 Pop-Up Form",
8510 - "Description": "",
8511 - "ResourceIDs": [
8512 - 145
8513 - ],
8514 - "PrimaryFormID": [
8515 - "170"
8516 - ],
8517 - "Terms": {
8518 - "Id": 57,
8519 - "Name": "000 Pop-Up Term",
8520 - "Description": "",
8521 - "Duration": 1,
8522 - "DurationUnit": "I",
8523 - "Price": "0",
8524 - "ProductId": 57
8525 - }
8526 - },
8527 - {
8528 - "ProductId": 65,
8529 - "Title": "TEST",
8530 - "Description": "",
8531 - "ResourceIDs": [],
8532 - "PrimaryFormID": [
8533 - "194"
8534 - ],
8535 - "Terms": {}
8536 - },
8537 - {
8538 - "ProductId": 67,
8539 - "Title": "Gated Product Example PKG",
8540 - "Description": "",
8541 - "ResourceIDs": [],
8542 - "PrimaryFormID": [
8543 - "195"
8544 - ],
8545 - "Terms": {
8546 - "Id": 59,
8547 - "Name": "Get it for free",
8548 - "Description": "",
8549 - "Duration": 1,
8550 - "DurationUnit": "I",
8551 - "Price": "0",
8552 - "ProductId": 67
8553 - }
8554 - },
8555 - {
8556 - "ProductId": 75,
8557 - "Title": "SB: Apple Moves To Limit Tracking in Safari: Prove",
8558 - "Description": "",
8559 - "ResourceIDs": [],
8560 - "PrimaryFormID": [],
8561 - "Terms": {}
8562 - },
8563 - {
8564 - "ProductId": 83,
8565 - "Title": "SB: Audience Extension: Turning Identity Into Cash",
8566 - "Description": "",
8567 - "ResourceIDs": [],
8568 - "PrimaryFormID": [],
8569 - "Terms": {}
8570 - },
8571 - {
8572 - "ProductId": 91,
8573 - "Title": "DAS_freepass_00",
8574 - "Description": "",
8575 - "ResourceIDs": [
8576 - 187
8577 - ],
8578 - "PrimaryFormID": [
8579 - "267"
8580 - ],
8581 - "Terms": {
8582 - "Id": 67,
8583 - "Name": "DAS_freepass_00",
8584 - "Description": "",
8585 - "Duration": 30,
8586 - "DurationUnit": "D",
8587 - "Price": "0",
8588 - "ProductId": 91
8589 - }
8590 - },
8591 - {
8592 - "ProductId": 99,
8593 - "Title": "Test12311111",
8594 - "Description": "Testss",
8595 - "ResourceIDs": [],
8596 - "PrimaryFormID": [
8597 - "10"
8598 - ],
8599 - "Terms": {
8600 - "Id": 75,
8601 - "Name": "Product123",
8602 - "Description": null,
8603 - "Duration": 0,
8604 - "DurationUnit": "",
8605 - "Price": "0",
8606 - "ProductId": 99
8607 - }
8608 - },
8609 - {
8610 - "ProductId": 107,
8611 - "Title": "Test123-456",
8612 - "Description": "Testss updated",
8613 - "ResourceIDs": [
8614 - 98
8615 - ],
8616 - "PrimaryFormID": [
8617 - "10"
8618 - ],
8619 - "Terms": {
8620 - "Id": 83,
8621 - "Name": "Product123",
8622 - "Description": null,
8623 - "Duration": 0,
8624 - "DurationUnit": "",
8625 - "Price": "0",
8626 - "ProductId": 107
8627 - }
8628 - },
8629 - {
8630 - "ProductId": 109,
8631 - "Title": "Webinar: Enhanced Analytics 2-26-2019 at 1 PM",
8632 - "Description": "",
8633 - "ResourceIDs": [
8634 - 197
8635 - ],
8636 - "PrimaryFormID": [],
8637 - "Terms": {
8638 - "Id": 93,
8639 - "Name": "Enhanced Analytics Webinar",
8640 - "Description": "Check the box to register for the February 26th webinar.",
8641 - "Duration": 1,
8642 - "DurationUnit": "I",
8643 - "Price": "0",
8644 - "ProductId": 109
8645 - }
8646 - }
8647 - ]
8648 -}
8649 -{{/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.
8650 8650  
8651 -\\
2287 +(% class="western" %)
2288 +Example:
8652 8652  
8653 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
8654 -== (% 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 +)))
8655 8655  
8656 -----
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 +)))
8657 8657  
8658 -{{panel bgColor="#D3D3D3" width="100%"}}
8659 - (% class="nolink" %)https:~/~/api.onecount.net/v2/users(% style="color: rgb(33,33,33);" %)/products/~{~{product id}}
8660 -{{/panel}}
8661 -
8662 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
8663 -
8664 -----
8665 -
8666 -(% 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}}
8667 -
8668 -==== Example ====
8669 -
8670 -----
8671 -
8672 -(% style="color: rgb(107,107,107);" %)Request
8673 -
8674 -{{code language="php" theme="RDark" title="Get specific Product Request"}}
8675 - <?php
8676 -
8677 -$curl = curl_init();
8678 -
8679 -curl_setopt_array($curl, array(
8680 - CURLOPT_URL => 'https://api.onecount.net/v2/users/products/{{product id}}',
8681 - CURLOPT_RETURNTRANSFER => true,
8682 - CURLOPT_ENCODING => '',
8683 - CURLOPT_MAXREDIRS => 10,
8684 - CURLOPT_TIMEOUT => 0,
8685 - CURLOPT_FOLLOWLOCATION => true,
8686 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
8687 - CURLOPT_CUSTOMREQUEST => 'GET',
8688 - CURLOPT_HTTPHEADER => array(
8689 - 'Appkey: {{ONECOUNT API KEY}}'
8690 - ),
8691 -));
8692 -
8693 -$response = curl_exec($curl);
8694 -
8695 -curl_close($curl);
8696 -echo $response;
8697 -{{/code}}
8698 -
8699 8699  \\
8700 8700  
8701 -(% 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.
8702 8702  
8703 -{{code language="yml" theme="RDark" title="Get specific Product Response" collapse="true"}}
8704 - {
8705 - "result": {
8706 - "success": "1",
8707 - "error": {
8708 - "code": "",
8709 - "message": ""
8710 - }
8711 - },
8712 - "Products": [
8713 - {
8714 - "ProductId": 109,
8715 - "Title": "Webinar: Enhanced Analytics 2-26-2019 at 1 PM",
8716 - "Description": "",
8717 - "ResourceIDs": [
8718 - 197
8719 - ],
8720 - "PrimaryFormID": [],
8721 - "Terms": {
8722 - "Id": 93,
8723 - "Name": "Enhanced Analytics Webinar",
8724 - "Description": "Check the box to register for the February 26th webinar.",
8725 - "Duration": 1,
8726 - "DurationUnit": "I",
8727 - "Price": "0",
8728 - "ProductId": 109
8729 - }
8730 - }
8731 - ]
8732 -}
8733 -{{/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.
8734 8734  
8735 -\\
2352 +(% class="western" %)
2353 +**Possible Request Params**: Title, Description, PrimaryFormId, ResourceID
8736 8736  
8737 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
8738 -== (% 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**:
8739 8739  
8740 -----
2358 +(% class="western" %)
2359 +{"Title":"Test123","Description": "Testss","PrimaryFormId":10,"ResourceID":17}
2360 +)))
8741 8741  
8742 -{{panel bgColor="#D3D3D3" width="100%"}}
8743 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/products/lookup?Title=~{~{Product Name}}
8744 -{{/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 +)))
8745 8745  
8746 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
8747 -
8748 -----
8749 -
8750 -(% 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}}
8751 -
8752 -=== (% style="color: rgb(33,33,33);" %)Query Params(%%) ===
8753 -
8754 -----
8755 -
8756 -(% 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);" %)
8757 -
8758 -==== Example ====
8759 -
8760 -----
8761 -
8762 -(% style="color: rgb(107,107,107);" %)Request
8763 -
8764 -{{code language="php" theme="RDark" title="Lookup Product Request"}}
8765 - <?php
8766 -
8767 -$curl = curl_init();
8768 -
8769 -curl_setopt_array($curl, array(
8770 - CURLOPT_URL => 'https://api.onecount.net/v2/products/lookup?Title={{Product Name}}',
8771 - CURLOPT_RETURNTRANSFER => true,
8772 - CURLOPT_ENCODING => '',
8773 - CURLOPT_MAXREDIRS => 10,
8774 - CURLOPT_TIMEOUT => 0,
8775 - CURLOPT_FOLLOWLOCATION => true,
8776 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
8777 - CURLOPT_CUSTOMREQUEST => 'GET',
8778 - CURLOPT_HTTPHEADER => array(
8779 - 'Appkey: {{ONECOUNT API KEY}}'
8780 - ),
8781 -));
8782 -
8783 -$response = curl_exec($curl);
8784 -
8785 -curl_close($curl);
8786 -echo $response;
8787 -{{/code}}
8788 -
8789 8789  \\
8790 8790  
8791 -(% style="color: rgb(107,107,107);" %)Response  200 OK
8792 -
8793 -{{code language="yml" theme="RDark" title="Lookup Product Response" collapse="true"}}
8794 - {
8795 - "result": {
8796 - "success": "1",
8797 - "error": {
8798 - "code": "",
8799 - "message": ""
8800 - }
8801 - },
8802 - "Products": [
8803 - {
8804 - "ProductId": 107,
8805 - "Title": "Test123-456",
8806 - "Description": "Testss updated",
8807 - "Terms": {
8808 - "Id": 83,
8809 - "Name": "Product123",
8810 - "Description": null,
8811 - "Duration": 0,
8812 - "DurationUnit": "",
8813 - "Price": "0",
8814 - "ProductId": 107
8815 - }
8816 - }
8817 - ]
8818 -}
8819 -{{/code}}
8820 -
8821 -\\
8822 -
8823 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
8824 -== (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33, 33, 33); color: rgb(173, 122, 3)" %)POST(% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %) Create Product(%%) ==
8825 -
8826 -----
8827 -
8828 -{{panel bgColor="#D3D3D3" width="100%"}}
8829 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/products
8830 -{{/panel}}
8831 -
8832 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
8833 -
8834 -----
8835 -
8836 -(% 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}}
8837 -
8838 -=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
8839 -
8840 -----
8841 -
8842 -{{code language="yml" theme="RDark" title="Body"}}
8843 -{"Title":"Test API package creation 2","Description": "Test API package creation 2","Terms":{"Name":"Test term for API 2"},"PrimaryFormId":0}
8844 -{{/code}}
8845 -
8846 -==== Example ====
8847 -
8848 -----
8849 -
8850 -(% style="color: rgb(107,107,107);" %)Request
8851 -
8852 -{{code language="php" theme="RDark" title="Create Product Request"}}
8853 - <?php
8854 -
8855 -$curl = curl_init();
8856 -
8857 -curl_setopt_array($curl, array(
8858 - CURLOPT_URL => 'https://api.onecount.net/v2/products',
8859 - CURLOPT_RETURNTRANSFER => true,
8860 - CURLOPT_ENCODING => '',
8861 - CURLOPT_MAXREDIRS => 10,
8862 - CURLOPT_TIMEOUT => 0,
8863 - CURLOPT_FOLLOWLOCATION => true,
8864 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
8865 - CURLOPT_CUSTOMREQUEST => 'POST',
8866 - CURLOPT_POSTFIELDS =>'{"Title":"Test API package creation 1","Description": "Test API package creation 1","Terms":{"Name":"Test term for API 1"},"PrimaryFormId":0}',
8867 - CURLOPT_HTTPHEADER => array(
8868 - 'Appkey: {{ONECOUNT API KEY}}'
8869 - ),
8870 -));
8871 -
8872 -$response = curl_exec($curl);
8873 -
8874 -curl_close($curl);
8875 -echo $response;
8876 -{{/code}}
8877 -
8878 -\\
8879 -
8880 -(% style="color: rgb(107,107,107);" %)Response  200 OK
8881 -
8882 -{{code language="yml" theme="RDark" title="Create Product Response" collapse="true"}}
8883 - {
8884 - "result": {
8885 - "success": "1",
8886 - "error": {
8887 - "code": "",
8888 - "message": ""
8889 - }
8890 - },
8891 - "Products": [
8892 - {
8893 - "ProductId": 599
8894 - }
8895 - ]
8896 -}
8897 -{{/code}}
8898 -
8899 -\\
8900 -
8901 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
8902 -== (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33, 33, 33); color: rgb(0, 83, 184)" %)PUT (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)Update Product(%%) ==
8903 -
8904 -----
8905 -
8906 -{{panel bgColor="#D3D3D3" width="100%"}}
8907 - (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/products/~{~{Product id}}
8908 -{{/panel}}
8909 -
8910 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
8911 -
8912 -----
8913 -
8914 -(% 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}}
8915 -
8916 -=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
8917 -
8918 -----
8919 -
8920 -{{code language="yml" theme="RDark" title="Body"}}
8921 -{"Title":"Test API package 23","Description": "Test API package 23","PrimaryFormId":0}
8922 -{{/code}}
8923 -
8924 -==== Example ====
8925 -
8926 -----
8927 -
8928 -(% style="color: rgb(107,107,107);" %)Request
8929 -
8930 -{{code language="php" theme="RDark" title="Update Product Request"}}
8931 -<?php
8932 -
8933 -$curl = curl_init();
8934 -
8935 -curl_setopt_array($curl, array(
8936 - CURLOPT_URL => 'https://api.onecount.net/v2/products/{{Product id}}',
8937 - CURLOPT_RETURNTRANSFER => true,
8938 - CURLOPT_ENCODING => '',
8939 - CURLOPT_MAXREDIRS => 10,
8940 - CURLOPT_TIMEOUT => 0,
8941 - CURLOPT_FOLLOWLOCATION => true,
8942 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
8943 - CURLOPT_CUSTOMREQUEST => 'PUT',
8944 - CURLOPT_POSTFIELDS =>'{"Title":"Test API package 1","Description": "Test API package 1","PrimaryFormId":0}',
8945 - CURLOPT_HTTPHEADER => array(
8946 - 'Appkey: {{ONECOUNT API KEY}}'
8947 - ),
8948 -));
8949 -
8950 -$response = curl_exec($curl);
8951 -
8952 -curl_close($curl);
8953 -echo $response;
8954 -
8955 -{{/code}}
8956 -
8957 -\\
8958 -
8959 -(% style="color: rgb(107,107,107);" %)Response  200 OK
8960 -
8961 -{{code language="yml" theme="RDark" title="Update Product Response" collapse="true"}}
8962 - {
8963 - "result": {
8964 - "success": "1",
8965 - "error": {
8966 - "code": "",
8967 - "message": ""
8968 - }
8969 - },
8970 - "Products": [
8971 - {
8972 - "ProductId": 599,
8973 - "Title": "Test API package 1",
8974 - "Description": "Test API package 1"
8975 - }
8976 - ]
8977 -}
8978 -{{/code}}
8979 -
8980 -\\
8981 -
8982 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
8983 -== (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33, 33, 33); color: rgb(173, 122, 3)" %)POST(% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %) Attach Resource to Product(%%) ==
8984 -
8985 -----
8986 -
8987 -{{panel bgColor="#D3D3D3" width="100%"}}
8988 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/products/attachResource
8989 -{{/panel}}
8990 -
8991 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
8992 -
8993 -----
8994 -
8995 -(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
8996 -
8997 -=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
8998 -
8999 -----
9000 -
9001 -{{code language="yml" theme="RDark" title="Body"}}
9002 -{"ProductID":"599","ResourceID":"903"}
9003 -{{/code}}
9004 -
9005 -==== Example ====
9006 -
9007 -----
9008 -
9009 -(% style="color: rgb(107,107,107);" %)Request
9010 -
9011 -{{code language="php" theme="RDark" title="Attach Resource to Product Request"}}
9012 - <?php
9013 -
9014 -$curl = curl_init();
9015 -
9016 -curl_setopt_array($curl, array(
9017 - CURLOPT_URL => 'https://api.onecount.net/v2/products/attachResource',
9018 - CURLOPT_RETURNTRANSFER => true,
9019 - CURLOPT_ENCODING => '',
9020 - CURLOPT_MAXREDIRS => 10,
9021 - CURLOPT_TIMEOUT => 0,
9022 - CURLOPT_FOLLOWLOCATION => true,
9023 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
9024 - CURLOPT_CUSTOMREQUEST => 'POST',
9025 - CURLOPT_POSTFIELDS =>'{"ProductID":"599","ResourceID":"903"}',
9026 - CURLOPT_HTTPHEADER => array(
9027 - 'Appkey: {{ONECOUNT API KEY}}'
9028 - ),
9029 -));
9030 -
9031 -$response = curl_exec($curl);
9032 -
9033 -curl_close($curl);
9034 -echo $response;
9035 -{{/code}}
9036 -
9037 -\\
9038 -
9039 -(% style="color: rgb(107,107,107);" %)Response  200 OK
9040 -
9041 -{{code language="yml" theme="RDark" title="Create Product Response" collapse="true"}}
9042 - {
9043 - "result": {
9044 - "success": "1",
9045 - "error": {
9046 - "code": "",
9047 - "message": ""
9048 - }
9049 - },
9050 - "Products": "599"
9051 -}
9052 -{{/code}}
9053 -
9054 9054  (% class="western" %)
9055 -=== **COMPONENT: Terms** ===
2392 +**COMPONENT: Terms**
9056 9056  
9057 9057  (% class="western" %)
9058 9058  This resource is for manipulating terms resource. A term can be created, updated or searched.
9059 9059  
9060 -(% class="wrapped" %)
9061 9061  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9062 9062  (((
9063 9063  (% class="western" %)
... ... @@ -9126,515 +9126,209 @@
9126 9126  
9127 9127  \\
9128 9128  
9129 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
9130 -== (% 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.**
9131 9131  
9132 -----
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.
9133 9133  
9134 -----
2494 +(% class="western" %)
2495 +Params:
9135 9135  
9136 -{{panel bgColor="#D3D3D3" width="100%"}}
9137 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/terms
9138 -{{/panel}}
2497 +(% class="western" %)
2498 +Name: Name of the term for lookup (String)
2499 +)))
9139 9139  
9140 -=== (% 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 +)))
9141 9141  
9142 -----
9143 -
9144 -(% 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}}
9145 -
9146 -==== Example ====
9147 -
9148 -----
9149 -
9150 -(% style="color: rgb(107,107,107);" %)Request
9151 -
9152 -{{code language="php" theme="RDark" title="Get All Terms Request"}}
9153 - <?php
9154 -
9155 -$curl = curl_init();
9156 -
9157 -curl_setopt_array($curl, array(
9158 - CURLOPT_URL => 'https://api.onecount.net/v2/terms',
9159 - CURLOPT_RETURNTRANSFER => true,
9160 - CURLOPT_ENCODING => '',
9161 - CURLOPT_MAXREDIRS => 10,
9162 - CURLOPT_TIMEOUT => 0,
9163 - CURLOPT_FOLLOWLOCATION => true,
9164 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
9165 - CURLOPT_CUSTOMREQUEST => 'GET',
9166 - CURLOPT_HTTPHEADER => array(
9167 - 'Appkey: {{ONECOUNT API KEY}}'
9168 - ),
9169 -));
9170 -
9171 -$response = curl_exec($curl);
9172 -
9173 -curl_close($curl);
9174 -echo $response;
9175 -{{/code}}
9176 -
9177 9177  \\
9178 9178  
9179 -(% style="color: rgb(107,107,107);" %)Response  200 OK
2530 +(% class="western" %)
2531 +**POST method should be used to create products.**
9180 9180  
9181 -{{code language="yml" theme="RDark" title="Get All Terms Response" collapse="true"}}
9182 - {
9183 - "result": {
9184 - "success": "1",
9185 - "error": {
9186 - "code": "",
9187 - "message": ""
9188 - }
9189 - },
9190 - "Terms": [
9191 - {
9192 - "Id": 26,
9193 - "Name": "Please contact me to arrange a demo",
9194 - "Description": "",
9195 - "Duration": 1,
9196 - "DurationUnit": "I",
9197 - "Price": "0",
9198 - "ProductId": 26
9199 - },
9200 - {
9201 - "Id": 34,
9202 - "Name": "ONEcount Promotional Emails",
9203 - "Description": "ONEcount promotional emails",
9204 - "Duration": 1,
9205 - "DurationUnit": "I",
9206 - "Price": "0",
9207 - "ProductId": 34
9208 - },
9209 - {
9210 - "Id": 42,
9211 - "Name": "ONEcount Staff List",
9212 - "Description": "List of ONEcount/GCN Media Staff",
9213 - "Duration": 1,
9214 - "DurationUnit": "I",
9215 - "Price": "0",
9216 - "ProductId": 42
9217 - },
9218 - {
9219 - "Id": 49,
9220 - "Name": "ONEcount Medical Publishers",
9221 - "Description": "ONEcount Medical Publishers and Associations",
9222 - "Duration": 1,
9223 - "DurationUnit": "I",
9224 - "Price": "0",
9225 - "ProductId": 49
9226 - },
9227 - {
9228 - "Id": 57,
9229 - "Name": "000 Pop-Up Term",
9230 - "Description": "",
9231 - "Duration": 1,
9232 - "DurationUnit": "I",
9233 - "Price": "0",
9234 - "ProductId": 57
9235 - },
9236 - {
9237 - "Id": 59,
9238 - "Name": "Get it for free",
9239 - "Description": "",
9240 - "Duration": 1,
9241 - "DurationUnit": "I",
9242 - "Price": "0",
9243 - "ProductId": 67
9244 - },
9245 - {
9246 - "Id": 67,
9247 - "Name": "DAS_freepass_00",
9248 - "Description": "",
9249 - "Duration": 30,
9250 - "DurationUnit": "D",
9251 - "Price": "0",
9252 - "ProductId": 91
9253 - },
9254 - {
9255 - "Id": 75,
9256 - "Name": "Product123",
9257 - "Description": null,
9258 - "Duration": 0,
9259 - "DurationUnit": "",
9260 - "Price": "0",
9261 - "ProductId": 99
9262 - },
9263 - {
9264 - "Id": 83,
9265 - "Name": "Product123",
9266 - "Description": null,
9267 - "Duration": 0,
9268 - "DurationUnit": "",
9269 - "Price": "0",
9270 - "ProductId": 107
9271 - },
9272 - {
9273 - "Id": 91,
9274 - "Name": "Test123 update ",
9275 - "Description": "Testss updated",
9276 - "Duration": 10,
9277 - "DurationUnit": "",
9278 - "Price": "0",
9279 - "ProductId": 107
9280 - },
9281 - {
9282 - "Id": 93,
9283 - "Name": "Enhanced Analytics Webinar",
9284 - "Description": "Check the box to register for the February 26th webinar.",
9285 - "Duration": 1,
9286 - "DurationUnit": "I",
9287 - "Price": "0",
9288 - "ProductId": 109
9289 - },
9290 - {
9291 - "Id": 423,
9292 - "Name": "Test term for API",
9293 - "Description": null,
9294 - "Duration": 0,
9295 - "DurationUnit": "",
9296 - "Price": "0.00",
9297 - "ProductId": 591
9298 - },
9299 - {
9300 - "Id": 431,
9301 - "Name": "Test term for API 1",
9302 - "Description": null,
9303 - "Duration": 0,
9304 - "DurationUnit": "",
9305 - "Price": "0.00",
9306 - "ProductId": 599
9307 - }
9308 - ]
9309 -}
9310 -{{/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.
9311 9311  
9312 -\\
2559 +(% class="western" %)
2560 +**Possible Request Params**: Name, Description, Duration, DurationUnit, Price, ProductId, Active, ProductStatusId, Quantity, QuantityTxt
9313 9313  
9314 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
9315 -== (% 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**:
9316 9316  
9317 -----
2565 +(% class="western" %)
2566 +{"Name":"Test123","Description":Testss","Duration":10,"ProductId":17}
2567 +)))
9318 9318  
9319 -{{panel bgColor="#D3D3D3" width="100%"}}
9320 - (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/terms/~{~{Term Id}}
9321 -{{/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 +)))
9322 9322  
9323 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
9324 -
9325 -----
9326 -
9327 -(% 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}}
9328 -
9329 -==== Example ====
9330 -
9331 -----
9332 -
9333 -(% style="color: rgb(107,107,107);" %)Request
9334 -
9335 -{{code language="php" theme="RDark" title="Get specific Term Request"}}
9336 - <?php
9337 -
9338 -$curl = curl_init();
9339 -
9340 -curl_setopt_array($curl, array(
9341 - CURLOPT_URL => 'https://api.onecount.net/v2/terms/{{Term Id}}',
9342 - CURLOPT_RETURNTRANSFER => true,
9343 - CURLOPT_ENCODING => '',
9344 - CURLOPT_MAXREDIRS => 10,
9345 - CURLOPT_TIMEOUT => 0,
9346 - CURLOPT_FOLLOWLOCATION => true,
9347 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
9348 - CURLOPT_CUSTOMREQUEST => 'GET',
9349 - CURLOPT_HTTPHEADER => array(
9350 - 'Appkey: {{ONECOUNT API KEY}}'
9351 - ),
9352 -));
9353 -
9354 -$response = curl_exec($curl);
9355 -
9356 -curl_close($curl);
9357 -echo $response;
9358 -{{/code}}
9359 -
9360 9360  \\
9361 9361  
9362 -(% 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.
9363 9363  
9364 -{{code language="yml" theme="RDark" title="Get specific Term Response" collapse="true"}}
9365 - {
9366 - "result": {
9367 - "success": "1",
9368 - "error": {
9369 - "code": "",
9370 - "message": ""
9371 - }
9372 - },
9373 - "Terms": [
9374 - {
9375 - "Id": 431,
9376 - "Name": "Test term for API 1",
9377 - "Description": null,
9378 - "Duration": 0,
9379 - "DurationUnit": "",
9380 - "Price": "0.00",
9381 - "ProductId": 599
9382 - }
9383 - ]
9384 -}
9385 -{{/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.
9386 9386  
2627 +(% class="western" %)
9387 9387  \\
9388 9388  
9389 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
9390 -== (% 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**:
9391 9391  
9392 -----
2633 +(% class="western" %)
2634 +{"Name":"Test123","Description":Testss","Duration":10,"ProductId":17}
2635 +)))
9393 9393  
9394 -{{panel bgColor="#D3D3D3" width="100%"}}
9395 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/terms/lookup?Name={(%%){Term Name}}
9396 -{{/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 +)))
9397 9397  
9398 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
9399 -
9400 -----
9401 -
9402 -(% 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}}
9403 -
9404 -=== (% style="color: rgb(33,33,33);" %)Query Params(%%) ===
9405 -
9406 -----
9407 -
9408 -(% 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}}
9409 -
9410 -==== Example ====
9411 -
9412 -----
9413 -
9414 -(% style="color: rgb(107,107,107);" %)Request
9415 -
9416 -{{code language="php" theme="RDark" title="Lookup Term Request"}}
9417 - <?php
9418 -
9419 -$curl = curl_init();
9420 -
9421 -curl_setopt_array($curl, array(
9422 - CURLOPT_URL => 'https://api.onecount.net/v2/terms/lookup?Name={{Term Name}}',
9423 - CURLOPT_RETURNTRANSFER => true,
9424 - CURLOPT_ENCODING => '',
9425 - CURLOPT_MAXREDIRS => 10,
9426 - CURLOPT_TIMEOUT => 0,
9427 - CURLOPT_FOLLOWLOCATION => true,
9428 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
9429 - CURLOPT_CUSTOMREQUEST => 'GET',
9430 - CURLOPT_HTTPHEADER => array(
9431 - 'Appkey: {{ONECOUNT API KEY}}'
9432 - ),
9433 -));
9434 -
9435 -$response = curl_exec($curl);
9436 -
9437 -curl_close($curl);
9438 -echo $response;
9439 -{{/code}}
9440 -
9441 9441  \\
9442 9442  
9443 -(% style="color: rgb(107,107,107);" %)Response  200 OK
9444 -
9445 -{{code language="yml" theme="RDark" title="Lookup Term Response" collapse="true"}}
9446 -{
9447 - "result": {
9448 - "success": "1",
9449 - "error": {
9450 - "code": "",
9451 - "message": ""
9452 - }
9453 - },
9454 - "Terms": [
9455 - {
9456 - "Id": 431,
9457 - "Name": "Test term for API 1",
9458 - "Description": null,
9459 - "Duration": 0,
9460 - "DurationUnit": "",
9461 - "Price": "0.00",
9462 - "ProductId": 599
9463 - }
9464 - ]
9465 -}
9466 -{{/code}}
9467 -
9468 -\\
9469 -
9470 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
9471 -== (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33, 33, 33); color: rgb(173, 122, 3)" %)POST(% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %) Create Term(%%) ==
9472 -
9473 -----
9474 -
9475 -{{panel bgColor="#D3D3D3" width="100%"}}
9476 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/terms
9477 -{{/panel}}
9478 -
9479 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
9480 -
9481 -----
9482 -
9483 -(% 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}}
9484 -
9485 -=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
9486 -
9487 -----
9488 -
9489 -{{code language="yml" theme="RDark" title="Body"}}
9490 -{"Name":"Test API term creation","Description":"Test API term creation","Duration":10,"ProductId":599}
9491 -{{/code}}
9492 -
9493 -==== Example ====
9494 -
9495 -----
9496 -
9497 -(% style="color: rgb(107,107,107);" %)Request
9498 -
9499 -{{code language="php" theme="RDark" title="Create Term Request"}}
9500 -<?php
9501 -
9502 -$curl = curl_init();
9503 -
9504 -curl_setopt_array($curl, array(
9505 - CURLOPT_URL => 'https://api.onecount.net/v2/terms',
9506 - CURLOPT_RETURNTRANSFER => true,
9507 - CURLOPT_ENCODING => '',
9508 - CURLOPT_MAXREDIRS => 10,
9509 - CURLOPT_TIMEOUT => 0,
9510 - CURLOPT_FOLLOWLOCATION => true,
9511 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
9512 - CURLOPT_CUSTOMREQUEST => 'POST',
9513 - CURLOPT_POSTFIELDS =>'{"Name":"Test API term creation","Description":"Test API term creation","Duration":10,"ProductId":599}
9514 -
9515 -',
9516 - CURLOPT_HTTPHEADER => array(
9517 - 'Appkey: {{ONECOUNT API KEY}}'
9518 - ),
9519 -));
9520 -
9521 -$response = curl_exec($curl);
9522 -
9523 -curl_close($curl);
9524 -echo $response;
9525 -
9526 -
9527 -{{/code}}
9528 -
9529 -\\
9530 -
9531 -(% style="color: rgb(107,107,107);" %)Response  200 OK
9532 -
9533 -{{code language="yml" theme="RDark" title="Create Term Response" collapse="true"}}
9534 -{
9535 - "result": {
9536 - "success": "1",
9537 - "error": {
9538 - "code": "",
9539 - "message": ""
9540 - }
9541 - },
9542 - "Terms": [
9543 - {
9544 - "Id": 447
9545 - }
9546 - ]
9547 -}
9548 -{{/code}}
9549 -
9550 -\\
9551 -
9552 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
9553 -== (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33, 33, 33); color: rgb(0, 83, 184)" %)PUT (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)Update Term(%%) ==
9554 -
9555 -----
9556 -
9557 -{{panel bgColor="#D3D3D3" width="100%"}}
9558 - (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/terms/~{~{Term Id}}
9559 -{{/panel}}
9560 -
9561 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
9562 -
9563 -----
9564 -
9565 -(% 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}}
9566 -
9567 -=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
9568 -
9569 -----
9570 -
9571 -{{code language="yml" theme="RDark" title="Body"}}
9572 -{"Name":"Test API term creation update","Description":"Test API term creation update","Duration":10,"ProductId":599}
9573 -{{/code}}
9574 -
9575 -==== Example ====
9576 -
9577 -----
9578 -
9579 -(% style="color: rgb(107,107,107);" %)Request
9580 -
9581 -{{code language="php" theme="RDark" title="Update Term Request"}}
9582 - <?php
9583 -
9584 -$curl = curl_init();
9585 -
9586 -curl_setopt_array($curl, array(
9587 - CURLOPT_URL => 'https://api.onecount.net/v2/terms/{{Term Id}}',
9588 - CURLOPT_RETURNTRANSFER => true,
9589 - CURLOPT_ENCODING => '',
9590 - CURLOPT_MAXREDIRS => 10,
9591 - CURLOPT_TIMEOUT => 0,
9592 - CURLOPT_FOLLOWLOCATION => true,
9593 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
9594 - CURLOPT_CUSTOMREQUEST => 'PUT',
9595 - CURLOPT_POSTFIELDS =>'{"Name":"Test API term creation update","Description":"Test API term creation update","Duration":10,"ProductId":599}',
9596 - CURLOPT_HTTPHEADER => array(
9597 - 'Appkey: {{ONECOUNT API KEY}}'
9598 - ),
9599 -));
9600 -
9601 -$response = curl_exec($curl);
9602 -
9603 -curl_close($curl);
9604 -echo $response;
9605 -{{/code}}
9606 -
9607 -\\
9608 -
9609 -(% style="color: rgb(107,107,107);" %)Response  200 OK
9610 -
9611 -{{code language="yml" theme="RDark" title="Update Term Response" collapse="true"}}
9612 - {
9613 - "result": {
9614 - "success": "1",
9615 - "error": {
9616 - "code": "",
9617 - "message": ""
9618 - }
9619 - },
9620 - "Terms": [
9621 - {
9622 - "Id": 447,
9623 - "Name": "Test API term creation update",
9624 - "Description": "Test API term creation update",
9625 - "Duration": 10,
9626 - "DurationUnit": "",
9627 - "Price": "0.00",
9628 - "ProductId": 599
9629 - }
9630 - ]
9631 -}
9632 -{{/code}}
9633 -
9634 -\\
9635 -
9636 9636  (% class="western" %)
9637 -=== **COMPONENT: Resources** ===
2667 +**COMPONENT: Resources**
9638 9638  
9639 9639  (% class="western" %)
9640 9640  Resources are the available entities that can be accessed/modified via API. Each resource can be created, updated or requested by using the corresponding http method described above.
... ... @@ -9674,7 +9674,6 @@
9674 9674  (% class="western" %)
9675 9675  This resource is for manipulating resources resource. A resource can be created, updated or searched.
9676 9676  
9677 -(% class="wrapped" %)
9678 9678  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9679 9679  (((
9680 9680  (% class="western" %)
... ... @@ -9743,491 +9743,237 @@
9743 9743  
9744 9744  \\
9745 9745  
9746 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
9747 -== (% 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.**
9748 9748  
9749 -----
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.
9750 9750  
9751 -----
2804 +(% class="western" %)
2805 +Params:
9752 9752  
9753 -{{panel bgColor="#D3D3D3" width="100%"}}
9754 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/resources
9755 -{{/panel}}
2807 +(% class="western" %)
2808 +Name: Name of the resource for lookup (String)
2809 +)))
9756 9756  
9757 -=== (% 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 +)))
9758 9758  
9759 -----
9760 -
9761 -(% 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}}
9762 -
9763 -==== Example ====
9764 -
9765 -----
9766 -
9767 -(% style="color: rgb(107,107,107);" %)Request
9768 -
9769 -{{code language="php" theme="RDark" title="Get All Resource Request"}}
9770 - <?php
9771 -
9772 -$curl = curl_init();
9773 -
9774 -curl_setopt_array($curl, array(
9775 - CURLOPT_URL => 'https://api.onecount.net/v2/resources',
9776 - CURLOPT_RETURNTRANSFER => true,
9777 - CURLOPT_ENCODING => '',
9778 - CURLOPT_MAXREDIRS => 10,
9779 - CURLOPT_TIMEOUT => 0,
9780 - CURLOPT_FOLLOWLOCATION => true,
9781 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
9782 - CURLOPT_CUSTOMREQUEST => 'GET',
9783 - CURLOPT_HTTPHEADER => array(
9784 - 'Appkey: {{ONECOUNT API KEY}}'
9785 - ),
9786 -));
9787 -
9788 -$response = curl_exec($curl);
9789 -
9790 -curl_close($curl);
9791 -echo $response;
9792 -{{/code}}
9793 -
9794 9794  \\
9795 9795  
9796 -(% style="color: rgb(107,107,107);" %)Response  200 OK
2840 +(% class="western" %)
2841 +**POST method should be used to create resources.**
9797 9797  
9798 -{{code language="yml" theme="RDark" title="Get All Resource Response" collapse="true"}}
9799 - {
9800 - "result": {
9801 - "success": "1",
9802 - "error": {
9803 - "code": "",
9804 - "message": ""
9805 - }
9806 - },
9807 - "Resources": [
9808 - {
9809 - "Id": 18,
9810 - "Name": "ONEcount/GCN Staff Newsletter Resource",
9811 - "Description": "ONEcount/GCN Staff Newsletter List",
9812 - "Type": "2",
9813 - "Value": "57|53|55",
9814 - "FreePass": 0
9815 - },
9816 - {
9817 - "Id": 26,
9818 - "Name": "GCN TEST GROUP",
9819 - "Description": "THESE USER WILL GET TEST MESSAGE",
9820 - "Type": "2",
9821 - "Value": "47",
9822 - "FreePass": 0
9823 - },
9824 - {
9825 - "Id": 98,
9826 - "Name": "ONEcount Prospects List",
9827 - "Description": "Newsletter List of ONEcount Prospects",
9828 - "Type": "2",
9829 - "Value": "55",
9830 - "FreePass": 0
9831 - },
9832 - {
9833 - "Id": 106,
9834 - "Name": "Google Ads Form",
9835 - "Description": "",
9836 - "Type": "3",
9837 - "Value": "http://ocreg.one-count.com/onecount/reg/registerForm.cgi?form=186&brand=OC",
9838 - "FreePass": 0
9839 - },
9840 - {
9841 - "Id": 114,
9842 - "Name": "secure files",
9843 - "Description": "",
9844 - "Type": "3",
9845 - "Value": "/download.php",
9846 - "FreePass": 0
9847 - },
9848 - {
9849 - "Id": 130,
9850 - "Name": "REQUEST A DEMO",
9851 - "Description": "",
9852 - "Type": "3",
9853 - "Value": "http://ocreg.one-count.com/onecount/flexreg/displayform.cgi?g=0&form=34",
9854 - "FreePass": 0
9855 - },
9856 - {
9857 - "Id": 137,
9858 - "Name": "ONEcount Medical Publishers",
9859 - "Description": "ONEcount Medical Publishers and Associations",
9860 - "Type": "2",
9861 - "Value": "61",
9862 - "FreePass": 0
9863 - },
9864 - {
9865 - "Id": 145,
9866 - "Name": "Pop-Up Test Page",
9867 - "Description": "",
9868 - "Type": "3",
9869 - "Value": "http://omar.gcnmedia.com/projects/form/gated.html",
9870 - "FreePass": 0
9871 - },
9872 - {
9873 - "Id": 146,
9874 - "Name": "Platform Resource",
9875 - "Description": "Test Resource",
9876 - "Type": "3",
9877 - "Value": "/Platform",
9878 - "FreePass": 0
9879 - },
9880 - {
9881 - "Id": 153,
9882 - "Name": "Submitted",
9883 - "Description": "",
9884 - "Type": "3",
9885 - "Value": "http://gcn-reg.onecount.net/onecount/reg/tSuccessView.php?brand=oc",
9886 - "FreePass": 0
9887 - }
9888 - ]
9889 -}
9890 -{{/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.
9891 9891  
9892 -\\
2869 +(% class="western" %)
2870 +**Possible Request Params**: Name, Description, Type, Value, FreePass
9893 9893  
9894 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
9895 -== (% 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**:
9896 9896  
9897 -----
2875 +(% class="western" %)
2876 +{"Name":"Test123","Description":Testss","Type":3,"Value":”/digital/”}
9898 9898  
9899 -{{panel bgColor="#D3D3D3" width="100%"}}
9900 - (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/resources/{(%%){Resource ID}}
9901 -{{/panel}}
2878 +(% class="western" %)
2879 +{"Name":"Test123","Description":Testss","Type":3,"Value":[”/digital/”, "/article/"]}
9902 9902  
9903 -=== (% 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}
9904 9904  
9905 -----
2884 +(% class="western" %)
2885 +{"Name":"Test123","Description":Testss","Type":3,"Value":[”/digital/”, "/article/"],"FreePass":1}
2886 +)))
9906 9906  
9907 -(% 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 +)))
9908 9908  
9909 -==== Example ====
9910 -
9911 -----
9912 -
9913 -(% style="color: rgb(107,107,107);" %)Request
9914 -
9915 -{{code language="php" theme="RDark" title="Get specific Resource Request"}}
9916 - <?php
9917 -
9918 -$curl = curl_init();
9919 -
9920 -curl_setopt_array($curl, array(
9921 - CURLOPT_URL => 'https://api.onecount.net/v2/resources/{{Resource ID}}',
9922 - CURLOPT_RETURNTRANSFER => true,
9923 - CURLOPT_ENCODING => '',
9924 - CURLOPT_MAXREDIRS => 10,
9925 - CURLOPT_TIMEOUT => 0,
9926 - CURLOPT_FOLLOWLOCATION => true,
9927 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
9928 - CURLOPT_CUSTOMREQUEST => 'GET',
9929 - CURLOPT_HTTPHEADER => array(
9930 - 'Appkey: {{ONECOUNT API KEY}}'
9931 - ),
9932 -));
9933 -
9934 -$response = curl_exec($curl);
9935 -
9936 -curl_close($curl);
9937 -echo $response;
9938 -{{/code}}
9939 -
9940 9940  \\
9941 9941  
9942 -(% 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.
9943 9943  
9944 -{{code language="yml" theme="RDark" title="Get specific Resource Response" collapse="true"}}
9945 - {
9946 - "result": {
9947 - "success": "1",
9948 - "error": {
9949 - "code": "",
9950 - "message": ""
9951 - }
9952 - },
9953 - "Resources": [
9954 - {
9955 - "Id": 623,
9956 - "Name": "TOP 3 THINGS - NonStop Local News",
9957 - "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.",
9958 - "Type": "2",
9959 - "Value": "",
9960 - "FreePass": 0
9961 - }
9962 - ]
9963 -}
9964 -{{/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.
9965 9965  
2946 +(% class="western" %)
9966 9966  \\
9967 9967  
9968 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
9969 -== (% 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:
9970 9970  
9971 -----
2952 +(% class="western" %)
2953 +{"Name":"Test123","Description":Testss","Type":3,"Value":”/digital/”}
9972 9972  
9973 -{{panel bgColor="#D3D3D3" width="100%"}}
9974 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/resources/lookup?Name={(%%){Resource Name}}
9975 -{{/panel}}
2955 +(% class="western" %)
2956 +{"Name":"Test123","Description":Testss","Type":3,"Value":[”/digital/”, "/article/"]}
9976 9976  
9977 -=== (% 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}
9978 9978  
9979 -----
2961 +(% class="western" %)
2962 +{"Name":"Test123","Description":Testss","Type":3,"Value":[”/digital/”, "/article/"],"FreePass":1}
2963 +)))
9980 9980  
9981 -(% 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 +)))
9982 9982  
9983 -=== (% style="color: rgb(33,33,33);" %)Query Params(%%) ===
9984 -
9985 -----
9986 -
9987 -(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Name (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key nolink" style="color: rgb(33, 33, 33); color: rgb(33, 33, 33)" %){(% style="color: rgb(33,33,33);" class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key nolink" %){Resource Name}}
9988 -
9989 -==== Example ====
9990 -
9991 -----
9992 -
9993 -(% style="color: rgb(107,107,107);" %)Request
9994 -
9995 -{{code language="php" theme="RDark" title="Lookup Resource Request"}}
9996 - <?php
9997 -
9998 -$curl = curl_init();
9999 -
10000 -curl_setopt_array($curl, array(
10001 - CURLOPT_URL => 'https://api.onecount.net/v2/resources/lookup?Name={{Resource Name}}',
10002 - CURLOPT_RETURNTRANSFER => true,
10003 - CURLOPT_ENCODING => '',
10004 - CURLOPT_MAXREDIRS => 10,
10005 - CURLOPT_TIMEOUT => 0,
10006 - CURLOPT_FOLLOWLOCATION => true,
10007 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
10008 - CURLOPT_CUSTOMREQUEST => 'GET',
10009 - CURLOPT_HTTPHEADER => array(
10010 - 'Appkey: {{ONECOUNT API KEY}}'
10011 - ),
10012 -));
10013 -
10014 -$response = curl_exec($curl);
10015 -
10016 -curl_close($curl);
10017 -echo $response;
10018 -{{/code}}
10019 -
10020 10020  \\
10021 10021  
10022 -(% style="color: rgb(107,107,107);" %)Response  200 OK
10023 -
10024 -{{code language="yml" theme="RDark" title="Lookup Resource Response" collapse="true"}}
10025 - {
10026 - "result": {
10027 - "success": "1",
10028 - "error": {
10029 - "code": "",
10030 - "message": ""
10031 - }
10032 - },
10033 - "Resources": [
10034 - {
10035 - "Id": 479,
10036 - "Name": "Virtualization Review",
10037 - "Description": "",
10038 - "Type": "0",
10039 - "Value": "",
10040 - "FreePass": 0
10041 - }
10042 - ]
10043 -}
10044 -{{/code}}
10045 -
10046 10046  \\
10047 10047  
10048 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
10049 -== (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33, 33, 33); color: rgb(173, 122, 3)" %)POST(% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %) Create Resource(%%) ==
10050 -
10051 -----
10052 -
10053 -{{panel bgColor="#D3D3D3" width="100%"}}
10054 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/resources
10055 -{{/panel}}
10056 -
10057 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
10058 -
10059 -----
10060 -
10061 -(% 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}}
10062 -
10063 -=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
10064 -
10065 -----
10066 -
10067 -{{code language="yml" theme="RDark" title="Body"}}
10068 -{"Name":"Test API product creation 22","Description":"Test API product creation 22","Type":3,"FreePass":1,"Value":["http://one-count.com"],"Gating":false,"Price":0,"PrimaryFormId":"","VendorId":1}
10069 -{{/code}}
10070 -
10071 -==== Example ====
10072 -
10073 -----
10074 -
10075 -(% style="color: rgb(107,107,107);" %)Request
10076 -
10077 -{{code language="php" theme="RDark" title="Create Resource Request"}}
10078 - <?php
10079 -
10080 -$curl = curl_init();
10081 -
10082 -curl_setopt_array($curl, array(
10083 - CURLOPT_URL => 'https://api.onecount.net/v2/resources',
10084 - CURLOPT_RETURNTRANSFER => true,
10085 - CURLOPT_ENCODING => '',
10086 - CURLOPT_MAXREDIRS => 10,
10087 - CURLOPT_TIMEOUT => 0,
10088 - CURLOPT_FOLLOWLOCATION => true,
10089 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
10090 - CURLOPT_CUSTOMREQUEST => 'POST',
10091 - CURLOPT_POSTFIELDS =>'{"Name":"Test API product creation 21","Description":"Test API product creation 21","Type":3,"FreePass":1,"Value":["http://one-count.com"],"Gating":false,"Price":0,"PrimaryFormId":"","VendorId":1}',
10092 - CURLOPT_HTTPHEADER => array(
10093 - 'Appkey: {{ONECOUNT API KEY}}'
10094 - ),
10095 -));
10096 -
10097 -$response = curl_exec($curl);
10098 -
10099 -curl_close($curl);
10100 -echo $response;
10101 -{{/code}}
10102 -
10103 -\\
10104 -
10105 -(% style="color: rgb(107,107,107);" %)Response  200 OK
10106 -
10107 -{{code language="yml" theme="RDark" title="Create Resource Response" collapse="true"}}
10108 - {
10109 - "result": {
10110 - "success": "1",
10111 - "error": {
10112 - "code": "",
10113 - "message": ""
10114 - }
10115 - },
10116 - "Resources": [
10117 - {
10118 - "Id": 871,
10119 - "Name": "Test API product creation 21",
10120 - "Description": "Test API product creation 21",
10121 - "Type": "3",
10122 - "Value": "http://one-count.com",
10123 - "FreePass": 1
10124 - }
10125 - ]
10126 -}
10127 -{{/code}}
10128 -
10129 -\\
10130 -
10131 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
10132 -== (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33, 33, 33); color: rgb(0, 83, 184)" %)PUT (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)Update Resource(%%) ==
10133 -
10134 -----
10135 -
10136 -{{panel bgColor="#D3D3D3" width="100%"}}
10137 - (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/resources/~{~{resource id}}
10138 -{{/panel}}
10139 -
10140 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
10141 -
10142 -----
10143 -
10144 -(% 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}}
10145 -
10146 -=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
10147 -
10148 -----
10149 -
10150 -{{code language="yml" theme="RDark" title="Body"}}
10151 -{"Name":"Test API product creation 23","Description":"Test API product creation 23","Type":3,"FreePass":1,"Value":["http://one-count.com","onecount.net"],"Gating":false,"Price":0,"PrimaryFormId":"","VendorId":1}
10152 -{{/code}}
10153 -
10154 -==== Example ====
10155 -
10156 -----
10157 -
10158 -(% style="color: rgb(107,107,107);" %)Request
10159 -
10160 -{{code language="php" theme="RDark" title="Update Resource Request"}}
10161 - <?php
10162 -
10163 -$curl = curl_init();
10164 -
10165 -curl_setopt_array($curl, array(
10166 - CURLOPT_URL => 'https://api.onecount.net/v2/resources/{{resource id}}',
10167 - CURLOPT_RETURNTRANSFER => true,
10168 - CURLOPT_ENCODING => '',
10169 - CURLOPT_MAXREDIRS => 10,
10170 - CURLOPT_TIMEOUT => 0,
10171 - CURLOPT_FOLLOWLOCATION => true,
10172 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
10173 - CURLOPT_CUSTOMREQUEST => 'PUT',
10174 - CURLOPT_POSTFIELDS =>'{"Name":"Test API product creation 23","Description":"Test API product creation 23","Type":3,"FreePass":1,"Value":["http://one-count.com","onecount.net"],"Gating":false,"Price":0,"PrimaryFormId":"","VendorId":1}',
10175 - CURLOPT_HTTPHEADER => array(
10176 - 'Appkey: {{ONECOUNT API KEY}}'
10177 - ),
10178 -));
10179 -
10180 -$response = curl_exec($curl);
10181 -
10182 -curl_close($curl);
10183 -echo $response;
10184 -{{/code}}
10185 -
10186 -\\
10187 -
10188 -(% style="color: rgb(107,107,107);" %)Response  200 OK
10189 -
10190 -{{code language="yml" theme="RDark" title="Update Resource Response" collapse="true"}}
10191 - {
10192 - "result": {
10193 - "success": "1",
10194 - "error": {
10195 - "code": "",
10196 - "message": ""
10197 - }
10198 - },
10199 - "Resources": [
10200 - {
10201 - "Id": 903,
10202 - "Name": "Test API product creation 23",
10203 - "Description": "Test API product creation 23",
10204 - "Type": "3",
10205 - "Value": "http://one-count.com",
10206 - "FreePass": 1
10207 - },
10208 - {
10209 - "Id": 903,
10210 - "Name": "Test API product creation 23",
10211 - "Description": "Test API product creation 23",
10212 - "Type": "3",
10213 - "Value": "onecount.net",
10214 - "FreePass": 1
10215 - }
10216 - ]
10217 -}
10218 -{{/code}}
10219 -
10220 10220  (% class="western" %)
10221 10221  \\
10222 10222  
10223 10223  (% class="western" %)
10224 -=== **COMPONENT: Source Codes
10225 -** ===
3000 +**COMPONENT: Source Codes
3001 +**
10226 10226  
10227 10227  (% class="western" %)
10228 10228  This resource is for manipulating source code for a resource. A source code can be created, updated or searched.
10229 10229  
10230 -(% class="wrapped" %)
10231 10231  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10232 10232  (((
10233 10233  (% class="western" %)
... ... @@ -10296,3312 +10296,200 @@
10296 10296  
10297 10297  \\
10298 10298  
10299 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
10300 -== (% 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(%%) ==
10301 -
10302 -----
10303 -
10304 -----
10305 -
10306 -{{panel bgColor="#D3D3D3" width="100%"}}
10307 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/sources
10308 -{{/panel}}
10309 -
10310 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
10311 -
10312 -----
10313 -
10314 -(% 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}}
10315 -
10316 -==== Example ====
10317 -
10318 -----
10319 -
10320 -(% style="color: rgb(107,107,107);" %)Request
10321 -
10322 -{{code language="php" theme="RDark" title="Get All Source code Request"}}
10323 - <?php
10324 -
10325 -$curl = curl_init();
10326 -
10327 -curl_setopt_array($curl, array(
10328 - CURLOPT_URL => 'https://api.onecount.net/v2/sources',
10329 - CURLOPT_RETURNTRANSFER => true,
10330 - CURLOPT_ENCODING => '',
10331 - CURLOPT_MAXREDIRS => 10,
10332 - CURLOPT_TIMEOUT => 0,
10333 - CURLOPT_FOLLOWLOCATION => true,
10334 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
10335 - CURLOPT_CUSTOMREQUEST => 'GET',
10336 - CURLOPT_HTTPHEADER => array(
10337 - 'Appkey: {{ONECOUNT API KEY}}'
10338 - ),
10339 -));
10340 -
10341 -$response = curl_exec($curl);
10342 -
10343 -curl_close($curl);
10344 -echo $response;
10345 -{{/code}}
10346 -
10347 -\\
10348 -
10349 -(% style="color: rgb(107,107,107);" %)Response  200 OK
10350 -
10351 -{{code language="yml" theme="RDark" title="Get All Source code Response" collapse="true"}}
10352 - {
10353 - "result": {
10354 - "success": "1",
10355 - "error": {
10356 - "code": "",
10357 - "message": ""
10358 - }
10359 - },
10360 - "Sources": [
10361 - {
10362 - "Id": 26,
10363 - "Source": "GCN-Member",
10364 - "Description": "Uploaded from Reston VA",
10365 - "Parent": 0
10366 - },
10367 - {
10368 - "Id": 34,
10369 - "Source": "SugarID",
10370 - "Description": "Sugar IDs cleaned contacts list and cleaned leads list sent by Sean Fulton for upload.",
10371 - "Parent": 0
10372 - },
10373 - {
10374 - "Id": 42,
10375 - "Source": "DEMOFORM",
10376 - "Description": "\"Request a Demo\" form from one-count.com",
10377 - "Parent": 0
10378 - },
10379 - {
10380 - "Id": 50,
10381 - "Source": "ABM ANNUAL 2014",
10382 - "Description": "ABM Annual 2014 - Registration List for Sponsors",
10383 - "Parent": 0
10384 - },
10385 - {
10386 - "Id": 58,
10387 - "Source": "BIMS REG LIST",
10388 - "Description": "BIMS Registration List for Sponsors (2013/2014)",
10389 - "Parent": 0
10390 - },
10391 - {
10392 - "Id": 66,
10393 - "Source": "SIPA 13",
10394 - "Description": "SIPA 2013 - sponsor - attendees",
10395 - "Parent": 0
10396 - },
10397 - {
10398 - "Id": 74,
10399 - "Source": "Google Ads",
10400 - "Description": "From Google Banner Ads",
10401 - "Parent": 0
10402 - },
10403 - {
10404 - "Id": 82,
10405 - "Source": "EDIT PROFILE",
10406 - "Description": "FOR EDIT PROFILE FORM",
10407 - "Parent": 0
10408 - },
10409 - {
10410 - "Id": 83,
10411 - "Source": "Test Source Code",
10412 - "Description": "",
10413 - "Parent": 0
10414 - },
10415 - {
10416 - "Id": 91,
10417 - "Source": "NEWSLETTER",
10418 - "Description": "Newsletter",
10419 - "Parent": 0
10420 - },
10421 - {
10422 - "Id": 99,
10423 - "Source": "INFOTANKS-comps-only_12032019",
10424 - "Description": "",
10425 - "Parent": 0
10426 - },
10427 - {
10428 - "Id": 107,
10429 - "Source": "INFOTANKS-DMP-only_12102019",
10430 - "Description": "",
10431 - "Parent": 0
10432 - },
10433 - {
10434 - "Id": 109,
10435 - "Source": "BMVM",
10436 - "Description": "Active Attendees",
10437 - "Parent": 0
10438 - },
10439 - {
10440 - "Id": 115,
10441 - "Source": "USECASES",
10442 - "Description": "Use Case PDF",
10443 - "Parent": 0
10444 - },
10445 - {
10446 - "Id": 123,
10447 - "Source": "Borrell Miami 2022",
10448 - "Description": "",
10449 - "Parent": 0
10450 - },
10451 - {
10452 - "Id": 131,
10453 - "Source": "05092022-telemarketing",
10454 - "Description": "",
10455 - "Parent": 0
10456 - },
10457 - {
10458 - "Id": 139,
10459 - "Source": "WEBINAR6.15.22",
10460 - "Description": "Live Webinar Series June 15, 2022",
10461 - "Parent": 0
10462 - },
10463 - {
10464 - "Id": 147,
10465 - "Source": "LMA Show List",
10466 - "Description": "",
10467 - "Parent": 0
10468 - },
10469 - {
10470 - "Id": 155,
10471 - "Source": "AAA",
10472 - "Description": "",
10473 - "Parent": 0
10474 - },
10475 - {
10476 - "Id": 163,
10477 - "Source": "MGS2022",
10478 - "Description": "",
10479 - "Parent": 0
10480 - },
10481 - {
10482 - "Id": 171,
10483 - "Source": "MGS2023",
10484 - "Description": "",
10485 - "Parent": 0
10486 - },
10487 - {
10488 - "Id": 179,
10489 - "Source": "Sugar Leads",
10490 - "Description": "",
10491 - "Parent": 0
10492 - },
10493 - {
10494 - "Id": 187,
10495 - "Source": "seansbox",
10496 - "Description": "",
10497 - "Parent": 0
10498 - },
10499 - {
10500 - "Id": 191,
10501 - "Source": "SEEITLIVE",
10502 - "Description": "Lunch & Learn Webinar Series with Special Partner Guests",
10503 - "Parent": 0
10504 - },
10505 - {
10506 - "Id": 199,
10507 - "Source": "80-percent-conversion-rates",
10508 - "Description": "",
10509 - "Parent": 0
10510 - }
10511 - ]
10512 -}
10513 -{{/code}}
10514 -
10515 -\\
10516 -
10517 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
10518 -== (% 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(%%) ==
10519 -
10520 -----
10521 -
10522 -{{panel bgColor="#D3D3D3" width="100%"}}
10523 - (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/sources/~{~{source code id}}
10524 -{{/panel}}
10525 -
10526 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
10527 -
10528 -----
10529 -
10530 -(% 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}}
10531 -
10532 -==== Example ====
10533 -
10534 -----
10535 -
10536 -(% style="color: rgb(107,107,107);" %)Request
10537 -
10538 -{{code language="php" theme="RDark" title="Get specific Source Request"}}
10539 - <?php
10540 -
10541 -$curl = curl_init();
10542 -
10543 -curl_setopt_array($curl, array(
10544 - CURLOPT_URL => 'https://api.onecount.net/v2/sources/{{source code id}}',
10545 - CURLOPT_RETURNTRANSFER => true,
10546 - CURLOPT_ENCODING => '',
10547 - CURLOPT_MAXREDIRS => 10,
10548 - CURLOPT_TIMEOUT => 0,
10549 - CURLOPT_FOLLOWLOCATION => true,
10550 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
10551 - CURLOPT_CUSTOMREQUEST => 'GET',
10552 - CURLOPT_HTTPHEADER => array(
10553 - 'Appkey: {{ONECOUNT API KEY}}'
10554 - ),
10555 -));
10556 -
10557 -$response = curl_exec($curl);
10558 -
10559 -curl_close($curl);
10560 -echo $response;
10561 -{{/code}}
10562 -
10563 -\\
10564 -
10565 -(% style="color: rgb(107,107,107);" %)Response  200 OK
10566 -
10567 -{{code language="yml" theme="RDark" title="Get specific Source Response" collapse="true"}}
10568 - {
10569 - "result": {
10570 - "success": "1",
10571 - "error": {
10572 - "code": "",
10573 - "message": ""
10574 - }
10575 - },
10576 - "Sources": [
10577 - {
10578 - "Id": 26,
10579 - "Source": "GCN-Member",
10580 - "Description": "Uploaded from Reston VA",
10581 - "Parent": 0
10582 - }
10583 - ]
10584 -}
10585 -{{/code}}
10586 -
10587 -\\
10588 -
10589 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
10590 -== (% 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(%%) ==
10591 -
10592 -----
10593 -
10594 -{{panel bgColor="#D3D3D3" width="100%"}}
10595 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/sources/lookup?Source={(%%){Source code Name}}
10596 -{{/panel}}
10597 -
10598 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
10599 -
10600 -----
10601 -
10602 -(% 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}}
10603 -
10604 -=== (% style="color: rgb(33,33,33);" %)Query Params(%%) ===
10605 -
10606 -----
10607 -
10608 -(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Source (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key nolink" style="color: rgb(33, 33, 33); color: rgb(33, 33, 33)" %){(% style="color: rgb(33,33,33);" class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key nolink" %){Source code Name}}
10609 -
10610 -==== Example ====
10611 -
10612 -----
10613 -
10614 -(% style="color: rgb(107,107,107);" %)Request
10615 -
10616 -{{code language="php" theme="RDark" title="Lookup Source code Request"}}
10617 - <?php
10618 -
10619 -$curl = curl_init();
10620 -
10621 -curl_setopt_array($curl, array(
10622 - CURLOPT_URL => 'https://api.onecount.net/v2/sources/lookup?Source={{Source code Name}}',
10623 - CURLOPT_RETURNTRANSFER => true,
10624 - CURLOPT_ENCODING => '',
10625 - CURLOPT_MAXREDIRS => 10,
10626 - CURLOPT_TIMEOUT => 0,
10627 - CURLOPT_FOLLOWLOCATION => true,
10628 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
10629 - CURLOPT_CUSTOMREQUEST => 'GET',
10630 - CURLOPT_HTTPHEADER => array(
10631 - 'Appkey: {{ONECOUNT API KEY}}'
10632 - ),
10633 -));
10634 -
10635 -$response = curl_exec($curl);
10636 -
10637 -curl_close($curl);
10638 -echo $response;
10639 -{{/code}}
10640 -
10641 -\\
10642 -
10643 -(% style="color: rgb(107,107,107);" %)Response  200 OK
10644 -
10645 -{{code language="yml" theme="RDark" title="Lookup Source code Response" collapse="true"}}
10646 - {
10647 - "result": {
10648 - "success": "1",
10649 - "error": {
10650 - "code": "",
10651 - "message": ""
10652 - }
10653 - },
10654 - "Sources": [
10655 - {
10656 - "Id": 26,
10657 - "Source": "GCN-Member",
10658 - "Description": "Uploaded from Reston VA",
10659 - "Parent": 0
10660 - }
10661 - ]
10662 -}
10663 -{{/code}}
10664 -
10665 -\\
10666 -
10667 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
10668 -== (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33, 33, 33); color: rgb(173, 122, 3)" %)POST(% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %) Create Source code(%%) ==
10669 -
10670 -----
10671 -
10672 -{{panel bgColor="#D3D3D3" width="100%"}}
10673 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/sources
10674 -{{/panel}}
10675 -
10676 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
10677 -
10678 -----
10679 -
10680 -(% 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}}
10681 -
10682 -=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
10683 -
10684 -----
10685 -
10686 -{{code language="yml" theme="RDark" title="Body"}}
10687 -{"Source":"Test source code from API"}
10688 -{{/code}}
10689 -
10690 -==== Example ====
10691 -
10692 -----
10693 -
10694 -(% style="color: rgb(107,107,107);" %)Request
10695 -
10696 -{{code language="php" theme="RDark" title="Create Source code Request"}}
10697 - <?php
10698 -
10699 -$curl = curl_init();
10700 -
10701 -curl_setopt_array($curl, array(
10702 - CURLOPT_URL => 'https://api.onecount.net/v2/sources',
10703 - CURLOPT_RETURNTRANSFER => true,
10704 - CURLOPT_ENCODING => '',
10705 - CURLOPT_MAXREDIRS => 10,
10706 - CURLOPT_TIMEOUT => 0,
10707 - CURLOPT_FOLLOWLOCATION => true,
10708 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
10709 - CURLOPT_CUSTOMREQUEST => 'POST',
10710 - CURLOPT_POSTFIELDS =>'{"Source":"Test source code from API"}',
10711 - CURLOPT_HTTPHEADER => array(
10712 - 'Appkey: {{ONECOUNT API KEY}}'
10713 - ),
10714 -));
10715 -
10716 -$response = curl_exec($curl);
10717 -
10718 -curl_close($curl);
10719 -echo $response;
10720 -{{/code}}
10721 -
10722 -\\
10723 -
10724 -(% style="color: rgb(107,107,107);" %)Response  200 OK
10725 -
10726 -{{code language="yml" theme="RDark" title="Create Source code Response" collapse="true"}}
10727 - {
10728 - "result": {
10729 - "success": "1",
10730 - "error": {
10731 - "code": "",
10732 - "message": ""
10733 - }
10734 - },
10735 - "Sources": [
10736 - {
10737 - "Id": 223,
10738 - "Source": "Test source code from API",
10739 - "Description": "",
10740 - "Parent": 0
10741 - }
10742 - ]
10743 -}
10744 -{{/code}}
10745 -
10746 -\\
10747 -
10748 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
10749 -== (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33, 33, 33); color: rgb(0, 83, 184)" %)PUT (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)Update Source code(%%) ==
10750 -
10751 -----
10752 -
10753 -{{panel bgColor="#D3D3D3" width="100%"}}
10754 - (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/sources/~{~{source code id}}
10755 -{{/panel}}
10756 -
10757 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
10758 -
10759 -----
10760 -
10761 -(% 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}}
10762 -
10763 -=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
10764 -
10765 -----
10766 -
10767 -{{code language="yml" theme="RDark" title="Body"}}
10768 -{"Source":"Test API","Parent":215}
10769 -{{/code}}
10770 -
10771 -==== Example ====
10772 -
10773 -----
10774 -
10775 -(% style="color: rgb(107,107,107);" %)Request
10776 -
10777 -{{code language="php" theme="RDark" title="Update Source code Request"}}
10778 - <?php
10779 -
10780 -$curl = curl_init();
10781 -
10782 -curl_setopt_array($curl, array(
10783 - CURLOPT_URL => 'https://api.onecount.net/v2/sources/{{source code id}}',
10784 - CURLOPT_RETURNTRANSFER => true,
10785 - CURLOPT_ENCODING => '',
10786 - CURLOPT_MAXREDIRS => 10,
10787 - CURLOPT_TIMEOUT => 0,
10788 - CURLOPT_FOLLOWLOCATION => true,
10789 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
10790 - CURLOPT_CUSTOMREQUEST => 'PUT',
10791 - CURLOPT_POSTFIELDS =>'{"Source":"Test API","Parent":215}',
10792 - CURLOPT_HTTPHEADER => array(
10793 - 'Appkey: {{ONECOUNT API KEY}}'
10794 - ),
10795 -));
10796 -
10797 -$response = curl_exec($curl);
10798 -
10799 -curl_close($curl);
10800 -echo $response;
10801 -{{/code}}
10802 -
10803 -\\
10804 -
10805 -(% style="color: rgb(107,107,107);" %)Response  200 OK
10806 -
10807 -{{code language="yml" theme="RDark" title="Update Source code Response" collapse="true"}}
10808 - {
10809 - "result": {
10810 - "success": "1",
10811 - "error": {
10812 - "code": "",
10813 - "message": ""
10814 - }
10815 - },
10816 - "Sources": [
10817 - {
10818 - "Id": 223,
10819 - "Source": "Test API",
10820 - "Description": "",
10821 - "Parent": 215
10822 - }
10823 - ]
10824 -}
10825 -{{/code}}
10826 -
10827 10827  (% class="western" %)
10828 -\\
3075 +**Sources can be looked up given the code or Id. GET method should be used for lookup.**
10829 10829  
10830 -(% class="western" %)
10831 -=== **COMPONENT: Transactions** ===
10832 -
10833 -(% class="western" %)
10834 -This resource is for manipulating transactions resource. A transaction can be created or searched.
10835 -
10836 -(% class="wrapped" %)
10837 10837  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10838 10838  (((
10839 10839  (% class="western" %)
10840 -**Method**
3080 +**Request**
10841 10841  )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10842 10842  (((
10843 10843  (% class="western" %)
10844 -**Url**
3084 +**Type**
10845 10845  )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10846 10846  (((
10847 10847  (% class="western" %)
10848 -**Action**
3088 +**Description**
10849 10849  )))
10850 10850  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10851 10851  (((
10852 10852  (% class="western" %)
10853 -GET
3093 +Lookup params
10854 10854  )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10855 10855  (((
10856 10856  (% class="western" %)
10857 -/transactions
3097 +String
10858 10858  )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10859 10859  (((
10860 10860  (% class="western" %)
10861 -List all transactions
3101 +URL encoded key value string parameter for the lookup.
3102 +
3103 +(% class="western" %)
3104 +Params:
3105 +
3106 +(% class="western" %)
3107 +Source: Source value (String)
10862 10862  )))
3109 +
10863 10863  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10864 10864  (((
10865 10865  (% class="western" %)
10866 -GET
3113 +**Response**
10867 10867  )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10868 10868  (((
10869 10869  (% class="western" %)
10870 -/transactions/lookup?UserId=1
3117 +**Type**
10871 10871  )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10872 10872  (((
10873 10873  (% class="western" %)
10874 -Lookup all transaction of UserId = 1
3121 +**Description**
10875 10875  )))
10876 10876  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10877 10877  (((
10878 10878  (% class="western" %)
10879 -POST
3126 +Sources
10880 10880  )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10881 10881  (((
10882 10882  (% class="western" %)
10883 -/transactions
3130 +Sources
10884 10884  )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10885 10885  (((
10886 10886  (% class="western" %)
10887 -JSON of the Transactions type object needs to be sent as post data. Id field should not be sent.
3134 +Returns found source details.
10888 10888  )))
10889 10889  
10890 10890  \\
10891 10891  
10892 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
10893 -== (% 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(%%) ==
10894 -
10895 -----
10896 -
10897 -----
10898 -
10899 -{{panel bgColor="#D3D3D3" width="100%"}}
10900 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/transactions
10901 -{{/panel}}
10902 -
10903 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
10904 -
10905 -----
10906 -
10907 -(% 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}}
10908 -
10909 -==== Example ====
10910 -
10911 -----
10912 -
10913 -(% style="color: rgb(107,107,107);" %)Request
10914 -
10915 -{{code language="php" theme="RDark" title="Get All Transaction Request"}}
10916 - <?php
10917 -
10918 -$curl = curl_init();
10919 -
10920 -curl_setopt_array($curl, array(
10921 - CURLOPT_URL => 'https://api.onecount.net/v2/transactions',
10922 - CURLOPT_RETURNTRANSFER => true,
10923 - CURLOPT_ENCODING => '',
10924 - CURLOPT_MAXREDIRS => 10,
10925 - CURLOPT_TIMEOUT => 0,
10926 - CURLOPT_FOLLOWLOCATION => true,
10927 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
10928 - CURLOPT_CUSTOMREQUEST => 'GET',
10929 - CURLOPT_HTTPHEADER => array(
10930 - 'Appkey: {{ONECOUNT API KEY}}'
10931 - ),
10932 -));
10933 -
10934 -$response = curl_exec($curl);
10935 -
10936 -curl_close($curl);
10937 -echo $response;
10938 -{{/code}}
10939 -
3139 +(% class="western" %)
10940 10940  \\
10941 10941  
10942 -(% style="color: rgb(107,107,107);" %)Response  200 OK
10943 -
10944 -{{code language="yml" theme="RDark" title="Get All Transaction Response" collapse="true"}}
10945 - {
10946 - "result": {
10947 - "success": "1",
10948 - "error": {
10949 - "code": "",
10950 - "message": ""
10951 - }
10952 - },
10953 - "Transactions": [
10954 - {
10955 - "Id": 10,
10956 - "UserId": 10,
10957 - "TermId": 2,
10958 - "TransactionDate": "2014-07-17",
10959 - "TransactionTime": "10:02:13",
10960 - "RequestDate": "2014-07-17",
10961 - "UserIP": "74.201.38.1",
10962 - "SubscriptionType": "n",
10963 - "ProductId": 2,
10964 - "Source": 10,
10965 - "ProductStatus": 2,
10966 - "MediaFilePath": "",
10967 - "Amount": ""
10968 - },
10969 - {
10970 - "Id": 26,
10971 - "UserId": 10,
10972 - "TermId": 2,
10973 - "TransactionDate": "2014-07-17",
10974 - "TransactionTime": "10:41:59",
10975 - "RequestDate": "2014-07-17",
10976 - "UserIP": "74.201.38.1",
10977 - "SubscriptionType": "r",
10978 - "ProductId": 2,
10979 - "Source": 10,
10980 - "ProductStatus": 2,
10981 - "MediaFilePath": "",
10982 - "Amount": ""
10983 - },
10984 - {
10985 - "Id": 50,
10986 - "UserId": 26,
10987 - "TermId": 2,
10988 - "TransactionDate": "2014-07-17",
10989 - "TransactionTime": "12:25:38",
10990 - "RequestDate": "2014-07-17",
10991 - "UserIP": "74.201.38.1",
10992 - "SubscriptionType": "n",
10993 - "ProductId": 2,
10994 - "Source": 10,
10995 - "ProductStatus": 2,
10996 - "MediaFilePath": "",
10997 - "Amount": ""
10998 - },
10999 - {
11000 - "Id": 58,
11001 - "UserId": 10,
11002 - "TermId": 2,
11003 - "TransactionDate": "2014-07-17",
11004 - "TransactionTime": "12:25:43",
11005 - "RequestDate": "2014-07-17",
11006 - "UserIP": "74.201.38.1",
11007 - "SubscriptionType": "r",
11008 - "ProductId": 2,
11009 - "Source": 10,
11010 - "ProductStatus": 2,
11011 - "MediaFilePath": "",
11012 - "Amount": ""
11013 - },
11014 - {
11015 - "Id": 66,
11016 - "UserId": 42,
11017 - "TermId": 2,
11018 - "TransactionDate": "2014-07-17",
11019 - "TransactionTime": "12:57:11",
11020 - "RequestDate": "2014-07-17",
11021 - "UserIP": "74.201.38.1",
11022 - "SubscriptionType": "n",
11023 - "ProductId": 2,
11024 - "Source": 26,
11025 - "ProductStatus": 2,
11026 - "MediaFilePath": "",
11027 - "Amount": ""
11028 - },
11029 - {
11030 - "Id": 74,
11031 - "UserId": 50,
11032 - "TermId": 2,
11033 - "TransactionDate": "2014-07-17",
11034 - "TransactionTime": "12:57:11",
11035 - "RequestDate": "2014-07-17",
11036 - "UserIP": "74.201.38.1",
11037 - "SubscriptionType": "n",
11038 - "ProductId": 2,
11039 - "Source": 26,
11040 - "ProductStatus": 2,
11041 - "MediaFilePath": "",
11042 - "Amount": ""
11043 - },
11044 - {
11045 - "Id": 82,
11046 - "UserId": 58,
11047 - "TermId": 2,
11048 - "TransactionDate": "2014-07-17",
11049 - "TransactionTime": "12:57:11",
11050 - "RequestDate": "2014-07-17",
11051 - "UserIP": "74.201.38.1",
11052 - "SubscriptionType": "n",
11053 - "ProductId": 2,
11054 - "Source": 26,
11055 - "ProductStatus": 2,
11056 - "MediaFilePath": "",
11057 - "Amount": ""
11058 - },
11059 - {
11060 - "Id": 90,
11061 - "UserId": 66,
11062 - "TermId": 2,
11063 - "TransactionDate": "2014-07-17",
11064 - "TransactionTime": "12:57:11",
11065 - "RequestDate": "2014-07-17",
11066 - "UserIP": "74.201.38.1",
11067 - "SubscriptionType": "n",
11068 - "ProductId": 2,
11069 - "Source": 26,
11070 - "ProductStatus": 2,
11071 - "MediaFilePath": "",
11072 - "Amount": ""
11073 - },
11074 - {
11075 - "Id": 98,
11076 - "UserId": 74,
11077 - "TermId": 2,
11078 - "TransactionDate": "2014-07-17",
11079 - "TransactionTime": "12:57:11",
11080 - "RequestDate": "2014-07-17",
11081 - "UserIP": "74.201.38.1",
11082 - "SubscriptionType": "n",
11083 - "ProductId": 2,
11084 - "Source": 26,
11085 - "ProductStatus": 2,
11086 - "MediaFilePath": "",
11087 - "Amount": ""
11088 - },
11089 - {
11090 - "Id": 106,
11091 - "UserId": 82,
11092 - "TermId": 2,
11093 - "TransactionDate": "2014-07-17",
11094 - "TransactionTime": "12:57:11",
11095 - "RequestDate": "2014-07-17",
11096 - "UserIP": "74.201.38.1",
11097 - "SubscriptionType": "n",
11098 - "ProductId": 2,
11099 - "Source": 26,
11100 - "ProductStatus": 2,
11101 - "MediaFilePath": "",
11102 - "Amount": ""
11103 - },
11104 - {
11105 - "Id": 114,
11106 - "UserId": 90,
11107 - "TermId": 2,
11108 - "TransactionDate": "2014-07-17",
11109 - "TransactionTime": "12:57:11",
11110 - "RequestDate": "2014-07-17",
11111 - "UserIP": "74.201.38.1",
11112 - "SubscriptionType": "n",
11113 - "ProductId": 2,
11114 - "Source": 26,
11115 - "ProductStatus": 2,
11116 - "MediaFilePath": "",
11117 - "Amount": ""
11118 - },
11119 - {
11120 - "Id": 122,
11121 - "UserId": 98,
11122 - "TermId": 2,
11123 - "TransactionDate": "2014-07-17",
11124 - "TransactionTime": "12:57:11",
11125 - "RequestDate": "2014-07-17",
11126 - "UserIP": "74.201.38.1",
11127 - "SubscriptionType": "n",
11128 - "ProductId": 2,
11129 - "Source": 26,
11130 - "ProductStatus": 2,
11131 - "MediaFilePath": "",
11132 - "Amount": ""
11133 - },
11134 - {
11135 - "Id": 130,
11136 - "UserId": 42,
11137 - "TermId": 2,
11138 - "TransactionDate": "2014-07-17",
11139 - "TransactionTime": "12:59:10",
11140 - "RequestDate": "2014-07-17",
11141 - "UserIP": "74.201.38.1",
11142 - "SubscriptionType": "r",
11143 - "ProductId": 2,
11144 - "Source": 10,
11145 - "ProductStatus": 2,
11146 - "MediaFilePath": "",
11147 - "Amount": ""
11148 - },
11149 - {
11150 - "Id": 138,
11151 - "UserId": 50,
11152 - "TermId": 2,
11153 - "TransactionDate": "2014-07-17",
11154 - "TransactionTime": "12:59:10",
11155 - "RequestDate": "2014-07-17",
11156 - "UserIP": "74.201.38.1",
11157 - "SubscriptionType": "r",
11158 - "ProductId": 2,
11159 - "Source": 10,
11160 - "ProductStatus": 2,
11161 - "MediaFilePath": "",
11162 - "Amount": ""
11163 - },
11164 - {
11165 - "Id": 146,
11166 - "UserId": 58,
11167 - "TermId": 2,
11168 - "TransactionDate": "2014-07-17",
11169 - "TransactionTime": "12:59:10",
11170 - "RequestDate": "2014-07-17",
11171 - "UserIP": "74.201.38.1",
11172 - "SubscriptionType": "r",
11173 - "ProductId": 2,
11174 - "Source": 10,
11175 - "ProductStatus": 2,
11176 - "MediaFilePath": "",
11177 - "Amount": ""
11178 - },
11179 - {
11180 - "Id": 154,
11181 - "UserId": 66,
11182 - "TermId": 2,
11183 - "TransactionDate": "2014-07-17",
11184 - "TransactionTime": "12:59:10",
11185 - "RequestDate": "2014-07-17",
11186 - "UserIP": "74.201.38.1",
11187 - "SubscriptionType": "r",
11188 - "ProductId": 2,
11189 - "Source": 10,
11190 - "ProductStatus": 2,
11191 - "MediaFilePath": "",
11192 - "Amount": ""
11193 - },
11194 - {
11195 - "Id": 162,
11196 - "UserId": 74,
11197 - "TermId": 2,
11198 - "TransactionDate": "2014-07-17",
11199 - "TransactionTime": "12:59:10",
11200 - "RequestDate": "2014-07-17",
11201 - "UserIP": "74.201.38.1",
11202 - "SubscriptionType": "r",
11203 - "ProductId": 2,
11204 - "Source": 10,
11205 - "ProductStatus": 2,
11206 - "MediaFilePath": "",
11207 - "Amount": ""
11208 - },
11209 - {
11210 - "Id": 170,
11211 - "UserId": 82,
11212 - "TermId": 2,
11213 - "TransactionDate": "2014-07-17",
11214 - "TransactionTime": "12:59:10",
11215 - "RequestDate": "2014-07-17",
11216 - "UserIP": "74.201.38.1",
11217 - "SubscriptionType": "r",
11218 - "ProductId": 2,
11219 - "Source": 10,
11220 - "ProductStatus": 2,
11221 - "MediaFilePath": "",
11222 - "Amount": ""
11223 - },
11224 - {
11225 - "Id": 178,
11226 - "UserId": 90,
11227 - "TermId": 2,
11228 - "TransactionDate": "2014-07-17",
11229 - "TransactionTime": "12:59:10",
11230 - "RequestDate": "2014-07-17",
11231 - "UserIP": "74.201.38.1",
11232 - "SubscriptionType": "r",
11233 - "ProductId": 2,
11234 - "Source": 10,
11235 - "ProductStatus": 2,
11236 - "MediaFilePath": "",
11237 - "Amount": ""
11238 - },
11239 - {
11240 - "Id": 186,
11241 - "UserId": 98,
11242 - "TermId": 2,
11243 - "TransactionDate": "2014-07-17",
11244 - "TransactionTime": "12:59:10",
11245 - "RequestDate": "2014-07-17",
11246 - "UserIP": "74.201.38.1",
11247 - "SubscriptionType": "r",
11248 - "ProductId": 2,
11249 - "Source": 10,
11250 - "ProductStatus": 2,
11251 - "MediaFilePath": "",
11252 - "Amount": ""
11253 - },
11254 - {
11255 - "Id": 194,
11256 - "UserId": 162,
11257 - "TermId": 2,
11258 - "TransactionDate": "2014-07-17",
11259 - "TransactionTime": "13:00:42",
11260 - "RequestDate": "2014-07-17",
11261 - "UserIP": "74.201.38.1",
11262 - "SubscriptionType": "n",
11263 - "ProductId": 2,
11264 - "Source": 10,
11265 - "ProductStatus": 2,
11266 - "MediaFilePath": "",
11267 - "Amount": ""
11268 - },
11269 - {
11270 - "Id": 202,
11271 - "UserId": 170,
11272 - "TermId": 2,
11273 - "TransactionDate": "2014-07-17",
11274 - "TransactionTime": "13:00:42",
11275 - "RequestDate": "2014-07-17",
11276 - "UserIP": "74.201.38.1",
11277 - "SubscriptionType": "n",
11278 - "ProductId": 2,
11279 - "Source": 10,
11280 - "ProductStatus": 2,
11281 - "MediaFilePath": "",
11282 - "Amount": ""
11283 - },
11284 - {
11285 - "Id": 210,
11286 - "UserId": 178,
11287 - "TermId": 2,
11288 - "TransactionDate": "2014-07-17",
11289 - "TransactionTime": "13:00:42",
11290 - "RequestDate": "2014-07-17",
11291 - "UserIP": "74.201.38.1",
11292 - "SubscriptionType": "n",
11293 - "ProductId": 2,
11294 - "Source": 10,
11295 - "ProductStatus": 2,
11296 - "MediaFilePath": "",
11297 - "Amount": ""
11298 - },
11299 - {
11300 - "Id": 218,
11301 - "UserId": 186,
11302 - "TermId": 2,
11303 - "TransactionDate": "2014-07-17",
11304 - "TransactionTime": "13:00:42",
11305 - "RequestDate": "2014-07-17",
11306 - "UserIP": "74.201.38.1",
11307 - "SubscriptionType": "n",
11308 - "ProductId": 2,
11309 - "Source": 10,
11310 - "ProductStatus": 2,
11311 - "MediaFilePath": "",
11312 - "Amount": ""
11313 - },
11314 - {
11315 - "Id": 226,
11316 - "UserId": 194,
11317 - "TermId": 2,
11318 - "TransactionDate": "2014-07-17",
11319 - "TransactionTime": "13:00:42",
11320 - "RequestDate": "2014-07-17",
11321 - "UserIP": "74.201.38.1",
11322 - "SubscriptionType": "n",
11323 - "ProductId": 2,
11324 - "Source": 10,
11325 - "ProductStatus": 2,
11326 - "MediaFilePath": "",
11327 - "Amount": ""
11328 - },
11329 - {
11330 - "Id": 234,
11331 - "UserId": 202,
11332 - "TermId": 2,
11333 - "TransactionDate": "2014-07-17",
11334 - "TransactionTime": "13:00:42",
11335 - "RequestDate": "2014-07-17",
11336 - "UserIP": "74.201.38.1",
11337 - "SubscriptionType": "n",
11338 - "ProductId": 2,
11339 - "Source": 10,
11340 - "ProductStatus": 2,
11341 - "MediaFilePath": "",
11342 - "Amount": ""
11343 - },
11344 - {
11345 - "Id": 242,
11346 - "UserId": 210,
11347 - "TermId": 2,
11348 - "TransactionDate": "2014-07-17",
11349 - "TransactionTime": "13:00:42",
11350 - "RequestDate": "2014-07-17",
11351 - "UserIP": "74.201.38.1",
11352 - "SubscriptionType": "n",
11353 - "ProductId": 2,
11354 - "Source": 10,
11355 - "ProductStatus": 2,
11356 - "MediaFilePath": "",
11357 - "Amount": ""
11358 - },
11359 - {
11360 - "Id": 250,
11361 - "UserId": 218,
11362 - "TermId": 2,
11363 - "TransactionDate": "2014-07-17",
11364 - "TransactionTime": "13:00:42",
11365 - "RequestDate": "2014-07-17",
11366 - "UserIP": "74.201.38.1",
11367 - "SubscriptionType": "n",
11368 - "ProductId": 2,
11369 - "Source": 10,
11370 - "ProductStatus": 2,
11371 - "MediaFilePath": "",
11372 - "Amount": ""
11373 - },
11374 - {
11375 - "Id": 258,
11376 - "UserId": 282,
11377 - "TermId": 2,
11378 - "TransactionDate": "2014-07-17",
11379 - "TransactionTime": "13:02:19",
11380 - "RequestDate": "2014-07-17",
11381 - "UserIP": "74.201.38.1",
11382 - "SubscriptionType": "n",
11383 - "ProductId": 2,
11384 - "Source": 10,
11385 - "ProductStatus": 2,
11386 - "MediaFilePath": "",
11387 - "Amount": ""
11388 - },
11389 - {
11390 - "Id": 266,
11391 - "UserId": 290,
11392 - "TermId": 2,
11393 - "TransactionDate": "2014-07-17",
11394 - "TransactionTime": "13:02:19",
11395 - "RequestDate": "2014-07-17",
11396 - "UserIP": "74.201.38.1",
11397 - "SubscriptionType": "n",
11398 - "ProductId": 2,
11399 - "Source": 10,
11400 - "ProductStatus": 2,
11401 - "MediaFilePath": "",
11402 - "Amount": ""
11403 - },
11404 - {
11405 - "Id": 274,
11406 - "UserId": 298,
11407 - "TermId": 2,
11408 - "TransactionDate": "2014-07-17",
11409 - "TransactionTime": "13:02:19",
11410 - "RequestDate": "2014-07-17",
11411 - "UserIP": "74.201.38.1",
11412 - "SubscriptionType": "n",
11413 - "ProductId": 2,
11414 - "Source": 10,
11415 - "ProductStatus": 2,
11416 - "MediaFilePath": "",
11417 - "Amount": ""
11418 - },
11419 - {
11420 - "Id": 282,
11421 - "UserId": 306,
11422 - "TermId": 2,
11423 - "TransactionDate": "2014-07-17",
11424 - "TransactionTime": "13:02:19",
11425 - "RequestDate": "2014-07-17",
11426 - "UserIP": "74.201.38.1",
11427 - "SubscriptionType": "n",
11428 - "ProductId": 2,
11429 - "Source": 10,
11430 - "ProductStatus": 2,
11431 - "MediaFilePath": "",
11432 - "Amount": ""
11433 - },
11434 - {
11435 - "Id": 290,
11436 - "UserId": 314,
11437 - "TermId": 2,
11438 - "TransactionDate": "2014-07-17",
11439 - "TransactionTime": "13:02:19",
11440 - "RequestDate": "2014-07-17",
11441 - "UserIP": "74.201.38.1",
11442 - "SubscriptionType": "n",
11443 - "ProductId": 2,
11444 - "Source": 10,
11445 - "ProductStatus": 2,
11446 - "MediaFilePath": "",
11447 - "Amount": ""
11448 - },
11449 - {
11450 - "Id": 298,
11451 - "UserId": 322,
11452 - "TermId": 2,
11453 - "TransactionDate": "2014-07-17",
11454 - "TransactionTime": "13:02:19",
11455 - "RequestDate": "2014-07-17",
11456 - "UserIP": "74.201.38.1",
11457 - "SubscriptionType": "n",
11458 - "ProductId": 2,
11459 - "Source": 10,
11460 - "ProductStatus": 2,
11461 - "MediaFilePath": "",
11462 - "Amount": ""
11463 - },
11464 - {
11465 - "Id": 306,
11466 - "UserId": 330,
11467 - "TermId": 2,
11468 - "TransactionDate": "2014-07-17",
11469 - "TransactionTime": "13:02:19",
11470 - "RequestDate": "2014-07-17",
11471 - "UserIP": "74.201.38.1",
11472 - "SubscriptionType": "n",
11473 - "ProductId": 2,
11474 - "Source": 10,
11475 - "ProductStatus": 2,
11476 - "MediaFilePath": "",
11477 - "Amount": ""
11478 - },
11479 - {
11480 - "Id": 466,
11481 - "UserId": 698,
11482 - "TermId": 2,
11483 - "TransactionDate": "2014-07-17",
11484 - "TransactionTime": "13:13:06",
11485 - "RequestDate": "2014-07-17",
11486 - "UserIP": "74.201.38.1",
11487 - "SubscriptionType": "n",
11488 - "ProductId": 2,
11489 - "Source": 26,
11490 - "ProductStatus": 2,
11491 - "MediaFilePath": "",
11492 - "Amount": ""
11493 - },
11494 - {
11495 - "Id": 474,
11496 - "UserId": 706,
11497 - "TermId": 2,
11498 - "TransactionDate": "2014-07-17",
11499 - "TransactionTime": "13:13:06",
11500 - "RequestDate": "2014-07-17",
11501 - "UserIP": "74.201.38.1",
11502 - "SubscriptionType": "n",
11503 - "ProductId": 2,
11504 - "Source": 26,
11505 - "ProductStatus": 2,
11506 - "MediaFilePath": "",
11507 - "Amount": ""
11508 - },
11509 - {
11510 - "Id": 482,
11511 - "UserId": 714,
11512 - "TermId": 2,
11513 - "TransactionDate": "2014-07-17",
11514 - "TransactionTime": "13:13:06",
11515 - "RequestDate": "2014-07-17",
11516 - "UserIP": "74.201.38.1",
11517 - "SubscriptionType": "n",
11518 - "ProductId": 2,
11519 - "Source": 26,
11520 - "ProductStatus": 2,
11521 - "MediaFilePath": "",
11522 - "Amount": ""
11523 - },
11524 - {
11525 - "Id": 490,
11526 - "UserId": 722,
11527 - "TermId": 2,
11528 - "TransactionDate": "2014-07-17",
11529 - "TransactionTime": "13:13:06",
11530 - "RequestDate": "2014-07-17",
11531 - "UserIP": "74.201.38.1",
11532 - "SubscriptionType": "n",
11533 - "ProductId": 2,
11534 - "Source": 26,
11535 - "ProductStatus": 2,
11536 - "MediaFilePath": "",
11537 - "Amount": ""
11538 - },
11539 - {
11540 - "Id": 498,
11541 - "UserId": 730,
11542 - "TermId": 2,
11543 - "TransactionDate": "2014-07-17",
11544 - "TransactionTime": "13:13:06",
11545 - "RequestDate": "2014-07-17",
11546 - "UserIP": "74.201.38.1",
11547 - "SubscriptionType": "n",
11548 - "ProductId": 2,
11549 - "Source": 26,
11550 - "ProductStatus": 2,
11551 - "MediaFilePath": "",
11552 - "Amount": ""
11553 - },
11554 - {
11555 - "Id": 506,
11556 - "UserId": 738,
11557 - "TermId": 2,
11558 - "TransactionDate": "2014-07-17",
11559 - "TransactionTime": "13:13:06",
11560 - "RequestDate": "2014-07-17",
11561 - "UserIP": "74.201.38.1",
11562 - "SubscriptionType": "n",
11563 - "ProductId": 2,
11564 - "Source": 26,
11565 - "ProductStatus": 2,
11566 - "MediaFilePath": "",
11567 - "Amount": ""
11568 - },
11569 - {
11570 - "Id": 522,
11571 - "UserId": 754,
11572 - "TermId": 18,
11573 - "TransactionDate": "2014-08-19",
11574 - "TransactionTime": "11:18:55",
11575 - "RequestDate": "2014-08-19",
11576 - "UserIP": "74.201.38.1",
11577 - "SubscriptionType": "n",
11578 - "ProductId": 18,
11579 - "Source": 34,
11580 - "ProductStatus": 2,
11581 - "MediaFilePath": "",
11582 - "Amount": ""
11583 - },
11584 - {
11585 - "Id": 530,
11586 - "UserId": 762,
11587 - "TermId": 18,
11588 - "TransactionDate": "2014-08-19",
11589 - "TransactionTime": "11:18:55",
11590 - "RequestDate": "2014-08-19",
11591 - "UserIP": "74.201.38.1",
11592 - "SubscriptionType": "n",
11593 - "ProductId": 18,
11594 - "Source": 34,
11595 - "ProductStatus": 2,
11596 - "MediaFilePath": "",
11597 - "Amount": ""
11598 - },
11599 - {
11600 - "Id": 538,
11601 - "UserId": 770,
11602 - "TermId": 18,
11603 - "TransactionDate": "2014-08-19",
11604 - "TransactionTime": "11:18:55",
11605 - "RequestDate": "2014-08-19",
11606 - "UserIP": "74.201.38.1",
11607 - "SubscriptionType": "n",
11608 - "ProductId": 18,
11609 - "Source": 34,
11610 - "ProductStatus": 2,
11611 - "MediaFilePath": "",
11612 - "Amount": ""
11613 - },
11614 - {
11615 - "Id": 546,
11616 - "UserId": 778,
11617 - "TermId": 18,
11618 - "TransactionDate": "2014-08-19",
11619 - "TransactionTime": "11:18:55",
11620 - "RequestDate": "2014-08-19",
11621 - "UserIP": "74.201.38.1",
11622 - "SubscriptionType": "n",
11623 - "ProductId": 18,
11624 - "Source": 34,
11625 - "ProductStatus": 2,
11626 - "MediaFilePath": "",
11627 - "Amount": ""
11628 - },
11629 - {
11630 - "Id": 554,
11631 - "UserId": 786,
11632 - "TermId": 18,
11633 - "TransactionDate": "2014-08-19",
11634 - "TransactionTime": "11:18:55",
11635 - "RequestDate": "2014-08-19",
11636 - "UserIP": "74.201.38.1",
11637 - "SubscriptionType": "n",
11638 - "ProductId": 18,
11639 - "Source": 34,
11640 - "ProductStatus": 2,
11641 - "MediaFilePath": "",
11642 - "Amount": ""
11643 - },
11644 - {
11645 - "Id": 570,
11646 - "UserId": 802,
11647 - "TermId": 18,
11648 - "TransactionDate": "2014-08-19",
11649 - "TransactionTime": "11:18:55",
11650 - "RequestDate": "2014-08-19",
11651 - "UserIP": "74.201.38.1",
11652 - "SubscriptionType": "n",
11653 - "ProductId": 18,
11654 - "Source": 34,
11655 - "ProductStatus": 2,
11656 - "MediaFilePath": "",
11657 - "Amount": ""
11658 - },
11659 - {
11660 - "Id": 578,
11661 - "UserId": 810,
11662 - "TermId": 18,
11663 - "TransactionDate": "2014-08-19",
11664 - "TransactionTime": "11:18:55",
11665 - "RequestDate": "2014-08-19",
11666 - "UserIP": "74.201.38.1",
11667 - "SubscriptionType": "n",
11668 - "ProductId": 18,
11669 - "Source": 34,
11670 - "ProductStatus": 2,
11671 - "MediaFilePath": "",
11672 - "Amount": ""
11673 - },
11674 - {
11675 - "Id": 586,
11676 - "UserId": 818,
11677 - "TermId": 18,
11678 - "TransactionDate": "2014-08-19",
11679 - "TransactionTime": "11:18:55",
11680 - "RequestDate": "2014-08-19",
11681 - "UserIP": "74.201.38.1",
11682 - "SubscriptionType": "n",
11683 - "ProductId": 18,
11684 - "Source": 34,
11685 - "ProductStatus": 2,
11686 - "MediaFilePath": "",
11687 - "Amount": ""
11688 - },
11689 - {
11690 - "Id": 602,
11691 - "UserId": 834,
11692 - "TermId": 18,
11693 - "TransactionDate": "2014-08-19",
11694 - "TransactionTime": "11:18:55",
11695 - "RequestDate": "2014-08-19",
11696 - "UserIP": "74.201.38.1",
11697 - "SubscriptionType": "n",
11698 - "ProductId": 18,
11699 - "Source": 34,
11700 - "ProductStatus": 2,
11701 - "MediaFilePath": "",
11702 - "Amount": ""
11703 - },
11704 - {
11705 - "Id": 610,
11706 - "UserId": 842,
11707 - "TermId": 18,
11708 - "TransactionDate": "2014-08-19",
11709 - "TransactionTime": "11:18:55",
11710 - "RequestDate": "2014-08-19",
11711 - "UserIP": "74.201.38.1",
11712 - "SubscriptionType": "n",
11713 - "ProductId": 18,
11714 - "Source": 34,
11715 - "ProductStatus": 2,
11716 - "MediaFilePath": "",
11717 - "Amount": ""
11718 - },
11719 - {
11720 - "Id": 618,
11721 - "UserId": 850,
11722 - "TermId": 18,
11723 - "TransactionDate": "2014-08-19",
11724 - "TransactionTime": "11:18:55",
11725 - "RequestDate": "2014-08-19",
11726 - "UserIP": "74.201.38.1",
11727 - "SubscriptionType": "n",
11728 - "ProductId": 18,
11729 - "Source": 34,
11730 - "ProductStatus": 2,
11731 - "MediaFilePath": "",
11732 - "Amount": ""
11733 - },
11734 - {
11735 - "Id": 626,
11736 - "UserId": 858,
11737 - "TermId": 18,
11738 - "TransactionDate": "2014-08-19",
11739 - "TransactionTime": "11:18:55",
11740 - "RequestDate": "2014-08-19",
11741 - "UserIP": "74.201.38.1",
11742 - "SubscriptionType": "n",
11743 - "ProductId": 18,
11744 - "Source": 34,
11745 - "ProductStatus": 2,
11746 - "MediaFilePath": "",
11747 - "Amount": ""
11748 - },
11749 - {
11750 - "Id": 634,
11751 - "UserId": 866,
11752 - "TermId": 18,
11753 - "TransactionDate": "2014-08-19",
11754 - "TransactionTime": "11:18:55",
11755 - "RequestDate": "2014-08-19",
11756 - "UserIP": "74.201.38.1",
11757 - "SubscriptionType": "n",
11758 - "ProductId": 18,
11759 - "Source": 34,
11760 - "ProductStatus": 2,
11761 - "MediaFilePath": "",
11762 - "Amount": ""
11763 - },
11764 - {
11765 - "Id": 642,
11766 - "UserId": 874,
11767 - "TermId": 18,
11768 - "TransactionDate": "2014-08-19",
11769 - "TransactionTime": "11:18:55",
11770 - "RequestDate": "2014-08-19",
11771 - "UserIP": "74.201.38.1",
11772 - "SubscriptionType": "n",
11773 - "ProductId": 18,
11774 - "Source": 34,
11775 - "ProductStatus": 2,
11776 - "MediaFilePath": "",
11777 - "Amount": ""
11778 - },
11779 - {
11780 - "Id": 650,
11781 - "UserId": 882,
11782 - "TermId": 18,
11783 - "TransactionDate": "2014-08-19",
11784 - "TransactionTime": "11:18:55",
11785 - "RequestDate": "2014-08-19",
11786 - "UserIP": "74.201.38.1",
11787 - "SubscriptionType": "n",
11788 - "ProductId": 18,
11789 - "Source": 34,
11790 - "ProductStatus": 2,
11791 - "MediaFilePath": "",
11792 - "Amount": ""
11793 - },
11794 - {
11795 - "Id": 658,
11796 - "UserId": 890,
11797 - "TermId": 18,
11798 - "TransactionDate": "2014-08-19",
11799 - "TransactionTime": "11:18:55",
11800 - "RequestDate": "2014-08-19",
11801 - "UserIP": "74.201.38.1",
11802 - "SubscriptionType": "n",
11803 - "ProductId": 18,
11804 - "Source": 34,
11805 - "ProductStatus": 2,
11806 - "MediaFilePath": "",
11807 - "Amount": ""
11808 - },
11809 - {
11810 - "Id": 666,
11811 - "UserId": 898,
11812 - "TermId": 18,
11813 - "TransactionDate": "2014-08-19",
11814 - "TransactionTime": "11:18:55",
11815 - "RequestDate": "2014-08-19",
11816 - "UserIP": "74.201.38.1",
11817 - "SubscriptionType": "n",
11818 - "ProductId": 18,
11819 - "Source": 34,
11820 - "ProductStatus": 2,
11821 - "MediaFilePath": "",
11822 - "Amount": ""
11823 - },
11824 - {
11825 - "Id": 674,
11826 - "UserId": 906,
11827 - "TermId": 18,
11828 - "TransactionDate": "2014-08-19",
11829 - "TransactionTime": "11:18:55",
11830 - "RequestDate": "2014-08-19",
11831 - "UserIP": "74.201.38.1",
11832 - "SubscriptionType": "n",
11833 - "ProductId": 18,
11834 - "Source": 34,
11835 - "ProductStatus": 2,
11836 - "MediaFilePath": "",
11837 - "Amount": ""
11838 - },
11839 - {
11840 - "Id": 682,
11841 - "UserId": 914,
11842 - "TermId": 18,
11843 - "TransactionDate": "2014-08-19",
11844 - "TransactionTime": "11:18:55",
11845 - "RequestDate": "2014-08-19",
11846 - "UserIP": "74.201.38.1",
11847 - "SubscriptionType": "n",
11848 - "ProductId": 18,
11849 - "Source": 34,
11850 - "ProductStatus": 2,
11851 - "MediaFilePath": "",
11852 - "Amount": ""
11853 - },
11854 - {
11855 - "Id": 690,
11856 - "UserId": 922,
11857 - "TermId": 18,
11858 - "TransactionDate": "2014-08-19",
11859 - "TransactionTime": "11:18:55",
11860 - "RequestDate": "2014-08-19",
11861 - "UserIP": "74.201.38.1",
11862 - "SubscriptionType": "n",
11863 - "ProductId": 18,
11864 - "Source": 34,
11865 - "ProductStatus": 2,
11866 - "MediaFilePath": "",
11867 - "Amount": ""
11868 - },
11869 - {
11870 - "Id": 698,
11871 - "UserId": 930,
11872 - "TermId": 18,
11873 - "TransactionDate": "2014-08-19",
11874 - "TransactionTime": "11:18:55",
11875 - "RequestDate": "2014-08-19",
11876 - "UserIP": "74.201.38.1",
11877 - "SubscriptionType": "n",
11878 - "ProductId": 18,
11879 - "Source": 34,
11880 - "ProductStatus": 2,
11881 - "MediaFilePath": "",
11882 - "Amount": ""
11883 - },
11884 - {
11885 - "Id": 706,
11886 - "UserId": 938,
11887 - "TermId": 18,
11888 - "TransactionDate": "2014-08-19",
11889 - "TransactionTime": "11:18:55",
11890 - "RequestDate": "2014-08-19",
11891 - "UserIP": "74.201.38.1",
11892 - "SubscriptionType": "n",
11893 - "ProductId": 18,
11894 - "Source": 34,
11895 - "ProductStatus": 2,
11896 - "MediaFilePath": "",
11897 - "Amount": ""
11898 - },
11899 - {
11900 - "Id": 714,
11901 - "UserId": 946,
11902 - "TermId": 18,
11903 - "TransactionDate": "2014-08-19",
11904 - "TransactionTime": "11:18:55",
11905 - "RequestDate": "2014-08-19",
11906 - "UserIP": "74.201.38.1",
11907 - "SubscriptionType": "n",
11908 - "ProductId": 18,
11909 - "Source": 34,
11910 - "ProductStatus": 2,
11911 - "MediaFilePath": "",
11912 - "Amount": ""
11913 - },
11914 - {
11915 - "Id": 722,
11916 - "UserId": 954,
11917 - "TermId": 18,
11918 - "TransactionDate": "2014-08-19",
11919 - "TransactionTime": "11:18:55",
11920 - "RequestDate": "2014-08-19",
11921 - "UserIP": "74.201.38.1",
11922 - "SubscriptionType": "n",
11923 - "ProductId": 18,
11924 - "Source": 34,
11925 - "ProductStatus": 2,
11926 - "MediaFilePath": "",
11927 - "Amount": ""
11928 - },
11929 - {
11930 - "Id": 730,
11931 - "UserId": 962,
11932 - "TermId": 18,
11933 - "TransactionDate": "2014-08-19",
11934 - "TransactionTime": "11:18:55",
11935 - "RequestDate": "2014-08-19",
11936 - "UserIP": "74.201.38.1",
11937 - "SubscriptionType": "n",
11938 - "ProductId": 18,
11939 - "Source": 34,
11940 - "ProductStatus": 2,
11941 - "MediaFilePath": "",
11942 - "Amount": ""
11943 - },
11944 - {
11945 - "Id": 738,
11946 - "UserId": 970,
11947 - "TermId": 18,
11948 - "TransactionDate": "2014-08-19",
11949 - "TransactionTime": "11:18:55",
11950 - "RequestDate": "2014-08-19",
11951 - "UserIP": "74.201.38.1",
11952 - "SubscriptionType": "n",
11953 - "ProductId": 18,
11954 - "Source": 34,
11955 - "ProductStatus": 2,
11956 - "MediaFilePath": "",
11957 - "Amount": ""
11958 - },
11959 - {
11960 - "Id": 746,
11961 - "UserId": 978,
11962 - "TermId": 18,
11963 - "TransactionDate": "2014-08-19",
11964 - "TransactionTime": "11:18:55",
11965 - "RequestDate": "2014-08-19",
11966 - "UserIP": "74.201.38.1",
11967 - "SubscriptionType": "n",
11968 - "ProductId": 18,
11969 - "Source": 34,
11970 - "ProductStatus": 2,
11971 - "MediaFilePath": "",
11972 - "Amount": ""
11973 - },
11974 - {
11975 - "Id": 754,
11976 - "UserId": 986,
11977 - "TermId": 18,
11978 - "TransactionDate": "2014-08-19",
11979 - "TransactionTime": "11:18:55",
11980 - "RequestDate": "2014-08-19",
11981 - "UserIP": "74.201.38.1",
11982 - "SubscriptionType": "n",
11983 - "ProductId": 18,
11984 - "Source": 34,
11985 - "ProductStatus": 2,
11986 - "MediaFilePath": "",
11987 - "Amount": ""
11988 - },
11989 - {
11990 - "Id": 762,
11991 - "UserId": 994,
11992 - "TermId": 18,
11993 - "TransactionDate": "2014-08-19",
11994 - "TransactionTime": "11:18:55",
11995 - "RequestDate": "2014-08-19",
11996 - "UserIP": "74.201.38.1",
11997 - "SubscriptionType": "n",
11998 - "ProductId": 18,
11999 - "Source": 34,
12000 - "ProductStatus": 2,
12001 - "MediaFilePath": "",
12002 - "Amount": ""
12003 - },
12004 - {
12005 - "Id": 770,
12006 - "UserId": 1002,
12007 - "TermId": 18,
12008 - "TransactionDate": "2014-08-19",
12009 - "TransactionTime": "11:18:55",
12010 - "RequestDate": "2014-08-19",
12011 - "UserIP": "74.201.38.1",
12012 - "SubscriptionType": "n",
12013 - "ProductId": 18,
12014 - "Source": 34,
12015 - "ProductStatus": 2,
12016 - "MediaFilePath": "",
12017 - "Amount": ""
12018 - },
12019 - {
12020 - "Id": 778,
12021 - "UserId": 1010,
12022 - "TermId": 18,
12023 - "TransactionDate": "2014-08-19",
12024 - "TransactionTime": "11:18:55",
12025 - "RequestDate": "2014-08-19",
12026 - "UserIP": "74.201.38.1",
12027 - "SubscriptionType": "n",
12028 - "ProductId": 18,
12029 - "Source": 34,
12030 - "ProductStatus": 2,
12031 - "MediaFilePath": "",
12032 - "Amount": ""
12033 - },
12034 - {
12035 - "Id": 786,
12036 - "UserId": 1018,
12037 - "TermId": 18,
12038 - "TransactionDate": "2014-08-19",
12039 - "TransactionTime": "11:18:55",
12040 - "RequestDate": "2014-08-19",
12041 - "UserIP": "74.201.38.1",
12042 - "SubscriptionType": "n",
12043 - "ProductId": 18,
12044 - "Source": 34,
12045 - "ProductStatus": 2,
12046 - "MediaFilePath": "",
12047 - "Amount": ""
12048 - },
12049 - {
12050 - "Id": 794,
12051 - "UserId": 1026,
12052 - "TermId": 18,
12053 - "TransactionDate": "2014-08-19",
12054 - "TransactionTime": "11:18:55",
12055 - "RequestDate": "2014-08-19",
12056 - "UserIP": "74.201.38.1",
12057 - "SubscriptionType": "n",
12058 - "ProductId": 18,
12059 - "Source": 34,
12060 - "ProductStatus": 2,
12061 - "MediaFilePath": "",
12062 - "Amount": ""
12063 - },
12064 - {
12065 - "Id": 802,
12066 - "UserId": 1034,
12067 - "TermId": 18,
12068 - "TransactionDate": "2014-08-19",
12069 - "TransactionTime": "11:18:55",
12070 - "RequestDate": "2014-08-19",
12071 - "UserIP": "74.201.38.1",
12072 - "SubscriptionType": "n",
12073 - "ProductId": 18,
12074 - "Source": 34,
12075 - "ProductStatus": 2,
12076 - "MediaFilePath": "",
12077 - "Amount": ""
12078 - },
12079 - {
12080 - "Id": 810,
12081 - "UserId": 1042,
12082 - "TermId": 18,
12083 - "TransactionDate": "2014-08-19",
12084 - "TransactionTime": "11:18:55",
12085 - "RequestDate": "2014-08-19",
12086 - "UserIP": "74.201.38.1",
12087 - "SubscriptionType": "n",
12088 - "ProductId": 18,
12089 - "Source": 34,
12090 - "ProductStatus": 2,
12091 - "MediaFilePath": "",
12092 - "Amount": ""
12093 - },
12094 - {
12095 - "Id": 818,
12096 - "UserId": 1050,
12097 - "TermId": 18,
12098 - "TransactionDate": "2014-08-19",
12099 - "TransactionTime": "11:18:55",
12100 - "RequestDate": "2014-08-19",
12101 - "UserIP": "74.201.38.1",
12102 - "SubscriptionType": "n",
12103 - "ProductId": 18,
12104 - "Source": 34,
12105 - "ProductStatus": 2,
12106 - "MediaFilePath": "",
12107 - "Amount": ""
12108 - },
12109 - {
12110 - "Id": 826,
12111 - "UserId": 1058,
12112 - "TermId": 18,
12113 - "TransactionDate": "2014-08-19",
12114 - "TransactionTime": "11:18:55",
12115 - "RequestDate": "2014-08-19",
12116 - "UserIP": "74.201.38.1",
12117 - "SubscriptionType": "n",
12118 - "ProductId": 18,
12119 - "Source": 34,
12120 - "ProductStatus": 2,
12121 - "MediaFilePath": "",
12122 - "Amount": ""
12123 - },
12124 - {
12125 - "Id": 834,
12126 - "UserId": 1066,
12127 - "TermId": 18,
12128 - "TransactionDate": "2014-08-19",
12129 - "TransactionTime": "11:18:55",
12130 - "RequestDate": "2014-08-19",
12131 - "UserIP": "74.201.38.1",
12132 - "SubscriptionType": "n",
12133 - "ProductId": 18,
12134 - "Source": 34,
12135 - "ProductStatus": 2,
12136 - "MediaFilePath": "",
12137 - "Amount": ""
12138 - },
12139 - {
12140 - "Id": 842,
12141 - "UserId": 1074,
12142 - "TermId": 18,
12143 - "TransactionDate": "2014-08-19",
12144 - "TransactionTime": "11:18:55",
12145 - "RequestDate": "2014-08-19",
12146 - "UserIP": "74.201.38.1",
12147 - "SubscriptionType": "n",
12148 - "ProductId": 18,
12149 - "Source": 34,
12150 - "ProductStatus": 2,
12151 - "MediaFilePath": "",
12152 - "Amount": ""
12153 - },
12154 - {
12155 - "Id": 850,
12156 - "UserId": 1082,
12157 - "TermId": 18,
12158 - "TransactionDate": "2014-08-19",
12159 - "TransactionTime": "11:18:55",
12160 - "RequestDate": "2014-08-19",
12161 - "UserIP": "74.201.38.1",
12162 - "SubscriptionType": "n",
12163 - "ProductId": 18,
12164 - "Source": 34,
12165 - "ProductStatus": 2,
12166 - "MediaFilePath": "",
12167 - "Amount": ""
12168 - },
12169 - {
12170 - "Id": 858,
12171 - "UserId": 1090,
12172 - "TermId": 18,
12173 - "TransactionDate": "2014-08-19",
12174 - "TransactionTime": "11:18:55",
12175 - "RequestDate": "2014-08-19",
12176 - "UserIP": "74.201.38.1",
12177 - "SubscriptionType": "n",
12178 - "ProductId": 18,
12179 - "Source": 34,
12180 - "ProductStatus": 2,
12181 - "MediaFilePath": "",
12182 - "Amount": ""
12183 - },
12184 - {
12185 - "Id": 866,
12186 - "UserId": 1098,
12187 - "TermId": 18,
12188 - "TransactionDate": "2014-08-19",
12189 - "TransactionTime": "11:18:55",
12190 - "RequestDate": "2014-08-19",
12191 - "UserIP": "74.201.38.1",
12192 - "SubscriptionType": "n",
12193 - "ProductId": 18,
12194 - "Source": 34,
12195 - "ProductStatus": 2,
12196 - "MediaFilePath": "",
12197 - "Amount": ""
12198 - },
12199 - {
12200 - "Id": 874,
12201 - "UserId": 1106,
12202 - "TermId": 18,
12203 - "TransactionDate": "2014-08-19",
12204 - "TransactionTime": "11:18:55",
12205 - "RequestDate": "2014-08-19",
12206 - "UserIP": "74.201.38.1",
12207 - "SubscriptionType": "n",
12208 - "ProductId": 18,
12209 - "Source": 34,
12210 - "ProductStatus": 2,
12211 - "MediaFilePath": "",
12212 - "Amount": ""
12213 - },
12214 - {
12215 - "Id": 882,
12216 - "UserId": 1114,
12217 - "TermId": 18,
12218 - "TransactionDate": "2014-08-19",
12219 - "TransactionTime": "11:18:55",
12220 - "RequestDate": "2014-08-19",
12221 - "UserIP": "74.201.38.1",
12222 - "SubscriptionType": "n",
12223 - "ProductId": 18,
12224 - "Source": 34,
12225 - "ProductStatus": 2,
12226 - "MediaFilePath": "",
12227 - "Amount": ""
12228 - },
12229 - {
12230 - "Id": 890,
12231 - "UserId": 1122,
12232 - "TermId": 18,
12233 - "TransactionDate": "2014-08-19",
12234 - "TransactionTime": "11:18:55",
12235 - "RequestDate": "2014-08-19",
12236 - "UserIP": "74.201.38.1",
12237 - "SubscriptionType": "n",
12238 - "ProductId": 18,
12239 - "Source": 34,
12240 - "ProductStatus": 2,
12241 - "MediaFilePath": "",
12242 - "Amount": ""
12243 - },
12244 - {
12245 - "Id": 898,
12246 - "UserId": 1130,
12247 - "TermId": 18,
12248 - "TransactionDate": "2014-08-19",
12249 - "TransactionTime": "11:18:55",
12250 - "RequestDate": "2014-08-19",
12251 - "UserIP": "74.201.38.1",
12252 - "SubscriptionType": "n",
12253 - "ProductId": 18,
12254 - "Source": 34,
12255 - "ProductStatus": 2,
12256 - "MediaFilePath": "",
12257 - "Amount": ""
12258 - },
12259 - {
12260 - "Id": 906,
12261 - "UserId": 1138,
12262 - "TermId": 18,
12263 - "TransactionDate": "2014-08-19",
12264 - "TransactionTime": "11:18:55",
12265 - "RequestDate": "2014-08-19",
12266 - "UserIP": "74.201.38.1",
12267 - "SubscriptionType": "n",
12268 - "ProductId": 18,
12269 - "Source": 34,
12270 - "ProductStatus": 2,
12271 - "MediaFilePath": "",
12272 - "Amount": ""
12273 - },
12274 - {
12275 - "Id": 914,
12276 - "UserId": 1146,
12277 - "TermId": 18,
12278 - "TransactionDate": "2014-08-19",
12279 - "TransactionTime": "11:18:55",
12280 - "RequestDate": "2014-08-19",
12281 - "UserIP": "74.201.38.1",
12282 - "SubscriptionType": "n",
12283 - "ProductId": 18,
12284 - "Source": 34,
12285 - "ProductStatus": 2,
12286 - "MediaFilePath": "",
12287 - "Amount": ""
12288 - },
12289 - {
12290 - "Id": 922,
12291 - "UserId": 1154,
12292 - "TermId": 18,
12293 - "TransactionDate": "2014-08-19",
12294 - "TransactionTime": "11:18:55",
12295 - "RequestDate": "2014-08-19",
12296 - "UserIP": "74.201.38.1",
12297 - "SubscriptionType": "n",
12298 - "ProductId": 18,
12299 - "Source": 34,
12300 - "ProductStatus": 2,
12301 - "MediaFilePath": "",
12302 - "Amount": ""
12303 - },
12304 - {
12305 - "Id": 930,
12306 - "UserId": 1162,
12307 - "TermId": 18,
12308 - "TransactionDate": "2014-08-19",
12309 - "TransactionTime": "11:18:55",
12310 - "RequestDate": "2014-08-19",
12311 - "UserIP": "74.201.38.1",
12312 - "SubscriptionType": "n",
12313 - "ProductId": 18,
12314 - "Source": 34,
12315 - "ProductStatus": 2,
12316 - "MediaFilePath": "",
12317 - "Amount": ""
12318 - },
12319 - {
12320 - "Id": 938,
12321 - "UserId": 1170,
12322 - "TermId": 18,
12323 - "TransactionDate": "2014-08-19",
12324 - "TransactionTime": "11:18:55",
12325 - "RequestDate": "2014-08-19",
12326 - "UserIP": "74.201.38.1",
12327 - "SubscriptionType": "n",
12328 - "ProductId": 18,
12329 - "Source": 34,
12330 - "ProductStatus": 2,
12331 - "MediaFilePath": "",
12332 - "Amount": ""
12333 - },
12334 - {
12335 - "Id": 946,
12336 - "UserId": 1178,
12337 - "TermId": 18,
12338 - "TransactionDate": "2014-08-19",
12339 - "TransactionTime": "11:18:55",
12340 - "RequestDate": "2014-08-19",
12341 - "UserIP": "74.201.38.1",
12342 - "SubscriptionType": "n",
12343 - "ProductId": 18,
12344 - "Source": 34,
12345 - "ProductStatus": 2,
12346 - "MediaFilePath": "",
12347 - "Amount": ""
12348 - },
12349 - {
12350 - "Id": 954,
12351 - "UserId": 1186,
12352 - "TermId": 18,
12353 - "TransactionDate": "2014-08-19",
12354 - "TransactionTime": "11:18:55",
12355 - "RequestDate": "2014-08-19",
12356 - "UserIP": "74.201.38.1",
12357 - "SubscriptionType": "n",
12358 - "ProductId": 18,
12359 - "Source": 34,
12360 - "ProductStatus": 2,
12361 - "MediaFilePath": "",
12362 - "Amount": ""
12363 - },
12364 - {
12365 - "Id": 962,
12366 - "UserId": 1194,
12367 - "TermId": 18,
12368 - "TransactionDate": "2014-08-19",
12369 - "TransactionTime": "11:18:55",
12370 - "RequestDate": "2014-08-19",
12371 - "UserIP": "74.201.38.1",
12372 - "SubscriptionType": "n",
12373 - "ProductId": 18,
12374 - "Source": 34,
12375 - "ProductStatus": 2,
12376 - "MediaFilePath": "",
12377 - "Amount": ""
12378 - },
12379 - {
12380 - "Id": 970,
12381 - "UserId": 1202,
12382 - "TermId": 18,
12383 - "TransactionDate": "2014-08-19",
12384 - "TransactionTime": "11:18:55",
12385 - "RequestDate": "2014-08-19",
12386 - "UserIP": "74.201.38.1",
12387 - "SubscriptionType": "n",
12388 - "ProductId": 18,
12389 - "Source": 34,
12390 - "ProductStatus": 2,
12391 - "MediaFilePath": "",
12392 - "Amount": ""
12393 - },
12394 - {
12395 - "Id": 978,
12396 - "UserId": 1210,
12397 - "TermId": 18,
12398 - "TransactionDate": "2014-08-19",
12399 - "TransactionTime": "11:18:55",
12400 - "RequestDate": "2014-08-19",
12401 - "UserIP": "74.201.38.1",
12402 - "SubscriptionType": "n",
12403 - "ProductId": 18,
12404 - "Source": 34,
12405 - "ProductStatus": 2,
12406 - "MediaFilePath": "",
12407 - "Amount": ""
12408 - },
12409 - {
12410 - "Id": 986,
12411 - "UserId": 1218,
12412 - "TermId": 18,
12413 - "TransactionDate": "2014-08-19",
12414 - "TransactionTime": "11:18:55",
12415 - "RequestDate": "2014-08-19",
12416 - "UserIP": "74.201.38.1",
12417 - "SubscriptionType": "n",
12418 - "ProductId": 18,
12419 - "Source": 34,
12420 - "ProductStatus": 2,
12421 - "MediaFilePath": "",
12422 - "Amount": ""
12423 - },
12424 - {
12425 - "Id": 994,
12426 - "UserId": 1226,
12427 - "TermId": 18,
12428 - "TransactionDate": "2014-08-19",
12429 - "TransactionTime": "11:18:55",
12430 - "RequestDate": "2014-08-19",
12431 - "UserIP": "74.201.38.1",
12432 - "SubscriptionType": "n",
12433 - "ProductId": 18,
12434 - "Source": 34,
12435 - "ProductStatus": 2,
12436 - "MediaFilePath": "",
12437 - "Amount": ""
12438 - },
12439 - {
12440 - "Id": 1002,
12441 - "UserId": 1234,
12442 - "TermId": 18,
12443 - "TransactionDate": "2014-08-19",
12444 - "TransactionTime": "11:18:55",
12445 - "RequestDate": "2014-08-19",
12446 - "UserIP": "74.201.38.1",
12447 - "SubscriptionType": "n",
12448 - "ProductId": 18,
12449 - "Source": 34,
12450 - "ProductStatus": 2,
12451 - "MediaFilePath": "",
12452 - "Amount": ""
12453 - }
12454 - ]
12455 -}
12456 -{{/code}}
12457 -
12458 -\\
12459 -
12460 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
12461 -== (% 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(%%) ==
12462 -
12463 -----
12464 -
12465 -{{panel bgColor="#D3D3D3" width="100%"}}
12466 - (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/transactions/~{~{Transaction id}}
12467 -{{/panel}}
12468 -
12469 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
12470 -
12471 -----
12472 -
12473 -(% 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}}
12474 -
12475 -==== Example ====
12476 -
12477 -----
12478 -
12479 -(% style="color: rgb(107,107,107);" %)Request
12480 -
12481 -{{code language="php" theme="RDark" title="Get specific Transaction Request"}}
12482 - <?php
12483 -
12484 -$curl = curl_init();
12485 -
12486 -curl_setopt_array($curl, array(
12487 - CURLOPT_URL => 'https://api.onecount.net/v2/transactions/{{Transaction id}}',
12488 - CURLOPT_RETURNTRANSFER => true,
12489 - CURLOPT_ENCODING => '',
12490 - CURLOPT_MAXREDIRS => 10,
12491 - CURLOPT_TIMEOUT => 0,
12492 - CURLOPT_FOLLOWLOCATION => true,
12493 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
12494 - CURLOPT_CUSTOMREQUEST => 'GET',
12495 - CURLOPT_HTTPHEADER => array(
12496 - 'Appkey: {{ONECOUNT API KEY}}'
12497 - ),
12498 -));
12499 -
12500 -$response = curl_exec($curl);
12501 -
12502 -curl_close($curl);
12503 -echo $response;
12504 -{{/code}}
12505 -
12506 -\\
12507 -
12508 -(% style="color: rgb(107,107,107);" %)Response  200 OK
12509 -
12510 -{{code language="yml" theme="RDark" title="Get specific Transaction Response" collapse="true"}}
12511 - {
12512 - "result": {
12513 - "success": "1",
12514 - "error": {
12515 - "code": "",
12516 - "message": ""
12517 - }
12518 - },
12519 - "Transactions": [
12520 - {
12521 - "Id": 1002,
12522 - "UserId": 1234,
12523 - "TermId": 18,
12524 - "TransactionDate": "2014-08-19",
12525 - "TransactionTime": "11:18:55",
12526 - "RequestDate": "2014-08-19",
12527 - "UserIP": "74.201.38.1",
12528 - "SubscriptionType": "n",
12529 - "ProductId": 18,
12530 - "Source": 34,
12531 - "ProductStatus": 2,
12532 - "MediaFilePath": "",
12533 - "Amount": ""
12534 - }
12535 - ]
12536 -}
12537 -{{/code}}
12538 -
12539 -\\
12540 -
12541 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
12542 -== (% 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(%%) ==
12543 -
12544 -----
12545 -
12546 -{{panel bgColor="#D3D3D3" width="100%"}}
12547 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/transactions/lookup?UserId=~{~{OCID}}
12548 -{{/panel}}
12549 -
12550 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
12551 -
12552 -----
12553 -
12554 -(% 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}}
12555 -
12556 -=== (% style="color: rgb(33,33,33);" %)Query Params(%%) ===
12557 -
12558 -----
12559 -
12560 -(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)UserId (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key nolink" style="color: rgb(33, 33, 33); color: rgb(33, 33, 33)" %)~{~{OCID}}
12561 -
12562 -==== Example ====
12563 -
12564 -----
12565 -
12566 -(% style="color: rgb(107,107,107);" %)Request
12567 -
12568 -{{code language="php" theme="RDark" title="Lookup Transaction Request"}}
12569 - <?php
12570 -
12571 -$curl = curl_init();
12572 -
12573 -curl_setopt_array($curl, array(
12574 - CURLOPT_URL => 'https://api.onecount.net/v2/transactions/lookup?UserId={{OCID}}',
12575 - CURLOPT_RETURNTRANSFER => true,
12576 - CURLOPT_ENCODING => '',
12577 - CURLOPT_MAXREDIRS => 10,
12578 - CURLOPT_TIMEOUT => 0,
12579 - CURLOPT_FOLLOWLOCATION => true,
12580 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
12581 - CURLOPT_CUSTOMREQUEST => 'GET',
12582 - CURLOPT_HTTPHEADER => array(
12583 - 'Appkey: {{ONECOUNT API KEY}}'
12584 - ),
12585 -));
12586 -
12587 -$response = curl_exec($curl);
12588 -
12589 -curl_close($curl);
12590 -echo $response;
12591 -{{/code}}
12592 -
12593 -\\
12594 -
12595 -(% style="color: rgb(107,107,107);" %)Response  200 OK
12596 -
12597 -{{code language="yml" theme="RDark" title="Lookup Transaction Response" collapse="true"}}
12598 - {
12599 - "result": {
12600 - "success": "1",
12601 - "error": {
12602 - "code": "",
12603 - "message": ""
12604 - }
12605 - },
12606 - "Transactions": [
12607 - {
12608 - "Id": 52494786,
12609 - "UserId": 1234,
12610 - "TermId": 34,
12611 - "TransactionDate": "2016-01-19",
12612 - "TransactionTime": "15:30:04",
12613 - "RequestDate": "2016-01-19",
12614 - "UserIP": "12.226.247.2",
12615 - "SubscriptionType": "u",
12616 - "ProductId": 34,
12617 - "Source": 0,
12618 - "ProductStatus": 0,
12619 - "MediaFilePath": "",
12620 - "Amount": ""
12621 - },
12622 - {
12623 - "Id": 42654041,
12624 - "UserId": 1234,
12625 - "TermId": 34,
12626 - "TransactionDate": "2015-09-09",
12627 - "TransactionTime": "11:20:39",
12628 - "RequestDate": "2015-09-09",
12629 - "UserIP": "24.187.236.98",
12630 - "SubscriptionType": "n",
12631 - "ProductId": 34,
12632 - "Source": 0,
12633 - "ProductStatus": 2,
12634 - "MediaFilePath": "",
12635 - "Amount": ""
12636 - },
12637 - {
12638 - "Id": 97251022,
12639 - "UserId": 1234,
12640 - "TermId": 34,
12641 - "TransactionDate": "2015-06-04",
12642 - "TransactionTime": "14:59:42",
12643 - "RequestDate": "2015-06-04",
12644 - "UserIP": "12.226.247.2",
12645 - "SubscriptionType": "u",
12646 - "ProductId": 34,
12647 - "Source": 0,
12648 - "ProductStatus": 0,
12649 - "MediaFilePath": "",
12650 - "Amount": ""
12651 - },
12652 - {
12653 - "Id": 55492559,
12654 - "UserId": 1234,
12655 - "TermId": 34,
12656 - "TransactionDate": "2015-04-03",
12657 - "TransactionTime": "16:32:04",
12658 - "RequestDate": "2015-04-03",
12659 - "UserIP": "24.187.236.98",
12660 - "SubscriptionType": "r",
12661 - "ProductId": 34,
12662 - "Source": 58,
12663 - "ProductStatus": 106,
12664 - "MediaFilePath": "",
12665 - "Amount": ""
12666 - },
12667 - {
12668 - "Id": 98173391,
12669 - "UserId": 1234,
12670 - "TermId": 34,
12671 - "TransactionDate": "2015-04-03",
12672 - "TransactionTime": "15:50:45",
12673 - "RequestDate": "2014-08-19",
12674 - "UserIP": "24.187.236.98",
12675 - "SubscriptionType": "n",
12676 - "ProductId": 34,
12677 - "Source": 34,
12678 - "ProductStatus": 106,
12679 - "MediaFilePath": "",
12680 - "Amount": ""
12681 - },
12682 - {
12683 - "Id": 91711793,
12684 - "UserId": 1234,
12685 - "TermId": 18,
12686 - "TransactionDate": "2015-04-27",
12687 - "TransactionTime": "14:24:51",
12688 - "RequestDate": "2015-04-27",
12689 - "UserIP": "24.187.236.98",
12690 - "SubscriptionType": "u",
12691 - "ProductId": 18,
12692 - "Source": 0,
12693 - "ProductStatus": 106,
12694 - "MediaFilePath": "",
12695 - "Amount": ""
12696 - },
12697 - {
12698 - "Id": 74936400,
12699 - "UserId": 1234,
12700 - "TermId": 18,
12701 - "TransactionDate": "2015-04-27",
12702 - "TransactionTime": "12:35:18",
12703 - "RequestDate": "2015-04-27",
12704 - "UserIP": "68.196.187.74",
12705 - "SubscriptionType": "n",
12706 - "ProductId": 18,
12707 - "Source": 34,
12708 - "ProductStatus": 106,
12709 - "MediaFilePath": "",
12710 - "Amount": ""
12711 - },
12712 - {
12713 - "Id": 21664714,
12714 - "UserId": 1234,
12715 - "TermId": 18,
12716 - "TransactionDate": "2015-04-03",
12717 - "TransactionTime": "15:50:46",
12718 - "RequestDate": "2015-04-03",
12719 - "UserIP": "24.187.236.98",
12720 - "SubscriptionType": "u",
12721 - "ProductId": 18,
12722 - "Source": 0,
12723 - "ProductStatus": 2,
12724 - "MediaFilePath": "",
12725 - "Amount": ""
12726 - },
12727 - {
12728 - "Id": 81129263,
12729 - "UserId": 1234,
12730 - "TermId": 18,
12731 - "TransactionDate": "2014-08-19",
12732 - "TransactionTime": "11:18:55",
12733 - "RequestDate": "2014-08-19",
12734 - "UserIP": "74.201.38.1",
12735 - "SubscriptionType": "n",
12736 - "ProductId": 18,
12737 - "Source": 34,
12738 - "ProductStatus": 2,
12739 - "MediaFilePath": "",
12740 - "Amount": ""
12741 - },
12742 - {
12743 - "Id": 30461748,
12744 - "UserId": 1234,
12745 - "ResourceId": 459,
12746 - "TransactionDate": "2023-03-15",
12747 - "TransactionTime": "12:07:55",
12748 - "RequestDate": "2023-03-15",
12749 - "UserIP": "74.201.38.12",
12750 - "SubscriptionType": "n",
12751 - "SourceCode": 0,
12752 - "ProductStatus": 0,
12753 - "MediaFilePath": "",
12754 - "Amount": ""
12755 - },
12756 - {
12757 - "Id": 25858253,
12758 - "UserId": 1234,
12759 - "ResourceId": 451,
12760 - "TransactionDate": "2023-03-15",
12761 - "TransactionTime": "11:45:19",
12762 - "RequestDate": "2023-03-15",
12763 - "UserIP": "74.201.38.12",
12764 - "SubscriptionType": "n",
12765 - "SourceCode": 0,
12766 - "ProductStatus": 0,
12767 - "MediaFilePath": "",
12768 - "Amount": ""
12769 - },
12770 - {
12771 - "Id": 69453260,
12772 - "UserId": 1234,
12773 - "ResourceId": 411,
12774 - "TransactionDate": "2022-06-07",
12775 - "TransactionTime": "17:03:14",
12776 - "RequestDate": "2022-06-07",
12777 - "UserIP": "74.201.38.12",
12778 - "SubscriptionType": "n",
12779 - "SourceCode": 0,
12780 - "ProductStatus": 0,
12781 - "MediaFilePath": "",
12782 - "Amount": ""
12783 - },
12784 - {
12785 - "Id": 51354425,
12786 - "UserId": 1234,
12787 - "ResourceId": 355,
12788 - "TransactionDate": "2020-04-06",
12789 - "TransactionTime": "12:24:08",
12790 - "RequestDate": "2020-04-06",
12791 - "UserIP": "74.201.38.12",
12792 - "SubscriptionType": "n",
12793 - "SourceCode": 0,
12794 - "ProductStatus": 0,
12795 - "MediaFilePath": "",
12796 - "Amount": ""
12797 - }
12798 - ]
12799 -}
12800 -{{/code}}
12801 -
12802 -\\
12803 -
12804 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
12805 -== (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33, 33, 33); color: rgb(173, 122, 3)" %)POST(% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %) Create Transaction(%%) ==
12806 -
12807 -----
12808 -
12809 -{{panel bgColor="#D3D3D3" width="100%"}}
12810 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/transactions
12811 -{{/panel}}
12812 -
12813 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
12814 -
12815 -----
12816 -
12817 -(% 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}}
12818 -
12819 -=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
12820 -
12821 -----
12822 -
12823 -{{code language="yml" theme="RDark" title="Body"}}
12824 -{"UserId": 1845775,"TermId":447 ,"UserIP":"192.168.0.1" ,"SubscriptionType":"n" , "ProductId":599 ,"FormId": "8f93834c-adce-4dc7-acd0-f3a1e0f7c63f","Source": 83,"ProductStatus": 2,"Amount":"0.00" ,"PaypalTransId":"" , "MediaFilePath":"" ,"Remarks": "USER SUBSCRIBED","BatchId":"1234" ,"Quantity": 1, "ExpireDate":"20251211" }
12825 -{{/code}}
12826 -
12827 -==== Example ====
12828 -
12829 -----
12830 -
12831 -(% style="color: rgb(107,107,107);" %)Request
12832 -
12833 -{{code language="php" theme="RDark" title="Create Transaction Request"}}
12834 - <?php
12835 -
12836 -$curl = curl_init();
12837 -
12838 -curl_setopt_array($curl, array(
12839 - CURLOPT_URL => 'https://api.onecount.net/v2/transactions',
12840 - CURLOPT_RETURNTRANSFER => true,
12841 - CURLOPT_ENCODING => '',
12842 - CURLOPT_MAXREDIRS => 10,
12843 - CURLOPT_TIMEOUT => 0,
12844 - CURLOPT_FOLLOWLOCATION => true,
12845 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
12846 - CURLOPT_CUSTOMREQUEST => 'POST',
12847 - CURLOPT_POSTFIELDS =>'{"UserId": 1845775,"TermId":447 ,"UserIP":"192.168.0.1" ,"SubscriptionType":"n" , "ProductId":599 ,"FormId": "8f93834c-adce-4dc7-acd0-f3a1e0f7c63f","Source": 83,"ProductStatus": 2,"Amount":"0.00" ,"PaypalTransId":"" , "MediaFilePath":"" ,"Remarks": "USER SUBSCRIBED","BatchId":"1234" ,"Quantity": 1, "ExpireDate":"20251211" }',
12848 - CURLOPT_HTTPHEADER => array(
12849 - 'Appkey: {{ONECOUNT API KEY}}'
12850 - ),
12851 -));
12852 -
12853 -$response = curl_exec($curl);
12854 -
12855 -curl_close($curl);
12856 -echo $response;
12857 -{{/code}}
12858 -
12859 -\\
12860 -
12861 -(% style="color: rgb(107,107,107);" %)Response  200 OK
12862 -
12863 -{{code language="yml" theme="RDark" title="Create Transaction Response" collapse="true"}}
12864 - {
12865 - "result": {
12866 - "success": "1",
12867 - "error": {
12868 - "code": "",
12869 - "message": ""
12870 - }
12871 - },
12872 - "Transactions": {
12873 - "Id": "1234",
12874 - "UserId": 1845775,
12875 - "TermId": 447,
12876 - "TransactionDate": "20231211",
12877 - "TransactionTime": "09:34:26",
12878 - "RequestDate": "20231211",
12879 - "UserIP": "192.168.0.1",
12880 - "SubscriptionType": "n",
12881 - "ProductId": 599,
12882 - "Source": 83,
12883 - "ProductStatus": 2,
12884 - "MediaFilePath": "",
12885 - "Amount": "0.00"
12886 - }
12887 -}
12888 -{{/code}}
12889 -
12890 -\\
12891 -
12892 -=== **COMPONENT: Engagements** ===
12893 -
12894 12894  (% class="western" %)
12895 -Engagement can be added, updated and searched for using the engagements resource from the api.
3143 +POST method should be used to create an individual source given the source parameters.
12896 12896  
12897 -(% class="western" %)
12898 -\\
12899 -
12900 -(% class="wrapped" %)
12901 12901  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12902 12902  (((
12903 12903  (% class="western" %)
12904 -**Method**
3148 +**Request**
12905 12905  )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12906 12906  (((
12907 12907  (% class="western" %)
12908 -**Url**
3152 +**Type**
12909 12909  )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12910 12910  (((
12911 12911  (% class="western" %)
12912 -**Action**
3156 +**Description**
12913 12913  )))
12914 12914  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12915 12915  (((
12916 12916  (% class="western" %)
12917 -GET
3161 +Sources
12918 12918  )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12919 12919  (((
12920 12920  (% class="western" %)
12921 -/(% style="color: rgb(33,33,33);" %)engagements
3165 +Sources
12922 12922  )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12923 12923  (((
12924 12924  (% class="western" %)
12925 -Get engagement data limiting 25.
3169 +Defines the contents that makes up the source. Id parameters should not be set.
12926 12926  )))
3171 +
12927 12927  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12928 12928  (((
12929 12929  (% class="western" %)
12930 -GET
3175 +**Response**
12931 12931  )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12932 12932  (((
12933 12933  (% class="western" %)
12934 -/(% style="color: rgb(33,33,33);" %)engagements(%%)/<engagement id>
3179 +**Type**
12935 12935  )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12936 12936  (((
12937 12937  (% class="western" %)
12938 -Get data for engagement id. The engagement id is a string
3183 +**Description**
12939 12939  )))
12940 12940  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12941 12941  (((
12942 12942  (% class="western" %)
12943 -POST
3188 +SourceId
12944 12944  )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12945 12945  (((
12946 12946  (% class="western" %)
12947 -/(% style="color: rgb(33,33,33);" %)engagements
3192 +int
12948 12948  )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12949 12949  (((
12950 12950  (% class="western" %)
12951 -Create a new engagement
3196 +Returns created source code id.
3197 +)))
12952 12952  
3199 +\\
3200 +
12953 12953  (% class="western" %)
12954 -Parameters required to create the engagement needs to be sent as post data in JSON format.
3202 +**PUT method can be used to update an individual source given the id.**
3203 +
3204 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
3205 +(((
3206 +(% class="western" %)
3207 +**Request**
3208 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
3209 +(((
3210 +(% class="western" %)
3211 +**Type**
3212 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
3213 +(((
3214 +(% class="western" %)
3215 +**Description**
12955 12955  )))
12956 12956  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12957 12957  (((
12958 12958  (% class="western" %)
12959 -PUT
3220 +Sources
12960 12960  )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12961 12961  (((
12962 12962  (% class="western" %)
12963 -/(% style="color: rgb(33,33,33);" %)engagements(%%)/<engagement id>
3224 +Sources
12964 12964  )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12965 12965  (((
12966 12966  (% class="western" %)
12967 -Update engagement by engagement id. The engagement id string
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 +)))
12968 12968  
3231 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
3232 +(((
12969 12969  (% class="western" %)
12970 -Parameters required to update the engagement needs to be sent as post data in JSON format.
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**
12971 12971  )))
12972 -|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
3244 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12973 12973  (((
12974 12974  (% class="western" %)
12975 -POST
3247 +SourceId
12976 12976  )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12977 12977  (((
12978 12978  (% class="western" %)
12979 -(% style="color: rgb(33,33,33);" %)/engagements/addUser
3251 +int
12980 12980  )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12981 12981  (((
12982 12982  (% class="western" %)
12983 -Add user to engagement
12984 -
12985 -(% class="western" %)
12986 -Parameters required to add user to the engagement needs to be sent as post data in JSON format.
3255 +Returns updated source id.
12987 12987  )))
12988 12988  
12989 12989  \\
12990 12990  
12991 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
12992 -== (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)All Engagements(%%) ==
12993 -
12994 -----
12995 -
12996 -----
12997 -
12998 -{{panel bgColor="#D3D3D3" width="100%"}}
12999 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/engagements
13000 -{{/panel}}
13001 -
13002 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
13003 -
13004 -----
13005 -
13006 -(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
13007 -
13008 -==== Example ====
13009 -
13010 -----
13011 -
13012 -(% style="color: rgb(107,107,107);" %)Request
13013 -
13014 -{{code language="php" theme="RDark" title="Get All Engagement Request"}}
13015 -<?php
13016 -
13017 -$curl = curl_init();
13018 -
13019 -curl_setopt_array($curl, array(
13020 - CURLOPT_URL => 'https://api.onecount.net/v2/engagements',
13021 - CURLOPT_RETURNTRANSFER => true,
13022 - CURLOPT_ENCODING => '',
13023 - CURLOPT_MAXREDIRS => 10,
13024 - CURLOPT_TIMEOUT => 0,
13025 - CURLOPT_FOLLOWLOCATION => true,
13026 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
13027 - CURLOPT_CUSTOMREQUEST => 'GET',
13028 - CURLOPT_HTTPHEADER => array(
13029 - 'Appkey: {{ONECOUNT API KEY}}'
13030 - ),
13031 -));
13032 -
13033 -$response = curl_exec($curl);
13034 -
13035 -curl_close($curl);
13036 -echo $response;
13037 -
13038 -
13039 -{{/code}}
13040 -
3260 +(% class="western" %)
13041 13041  \\
13042 13042  
13043 -(% style="color: rgb(107,107,107);" %)Response  200 OK
13044 -
13045 -{{code language="yml" theme="RDark" title="Get all engagements Response" collapse="true"}}
13046 - {
13047 - "result": {
13048 - "success": "1",
13049 - "error": {
13050 - "code": "",
13051 - "message": ""
13052 - }
13053 - },
13054 - "Engagements": [
13055 - {
13056 - "Id": "048d38e9-d6c3-432e-9671-3f31809d48b3",
13057 - "Name": "Test Engagement 1",
13058 - "Engagement Fields": [
13059 - {
13060 - "Name": "id",
13061 - "Type": "text"
13062 - },
13063 - {
13064 - "Name": "activity_time",
13065 - "Type": "text"
13066 - },
13067 - {
13068 - "Name": "Name",
13069 - "Type": "text"
13070 - },
13071 - {
13072 - "Name": "Test Field",
13073 - "Type": "select",
13074 - "Values": [
13075 - {
13076 - "text": "Test 1",
13077 - "value": "Test1"
13078 - }
13079 - ]
13080 - }
13081 - ]
13082 - }
13083 - ]
13084 -}
13085 -{{/code}}
13086 -
13087 -\\
13088 -
13089 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
13090 -== (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)Specific Engagement(%%) ==
13091 -
13092 -----
13093 -
13094 -----
13095 -
13096 -{{panel bgColor="#D3D3D3" width="100%"}}
13097 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/engagements/~{~{Engagement ID}}
13098 -{{/panel}}
13099 -
13100 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
13101 -
13102 -----
13103 -
13104 -(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
13105 -
13106 -==== Example ====
13107 -
13108 -----
13109 -
13110 -(% style="color: rgb(107,107,107);" %)Request
13111 -
13112 -{{code language="php" theme="RDark" title="Get Specific Engagement Request"}}
13113 -<?php
13114 -
13115 -$curl = curl_init();
13116 -
13117 -curl_setopt_array($curl, array(
13118 - CURLOPT_URL => 'https://api.onecount.net/v2/engagements/{{Engagement ID}}',
13119 - CURLOPT_RETURNTRANSFER => true,
13120 - CURLOPT_ENCODING => '',
13121 - CURLOPT_MAXREDIRS => 10,
13122 - CURLOPT_TIMEOUT => 0,
13123 - CURLOPT_FOLLOWLOCATION => true,
13124 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
13125 - CURLOPT_CUSTOMREQUEST => 'GET',
13126 - CURLOPT_HTTPHEADER => array(
13127 - 'Appkey: {{ONECOUNT API KEY}}'
13128 - ),
13129 -));
13130 -
13131 -$response = curl_exec($curl);
13132 -
13133 -curl_close($curl);
13134 -echo $response;
13135 -
13136 -
13137 -{{/code}}
13138 -
13139 -\\
13140 -
13141 -(% style="color: rgb(107,107,107);" %)Response  200 OK
13142 -
13143 -{{code language="yml" theme="RDark" title="Get specific engagement Response" collapse="true"}}
13144 - {
13145 - "result": {
13146 - "success": "1",
13147 - "error": {
13148 - "code": "",
13149 - "message": ""
13150 - }
13151 - },
13152 - "Engagements": [
13153 - {
13154 - "Id": "048d38e9-d6c3-432e-9671-3f31809d48b3",
13155 - "Name": "Test Engagement 1",
13156 - "Engagement Fields": [
13157 - {
13158 - "Name": "id",
13159 - "Type": "text"
13160 - },
13161 - {
13162 - "Name": "activity_time",
13163 - "Type": "text"
13164 - },
13165 - {
13166 - "Name": "Name",
13167 - "Type": "text"
13168 - },
13169 - {
13170 - "Name": "Test Field",
13171 - "Type": "select",
13172 - "Values": [
13173 - {
13174 - "text": "Test 1",
13175 - "value": "Test1"
13176 - }
13177 - ]
13178 - }
13179 - ]
13180 - }
13181 - ]
13182 -}
13183 -{{/code}}
13184 -
13185 -\\
13186 -
13187 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
13188 -== (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33, 33, 33); color: rgb(173, 122, 3)" %)POST(% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %) Create Engagement(%%) ==
13189 -
13190 -----
13191 -
13192 -{{panel bgColor="#D3D3D3" width="100%"}}
13193 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/engagements
13194 -{{/panel}}
13195 -
13196 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
13197 -
13198 -----
13199 -
13200 -(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
13201 -
13202 -=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
13203 -
13204 -----
13205 -
13206 -{{code language="yml" theme="RDark" title="Body"}}
13207 -{"Name":"Engagement Name", "Description":"Engagement Description", "Metrics":[
13208 - {"Name":[{"webinar ID 1":"Webinar 1"},{"webinar ID 3":"Webinar 3"},{"webinar ID 3":"Webinar 3"}],"Type": "select"},
13209 - {"Attendance Status":[{"attended":"Attended"},{"not_attended":"Not Attended"}],"Type": "select"},
13210 - {"Price":[],"Type": "numeric"},
13211 - {"Transaction Date":[],"Type": "date"}
13212 -]}
13213 -{{/code}}
13214 -
13215 -==== Example ====
13216 -
13217 -----
13218 -
13219 -(% style="color: rgb(107,107,107);" %)Request
13220 -
13221 -{{code language="php" theme="RDark" title="Create Engagement Request"}}
13222 -<?php
13223 -
13224 -$curl = curl_init();
13225 -
13226 -curl_setopt_array($curl, array(
13227 - CURLOPT_URL => 'https://api.onecount.net/v2/engagements',
13228 - CURLOPT_RETURNTRANSFER => true,
13229 - CURLOPT_ENCODING => '',
13230 - CURLOPT_MAXREDIRS => 10,
13231 - CURLOPT_TIMEOUT => 0,
13232 - CURLOPT_FOLLOWLOCATION => true,
13233 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
13234 - CURLOPT_CUSTOMREQUEST => 'POST',
13235 - CURLOPT_POSTFIELDS =>'{"Name":"Test engagement 2", "Description":"Test engagement 2", "Metrics":[
13236 - {"Name":[{"text":"Webinar 1","value":"Webinar_1"},{"text":"Webinar 2","value":"Webinar_2"}],"Type": "select"},
13237 - {"Attendance Status":[{"text":"Attended","value":"attended"},{"text":"Not Attended","value":"not_attended"}],"Type": "select"},
13238 - {"Price":[],"Type": "numeric"},
13239 - {"Transaction Date":[],"Type": "text"}
13240 -]}',
13241 - CURLOPT_HTTPHEADER => array(
13242 - 'Appkey: {{ONECOUNT API KEY}}',
13243 - 'Content-Type: application/json'
13244 - ),
13245 -));
13246 -
13247 -$response = curl_exec($curl);
13248 -
13249 -curl_close($curl);
13250 -echo $response;
13251 -
13252 -
13253 -{{/code}}
13254 -
13255 -\\
13256 -
13257 -(% style="color: rgb(107,107,107);" %)Response  200 OK
13258 -
13259 -{{code language="yml" theme="RDark" title="Create Engagement Response" collapse="true"}}
13260 - {
13261 - "result": {
13262 - "success": "1",
13263 - "error": {
13264 - "code": "",
13265 - "message": ""
13266 - }
13267 - },
13268 - "Engagements": [
13269 - {
13270 - "Id": "71c1115f-e5bb-470a-bedf-6940f5ac8565",
13271 - "Name": "Test engagement 2",
13272 - "Metrics": [
13273 - {
13274 - "Name": "Name",
13275 - "Type": "select",
13276 - "Values": [
13277 - {
13278 - "text": "Webinar 1",
13279 - "value": "Webinar_1"
13280 - },
13281 - {
13282 - "text": "Webinar 2",
13283 - "value": "Webinar_2"
13284 - }
13285 - ]
13286 - },
13287 - {
13288 - "Name": "Attendance Status",
13289 - "Type": "select",
13290 - "Values": [
13291 - {
13292 - "text": "Attended",
13293 - "value": "attended"
13294 - },
13295 - {
13296 - "text": "Not Attended",
13297 - "value": "not_attended"
13298 - }
13299 - ]
13300 - },
13301 - {
13302 - "Name": "Price",
13303 - "Type": "numeric"
13304 - },
13305 - {
13306 - "Name": "Transaction Date",
13307 - "Type": "text"
13308 - },
13309 - {
13310 - "Name": "id",
13311 - "Type": "text"
13312 - },
13313 - {
13314 - "Name": "activity_time",
13315 - "Type": "text"
13316 - }
13317 - ]
13318 - }
13319 - ]
13320 -}
13321 -{{/code}}
13322 -
13323 -\\
13324 -
13325 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
13326 -== (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33, 33, 33); color: rgb(0, 83, 184)" %)PUT (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)Update Engagement(%%) ==
13327 -
13328 -----
13329 -
13330 -{{panel bgColor="#D3D3D3" width="100%"}}
13331 - (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/engagements/~{~{Engagement Id}}
13332 -{{/panel}}
13333 -
13334 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
13335 -
13336 -----
13337 -
13338 -(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
13339 -
13340 -=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
13341 -
13342 -----
13343 -
13344 -{{code language="yml" theme="RDark" title="Body"}}
13345 -{"Name":"Test engagement 3", "Metrics":[
13346 - {"Attendance Status":[{"text":"Attended","value":"attended"},{"text":"Not Attended","value":"not_attended"}],"Type": "select"},
13347 - {"Price":[],"Type": "text"}
13348 - ]}
13349 -{{/code}}
13350 -
13351 -==== Example ====
13352 -
13353 -----
13354 -
13355 -(% style="color: rgb(107,107,107);" %)Request
13356 -
13357 -{{code language="php" theme="RDark" title="Update Engagement Request"}}
13358 - <?php
13359 -
13360 -$curl = curl_init();
13361 -
13362 -curl_setopt_array($curl, array(
13363 - CURLOPT_URL => 'https://api.onecount.net/v2/engagements/{{Engagement Id}}',
13364 - CURLOPT_RETURNTRANSFER => true,
13365 - CURLOPT_ENCODING => '',
13366 - CURLOPT_MAXREDIRS => 10,
13367 - CURLOPT_TIMEOUT => 0,
13368 - CURLOPT_FOLLOWLOCATION => true,
13369 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
13370 - CURLOPT_CUSTOMREQUEST => 'PUT',
13371 - CURLOPT_POSTFIELDS =>'{"Name":"Test engagement 3", "Metrics":[
13372 - {"Attendance Status":[{"text":"Attended","value":"attended"},{"text":"Not Attended","value":"not_attended"}],"Type": "select"},
13373 - {"Price":[],"Type": "text"}
13374 - ]}',
13375 - CURLOPT_HTTPHEADER => array(
13376 - 'Appkey: {{ONECOUNT API KEY}}',
13377 - 'Content-Type: application/json'
13378 - ),
13379 -));
13380 -
13381 -$response = curl_exec($curl);
13382 -
13383 -curl_close($curl);
13384 -echo $response;
13385 -
13386 -{{/code}}
13387 -
13388 -\\
13389 -
13390 -(% style="color: rgb(107,107,107);" %)Response  200 OK
13391 -
13392 -{{code language="yml" theme="RDark" title="Update Engagement Response" collapse="true"}}
13393 -{
13394 - "result": {
13395 - "success": "1",
13396 - "error": {
13397 - "code": "",
13398 - "message": ""
13399 - }
13400 - },
13401 - "Engagements": [
13402 - {
13403 - "Id": "e0e816ec-77ba-4db1-bfc0-22d340337357",
13404 - "Name": "Test engagement 3",
13405 - "Metrics": [
13406 - {
13407 - "Name": "Attendance Status",
13408 - "Type": "select",
13409 - "Values": [
13410 - {
13411 - "text": "Attended",
13412 - "value": "attended"
13413 - },
13414 - {
13415 - "text": "Not Attended",
13416 - "value": "not_attended"
13417 - }
13418 - ]
13419 - },
13420 - {
13421 - "Name": "Price",
13422 - "Type": "text"
13423 - },
13424 - {
13425 - "Name": "Name",
13426 - "Type": "select",
13427 - "Values": [
13428 - {
13429 - "text": "Webinar 1",
13430 - "value": "Webinar_1"
13431 - },
13432 - {
13433 - "text": "Webinar 2",
13434 - "value": "Webinar_2"
13435 - }
13436 - ]
13437 - },
13438 - {
13439 - "Name": "Transaction Date",
13440 - "Type": "text"
13441 - },
13442 - {
13443 - "Name": "id",
13444 - "Type": "text"
13445 - },
13446 - {
13447 - "Name": "activity_time",
13448 - "Type": "text"
13449 - }
13450 - ]
13451 - }
13452 - ]
13453 -}
13454 -{{/code}}
13455 -
13456 -\\
13457 -
13458 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
13459 -== (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33, 33, 33); color: rgb(173, 122, 3)" %)POST(% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %) Add User to Engagement(%%) ==
13460 -
13461 -----
13462 -
13463 -{{panel bgColor="#D3D3D3" width="100%"}}
13464 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/engagements/addUser
13465 -{{/panel}}
13466 -
13467 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
13468 -
13469 -----
13470 -
13471 -(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
13472 -
13473 -=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
13474 -
13475 -----
13476 -
13477 -{{code language="yml" theme="RDark" title="Body"}}
13478 -{"engagement id":"e0e816ec-77ba-4db1-bfc0-22d340337357","show id":"Webinar_1","ocid":"1845775", "date":"2023-12-31 14:12:38", "data":{"price":"10","attendance_status":"not_attended"},"segment":{}}
13479 -{{/code}}
13480 -
13481 -==== Example ====
13482 -
13483 -----
13484 -
13485 -(% style="color: rgb(107,107,107);" %)Request
13486 -
13487 -{{code language="php" theme="RDark" title="Add User to Engagement Request"}}
13488 - <?php
13489 -
13490 -$curl = curl_init();
13491 -
13492 -curl_setopt_array($curl, array(
13493 - CURLOPT_URL => 'https://api.onecount.net/v2/engagements/addUser',
13494 - CURLOPT_RETURNTRANSFER => true,
13495 - CURLOPT_ENCODING => '',
13496 - CURLOPT_MAXREDIRS => 10,
13497 - CURLOPT_TIMEOUT => 0,
13498 - CURLOPT_FOLLOWLOCATION => true,
13499 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
13500 - CURLOPT_CUSTOMREQUEST => 'POST',
13501 - CURLOPT_POSTFIELDS =>'{"engagement id":"e0e816ec-77ba-4db1-bfc0-22d340337357","show id":"Webinar_1","ocid":"1845775", "date":"2023-12-31 14:12:38", "data":{"price":"10","attendance_status":"not_attended"},"segment":{}}',
13502 - CURLOPT_HTTPHEADER => array(
13503 - 'Appkey: {{ONECOUNT API KEY}}'
13504 - ),
13505 -));
13506 -
13507 -$response = curl_exec($curl);
13508 -
13509 -curl_close($curl);
13510 -echo $response;
13511 -{{/code}}
13512 -
13513 -\\
13514 -
13515 -(% style="color: rgb(107,107,107);" %)Response  200 OK
13516 -
13517 -{{code language="yml" theme="RDark" title="Add Users to Engagement Response" collapse="true"}}
13518 - {
13519 - "result": {
13520 - "success": "1",
13521 - "error": {
13522 - "code": "",
13523 - "message": ""
13524 - }
13525 - },
13526 - "Users": {
13527 - "ocid": 1845775,
13528 - "uuid": {
13529 - "type": {
13530 - "name": "uuid"
13531 - },
13532 - "uuid": "a1425a04-4c0c-4790-bcd6-425bc7729fd7",
13533 - "version": 4
13534 - },
13535 - "blacklisted": null,
13536 - "demo": {
13537 - "1": "rayaan@one-count.com",
13538 - "2": "user_1701788987",
13539 - "3": "5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5"
13540 - },
13541 - "email": "rayaan@one-count.com",
13542 - "espid": null,
13543 - "known": {
13544 - "type": {
13545 - "name": "smallint"
13546 - },
13547 - "value": "1"
13548 - },
13549 - "ocid_hash": "57b81cf5536171c84e6e8a0b762251ee7819737b2e95f1390fed97acc11a277b",
13550 - "partners_hash": null,
13551 - "password": "5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5",
13552 - "payment_cc_exp": null,
13553 - "payment_vendor_token": null,
13554 - "products": {
13555 - "599": "447"
13556 - },
13557 - "remarks": null,
13558 - "resources": null,
13559 - "smartlink_hash": null,
13560 - "subscription_active_resource_info": null,
13561 - "subscription_active_term_info": {
13562 - "447": "{\"renewed\":1,\"expiration_month\":202512,\"product_status\":\"2\",\"expiration_date\":20251211}"
13563 - },
13564 - "subscription_log": {
13565 - "type": {
13566 - "valueType": {
13567 - "name": "varchar"
13568 - }
13569 - },
13570 - "values": [
13571 - "{\"batch_id\":\"1234\",\"__cuuid\":\"49\",\"subscription_time\":\"2023-12-11 09:09:01\",\"product_status\":\"2\",\"promo_code\":\"\",\"type\":\"term\",\"expiration_date\":20251211,\"subscription_date\":20231211,\"ocid\":1845775,\"product_uid\":\"599\",\"timestamp\":1702303741,\"amount\":0,\"quantity\":1,\"import_id\":\"83\",\"ip\":\"10.10.20.7\",\"form_id\":\"8f93834c-adce-4dc7-acd0-f3a1e0f7c63f\",\"previous_expiration_date\":20231211,\"term_uid\":\"447\",\"renewed\":1,\"request_date\":20231211,\"payment_transaction_id\":\"0\",\"subscription_type\":\"n\",\"payment_processor\":\"\",\"remarks\":\"USER SUBSCRIBED\",\"user_uid\":\"a1425a04-4c0c-4790-bcd6-425bc7729fd7\"}",
13572 - "{\"batch_id\":\"1234\",\"__cuuid\":\"49\",\"subscription_time\":\"2023-12-11 09:20:49\",\"product_status\":\"2\",\"promo_code\":\"\",\"type\":\"term\",\"expiration_date\":20251211,\"subscription_date\":20231211,\"ocid\":1845775,\"product_uid\":\"599\",\"timestamp\":1702304449,\"amount\":0,\"quantity\":1,\"import_id\":\"83\",\"ip\":\"10.10.20.7\",\"form_id\":\"8f93834c-adce-4dc7-acd0-f3a1e0f7c63f\",\"previous_expiration_date\":20231211,\"term_uid\":\"447\",\"renewed\":1,\"request_date\":20231211,\"payment_transaction_id\":\"0\",\"subscription_type\":\"n\",\"payment_processor\":\"\",\"remarks\":\"USER SUBSCRIBED\",\"user_uid\":\"a1425a04-4c0c-4790-bcd6-425bc7729fd7\"}",
13573 - "{\"batch_id\":\"1234\",\"__cuuid\":\"49\",\"subscription_time\":\"2023-12-11 09:34:26\",\"product_status\":\"2\",\"promo_code\":\"\",\"type\":\"term\",\"expiration_date\":20251211,\"subscription_date\":20231211,\"ocid\":1845775,\"product_uid\":\"599\",\"timestamp\":1702305266,\"amount\":0,\"quantity\":1,\"import_id\":\"83\",\"ip\":\"10.10.20.7\",\"form_id\":\"8f93834c-adce-4dc7-acd0-f3a1e0f7c63f\",\"previous_expiration_date\":20231211,\"term_uid\":\"447\",\"renewed\":1,\"request_date\":20231211,\"payment_transaction_id\":\"0\",\"subscription_type\":\"n\",\"payment_processor\":\"\",\"remarks\":\"USER SUBSCRIBED\",\"user_uid\":\"a1425a04-4c0c-4790-bcd6-425bc7729fd7\"}"
13574 - ]
13575 - },
13576 - "subscription_log_by_resource": null,
13577 - "subscription_source_code": [
13578 - "83"
13579 - ],
13580 - "targets": null,
13581 - "timestamp": {
13582 - "type": {
13583 - "name": "bigint"
13584 - },
13585 - "value": "1701788987"
13586 - },
13587 - "unconfirmed": null,
13588 - "update_time": null,
13589 - "username": "user_1701788987",
13590 - "vendor_blacklisted": null,
13591 - "vendor_esp": null,
13592 - "vendor_unconfirmed": null
13593 - }
13594 -}
13595 -{{/code}}
13596 -
13597 -\\
13598 -
13599 13599  (% class="western" %)
13600 -=== **COMPONENT: Segments
13601 -** ===
3264 +**COMPONENT: Transactions**
13602 13602  
13603 13603  (% class="western" %)
13604 -This resource is for manipulating segment for a resource. A segment can be searched (or) add users to segment (or)  get all segment for a user.
3267 +This resource is for manipulating transactions resource. A transaction can be created or searched.
13605 13605  
13606 13606  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13607 13607  (((
... ... @@ -13623,11 +13623,11 @@
13623 13623  )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13624 13624  (((
13625 13625  (% class="western" %)
13626 -/(% style="color: rgb(33,33,33);" %)segments
3289 +/transactions
13627 13627  )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13628 13628  (((
13629 13629  (% class="western" %)
13630 -Get all segments.
3293 +List all transactions
13631 13631  )))
13632 13632  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13633 13633  (((
... ... @@ -13636,11 +13636,11 @@
13636 13636  )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13637 13637  (((
13638 13638  (% class="western" %)
13639 -/(% style="color: rgb(33,33,33);" %)segments(%%)/(% class="resolvedVariable" style="text-decoration: none;" %)~{~{Segment id}}
3302 +/transactions/lookup?UserId=1
13640 13640  )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13641 13641  (((
13642 13642  (% class="western" %)
13643 -Get specific segment based on segment id.
3306 +Lookup all transaction of UserId = 1
13644 13644  )))
13645 13645  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13646 13646  (((
... ... @@ -13649,462 +13649,185 @@
13649 13649  )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13650 13650  (((
13651 13651  (% class="western" %)
13652 -/(% style="color: rgb(33,33,33);" %)segments/addUsers
3315 +/transactions
13653 13653  )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13654 13654  (((
13655 13655  (% class="western" %)
13656 -Add users to segment.
3319 +JSON of the Transactions type object needs to be sent as post data. Id field should not be sent.
13657 13657  )))
3321 +
3322 +\\
3323 +
3324 +(% class="western" %)
3325 +\\
3326 +
3327 +(% class="western" %)
3328 +Transactions can be looked up using transactionId, date range, userid. Use GET method to do lookup.
3329 +
13658 13658  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13659 13659  (((
13660 13660  (% class="western" %)
13661 -GET
3333 +**Request**
13662 13662  )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13663 13663  (((
13664 13664  (% class="western" %)
13665 -/(% style="color: rgb(33,33,33);" %)segments/users/(% class="resolvedVariable" style="text-decoration: none;" %)~{~{ocid}}
3337 +**Type**
13666 13666  )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13667 13667  (((
13668 13668  (% class="western" %)
13669 -Get all segment user has be subscribed based on user id.
3341 +**Description**
13670 13670  )))
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.
13671 13671  
13672 -\\
3356 +(% class="western" %)
3357 +Params:
13673 13673  
13674 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
13675 -== (% 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 Segments(%%) ==
3359 +(% class="western" %)
3360 +UserId: Id of the user whose transaction is to be looked up (Int)
13676 13676  
13677 -----
3362 +(% class="western" %)
3363 +StartDate: Date from which the start should happen. Only valid when UserId is set. (Date)
13678 13678  
13679 -----
3365 +(% class="western" %)
3366 +EndDate: When the search should end. Only valid when UserId is set. (Date)
3367 +)))
13680 13680  
13681 -{{panel bgColor="#D3D3D3" width="100%"}}
13682 -(% class="nolink nolink" %)https:~/~/api.onecount.net/v2(% class="nolink" style="color: rgb(33,33,33);" %)/segments
13683 -{{/panel}}
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 +)))
13684 13684  
13685 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
13686 -
13687 -----
13688 -
13689 -(% 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}}
13690 -
13691 -==== Example ====
13692 -
13693 -----
13694 -
13695 -(% style="color: rgb(107,107,107);" %)Request
13696 -
13697 -{{code language="php" theme="RDark" title="Get All Segments Request"}}
13698 -<?php
13699 -
13700 -$curl = curl_init();
13701 -
13702 -curl_setopt_array($curl, array(
13703 - CURLOPT_URL => 'https://api.onecount.net/v2/segments',
13704 - CURLOPT_RETURNTRANSFER => true,
13705 - CURLOPT_ENCODING => '',
13706 - CURLOPT_MAXREDIRS => 10,
13707 - CURLOPT_TIMEOUT => 0,
13708 - CURLOPT_FOLLOWLOCATION => true,
13709 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
13710 - CURLOPT_CUSTOMREQUEST => 'GET',
13711 - CURLOPT_HTTPHEADER => array(
13712 - 'Appkey: {{ONECOUNT API KEY}}'
13713 - ),
13714 -));
13715 -
13716 -$response = curl_exec($curl);
13717 -
13718 -curl_close($curl);
13719 -echo $response;
13720 -{{/code}}
13721 -
13722 13722  \\
13723 13723  
13724 -(% style="color: rgb(107,107,107);" %)Response  200 OK
3398 +**Sample response for /(% style="color: rgb(80,80,80);" %)transactions/lookup?UserId=25255105:(%%)**
13725 13725  
13726 -{{code language="yml" theme="RDark" title="Get All Segments Response" collapse="true"}}
13727 - {
13728 - "result": {
13729 - "success": "1",
13730 - "error": {
13731 - "code": "",
13732 - "message": ""
13733 - }
13734 - },
13735 - "Segments": [
13736 - {
13737 - "Id": "891aa4b6-9e0e-4706-b08a-e7acb54e7e43",
13738 - "Name": "2022 Use Cases PDF Download"
13739 - },
13740 - {
13741 - "Id": "a639cb1f-6509-447b-a1d7-93a8e8ef61b1",
13742 - "Name": "58-percent conversion-rate"
13743 - },
13744 - {
13745 - "Id": "43eefdc6-89ab-4472-88c3-e16fb9619138",
13746 - "Name": "Audience Marketing Pop-Up"
13747 - },
13748 - {
13749 - "Id": "68219b37-c155-4459-a5ce-497261286ffe",
13750 - "Name": "Bold Minds Reminders"
13751 - },
13752 - {
13753 - "Id": "6450defc-7658-4182-9c2a-a8f8420f801e",
13754 - "Name": "Demo - Aviator's Guide - NL Popup"
13755 - },
13756 - {
13757 - "Id": "28774f7c-9fd3-4dff-a42e-683460f437c0",
13758 - "Name": "Getting 80-Percent Conversion Rates Pop-up"
13759 - },
13760 - {
13761 - "Id": "71b655e6-a11a-46af-bed5-b9eb1d6ac3aa",
13762 - "Name": "Holiday Special Offer - 3 mo. Pilot"
13763 - },
13764 - {
13765 - "Id": "16305ad0-8e65-4085-942e-04d99fd39207",
13766 - "Name": "Identity Resolution Test II"
13767 - },
13768 - {
13769 - "Id": "fcdfa9cb-baa2-4cc8-86b3-8f604471f2f3",
13770 - "Name": "Live ONEcount Popup Example Segment"
13771 - },
13772 - {
13773 - "Id": "2463b0a3-1e22-4fd0-97b2-bbdae30e585a",
13774 - "Name": "Live webinar - June 15 - Accelerate Revenue"
13775 - },
13776 - {
13777 - "Id": "d8d1bc9d-ede2-4c82-a747-10ab9fb979de",
13778 - "Name": "LIVE WEBINAR ONEcount BI Pop-up Campaign"
13779 - },
13780 - {
13781 - "Id": "d883ecdb-5307-416d-9558-c196472021c9",
13782 - "Name": "New Year - Increase Revenue 30-Percent"
13783 - },
13784 - {
13785 - "Id": "08abbc5b-aafe-4834-90f5-ac45fe025d73",
13786 - "Name": "OC Test"
13787 - },
13788 - {
13789 - "Id": "24cf72e9-ad71-489c-89ef-b80d0c42e2e2",
13790 - "Name": "Something big"
13791 - },
13792 - {
13793 - "Id": "0d37c79e-deb2-4287-9444-ae4812a9d8f0",
13794 - "Name": "Something No Other Platform Has"
13795 - },
13796 - {
13797 - "Id": "5eaa0345-a825-4ba0-a787-336312a77744",
13798 - "Name": "Something Revolutionary"
13799 - },
13800 - {
13801 - "Id": "c905d313-8d5e-45c1-aaab-7f8c8adc2bea",
13802 - "Name": "Something that will change your life"
13803 - },
13804 - {
13805 - "Id": "1bfb1c06-4b26-4ac3-a616-eb6b225e5f0e",
13806 - "Name": "Something You Have Always Wanted"
13807 - },
13808 - {
13809 - "Id": "28361c73-e253-49bb-a791-5481be2070a0",
13810 - "Name": "Something You Never Thought Possible"
13811 - },
13812 - {
13813 - "Id": "86e7129a-a538-4c56-a731-7e9c08fa8814",
13814 - "Name": "Test behaviour "
13815 - },
13816 - {
13817 - "Id": "e5e53cd4-bbd0-465b-b426-e267964fd0b4",
13818 - "Name": "Test behaviour banner segment"
13819 - },
13820 - {
13821 - "Id": "78ffd6d7-0b40-4e5a-8f32-622a04fb5561",
13822 - "Name": "Test behaviour combo"
13823 - },
13824 - {
13825 - "Id": "0022394d-7901-4aff-98c2-0c8c04fcb27a",
13826 - "Name": "Test behaviour content"
13827 - },
13828 - {
13829 - "Id": "89424642-1363-476e-9842-4f0a2544151f",
13830 - "Name": "Test behaviour email"
13831 - },
13832 - {
13833 - "Id": "ca848e53-3f3e-43c6-ae61-f331f3135c6c",
13834 - "Name": "Test demographic segments"
13835 - },
13836 - {
13837 - "Id": "e11d11fa-7603-4dee-a361-c6e909249ecd",
13838 - "Name": "Test with unknown only selecting all filters"
13839 - }
13840 - ]
13841 -}
13842 -{{/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 +)))
13843 13843  
13844 13844  \\
13845 13845  
13846 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
13847 -== (% 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 Segments(%%) ==
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.
13848 13848  
13849 -----
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 +)))
13850 13850  
13851 -{{panel bgColor="#D3D3D3" width="100%"}}
13852 - (% class="nolink nolink" %)https:~/~/api.onecount.net/v2(% class="nolink" style="color: rgb(33,33,33);" %)/segments/~{~{segment id}}
13853 -{{/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 +)))
13854 13854  
13855 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
13856 -
13857 -----
13858 -
13859 -(% 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}}
13860 -
13861 -==== Example ====
13862 -
13863 -----
13864 -
13865 -(% style="color: rgb(107,107,107);" %)Request
13866 -
13867 -{{code language="php" theme="RDark" title="Get specific Segment Request"}}
13868 - <?php
13869 -
13870 -$curl = curl_init();
13871 -
13872 -curl_setopt_array($curl, array(
13873 - CURLOPT_URL => 'https://api.onecount.net/v2/segments/{{segment id}}',
13874 - CURLOPT_RETURNTRANSFER => true,
13875 - CURLOPT_ENCODING => '',
13876 - CURLOPT_MAXREDIRS => 10,
13877 - CURLOPT_TIMEOUT => 0,
13878 - CURLOPT_FOLLOWLOCATION => true,
13879 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
13880 - CURLOPT_CUSTOMREQUEST => 'GET',
13881 - CURLOPT_HTTPHEADER => array(
13882 - 'Appkey: {{ONECOUNT API KEY}}'
13883 - ),
13884 -));
13885 -
13886 -$response = curl_exec($curl);
13887 -
13888 -curl_close($curl);
13889 -echo $response;
13890 -{{/code}}
13891 -
13892 13892  \\
13893 13893  
13894 -(% style="color: rgb(107,107,107);" %)Response  200 OK
13895 -
13896 -{{code language="yml" theme="RDark" title="Get specific Segments Response" collapse="true"}}
13897 - {
13898 - "result": {
13899 - "success": "1",
13900 - "error": {
13901 - "code": "",
13902 - "message": ""
13903 - }
13904 - },
13905 - "Segments": {
13906 - "Id": "e5e53cd4-bbd0-465b-b426-e267964fd0b4",
13907 - "Demos": {
13908 - "_empty_": [],
13909 - "type": ""
13910 - },
13911 - "Description": "",
13912 - "Action": {
13913 - "action": {}
13914 - },
13915 - "Name": "Test behaviour banner segment",
13916 - "Behaviours": [
13917 - {
13918 - "end_date": "05/26/2022",
13919 - "date_type": "Future",
13920 - "sub_category_values": [],
13921 - "sub_category": "clicked",
13922 - "category": "1",
13923 - "targets": [
13924 - "all"
13925 - ],
13926 - "joining_logic": "AND",
13927 - "frequency": "1",
13928 - "start_date": "04/26/2022",
13929 - "day_count": "100"
13930 - }
13931 - ],
13932 - "Accounts": []
13933 - }
13934 -}
13935 -{{/code}}
13936 -
13937 13937  \\
13938 13938  
13939 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
13940 -== (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33, 33, 33); color: rgb(173, 122, 3)" %)POST(% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %) Add users to segments(%%) ==
3471 +(% class="western" %)
3472 +**COMPONENT: Leads
3473 +**
13941 13941  
13942 -----
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.
13943 13943  
13944 -{{panel bgColor="#D3D3D3" width="100%"}}
13945 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/segments/addUsers
13946 -{{/panel}}
13947 -
13948 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
13949 -
13950 -----
13951 -
13952 -(% 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}}
13953 -
13954 -=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
13955 -
13956 -----
13957 -
13958 -{{code language="yml" theme="RDark" title="Body"}}
13959 -{"Id":"78ffd6d7-0b40-4e5a-8f32-622a04fb5561","Users":[164499,676172,2134321]}
13960 -{{/code}}
13961 -
13962 -==== Example ====
13963 -
13964 -----
13965 -
13966 -(% style="color: rgb(107,107,107);" %)Request
13967 -
13968 -{{code language="php" theme="RDark" title="Add users to Segment Request"}}
13969 -<?php
13970 -
13971 -$curl = curl_init();
13972 -
13973 -curl_setopt_array($curl, array(
13974 - CURLOPT_URL => 'https://api.onecount.net/v2/segments/addUsers',
13975 - CURLOPT_RETURNTRANSFER => true,
13976 - CURLOPT_ENCODING => '',
13977 - CURLOPT_MAXREDIRS => 10,
13978 - CURLOPT_TIMEOUT => 0,
13979 - CURLOPT_FOLLOWLOCATION => true,
13980 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
13981 - CURLOPT_CUSTOMREQUEST => 'POST',
13982 - CURLOPT_POSTFIELDS =>'{"Id":"78ffd6d7-0b40-4e5a-8f32-622a04fb5561","Users":[164499,676172,2134321]}',
13983 - CURLOPT_HTTPHEADER => array(
13984 - 'Appkey: {{ONECOUNT API KEY}}',
13985 - 'Content-Type: application/json'
13986 - ),
13987 -));
13988 -
13989 -$response = curl_exec($curl);
13990 -
13991 -curl_close($curl);
13992 -echo $response;
13993 -{{/code}}
13994 -
3478 +(% class="western" %)
13995 13995  \\
13996 13996  
13997 -(% style="color: rgb(107,107,107);" %)Response  200 OK
13998 -
13999 -{{code language="yml" theme="RDark" title="Add users to segment Response" collapse="true"}}
14000 -{
14001 - "result": {
14002 - "success": "1",
14003 - "error": {
14004 - "code": "",
14005 - "message": ""
14006 - }
14007 - },
14008 - "Segments": {
14009 - "Error user ids": [
14010 - 676172,
14011 - 2134321
14012 - ],
14013 - "Inserted user ids": [
14014 - 164499
14015 - ]
14016 - }
14017 -}
14018 -{{/code}}
14019 -
3481 +(% class="western" %)
14020 14020  \\
14021 14021  
14022 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
14023 -== (% 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 segments for a User(%%) ==
14024 -
14025 -----
14026 -
14027 -{{panel bgColor="#D3D3D3" width="100%"}}
14028 - (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/segments/users/(% class="nolink resolvedVariable" style="text-decoration: none;" %)~{~{ocid}}
14029 -{{/panel}}
14030 -
14031 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
14032 -
14033 -----
14034 -
14035 -(% 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}}
14036 -
14037 -==== Example ====
14038 -
14039 -----
14040 -
14041 -(% style="color: rgb(107,107,107);" %)Request
14042 -
14043 -{{code language="php" theme="RDark" title="Get all segments for a user Request"}}
14044 -<?php
14045 -
14046 -$curl = curl_init();
14047 -
14048 -curl_setopt_array($curl, array(
14049 - CURLOPT_URL => 'rayaan.onecount.net/api/v2/segments/users/••••••',
14050 - CURLOPT_RETURNTRANSFER => true,
14051 - CURLOPT_ENCODING => '',
14052 - CURLOPT_MAXREDIRS => 10,
14053 - CURLOPT_TIMEOUT => 0,
14054 - CURLOPT_FOLLOWLOCATION => true,
14055 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
14056 - CURLOPT_CUSTOMREQUEST => 'GET',
14057 - CURLOPT_HTTPHEADER => array(
14058 - 'Appkey: {{ONECOUNT API KEY}}'
14059 - ),
14060 -));
14061 -
14062 -$response = curl_exec($curl);
14063 -
14064 -curl_close($curl);
14065 -echo $response;
14066 -{{/code}}
14067 -
3484 +(% class="western" %)
14068 14068  \\
14069 14069  
14070 -(% style="color: rgb(107,107,107);" %)Response  200 OK
14071 -
14072 -{{code language="yml" theme="RDark" title="Get all Segments for a user Response" collapse="true"}}
14073 -{
14074 - "result": {
14075 - "success": "1",
14076 - "error": {
14077 - "code": "",
14078 - "message": ""
14079 - }
14080 - },
14081 - "Segments": [
14082 - "0d37c79e-deb2-4287-9444-ae4812a9d8f0",
14083 - "1bfb1c06-4b26-4ac3-a616-eb6b225e5f0e",
14084 - "24cf72e9-ad71-489c-89ef-b80d0c42e2e2",
14085 - "28361c73-e253-49bb-a791-5481be2070a0",
14086 - "28774f7c-9fd3-4dff-a42e-683460f437c0",
14087 - "5eaa0345-a825-4ba0-a787-336312a77744",
14088 - "71b655e6-a11a-46af-bed5-b9eb1d6ac3aa",
14089 - "a639cb1f-6509-447b-a1d7-93a8e8ef61b1",
14090 - "bcb403a2-c0a1-414f-90c1-277a41009c97",
14091 - "c905d313-8d5e-45c1-aaab-7f8c8adc2bea",
14092 - "d883ecdb-5307-416d-9558-c196472021c9",
14093 - "d8d1bc9d-ede2-4c82-a747-10ab9fb979de"
14094 - ]
14095 -}
14096 -{{/code}}
14097 -
3487 +(% class="western" %)
14098 14098  \\
14099 14099  
14100 14100  (% class="western" %)
14101 -=== **COMPONENT: Leads
14102 -** ===
3491 +\\
14103 14103  
14104 14104  (% class="western" %)
14105 -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.
14106 -
14107 -(% class="western" %)
14108 14108  **Telemarketing Leads
14109 14109  **
14110 14110  
... ... @@ -14112,7 +14112,6 @@
14112 14112  
14113 14113  This resource is for manipulating telemarketing stat resource. A telemarketing stat can be created or listed.
14114 14114  
14115 -(% class="wrapped" %)
14116 14116  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
14117 14117  (((
14118 14118  (% class="western" %)
... ... @@ -14171,7 +14171,6 @@
14171 14171  (% class="western" %)
14172 14172  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.
14173 14173  
14174 -(% class="wrapped" %)
14175 14175  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
14176 14176  (((
14177 14177  (% class="western" %)
... ... @@ -14226,7 +14226,7 @@
14226 14226  "ResourceId":"250",
14227 14227  
14228 14228  (% class="western" %)
14229 -"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"]]",
14230 14230  
14231 14231  (% class="western" %)
14232 14232  "PageTitle":"tests"
... ... @@ -14254,7 +14254,6 @@
14254 14254  \\
14255 14255  )))
14256 14256  
14257 -(% class="wrapped" %)
14258 14258  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
14259 14259  (((
14260 14260  (% class="western" %)
... ... @@ -14284,6 +14284,14 @@
14284 14284  
14285 14285  \\
14286 14286  
3670 +\\
3671 +
3672 +\\
3673 +
3674 +\\
3675 +
3676 +\\
3677 +
14287 14287  (% class="western" %)
14288 14288  **API REFERENCE**
14289 14289  
... ... @@ -14290,7 +14290,6 @@
14290 14290  (% class="western" %)
14291 14291  **Type: Questions**
14292 14292  
14293 -(% class="wrapped" %)
14294 14294  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
14295 14295  (((
14296 14296  (% class="western" %)
... ... @@ -14386,7 +14386,6 @@
14386 14386  (% class="western" %)
14387 14387  **Type: Choices**
14388 14388  
14389 -(% class="wrapped" %)
14390 14390  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
14391 14391  (((
14392 14392  (% class="western" %)
... ... @@ -14471,7 +14471,6 @@
14471 14471  (% class="western" %)
14472 14472  **Type: Users**
14473 14473  
14474 -(% class="wrapped" %)
14475 14475  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
14476 14476  (((
14477 14477  (% class="western" %)
... ... @@ -14543,7 +14543,6 @@
14543 14543  (% class="western" %)
14544 14544  **Type: Demo**
14545 14545  
14546 -(% class="wrapped" %)
14547 14547  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
14548 14548  (((
14549 14549  (% class="western" %)
... ... @@ -14602,7 +14602,6 @@
14602 14602  (% class="western" %)
14603 14603  **Type: Transactions**
14604 14604  
14605 -(% class="wrapped" %)
14606 14606  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
14607 14607  (((
14608 14608  (% class="western" %)
... ... @@ -14791,7 +14791,6 @@
14791 14791  (% class="western" %)
14792 14792  **Type: Sources**
14793 14793  
14794 -(% class="wrapped" %)
14795 14795  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
14796 14796  (((
14797 14797  (% class="western" %)
... ... @@ -14864,7 +14864,6 @@
14864 14864  (% class="western" %)
14865 14865  **Type: Products**
14866 14866  
14867 -(% class="wrapped" %)
14868 14868  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
14869 14869  (((
14870 14870  (% class="western" %)
... ... @@ -14936,7 +14936,6 @@
14936 14936  (% class="western" %)
14937 14937  **Type: Terms**
14938 14938  
14939 -(% class="wrapped" %)
14940 14940  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
14941 14941  (((
14942 14942  (% class="western" %)
... ... @@ -15047,7 +15047,6 @@
15047 15047  (% class="western" %)
15048 15048  **Type: Resources**
15049 15049  
15050 -(% class="wrapped" %)
15051 15051  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
15052 15052  (((
15053 15053  (% class="western" %)
... ... @@ -15192,7 +15192,6 @@
15192 15192  (% class="western" %)
15193 15193  **Type: Telemarketing**
15194 15194  
15195 -(% class="wrapped" %)
15196 15196  (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
15197 15197  (((
15198 15198  (% class="western" %)
Screen Shot 2020-02-26 at 11.14.29 AM.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -397.9 KB
Content
Screen Shot 2020-02-26 at 11.15.52 AM.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -50.1 KB
Content
Screen Shot 2020-02-26 at 11.22.13 AM.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -159.8 KB
Content
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,1 @@
1 -108265477
1 +108265479
url
... ... @@ -1,1 +1,1 @@
1 -https://info.onecount.net//wiki/spaces/OD/pages/108265477/ONEcount API Documentation
1 +https://info.onecount.net//wiki/spaces/OD/pages/108265479/ONEcount API Documentation