Wiki source code of ONEcount API Documentation

Version 3.1 by rayaan@one-count_com on 2023/12/12 06:21

Show last authors
1 (% class="western" %)
2 **Introduction**
3
4 (% class="western" %)
5 ONEcount REST API is designed to allow you to directly manipulate the underlying data within the ONEcount application. This API can be used to lookup, create and update different ONEcount data components which are listed below.
6
7 (% class="western" %)
8 REST takes advantage of the HTTP request methods to layer itself into the existing HTTP architecture. These operations consist of the following:
9
10 (% class="western" %)
11 **GET** - Used for lookup of resources
12
13 1. (((
14 (% class="western" %)
15 **PUT** - Used to update a resource
16 )))
17 1. (((
18 (% class="western" %)
19 **POST** - Used to create a new resource
20 )))
21
22 (% class="western" %)
23 Specifically, the ONEcount API provides to the following components:
24
25 1. User data
26 11. List users
27 11. Lookup users
28 11. Create users
29 11. Update users
30 1. Questions
31 11. Lookup questions
32 11. List questions
33 11. Create questions
34 1. Product data
35 11. Lookup products
36 11. Create products
37 11. Update products
38 1. Term Data
39 11. Lookup terms
40 11. Create terms
41 11. Update terms
42 1. Resource Data
43 11. Lookup resources
44 11. Create resources
45 11. Update resources
46 1. Transaction data
47 11. Lookup transactions
48 11. Create transactions
49 1. Source Codes
50 11. Lookup source code
51 11. Create source codes
52 11. Update source codes
53 1. Attach a resource to a product
54 1. Leads
55 11. Create a lead
56 1. Engagements\\
57 11. Get all Engagements
58 11. Get specific engagement by engagement id
59 11. Create Engagements
60 11. Update Engagements
61 11. Add users data to Engagement
62
63 \\
64
65 (% class="western" %)
66 **Accessing API**
67
68 (% class="western" %)
69 **REST API URL: [[https:~~/~~/api.onecount.net/v2/>>url:https://api.onecount.net/v2/||rel="nofollow" shape="rect" class="external-link"]]**
70
71 (% class="western" %)
72 **Appkey**: THIS WILL BE PROVIDED TO YOU
73
74 (% class="western" %)
75 \\
76
77 (% class="western" %)
78 Your HTTP requests to a REST API resource should contain the following information:
79
80 * (((
81 (% class="western" %)
82 An HTTP method GET, POST, PUT.
83 )))
84 * (((
85 (% class="western" %)
86 An Appkey sent as Appkey header in the http request to authenticate the request.
87 )))
88 * (((
89 (% class="western" %)
90 Resource name in the url (/resourcename)
91 )))
92 * (((
93 (% class="western" %)
94 Any JSON data or JSON files containing information needed for requests, such as updating a record with new information.
95 )))
96
97 (% class="western" %)
98 \\
99
100 (% class="western" %)
101 **General API Usage**
102
103 (% class="western" %)
104 The request data in POST (for create and update) will consist of request parameters required by each method in JSON format. Value of resource will determine which resource is being requested and the access method will determine whether you are trying to create, update or lookup that resource.
105
106 (% class="western" %)
107 For lookup, the parameter list will be part of the request url.
108
109 (% class="western" %)
110 \\
111
112 (% class="western" %)
113 **Response**
114
115 (% class="western" %)
116 API will output the response in a JSON format discussed below.
117
118 {{code language="yml" theme="RDark" title="Response" collapse="true"}}
119 {
120 "result": {
121 "success": "1",
122 "error": {
123 "code": "0",
124 "message": ""
125 }
126 },
127 "Users": {
128 "Id": "12562",
129 "PartnerId": "5467",
130 "Demo": {
131 "6": "Rayaan",
132 "7": "Ahmed"
133 }
134 }
135 }
136 {{/code}}
137
138 (% class="western" %)
139 \\
140
141 (% class="western" %)
142 The result of the api request will be determined by the value of the success property of result object. Here the value of success will either be 1 (true) or 0 (false) depending on whether the requested action succeed.
143
144 \\
145
146 (% class="western" %)
147 If value of success is 0 then an error will be generated inside the result object. Code property will have an error code. message property will have the details about the error. This value might be used to display the error in the client application. The response will always have a result object in it plus the individual response listed for each method.
148
149 If the value of success is 1 then the response parameters of the called method will also be output.
150
151 (% class="western" %)
152 For (% class="StyledLeaf___StyledSpan-sc-129cvv1-0 hSAwv slate-bold" %)**GET **requests we can pass** limit **as parameter in URL.
153
154 === **COMPONENT: Users** ===
155
156 (% class="western" %)
157 Users means the customers of your system. Users can be added, updated and searched for using the users resource from the api. For lookup, If a return parameter is specified Users object will have those fields. If nothing is specified by default only UserId is returned.
158
159 (% class="western" %)
160 Additionally (Array of) transaction object specifying parts of the transaction to be added to the new user can be specified. UserId, TransactionId and SubscriptionType will be ignored if specified for this case. As this is new user and new transaction is being added.
161
162 (% class="western" %)
163 In this case the provided demographic information in users object will be used to create a new user in ONEcount and then a response will be generated. Before creating a new user, a check for duplicate will be performed based on Dedupe columns and if found, and error code will be generated.
164
165 (% class="western" %)
166 If username and password is not one of the parameters being passed, then a random username and password will be generated for the user while creating his user account in ONEcount.
167
168 (% class="western" %)
169 Return parameter will have the comma separated list of question Ids that is requested back from the API.
170
171 (% class="western" %)
172 Return is an optional parameter in request. If return is not requested then by default, only UserId (which is ONEcount ID) will be returned in the Users object.
173
174 \\
175
176 (% class="wrapped" %)
177 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
178 (((
179 (% class="western" %)
180 **Method**
181 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
182 (((
183 (% class="western" %)
184 **Url**
185 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
186 (((
187 (% class="western" %)
188 **Action**
189 )))
190 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
191 (((
192 (% class="western" %)
193 GET
194 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
195 (((
196 (% class="western" %)
197 /users
198 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
199 (((
200 (% class="western" %)
201 Get users data limiting 25.
202 )))
203 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
204 (((
205 (% class="western" %)
206 GET
207 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
208 (((
209 (% class="western" %)
210 /users/<ocid or ocid_hash>
211 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
212 (((
213 (% class="western" %)
214 Get data for user id 1. The user id can be a numeric value or a hash
215 )))
216 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
217 (((
218 (% class="western" %)
219 GET
220 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
221 (((
222 (% class="western" %)
223 /users/lookup?1=user1@email.com&return=1,2
224 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
225 (((
226 (% class="western" %)
227 Lookup for user whose question id (1) is equal to supplied value. The users object returned will have value of questions 1 & 2. Here for example assumed to be firstname and last name.
228
229 (% class="western" %)
230 Return parameter defines a csv of question id that are requested back in response.
231 )))
232 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
233 (((
234 (% class="western" %)
235 POST
236 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
237 (((
238 (% class="western" %)
239 /users
240 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
241 (((
242 (% class="western" %)
243 Create a new users
244
245 (% class="western" %)
246 Parameters required to create the user needs to be sent as post data in JSON format.
247 )))
248 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
249 (((
250 (% class="western" %)
251 PUT
252 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
253 (((
254 (% class="western" %)
255 /users/1
256 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
257 (((
258 (% class="western" %)
259 Update user id 1. The user id can be a numeric value or a hash
260
261 (% class="western" %)
262 Parameters required to update the user needs to be sent as post data in JSON format.
263 )))
264 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
265 (((
266 (% class="western" %)
267 GET
268 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
269 (((
270 (% class="western" %)
271 /users/1/partners/2
272 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
273 (((
274 (% class="western" %)
275 Get user id 1 and partner id 2's ONEcount hash. The user id can be a numeric value or a hash.
276 )))
277 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
278 (((
279 (% class="western" %)
280 POST
281 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
282 (((
283 (% class="western" %)
284 /users/login
285 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
286 (((
287 (% class="western" %)
288 Check to see user exist with username/email and password.
289
290 (% class="western" %)
291 Parameters required to create JSON object with **u** as username, **e** as email and **p** as password and sent is as POST param.
292
293 (% class="western" %)
294 Example:
295
296 (% class="western" %)
297 {"u":"abc@one-count.com","e":"abc@one-count.com","p":"1234"}
298
299 (% class="western" %)
300 OR
301
302 (% class="western" %)
303 {"u":"abc@one-count.com","p":"1234"}
304
305 (% class="western" %)
306 OR
307
308 (% class="western" %)
309 {"e":"abc@one-count.com","p":"1234"}
310
311 (% class="western" %)
312 **OUTPUT** : Should get OCID of the user if it finds it otherwise get and error with msg user not found.
313 )))
314
315 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
316 == (% 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 Users(%%) ==
317
318 ----
319
320 ----
321
322 {{panel bgColor="#D3D3D3" width="100%"}}
323 (% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users
324 {{/panel}}
325
326 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
327
328 ----
329
330 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
331
332 ==== Example ====
333
334 ----
335
336 (% style="color: rgb(107,107,107);" %)Request
337
338 {{code language="php" theme="RDark" title="Get All Users Request" collapse="true"}}
339 <?php
340
341 $curl = curl_init();
342
343 curl_setopt_array($curl, array(
344 CURLOPT_URL => 'rayaan.onecount.net/api/v2/users',
345 CURLOPT_RETURNTRANSFER => true,
346 CURLOPT_ENCODING => '',
347 CURLOPT_MAXREDIRS => 10,
348 CURLOPT_TIMEOUT => 0,
349 CURLOPT_FOLLOWLOCATION => true,
350 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
351 CURLOPT_CUSTOMREQUEST => 'GET',
352 CURLOPT_HTTPHEADER => array(
353 'Appkey: {{ONECOUNT API KEY}}'
354 ),
355 ));
356
357 $response = curl_exec($curl);
358
359 curl_close($curl);
360 echo $response;
361
362
363 {{/code}}
364
365 \\
366
367 (% style="color: rgb(107,107,107);" %)Response  200 OK
368
369 {{code language="yml" theme="RDark" title="Get All Users Response" collapse="true"}}
370 {
371 "result": {
372 "success": "1",
373 "error": {
374 "code": "",
375 "message": ""
376 }
377 },
378 "Users": [
379 {
380 "Id": 10,
381 "OCID_HASH": "309d0ba643ac9cf164fa7089db622444fb82bf031c79ebb97c8566d0b91a224c",
382 "Demo": {
383 "1": "ORISH+IMNG12373@gcnmedia.com",
384 "2": "user_26_2",
385 "3": "pass_262",
386 "4": "orish123"
387 }
388 },
389 {
390 "Id": 26,
391 "OCID_HASH": "362b0815ab579017802c0539fa30d45c46f2e357025756e3a998225aa2c3f123",
392 "Demo": {
393 "1": "ORISH+IMNG12374@gcnmedia.com",
394 "2": "user_82_2",
395 "3": "pass_822",
396 "4": "orish111"
397 }
398 },
399 {
400 "Id": 34,
401 "OCID_HASH": "508ae86cfa9185a59a855b6f0aaf1ef52e1895c7a7bd1ee01d1f7be82ea233d2",
402 "Demo": {
403 "1": "",
404 "2": "user_1405614567717",
405 "3": "",
406 "4": "sonish",
407 "5": "shrestha",
408 "6": "Test",
409 "7": "GCN",
410 "8": "Sterling",
411 "9": "Norwalk",
412 "10": "",
413 "11": "",
414 "12": "",
415 "13": "Nepa",
416 "14": "",
417 "15": ""
418 }
419 },
420 {
421 "Id": 42,
422 "OCID_HASH": "3fd11fb98076330290d14edd70265c273eaf5ad72e498fc9ac4f2b580a2f36cc",
423 "Demo": {
424 "1": "orish@gcnpublishing.com",
425 "2": "user_106_42",
426 "3": "f5a622347842b9384cae63bb998f2aa19aea2ebc43fa2f00800e9accd85a8dd1",
427 "4": "Orish",
428 "5": "Shrestha",
429 "6": "Director of Engineering",
430 "7": "ONEcount",
431 "8": "194 Main Street",
432 "9": "Suite 2NW",
433 "10": "Norwalk",
434 "11": "CT",
435 "12": "06851",
436 "13": "",
437 "15": "",
438 "106": "",
439 "114": "",
440 "130": "",
441 "138": "",
442 "146": "",
443 "234": "",
444 "242": "",
445 "250": ""
446 }
447 },
448 {
449 "Id": 50,
450 "OCID_HASH": "88d721f543c79f8ea718d9020897c9036d1d303099a649585f6d4c37e354c5d3",
451 "Demo": {
452 "1": "sundeep@gcnpublishing.com",
453 "2": "",
454 "3": "",
455 "4": "Sundeep",
456 "5": "Dangol",
457 "6": "Director of Integrations",
458 "7": "ONEcount",
459 "8": "194 Main Street",
460 "9": "Suite 2NW",
461 "10": "Norwalk",
462 "11": "CT",
463 "12": "06851",
464 "13": "",
465 "15": "",
466 "106": "",
467 "114": "",
468 "130": "",
469 "138": "",
470 "146": "",
471 "234": "",
472 "242": ""
473 }
474 },
475 {
476 "Id": 58,
477 "OCID_HASH": "c45f5d1d27364ee19973148d6c02999cbfbc8b2ca80f7655dd6a873b864eb211",
478 "Demo": {
479 "1": "sean@gcnpublishing.com",
480 "2": "user_106_34",
481 "3": "pass_10634",
482 "4": "Sean",
483 "5": "Fulton",
484 "6": "Vice President",
485 "7": "ONEcount",
486 "8": "194 Main Street",
487 "9": "Suite 2NW",
488 "10": "Norwalk",
489 "11": "CT",
490 "12": "06851",
491 "13": "UNITED STATES"
492 }
493 },
494 {
495 "Id": 66,
496 "OCID_HASH": "f037520f7af46301532a95b39d8fd8e607988afe3c7b67f086740e6676775bee",
497 "Demo": {
498 "1": "joanne@gcnpublishing.com",
499 "2": "user_106_2",
500 "3": "c55b18c5a4e475034ccc8cd14e132e1fd7e2aadcd8dcc625996ba51d145f160e",
501 "4": "Joanne",
502 "5": "Persico",
503 "6": "President",
504 "7": "ONEcount",
505 "8": "194 Main Street",
506 "9": "Suite 2NW",
507 "10": "Norwalk",
508 "11": "CT",
509 "12": "06851",
510 "13": "UNITED STATES",
511 "234": "",
512 "242": "",
513 "250": ""
514 }
515 },
516 {
517 "Id": 74,
518 "OCID_HASH": "abb8adfb275030ad96808967edea5003e3ed9da5965b6d8f4537597dff17af4f",
519 "Demo": {
520 "1": "melanie@gcnpublishing.com",
521 "2": "user_106_18",
522 "3": "pass_10618",
523 "4": "Melanie",
524 "5": "Mason",
525 "6": "Director of Customer Experience",
526 "7": "ONEcount",
527 "8": "194 Main Street",
528 "9": "Suite 2NW",
529 "10": "Norwalk",
530 "11": "CT",
531 "12": "06851",
532 "13": "UNITED STATES",
533 "14": "",
534 "15": "",
535 "106": "",
536 "114": "",
537 "130": "",
538 "138": "",
539 "146": "",
540 "154": "",
541 "162": "",
542 "170": "",
543 "178": "",
544 "186": "",
545 "202": "",
546 "218": "",
547 "226": "",
548 "234": "",
549 "242": "",
550 "250": ""
551 }
552 },
553 {
554 "Id": 82,
555 "OCID_HASH": "6b2635a195d46e9df53ec6069d198fa0fe26d26111c0b71b9bc39652935f6034",
556 "Demo": {
557 "1": "doug@gcnpublishing.com",
558 "2": "user_106_58",
559 "3": "pass_10658",
560 "4": "Doug",
561 "5": "LaFarge",
562 "7": "ONEcount",
563 "8": "194 Main Street",
564 "9": "Suite 2NW",
565 "10": "Norwalk",
566 "11": "CT",
567 "12": "06851",
568 "13": "UNITED STATES"
569 }
570 },
571 {
572 "Id": 90,
573 "OCID_HASH": "869434d36ef71f8244c5eacaac35cb87d9ee16f3c8bbeddaddb87869588deb52",
574 "Demo": {
575 "1": "subash@gcnpublishing.com",
576 "2": "user_106_50",
577 "3": "pass_10650",
578 "4": "Subash",
579 "5": "Tamang",
580 "7": "ONEcount",
581 "8": "194 Main Street",
582 "9": "Suite 2NW",
583 "10": "Norwalk",
584 "11": "CT",
585 "12": "06851",
586 "13": "UNITED STATES"
587 }
588 },
589 {
590 "Id": 98,
591 "OCID_HASH": "f46e4d07d8c2aede8e3f0b4d30cf984f9ce507147b75cff17315642d456d7cca",
592 "Demo": {
593 "1": "sonish@gcnpublishing.com",
594 "2": "user_106_10",
595 "3": "pass_10610",
596 "4": "Sonishs",
597 "5": "Shrestha",
598 "8": "334 Street",
599 "10": "Ashburn",
600 "11": "VA",
601 "12": "11118",
602 "13": "United States"
603 }
604 },
605 {
606 "Id": 162,
607 "OCID_HASH": "86616a428abeabe722079cb29ffd3b76341aa7895b2bd3579dfd89e01a737f0c",
608 "Demo": {
609 "1": "orish+1@gcnpublishing.com",
610 "2": "user_130_42",
611 "3": "pass_13042",
612 "4": "OrishGCN",
613 "5": "Shrestha",
614 "8": "123 street",
615 "10": "New Rochelle",
616 "11": "NY",
617 "12": "11111",
618 "13": "United States"
619 }
620 },
621 {
622 "Id": 170,
623 "OCID_HASH": "3fb40dbcd3c0ca47fd3a80f5a34290c68a2e7ff79d4d8f28b388677bea2df2ac",
624 "Demo": {
625 "1": "sundeep+1@gcnpublishing.com",
626 "2": "user_130_26",
627 "3": "pass_13026",
628 "4": "SundeepGCN",
629 "5": "Dangol",
630 "8": "456 Street",
631 "10": "Bridgeport",
632 "11": "CT",
633 "12": "11112",
634 "13": "United States"
635 }
636 },
637 {
638 "Id": 178,
639 "OCID_HASH": "ca72068a59896a3cec1faf52a4701d13b539039467cbe9d5d9b60b54e263040f",
640 "Demo": {
641 "1": "sean+1@gcnpublishing.com",
642 "2": "user_130_34",
643 "3": "pass_13034",
644 "4": "SeanGCN",
645 "5": "Fulton",
646 "8": "222 Street",
647 "10": "Norwalk",
648 "11": "CT",
649 "12": "11113",
650 "13": "United States"
651 }
652 },
653 {
654 "Id": 186,
655 "OCID_HASH": "4b643f02f3d30d0b6ae465b4d758a721574e798712c3d42bd5458a1fd5634243",
656 "Demo": {
657 "1": "joanne+1@gcnpublishing.com",
658 "2": "user_130_2",
659 "3": "pass_1302",
660 "4": "JoanneGCN",
661 "5": "Persico",
662 "8": "222 Street",
663 "10": "Norwalk",
664 "11": "CT",
665 "12": "11114",
666 "13": "United States"
667 }
668 },
669 {
670 "Id": 194,
671 "OCID_HASH": "d3200217585d2d954e0b55ee9ff1c939f265067420ff82c6e924dcdd71ccc960",
672 "Demo": {
673 "1": "melanie+1@gcnpublishing.com",
674 "2": "user_130_18",
675 "3": "pass_13018",
676 "4": "MelanieGCN",
677 "5": "Mason",
678 "6": "",
679 "7": "",
680 "8": "345 Street",
681 "9": "",
682 "10": "Norwalk",
683 "11": "CT",
684 "12": "11115",
685 "13": "United States",
686 "14": "",
687 "15": "",
688 "106": "",
689 "114": "",
690 "130": "",
691 "138": "",
692 "146": "",
693 "154": "",
694 "162": "",
695 "170": "",
696 "178": "",
697 "186": "",
698 "202": "",
699 "218": "",
700 "226": "",
701 "234": "",
702 "242": "",
703 "250": "",
704 "266": "01"
705 }
706 },
707 {
708 "Id": 202,
709 "OCID_HASH": "a7c7d5016322340c4394538d68f601a0720e70850091387114963aba0f1bae09",
710 "Demo": {
711 "1": "doug+1@gcnpublishing.com",
712 "2": "user_130_58",
713 "3": "pass_13058",
714 "4": "DougGCN",
715 "5": "La Farge",
716 "8": "849 Street",
717 "10": "Tuson",
718 "11": "AZ",
719 "12": "11116",
720 "13": "United States"
721 }
722 },
723 {
724 "Id": 210,
725 "OCID_HASH": "f0f0d59478e9a4aa9b0fad6ae5bfc4292a169f899135e8c4d16cada9e9dc267d",
726 "Demo": {
727 "1": "subash+1@gcnpublishing.com",
728 "2": "user_130_50",
729 "3": "pass_13050",
730 "4": "SubashGCN",
731 "5": "Tamang",
732 "8": "112 Street",
733 "10": "Herndon",
734 "11": "VA",
735 "12": "11117",
736 "13": "United States"
737 }
738 },
739 {
740 "Id": 218,
741 "OCID_HASH": "4939a3be6dfd79c715a1144d82815f2abe8e413d04e4311284a05610589ad87b",
742 "Demo": {
743 "1": "sonish+1@gcnpublishing.com",
744 "2": "user_130_10",
745 "3": "pass_13010",
746 "4": "SonishGCN",
747 "5": "Shrestha",
748 "8": "334 Street",
749 "10": "Reston",
750 "11": "VA",
751 "12": "11118",
752 "13": "United States"
753 }
754 },
755 {
756 "Id": 282,
757 "OCID_HASH": "44421a4b109b0f5eb412b29e0037df61aae9ea95003d73f0175e5d6db8c0f928",
758 "Demo": {
759 "1": "orish+11@gcnpublishing.com",
760 "2": "user_138_42",
761 "3": "pass_13842",
762 "4": "OrishGCN",
763 "5": "Shrestha",
764 "8": "123 street",
765 "10": "New Rochelle",
766 "11": "NY",
767 "12": "11111",
768 "13": "United States"
769 }
770 },
771 {
772 "Id": 290,
773 "OCID_HASH": "971c357d4808224595f83a30bba9f05d1118bd7fd4f1d51160cad57dfd6b2137",
774 "Demo": {
775 "1": "sundeep+11@gcnpublishing.com",
776 "2": "user_138_26",
777 "3": "pass_13826",
778 "4": "SundeepGCN",
779 "5": "Dangol",
780 "8": "456 Street",
781 "10": "Bridgeport",
782 "11": "CT",
783 "12": "11112",
784 "13": "United States"
785 }
786 },
787 {
788 "Id": 298,
789 "OCID_HASH": "4fa0426afe48ee79602e9c47dda1987797b1983ecaa5975a09885ac4480f5033",
790 "Demo": {
791 "1": "sean+11@gcnpublishing.com",
792 "2": "user_138_34",
793 "3": "pass_13834",
794 "4": "SeanGCN",
795 "5": "Fulton",
796 "8": "222 Street",
797 "10": "Norwalk",
798 "11": "CT",
799 "12": "11113",
800 "13": "United States"
801 }
802 },
803 {
804 "Id": 306,
805 "OCID_HASH": "67037db60fea235ebcb48fae4eeef08a4b33c2f8860944925b615e602ba7a6e1",
806 "Demo": {
807 "1": "joanne+11@gcnpublishing.com",
808 "2": "user_138_2",
809 "3": "pass_1382",
810 "4": "JoanneGCN",
811 "5": "Persico",
812 "8": "222 Street",
813 "10": "Norwalk",
814 "11": "CT",
815 "12": "11114",
816 "13": "United States"
817 }
818 },
819 {
820 "Id": 314,
821 "OCID_HASH": "6421cab33907111f038ead8fc0aeafed785642e9b92cda544b2048f90ada259f",
822 "Demo": {
823 "1": "melanie+11@gcnpublishing.com",
824 "2": "user_138_18",
825 "3": "pass_13818",
826 "4": "MelanieGCN",
827 "5": "Mason",
828 "8": "345 Street",
829 "10": "Norwalk",
830 "11": "CT",
831 "12": "11115",
832 "13": "United States"
833 }
834 },
835 {
836 "Id": 322,
837 "OCID_HASH": "334b6f64d387b9a45b8ac7e0901d438cace133899b608c03a0f8c1f706882958",
838 "Demo": {
839 "1": "doug+11@gcnpublishing.com",
840 "2": "user_138_58",
841 "3": "pass_13858",
842 "4": "DougGCN",
843 "5": "La Farge",
844 "8": "849 Street",
845 "10": "Tuson",
846 "11": "AZ",
847 "12": "11116",
848 "13": "United States"
849 }
850 }
851 ]
852 }
853 {{/code}}
854
855 \\
856
857 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
858 == (% 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 User(%%) ==
859
860 ----
861
862 {{panel bgColor="#D3D3D3" width="100%"}}
863 (% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users/(% style="color: rgb(33,33,33);" %)~{~{OCID}}
864 {{/panel}}
865
866 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
867
868 ----
869
870 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
871
872 ==== Example ====
873
874 ----
875
876 (% style="color: rgb(107,107,107);" %)Request
877
878 {{code language="php" theme="RDark" title="Get specific User Request" collapse="true"}}
879 <?php
880
881 $curl = curl_init();
882
883 curl_setopt_array($curl, array(
884 CURLOPT_URL => 'rayaan.onecount.net/api/v2/users/8418',
885 CURLOPT_RETURNTRANSFER => true,
886 CURLOPT_ENCODING => '',
887 CURLOPT_MAXREDIRS => 10,
888 CURLOPT_TIMEOUT => 0,
889 CURLOPT_FOLLOWLOCATION => true,
890 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
891 CURLOPT_CUSTOMREQUEST => 'GET',
892 CURLOPT_HTTPHEADER => array(
893 'Appkey: {{ONECOUNT API KEY}}'
894 ),
895 ));
896
897 $response = curl_exec($curl);
898
899 curl_close($curl);
900 echo $response;
901 {{/code}}
902
903 \\
904
905 (% style="color: rgb(107,107,107);" %)Response  200 OK
906
907 {{code language="yml" theme="RDark" title="Get specific user Response" collapse="true"}}
908 {
909 "result": {
910 "success": "1",
911 "error": {
912 "code": "",
913 "message": ""
914 }
915 },
916 "Users": [
917 {
918 "Id": 8418,
919 "PartnerId": null,
920 "OCID_HASH": "7eedae58c56e97e79a9d42e85e7ef6e252563e60e92bd6d9ac7b7be748ffa823",
921 "Demo": {
922 "1": "",
923 "2": "user_242_5634",
924 "3": "pass_2425634",
925 "4": "Stuart",
926 "5": "Allen",
927 "6": "Pub",
928 "7": "Latinfinance",
929 "9": "2121 Ponce de Leon Blvd",
930 "10": "Coral Gables",
931 "11": "Fl",
932 "12": "33134",
933 "13": "",
934 "15": "",
935 "106": "",
936 "114": "",
937 "122": "305-448-6593",
938 "130": "",
939 "138": "",
940 "146": "5434982f-a05b-5f1e-2176-4809012686bb"
941 },
942 "Products": [
943 34
944 ],
945 "Resources": [
946 114,
947 98
948 ],
949 "Segments": []
950 }
951 ]
952 }
953 {{/code}}
954
955 \\
956
957 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
958 == (% 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);" %) User Login(%%) ==
959
960 ----
961
962 {{panel bgColor="#D3D3D3" width="100%"}}
963 (% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users(% class="nolink" style="color: rgb(33,33,33);" %)/login
964 {{/panel}}
965
966 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
967
968 ----
969
970 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
971
972 === (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
973
974 ----
975
976 {{code language="yml" theme="RDark" title="Body" collapse="true"}}
977 {"e":"rayaan@one-count.com","p":"12345"}
978 {{/code}}
979
980 ==== Example ====
981
982 ----
983
984 (% style="color: rgb(107,107,107);" %)Request
985
986 {{code language="php" theme="RDark" title="User login Request" collapse="true"}}
987 <?php
988
989 $curl = curl_init();
990
991 curl_setopt_array($curl, array(
992 CURLOPT_URL => 'rayaan.onecount.net/api/v2/users/login',
993 CURLOPT_RETURNTRANSFER => true,
994 CURLOPT_ENCODING => '',
995 CURLOPT_MAXREDIRS => 10,
996 CURLOPT_TIMEOUT => 0,
997 CURLOPT_FOLLOWLOCATION => true,
998 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
999 CURLOPT_CUSTOMREQUEST => 'POST',
1000 CURLOPT_POSTFIELDS =>'{"e":"rayaan@one-count.com","p":"12345"}',
1001 CURLOPT_HTTPHEADER => array(
1002 'Appkey: {{ONECOUNT API KEY}}'
1003 ),
1004 ));
1005
1006 $response = curl_exec($curl);
1007
1008 curl_close($curl);
1009 echo $response;
1010 {{/code}}
1011
1012 \\
1013
1014 (% style="color: rgb(107,107,107);" %)Response  200 OK
1015
1016 {{code language="yml" theme="RDark" title="Login user Response" collapse="true"}}
1017 {
1018 "result": {
1019 "success": "1",
1020 "error": {
1021 "code": "",
1022 "message": ""
1023 }
1024 },
1025 "Users": [
1026 "1845775"
1027 ]
1028 }
1029 {{/code}}
1030
1031 \\
1032
1033 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
1034 == (% 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 User(%%) ==
1035
1036 ----
1037
1038 {{panel bgColor="#D3D3D3" width="100%"}}
1039 (% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users(% class="nolink" style="color: rgb(33,33,33);" %)/lookup?2=user_242_6298&return=1,2,3,4
1040 {{/panel}}
1041
1042 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
1043
1044 ----
1045
1046 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
1047
1048 === (% style="color: rgb(33,33,33);" %)Query Params(%%) ===
1049
1050 ----
1051
1052 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)2  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)user_242_6298(%%)
1053 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)return  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)1,2,3,4
1054
1055 ==== Example ====
1056
1057 ----
1058
1059 (% style="color: rgb(107,107,107);" %)Request
1060
1061 {{code language="php" theme="RDark" title="Lookup user Request" collapse="true"}}
1062 <?php
1063
1064 $curl = curl_init();
1065
1066 curl_setopt_array($curl, array(
1067 CURLOPT_URL => 'rayaan.onecount.net/api/v2/users/lookup?2=user_242_6298&return=1%2C2%2C3%2C4',
1068 CURLOPT_RETURNTRANSFER => true,
1069 CURLOPT_ENCODING => '',
1070 CURLOPT_MAXREDIRS => 10,
1071 CURLOPT_TIMEOUT => 0,
1072 CURLOPT_FOLLOWLOCATION => true,
1073 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
1074 CURLOPT_CUSTOMREQUEST => 'GET',
1075 CURLOPT_HTTPHEADER => array(
1076 'Appkey: {{ONECOUNT API KEY}}'
1077 ),
1078 ));
1079
1080 $response = curl_exec($curl);
1081
1082 curl_close($curl);
1083 echo $response;
1084 {{/code}}
1085
1086 \\
1087
1088 (% style="color: rgb(107,107,107);" %)Response  200 OK
1089
1090 {{code language="yml" theme="RDark" title="Lookup user Response" collapse="true"}}
1091 {
1092 "result": {
1093 "success": "1",
1094 "error": {
1095 "code": "",
1096 "message": ""
1097 }
1098 },
1099 "Users": [
1100 {
1101 "Id": 9082,
1102 "PartnerId": null,
1103 "OCID_HASH": "c91c697bc764c64a78bb0bbc9a848ace303169fb17da177a06264d4ede2ca659",
1104 "Demo": {
1105 "2": "user_242_6298",
1106 "3": "pass_2426298"
1107 }
1108 }
1109 ]
1110 }
1111 {{/code}}
1112
1113 \\
1114
1115 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
1116 == (% 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);" %)Partners(%%) ==
1117
1118 ----
1119
1120 {{panel bgColor="#D3D3D3" width="100%"}}
1121 (% class="nolink nolink" %)https:~/~/api.onecount.net/v2(% class="nolink" style="color: rgb(33,33,33);" %)/users/~{~{OCID}}/partners/~{~{Partner id}}
1122 {{/panel}}
1123
1124 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
1125
1126 ----
1127
1128 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
1129
1130 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
1131 == (% 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 user(%%) ==
1132
1133 ----
1134
1135 {{panel bgColor="#D3D3D3" width="100%"}}
1136 (% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users
1137 {{/panel}}
1138
1139 \\
1140
1141 (% class="western" %)
1142 **POST method should be used to create users.**
1143
1144 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1145 (((
1146 (% class="western" %)
1147 **Request**
1148 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1149 (((
1150 (% class="western" %)
1151 **Type**
1152 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1153 (((
1154 (% class="western" %)
1155 **Description**
1156 )))
1157 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1158 (((
1159 (% class="western" %)
1160 Users
1161 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1162 (((
1163 (% class="western" %)
1164 Users
1165 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1166 (((
1167 (% class="western" %)
1168 Users object that contains information about user to create. PartnerId Needs to be specified.
1169 )))
1170 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1171 (((
1172 (% class="western" %)
1173 Transactions
1174 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1175 (((
1176 (% class="western" %)
1177 Transactions
1178 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1179 (((
1180 (% class="western" %)
1181 (Array of) transaction object specifying parts of the transaction to be added to the new user. UserId and TransactionId, SubscriptionType will be ignored if specified. As this is new user and new transaction is being added.
1182 )))
1183 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1184 (((
1185 (% class="western" %)
1186 DedupeColumns
1187 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1188 (((
1189 (% class="western" %)
1190 String
1191 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1192 (((
1193 (% class="western" %)
1194 CSV of question id's that should be considered to find duplicate.
1195 )))
1196 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1197 (((
1198 (% class="western" %)
1199 Return
1200 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1201 (((
1202 (% class="western" %)
1203 String
1204 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1205 (((
1206 (% class="western" %)
1207 CSV of ONEcount QuestionId's requested back in Users object in response.
1208 )))
1209
1210 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1211 (((
1212 (% class="western" %)
1213 **Response**
1214 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1215 (((
1216 (% class="western" %)
1217 **Type**
1218 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1219 (((
1220 (% class="western" %)
1221 **Description**
1222 )))
1223 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1224 (((
1225 (% class="western" %)
1226 Users
1227 )))|=(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1228 (((
1229 (% class="western" align="left" %)
1230 Users
1231 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1232 (((
1233 (% class="western" %)
1234 Created users returned with the demo field requested in return parameter in json format. If return was not specified only UserId will be returned.
1235 )))
1236
1237 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
1238
1239 ----
1240
1241 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
1242
1243 === (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
1244
1245 ----
1246
1247 {{code language="yml" theme="RDark" title="Body" collapse="true"}}
1248 {"Users":{"PartnerId":1,"Demo":{"1":"testApirayaan7@onecount.net","4":"Rayaan","5":"Ahmed"}},"DedupeColumns":"1","Transactions":[]}
1249 {{/code}}
1250
1251 ==== Example ====
1252
1253 ----
1254
1255 (% style="color: rgb(107,107,107);" %)Request
1256
1257 {{code language="php" theme="RDark" title="Create User Request" collapse="true"}}
1258 <?php
1259
1260 $curl = curl_init();
1261
1262 curl_setopt_array($curl, array(
1263 CURLOPT_URL => 'rayaan.onecount.net/api/v2/users',
1264 CURLOPT_RETURNTRANSFER => true,
1265 CURLOPT_ENCODING => '',
1266 CURLOPT_MAXREDIRS => 10,
1267 CURLOPT_TIMEOUT => 0,
1268 CURLOPT_FOLLOWLOCATION => true,
1269 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
1270 CURLOPT_CUSTOMREQUEST => 'POST',
1271 CURLOPT_POSTFIELDS =>'{"Users":{"PartnerId":1,"Demo":{"1":"testApirayaan6@onecount.net","4":"Rayaan","5":"Ahmed"}},"DedupeColumns":"1","Transactions":[]}',
1272 CURLOPT_HTTPHEADER => array(
1273 'Appkey: {{ONECOUNT API KEY}}'
1274 ),
1275 ));
1276
1277 $response = curl_exec($curl);
1278
1279 curl_close($curl);
1280 echo $response;
1281 {{/code}}
1282
1283 \\
1284
1285 (% style="color: rgb(107,107,107);" %)Response  200 OK
1286
1287 {{code language="yml" theme="RDark" title="Create user Response" collapse="true"}}
1288 {
1289 "result": {
1290 "success": "1",
1291 "error": {
1292 "code": "",
1293 "message": ""
1294 }
1295 },
1296 "Users": {
1297 "Id": 1845831
1298 }
1299 }
1300 {{/code}}
1301
1302 \\
1303
1304 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
1305 == (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33, 33, 33); color: rgb(0, 83, 184)" %)PUT (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)Update user(%%) ==
1306
1307 ----
1308
1309 {{panel bgColor="#D3D3D3" width="100%"}}
1310 (% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users/~{~{OCID(% class="nolink" %)}}
1311 {{/panel}}
1312
1313 (% class="western" %)
1314 \\
1315
1316 (% class="western" %)
1317 **PUT method should be used to update users.**
1318
1319 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1320 (((
1321 (% class="western" %)
1322 **Request**
1323 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1324 (((
1325 (% class="western" %)
1326 **Type**
1327 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1328 (((
1329 (% class="western" %)
1330 **Description**
1331 )))
1332 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1333 (((
1334 (% class="western" %)
1335 Users
1336 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1337 (((
1338 (% class="western" %)
1339 Users
1340 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1341 (((
1342 (% class="western" %)
1343 Users object with update fields. Return property has CSV of questions id requested back in Users object.
1344 )))
1345 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1346 (((
1347 (% class="western" %)
1348 Return
1349 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1350 (((
1351 (% class="western" %)
1352 String
1353 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1354 (((
1355 (% class="western" %)
1356 CSV of ONEcount QuestionId's requested back in Users object in response
1357 )))
1358 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1359 (((
1360 (% class="western" %)
1361 RequestDate
1362 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1363 (((
1364 (% class="western" %)
1365 Date
1366 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1367 (((
1368 (% class="western" %)
1369 RequestDate to use for the demo update. If not provided current date will be used.
1370 )))
1371
1372 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1373 (((
1374 (% class="western" %)
1375 **Response**
1376 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1377 (((
1378 (% class="western" %)
1379 **Type**
1380 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1381 (((
1382 (% class="western" %)
1383 **Description**
1384 )))
1385 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1386 (((
1387 (% class="western" %)
1388 Users
1389 )))|=(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1390 (((
1391 (% class="western" align="left" %)
1392 Users
1393 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1394 (((
1395 (% class="western" %)
1396 Updated user returned with the demo field requested in return parameter in json format.
1397 )))
1398
1399 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
1400
1401 ----
1402
1403 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
1404
1405 === (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
1406
1407 ----
1408
1409 {{code language="yml" theme="RDark" title="Body" collapse="true"}}
1410 {"Users":{"Demo":{"6":"title1"}}}
1411 {{/code}}
1412
1413 ==== Example ====
1414
1415 ----
1416
1417 (% style="color: rgb(107,107,107);" %)Request
1418
1419 {{code language="php" theme="RDark" title="Update User Request" collapse="true"}}
1420 <?php
1421
1422 $curl = curl_init();
1423
1424 curl_setopt_array($curl, array(
1425 CURLOPT_URL => 'rayaan.onecount.net/api/v2/users/{{OCID}}',
1426 CURLOPT_RETURNTRANSFER => true,
1427 CURLOPT_ENCODING => '',
1428 CURLOPT_MAXREDIRS => 10,
1429 CURLOPT_TIMEOUT => 0,
1430 CURLOPT_FOLLOWLOCATION => true,
1431 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
1432 CURLOPT_CUSTOMREQUEST => 'PUT',
1433 CURLOPT_POSTFIELDS =>'{"Users":{"Demo":{"6":"title"}}}',
1434 CURLOPT_HTTPHEADER => array(
1435 'Appkey: {{ONECOUNT API KEY}}'
1436 ),
1437 ));
1438
1439 $response = curl_exec($curl);
1440
1441 curl_close($curl);
1442 echo $response;
1443
1444
1445 {{/code}}
1446
1447 \\
1448
1449 (% style="color: rgb(107,107,107);" %)Response  200 OK
1450
1451 {{code language="yml" theme="RDark" title="Update user Response" collapse="true"}}
1452 {
1453 "result": {
1454 "success": "1",
1455 "error": {
1456 "code": "",
1457 "message": ""
1458 }
1459 },
1460 "Users": [
1461 {
1462 "Id": 1845823,
1463 "OCID_HASH": "fccaa8dc7afadccc5882528d47b27c2bb53e2788dd0ac1fe170abef77a9c4d5b"
1464 }
1465 ]
1466 }
1467 {{/code}}
1468
1469 (% class="western" %)
1470 \\
1471
1472 (% class="western" %)
1473 **COMPONENT: Questions**
1474
1475 (% class="western" %)
1476 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).
1477
1478 (% class="western" %)
1479 This resource is for manipulating questions resource. Questions in ONEcount means any question that is asked to the subscriber. It could be any questions that appears on customer forms or print forms that gets answered by a subscriber. Questions api call will allow creation, update and search of question in ONEcount. To add a new questions to the system you'll make a POST api call to the questions resource.
1480
1481 (% class="western" %)
1482 The data that is sent should be in JSON format and of type questions as described in References section. The type property of questions object is described below. Questions object will only need a choices block if the question is a multiple choice question(type=4 or 5 or 6)
1483
1484 (% class="western" %)
1485 There can be 6 types of questions:
1486
1487 (% class="wrapped" %)
1488 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1489 (((
1490 (% class="western" align="center" %)
1491 **Type**
1492 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1493 (((
1494 (% class="western" %)
1495 **Description**
1496 )))
1497 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1498 (((
1499 (% class="western" align="center" %)
1500 1
1501 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1502 (((
1503 (% class="western" %)
1504 Textbox type questions or short response type question. The response length needs to be less than 255 characters.
1505 )))
1506 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1507 (((
1508 (% class="western" align="center" %)
1509 2
1510 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1511 (((
1512 (% class="western" %)
1513 Textarea type question or long response type question.
1514 )))
1515 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1516 (((
1517 (% class="western" align="center" %)
1518 3
1519 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1520 (((
1521 (% class="western" %)
1522 Password type question. This is basically same as type 1 but when displayed in ONEcount frontend forms typed characters appears as *.
1523 )))
1524 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1525 (((
1526 (% class="western" align="center" %)
1527 4
1528 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1529 (((
1530 (% class="western" %)
1531 Select or dropdown type questions. This is a multiple choice, 1 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 select question.
1532 )))
1533 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1534 (((
1535 (% class="western" align="center" %)
1536 5
1537 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1538 (((
1539 (% class="western" %)
1540 Radio button type question. This is a multiple choice, 1 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 radio question.
1541 )))
1542 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1543 (((
1544 (% class="western" align="center" %)
1545 6
1546 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1547 (((
1548 (% class="western" %)
1549 Checkbox type question. This is a multiple choice, multi response type question. When creating this type of question the choices block also needs to be part of the questions object that will hold the possible choices of the checkbox question.
1550 )))
1551
1552 (% class="wrapped" %)
1553 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1554 (((
1555 (% class="western" %)
1556 **Method**
1557 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1558 (((
1559 (% class="western" %)
1560 **Url**
1561 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1562 (((
1563 (% class="western" %)
1564 **Action**
1565 )))
1566 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1567 (((
1568 (% class="western" %)
1569 GET
1570 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1571 (((
1572 (% class="western" %)
1573 /questions
1574 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1575 (((
1576 (% class="western" %)
1577 List all questions
1578 )))
1579 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1580 (((
1581 (% class="western" %)
1582 GET
1583 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1584 (((
1585 (% class="western" %)
1586 /questions/1
1587 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1588 (((
1589 (% class="western" %)
1590 Returns question id 1
1591 )))
1592 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1593 (((
1594 (% class="western" %)
1595 GET
1596 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1597 (((
1598 (% class="western" %)
1599 /questions/lookup?Text=Email
1600 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1601 (((
1602 (% class="western" %)
1603 Returns all questions with “Email" in question text
1604 )))
1605 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1606 (((
1607 (% class="western" %)
1608 POST
1609 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1610 (((
1611 (% class="western" %)
1612 /questions
1613 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1614 (((
1615 (% class="western" %)
1616 Create a new question
1617
1618 (% class="western" %)
1619 JSON of the Questions type object needs to be sent as post data. Id field should not be sent.
1620 )))
1621 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1622 (((
1623 (% class="western" %)
1624 PUT
1625 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1626 (((
1627 (% class="western" %)
1628 /questions
1629 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1630 (((
1631 (% class="western" %)
1632 Update a question
1633
1634 (% class="western" %)
1635 JSON of the Questions type object needs to be sent as post data. Id field is mandatory for update.
1636 )))
1637
1638 \\
1639
1640 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
1641 == (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)All Questions(%%) ==
1642
1643 ----
1644
1645 ----
1646
1647 {{panel bgColor="#D3D3D3" width="100%"}}
1648 (% class="nolink nolink" %)https:~/~/api.onecount.net/v2/(% style="color: rgb(33,33,33);" %)questions
1649 {{/panel}}
1650
1651 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
1652
1653 ----
1654
1655 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
1656
1657 ==== Example ====
1658
1659 ----
1660
1661 (% style="color: rgb(107,107,107);" %)Request
1662
1663 {{code language="php" theme="RDark" title="Get All Questions Request" collapse="true"}}
1664 <?php
1665
1666 $curl = curl_init();
1667
1668 curl_setopt_array($curl, array(
1669 CURLOPT_URL => 'rayaan.onecount.net/api/v2/questions',
1670 CURLOPT_RETURNTRANSFER => true,
1671 CURLOPT_ENCODING => '',
1672 CURLOPT_MAXREDIRS => 10,
1673 CURLOPT_TIMEOUT => 0,
1674 CURLOPT_FOLLOWLOCATION => true,
1675 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
1676 CURLOPT_CUSTOMREQUEST => 'GET',
1677 CURLOPT_HTTPHEADER => array(
1678 'Appkey: 70856f83422599c8e36191098f1536ae06e7bbcd'
1679 ),
1680 ));
1681
1682 $response = curl_exec($curl);
1683
1684 curl_close($curl);
1685 echo $response;
1686
1687
1688
1689 {{/code}}
1690
1691 \\
1692
1693 (% style="color: rgb(107,107,107);" %)Response  200 OK
1694
1695 {{code language="yml" theme="RDark" title="Get All Questions Response" collapse="true"}}
1696 {
1697 "result": {
1698 "success": "1",
1699 "error": {
1700 "code": "",
1701 "message": ""
1702 }
1703 },
1704 "Questions": [
1705 {
1706 "Id": 1,
1707 "Text": "Email",
1708 "Type": "0",
1709 "Alias": "Email"
1710 },
1711 {
1712 "Id": 2,
1713 "Text": "Username",
1714 "Type": "0",
1715 "Alias": "Username"
1716 },
1717 {
1718 "Id": 3,
1719 "Text": "Password",
1720 "Type": "2",
1721 "Alias": "Password"
1722 },
1723 {
1724 "Id": 4,
1725 "Text": "First Name",
1726 "Type": "0",
1727 "Alias": "First Name"
1728 },
1729 {
1730 "Id": 5,
1731 "Text": "Last Name",
1732 "Type": "0",
1733 "Alias": "Last Name"
1734 },
1735 {
1736 "Id": 6,
1737 "Text": "Title",
1738 "Type": "0",
1739 "Alias": "Title"
1740 },
1741 {
1742 "Id": 7,
1743 "Text": "Company Name",
1744 "Type": "0",
1745 "Alias": "Company Name"
1746 },
1747 {
1748 "Id": 8,
1749 "Text": "Company Address",
1750 "Type": "0",
1751 "Alias": "Company Address"
1752 },
1753 {
1754 "Id": 9,
1755 "Text": "Address2",
1756 "Type": "0",
1757 "Alias": "Address2"
1758 },
1759 {
1760 "Id": 10,
1761 "Text": "City",
1762 "Type": "0",
1763 "Alias": "City"
1764 },
1765 {
1766 "Id": 11,
1767 "Text": "State/Province",
1768 "Type": "4",
1769 "Alias": "State/Province",
1770 "Choices": [
1771 {
1772 "Id": 1554,
1773 "QuestionId": 11,
1774 "Text": "Select One",
1775 "Value": "",
1776 "Order": 1
1777 },
1778 {
1779 "Id": 1562,
1780 "QuestionId": 11,
1781 "Text": "Alabama",
1782 "Value": "AL",
1783 "Order": 2
1784 },
1785 {
1786 "Id": 1570,
1787 "QuestionId": 11,
1788 "Text": "Alaska",
1789 "Value": "AK",
1790 "Order": 3
1791 },
1792 {
1793 "Id": 1578,
1794 "QuestionId": 11,
1795 "Text": "Arizona",
1796 "Value": "AZ",
1797 "Order": 4
1798 },
1799 {
1800 "Id": 1586,
1801 "QuestionId": 11,
1802 "Text": "Arkansas",
1803 "Value": "AR",
1804 "Order": 5
1805 },
1806 {
1807 "Id": 1594,
1808 "QuestionId": 11,
1809 "Text": "California",
1810 "Value": "CA",
1811 "Order": 6
1812 },
1813 {
1814 "Id": 1602,
1815 "QuestionId": 11,
1816 "Text": "Colorado",
1817 "Value": "CO",
1818 "Order": 7
1819 },
1820 {
1821 "Id": 1610,
1822 "QuestionId": 11,
1823 "Text": "Connecticut",
1824 "Value": "CT",
1825 "Order": 8
1826 },
1827 {
1828 "Id": 1618,
1829 "QuestionId": 11,
1830 "Text": "Delaware",
1831 "Value": "DE",
1832 "Order": 9
1833 },
1834 {
1835 "Id": 1626,
1836 "QuestionId": 11,
1837 "Text": "District of Columbia",
1838 "Value": "DC",
1839 "Order": 10
1840 },
1841 {
1842 "Id": 1634,
1843 "QuestionId": 11,
1844 "Text": "Florida",
1845 "Value": "FL",
1846 "Order": 11
1847 },
1848 {
1849 "Id": 1642,
1850 "QuestionId": 11,
1851 "Text": "Georgia",
1852 "Value": "GA",
1853 "Order": 12
1854 },
1855 {
1856 "Id": 1650,
1857 "QuestionId": 11,
1858 "Text": "Hawaii",
1859 "Value": "HI",
1860 "Order": 13
1861 },
1862 {
1863 "Id": 1658,
1864 "QuestionId": 11,
1865 "Text": "Idaho",
1866 "Value": "ID",
1867 "Order": 14
1868 },
1869 {
1870 "Id": 1666,
1871 "QuestionId": 11,
1872 "Text": "Illinois",
1873 "Value": "IL",
1874 "Order": 15
1875 },
1876 {
1877 "Id": 1674,
1878 "QuestionId": 11,
1879 "Text": "Indiana",
1880 "Value": "IN",
1881 "Order": 16
1882 },
1883 {
1884 "Id": 1682,
1885 "QuestionId": 11,
1886 "Text": "Iowa",
1887 "Value": "IA",
1888 "Order": 17
1889 },
1890 {
1891 "Id": 1690,
1892 "QuestionId": 11,
1893 "Text": "Kansas",
1894 "Value": "KS",
1895 "Order": 18
1896 },
1897 {
1898 "Id": 1698,
1899 "QuestionId": 11,
1900 "Text": "Kentucky",
1901 "Value": "KY",
1902 "Order": 19
1903 },
1904 {
1905 "Id": 1706,
1906 "QuestionId": 11,
1907 "Text": "Louisiana",
1908 "Value": "LA",
1909 "Order": 20
1910 },
1911 {
1912 "Id": 1714,
1913 "QuestionId": 11,
1914 "Text": "Maine",
1915 "Value": "ME",
1916 "Order": 21
1917 },
1918 {
1919 "Id": 1722,
1920 "QuestionId": 11,
1921 "Text": "Maryland",
1922 "Value": "MD",
1923 "Order": 22
1924 },
1925 {
1926 "Id": 1730,
1927 "QuestionId": 11,
1928 "Text": "Massachusetts",
1929 "Value": "MA",
1930 "Order": 23
1931 },
1932 {
1933 "Id": 1738,
1934 "QuestionId": 11,
1935 "Text": "Michigan",
1936 "Value": "MI",
1937 "Order": 24
1938 },
1939 {
1940 "Id": 1746,
1941 "QuestionId": 11,
1942 "Text": "Minnesota",
1943 "Value": "MN",
1944 "Order": 25
1945 },
1946 {
1947 "Id": 1754,
1948 "QuestionId": 11,
1949 "Text": "Mississippi",
1950 "Value": "MS",
1951 "Order": 26
1952 },
1953 {
1954 "Id": 1762,
1955 "QuestionId": 11,
1956 "Text": "Missouri",
1957 "Value": "MO",
1958 "Order": 27
1959 },
1960 {
1961 "Id": 1770,
1962 "QuestionId": 11,
1963 "Text": "Montana",
1964 "Value": "MT",
1965 "Order": 28
1966 },
1967 {
1968 "Id": 1778,
1969 "QuestionId": 11,
1970 "Text": "Nebraska",
1971 "Value": "NE",
1972 "Order": 29
1973 },
1974 {
1975 "Id": 1786,
1976 "QuestionId": 11,
1977 "Text": "Nevada",
1978 "Value": "NV",
1979 "Order": 30
1980 },
1981 {
1982 "Id": 1794,
1983 "QuestionId": 11,
1984 "Text": "New Hampshire",
1985 "Value": "NH",
1986 "Order": 31
1987 },
1988 {
1989 "Id": 1802,
1990 "QuestionId": 11,
1991 "Text": "New Jersey",
1992 "Value": "NJ",
1993 "Order": 32
1994 },
1995 {
1996 "Id": 1810,
1997 "QuestionId": 11,
1998 "Text": "New Mexico",
1999 "Value": "NM",
2000 "Order": 33
2001 },
2002 {
2003 "Id": 1818,
2004 "QuestionId": 11,
2005 "Text": "New York",
2006 "Value": "NY",
2007 "Order": 34
2008 },
2009 {
2010 "Id": 1826,
2011 "QuestionId": 11,
2012 "Text": "North Carolina",
2013 "Value": "NC",
2014 "Order": 35
2015 },
2016 {
2017 "Id": 1834,
2018 "QuestionId": 11,
2019 "Text": "Ohio",
2020 "Value": "OH",
2021 "Order": 37
2022 },
2023 {
2024 "Id": 1842,
2025 "QuestionId": 11,
2026 "Text": "Oklahoma",
2027 "Value": "OK",
2028 "Order": 38
2029 },
2030 {
2031 "Id": 1850,
2032 "QuestionId": 11,
2033 "Text": "Oregon",
2034 "Value": "OR",
2035 "Order": 39
2036 },
2037 {
2038 "Id": 1858,
2039 "QuestionId": 11,
2040 "Text": "Pennsylvania",
2041 "Value": "PA",
2042 "Order": 40
2043 },
2044 {
2045 "Id": 1866,
2046 "QuestionId": 11,
2047 "Text": "Rhode Island",
2048 "Value": "RI",
2049 "Order": 41
2050 },
2051 {
2052 "Id": 1874,
2053 "QuestionId": 11,
2054 "Text": "South Carolina",
2055 "Value": "SC",
2056 "Order": 42
2057 },
2058 {
2059 "Id": 1882,
2060 "QuestionId": 11,
2061 "Text": "South Dakota",
2062 "Value": "SD",
2063 "Order": 43
2064 },
2065 {
2066 "Id": 1890,
2067 "QuestionId": 11,
2068 "Text": "Tennessee",
2069 "Value": "TN",
2070 "Order": 44
2071 },
2072 {
2073 "Id": 1898,
2074 "QuestionId": 11,
2075 "Text": "Texas",
2076 "Value": "TX",
2077 "Order": 45
2078 },
2079 {
2080 "Id": 1906,
2081 "QuestionId": 11,
2082 "Text": "Utah",
2083 "Value": "UT",
2084 "Order": 46
2085 },
2086 {
2087 "Id": 1914,
2088 "QuestionId": 11,
2089 "Text": "Vermont",
2090 "Value": "VT",
2091 "Order": 47
2092 },
2093 {
2094 "Id": 1922,
2095 "QuestionId": 11,
2096 "Text": "Virginia",
2097 "Value": "VA",
2098 "Order": 48
2099 },
2100 {
2101 "Id": 1930,
2102 "QuestionId": 11,
2103 "Text": "Washington",
2104 "Value": "WA",
2105 "Order": 49
2106 },
2107 {
2108 "Id": 1938,
2109 "QuestionId": 11,
2110 "Text": "West Virginia",
2111 "Value": "WV",
2112 "Order": 50
2113 },
2114 {
2115 "Id": 1946,
2116 "QuestionId": 11,
2117 "Text": "Wisconsin",
2118 "Value": "WI",
2119 "Order": 51
2120 },
2121 {
2122 "Id": 1954,
2123 "QuestionId": 11,
2124 "Text": "Wyoming",
2125 "Value": "WY",
2126 "Order": 52
2127 },
2128 {
2129 "Id": 1962,
2130 "QuestionId": 11,
2131 "Text": "American Samoa",
2132 "Value": "AS",
2133 "Order": 53
2134 },
2135 {
2136 "Id": 1970,
2137 "QuestionId": 11,
2138 "Text": "North Dakota",
2139 "Value": "ND",
2140 "Order": 36
2141 },
2142 {
2143 "Id": 1978,
2144 "QuestionId": 11,
2145 "Text": "Federated States of Micronesia",
2146 "Value": "FM",
2147 "Order": 54
2148 },
2149 {
2150 "Id": 1986,
2151 "QuestionId": 11,
2152 "Text": "Guam",
2153 "Value": "GU",
2154 "Order": 55
2155 },
2156 {
2157 "Id": 1994,
2158 "QuestionId": 11,
2159 "Text": "Marshall Islands",
2160 "Value": "MH",
2161 "Order": 56
2162 },
2163 {
2164 "Id": 2002,
2165 "QuestionId": 11,
2166 "Text": "Northern Mariana Islands",
2167 "Value": "MP",
2168 "Order": 57
2169 },
2170 {
2171 "Id": 2010,
2172 "QuestionId": 11,
2173 "Text": "Palau",
2174 "Value": "PW",
2175 "Order": 58
2176 },
2177 {
2178 "Id": 2018,
2179 "QuestionId": 11,
2180 "Text": "Puerto Rico",
2181 "Value": "PR",
2182 "Order": 59
2183 },
2184 {
2185 "Id": 2026,
2186 "QuestionId": 11,
2187 "Text": "U.S. Virgin Islands",
2188 "Value": "VI",
2189 "Order": 60
2190 },
2191 {
2192 "Id": 2034,
2193 "QuestionId": 11,
2194 "Text": "Armed Forces Africa",
2195 "Value": "AE",
2196 "Order": 61
2197 },
2198 {
2199 "Id": 2042,
2200 "QuestionId": 11,
2201 "Text": "Armed Forces Americas (except Canada)",
2202 "Value": "AA",
2203 "Order": 62
2204 },
2205 {
2206 "Id": 2050,
2207 "QuestionId": 11,
2208 "Text": "Armed Forces Canada",
2209 "Value": "AE",
2210 "Order": 63
2211 },
2212 {
2213 "Id": 2058,
2214 "QuestionId": 11,
2215 "Text": "Armed Forces Europe",
2216 "Value": "AE",
2217 "Order": 64
2218 },
2219 {
2220 "Id": 2066,
2221 "QuestionId": 11,
2222 "Text": "Armed Forces Middle East",
2223 "Value": "AE",
2224 "Order": 65
2225 },
2226 {
2227 "Id": 2074,
2228 "QuestionId": 11,
2229 "Text": "Armed Forces Pacific",
2230 "Value": "AP",
2231 "Order": 66
2232 },
2233 {
2234 "Id": 2082,
2235 "QuestionId": 11,
2236 "Text": "Non-US/Not Applicable",
2237 "Value": "Non-US/Not Applicable",
2238 "Order": 67
2239 },
2240 {
2241 "Id": 2090,
2242 "QuestionId": 11,
2243 "Text": "Ontario",
2244 "Value": "Ontario",
2245 "Order": 68
2246 },
2247 {
2248 "Id": 2098,
2249 "QuestionId": 11,
2250 "Text": "Quebec",
2251 "Value": "Quebec",
2252 "Order": 69
2253 },
2254 {
2255 "Id": 2106,
2256 "QuestionId": 11,
2257 "Text": "Nova Scotia",
2258 "Value": "Nova Scotia",
2259 "Order": 70
2260 },
2261 {
2262 "Id": 2114,
2263 "QuestionId": 11,
2264 "Text": "New Brunswick",
2265 "Value": "New Brunswick",
2266 "Order": 71
2267 },
2268 {
2269 "Id": 2122,
2270 "QuestionId": 11,
2271 "Text": "Manitoba",
2272 "Value": "Manitoba",
2273 "Order": 72
2274 },
2275 {
2276 "Id": 2130,
2277 "QuestionId": 11,
2278 "Text": "Brittish Columbia",
2279 "Value": "Brittish Columbia",
2280 "Order": 73
2281 },
2282 {
2283 "Id": 2138,
2284 "QuestionId": 11,
2285 "Text": "Prince Edward Island",
2286 "Value": "Prince Edward Island",
2287 "Order": 74
2288 },
2289 {
2290 "Id": 2146,
2291 "QuestionId": 11,
2292 "Text": "Saskatchewan",
2293 "Value": "Saskatchewan",
2294 "Order": 75
2295 },
2296 {
2297 "Id": 2154,
2298 "QuestionId": 11,
2299 "Text": "Alberta",
2300 "Value": "Alberta",
2301 "Order": 76
2302 },
2303 {
2304 "Id": 2162,
2305 "QuestionId": 11,
2306 "Text": "Newfoundland and Labrador",
2307 "Value": "Newfoundland and Labrador",
2308 "Order": 77
2309 },
2310 {
2311 "Id": 2170,
2312 "QuestionId": 11,
2313 "Text": "British Columbia",
2314 "Value": "British Columbia",
2315 "Order": 78
2316 },
2317 {
2318 "Id": 2178,
2319 "QuestionId": 11,
2320 "Text": "Ontario",
2321 "Value": "ON",
2322 "Order": 79
2323 }
2324 ]
2325 },
2326 {
2327 "Id": 12,
2328 "Text": "Zip/Postal Code",
2329 "Type": "0",
2330 "Alias": "Zip/Postal Code"
2331 },
2332 {
2333 "Id": 13,
2334 "Text": "Country",
2335 "Type": "4",
2336 "Alias": "Country",
2337 "Choices": [
2338 {
2339 "Id": 2,
2340 "QuestionId": 13,
2341 "Text": "Select One",
2342 "Value": "",
2343 "Order": 1
2344 },
2345 {
2346 "Id": 10,
2347 "QuestionId": 13,
2348 "Text": "Afghanistan",
2349 "Value": "Afghanistan",
2350 "Order": 3
2351 },
2352 {
2353 "Id": 18,
2354 "QuestionId": 13,
2355 "Text": "Albania",
2356 "Value": "Albania",
2357 "Order": 4
2358 },
2359 {
2360 "Id": 26,
2361 "QuestionId": 13,
2362 "Text": "Algeria",
2363 "Value": "Algeria",
2364 "Order": 5
2365 },
2366 {
2367 "Id": 34,
2368 "QuestionId": 13,
2369 "Text": "Andorra",
2370 "Value": "Andorra",
2371 "Order": 6
2372 },
2373 {
2374 "Id": 42,
2375 "QuestionId": 13,
2376 "Text": "Angola",
2377 "Value": "Angola",
2378 "Order": 7
2379 },
2380 {
2381 "Id": 50,
2382 "QuestionId": 13,
2383 "Text": "Antigua and Barbuda",
2384 "Value": "Antigua and Barbuda",
2385 "Order": 8
2386 },
2387 {
2388 "Id": 58,
2389 "QuestionId": 13,
2390 "Text": "Argentina",
2391 "Value": "Argentina",
2392 "Order": 9
2393 },
2394 {
2395 "Id": 66,
2396 "QuestionId": 13,
2397 "Text": "Armenia",
2398 "Value": "Armenia",
2399 "Order": 10
2400 },
2401 {
2402 "Id": 74,
2403 "QuestionId": 13,
2404 "Text": "Australia",
2405 "Value": "Australia",
2406 "Order": 11
2407 },
2408 {
2409 "Id": 82,
2410 "QuestionId": 13,
2411 "Text": "Austria",
2412 "Value": "Austria",
2413 "Order": 12
2414 },
2415 {
2416 "Id": 90,
2417 "QuestionId": 13,
2418 "Text": "Azerbaijan",
2419 "Value": "Azerbaijan",
2420 "Order": 13
2421 },
2422 {
2423 "Id": 98,
2424 "QuestionId": 13,
2425 "Text": "Bahamas",
2426 "Value": "Bahamas",
2427 "Order": 14
2428 },
2429 {
2430 "Id": 106,
2431 "QuestionId": 13,
2432 "Text": "Bahrain",
2433 "Value": "Bahrain",
2434 "Order": 15
2435 },
2436 {
2437 "Id": 114,
2438 "QuestionId": 13,
2439 "Text": "Bangladesh",
2440 "Value": "Bangladesh",
2441 "Order": 16
2442 },
2443 {
2444 "Id": 122,
2445 "QuestionId": 13,
2446 "Text": "Barbados",
2447 "Value": "Barbados",
2448 "Order": 17
2449 },
2450 {
2451 "Id": 130,
2452 "QuestionId": 13,
2453 "Text": "Belarus",
2454 "Value": "Belarus",
2455 "Order": 18
2456 },
2457 {
2458 "Id": 138,
2459 "QuestionId": 13,
2460 "Text": "Belgium",
2461 "Value": "Belgium",
2462 "Order": 19
2463 },
2464 {
2465 "Id": 146,
2466 "QuestionId": 13,
2467 "Text": "Belize",
2468 "Value": "Belize",
2469 "Order": 20
2470 },
2471 {
2472 "Id": 154,
2473 "QuestionId": 13,
2474 "Text": "Benin",
2475 "Value": "Benin",
2476 "Order": 21
2477 },
2478 {
2479 "Id": 162,
2480 "QuestionId": 13,
2481 "Text": "Bhutan",
2482 "Value": "Bhutan",
2483 "Order": 22
2484 },
2485 {
2486 "Id": 170,
2487 "QuestionId": 13,
2488 "Text": "Bolivia",
2489 "Value": "Bolivia",
2490 "Order": 23
2491 },
2492 {
2493 "Id": 178,
2494 "QuestionId": 13,
2495 "Text": "Bosnia and Herzegovina",
2496 "Value": "Bosnia and Herzegovina",
2497 "Order": 24
2498 },
2499 {
2500 "Id": 186,
2501 "QuestionId": 13,
2502 "Text": "Botswana",
2503 "Value": "Botswana",
2504 "Order": 25
2505 },
2506 {
2507 "Id": 194,
2508 "QuestionId": 13,
2509 "Text": "Brazil",
2510 "Value": "Brazil",
2511 "Order": 26
2512 },
2513 {
2514 "Id": 202,
2515 "QuestionId": 13,
2516 "Text": "Brunei",
2517 "Value": "Brunei",
2518 "Order": 27
2519 },
2520 {
2521 "Id": 210,
2522 "QuestionId": 13,
2523 "Text": "Bulgaria",
2524 "Value": "Bulgaria",
2525 "Order": 28
2526 },
2527 {
2528 "Id": 218,
2529 "QuestionId": 13,
2530 "Text": "Burkina Faso",
2531 "Value": "Burkina Faso",
2532 "Order": 29
2533 },
2534 {
2535 "Id": 226,
2536 "QuestionId": 13,
2537 "Text": "Burundi",
2538 "Value": "Burundi",
2539 "Order": 30
2540 },
2541 {
2542 "Id": 234,
2543 "QuestionId": 13,
2544 "Text": "Cambodia",
2545 "Value": "Cambodia",
2546 "Order": 31
2547 },
2548 {
2549 "Id": 242,
2550 "QuestionId": 13,
2551 "Text": "Cameroon",
2552 "Value": "Cameroon",
2553 "Order": 32
2554 },
2555 {
2556 "Id": 250,
2557 "QuestionId": 13,
2558 "Text": "Canada",
2559 "Value": "Canada",
2560 "Order": 33
2561 },
2562 {
2563 "Id": 258,
2564 "QuestionId": 13,
2565 "Text": "Cape Verde",
2566 "Value": "Cape Verde",
2567 "Order": 34
2568 },
2569 {
2570 "Id": 266,
2571 "QuestionId": 13,
2572 "Text": "Central African Republic",
2573 "Value": "Central African Republic",
2574 "Order": 35
2575 },
2576 {
2577 "Id": 274,
2578 "QuestionId": 13,
2579 "Text": "Chad",
2580 "Value": "Chad",
2581 "Order": 36
2582 },
2583 {
2584 "Id": 282,
2585 "QuestionId": 13,
2586 "Text": "Chile",
2587 "Value": "Chile",
2588 "Order": 37
2589 },
2590 {
2591 "Id": 290,
2592 "QuestionId": 13,
2593 "Text": "China",
2594 "Value": "China",
2595 "Order": 38
2596 },
2597 {
2598 "Id": 298,
2599 "QuestionId": 13,
2600 "Text": "Colombia",
2601 "Value": "Colombia",
2602 "Order": 39
2603 },
2604 {
2605 "Id": 306,
2606 "QuestionId": 13,
2607 "Text": "Comoros",
2608 "Value": "Comoros",
2609 "Order": 40
2610 },
2611 {
2612 "Id": 314,
2613 "QuestionId": 13,
2614 "Text": "Congo (Brazzaville)",
2615 "Value": "Congo (Brazzaville)",
2616 "Order": 41
2617 },
2618 {
2619 "Id": 322,
2620 "QuestionId": 13,
2621 "Text": "Congo",
2622 "Value": "Congo",
2623 "Order": 42
2624 },
2625 {
2626 "Id": 330,
2627 "QuestionId": 13,
2628 "Text": "Costa Rica",
2629 "Value": "Costa Rica",
2630 "Order": 43
2631 },
2632 {
2633 "Id": 338,
2634 "QuestionId": 13,
2635 "Text": "Cote d'Ivoire",
2636 "Value": "Cote d'Ivoire",
2637 "Order": 44
2638 },
2639 {
2640 "Id": 346,
2641 "QuestionId": 13,
2642 "Text": "Croatia",
2643 "Value": "Croatia",
2644 "Order": 45
2645 },
2646 {
2647 "Id": 354,
2648 "QuestionId": 13,
2649 "Text": "Cuba",
2650 "Value": "Cuba",
2651 "Order": 46
2652 },
2653 {
2654 "Id": 362,
2655 "QuestionId": 13,
2656 "Text": "Cyprus",
2657 "Value": "Cyprus",
2658 "Order": 47
2659 },
2660 {
2661 "Id": 370,
2662 "QuestionId": 13,
2663 "Text": "Czech Republic",
2664 "Value": "Czech Republic",
2665 "Order": 48
2666 },
2667 {
2668 "Id": 378,
2669 "QuestionId": 13,
2670 "Text": "Denmark",
2671 "Value": "Denmark",
2672 "Order": 49
2673 },
2674 {
2675 "Id": 386,
2676 "QuestionId": 13,
2677 "Text": "Djibouti",
2678 "Value": "Djibouti",
2679 "Order": 50
2680 },
2681 {
2682 "Id": 394,
2683 "QuestionId": 13,
2684 "Text": "Dominica",
2685 "Value": "Dominica",
2686 "Order": 51
2687 },
2688 {
2689 "Id": 402,
2690 "QuestionId": 13,
2691 "Text": "Dominican Republic",
2692 "Value": "Dominican Republic",
2693 "Order": 52
2694 },
2695 {
2696 "Id": 410,
2697 "QuestionId": 13,
2698 "Text": "East Timor",
2699 "Value": "East Timor",
2700 "Order": 53
2701 },
2702 {
2703 "Id": 418,
2704 "QuestionId": 13,
2705 "Text": "Ecuador",
2706 "Value": "Ecuador",
2707 "Order": 54
2708 },
2709 {
2710 "Id": 426,
2711 "QuestionId": 13,
2712 "Text": "Egypt",
2713 "Value": "Egypt",
2714 "Order": 55
2715 },
2716 {
2717 "Id": 434,
2718 "QuestionId": 13,
2719 "Text": "El Salvador",
2720 "Value": "El Salvador",
2721 "Order": 56
2722 },
2723 {
2724 "Id": 442,
2725 "QuestionId": 13,
2726 "Text": "Equatorial Guinea",
2727 "Value": "Equatorial Guinea",
2728 "Order": 57
2729 },
2730 {
2731 "Id": 450,
2732 "QuestionId": 13,
2733 "Text": "Eritrea",
2734 "Value": "Eritrea",
2735 "Order": 58
2736 },
2737 {
2738 "Id": 458,
2739 "QuestionId": 13,
2740 "Text": "Estonia",
2741 "Value": "Estonia",
2742 "Order": 59
2743 },
2744 {
2745 "Id": 466,
2746 "QuestionId": 13,
2747 "Text": "Ethiopia",
2748 "Value": "Ethiopia",
2749 "Order": 60
2750 },
2751 {
2752 "Id": 474,
2753 "QuestionId": 13,
2754 "Text": "Fiji",
2755 "Value": "Fiji",
2756 "Order": 61
2757 },
2758 {
2759 "Id": 482,
2760 "QuestionId": 13,
2761 "Text": "Finland",
2762 "Value": "Finland",
2763 "Order": 62
2764 },
2765 {
2766 "Id": 490,
2767 "QuestionId": 13,
2768 "Text": "France",
2769 "Value": "France",
2770 "Order": 63
2771 },
2772 {
2773 "Id": 498,
2774 "QuestionId": 13,
2775 "Text": "Gabon",
2776 "Value": "Gabon",
2777 "Order": 64
2778 },
2779 {
2780 "Id": 506,
2781 "QuestionId": 13,
2782 "Text": "Gambia, The",
2783 "Value": "Gambia, The",
2784 "Order": 65
2785 },
2786 {
2787 "Id": 514,
2788 "QuestionId": 13,
2789 "Text": "Georgia",
2790 "Value": "Georgia",
2791 "Order": 66
2792 },
2793 {
2794 "Id": 522,
2795 "QuestionId": 13,
2796 "Text": "Germany",
2797 "Value": "Germany",
2798 "Order": 67
2799 },
2800 {
2801 "Id": 530,
2802 "QuestionId": 13,
2803 "Text": "Ghana",
2804 "Value": "Ghana",
2805 "Order": 68
2806 },
2807 {
2808 "Id": 538,
2809 "QuestionId": 13,
2810 "Text": "Greece",
2811 "Value": "Greece",
2812 "Order": 69
2813 },
2814 {
2815 "Id": 546,
2816 "QuestionId": 13,
2817 "Text": "Grenada",
2818 "Value": "Grenada",
2819 "Order": 70
2820 },
2821 {
2822 "Id": 554,
2823 "QuestionId": 13,
2824 "Text": "Guatemala",
2825 "Value": "Guatemala",
2826 "Order": 71
2827 },
2828 {
2829 "Id": 562,
2830 "QuestionId": 13,
2831 "Text": "Guinea",
2832 "Value": "Guinea",
2833 "Order": 72
2834 },
2835 {
2836 "Id": 570,
2837 "QuestionId": 13,
2838 "Text": "Guinea-Bissau",
2839 "Value": "Guinea-Bissau",
2840 "Order": 73
2841 },
2842 {
2843 "Id": 578,
2844 "QuestionId": 13,
2845 "Text": "Guyana",
2846 "Value": "Guyana",
2847 "Order": 74
2848 },
2849 {
2850 "Id": 586,
2851 "QuestionId": 13,
2852 "Text": "Haiti",
2853 "Value": "Haiti",
2854 "Order": 75
2855 },
2856 {
2857 "Id": 594,
2858 "QuestionId": 13,
2859 "Text": "Honduras",
2860 "Value": "Honduras",
2861 "Order": 76
2862 },
2863 {
2864 "Id": 602,
2865 "QuestionId": 13,
2866 "Text": "Hungary",
2867 "Value": "Hungary",
2868 "Order": 77
2869 },
2870 {
2871 "Id": 610,
2872 "QuestionId": 13,
2873 "Text": "Iceland",
2874 "Value": "Iceland",
2875 "Order": 78
2876 },
2877 {
2878 "Id": 618,
2879 "QuestionId": 13,
2880 "Text": "India",
2881 "Value": "India",
2882 "Order": 79
2883 },
2884 {
2885 "Id": 626,
2886 "QuestionId": 13,
2887 "Text": "Indonesia",
2888 "Value": "Indonesia",
2889 "Order": 80
2890 },
2891 {
2892 "Id": 634,
2893 "QuestionId": 13,
2894 "Text": "Iran",
2895 "Value": "Iran",
2896 "Order": 81
2897 },
2898 {
2899 "Id": 642,
2900 "QuestionId": 13,
2901 "Text": "Iraq",
2902 "Value": "Iraq",
2903 "Order": 82
2904 },
2905 {
2906 "Id": 650,
2907 "QuestionId": 13,
2908 "Text": "Ireland",
2909 "Value": "Ireland",
2910 "Order": 83
2911 },
2912 {
2913 "Id": 658,
2914 "QuestionId": 13,
2915 "Text": "Israel",
2916 "Value": "Israel",
2917 "Order": 84
2918 },
2919 {
2920 "Id": 666,
2921 "QuestionId": 13,
2922 "Text": "Italy",
2923 "Value": "Italy",
2924 "Order": 85
2925 },
2926 {
2927 "Id": 674,
2928 "QuestionId": 13,
2929 "Text": "Jamaica",
2930 "Value": "Jamaica",
2931 "Order": 86
2932 },
2933 {
2934 "Id": 682,
2935 "QuestionId": 13,
2936 "Text": "Japan",
2937 "Value": "Japan",
2938 "Order": 87
2939 },
2940 {
2941 "Id": 690,
2942 "QuestionId": 13,
2943 "Text": "Jordan",
2944 "Value": "Jordan",
2945 "Order": 88
2946 },
2947 {
2948 "Id": 698,
2949 "QuestionId": 13,
2950 "Text": "Kazakhstan",
2951 "Value": "Kazakhstan",
2952 "Order": 89
2953 },
2954 {
2955 "Id": 706,
2956 "QuestionId": 13,
2957 "Text": "Kenya",
2958 "Value": "Kenya",
2959 "Order": 90
2960 },
2961 {
2962 "Id": 714,
2963 "QuestionId": 13,
2964 "Text": "Kiribati",
2965 "Value": "Kiribati",
2966 "Order": 91
2967 },
2968 {
2969 "Id": 722,
2970 "QuestionId": 13,
2971 "Text": "Korea, North",
2972 "Value": "Korea, North",
2973 "Order": 92
2974 },
2975 {
2976 "Id": 730,
2977 "QuestionId": 13,
2978 "Text": "Korea, South",
2979 "Value": "Korea, South",
2980 "Order": 93
2981 },
2982 {
2983 "Id": 738,
2984 "QuestionId": 13,
2985 "Text": "Kuwait",
2986 "Value": "Kuwait",
2987 "Order": 94
2988 },
2989 {
2990 "Id": 746,
2991 "QuestionId": 13,
2992 "Text": "Kyrgyzstan",
2993 "Value": "Kyrgyzstan",
2994 "Order": 95
2995 },
2996 {
2997 "Id": 754,
2998 "QuestionId": 13,
2999 "Text": "Laos",
3000 "Value": "Laos",
3001 "Order": 96
3002 },
3003 {
3004 "Id": 762,
3005 "QuestionId": 13,
3006 "Text": "Latvia",
3007 "Value": "Latvia",
3008 "Order": 97
3009 },
3010 {
3011 "Id": 770,
3012 "QuestionId": 13,
3013 "Text": "Lebanon",
3014 "Value": "Lebanon",
3015 "Order": 98
3016 },
3017 {
3018 "Id": 778,
3019 "QuestionId": 13,
3020 "Text": "Lesotho",
3021 "Value": "Lesotho",
3022 "Order": 99
3023 },
3024 {
3025 "Id": 786,
3026 "QuestionId": 13,
3027 "Text": "Liberia",
3028 "Value": "Liberia",
3029 "Order": 100
3030 },
3031 {
3032 "Id": 794,
3033 "QuestionId": 13,
3034 "Text": "Libya",
3035 "Value": "Libya",
3036 "Order": 101
3037 },
3038 {
3039 "Id": 802,
3040 "QuestionId": 13,
3041 "Text": "Liechtenstein",
3042 "Value": "Liechtenstein",
3043 "Order": 102
3044 },
3045 {
3046 "Id": 810,
3047 "QuestionId": 13,
3048 "Text": "Lithuania",
3049 "Value": "Lithuania",
3050 "Order": 103
3051 },
3052 {
3053 "Id": 818,
3054 "QuestionId": 13,
3055 "Text": "Luxembourg",
3056 "Value": "Luxembourg",
3057 "Order": 104
3058 },
3059 {
3060 "Id": 826,
3061 "QuestionId": 13,
3062 "Text": "Macedonia",
3063 "Value": "Macedonia",
3064 "Order": 105
3065 },
3066 {
3067 "Id": 834,
3068 "QuestionId": 13,
3069 "Text": "Madagascar",
3070 "Value": "Madagascar",
3071 "Order": 106
3072 },
3073 {
3074 "Id": 842,
3075 "QuestionId": 13,
3076 "Text": "Malawi",
3077 "Value": "Malawi",
3078 "Order": 107
3079 },
3080 {
3081 "Id": 850,
3082 "QuestionId": 13,
3083 "Text": "Malaysia",
3084 "Value": "Malaysia",
3085 "Order": 108
3086 },
3087 {
3088 "Id": 858,
3089 "QuestionId": 13,
3090 "Text": "Maldives",
3091 "Value": "Maldives",
3092 "Order": 109
3093 },
3094 {
3095 "Id": 866,
3096 "QuestionId": 13,
3097 "Text": "Mali",
3098 "Value": "Mali",
3099 "Order": 110
3100 },
3101 {
3102 "Id": 874,
3103 "QuestionId": 13,
3104 "Text": "Malta",
3105 "Value": "Malta",
3106 "Order": 111
3107 },
3108 {
3109 "Id": 882,
3110 "QuestionId": 13,
3111 "Text": "Marshall Islands",
3112 "Value": "Marshall Islands",
3113 "Order": 112
3114 },
3115 {
3116 "Id": 890,
3117 "QuestionId": 13,
3118 "Text": "Mauritania",
3119 "Value": "Mauritania",
3120 "Order": 113
3121 },
3122 {
3123 "Id": 898,
3124 "QuestionId": 13,
3125 "Text": "Mauritius",
3126 "Value": "Mauritius",
3127 "Order": 114
3128 },
3129 {
3130 "Id": 906,
3131 "QuestionId": 13,
3132 "Text": "Mexico",
3133 "Value": "Mexico",
3134 "Order": 115
3135 },
3136 {
3137 "Id": 914,
3138 "QuestionId": 13,
3139 "Text": "Micronesia",
3140 "Value": "Micronesia",
3141 "Order": 116
3142 },
3143 {
3144 "Id": 922,
3145 "QuestionId": 13,
3146 "Text": "Moldova",
3147 "Value": "Moldova",
3148 "Order": 117
3149 },
3150 {
3151 "Id": 930,
3152 "QuestionId": 13,
3153 "Text": "Monaco",
3154 "Value": "Monaco",
3155 "Order": 118
3156 },
3157 {
3158 "Id": 938,
3159 "QuestionId": 13,
3160 "Text": "Mongolia",
3161 "Value": "Mongolia",
3162 "Order": 119
3163 },
3164 {
3165 "Id": 946,
3166 "QuestionId": 13,
3167 "Text": "Morocco",
3168 "Value": "Morocco",
3169 "Order": 120
3170 },
3171 {
3172 "Id": 954,
3173 "QuestionId": 13,
3174 "Text": "Mozambique",
3175 "Value": "Mozambique",
3176 "Order": 121
3177 },
3178 {
3179 "Id": 962,
3180 "QuestionId": 13,
3181 "Text": "Myanmar",
3182 "Value": "Myanmar",
3183 "Order": 122
3184 },
3185 {
3186 "Id": 970,
3187 "QuestionId": 13,
3188 "Text": "Namibia",
3189 "Value": "Namibia",
3190 "Order": 123
3191 },
3192 {
3193 "Id": 978,
3194 "QuestionId": 13,
3195 "Text": "Nauru",
3196 "Value": "Nauru",
3197 "Order": 124
3198 },
3199 {
3200 "Id": 986,
3201 "QuestionId": 13,
3202 "Text": "Nepa",
3203 "Value": "Nepa",
3204 "Order": 125
3205 },
3206 {
3207 "Id": 994,
3208 "QuestionId": 13,
3209 "Text": "Netherlands",
3210 "Value": "Netherlands",
3211 "Order": 126
3212 },
3213 {
3214 "Id": 1002,
3215 "QuestionId": 13,
3216 "Text": "New Zealand",
3217 "Value": "New Zealand",
3218 "Order": 127
3219 },
3220 {
3221 "Id": 1010,
3222 "QuestionId": 13,
3223 "Text": "Nicaragua",
3224 "Value": "Nicaragua",
3225 "Order": 128
3226 },
3227 {
3228 "Id": 1018,
3229 "QuestionId": 13,
3230 "Text": "Niger",
3231 "Value": "Niger",
3232 "Order": 129
3233 },
3234 {
3235 "Id": 1026,
3236 "QuestionId": 13,
3237 "Text": "Nigeria",
3238 "Value": "Nigeria",
3239 "Order": 130
3240 },
3241 {
3242 "Id": 1034,
3243 "QuestionId": 13,
3244 "Text": "Norway",
3245 "Value": "Norway",
3246 "Order": 131
3247 },
3248 {
3249 "Id": 1042,
3250 "QuestionId": 13,
3251 "Text": "Oman",
3252 "Value": "Oman",
3253 "Order": 132
3254 },
3255 {
3256 "Id": 1050,
3257 "QuestionId": 13,
3258 "Text": "Pakistan",
3259 "Value": "Pakistan",
3260 "Order": 133
3261 },
3262 {
3263 "Id": 1058,
3264 "QuestionId": 13,
3265 "Text": "Palau",
3266 "Value": "Palau",
3267 "Order": 134
3268 },
3269 {
3270 "Id": 1066,
3271 "QuestionId": 13,
3272 "Text": "Panama",
3273 "Value": "Panama",
3274 "Order": 135
3275 },
3276 {
3277 "Id": 1074,
3278 "QuestionId": 13,
3279 "Text": "Papua New Guinea",
3280 "Value": "Papua New Guinea",
3281 "Order": 136
3282 },
3283 {
3284 "Id": 1082,
3285 "QuestionId": 13,
3286 "Text": "Paraguay",
3287 "Value": "Paraguay",
3288 "Order": 137
3289 },
3290 {
3291 "Id": 1090,
3292 "QuestionId": 13,
3293 "Text": "Peru",
3294 "Value": "Peru",
3295 "Order": 138
3296 },
3297 {
3298 "Id": 1098,
3299 "QuestionId": 13,
3300 "Text": "Philippines",
3301 "Value": "Philippines",
3302 "Order": 139
3303 },
3304 {
3305 "Id": 1106,
3306 "QuestionId": 13,
3307 "Text": "Poland",
3308 "Value": "Poland",
3309 "Order": 140
3310 },
3311 {
3312 "Id": 1114,
3313 "QuestionId": 13,
3314 "Text": "Portugal",
3315 "Value": "Portugal",
3316 "Order": 141
3317 },
3318 {
3319 "Id": 1122,
3320 "QuestionId": 13,
3321 "Text": "Qatar",
3322 "Value": "Qatar",
3323 "Order": 142
3324 },
3325 {
3326 "Id": 1130,
3327 "QuestionId": 13,
3328 "Text": "Romania",
3329 "Value": "Romania",
3330 "Order": 143
3331 },
3332 {
3333 "Id": 1138,
3334 "QuestionId": 13,
3335 "Text": "Russia",
3336 "Value": "Russia",
3337 "Order": 144
3338 },
3339 {
3340 "Id": 1146,
3341 "QuestionId": 13,
3342 "Text": "Rwanda",
3343 "Value": "Rwanda",
3344 "Order": 145
3345 },
3346 {
3347 "Id": 1154,
3348 "QuestionId": 13,
3349 "Text": "Saint Kitts and Nevis",
3350 "Value": "Saint Kitts and Nevis",
3351 "Order": 146
3352 },
3353 {
3354 "Id": 1162,
3355 "QuestionId": 13,
3356 "Text": "Saint Lucia",
3357 "Value": "Saint Lucia",
3358 "Order": 147
3359 },
3360 {
3361 "Id": 1170,
3362 "QuestionId": 13,
3363 "Text": "Saint Vincent",
3364 "Value": "Saint Vincent",
3365 "Order": 148
3366 },
3367 {
3368 "Id": 1178,
3369 "QuestionId": 13,
3370 "Text": "Samoa",
3371 "Value": "Samoa",
3372 "Order": 149
3373 },
3374 {
3375 "Id": 1186,
3376 "QuestionId": 13,
3377 "Text": "San Marino",
3378 "Value": "San Marino",
3379 "Order": 150
3380 },
3381 {
3382 "Id": 1194,
3383 "QuestionId": 13,
3384 "Text": "Sao Tome and Principe",
3385 "Value": "Sao Tome and Principe",
3386 "Order": 151
3387 },
3388 {
3389 "Id": 1202,
3390 "QuestionId": 13,
3391 "Text": "Saudi Arabia",
3392 "Value": "Saudi Arabia",
3393 "Order": 152
3394 },
3395 {
3396 "Id": 1210,
3397 "QuestionId": 13,
3398 "Text": "Senegal",
3399 "Value": "Senegal",
3400 "Order": 153
3401 },
3402 {
3403 "Id": 1218,
3404 "QuestionId": 13,
3405 "Text": "Serbia and Montenegro",
3406 "Value": "Serbia and Montenegro",
3407 "Order": 154
3408 },
3409 {
3410 "Id": 1226,
3411 "QuestionId": 13,
3412 "Text": "Seychelles",
3413 "Value": "Seychelles",
3414 "Order": 155
3415 },
3416 {
3417 "Id": 1234,
3418 "QuestionId": 13,
3419 "Text": "Sierra Leone",
3420 "Value": "Sierra Leone",
3421 "Order": 156
3422 },
3423 {
3424 "Id": 1242,
3425 "QuestionId": 13,
3426 "Text": "Singapore",
3427 "Value": "Singapore",
3428 "Order": 157
3429 },
3430 {
3431 "Id": 1250,
3432 "QuestionId": 13,
3433 "Text": "Slovakia",
3434 "Value": "Slovakia",
3435 "Order": 158
3436 },
3437 {
3438 "Id": 1258,
3439 "QuestionId": 13,
3440 "Text": "Slovenia",
3441 "Value": "Slovenia",
3442 "Order": 159
3443 },
3444 {
3445 "Id": 1266,
3446 "QuestionId": 13,
3447 "Text": "Solomon Islands",
3448 "Value": "Solomon Islands",
3449 "Order": 160
3450 },
3451 {
3452 "Id": 1274,
3453 "QuestionId": 13,
3454 "Text": "Somalia",
3455 "Value": "Somalia",
3456 "Order": 161
3457 },
3458 {
3459 "Id": 1282,
3460 "QuestionId": 13,
3461 "Text": "South Africa",
3462 "Value": "South Africa",
3463 "Order": 162
3464 },
3465 {
3466 "Id": 1290,
3467 "QuestionId": 13,
3468 "Text": "Spain",
3469 "Value": "Spain",
3470 "Order": 163
3471 },
3472 {
3473 "Id": 1298,
3474 "QuestionId": 13,
3475 "Text": "Sri Lanka",
3476 "Value": "Sri Lanka",
3477 "Order": 164
3478 },
3479 {
3480 "Id": 1306,
3481 "QuestionId": 13,
3482 "Text": "Sudan",
3483 "Value": "Sudan",
3484 "Order": 165
3485 },
3486 {
3487 "Id": 1314,
3488 "QuestionId": 13,
3489 "Text": "Suriname",
3490 "Value": "Suriname",
3491 "Order": 166
3492 },
3493 {
3494 "Id": 1322,
3495 "QuestionId": 13,
3496 "Text": "Swaziland",
3497 "Value": "Swaziland",
3498 "Order": 167
3499 },
3500 {
3501 "Id": 1330,
3502 "QuestionId": 13,
3503 "Text": "Sweden",
3504 "Value": "Sweden",
3505 "Order": 168
3506 },
3507 {
3508 "Id": 1338,
3509 "QuestionId": 13,
3510 "Text": "Switzerland",
3511 "Value": "Switzerland",
3512 "Order": 169
3513 },
3514 {
3515 "Id": 1346,
3516 "QuestionId": 13,
3517 "Text": "Syria",
3518 "Value": "Syria",
3519 "Order": 170
3520 },
3521 {
3522 "Id": 1354,
3523 "QuestionId": 13,
3524 "Text": "Taiwan",
3525 "Value": "Taiwan",
3526 "Order": 171
3527 },
3528 {
3529 "Id": 1362,
3530 "QuestionId": 13,
3531 "Text": "Tajikistan",
3532 "Value": "Tajikistan",
3533 "Order": 172
3534 },
3535 {
3536 "Id": 1370,
3537 "QuestionId": 13,
3538 "Text": "Tanzania",
3539 "Value": "Tanzania",
3540 "Order": 173
3541 },
3542 {
3543 "Id": 1378,
3544 "QuestionId": 13,
3545 "Text": "Thailand",
3546 "Value": "Thailand",
3547 "Order": 174
3548 },
3549 {
3550 "Id": 1386,
3551 "QuestionId": 13,
3552 "Text": "Togo",
3553 "Value": "Togo",
3554 "Order": 175
3555 },
3556 {
3557 "Id": 1394,
3558 "QuestionId": 13,
3559 "Text": "Tonga",
3560 "Value": "Tonga",
3561 "Order": 176
3562 },
3563 {
3564 "Id": 1402,
3565 "QuestionId": 13,
3566 "Text": "Trinidad and Tobago",
3567 "Value": "Trinidad and Tobago",
3568 "Order": 177
3569 },
3570 {
3571 "Id": 1410,
3572 "QuestionId": 13,
3573 "Text": "Tunisia",
3574 "Value": "Tunisia",
3575 "Order": 178
3576 },
3577 {
3578 "Id": 1418,
3579 "QuestionId": 13,
3580 "Text": "Turkey",
3581 "Value": "Turkey",
3582 "Order": 179
3583 },
3584 {
3585 "Id": 1426,
3586 "QuestionId": 13,
3587 "Text": "Turkmenistan",
3588 "Value": "Turkmenistan",
3589 "Order": 180
3590 },
3591 {
3592 "Id": 1434,
3593 "QuestionId": 13,
3594 "Text": "Tuvalu",
3595 "Value": "Tuvalu",
3596 "Order": 181
3597 },
3598 {
3599 "Id": 1442,
3600 "QuestionId": 13,
3601 "Text": "Uganda",
3602 "Value": "Uganda",
3603 "Order": 182
3604 },
3605 {
3606 "Id": 1450,
3607 "QuestionId": 13,
3608 "Text": "Ukraine",
3609 "Value": "Ukraine",
3610 "Order": 183
3611 },
3612 {
3613 "Id": 1458,
3614 "QuestionId": 13,
3615 "Text": "United Arab Emirates",
3616 "Value": "United Arab Emirates",
3617 "Order": 184
3618 },
3619 {
3620 "Id": 1466,
3621 "QuestionId": 13,
3622 "Text": "United Kingdom",
3623 "Value": "United Kingdom",
3624 "Order": 185
3625 },
3626 {
3627 "Id": 1474,
3628 "QuestionId": 13,
3629 "Text": "United States",
3630 "Value": "United States",
3631 "Order": 2
3632 },
3633 {
3634 "Id": 1482,
3635 "QuestionId": 13,
3636 "Text": "Uruguay",
3637 "Value": "Uruguay",
3638 "Order": 186
3639 },
3640 {
3641 "Id": 1490,
3642 "QuestionId": 13,
3643 "Text": "Uzbekistan",
3644 "Value": "Uzbekistan",
3645 "Order": 187
3646 },
3647 {
3648 "Id": 1498,
3649 "QuestionId": 13,
3650 "Text": "Vanuatu",
3651 "Value": "Vanuatu",
3652 "Order": 188
3653 },
3654 {
3655 "Id": 1506,
3656 "QuestionId": 13,
3657 "Text": "Vatican City",
3658 "Value": "Vatican City",
3659 "Order": 189
3660 },
3661 {
3662 "Id": 1514,
3663 "QuestionId": 13,
3664 "Text": "Venezuela",
3665 "Value": "Venezuela",
3666 "Order": 190
3667 },
3668 {
3669 "Id": 1522,
3670 "QuestionId": 13,
3671 "Text": "Vietnam",
3672 "Value": "Vietnam",
3673 "Order": 191
3674 },
3675 {
3676 "Id": 1530,
3677 "QuestionId": 13,
3678 "Text": "Yemen",
3679 "Value": "Yemen",
3680 "Order": 192
3681 },
3682 {
3683 "Id": 1538,
3684 "QuestionId": 13,
3685 "Text": "Zambia",
3686 "Value": "Zambia",
3687 "Order": 193
3688 },
3689 {
3690 "Id": 1546,
3691 "QuestionId": 13,
3692 "Text": "Zimbabwe",
3693 "Value": "Zimbabwe",
3694 "Order": 194
3695 },
3696 {
3697 "Id": 2186,
3698 "QuestionId": 13,
3699 "Text": "British Columbia",
3700 "Value": "British Columbia",
3701 "Order": 195
3702 }
3703 ]
3704 },
3705 {
3706 "Id": 14,
3707 "Text": "Phone",
3708 "Type": "0",
3709 "Alias": "Phone"
3710 },
3711 {
3712 "Id": 15,
3713 "Text": "Fax",
3714 "Type": "0",
3715 "Alias": "Fax"
3716 },
3717 {
3718 "Id": 18,
3719 "Text": " NEW QUESTION",
3720 "Type": "0",
3721 "Alias": ""
3722 },
3723 {
3724 "Id": 26,
3725 "Text": " NEW QUESTION",
3726 "Type": "0",
3727 "Alias": ""
3728 },
3729 {
3730 "Id": 34,
3731 "Text": " NEW QUESTION",
3732 "Type": "0",
3733 "Alias": ""
3734 },
3735 {
3736 "Id": 42,
3737 "Text": " NEW QUESTION",
3738 "Type": "0",
3739 "Alias": ""
3740 },
3741 {
3742 "Id": 50,
3743 "Text": " NEW QUESTION",
3744 "Type": "0",
3745 "Alias": ""
3746 },
3747 {
3748 "Id": 58,
3749 "Text": " NEW QUESTION",
3750 "Type": "0",
3751 "Alias": ""
3752 },
3753 {
3754 "Id": 66,
3755 "Text": " NEW QUESTION",
3756 "Type": "0",
3757 "Alias": ""
3758 },
3759 {
3760 "Id": 74,
3761 "Text": " NEW QUESTION",
3762 "Type": "0",
3763 "Alias": ""
3764 },
3765 {
3766 "Id": 82,
3767 "Text": " NEW QUESTION",
3768 "Type": "0",
3769 "Alias": ""
3770 },
3771 {
3772 "Id": 90,
3773 "Text": " NEW QUESTION",
3774 "Type": "0",
3775 "Alias": ""
3776 }
3777 ]
3778 }
3779 {{/code}}
3780
3781 \\
3782
3783 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
3784 == (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)specific Question(%%) ==
3785
3786 ----
3787
3788 {{panel bgColor="#D3D3D3" width="100%"}}
3789 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/questions/~{~{QUESTION ID}}
3790 {{/panel}}
3791
3792 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
3793
3794 ----
3795
3796 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
3797
3798 ==== Example ====
3799
3800 ----
3801
3802 (% style="color: rgb(107,107,107);" %)Request
3803
3804 {{code language="php" theme="RDark" title="Get specific Question Request" collapse="true"}}
3805 <?php
3806
3807 $curl = curl_init();
3808
3809 curl_setopt_array($curl, array(
3810 CURLOPT_URL => 'rayaan.onecount.net/api/v2/questions/{{QUESTION ID}}',
3811 CURLOPT_RETURNTRANSFER => true,
3812 CURLOPT_ENCODING => '',
3813 CURLOPT_MAXREDIRS => 10,
3814 CURLOPT_TIMEOUT => 0,
3815 CURLOPT_FOLLOWLOCATION => true,
3816 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
3817 CURLOPT_CUSTOMREQUEST => 'GET',
3818 CURLOPT_HTTPHEADER => array(
3819 'Appkey: {{ONECOUNT API KEY}}'
3820 ),
3821 ));
3822
3823 $response = curl_exec($curl);
3824
3825 curl_close($curl);
3826 echo $response;
3827 {{/code}}
3828
3829 \\
3830
3831 (% style="color: rgb(107,107,107);" %)Response  200 OK
3832
3833 {{code language="yml" theme="RDark" title="Get specific question Response" collapse="true"}}
3834 {
3835 "result": {
3836 "success": "1",
3837 "error": {
3838 "code": "",
3839 "message": ""
3840 }
3841 },
3842 "Questions": [
3843 {
3844 "Id": 3,
3845 "Text": "Password",
3846 "Type": "2",
3847 "Alias": "Password"
3848 }
3849 ]
3850 }
3851 {{/code}}
3852
3853 \\
3854
3855 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
3856 == (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)lookup question by text(%%) ==
3857
3858 ----
3859
3860 {{panel bgColor="#D3D3D3" width="100%"}}
3861 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/questions/lookup?Text=COUNTRY
3862 {{/panel}}
3863
3864 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
3865
3866 ----
3867
3868 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
3869
3870 === (% style="color: rgb(33,33,33);" %)Query Params(%%) ===
3871
3872 ----
3873
3874 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Text  COUNTRY(%%)
3875 \\
3876
3877 ==== Example ====
3878
3879 ----
3880
3881 (% style="color: rgb(107,107,107);" %)Request
3882
3883 {{code language="php" theme="RDark" title="Lookup question by text Request" collapse="true"}}
3884 <?php
3885
3886 $curl = curl_init();
3887
3888 curl_setopt_array($curl, array(
3889 CURLOPT_URL => 'rayaan.onecount.net/api/v2/questions/lookup?Text=COUNTRY',
3890 CURLOPT_RETURNTRANSFER => true,
3891 CURLOPT_ENCODING => '',
3892 CURLOPT_MAXREDIRS => 10,
3893 CURLOPT_TIMEOUT => 0,
3894 CURLOPT_FOLLOWLOCATION => true,
3895 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
3896 CURLOPT_CUSTOMREQUEST => 'GET',
3897 CURLOPT_HTTPHEADER => array(
3898 'Appkey: {{ONECOUNT API KEY}}'
3899 ),
3900 ));
3901
3902 $response = curl_exec($curl);
3903
3904 curl_close($curl);
3905 echo $response;
3906 {{/code}}
3907
3908 \\
3909
3910 (% style="color: rgb(107,107,107);" %)Response  200 OK
3911
3912 {{code language="yml" theme="RDark" title="Lookup question by title Response" collapse="true"}}
3913 {
3914 "result": {
3915 "success": "1",
3916 "error": {
3917 "code": "",
3918 "message": ""
3919 }
3920 },
3921 "Questions": [
3922 {
3923 "Id": 13,
3924 "Text": "Country",
3925 "Type": "4",
3926 "Alias": "Country",
3927 "Choices": [
3928 {
3929 "Id": 2,
3930 "QuestionId": 13,
3931 "Text": "Select One",
3932 "Value": "",
3933 "Order": 1
3934 },
3935 {
3936 "Id": 10,
3937 "QuestionId": 13,
3938 "Text": "Afghanistan",
3939 "Value": "Afghanistan",
3940 "Order": 3
3941 },
3942 {
3943 "Id": 18,
3944 "QuestionId": 13,
3945 "Text": "Albania",
3946 "Value": "Albania",
3947 "Order": 4
3948 },
3949 {
3950 "Id": 26,
3951 "QuestionId": 13,
3952 "Text": "Algeria",
3953 "Value": "Algeria",
3954 "Order": 5
3955 },
3956 {
3957 "Id": 34,
3958 "QuestionId": 13,
3959 "Text": "Andorra",
3960 "Value": "Andorra",
3961 "Order": 6
3962 },
3963 {
3964 "Id": 42,
3965 "QuestionId": 13,
3966 "Text": "Angola",
3967 "Value": "Angola",
3968 "Order": 7
3969 },
3970 {
3971 "Id": 50,
3972 "QuestionId": 13,
3973 "Text": "Antigua and Barbuda",
3974 "Value": "Antigua and Barbuda",
3975 "Order": 8
3976 },
3977 {
3978 "Id": 58,
3979 "QuestionId": 13,
3980 "Text": "Argentina",
3981 "Value": "Argentina",
3982 "Order": 9
3983 },
3984 {
3985 "Id": 66,
3986 "QuestionId": 13,
3987 "Text": "Armenia",
3988 "Value": "Armenia",
3989 "Order": 10
3990 },
3991 {
3992 "Id": 74,
3993 "QuestionId": 13,
3994 "Text": "Australia",
3995 "Value": "Australia",
3996 "Order": 11
3997 },
3998 {
3999 "Id": 82,
4000 "QuestionId": 13,
4001 "Text": "Austria",
4002 "Value": "Austria",
4003 "Order": 12
4004 },
4005 {
4006 "Id": 90,
4007 "QuestionId": 13,
4008 "Text": "Azerbaijan",
4009 "Value": "Azerbaijan",
4010 "Order": 13
4011 },
4012 {
4013 "Id": 98,
4014 "QuestionId": 13,
4015 "Text": "Bahamas",
4016 "Value": "Bahamas",
4017 "Order": 14
4018 },
4019 {
4020 "Id": 106,
4021 "QuestionId": 13,
4022 "Text": "Bahrain",
4023 "Value": "Bahrain",
4024 "Order": 15
4025 },
4026 {
4027 "Id": 114,
4028 "QuestionId": 13,
4029 "Text": "Bangladesh",
4030 "Value": "Bangladesh",
4031 "Order": 16
4032 },
4033 {
4034 "Id": 122,
4035 "QuestionId": 13,
4036 "Text": "Barbados",
4037 "Value": "Barbados",
4038 "Order": 17
4039 },
4040 {
4041 "Id": 130,
4042 "QuestionId": 13,
4043 "Text": "Belarus",
4044 "Value": "Belarus",
4045 "Order": 18
4046 },
4047 {
4048 "Id": 138,
4049 "QuestionId": 13,
4050 "Text": "Belgium",
4051 "Value": "Belgium",
4052 "Order": 19
4053 },
4054 {
4055 "Id": 146,
4056 "QuestionId": 13,
4057 "Text": "Belize",
4058 "Value": "Belize",
4059 "Order": 20
4060 },
4061 {
4062 "Id": 154,
4063 "QuestionId": 13,
4064 "Text": "Benin",
4065 "Value": "Benin",
4066 "Order": 21
4067 },
4068 {
4069 "Id": 162,
4070 "QuestionId": 13,
4071 "Text": "Bhutan",
4072 "Value": "Bhutan",
4073 "Order": 22
4074 },
4075 {
4076 "Id": 170,
4077 "QuestionId": 13,
4078 "Text": "Bolivia",
4079 "Value": "Bolivia",
4080 "Order": 23
4081 },
4082 {
4083 "Id": 178,
4084 "QuestionId": 13,
4085 "Text": "Bosnia and Herzegovina",
4086 "Value": "Bosnia and Herzegovina",
4087 "Order": 24
4088 },
4089 {
4090 "Id": 186,
4091 "QuestionId": 13,
4092 "Text": "Botswana",
4093 "Value": "Botswana",
4094 "Order": 25
4095 },
4096 {
4097 "Id": 194,
4098 "QuestionId": 13,
4099 "Text": "Brazil",
4100 "Value": "Brazil",
4101 "Order": 26
4102 },
4103 {
4104 "Id": 202,
4105 "QuestionId": 13,
4106 "Text": "Brunei",
4107 "Value": "Brunei",
4108 "Order": 27
4109 },
4110 {
4111 "Id": 210,
4112 "QuestionId": 13,
4113 "Text": "Bulgaria",
4114 "Value": "Bulgaria",
4115 "Order": 28
4116 },
4117 {
4118 "Id": 218,
4119 "QuestionId": 13,
4120 "Text": "Burkina Faso",
4121 "Value": "Burkina Faso",
4122 "Order": 29
4123 },
4124 {
4125 "Id": 226,
4126 "QuestionId": 13,
4127 "Text": "Burundi",
4128 "Value": "Burundi",
4129 "Order": 30
4130 },
4131 {
4132 "Id": 234,
4133 "QuestionId": 13,
4134 "Text": "Cambodia",
4135 "Value": "Cambodia",
4136 "Order": 31
4137 },
4138 {
4139 "Id": 242,
4140 "QuestionId": 13,
4141 "Text": "Cameroon",
4142 "Value": "Cameroon",
4143 "Order": 32
4144 },
4145 {
4146 "Id": 250,
4147 "QuestionId": 13,
4148 "Text": "Canada",
4149 "Value": "Canada",
4150 "Order": 33
4151 },
4152 {
4153 "Id": 258,
4154 "QuestionId": 13,
4155 "Text": "Cape Verde",
4156 "Value": "Cape Verde",
4157 "Order": 34
4158 },
4159 {
4160 "Id": 266,
4161 "QuestionId": 13,
4162 "Text": "Central African Republic",
4163 "Value": "Central African Republic",
4164 "Order": 35
4165 },
4166 {
4167 "Id": 274,
4168 "QuestionId": 13,
4169 "Text": "Chad",
4170 "Value": "Chad",
4171 "Order": 36
4172 },
4173 {
4174 "Id": 282,
4175 "QuestionId": 13,
4176 "Text": "Chile",
4177 "Value": "Chile",
4178 "Order": 37
4179 },
4180 {
4181 "Id": 290,
4182 "QuestionId": 13,
4183 "Text": "China",
4184 "Value": "China",
4185 "Order": 38
4186 },
4187 {
4188 "Id": 298,
4189 "QuestionId": 13,
4190 "Text": "Colombia",
4191 "Value": "Colombia",
4192 "Order": 39
4193 },
4194 {
4195 "Id": 306,
4196 "QuestionId": 13,
4197 "Text": "Comoros",
4198 "Value": "Comoros",
4199 "Order": 40
4200 },
4201 {
4202 "Id": 314,
4203 "QuestionId": 13,
4204 "Text": "Congo (Brazzaville)",
4205 "Value": "Congo (Brazzaville)",
4206 "Order": 41
4207 },
4208 {
4209 "Id": 322,
4210 "QuestionId": 13,
4211 "Text": "Congo",
4212 "Value": "Congo",
4213 "Order": 42
4214 },
4215 {
4216 "Id": 330,
4217 "QuestionId": 13,
4218 "Text": "Costa Rica",
4219 "Value": "Costa Rica",
4220 "Order": 43
4221 },
4222 {
4223 "Id": 338,
4224 "QuestionId": 13,
4225 "Text": "Cote d'Ivoire",
4226 "Value": "Cote d'Ivoire",
4227 "Order": 44
4228 },
4229 {
4230 "Id": 346,
4231 "QuestionId": 13,
4232 "Text": "Croatia",
4233 "Value": "Croatia",
4234 "Order": 45
4235 },
4236 {
4237 "Id": 354,
4238 "QuestionId": 13,
4239 "Text": "Cuba",
4240 "Value": "Cuba",
4241 "Order": 46
4242 },
4243 {
4244 "Id": 362,
4245 "QuestionId": 13,
4246 "Text": "Cyprus",
4247 "Value": "Cyprus",
4248 "Order": 47
4249 },
4250 {
4251 "Id": 370,
4252 "QuestionId": 13,
4253 "Text": "Czech Republic",
4254 "Value": "Czech Republic",
4255 "Order": 48
4256 },
4257 {
4258 "Id": 378,
4259 "QuestionId": 13,
4260 "Text": "Denmark",
4261 "Value": "Denmark",
4262 "Order": 49
4263 },
4264 {
4265 "Id": 386,
4266 "QuestionId": 13,
4267 "Text": "Djibouti",
4268 "Value": "Djibouti",
4269 "Order": 50
4270 },
4271 {
4272 "Id": 394,
4273 "QuestionId": 13,
4274 "Text": "Dominica",
4275 "Value": "Dominica",
4276 "Order": 51
4277 },
4278 {
4279 "Id": 402,
4280 "QuestionId": 13,
4281 "Text": "Dominican Republic",
4282 "Value": "Dominican Republic",
4283 "Order": 52
4284 },
4285 {
4286 "Id": 410,
4287 "QuestionId": 13,
4288 "Text": "East Timor",
4289 "Value": "East Timor",
4290 "Order": 53
4291 },
4292 {
4293 "Id": 418,
4294 "QuestionId": 13,
4295 "Text": "Ecuador",
4296 "Value": "Ecuador",
4297 "Order": 54
4298 },
4299 {
4300 "Id": 426,
4301 "QuestionId": 13,
4302 "Text": "Egypt",
4303 "Value": "Egypt",
4304 "Order": 55
4305 },
4306 {
4307 "Id": 434,
4308 "QuestionId": 13,
4309 "Text": "El Salvador",
4310 "Value": "El Salvador",
4311 "Order": 56
4312 },
4313 {
4314 "Id": 442,
4315 "QuestionId": 13,
4316 "Text": "Equatorial Guinea",
4317 "Value": "Equatorial Guinea",
4318 "Order": 57
4319 },
4320 {
4321 "Id": 450,
4322 "QuestionId": 13,
4323 "Text": "Eritrea",
4324 "Value": "Eritrea",
4325 "Order": 58
4326 },
4327 {
4328 "Id": 458,
4329 "QuestionId": 13,
4330 "Text": "Estonia",
4331 "Value": "Estonia",
4332 "Order": 59
4333 },
4334 {
4335 "Id": 466,
4336 "QuestionId": 13,
4337 "Text": "Ethiopia",
4338 "Value": "Ethiopia",
4339 "Order": 60
4340 },
4341 {
4342 "Id": 474,
4343 "QuestionId": 13,
4344 "Text": "Fiji",
4345 "Value": "Fiji",
4346 "Order": 61
4347 },
4348 {
4349 "Id": 482,
4350 "QuestionId": 13,
4351 "Text": "Finland",
4352 "Value": "Finland",
4353 "Order": 62
4354 },
4355 {
4356 "Id": 490,
4357 "QuestionId": 13,
4358 "Text": "France",
4359 "Value": "France",
4360 "Order": 63
4361 },
4362 {
4363 "Id": 498,
4364 "QuestionId": 13,
4365 "Text": "Gabon",
4366 "Value": "Gabon",
4367 "Order": 64
4368 },
4369 {
4370 "Id": 506,
4371 "QuestionId": 13,
4372 "Text": "Gambia, The",
4373 "Value": "Gambia, The",
4374 "Order": 65
4375 },
4376 {
4377 "Id": 514,
4378 "QuestionId": 13,
4379 "Text": "Georgia",
4380 "Value": "Georgia",
4381 "Order": 66
4382 },
4383 {
4384 "Id": 522,
4385 "QuestionId": 13,
4386 "Text": "Germany",
4387 "Value": "Germany",
4388 "Order": 67
4389 },
4390 {
4391 "Id": 530,
4392 "QuestionId": 13,
4393 "Text": "Ghana",
4394 "Value": "Ghana",
4395 "Order": 68
4396 },
4397 {
4398 "Id": 538,
4399 "QuestionId": 13,
4400 "Text": "Greece",
4401 "Value": "Greece",
4402 "Order": 69
4403 },
4404 {
4405 "Id": 546,
4406 "QuestionId": 13,
4407 "Text": "Grenada",
4408 "Value": "Grenada",
4409 "Order": 70
4410 },
4411 {
4412 "Id": 554,
4413 "QuestionId": 13,
4414 "Text": "Guatemala",
4415 "Value": "Guatemala",
4416 "Order": 71
4417 },
4418 {
4419 "Id": 562,
4420 "QuestionId": 13,
4421 "Text": "Guinea",
4422 "Value": "Guinea",
4423 "Order": 72
4424 },
4425 {
4426 "Id": 570,
4427 "QuestionId": 13,
4428 "Text": "Guinea-Bissau",
4429 "Value": "Guinea-Bissau",
4430 "Order": 73
4431 },
4432 {
4433 "Id": 578,
4434 "QuestionId": 13,
4435 "Text": "Guyana",
4436 "Value": "Guyana",
4437 "Order": 74
4438 },
4439 {
4440 "Id": 586,
4441 "QuestionId": 13,
4442 "Text": "Haiti",
4443 "Value": "Haiti",
4444 "Order": 75
4445 },
4446 {
4447 "Id": 594,
4448 "QuestionId": 13,
4449 "Text": "Honduras",
4450 "Value": "Honduras",
4451 "Order": 76
4452 },
4453 {
4454 "Id": 602,
4455 "QuestionId": 13,
4456 "Text": "Hungary",
4457 "Value": "Hungary",
4458 "Order": 77
4459 },
4460 {
4461 "Id": 610,
4462 "QuestionId": 13,
4463 "Text": "Iceland",
4464 "Value": "Iceland",
4465 "Order": 78
4466 },
4467 {
4468 "Id": 618,
4469 "QuestionId": 13,
4470 "Text": "India",
4471 "Value": "India",
4472 "Order": 79
4473 },
4474 {
4475 "Id": 626,
4476 "QuestionId": 13,
4477 "Text": "Indonesia",
4478 "Value": "Indonesia",
4479 "Order": 80
4480 },
4481 {
4482 "Id": 634,
4483 "QuestionId": 13,
4484 "Text": "Iran",
4485 "Value": "Iran",
4486 "Order": 81
4487 },
4488 {
4489 "Id": 642,
4490 "QuestionId": 13,
4491 "Text": "Iraq",
4492 "Value": "Iraq",
4493 "Order": 82
4494 },
4495 {
4496 "Id": 650,
4497 "QuestionId": 13,
4498 "Text": "Ireland",
4499 "Value": "Ireland",
4500 "Order": 83
4501 },
4502 {
4503 "Id": 658,
4504 "QuestionId": 13,
4505 "Text": "Israel",
4506 "Value": "Israel",
4507 "Order": 84
4508 },
4509 {
4510 "Id": 666,
4511 "QuestionId": 13,
4512 "Text": "Italy",
4513 "Value": "Italy",
4514 "Order": 85
4515 },
4516 {
4517 "Id": 674,
4518 "QuestionId": 13,
4519 "Text": "Jamaica",
4520 "Value": "Jamaica",
4521 "Order": 86
4522 },
4523 {
4524 "Id": 682,
4525 "QuestionId": 13,
4526 "Text": "Japan",
4527 "Value": "Japan",
4528 "Order": 87
4529 },
4530 {
4531 "Id": 690,
4532 "QuestionId": 13,
4533 "Text": "Jordan",
4534 "Value": "Jordan",
4535 "Order": 88
4536 },
4537 {
4538 "Id": 698,
4539 "QuestionId": 13,
4540 "Text": "Kazakhstan",
4541 "Value": "Kazakhstan",
4542 "Order": 89
4543 },
4544 {
4545 "Id": 706,
4546 "QuestionId": 13,
4547 "Text": "Kenya",
4548 "Value": "Kenya",
4549 "Order": 90
4550 },
4551 {
4552 "Id": 714,
4553 "QuestionId": 13,
4554 "Text": "Kiribati",
4555 "Value": "Kiribati",
4556 "Order": 91
4557 },
4558 {
4559 "Id": 722,
4560 "QuestionId": 13,
4561 "Text": "Korea, North",
4562 "Value": "Korea, North",
4563 "Order": 92
4564 },
4565 {
4566 "Id": 730,
4567 "QuestionId": 13,
4568 "Text": "Korea, South",
4569 "Value": "Korea, South",
4570 "Order": 93
4571 },
4572 {
4573 "Id": 738,
4574 "QuestionId": 13,
4575 "Text": "Kuwait",
4576 "Value": "Kuwait",
4577 "Order": 94
4578 },
4579 {
4580 "Id": 746,
4581 "QuestionId": 13,
4582 "Text": "Kyrgyzstan",
4583 "Value": "Kyrgyzstan",
4584 "Order": 95
4585 },
4586 {
4587 "Id": 754,
4588 "QuestionId": 13,
4589 "Text": "Laos",
4590 "Value": "Laos",
4591 "Order": 96
4592 },
4593 {
4594 "Id": 762,
4595 "QuestionId": 13,
4596 "Text": "Latvia",
4597 "Value": "Latvia",
4598 "Order": 97
4599 },
4600 {
4601 "Id": 770,
4602 "QuestionId": 13,
4603 "Text": "Lebanon",
4604 "Value": "Lebanon",
4605 "Order": 98
4606 },
4607 {
4608 "Id": 778,
4609 "QuestionId": 13,
4610 "Text": "Lesotho",
4611 "Value": "Lesotho",
4612 "Order": 99
4613 },
4614 {
4615 "Id": 786,
4616 "QuestionId": 13,
4617 "Text": "Liberia",
4618 "Value": "Liberia",
4619 "Order": 100
4620 },
4621 {
4622 "Id": 794,
4623 "QuestionId": 13,
4624 "Text": "Libya",
4625 "Value": "Libya",
4626 "Order": 101
4627 },
4628 {
4629 "Id": 802,
4630 "QuestionId": 13,
4631 "Text": "Liechtenstein",
4632 "Value": "Liechtenstein",
4633 "Order": 102
4634 },
4635 {
4636 "Id": 810,
4637 "QuestionId": 13,
4638 "Text": "Lithuania",
4639 "Value": "Lithuania",
4640 "Order": 103
4641 },
4642 {
4643 "Id": 818,
4644 "QuestionId": 13,
4645 "Text": "Luxembourg",
4646 "Value": "Luxembourg",
4647 "Order": 104
4648 },
4649 {
4650 "Id": 826,
4651 "QuestionId": 13,
4652 "Text": "Macedonia",
4653 "Value": "Macedonia",
4654 "Order": 105
4655 },
4656 {
4657 "Id": 834,
4658 "QuestionId": 13,
4659 "Text": "Madagascar",
4660 "Value": "Madagascar",
4661 "Order": 106
4662 },
4663 {
4664 "Id": 842,
4665 "QuestionId": 13,
4666 "Text": "Malawi",
4667 "Value": "Malawi",
4668 "Order": 107
4669 },
4670 {
4671 "Id": 850,
4672 "QuestionId": 13,
4673 "Text": "Malaysia",
4674 "Value": "Malaysia",
4675 "Order": 108
4676 },
4677 {
4678 "Id": 858,
4679 "QuestionId": 13,
4680 "Text": "Maldives",
4681 "Value": "Maldives",
4682 "Order": 109
4683 },
4684 {
4685 "Id": 866,
4686 "QuestionId": 13,
4687 "Text": "Mali",
4688 "Value": "Mali",
4689 "Order": 110
4690 },
4691 {
4692 "Id": 874,
4693 "QuestionId": 13,
4694 "Text": "Malta",
4695 "Value": "Malta",
4696 "Order": 111
4697 },
4698 {
4699 "Id": 882,
4700 "QuestionId": 13,
4701 "Text": "Marshall Islands",
4702 "Value": "Marshall Islands",
4703 "Order": 112
4704 },
4705 {
4706 "Id": 890,
4707 "QuestionId": 13,
4708 "Text": "Mauritania",
4709 "Value": "Mauritania",
4710 "Order": 113
4711 },
4712 {
4713 "Id": 898,
4714 "QuestionId": 13,
4715 "Text": "Mauritius",
4716 "Value": "Mauritius",
4717 "Order": 114
4718 },
4719 {
4720 "Id": 906,
4721 "QuestionId": 13,
4722 "Text": "Mexico",
4723 "Value": "Mexico",
4724 "Order": 115
4725 },
4726 {
4727 "Id": 914,
4728 "QuestionId": 13,
4729 "Text": "Micronesia",
4730 "Value": "Micronesia",
4731 "Order": 116
4732 },
4733 {
4734 "Id": 922,
4735 "QuestionId": 13,
4736 "Text": "Moldova",
4737 "Value": "Moldova",
4738 "Order": 117
4739 },
4740 {
4741 "Id": 930,
4742 "QuestionId": 13,
4743 "Text": "Monaco",
4744 "Value": "Monaco",
4745 "Order": 118
4746 },
4747 {
4748 "Id": 938,
4749 "QuestionId": 13,
4750 "Text": "Mongolia",
4751 "Value": "Mongolia",
4752 "Order": 119
4753 },
4754 {
4755 "Id": 946,
4756 "QuestionId": 13,
4757 "Text": "Morocco",
4758 "Value": "Morocco",
4759 "Order": 120
4760 },
4761 {
4762 "Id": 954,
4763 "QuestionId": 13,
4764 "Text": "Mozambique",
4765 "Value": "Mozambique",
4766 "Order": 121
4767 },
4768 {
4769 "Id": 962,
4770 "QuestionId": 13,
4771 "Text": "Myanmar",
4772 "Value": "Myanmar",
4773 "Order": 122
4774 },
4775 {
4776 "Id": 970,
4777 "QuestionId": 13,
4778 "Text": "Namibia",
4779 "Value": "Namibia",
4780 "Order": 123
4781 },
4782 {
4783 "Id": 978,
4784 "QuestionId": 13,
4785 "Text": "Nauru",
4786 "Value": "Nauru",
4787 "Order": 124
4788 },
4789 {
4790 "Id": 986,
4791 "QuestionId": 13,
4792 "Text": "Nepa",
4793 "Value": "Nepa",
4794 "Order": 125
4795 },
4796 {
4797 "Id": 994,
4798 "QuestionId": 13,
4799 "Text": "Netherlands",
4800 "Value": "Netherlands",
4801 "Order": 126
4802 },
4803 {
4804 "Id": 1002,
4805 "QuestionId": 13,
4806 "Text": "New Zealand",
4807 "Value": "New Zealand",
4808 "Order": 127
4809 },
4810 {
4811 "Id": 1010,
4812 "QuestionId": 13,
4813 "Text": "Nicaragua",
4814 "Value": "Nicaragua",
4815 "Order": 128
4816 },
4817 {
4818 "Id": 1018,
4819 "QuestionId": 13,
4820 "Text": "Niger",
4821 "Value": "Niger",
4822 "Order": 129
4823 },
4824 {
4825 "Id": 1026,
4826 "QuestionId": 13,
4827 "Text": "Nigeria",
4828 "Value": "Nigeria",
4829 "Order": 130
4830 },
4831 {
4832 "Id": 1034,
4833 "QuestionId": 13,
4834 "Text": "Norway",
4835 "Value": "Norway",
4836 "Order": 131
4837 },
4838 {
4839 "Id": 1042,
4840 "QuestionId": 13,
4841 "Text": "Oman",
4842 "Value": "Oman",
4843 "Order": 132
4844 },
4845 {
4846 "Id": 1050,
4847 "QuestionId": 13,
4848 "Text": "Pakistan",
4849 "Value": "Pakistan",
4850 "Order": 133
4851 },
4852 {
4853 "Id": 1058,
4854 "QuestionId": 13,
4855 "Text": "Palau",
4856 "Value": "Palau",
4857 "Order": 134
4858 },
4859 {
4860 "Id": 1066,
4861 "QuestionId": 13,
4862 "Text": "Panama",
4863 "Value": "Panama",
4864 "Order": 135
4865 },
4866 {
4867 "Id": 1074,
4868 "QuestionId": 13,
4869 "Text": "Papua New Guinea",
4870 "Value": "Papua New Guinea",
4871 "Order": 136
4872 },
4873 {
4874 "Id": 1082,
4875 "QuestionId": 13,
4876 "Text": "Paraguay",
4877 "Value": "Paraguay",
4878 "Order": 137
4879 },
4880 {
4881 "Id": 1090,
4882 "QuestionId": 13,
4883 "Text": "Peru",
4884 "Value": "Peru",
4885 "Order": 138
4886 },
4887 {
4888 "Id": 1098,
4889 "QuestionId": 13,
4890 "Text": "Philippines",
4891 "Value": "Philippines",
4892 "Order": 139
4893 },
4894 {
4895 "Id": 1106,
4896 "QuestionId": 13,
4897 "Text": "Poland",
4898 "Value": "Poland",
4899 "Order": 140
4900 },
4901 {
4902 "Id": 1114,
4903 "QuestionId": 13,
4904 "Text": "Portugal",
4905 "Value": "Portugal",
4906 "Order": 141
4907 },
4908 {
4909 "Id": 1122,
4910 "QuestionId": 13,
4911 "Text": "Qatar",
4912 "Value": "Qatar",
4913 "Order": 142
4914 },
4915 {
4916 "Id": 1130,
4917 "QuestionId": 13,
4918 "Text": "Romania",
4919 "Value": "Romania",
4920 "Order": 143
4921 },
4922 {
4923 "Id": 1138,
4924 "QuestionId": 13,
4925 "Text": "Russia",
4926 "Value": "Russia",
4927 "Order": 144
4928 },
4929 {
4930 "Id": 1146,
4931 "QuestionId": 13,
4932 "Text": "Rwanda",
4933 "Value": "Rwanda",
4934 "Order": 145
4935 },
4936 {
4937 "Id": 1154,
4938 "QuestionId": 13,
4939 "Text": "Saint Kitts and Nevis",
4940 "Value": "Saint Kitts and Nevis",
4941 "Order": 146
4942 },
4943 {
4944 "Id": 1162,
4945 "QuestionId": 13,
4946 "Text": "Saint Lucia",
4947 "Value": "Saint Lucia",
4948 "Order": 147
4949 },
4950 {
4951 "Id": 1170,
4952 "QuestionId": 13,
4953 "Text": "Saint Vincent",
4954 "Value": "Saint Vincent",
4955 "Order": 148
4956 },
4957 {
4958 "Id": 1178,
4959 "QuestionId": 13,
4960 "Text": "Samoa",
4961 "Value": "Samoa",
4962 "Order": 149
4963 },
4964 {
4965 "Id": 1186,
4966 "QuestionId": 13,
4967 "Text": "San Marino",
4968 "Value": "San Marino",
4969 "Order": 150
4970 },
4971 {
4972 "Id": 1194,
4973 "QuestionId": 13,
4974 "Text": "Sao Tome and Principe",
4975 "Value": "Sao Tome and Principe",
4976 "Order": 151
4977 },
4978 {
4979 "Id": 1202,
4980 "QuestionId": 13,
4981 "Text": "Saudi Arabia",
4982 "Value": "Saudi Arabia",
4983 "Order": 152
4984 },
4985 {
4986 "Id": 1210,
4987 "QuestionId": 13,
4988 "Text": "Senegal",
4989 "Value": "Senegal",
4990 "Order": 153
4991 },
4992 {
4993 "Id": 1218,
4994 "QuestionId": 13,
4995 "Text": "Serbia and Montenegro",
4996 "Value": "Serbia and Montenegro",
4997 "Order": 154
4998 },
4999 {
5000 "Id": 1226,
5001 "QuestionId": 13,
5002 "Text": "Seychelles",
5003 "Value": "Seychelles",
5004 "Order": 155
5005 },
5006 {
5007 "Id": 1234,
5008 "QuestionId": 13,
5009 "Text": "Sierra Leone",
5010 "Value": "Sierra Leone",
5011 "Order": 156
5012 },
5013 {
5014 "Id": 1242,
5015 "QuestionId": 13,
5016 "Text": "Singapore",
5017 "Value": "Singapore",
5018 "Order": 157
5019 },
5020 {
5021 "Id": 1250,
5022 "QuestionId": 13,
5023 "Text": "Slovakia",
5024 "Value": "Slovakia",
5025 "Order": 158
5026 },
5027 {
5028 "Id": 1258,
5029 "QuestionId": 13,
5030 "Text": "Slovenia",
5031 "Value": "Slovenia",
5032 "Order": 159
5033 },
5034 {
5035 "Id": 1266,
5036 "QuestionId": 13,
5037 "Text": "Solomon Islands",
5038 "Value": "Solomon Islands",
5039 "Order": 160
5040 },
5041 {
5042 "Id": 1274,
5043 "QuestionId": 13,
5044 "Text": "Somalia",
5045 "Value": "Somalia",
5046 "Order": 161
5047 },
5048 {
5049 "Id": 1282,
5050 "QuestionId": 13,
5051 "Text": "South Africa",
5052 "Value": "South Africa",
5053 "Order": 162
5054 },
5055 {
5056 "Id": 1290,
5057 "QuestionId": 13,
5058 "Text": "Spain",
5059 "Value": "Spain",
5060 "Order": 163
5061 },
5062 {
5063 "Id": 1298,
5064 "QuestionId": 13,
5065 "Text": "Sri Lanka",
5066 "Value": "Sri Lanka",
5067 "Order": 164
5068 },
5069 {
5070 "Id": 1306,
5071 "QuestionId": 13,
5072 "Text": "Sudan",
5073 "Value": "Sudan",
5074 "Order": 165
5075 },
5076 {
5077 "Id": 1314,
5078 "QuestionId": 13,
5079 "Text": "Suriname",
5080 "Value": "Suriname",
5081 "Order": 166
5082 },
5083 {
5084 "Id": 1322,
5085 "QuestionId": 13,
5086 "Text": "Swaziland",
5087 "Value": "Swaziland",
5088 "Order": 167
5089 },
5090 {
5091 "Id": 1330,
5092 "QuestionId": 13,
5093 "Text": "Sweden",
5094 "Value": "Sweden",
5095 "Order": 168
5096 },
5097 {
5098 "Id": 1338,
5099 "QuestionId": 13,
5100 "Text": "Switzerland",
5101 "Value": "Switzerland",
5102 "Order": 169
5103 },
5104 {
5105 "Id": 1346,
5106 "QuestionId": 13,
5107 "Text": "Syria",
5108 "Value": "Syria",
5109 "Order": 170
5110 },
5111 {
5112 "Id": 1354,
5113 "QuestionId": 13,
5114 "Text": "Taiwan",
5115 "Value": "Taiwan",
5116 "Order": 171
5117 },
5118 {
5119 "Id": 1362,
5120 "QuestionId": 13,
5121 "Text": "Tajikistan",
5122 "Value": "Tajikistan",
5123 "Order": 172
5124 },
5125 {
5126 "Id": 1370,
5127 "QuestionId": 13,
5128 "Text": "Tanzania",
5129 "Value": "Tanzania",
5130 "Order": 173
5131 },
5132 {
5133 "Id": 1378,
5134 "QuestionId": 13,
5135 "Text": "Thailand",
5136 "Value": "Thailand",
5137 "Order": 174
5138 },
5139 {
5140 "Id": 1386,
5141 "QuestionId": 13,
5142 "Text": "Togo",
5143 "Value": "Togo",
5144 "Order": 175
5145 },
5146 {
5147 "Id": 1394,
5148 "QuestionId": 13,
5149 "Text": "Tonga",
5150 "Value": "Tonga",
5151 "Order": 176
5152 },
5153 {
5154 "Id": 1402,
5155 "QuestionId": 13,
5156 "Text": "Trinidad and Tobago",
5157 "Value": "Trinidad and Tobago",
5158 "Order": 177
5159 },
5160 {
5161 "Id": 1410,
5162 "QuestionId": 13,
5163 "Text": "Tunisia",
5164 "Value": "Tunisia",
5165 "Order": 178
5166 },
5167 {
5168 "Id": 1418,
5169 "QuestionId": 13,
5170 "Text": "Turkey",
5171 "Value": "Turkey",
5172 "Order": 179
5173 },
5174 {
5175 "Id": 1426,
5176 "QuestionId": 13,
5177 "Text": "Turkmenistan",
5178 "Value": "Turkmenistan",
5179 "Order": 180
5180 },
5181 {
5182 "Id": 1434,
5183 "QuestionId": 13,
5184 "Text": "Tuvalu",
5185 "Value": "Tuvalu",
5186 "Order": 181
5187 },
5188 {
5189 "Id": 1442,
5190 "QuestionId": 13,
5191 "Text": "Uganda",
5192 "Value": "Uganda",
5193 "Order": 182
5194 },
5195 {
5196 "Id": 1450,
5197 "QuestionId": 13,
5198 "Text": "Ukraine",
5199 "Value": "Ukraine",
5200 "Order": 183
5201 },
5202 {
5203 "Id": 1458,
5204 "QuestionId": 13,
5205 "Text": "United Arab Emirates",
5206 "Value": "United Arab Emirates",
5207 "Order": 184
5208 },
5209 {
5210 "Id": 1466,
5211 "QuestionId": 13,
5212 "Text": "United Kingdom",
5213 "Value": "United Kingdom",
5214 "Order": 185
5215 },
5216 {
5217 "Id": 1474,
5218 "QuestionId": 13,
5219 "Text": "United States",
5220 "Value": "United States",
5221 "Order": 2
5222 },
5223 {
5224 "Id": 1482,
5225 "QuestionId": 13,
5226 "Text": "Uruguay",
5227 "Value": "Uruguay",
5228 "Order": 186
5229 },
5230 {
5231 "Id": 1490,
5232 "QuestionId": 13,
5233 "Text": "Uzbekistan",
5234 "Value": "Uzbekistan",
5235 "Order": 187
5236 },
5237 {
5238 "Id": 1498,
5239 "QuestionId": 13,
5240 "Text": "Vanuatu",
5241 "Value": "Vanuatu",
5242 "Order": 188
5243 },
5244 {
5245 "Id": 1506,
5246 "QuestionId": 13,
5247 "Text": "Vatican City",
5248 "Value": "Vatican City",
5249 "Order": 189
5250 },
5251 {
5252 "Id": 1514,
5253 "QuestionId": 13,
5254 "Text": "Venezuela",
5255 "Value": "Venezuela",
5256 "Order": 190
5257 },
5258 {
5259 "Id": 1522,
5260 "QuestionId": 13,
5261 "Text": "Vietnam",
5262 "Value": "Vietnam",
5263 "Order": 191
5264 },
5265 {
5266 "Id": 1530,
5267 "QuestionId": 13,
5268 "Text": "Yemen",
5269 "Value": "Yemen",
5270 "Order": 192
5271 },
5272 {
5273 "Id": 1538,
5274 "QuestionId": 13,
5275 "Text": "Zambia",
5276 "Value": "Zambia",
5277 "Order": 193
5278 },
5279 {
5280 "Id": 1546,
5281 "QuestionId": 13,
5282 "Text": "Zimbabwe",
5283 "Value": "Zimbabwe",
5284 "Order": 194
5285 },
5286 {
5287 "Id": 2186,
5288 "QuestionId": 13,
5289 "Text": "British Columbia",
5290 "Value": "British Columbia",
5291 "Order": 195
5292 }
5293 ]
5294 }
5295 ]
5296 }
5297 {{/code}}
5298
5299 \\
5300
5301 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
5302 == (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)lookup question by Type(%%) ==
5303
5304 ----
5305
5306 {{panel bgColor="#D3D3D3" width="100%"}}
5307 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/questions/lookup?Type=4
5308 {{/panel}}
5309
5310 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
5311
5312 ----
5313
5314 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
5315
5316 === (% style="color: rgb(33,33,33);" %)Query Params(%%) ===
5317
5318 ----
5319
5320 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Type  4(%%)
5321 \\
5322
5323 ==== Example ====
5324
5325 ----
5326
5327 (% style="color: rgb(107,107,107);" %)Request
5328
5329 {{code language="php" theme="RDark" title="Lookup question by Type Request" collapse="true"}}
5330 <?php
5331
5332 $curl = curl_init();
5333
5334 curl_setopt_array($curl, array(
5335 CURLOPT_URL => 'rayaan.onecount.net/api/v2/questions/lookup?Type=4',
5336 CURLOPT_RETURNTRANSFER => true,
5337 CURLOPT_ENCODING => '',
5338 CURLOPT_MAXREDIRS => 10,
5339 CURLOPT_TIMEOUT => 0,
5340 CURLOPT_FOLLOWLOCATION => true,
5341 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
5342 CURLOPT_CUSTOMREQUEST => 'GET',
5343 CURLOPT_HTTPHEADER => array(
5344 'Appkey: {{ONECOUNT API KEY}}'
5345 ),
5346 ));
5347
5348 $response = curl_exec($curl);
5349
5350 curl_close($curl);
5351 echo $response;
5352 {{/code}}
5353
5354 \\
5355
5356 (% style="color: rgb(107,107,107);" %)Response  200 OK
5357
5358 {{code language="yml" theme="RDark" title="Lookup question by type Response" collapse="true"}}
5359 {
5360 "result": {
5361 "success": "1",
5362 "error": {
5363 "code": "",
5364 "message": ""
5365 }
5366 },
5367 "Questions": [
5368 {
5369 "Id": 11,
5370 "Text": "State/Province",
5371 "Type": "4",
5372 "Alias": "State/Province",
5373 "Choices": [
5374 {
5375 "Id": 1554,
5376 "QuestionId": 11,
5377 "Text": "Select One",
5378 "Value": "",
5379 "Order": 1
5380 },
5381 {
5382 "Id": 1562,
5383 "QuestionId": 11,
5384 "Text": "Alabama",
5385 "Value": "AL",
5386 "Order": 2
5387 },
5388 {
5389 "Id": 1570,
5390 "QuestionId": 11,
5391 "Text": "Alaska",
5392 "Value": "AK",
5393 "Order": 3
5394 },
5395 {
5396 "Id": 1578,
5397 "QuestionId": 11,
5398 "Text": "Arizona",
5399 "Value": "AZ",
5400 "Order": 4
5401 },
5402 {
5403 "Id": 1586,
5404 "QuestionId": 11,
5405 "Text": "Arkansas",
5406 "Value": "AR",
5407 "Order": 5
5408 },
5409 {
5410 "Id": 1594,
5411 "QuestionId": 11,
5412 "Text": "California",
5413 "Value": "CA",
5414 "Order": 6
5415 },
5416 {
5417 "Id": 1602,
5418 "QuestionId": 11,
5419 "Text": "Colorado",
5420 "Value": "CO",
5421 "Order": 7
5422 },
5423 {
5424 "Id": 1610,
5425 "QuestionId": 11,
5426 "Text": "Connecticut",
5427 "Value": "CT",
5428 "Order": 8
5429 },
5430 {
5431 "Id": 1618,
5432 "QuestionId": 11,
5433 "Text": "Delaware",
5434 "Value": "DE",
5435 "Order": 9
5436 },
5437 {
5438 "Id": 1626,
5439 "QuestionId": 11,
5440 "Text": "District of Columbia",
5441 "Value": "DC",
5442 "Order": 10
5443 },
5444 {
5445 "Id": 1634,
5446 "QuestionId": 11,
5447 "Text": "Florida",
5448 "Value": "FL",
5449 "Order": 11
5450 },
5451 {
5452 "Id": 1642,
5453 "QuestionId": 11,
5454 "Text": "Georgia",
5455 "Value": "GA",
5456 "Order": 12
5457 },
5458 {
5459 "Id": 1650,
5460 "QuestionId": 11,
5461 "Text": "Hawaii",
5462 "Value": "HI",
5463 "Order": 13
5464 },
5465 {
5466 "Id": 1658,
5467 "QuestionId": 11,
5468 "Text": "Idaho",
5469 "Value": "ID",
5470 "Order": 14
5471 },
5472 {
5473 "Id": 1666,
5474 "QuestionId": 11,
5475 "Text": "Illinois",
5476 "Value": "IL",
5477 "Order": 15
5478 },
5479 {
5480 "Id": 1674,
5481 "QuestionId": 11,
5482 "Text": "Indiana",
5483 "Value": "IN",
5484 "Order": 16
5485 },
5486 {
5487 "Id": 1682,
5488 "QuestionId": 11,
5489 "Text": "Iowa",
5490 "Value": "IA",
5491 "Order": 17
5492 },
5493 {
5494 "Id": 1690,
5495 "QuestionId": 11,
5496 "Text": "Kansas",
5497 "Value": "KS",
5498 "Order": 18
5499 },
5500 {
5501 "Id": 1698,
5502 "QuestionId": 11,
5503 "Text": "Kentucky",
5504 "Value": "KY",
5505 "Order": 19
5506 },
5507 {
5508 "Id": 1706,
5509 "QuestionId": 11,
5510 "Text": "Louisiana",
5511 "Value": "LA",
5512 "Order": 20
5513 },
5514 {
5515 "Id": 1714,
5516 "QuestionId": 11,
5517 "Text": "Maine",
5518 "Value": "ME",
5519 "Order": 21
5520 },
5521 {
5522 "Id": 1722,
5523 "QuestionId": 11,
5524 "Text": "Maryland",
5525 "Value": "MD",
5526 "Order": 22
5527 },
5528 {
5529 "Id": 1730,
5530 "QuestionId": 11,
5531 "Text": "Massachusetts",
5532 "Value": "MA",
5533 "Order": 23
5534 },
5535 {
5536 "Id": 1738,
5537 "QuestionId": 11,
5538 "Text": "Michigan",
5539 "Value": "MI",
5540 "Order": 24
5541 },
5542 {
5543 "Id": 1746,
5544 "QuestionId": 11,
5545 "Text": "Minnesota",
5546 "Value": "MN",
5547 "Order": 25
5548 },
5549 {
5550 "Id": 1754,
5551 "QuestionId": 11,
5552 "Text": "Mississippi",
5553 "Value": "MS",
5554 "Order": 26
5555 },
5556 {
5557 "Id": 1762,
5558 "QuestionId": 11,
5559 "Text": "Missouri",
5560 "Value": "MO",
5561 "Order": 27
5562 },
5563 {
5564 "Id": 1770,
5565 "QuestionId": 11,
5566 "Text": "Montana",
5567 "Value": "MT",
5568 "Order": 28
5569 },
5570 {
5571 "Id": 1778,
5572 "QuestionId": 11,
5573 "Text": "Nebraska",
5574 "Value": "NE",
5575 "Order": 29
5576 },
5577 {
5578 "Id": 1786,
5579 "QuestionId": 11,
5580 "Text": "Nevada",
5581 "Value": "NV",
5582 "Order": 30
5583 },
5584 {
5585 "Id": 1794,
5586 "QuestionId": 11,
5587 "Text": "New Hampshire",
5588 "Value": "NH",
5589 "Order": 31
5590 },
5591 {
5592 "Id": 1802,
5593 "QuestionId": 11,
5594 "Text": "New Jersey",
5595 "Value": "NJ",
5596 "Order": 32
5597 },
5598 {
5599 "Id": 1810,
5600 "QuestionId": 11,
5601 "Text": "New Mexico",
5602 "Value": "NM",
5603 "Order": 33
5604 },
5605 {
5606 "Id": 1818,
5607 "QuestionId": 11,
5608 "Text": "New York",
5609 "Value": "NY",
5610 "Order": 34
5611 },
5612 {
5613 "Id": 1826,
5614 "QuestionId": 11,
5615 "Text": "North Carolina",
5616 "Value": "NC",
5617 "Order": 35
5618 },
5619 {
5620 "Id": 1834,
5621 "QuestionId": 11,
5622 "Text": "Ohio",
5623 "Value": "OH",
5624 "Order": 37
5625 },
5626 {
5627 "Id": 1842,
5628 "QuestionId": 11,
5629 "Text": "Oklahoma",
5630 "Value": "OK",
5631 "Order": 38
5632 },
5633 {
5634 "Id": 1850,
5635 "QuestionId": 11,
5636 "Text": "Oregon",
5637 "Value": "OR",
5638 "Order": 39
5639 },
5640 {
5641 "Id": 1858,
5642 "QuestionId": 11,
5643 "Text": "Pennsylvania",
5644 "Value": "PA",
5645 "Order": 40
5646 },
5647 {
5648 "Id": 1866,
5649 "QuestionId": 11,
5650 "Text": "Rhode Island",
5651 "Value": "RI",
5652 "Order": 41
5653 },
5654 {
5655 "Id": 1874,
5656 "QuestionId": 11,
5657 "Text": "South Carolina",
5658 "Value": "SC",
5659 "Order": 42
5660 },
5661 {
5662 "Id": 1882,
5663 "QuestionId": 11,
5664 "Text": "South Dakota",
5665 "Value": "SD",
5666 "Order": 43
5667 },
5668 {
5669 "Id": 1890,
5670 "QuestionId": 11,
5671 "Text": "Tennessee",
5672 "Value": "TN",
5673 "Order": 44
5674 },
5675 {
5676 "Id": 1898,
5677 "QuestionId": 11,
5678 "Text": "Texas",
5679 "Value": "TX",
5680 "Order": 45
5681 },
5682 {
5683 "Id": 1906,
5684 "QuestionId": 11,
5685 "Text": "Utah",
5686 "Value": "UT",
5687 "Order": 46
5688 },
5689 {
5690 "Id": 1914,
5691 "QuestionId": 11,
5692 "Text": "Vermont",
5693 "Value": "VT",
5694 "Order": 47
5695 },
5696 {
5697 "Id": 1922,
5698 "QuestionId": 11,
5699 "Text": "Virginia",
5700 "Value": "VA",
5701 "Order": 48
5702 },
5703 {
5704 "Id": 1930,
5705 "QuestionId": 11,
5706 "Text": "Washington",
5707 "Value": "WA",
5708 "Order": 49
5709 },
5710 {
5711 "Id": 1938,
5712 "QuestionId": 11,
5713 "Text": "West Virginia",
5714 "Value": "WV",
5715 "Order": 50
5716 },
5717 {
5718 "Id": 1946,
5719 "QuestionId": 11,
5720 "Text": "Wisconsin",
5721 "Value": "WI",
5722 "Order": 51
5723 },
5724 {
5725 "Id": 1954,
5726 "QuestionId": 11,
5727 "Text": "Wyoming",
5728 "Value": "WY",
5729 "Order": 52
5730 },
5731 {
5732 "Id": 1962,
5733 "QuestionId": 11,
5734 "Text": "American Samoa",
5735 "Value": "AS",
5736 "Order": 53
5737 },
5738 {
5739 "Id": 1970,
5740 "QuestionId": 11,
5741 "Text": "North Dakota",
5742 "Value": "ND",
5743 "Order": 36
5744 },
5745 {
5746 "Id": 1978,
5747 "QuestionId": 11,
5748 "Text": "Federated States of Micronesia",
5749 "Value": "FM",
5750 "Order": 54
5751 },
5752 {
5753 "Id": 1986,
5754 "QuestionId": 11,
5755 "Text": "Guam",
5756 "Value": "GU",
5757 "Order": 55
5758 },
5759 {
5760 "Id": 1994,
5761 "QuestionId": 11,
5762 "Text": "Marshall Islands",
5763 "Value": "MH",
5764 "Order": 56
5765 },
5766 {
5767 "Id": 2002,
5768 "QuestionId": 11,
5769 "Text": "Northern Mariana Islands",
5770 "Value": "MP",
5771 "Order": 57
5772 },
5773 {
5774 "Id": 2010,
5775 "QuestionId": 11,
5776 "Text": "Palau",
5777 "Value": "PW",
5778 "Order": 58
5779 },
5780 {
5781 "Id": 2018,
5782 "QuestionId": 11,
5783 "Text": "Puerto Rico",
5784 "Value": "PR",
5785 "Order": 59
5786 },
5787 {
5788 "Id": 2026,
5789 "QuestionId": 11,
5790 "Text": "U.S. Virgin Islands",
5791 "Value": "VI",
5792 "Order": 60
5793 },
5794 {
5795 "Id": 2034,
5796 "QuestionId": 11,
5797 "Text": "Armed Forces Africa",
5798 "Value": "AE",
5799 "Order": 61
5800 },
5801 {
5802 "Id": 2042,
5803 "QuestionId": 11,
5804 "Text": "Armed Forces Americas (except Canada)",
5805 "Value": "AA",
5806 "Order": 62
5807 },
5808 {
5809 "Id": 2050,
5810 "QuestionId": 11,
5811 "Text": "Armed Forces Canada",
5812 "Value": "AE",
5813 "Order": 63
5814 },
5815 {
5816 "Id": 2058,
5817 "QuestionId": 11,
5818 "Text": "Armed Forces Europe",
5819 "Value": "AE",
5820 "Order": 64
5821 },
5822 {
5823 "Id": 2066,
5824 "QuestionId": 11,
5825 "Text": "Armed Forces Middle East",
5826 "Value": "AE",
5827 "Order": 65
5828 },
5829 {
5830 "Id": 2074,
5831 "QuestionId": 11,
5832 "Text": "Armed Forces Pacific",
5833 "Value": "AP",
5834 "Order": 66
5835 },
5836 {
5837 "Id": 2082,
5838 "QuestionId": 11,
5839 "Text": "Non-US/Not Applicable",
5840 "Value": "Non-US/Not Applicable",
5841 "Order": 67
5842 },
5843 {
5844 "Id": 2090,
5845 "QuestionId": 11,
5846 "Text": "Ontario",
5847 "Value": "Ontario",
5848 "Order": 68
5849 },
5850 {
5851 "Id": 2098,
5852 "QuestionId": 11,
5853 "Text": "Quebec",
5854 "Value": "Quebec",
5855 "Order": 69
5856 },
5857 {
5858 "Id": 2106,
5859 "QuestionId": 11,
5860 "Text": "Nova Scotia",
5861 "Value": "Nova Scotia",
5862 "Order": 70
5863 },
5864 {
5865 "Id": 2114,
5866 "QuestionId": 11,
5867 "Text": "New Brunswick",
5868 "Value": "New Brunswick",
5869 "Order": 71
5870 },
5871 {
5872 "Id": 2122,
5873 "QuestionId": 11,
5874 "Text": "Manitoba",
5875 "Value": "Manitoba",
5876 "Order": 72
5877 },
5878 {
5879 "Id": 2130,
5880 "QuestionId": 11,
5881 "Text": "Brittish Columbia",
5882 "Value": "Brittish Columbia",
5883 "Order": 73
5884 },
5885 {
5886 "Id": 2138,
5887 "QuestionId": 11,
5888 "Text": "Prince Edward Island",
5889 "Value": "Prince Edward Island",
5890 "Order": 74
5891 },
5892 {
5893 "Id": 2146,
5894 "QuestionId": 11,
5895 "Text": "Saskatchewan",
5896 "Value": "Saskatchewan",
5897 "Order": 75
5898 },
5899 {
5900 "Id": 2154,
5901 "QuestionId": 11,
5902 "Text": "Alberta",
5903 "Value": "Alberta",
5904 "Order": 76
5905 },
5906 {
5907 "Id": 2162,
5908 "QuestionId": 11,
5909 "Text": "Newfoundland and Labrador",
5910 "Value": "Newfoundland and Labrador",
5911 "Order": 77
5912 },
5913 {
5914 "Id": 2170,
5915 "QuestionId": 11,
5916 "Text": "British Columbia",
5917 "Value": "British Columbia",
5918 "Order": 78
5919 },
5920 {
5921 "Id": 2178,
5922 "QuestionId": 11,
5923 "Text": "Ontario",
5924 "Value": "ON",
5925 "Order": 79
5926 }
5927 ]
5928 },
5929 {
5930 "Id": 13,
5931 "Text": "Country",
5932 "Type": "4",
5933 "Alias": "Country",
5934 "Choices": [
5935 {
5936 "Id": 2,
5937 "QuestionId": 13,
5938 "Text": "Select One",
5939 "Value": "",
5940 "Order": 1
5941 },
5942 {
5943 "Id": 10,
5944 "QuestionId": 13,
5945 "Text": "Afghanistan",
5946 "Value": "Afghanistan",
5947 "Order": 3
5948 },
5949 {
5950 "Id": 18,
5951 "QuestionId": 13,
5952 "Text": "Albania",
5953 "Value": "Albania",
5954 "Order": 4
5955 },
5956 {
5957 "Id": 26,
5958 "QuestionId": 13,
5959 "Text": "Algeria",
5960 "Value": "Algeria",
5961 "Order": 5
5962 },
5963 {
5964 "Id": 34,
5965 "QuestionId": 13,
5966 "Text": "Andorra",
5967 "Value": "Andorra",
5968 "Order": 6
5969 },
5970 {
5971 "Id": 42,
5972 "QuestionId": 13,
5973 "Text": "Angola",
5974 "Value": "Angola",
5975 "Order": 7
5976 },
5977 {
5978 "Id": 50,
5979 "QuestionId": 13,
5980 "Text": "Antigua and Barbuda",
5981 "Value": "Antigua and Barbuda",
5982 "Order": 8
5983 },
5984 {
5985 "Id": 58,
5986 "QuestionId": 13,
5987 "Text": "Argentina",
5988 "Value": "Argentina",
5989 "Order": 9
5990 },
5991 {
5992 "Id": 66,
5993 "QuestionId": 13,
5994 "Text": "Armenia",
5995 "Value": "Armenia",
5996 "Order": 10
5997 },
5998 {
5999 "Id": 74,
6000 "QuestionId": 13,
6001 "Text": "Australia",
6002 "Value": "Australia",
6003 "Order": 11
6004 },
6005 {
6006 "Id": 82,
6007 "QuestionId": 13,
6008 "Text": "Austria",
6009 "Value": "Austria",
6010 "Order": 12
6011 },
6012 {
6013 "Id": 90,
6014 "QuestionId": 13,
6015 "Text": "Azerbaijan",
6016 "Value": "Azerbaijan",
6017 "Order": 13
6018 },
6019 {
6020 "Id": 98,
6021 "QuestionId": 13,
6022 "Text": "Bahamas",
6023 "Value": "Bahamas",
6024 "Order": 14
6025 },
6026 {
6027 "Id": 106,
6028 "QuestionId": 13,
6029 "Text": "Bahrain",
6030 "Value": "Bahrain",
6031 "Order": 15
6032 },
6033 {
6034 "Id": 114,
6035 "QuestionId": 13,
6036 "Text": "Bangladesh",
6037 "Value": "Bangladesh",
6038 "Order": 16
6039 },
6040 {
6041 "Id": 122,
6042 "QuestionId": 13,
6043 "Text": "Barbados",
6044 "Value": "Barbados",
6045 "Order": 17
6046 },
6047 {
6048 "Id": 130,
6049 "QuestionId": 13,
6050 "Text": "Belarus",
6051 "Value": "Belarus",
6052 "Order": 18
6053 },
6054 {
6055 "Id": 138,
6056 "QuestionId": 13,
6057 "Text": "Belgium",
6058 "Value": "Belgium",
6059 "Order": 19
6060 },
6061 {
6062 "Id": 146,
6063 "QuestionId": 13,
6064 "Text": "Belize",
6065 "Value": "Belize",
6066 "Order": 20
6067 },
6068 {
6069 "Id": 154,
6070 "QuestionId": 13,
6071 "Text": "Benin",
6072 "Value": "Benin",
6073 "Order": 21
6074 },
6075 {
6076 "Id": 162,
6077 "QuestionId": 13,
6078 "Text": "Bhutan",
6079 "Value": "Bhutan",
6080 "Order": 22
6081 },
6082 {
6083 "Id": 170,
6084 "QuestionId": 13,
6085 "Text": "Bolivia",
6086 "Value": "Bolivia",
6087 "Order": 23
6088 },
6089 {
6090 "Id": 178,
6091 "QuestionId": 13,
6092 "Text": "Bosnia and Herzegovina",
6093 "Value": "Bosnia and Herzegovina",
6094 "Order": 24
6095 },
6096 {
6097 "Id": 186,
6098 "QuestionId": 13,
6099 "Text": "Botswana",
6100 "Value": "Botswana",
6101 "Order": 25
6102 },
6103 {
6104 "Id": 194,
6105 "QuestionId": 13,
6106 "Text": "Brazil",
6107 "Value": "Brazil",
6108 "Order": 26
6109 },
6110 {
6111 "Id": 202,
6112 "QuestionId": 13,
6113 "Text": "Brunei",
6114 "Value": "Brunei",
6115 "Order": 27
6116 },
6117 {
6118 "Id": 210,
6119 "QuestionId": 13,
6120 "Text": "Bulgaria",
6121 "Value": "Bulgaria",
6122 "Order": 28
6123 },
6124 {
6125 "Id": 218,
6126 "QuestionId": 13,
6127 "Text": "Burkina Faso",
6128 "Value": "Burkina Faso",
6129 "Order": 29
6130 },
6131 {
6132 "Id": 226,
6133 "QuestionId": 13,
6134 "Text": "Burundi",
6135 "Value": "Burundi",
6136 "Order": 30
6137 },
6138 {
6139 "Id": 234,
6140 "QuestionId": 13,
6141 "Text": "Cambodia",
6142 "Value": "Cambodia",
6143 "Order": 31
6144 },
6145 {
6146 "Id": 242,
6147 "QuestionId": 13,
6148 "Text": "Cameroon",
6149 "Value": "Cameroon",
6150 "Order": 32
6151 },
6152 {
6153 "Id": 250,
6154 "QuestionId": 13,
6155 "Text": "Canada",
6156 "Value": "Canada",
6157 "Order": 33
6158 },
6159 {
6160 "Id": 258,
6161 "QuestionId": 13,
6162 "Text": "Cape Verde",
6163 "Value": "Cape Verde",
6164 "Order": 34
6165 },
6166 {
6167 "Id": 266,
6168 "QuestionId": 13,
6169 "Text": "Central African Republic",
6170 "Value": "Central African Republic",
6171 "Order": 35
6172 },
6173 {
6174 "Id": 274,
6175 "QuestionId": 13,
6176 "Text": "Chad",
6177 "Value": "Chad",
6178 "Order": 36
6179 },
6180 {
6181 "Id": 282,
6182 "QuestionId": 13,
6183 "Text": "Chile",
6184 "Value": "Chile",
6185 "Order": 37
6186 },
6187 {
6188 "Id": 290,
6189 "QuestionId": 13,
6190 "Text": "China",
6191 "Value": "China",
6192 "Order": 38
6193 },
6194 {
6195 "Id": 298,
6196 "QuestionId": 13,
6197 "Text": "Colombia",
6198 "Value": "Colombia",
6199 "Order": 39
6200 },
6201 {
6202 "Id": 306,
6203 "QuestionId": 13,
6204 "Text": "Comoros",
6205 "Value": "Comoros",
6206 "Order": 40
6207 },
6208 {
6209 "Id": 314,
6210 "QuestionId": 13,
6211 "Text": "Congo (Brazzaville)",
6212 "Value": "Congo (Brazzaville)",
6213 "Order": 41
6214 },
6215 {
6216 "Id": 322,
6217 "QuestionId": 13,
6218 "Text": "Congo",
6219 "Value": "Congo",
6220 "Order": 42
6221 },
6222 {
6223 "Id": 330,
6224 "QuestionId": 13,
6225 "Text": "Costa Rica",
6226 "Value": "Costa Rica",
6227 "Order": 43
6228 },
6229 {
6230 "Id": 338,
6231 "QuestionId": 13,
6232 "Text": "Cote d'Ivoire",
6233 "Value": "Cote d'Ivoire",
6234 "Order": 44
6235 },
6236 {
6237 "Id": 346,
6238 "QuestionId": 13,
6239 "Text": "Croatia",
6240 "Value": "Croatia",
6241 "Order": 45
6242 },
6243 {
6244 "Id": 354,
6245 "QuestionId": 13,
6246 "Text": "Cuba",
6247 "Value": "Cuba",
6248 "Order": 46
6249 },
6250 {
6251 "Id": 362,
6252 "QuestionId": 13,
6253 "Text": "Cyprus",
6254 "Value": "Cyprus",
6255 "Order": 47
6256 },
6257 {
6258 "Id": 370,
6259 "QuestionId": 13,
6260 "Text": "Czech Republic",
6261 "Value": "Czech Republic",
6262 "Order": 48
6263 },
6264 {
6265 "Id": 378,
6266 "QuestionId": 13,
6267 "Text": "Denmark",
6268 "Value": "Denmark",
6269 "Order": 49
6270 },
6271 {
6272 "Id": 386,
6273 "QuestionId": 13,
6274 "Text": "Djibouti",
6275 "Value": "Djibouti",
6276 "Order": 50
6277 },
6278 {
6279 "Id": 394,
6280 "QuestionId": 13,
6281 "Text": "Dominica",
6282 "Value": "Dominica",
6283 "Order": 51
6284 },
6285 {
6286 "Id": 402,
6287 "QuestionId": 13,
6288 "Text": "Dominican Republic",
6289 "Value": "Dominican Republic",
6290 "Order": 52
6291 },
6292 {
6293 "Id": 410,
6294 "QuestionId": 13,
6295 "Text": "East Timor",
6296 "Value": "East Timor",
6297 "Order": 53
6298 },
6299 {
6300 "Id": 418,
6301 "QuestionId": 13,
6302 "Text": "Ecuador",
6303 "Value": "Ecuador",
6304 "Order": 54
6305 },
6306 {
6307 "Id": 426,
6308 "QuestionId": 13,
6309 "Text": "Egypt",
6310 "Value": "Egypt",
6311 "Order": 55
6312 },
6313 {
6314 "Id": 434,
6315 "QuestionId": 13,
6316 "Text": "El Salvador",
6317 "Value": "El Salvador",
6318 "Order": 56
6319 },
6320 {
6321 "Id": 442,
6322 "QuestionId": 13,
6323 "Text": "Equatorial Guinea",
6324 "Value": "Equatorial Guinea",
6325 "Order": 57
6326 },
6327 {
6328 "Id": 450,
6329 "QuestionId": 13,
6330 "Text": "Eritrea",
6331 "Value": "Eritrea",
6332 "Order": 58
6333 },
6334 {
6335 "Id": 458,
6336 "QuestionId": 13,
6337 "Text": "Estonia",
6338 "Value": "Estonia",
6339 "Order": 59
6340 },
6341 {
6342 "Id": 466,
6343 "QuestionId": 13,
6344 "Text": "Ethiopia",
6345 "Value": "Ethiopia",
6346 "Order": 60
6347 },
6348 {
6349 "Id": 474,
6350 "QuestionId": 13,
6351 "Text": "Fiji",
6352 "Value": "Fiji",
6353 "Order": 61
6354 },
6355 {
6356 "Id": 482,
6357 "QuestionId": 13,
6358 "Text": "Finland",
6359 "Value": "Finland",
6360 "Order": 62
6361 },
6362 {
6363 "Id": 490,
6364 "QuestionId": 13,
6365 "Text": "France",
6366 "Value": "France",
6367 "Order": 63
6368 },
6369 {
6370 "Id": 498,
6371 "QuestionId": 13,
6372 "Text": "Gabon",
6373 "Value": "Gabon",
6374 "Order": 64
6375 },
6376 {
6377 "Id": 506,
6378 "QuestionId": 13,
6379 "Text": "Gambia, The",
6380 "Value": "Gambia, The",
6381 "Order": 65
6382 },
6383 {
6384 "Id": 514,
6385 "QuestionId": 13,
6386 "Text": "Georgia",
6387 "Value": "Georgia",
6388 "Order": 66
6389 },
6390 {
6391 "Id": 522,
6392 "QuestionId": 13,
6393 "Text": "Germany",
6394 "Value": "Germany",
6395 "Order": 67
6396 },
6397 {
6398 "Id": 530,
6399 "QuestionId": 13,
6400 "Text": "Ghana",
6401 "Value": "Ghana",
6402 "Order": 68
6403 },
6404 {
6405 "Id": 538,
6406 "QuestionId": 13,
6407 "Text": "Greece",
6408 "Value": "Greece",
6409 "Order": 69
6410 },
6411 {
6412 "Id": 546,
6413 "QuestionId": 13,
6414 "Text": "Grenada",
6415 "Value": "Grenada",
6416 "Order": 70
6417 },
6418 {
6419 "Id": 554,
6420 "QuestionId": 13,
6421 "Text": "Guatemala",
6422 "Value": "Guatemala",
6423 "Order": 71
6424 },
6425 {
6426 "Id": 562,
6427 "QuestionId": 13,
6428 "Text": "Guinea",
6429 "Value": "Guinea",
6430 "Order": 72
6431 },
6432 {
6433 "Id": 570,
6434 "QuestionId": 13,
6435 "Text": "Guinea-Bissau",
6436 "Value": "Guinea-Bissau",
6437 "Order": 73
6438 },
6439 {
6440 "Id": 578,
6441 "QuestionId": 13,
6442 "Text": "Guyana",
6443 "Value": "Guyana",
6444 "Order": 74
6445 },
6446 {
6447 "Id": 586,
6448 "QuestionId": 13,
6449 "Text": "Haiti",
6450 "Value": "Haiti",
6451 "Order": 75
6452 },
6453 {
6454 "Id": 594,
6455 "QuestionId": 13,
6456 "Text": "Honduras",
6457 "Value": "Honduras",
6458 "Order": 76
6459 },
6460 {
6461 "Id": 602,
6462 "QuestionId": 13,
6463 "Text": "Hungary",
6464 "Value": "Hungary",
6465 "Order": 77
6466 },
6467 {
6468 "Id": 610,
6469 "QuestionId": 13,
6470 "Text": "Iceland",
6471 "Value": "Iceland",
6472 "Order": 78
6473 },
6474 {
6475 "Id": 618,
6476 "QuestionId": 13,
6477 "Text": "India",
6478 "Value": "India",
6479 "Order": 79
6480 },
6481 {
6482 "Id": 626,
6483 "QuestionId": 13,
6484 "Text": "Indonesia",
6485 "Value": "Indonesia",
6486 "Order": 80
6487 },
6488 {
6489 "Id": 634,
6490 "QuestionId": 13,
6491 "Text": "Iran",
6492 "Value": "Iran",
6493 "Order": 81
6494 },
6495 {
6496 "Id": 642,
6497 "QuestionId": 13,
6498 "Text": "Iraq",
6499 "Value": "Iraq",
6500 "Order": 82
6501 },
6502 {
6503 "Id": 650,
6504 "QuestionId": 13,
6505 "Text": "Ireland",
6506 "Value": "Ireland",
6507 "Order": 83
6508 },
6509 {
6510 "Id": 658,
6511 "QuestionId": 13,
6512 "Text": "Israel",
6513 "Value": "Israel",
6514 "Order": 84
6515 },
6516 {
6517 "Id": 666,
6518 "QuestionId": 13,
6519 "Text": "Italy",
6520 "Value": "Italy",
6521 "Order": 85
6522 },
6523 {
6524 "Id": 674,
6525 "QuestionId": 13,
6526 "Text": "Jamaica",
6527 "Value": "Jamaica",
6528 "Order": 86
6529 },
6530 {
6531 "Id": 682,
6532 "QuestionId": 13,
6533 "Text": "Japan",
6534 "Value": "Japan",
6535 "Order": 87
6536 },
6537 {
6538 "Id": 690,
6539 "QuestionId": 13,
6540 "Text": "Jordan",
6541 "Value": "Jordan",
6542 "Order": 88
6543 },
6544 {
6545 "Id": 698,
6546 "QuestionId": 13,
6547 "Text": "Kazakhstan",
6548 "Value": "Kazakhstan",
6549 "Order": 89
6550 },
6551 {
6552 "Id": 706,
6553 "QuestionId": 13,
6554 "Text": "Kenya",
6555 "Value": "Kenya",
6556 "Order": 90
6557 },
6558 {
6559 "Id": 714,
6560 "QuestionId": 13,
6561 "Text": "Kiribati",
6562 "Value": "Kiribati",
6563 "Order": 91
6564 },
6565 {
6566 "Id": 722,
6567 "QuestionId": 13,
6568 "Text": "Korea, North",
6569 "Value": "Korea, North",
6570 "Order": 92
6571 },
6572 {
6573 "Id": 730,
6574 "QuestionId": 13,
6575 "Text": "Korea, South",
6576 "Value": "Korea, South",
6577 "Order": 93
6578 },
6579 {
6580 "Id": 738,
6581 "QuestionId": 13,
6582 "Text": "Kuwait",
6583 "Value": "Kuwait",
6584 "Order": 94
6585 },
6586 {
6587 "Id": 746,
6588 "QuestionId": 13,
6589 "Text": "Kyrgyzstan",
6590 "Value": "Kyrgyzstan",
6591 "Order": 95
6592 },
6593 {
6594 "Id": 754,
6595 "QuestionId": 13,
6596 "Text": "Laos",
6597 "Value": "Laos",
6598 "Order": 96
6599 },
6600 {
6601 "Id": 762,
6602 "QuestionId": 13,
6603 "Text": "Latvia",
6604 "Value": "Latvia",
6605 "Order": 97
6606 },
6607 {
6608 "Id": 770,
6609 "QuestionId": 13,
6610 "Text": "Lebanon",
6611 "Value": "Lebanon",
6612 "Order": 98
6613 },
6614 {
6615 "Id": 778,
6616 "QuestionId": 13,
6617 "Text": "Lesotho",
6618 "Value": "Lesotho",
6619 "Order": 99
6620 },
6621 {
6622 "Id": 786,
6623 "QuestionId": 13,
6624 "Text": "Liberia",
6625 "Value": "Liberia",
6626 "Order": 100
6627 },
6628 {
6629 "Id": 794,
6630 "QuestionId": 13,
6631 "Text": "Libya",
6632 "Value": "Libya",
6633 "Order": 101
6634 },
6635 {
6636 "Id": 802,
6637 "QuestionId": 13,
6638 "Text": "Liechtenstein",
6639 "Value": "Liechtenstein",
6640 "Order": 102
6641 },
6642 {
6643 "Id": 810,
6644 "QuestionId": 13,
6645 "Text": "Lithuania",
6646 "Value": "Lithuania",
6647 "Order": 103
6648 },
6649 {
6650 "Id": 818,
6651 "QuestionId": 13,
6652 "Text": "Luxembourg",
6653 "Value": "Luxembourg",
6654 "Order": 104
6655 },
6656 {
6657 "Id": 826,
6658 "QuestionId": 13,
6659 "Text": "Macedonia",
6660 "Value": "Macedonia",
6661 "Order": 105
6662 },
6663 {
6664 "Id": 834,
6665 "QuestionId": 13,
6666 "Text": "Madagascar",
6667 "Value": "Madagascar",
6668 "Order": 106
6669 },
6670 {
6671 "Id": 842,
6672 "QuestionId": 13,
6673 "Text": "Malawi",
6674 "Value": "Malawi",
6675 "Order": 107
6676 },
6677 {
6678 "Id": 850,
6679 "QuestionId": 13,
6680 "Text": "Malaysia",
6681 "Value": "Malaysia",
6682 "Order": 108
6683 },
6684 {
6685 "Id": 858,
6686 "QuestionId": 13,
6687 "Text": "Maldives",
6688 "Value": "Maldives",
6689 "Order": 109
6690 },
6691 {
6692 "Id": 866,
6693 "QuestionId": 13,
6694 "Text": "Mali",
6695 "Value": "Mali",
6696 "Order": 110
6697 },
6698 {
6699 "Id": 874,
6700 "QuestionId": 13,
6701 "Text": "Malta",
6702 "Value": "Malta",
6703 "Order": 111
6704 },
6705 {
6706 "Id": 882,
6707 "QuestionId": 13,
6708 "Text": "Marshall Islands",
6709 "Value": "Marshall Islands",
6710 "Order": 112
6711 },
6712 {
6713 "Id": 890,
6714 "QuestionId": 13,
6715 "Text": "Mauritania",
6716 "Value": "Mauritania",
6717 "Order": 113
6718 },
6719 {
6720 "Id": 898,
6721 "QuestionId": 13,
6722 "Text": "Mauritius",
6723 "Value": "Mauritius",
6724 "Order": 114
6725 },
6726 {
6727 "Id": 906,
6728 "QuestionId": 13,
6729 "Text": "Mexico",
6730 "Value": "Mexico",
6731 "Order": 115
6732 },
6733 {
6734 "Id": 914,
6735 "QuestionId": 13,
6736 "Text": "Micronesia",
6737 "Value": "Micronesia",
6738 "Order": 116
6739 },
6740 {
6741 "Id": 922,
6742 "QuestionId": 13,
6743 "Text": "Moldova",
6744 "Value": "Moldova",
6745 "Order": 117
6746 },
6747 {
6748 "Id": 930,
6749 "QuestionId": 13,
6750 "Text": "Monaco",
6751 "Value": "Monaco",
6752 "Order": 118
6753 },
6754 {
6755 "Id": 938,
6756 "QuestionId": 13,
6757 "Text": "Mongolia",
6758 "Value": "Mongolia",
6759 "Order": 119
6760 },
6761 {
6762 "Id": 946,
6763 "QuestionId": 13,
6764 "Text": "Morocco",
6765 "Value": "Morocco",
6766 "Order": 120
6767 },
6768 {
6769 "Id": 954,
6770 "QuestionId": 13,
6771 "Text": "Mozambique",
6772 "Value": "Mozambique",
6773 "Order": 121
6774 },
6775 {
6776 "Id": 962,
6777 "QuestionId": 13,
6778 "Text": "Myanmar",
6779 "Value": "Myanmar",
6780 "Order": 122
6781 },
6782 {
6783 "Id": 970,
6784 "QuestionId": 13,
6785 "Text": "Namibia",
6786 "Value": "Namibia",
6787 "Order": 123
6788 },
6789 {
6790 "Id": 978,
6791 "QuestionId": 13,
6792 "Text": "Nauru",
6793 "Value": "Nauru",
6794 "Order": 124
6795 },
6796 {
6797 "Id": 986,
6798 "QuestionId": 13,
6799 "Text": "Nepa",
6800 "Value": "Nepa",
6801 "Order": 125
6802 },
6803 {
6804 "Id": 994,
6805 "QuestionId": 13,
6806 "Text": "Netherlands",
6807 "Value": "Netherlands",
6808 "Order": 126
6809 },
6810 {
6811 "Id": 1002,
6812 "QuestionId": 13,
6813 "Text": "New Zealand",
6814 "Value": "New Zealand",
6815 "Order": 127
6816 },
6817 {
6818 "Id": 1010,
6819 "QuestionId": 13,
6820 "Text": "Nicaragua",
6821 "Value": "Nicaragua",
6822 "Order": 128
6823 },
6824 {
6825 "Id": 1018,
6826 "QuestionId": 13,
6827 "Text": "Niger",
6828 "Value": "Niger",
6829 "Order": 129
6830 },
6831 {
6832 "Id": 1026,
6833 "QuestionId": 13,
6834 "Text": "Nigeria",
6835 "Value": "Nigeria",
6836 "Order": 130
6837 },
6838 {
6839 "Id": 1034,
6840 "QuestionId": 13,
6841 "Text": "Norway",
6842 "Value": "Norway",
6843 "Order": 131
6844 },
6845 {
6846 "Id": 1042,
6847 "QuestionId": 13,
6848 "Text": "Oman",
6849 "Value": "Oman",
6850 "Order": 132
6851 },
6852 {
6853 "Id": 1050,
6854 "QuestionId": 13,
6855 "Text": "Pakistan",
6856 "Value": "Pakistan",
6857 "Order": 133
6858 },
6859 {
6860 "Id": 1058,
6861 "QuestionId": 13,
6862 "Text": "Palau",
6863 "Value": "Palau",
6864 "Order": 134
6865 },
6866 {
6867 "Id": 1066,
6868 "QuestionId": 13,
6869 "Text": "Panama",
6870 "Value": "Panama",
6871 "Order": 135
6872 },
6873 {
6874 "Id": 1074,
6875 "QuestionId": 13,
6876 "Text": "Papua New Guinea",
6877 "Value": "Papua New Guinea",
6878 "Order": 136
6879 },
6880 {
6881 "Id": 1082,
6882 "QuestionId": 13,
6883 "Text": "Paraguay",
6884 "Value": "Paraguay",
6885 "Order": 137
6886 },
6887 {
6888 "Id": 1090,
6889 "QuestionId": 13,
6890 "Text": "Peru",
6891 "Value": "Peru",
6892 "Order": 138
6893 },
6894 {
6895 "Id": 1098,
6896 "QuestionId": 13,
6897 "Text": "Philippines",
6898 "Value": "Philippines",
6899 "Order": 139
6900 },
6901 {
6902 "Id": 1106,
6903 "QuestionId": 13,
6904 "Text": "Poland",
6905 "Value": "Poland",
6906 "Order": 140
6907 },
6908 {
6909 "Id": 1114,
6910 "QuestionId": 13,
6911 "Text": "Portugal",
6912 "Value": "Portugal",
6913 "Order": 141
6914 },
6915 {
6916 "Id": 1122,
6917 "QuestionId": 13,
6918 "Text": "Qatar",
6919 "Value": "Qatar",
6920 "Order": 142
6921 },
6922 {
6923 "Id": 1130,
6924 "QuestionId": 13,
6925 "Text": "Romania",
6926 "Value": "Romania",
6927 "Order": 143
6928 },
6929 {
6930 "Id": 1138,
6931 "QuestionId": 13,
6932 "Text": "Russia",
6933 "Value": "Russia",
6934 "Order": 144
6935 },
6936 {
6937 "Id": 1146,
6938 "QuestionId": 13,
6939 "Text": "Rwanda",
6940 "Value": "Rwanda",
6941 "Order": 145
6942 },
6943 {
6944 "Id": 1154,
6945 "QuestionId": 13,
6946 "Text": "Saint Kitts and Nevis",
6947 "Value": "Saint Kitts and Nevis",
6948 "Order": 146
6949 },
6950 {
6951 "Id": 1162,
6952 "QuestionId": 13,
6953 "Text": "Saint Lucia",
6954 "Value": "Saint Lucia",
6955 "Order": 147
6956 },
6957 {
6958 "Id": 1170,
6959 "QuestionId": 13,
6960 "Text": "Saint Vincent",
6961 "Value": "Saint Vincent",
6962 "Order": 148
6963 },
6964 {
6965 "Id": 1178,
6966 "QuestionId": 13,
6967 "Text": "Samoa",
6968 "Value": "Samoa",
6969 "Order": 149
6970 },
6971 {
6972 "Id": 1186,
6973 "QuestionId": 13,
6974 "Text": "San Marino",
6975 "Value": "San Marino",
6976 "Order": 150
6977 },
6978 {
6979 "Id": 1194,
6980 "QuestionId": 13,
6981 "Text": "Sao Tome and Principe",
6982 "Value": "Sao Tome and Principe",
6983 "Order": 151
6984 },
6985 {
6986 "Id": 1202,
6987 "QuestionId": 13,
6988 "Text": "Saudi Arabia",
6989 "Value": "Saudi Arabia",
6990 "Order": 152
6991 },
6992 {
6993 "Id": 1210,
6994 "QuestionId": 13,
6995 "Text": "Senegal",
6996 "Value": "Senegal",
6997 "Order": 153
6998 },
6999 {
7000 "Id": 1218,
7001 "QuestionId": 13,
7002 "Text": "Serbia and Montenegro",
7003 "Value": "Serbia and Montenegro",
7004 "Order": 154
7005 },
7006 {
7007 "Id": 1226,
7008 "QuestionId": 13,
7009 "Text": "Seychelles",
7010 "Value": "Seychelles",
7011 "Order": 155
7012 },
7013 {
7014 "Id": 1234,
7015 "QuestionId": 13,
7016 "Text": "Sierra Leone",
7017 "Value": "Sierra Leone",
7018 "Order": 156
7019 },
7020 {
7021 "Id": 1242,
7022 "QuestionId": 13,
7023 "Text": "Singapore",
7024 "Value": "Singapore",
7025 "Order": 157
7026 },
7027 {
7028 "Id": 1250,
7029 "QuestionId": 13,
7030 "Text": "Slovakia",
7031 "Value": "Slovakia",
7032 "Order": 158
7033 },
7034 {
7035 "Id": 1258,
7036 "QuestionId": 13,
7037 "Text": "Slovenia",
7038 "Value": "Slovenia",
7039 "Order": 159
7040 },
7041 {
7042 "Id": 1266,
7043 "QuestionId": 13,
7044 "Text": "Solomon Islands",
7045 "Value": "Solomon Islands",
7046 "Order": 160
7047 },
7048 {
7049 "Id": 1274,
7050 "QuestionId": 13,
7051 "Text": "Somalia",
7052 "Value": "Somalia",
7053 "Order": 161
7054 },
7055 {
7056 "Id": 1282,
7057 "QuestionId": 13,
7058 "Text": "South Africa",
7059 "Value": "South Africa",
7060 "Order": 162
7061 },
7062 {
7063 "Id": 1290,
7064 "QuestionId": 13,
7065 "Text": "Spain",
7066 "Value": "Spain",
7067 "Order": 163
7068 },
7069 {
7070 "Id": 1298,
7071 "QuestionId": 13,
7072 "Text": "Sri Lanka",
7073 "Value": "Sri Lanka",
7074 "Order": 164
7075 },
7076 {
7077 "Id": 1306,
7078 "QuestionId": 13,
7079 "Text": "Sudan",
7080 "Value": "Sudan",
7081 "Order": 165
7082 },
7083 {
7084 "Id": 1314,
7085 "QuestionId": 13,
7086 "Text": "Suriname",
7087 "Value": "Suriname",
7088 "Order": 166
7089 },
7090 {
7091 "Id": 1322,
7092 "QuestionId": 13,
7093 "Text": "Swaziland",
7094 "Value": "Swaziland",
7095 "Order": 167
7096 },
7097 {
7098 "Id": 1330,
7099 "QuestionId": 13,
7100 "Text": "Sweden",
7101 "Value": "Sweden",
7102 "Order": 168
7103 },
7104 {
7105 "Id": 1338,
7106 "QuestionId": 13,
7107 "Text": "Switzerland",
7108 "Value": "Switzerland",
7109 "Order": 169
7110 },
7111 {
7112 "Id": 1346,
7113 "QuestionId": 13,
7114 "Text": "Syria",
7115 "Value": "Syria",
7116 "Order": 170
7117 },
7118 {
7119 "Id": 1354,
7120 "QuestionId": 13,
7121 "Text": "Taiwan",
7122 "Value": "Taiwan",
7123 "Order": 171
7124 },
7125 {
7126 "Id": 1362,
7127 "QuestionId": 13,
7128 "Text": "Tajikistan",
7129 "Value": "Tajikistan",
7130 "Order": 172
7131 },
7132 {
7133 "Id": 1370,
7134 "QuestionId": 13,
7135 "Text": "Tanzania",
7136 "Value": "Tanzania",
7137 "Order": 173
7138 },
7139 {
7140 "Id": 1378,
7141 "QuestionId": 13,
7142 "Text": "Thailand",
7143 "Value": "Thailand",
7144 "Order": 174
7145 },
7146 {
7147 "Id": 1386,
7148 "QuestionId": 13,
7149 "Text": "Togo",
7150 "Value": "Togo",
7151 "Order": 175
7152 },
7153 {
7154 "Id": 1394,
7155 "QuestionId": 13,
7156 "Text": "Tonga",
7157 "Value": "Tonga",
7158 "Order": 176
7159 },
7160 {
7161 "Id": 1402,
7162 "QuestionId": 13,
7163 "Text": "Trinidad and Tobago",
7164 "Value": "Trinidad and Tobago",
7165 "Order": 177
7166 },
7167 {
7168 "Id": 1410,
7169 "QuestionId": 13,
7170 "Text": "Tunisia",
7171 "Value": "Tunisia",
7172 "Order": 178
7173 },
7174 {
7175 "Id": 1418,
7176 "QuestionId": 13,
7177 "Text": "Turkey",
7178 "Value": "Turkey",
7179 "Order": 179
7180 },
7181 {
7182 "Id": 1426,
7183 "QuestionId": 13,
7184 "Text": "Turkmenistan",
7185 "Value": "Turkmenistan",
7186 "Order": 180
7187 },
7188 {
7189 "Id": 1434,
7190 "QuestionId": 13,
7191 "Text": "Tuvalu",
7192 "Value": "Tuvalu",
7193 "Order": 181
7194 },
7195 {
7196 "Id": 1442,
7197 "QuestionId": 13,
7198 "Text": "Uganda",
7199 "Value": "Uganda",
7200 "Order": 182
7201 },
7202 {
7203 "Id": 1450,
7204 "QuestionId": 13,
7205 "Text": "Ukraine",
7206 "Value": "Ukraine",
7207 "Order": 183
7208 },
7209 {
7210 "Id": 1458,
7211 "QuestionId": 13,
7212 "Text": "United Arab Emirates",
7213 "Value": "United Arab Emirates",
7214 "Order": 184
7215 },
7216 {
7217 "Id": 1466,
7218 "QuestionId": 13,
7219 "Text": "United Kingdom",
7220 "Value": "United Kingdom",
7221 "Order": 185
7222 },
7223 {
7224 "Id": 1474,
7225 "QuestionId": 13,
7226 "Text": "United States",
7227 "Value": "United States",
7228 "Order": 2
7229 },
7230 {
7231 "Id": 1482,
7232 "QuestionId": 13,
7233 "Text": "Uruguay",
7234 "Value": "Uruguay",
7235 "Order": 186
7236 },
7237 {
7238 "Id": 1490,
7239 "QuestionId": 13,
7240 "Text": "Uzbekistan",
7241 "Value": "Uzbekistan",
7242 "Order": 187
7243 },
7244 {
7245 "Id": 1498,
7246 "QuestionId": 13,
7247 "Text": "Vanuatu",
7248 "Value": "Vanuatu",
7249 "Order": 188
7250 },
7251 {
7252 "Id": 1506,
7253 "QuestionId": 13,
7254 "Text": "Vatican City",
7255 "Value": "Vatican City",
7256 "Order": 189
7257 },
7258 {
7259 "Id": 1514,
7260 "QuestionId": 13,
7261 "Text": "Venezuela",
7262 "Value": "Venezuela",
7263 "Order": 190
7264 },
7265 {
7266 "Id": 1522,
7267 "QuestionId": 13,
7268 "Text": "Vietnam",
7269 "Value": "Vietnam",
7270 "Order": 191
7271 },
7272 {
7273 "Id": 1530,
7274 "QuestionId": 13,
7275 "Text": "Yemen",
7276 "Value": "Yemen",
7277 "Order": 192
7278 },
7279 {
7280 "Id": 1538,
7281 "QuestionId": 13,
7282 "Text": "Zambia",
7283 "Value": "Zambia",
7284 "Order": 193
7285 },
7286 {
7287 "Id": 1546,
7288 "QuestionId": 13,
7289 "Text": "Zimbabwe",
7290 "Value": "Zimbabwe",
7291 "Order": 194
7292 },
7293 {
7294 "Id": 2186,
7295 "QuestionId": 13,
7296 "Text": "British Columbia",
7297 "Value": "British Columbia",
7298 "Order": 195
7299 }
7300 ]
7301 },
7302 {
7303 "Id": 178,
7304 "Text": "Job Function",
7305 "Type": "4",
7306 "Alias": "Job Function",
7307 "Choices": [
7308 {
7309 "Id": 2266,
7310 "QuestionId": 178,
7311 "Text": "Select One",
7312 "Value": "",
7313 "Order": 1
7314 },
7315 {
7316 "Id": 2274,
7317 "QuestionId": 178,
7318 "Text": "Sales",
7319 "Value": "Sales",
7320 "Order": 2
7321 },
7322 {
7323 "Id": 2282,
7324 "QuestionId": 178,
7325 "Text": "Marketing",
7326 "Value": "Marketing",
7327 "Order": 3
7328 },
7329 {
7330 "Id": 2290,
7331 "QuestionId": 178,
7332 "Text": "New Media",
7333 "Value": "New Media",
7334 "Order": 4
7335 },
7336 {
7337 "Id": 2298,
7338 "QuestionId": 178,
7339 "Text": "Audience Development",
7340 "Value": "Audience Development",
7341 "Order": 5
7342 },
7343 {
7344 "Id": 2306,
7345 "QuestionId": 178,
7346 "Text": "Editorial",
7347 "Value": "Editorial",
7348 "Order": 6
7349 },
7350 {
7351 "Id": 2314,
7352 "QuestionId": 178,
7353 "Text": "Information Technology",
7354 "Value": "IT",
7355 "Order": 7
7356 },
7357 {
7358 "Id": 2322,
7359 "QuestionId": 178,
7360 "Text": "Corporate",
7361 "Value": "Corporate",
7362 "Order": 8
7363 },
7364 {
7365 "Id": 2418,
7366 "QuestionId": 178,
7367 "Text": "Other",
7368 "Value": "Other",
7369 "Order": 9
7370 }
7371 ]
7372 },
7373 {
7374 "Id": 202,
7375 "Text": "Type of Publication",
7376 "Type": "4",
7377 "Alias": "Type of Publication",
7378 "Choices": [
7379 {
7380 "Id": 2330,
7381 "QuestionId": 202,
7382 "Text": "Select One",
7383 "Value": "",
7384 "Order": 1
7385 },
7386 {
7387 "Id": 2338,
7388 "QuestionId": 202,
7389 "Text": "Magazine",
7390 "Value": "Magazine",
7391 "Order": 2
7392 },
7393 {
7394 "Id": 2346,
7395 "QuestionId": 202,
7396 "Text": "Newspaper",
7397 "Value": "Newspaper",
7398 "Order": 3
7399 },
7400 {
7401 "Id": 2354,
7402 "QuestionId": 202,
7403 "Text": "Digital Publisher",
7404 "Value": "Digital Publisher",
7405 "Order": 4
7406 },
7407 {
7408 "Id": 2362,
7409 "QuestionId": 202,
7410 "Text": "Book Publisher",
7411 "Value": "Book Publisher",
7412 "Order": 5
7413 },
7414 {
7415 "Id": 2370,
7416 "QuestionId": 202,
7417 "Text": "Newsletter/Email",
7418 "Value": "Newsletter/Email",
7419 "Order": 6
7420 }
7421 ]
7422 },
7423 {
7424 "Id": 226,
7425 "Text": "What is your time frame for deployment?",
7426 "Type": "4",
7427 "Alias": "What is your time frame for deployment?",
7428 "Choices": [
7429 {
7430 "Id": 2378,
7431 "QuestionId": 226,
7432 "Text": "Select One",
7433 "Value": "",
7434 "Order": 1
7435 },
7436 {
7437 "Id": 2386,
7438 "QuestionId": 226,
7439 "Text": "0-3 months",
7440 "Value": "0-3",
7441 "Order": 2
7442 },
7443 {
7444 "Id": 2394,
7445 "QuestionId": 226,
7446 "Text": "3-6 months",
7447 "Value": "3-6",
7448 "Order": 3
7449 },
7450 {
7451 "Id": 2402,
7452 "QuestionId": 226,
7453 "Text": "6-12 months",
7454 "Value": "6-12",
7455 "Order": 4
7456 },
7457 {
7458 "Id": 2410,
7459 "QuestionId": 226,
7460 "Text": "No Formal Plans",
7461 "Value": "No Formal Plans",
7462 "Order": 5
7463 }
7464 ]
7465 },
7466 {
7467 "Id": 250,
7468 "Text": "Industry",
7469 "Type": "4",
7470 "Alias": "Industry",
7471 "Choices": [
7472 {
7473 "Id": 2426,
7474 "QuestionId": 250,
7475 "Text": "Agency",
7476 "Value": "Agency",
7477 "Order": 2
7478 },
7479 {
7480 "Id": 2434,
7481 "QuestionId": 250,
7482 "Text": "Association",
7483 "Value": "Association",
7484 "Order": 3
7485 },
7486 {
7487 "Id": 2442,
7488 "QuestionId": 250,
7489 "Text": "Direct Marketing",
7490 "Value": "Direct Marketing",
7491 "Order": 4
7492 },
7493 {
7494 "Id": 2450,
7495 "QuestionId": 250,
7496 "Text": "Publisher",
7497 "Value": "Publisher",
7498 "Order": 5
7499 },
7500 {
7501 "Id": 2458,
7502 "QuestionId": 250,
7503 "Text": "Service Bureau",
7504 "Value": "Service Bureau",
7505 "Order": 6
7506 },
7507 {
7508 "Id": 2466,
7509 "QuestionId": 250,
7510 "Text": "Select One",
7511 "Value": "Government",
7512 "Order": 1
7513 },
7514 {
7515 "Id": 2737,
7516 "QuestionId": 250,
7517 "Text": "Other",
7518 "Value": "Other",
7519 "Order": 7
7520 },
7521 {
7522 "Id": 3051,
7523 "QuestionId": 250,
7524 "Text": "Business Services",
7525 "Value": "Business Services",
7526 "Order": 8
7527 },
7528 {
7529 "Id": 3059,
7530 "QuestionId": 250,
7531 "Text": "Business Services, Media & Internet",
7532 "Value": "Business Services, Media & Internet",
7533 "Order": 9
7534 },
7535 {
7536 "Id": 3067,
7537 "QuestionId": 250,
7538 "Text": "Business Services,Consumer Services",
7539 "Value": "Business Services,Consumer Services",
7540 "Order": 10
7541 },
7542 {
7543 "Id": 3075,
7544 "QuestionId": 250,
7545 "Text": "Business Services,Finance",
7546 "Value": "Business Services,Finance",
7547 "Order": 11
7548 },
7549 {
7550 "Id": 3083,
7551 "QuestionId": 250,
7552 "Text": "Business Services,Retail,Media & Internet",
7553 "Value": "Business Services,Retail,Media & Internet",
7554 "Order": 12
7555 },
7556 {
7557 "Id": 3091,
7558 "QuestionId": 250,
7559 "Text": "Business Services,Telecommunications",
7560 "Value": "Business Services,Telecommunications",
7561 "Order": 13
7562 },
7563 {
7564 "Id": 3099,
7565 "QuestionId": 250,
7566 "Text": "Energy, Utilities & Waste Treatment",
7567 "Value": "Energy, Utilities & Waste Treatment",
7568 "Order": 14
7569 },
7570 {
7571 "Id": 3107,
7572 "QuestionId": 250,
7573 "Text": "Finance",
7574 "Value": "Finance",
7575 "Order": 15
7576 },
7577 {
7578 "Id": 3115,
7579 "QuestionId": 250,
7580 "Text": "Hospitality",
7581 "Value": "Hospitality",
7582 "Order": 16
7583 },
7584 {
7585 "Id": 3123,
7586 "QuestionId": 250,
7587 "Text": "Hospitality,Media & Internet",
7588 "Value": "Hospitality,Media & Internet",
7589 "Order": 17
7590 },
7591 {
7592 "Id": 3131,
7593 "QuestionId": 250,
7594 "Text": "Insurance",
7595 "Value": "Insurance",
7596 "Order": 18
7597 },
7598 {
7599 "Id": 3139,
7600 "QuestionId": 250,
7601 "Text": "Insurance, Finance",
7602 "Value": "Insurance, Finance",
7603 "Order": 19
7604 },
7605 {
7606 "Id": 3147,
7607 "QuestionId": 250,
7608 "Text": "Manufacturing",
7609 "Value": "Manufacturing",
7610 "Order": 20
7611 },
7612 {
7613 "Id": 3155,
7614 "QuestionId": 250,
7615 "Text": "Manufacturing,Business Services",
7616 "Value": "Manufacturing,Business Services",
7617 "Order": 21
7618 },
7619 {
7620 "Id": 3163,
7621 "QuestionId": 250,
7622 "Text": "Manufacturing,Retail,Healthcare",
7623 "Value": "Manufacturing,Retail,Healthcare",
7624 "Order": 22
7625 },
7626 {
7627 "Id": 3171,
7628 "QuestionId": 250,
7629 "Text": "Media & Internet",
7630 "Value": "Media & Internet",
7631 "Order": 23
7632 },
7633 {
7634 "Id": 3179,
7635 "QuestionId": 250,
7636 "Text": "Media & Internet,Business Services",
7637 "Value": "Media & Internet,Business Services",
7638 "Order": 24
7639 },
7640 {
7641 "Id": 3187,
7642 "QuestionId": 250,
7643 "Text": "Organizations",
7644 "Value": "Organizations",
7645 "Order": 25
7646 },
7647 {
7648 "Id": 3195,
7649 "QuestionId": 250,
7650 "Text": "Real Estate",
7651 "Value": "Real Estate",
7652 "Order": 26
7653 },
7654 {
7655 "Id": 3203,
7656 "QuestionId": 250,
7657 "Text": "Retail",
7658 "Value": "Retail",
7659 "Order": 27
7660 },
7661 {
7662 "Id": 3211,
7663 "QuestionId": 250,
7664 "Text": "Retail,Software,Consumer Services",
7665 "Value": "Retail,Software,Consumer Services",
7666 "Order": 28
7667 },
7668 {
7669 "Id": 3219,
7670 "QuestionId": 250,
7671 "Text": "Software",
7672 "Value": "Software",
7673 "Order": 29
7674 },
7675 {
7676 "Id": 3227,
7677 "QuestionId": 250,
7678 "Text": "Retail, Manufacturing",
7679 "Value": "Retail, Manufacturing",
7680 "Order": 30
7681 },
7682 {
7683 "Id": 3235,
7684 "QuestionId": 250,
7685 "Text": "Software,Manufacturing,Retail",
7686 "Value": "Software,Manufacturing,Retail",
7687 "Order": 31
7688 },
7689 {
7690 "Id": 3243,
7691 "QuestionId": 250,
7692 "Text": "Business Services,Media & Internet",
7693 "Value": "Business Services,Media & Internet",
7694 "Order": 32
7695 },
7696 {
7697 "Id": 3251,
7698 "QuestionId": 250,
7699 "Text": "Telecommunications",
7700 "Value": "Telecommunications",
7701 "Order": 33
7702 }
7703 ]
7704 },
7705 {
7706 "Id": 274,
7707 "Text": "How many employees work at your company?_Copy",
7708 "Type": "4",
7709 "Alias": "ALL",
7710 "Choices": [
7711 {
7712 "Id": 2698,
7713 "QuestionId": 274,
7714 "Text": "1-25",
7715 "Value": "01",
7716 "Order": 1
7717 },
7718 {
7719 "Id": 2706,
7720 "QuestionId": 274,
7721 "Text": "26-100",
7722 "Value": "02",
7723 "Order": 2
7724 },
7725 {
7726 "Id": 2714,
7727 "QuestionId": 274,
7728 "Text": "101-250",
7729 "Value": "03",
7730 "Order": 3
7731 },
7732 {
7733 "Id": 2722,
7734 "QuestionId": 274,
7735 "Text": "251-500",
7736 "Value": "04",
7737 "Order": 4
7738 },
7739 {
7740 "Id": 2730,
7741 "QuestionId": 274,
7742 "Text": "500+",
7743 "Value": "05",
7744 "Order": 5
7745 }
7746 ]
7747 },
7748 {
7749 "Id": 281,
7750 "Text": "How many employees work at your company?_Copy",
7751 "Type": "4",
7752 "Alias": "How many employees work at your company?_Copy",
7753 "Choices": [
7754 {
7755 "Id": 2745,
7756 "QuestionId": 281,
7757 "Text": "1-25",
7758 "Value": "01",
7759 "Order": 1
7760 },
7761 {
7762 "Id": 2753,
7763 "QuestionId": 281,
7764 "Text": "26-100",
7765 "Value": "02",
7766 "Order": 2
7767 },
7768 {
7769 "Id": 2761,
7770 "QuestionId": 281,
7771 "Text": "101-250",
7772 "Value": "03",
7773 "Order": 3
7774 },
7775 {
7776 "Id": 2769,
7777 "QuestionId": 281,
7778 "Text": "251-500",
7779 "Value": "04",
7780 "Order": 4
7781 },
7782 {
7783 "Id": 2777,
7784 "QuestionId": 281,
7785 "Text": "500+",
7786 "Value": "05",
7787 "Order": 5
7788 }
7789 ]
7790 },
7791 {
7792 "Id": 291,
7793 "Text": "DAS Question Update",
7794 "Type": "4",
7795 "Alias": "DAS Question Update",
7796 "Choices": [
7797 {
7798 "Id": 2859,
7799 "QuestionId": 291,
7800 "Text": "Choice a Update",
7801 "Value": "a Update",
7802 "Order": 1
7803 },
7804 {
7805 "Id": 2867,
7806 "QuestionId": 291,
7807 "Text": "Choice b Update",
7808 "Value": "b Update",
7809 "Order": 2
7810 }
7811 ]
7812 },
7813 {
7814 "Id": 363,
7815 "Text": "Group Size",
7816 "Type": "4",
7817 "Alias": "Group Size",
7818 "Choices": [
7819 {
7820 "Id": 3027,
7821 "QuestionId": 363,
7822 "Text": "NA",
7823 "Value": "NA",
7824 "Order": 1
7825 },
7826 {
7827 "Id": 3035,
7828 "QuestionId": 363,
7829 "Text": "0-10",
7830 "Value": "0-10",
7831 "Order": 2
7832 },
7833 {
7834 "Id": 3043,
7835 "QuestionId": 363,
7836 "Text": "10-25",
7837 "Value": "10-25",
7838 "Order": 3
7839 }
7840 ]
7841 },
7842 {
7843 "Id": 399,
7844 "Text": "What best describes your job title?",
7845 "Type": "4",
7846 "Alias": "1105-title",
7847 "Choices": [
7848 {
7849 "Id": 3255,
7850 "QuestionId": 399,
7851 "Text": "CIO, CTO, CKO, Technical/VP",
7852 "Value": "CIO",
7853 "Order": 1
7854 },
7855 {
7856 "Id": 3263,
7857 "QuestionId": 399,
7858 "Text": "Corporate Management",
7859 "Value": "corporate",
7860 "Order": 2
7861 },
7862 {
7863 "Id": 3271,
7864 "QuestionId": 399,
7865 "Text": "IS/IT Director/Manager",
7866 "Value": "it",
7867 "Order": 3
7868 },
7869 {
7870 "Id": 3279,
7871 "QuestionId": 399,
7872 "Text": "Director of Softare Development",
7873 "Value": "software director",
7874 "Order": 4
7875 },
7876 {
7877 "Id": 3287,
7878 "QuestionId": 399,
7879 "Text": "Application Development Manager",
7880 "Value": "ADM",
7881 "Order": 5
7882 }
7883 ]
7884 },
7885 {
7886 "Id": 407,
7887 "Text": "What is your organization's (or largest client, if you are a consultant) primary business at this location?",
7888 "Type": "4",
7889 "Alias": "1105 largest client",
7890 "Choices": [
7891 {
7892 "Id": 3295,
7893 "QuestionId": 407,
7894 "Text": "Aerospace",
7895 "Value": "aerospace",
7896 "Order": 1
7897 },
7898 {
7899 "Id": 3303,
7900 "QuestionId": 407,
7901 "Text": "Agriculture/Mining/Gas/Oil",
7902 "Value": "ag",
7903 "Order": 2
7904 },
7905 {
7906 "Id": 3311,
7907 "QuestionId": 407,
7908 "Text": "Business Services/Consultants",
7909 "Value": "bs",
7910 "Order": 3
7911 },
7912 {
7913 "Id": 3319,
7914 "QuestionId": 407,
7915 "Text": "Construction/Architecture/Engineering",
7916 "Value": "construction",
7917 "Order": 4
7918 },
7919 {
7920 "Id": 3327,
7921 "QuestionId": 407,
7922 "Text": "Education/Training",
7923 "Value": "education",
7924 "Order": 5
7925 }
7926 ]
7927 },
7928 {
7929 "Id": 415,
7930 "Text": "What is the total number of employees in your entire organzation?",
7931 "Type": "4",
7932 "Alias": "1105 num employees",
7933 "Choices": [
7934 {
7935 "Id": 3335,
7936 "QuestionId": 415,
7937 "Text": "10,000 or more",
7938 "Value": "10000",
7939 "Order": 1
7940 },
7941 {
7942 "Id": 3343,
7943 "QuestionId": 415,
7944 "Text": "5,000 - 9,999",
7945 "Value": "5000",
7946 "Order": 2
7947 },
7948 {
7949 "Id": 3351,
7950 "QuestionId": 415,
7951 "Text": "1,000 - 4,999",
7952 "Value": "1000",
7953 "Order": 3
7954 },
7955 {
7956 "Id": 3359,
7957 "QuestionId": 415,
7958 "Text": "500 - 999",
7959 "Value": "500",
7960 "Order": 4
7961 },
7962 {
7963 "Id": 3367,
7964 "QuestionId": 415,
7965 "Text": "100 - 499",
7966 "Value": "100",
7967 "Order": 5
7968 },
7969 {
7970 "Id": 3375,
7971 "QuestionId": 415,
7972 "Text": "Under 100",
7973 "Value": "Under 100",
7974 "Order": 6
7975 }
7976 ]
7977 },
7978 {
7979 "Id": 423,
7980 "Text": "saaa",
7981 "Type": "4",
7982 "Alias": "test",
7983 "Choices": [
7984 {
7985 "Id": 3383,
7986 "QuestionId": 423,
7987 "Text": "1",
7988 "Value": "1",
7989 "Order": 1
7990 },
7991 {
7992 "Id": 3391,
7993 "QuestionId": 423,
7994 "Text": "3",
7995 "Value": "3",
7996 "Order": 2
7997 }
7998 ]
7999 }
8000 ]
8001 }
8002 {{/code}}
8003
8004 (% class="western" %)
8005 \\
8006
8007 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
8008 == (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33, 33, 33); color: rgb(173, 122, 3)" %)POST(% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %) Create question type numeric, text, password, textarea and date(%%) ==
8009
8010 ----
8011
8012 {{panel bgColor="#D3D3D3" width="100%"}}
8013 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/questions
8014 {{/panel}}
8015
8016 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
8017
8018 ----
8019
8020 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
8021
8022 === (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
8023
8024 ----
8025
8026 {{code language="yml" theme="RDark" title="Body" collapse="true"}}
8027 {"Text":"Test from API 3","Type":0,"Alias":"Test from API 3"}
8028 {{/code}}
8029
8030 ==== Example ====
8031
8032 ----
8033
8034 (% style="color: rgb(107,107,107);" %)Request
8035
8036 {{code language="php" theme="RDark" title="Create Question Request" collapse="true"}}
8037 <?php
8038
8039 $curl = curl_init();
8040
8041 curl_setopt_array($curl, array(
8042 CURLOPT_URL => 'rayaan.onecount.net/api/v2/questions',
8043 CURLOPT_RETURNTRANSFER => true,
8044 CURLOPT_ENCODING => '',
8045 CURLOPT_MAXREDIRS => 10,
8046 CURLOPT_TIMEOUT => 0,
8047 CURLOPT_FOLLOWLOCATION => true,
8048 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
8049 CURLOPT_CUSTOMREQUEST => 'POST',
8050 CURLOPT_POSTFIELDS =>'{"Text":"Test from API 3","Type":0,"Alias":"Test from API 3"}',
8051 CURLOPT_HTTPHEADER => array(
8052 'Appkey: {{ONECOUNT API KEY}}'
8053 ),
8054 ));
8055
8056 $response = curl_exec($curl);
8057
8058 curl_close($curl);
8059 echo $response;
8060 {{/code}}
8061
8062 \\
8063
8064 (% style="color: rgb(107,107,107);" %)Response  200 OK
8065
8066 {{code language="yml" theme="RDark" title="Create question Response" collapse="true"}}
8067 {
8068 "result": {
8069 "success": "1",
8070 "error": {
8071 "code": "",
8072 "message": ""
8073 }
8074 },
8075 "Questions": [
8076 {
8077 "Id": 455
8078 }
8079 ]
8080 }
8081 {{/code}}
8082
8083 \\
8084
8085 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
8086 == (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33, 33, 33); color: rgb(173, 122, 3)" %)POST(% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %) Create question type select, radio and checkbox(%%) ==
8087
8088 ----
8089
8090 {{panel bgColor="#D3D3D3" width="100%"}}
8091 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/questions
8092 {{/panel}}
8093
8094 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
8095
8096 ----
8097
8098 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
8099
8100 === (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
8101
8102 ----
8103
8104 {{code language="yml" theme="RDark" title="Body" collapse="true"}}
8105 {"Text":"Test from API 6","Type":4,"Alias":"Test from API 6", "Choices":[{"Text":"test 1","Value":"test 1"},{"Text":"test 2","Value":"test 2"}]}
8106 {{/code}}
8107
8108 ==== Example ====
8109
8110 ----
8111
8112 (% style="color: rgb(107,107,107);" %)Request
8113
8114 {{code language="php" theme="RDark" title="Create Question Request" collapse="true"}}
8115 <?php
8116
8117 $curl = curl_init();
8118
8119 curl_setopt_array($curl, array(
8120 CURLOPT_URL => 'rayaan.onecount.net/api/v2/questions',
8121 CURLOPT_RETURNTRANSFER => true,
8122 CURLOPT_ENCODING => '',
8123 CURLOPT_MAXREDIRS => 10,
8124 CURLOPT_TIMEOUT => 0,
8125 CURLOPT_FOLLOWLOCATION => true,
8126 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
8127 CURLOPT_CUSTOMREQUEST => 'POST',
8128 CURLOPT_POSTFIELDS =>'{"Text":"Test from API 5","Type":4,"Alias":"Test from API 5", "Choices":[{"Text":"test 1","Value":"test 1"},{"Text":"test 2","Value":"test 2"}]}',
8129 CURLOPT_HTTPHEADER => array(
8130 'Appkey: {{ONECOUNT API KEY}}'
8131 ),
8132 ));
8133
8134 $response = curl_exec($curl);
8135
8136 curl_close($curl);
8137 echo $response;
8138 {{/code}}
8139
8140 \\
8141
8142 (% style="color: rgb(107,107,107);" %)Response  200 OK
8143
8144 {{code language="yml" theme="RDark" title="Create question Response" collapse="true"}}
8145 {
8146 "result": {
8147 "success": "1",
8148 "error": {
8149 "code": "",
8150 "message": ""
8151 }
8152 },
8153 "Questions": [
8154 {
8155 "Id": 495
8156 }
8157 ]
8158 }
8159 {{/code}}
8160
8161 \\
8162
8163 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
8164 == (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33, 33, 33); color: rgb(0, 83, 184)" %)PUT (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)Update question(%%) ==
8165
8166 ----
8167
8168 {{panel bgColor="#D3D3D3" width="100%"}}
8169 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/questions/~{~{QUESTION ID}}
8170 {{/panel}}
8171
8172 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
8173
8174 ----
8175
8176 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
8177
8178 === (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
8179
8180 ----
8181
8182 {{code language="yml" theme="RDark" title="Body" collapse="true"}}
8183 {"Text":"Test from API 6 changed","Type":4,"Alias":"Test from API 6 changed", "Choices":[{"Text":"test 1","Value":"test 1"},{"Text":"test 2","Value":"test 2"}]}
8184 {{/code}}
8185
8186 ==== Example ====
8187
8188 ----
8189
8190 (% style="color: rgb(107,107,107);" %)Request
8191
8192 {{code language="php" theme="RDark" title="Update Question Request" collapse="true"}}
8193 <?php
8194
8195 $curl = curl_init();
8196
8197 curl_setopt_array($curl, array(
8198 CURLOPT_URL => 'rayaan.onecount.net/api/v2/questions/503',
8199 CURLOPT_RETURNTRANSFER => true,
8200 CURLOPT_ENCODING => '',
8201 CURLOPT_MAXREDIRS => 10,
8202 CURLOPT_TIMEOUT => 0,
8203 CURLOPT_FOLLOWLOCATION => true,
8204 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
8205 CURLOPT_CUSTOMREQUEST => 'PUT',
8206 CURLOPT_POSTFIELDS =>'{"Text":"Test from API 6 changed","Type":4,"Alias":"Test from API 6 changed", "Choices":[{"Text":"test 1","Value":"test 1"},{"Text":"test 2","Value":"test 2"}]}',
8207 CURLOPT_HTTPHEADER => array(
8208 'Appkey: {{ONECOUNT API KEY}}'
8209 ),
8210 ));
8211
8212 $response = curl_exec($curl);
8213
8214 curl_close($curl);
8215 echo $response;
8216
8217
8218 {{/code}}
8219
8220 \\
8221
8222 (% style="color: rgb(107,107,107);" %)Response  200 OK
8223
8224 {{code language="yml" theme="RDark" title="Update Question Response" collapse="true"}}
8225 {
8226 "result": {
8227 "success": "1",
8228 "error": {
8229 "code": "",
8230 "message": ""
8231 }
8232 },
8233 "Questions": [
8234 {
8235 "Id": 503
8236 }
8237 ]
8238 }
8239 {{/code}}
8240
8241 (% class="western" %)
8242 \\
8243
8244 (% class="western" %)
8245 **COMPONENT: Products**
8246
8247 (% class="western" %)
8248 This resource is for manipulating products resource. A product can be created, updated or searched.
8249
8250 (% class="wrapped" %)
8251 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8252 (((
8253 (% class="western" %)
8254 **Method**
8255 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8256 (((
8257 (% class="western" %)
8258 **Url**
8259 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8260 (((
8261 (% class="western" %)
8262 **Action**
8263 )))
8264 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8265 (((
8266 (% class="western" %)
8267 GET
8268 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8269 (((
8270 (% class="western" %)
8271 /products
8272 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8273 (((
8274 (% class="western" %)
8275 Get all product details
8276 )))
8277 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8278 (((
8279 (% class="western" %)
8280 GET
8281 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8282 (((
8283 (% class="western" %)
8284 /products/5
8285 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8286 (((
8287 (% class="western" %)
8288 Get product id 5
8289 )))
8290 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8291 (((
8292 (% class="western" %)
8293 GET
8294 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8295 (((
8296 (% class="western" %)
8297 /products/lookup?Title=productname
8298 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8299 (((
8300 (% class="western" %)
8301 Lookup products by Title
8302 )))
8303 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8304 (((
8305 (% class="western" %)
8306 POST
8307 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8308 (((
8309 (% class="western" %)
8310 /products
8311 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8312 (((
8313 (% class="western" %)
8314 JSON of the Products type object needs to be sent as post data. Id field should not be sent.
8315 )))
8316 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8317 (((
8318 (% class="western" %)
8319 PUT
8320 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8321 (((
8322 (% class="western" %)
8323 /products/5
8324 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8325 (((
8326 (% class="western" %)
8327 JSON of the Products type object needs to be sent as post data. Id field is mandatory for update.
8328 )))
8329 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8330 (((
8331 (% class="western" %)
8332 POST
8333 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8334 (((
8335 (% class="western" %)
8336 /products/attachResource
8337 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8338 (((
8339 (% class="western" %)
8340 JSON of the Product and Resource ids to be sent as post data.
8341
8342 (% class="western" %)
8343 Both fields are mandatory.
8344
8345 (% class="western" %)
8346 Example:
8347
8348 (% class="western" %)
8349 {"ProductID":"65","ResourceID":”121"}
8350 )))
8351
8352 \\
8353
8354 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
8355 == (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)All Products(%%) ==
8356
8357 ----
8358
8359 ----
8360
8361 {{panel bgColor="#D3D3D3" width="100%"}}
8362 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/products
8363 {{/panel}}
8364
8365 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
8366
8367 ----
8368
8369 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
8370
8371 ==== Example ====
8372
8373 ----
8374
8375 (% style="color: rgb(107,107,107);" %)Request
8376
8377 {{code language="php" theme="RDark" title="Get All Products Request" collapse="true"}}
8378 <?php
8379
8380 $curl = curl_init();
8381
8382 curl_setopt_array($curl, array(
8383 CURLOPT_URL => 'rayaan.onecount.net/api/v2/products',
8384 CURLOPT_RETURNTRANSFER => true,
8385 CURLOPT_ENCODING => '',
8386 CURLOPT_MAXREDIRS => 10,
8387 CURLOPT_TIMEOUT => 0,
8388 CURLOPT_FOLLOWLOCATION => true,
8389 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
8390 CURLOPT_CUSTOMREQUEST => 'GET',
8391 CURLOPT_HTTPHEADER => array(
8392 'Appkey: {{ONECOUNT API KEY}}'
8393 ),
8394 ));
8395
8396 $response = curl_exec($curl);
8397
8398 curl_close($curl);
8399 echo $response;
8400
8401
8402 {{/code}}
8403
8404 \\
8405
8406 (% style="color: rgb(107,107,107);" %)Response  200 OK
8407
8408 {{code language="yml" theme="RDark" title="Get All Products Response" collapse="true"}}
8409 {
8410 "result": {
8411 "success": "1",
8412 "error": {
8413 "code": "",
8414 "message": ""
8415 }
8416 },
8417 "Products": [
8418 {
8419 "ProductId": 26,
8420 "Title": "ONEcount Product Demo",
8421 "Description": "",
8422 "ResourceIDs": [],
8423 "PrimaryFormID": [
8424 "307",
8425 "34"
8426 ],
8427 "Terms": {
8428 "Id": 26,
8429 "Name": "Please contact me to arrange a demo",
8430 "Description": "",
8431 "Duration": 1,
8432 "DurationUnit": "I",
8433 "Price": "0",
8434 "ProductId": 26
8435 }
8436 },
8437 {
8438 "ProductId": 34,
8439 "Title": "ONEcount Promotional Emails",
8440 "Description": "Master List of ONEcount prospects to receive promotional emails, etc.",
8441 "ResourceIDs": [
8442 98,
8443 114
8444 ],
8445 "PrimaryFormID": [
8446 "194"
8447 ],
8448 "Terms": {
8449 "Id": 34,
8450 "Name": "ONEcount Promotional Emails",
8451 "Description": "ONEcount promotional emails",
8452 "Duration": 1,
8453 "DurationUnit": "I",
8454 "Price": "0",
8455 "ProductId": 34
8456 }
8457 },
8458 {
8459 "ProductId": 42,
8460 "Title": "ONEcount Staff",
8461 "Description": "ONEcount/GCN Media Staff",
8462 "ResourceIDs": [
8463 18
8464 ],
8465 "PrimaryFormID": [
8466 "186"
8467 ],
8468 "Terms": {
8469 "Id": 42,
8470 "Name": "ONEcount Staff List",
8471 "Description": "List of ONEcount/GCN Media Staff",
8472 "Duration": 1,
8473 "DurationUnit": "I",
8474 "Price": "0",
8475 "ProductId": 42
8476 }
8477 },
8478 {
8479 "ProductId": 49,
8480 "Title": "ONEcount Medical Publishers",
8481 "Description": "For blasts to medical publishers and associations",
8482 "ResourceIDs": [
8483 137
8484 ],
8485 "PrimaryFormID": [
8486 "170"
8487 ],
8488 "Terms": {
8489 "Id": 49,
8490 "Name": "ONEcount Medical Publishers",
8491 "Description": "ONEcount Medical Publishers and Associations",
8492 "Duration": 1,
8493 "DurationUnit": "I",
8494 "Price": "0",
8495 "ProductId": 49
8496 }
8497 },
8498 {
8499 "ProductId": 57,
8500 "Title": "000 Pop-Up Form",
8501 "Description": "",
8502 "ResourceIDs": [
8503 145
8504 ],
8505 "PrimaryFormID": [
8506 "170"
8507 ],
8508 "Terms": {
8509 "Id": 57,
8510 "Name": "000 Pop-Up Term",
8511 "Description": "",
8512 "Duration": 1,
8513 "DurationUnit": "I",
8514 "Price": "0",
8515 "ProductId": 57
8516 }
8517 },
8518 {
8519 "ProductId": 65,
8520 "Title": "TEST",
8521 "Description": "",
8522 "ResourceIDs": [],
8523 "PrimaryFormID": [
8524 "194"
8525 ],
8526 "Terms": {}
8527 },
8528 {
8529 "ProductId": 67,
8530 "Title": "Gated Product Example PKG",
8531 "Description": "",
8532 "ResourceIDs": [],
8533 "PrimaryFormID": [
8534 "195"
8535 ],
8536 "Terms": {
8537 "Id": 59,
8538 "Name": "Get it for free",
8539 "Description": "",
8540 "Duration": 1,
8541 "DurationUnit": "I",
8542 "Price": "0",
8543 "ProductId": 67
8544 }
8545 },
8546 {
8547 "ProductId": 75,
8548 "Title": "SB: Apple Moves To Limit Tracking in Safari: Prove",
8549 "Description": "",
8550 "ResourceIDs": [],
8551 "PrimaryFormID": [],
8552 "Terms": {}
8553 },
8554 {
8555 "ProductId": 83,
8556 "Title": "SB: Audience Extension: Turning Identity Into Cash",
8557 "Description": "",
8558 "ResourceIDs": [],
8559 "PrimaryFormID": [],
8560 "Terms": {}
8561 },
8562 {
8563 "ProductId": 91,
8564 "Title": "DAS_freepass_00",
8565 "Description": "",
8566 "ResourceIDs": [
8567 187
8568 ],
8569 "PrimaryFormID": [
8570 "267"
8571 ],
8572 "Terms": {
8573 "Id": 67,
8574 "Name": "DAS_freepass_00",
8575 "Description": "",
8576 "Duration": 30,
8577 "DurationUnit": "D",
8578 "Price": "0",
8579 "ProductId": 91
8580 }
8581 },
8582 {
8583 "ProductId": 99,
8584 "Title": "Test12311111",
8585 "Description": "Testss",
8586 "ResourceIDs": [],
8587 "PrimaryFormID": [
8588 "10"
8589 ],
8590 "Terms": {
8591 "Id": 75,
8592 "Name": "Product123",
8593 "Description": null,
8594 "Duration": 0,
8595 "DurationUnit": "",
8596 "Price": "0",
8597 "ProductId": 99
8598 }
8599 },
8600 {
8601 "ProductId": 107,
8602 "Title": "Test123-456",
8603 "Description": "Testss updated",
8604 "ResourceIDs": [
8605 98
8606 ],
8607 "PrimaryFormID": [
8608 "10"
8609 ],
8610 "Terms": {
8611 "Id": 83,
8612 "Name": "Product123",
8613 "Description": null,
8614 "Duration": 0,
8615 "DurationUnit": "",
8616 "Price": "0",
8617 "ProductId": 107
8618 }
8619 },
8620 {
8621 "ProductId": 109,
8622 "Title": "Webinar: Enhanced Analytics 2-26-2019 at 1 PM",
8623 "Description": "",
8624 "ResourceIDs": [
8625 197
8626 ],
8627 "PrimaryFormID": [],
8628 "Terms": {
8629 "Id": 93,
8630 "Name": "Enhanced Analytics Webinar",
8631 "Description": "Check the box to register for the February 26th webinar.",
8632 "Duration": 1,
8633 "DurationUnit": "I",
8634 "Price": "0",
8635 "ProductId": 109
8636 }
8637 }
8638 ]
8639 }
8640 {{/code}}
8641
8642 \\
8643
8644 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
8645 == (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)specific Product(%%) ==
8646
8647 ----
8648
8649 {{panel bgColor="#D3D3D3" width="100%"}}
8650 (% class="nolink" %)https:~/~/api.onecount.net/v2/users(% style="color: rgb(33,33,33);" %)/products/~{~{product id}}
8651 {{/panel}}
8652
8653 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
8654
8655 ----
8656
8657 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
8658
8659 ==== Example ====
8660
8661 ----
8662
8663 (% style="color: rgb(107,107,107);" %)Request
8664
8665 {{code language="php" theme="RDark" title="Get specific Product Request" collapse="true"}}
8666 <?php
8667
8668 $curl = curl_init();
8669
8670 curl_setopt_array($curl, array(
8671 CURLOPT_URL => 'rayaan.onecount.net/api/v2/products/{{Product id}}',
8672 CURLOPT_RETURNTRANSFER => true,
8673 CURLOPT_ENCODING => '',
8674 CURLOPT_MAXREDIRS => 10,
8675 CURLOPT_TIMEOUT => 0,
8676 CURLOPT_FOLLOWLOCATION => true,
8677 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
8678 CURLOPT_CUSTOMREQUEST => 'GET',
8679 CURLOPT_HTTPHEADER => array(
8680 'Appkey: {{ONECOUNT API KEY}}'
8681 ),
8682 ));
8683
8684 $response = curl_exec($curl);
8685
8686 curl_close($curl);
8687 echo $response;
8688 {{/code}}
8689
8690 \\
8691
8692 (% style="color: rgb(107,107,107);" %)Response  200 OK
8693
8694 {{code language="yml" theme="RDark" title="Get specific Product Response" collapse="true"}}
8695 {
8696 "result": {
8697 "success": "1",
8698 "error": {
8699 "code": "",
8700 "message": ""
8701 }
8702 },
8703 "Products": [
8704 {
8705 "ProductId": 109,
8706 "Title": "Webinar: Enhanced Analytics 2-26-2019 at 1 PM",
8707 "Description": "",
8708 "ResourceIDs": [
8709 197
8710 ],
8711 "PrimaryFormID": [],
8712 "Terms": {
8713 "Id": 93,
8714 "Name": "Enhanced Analytics Webinar",
8715 "Description": "Check the box to register for the February 26th webinar.",
8716 "Duration": 1,
8717 "DurationUnit": "I",
8718 "Price": "0",
8719 "ProductId": 109
8720 }
8721 }
8722 ]
8723 }
8724 {{/code}}
8725
8726 \\
8727
8728 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
8729 == (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)lookup Product(%%) ==
8730
8731 ----
8732
8733 {{panel bgColor="#D3D3D3" width="100%"}}
8734 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/products/lookup?Title=~{~{Product Name}}
8735 {{/panel}}
8736
8737 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
8738
8739 ----
8740
8741 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
8742
8743 === (% style="color: rgb(33,33,33);" %)Query Params(%%) ===
8744
8745 ----
8746
8747 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Title (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key nolink" style="color: rgb(33, 33, 33); color: rgb(33, 33, 33)" %)~{~{Product Name}}(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)
8748
8749 ==== Example ====
8750
8751 ----
8752
8753 (% style="color: rgb(107,107,107);" %)Request
8754
8755 {{code language="php" theme="RDark" title="Lookup Product Request" collapse="true"}}
8756 <?php
8757
8758 $curl = curl_init();
8759
8760 curl_setopt_array($curl, array(
8761 CURLOPT_URL => 'rayaan.onecount.net/api/v2/products/lookup?Title={{Package Name}}',
8762 CURLOPT_RETURNTRANSFER => true,
8763 CURLOPT_ENCODING => '',
8764 CURLOPT_MAXREDIRS => 10,
8765 CURLOPT_TIMEOUT => 0,
8766 CURLOPT_FOLLOWLOCATION => true,
8767 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
8768 CURLOPT_CUSTOMREQUEST => 'GET',
8769 CURLOPT_HTTPHEADER => array(
8770 'Appkey: {{ONECOUNT API KEY}}'
8771 ),
8772 ));
8773
8774 $response = curl_exec($curl);
8775
8776 curl_close($curl);
8777 echo $response;
8778 {{/code}}
8779
8780 \\
8781
8782 (% style="color: rgb(107,107,107);" %)Response  200 OK
8783
8784 {{code language="yml" theme="RDark" title="Lookup Product Response" collapse="true"}}
8785 {
8786 "result": {
8787 "success": "1",
8788 "error": {
8789 "code": "",
8790 "message": ""
8791 }
8792 },
8793 "Products": [
8794 {
8795 "ProductId": 107,
8796 "Title": "Test123-456",
8797 "Description": "Testss updated",
8798 "Terms": {
8799 "Id": 83,
8800 "Name": "Product123",
8801 "Description": null,
8802 "Duration": 0,
8803 "DurationUnit": "",
8804 "Price": "0",
8805 "ProductId": 107
8806 }
8807 }
8808 ]
8809 }
8810 {{/code}}
8811
8812 \\
8813
8814 \\
8815
8816 \\
8817
8818 \\
8819
8820 \\
8821
8822 \\
8823
8824 \\
8825
8826 \\
8827
8828 \\
8829
8830 \\
8831
8832 \\
8833
8834 \\
8835
8836 \\
8837
8838 \\
8839
8840 \\
8841
8842 \\
8843
8844 \\
8845
8846 \\
8847
8848 \\
8849
8850 \\
8851
8852 \\
8853
8854 \\
8855
8856 \\
8857
8858 \\
8859
8860 \\
8861
8862 \\
8863
8864 \\
8865
8866 \\
8867
8868 \\
8869
8870 \\
8871
8872 \\
8873
8874 \\
8875
8876 \\
8877
8878 \\
8879
8880 \\
8881
8882 \\
8883
8884 \\
8885
8886 \\
8887
8888 \\
8889
8890 \\
8891
8892 \\
8893
8894 \\
8895
8896 \\
8897
8898 \\
8899
8900 \\
8901
8902 \\
8903
8904 \\
8905
8906 \\
8907
8908 \\
8909
8910 \\
8911
8912 (% class="western" %)
8913 **COMPONENT: Terms**
8914
8915 (% class="western" %)
8916 This resource is for manipulating terms resource. A term can be created, updated or searched.
8917
8918 (% class="wrapped" %)
8919 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8920 (((
8921 (% class="western" %)
8922 **Method**
8923 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8924 (((
8925 (% class="western" %)
8926 **Url**
8927 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8928 (((
8929 (% class="western" %)
8930 **Action**
8931 )))
8932 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8933 (((
8934 (% class="western" %)
8935 GET
8936 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8937 (((
8938 (% class="western" %)
8939 /terms/5
8940 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8941 (((
8942 (% class="western" %)
8943 Get term id 5
8944 )))
8945 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8946 (((
8947 (% class="western" %)
8948 GET
8949 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8950 (((
8951 (% class="western" %)
8952 /terms/lookup?Name=termname
8953 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8954 (((
8955 (% class="western" %)
8956 Lookup terms by Name
8957 )))
8958 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8959 (((
8960 (% class="western" %)
8961 POST
8962 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8963 (((
8964 (% class="western" %)
8965 /terms
8966 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8967 (((
8968 (% class="western" %)
8969 JSON of the terms type object needs to be sent as post data. Id field should not be sent.
8970 )))
8971 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8972 (((
8973 (% class="western" %)
8974 PUT
8975 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8976 (((
8977 (% class="western" %)
8978 /terms/5
8979 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8980 (((
8981 (% class="western" %)
8982 JSON of the terms type object needs to be sent as post data. Id field is mandatory for update.
8983 )))
8984
8985 \\
8986
8987 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
8988 == (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)All Terms(%%) ==
8989
8990 ----
8991
8992 ----
8993
8994 {{panel bgColor="#D3D3D3" width="100%"}}
8995 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/terms
8996 {{/panel}}
8997
8998 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
8999
9000 ----
9001
9002 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
9003
9004 ==== Example ====
9005
9006 ----
9007
9008 (% style="color: rgb(107,107,107);" %)Request
9009
9010 {{code language="php" theme="RDark" title="Get All Terms Request" collapse="true"}}
9011 <?php
9012
9013 $curl = curl_init();
9014
9015 curl_setopt_array($curl, array(
9016 CURLOPT_URL => 'rayaan.onecount.net/api/v2/terms',
9017 CURLOPT_RETURNTRANSFER => true,
9018 CURLOPT_ENCODING => '',
9019 CURLOPT_MAXREDIRS => 10,
9020 CURLOPT_TIMEOUT => 0,
9021 CURLOPT_FOLLOWLOCATION => true,
9022 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
9023 CURLOPT_CUSTOMREQUEST => 'GET',
9024 CURLOPT_HTTPHEADER => array(
9025 'Appkey: {{ONECOUNT API KEY}}'
9026 ),
9027 ));
9028
9029 $response = curl_exec($curl);
9030
9031 curl_close($curl);
9032 echo $response;
9033 {{/code}}
9034
9035 \\
9036
9037 (% style="color: rgb(107,107,107);" %)Response  200 OK
9038
9039 {{code language="yml" theme="RDark" title="Get All Terms Response" collapse="true"}}
9040 {
9041 "result": {
9042 "success": "1",
9043 "error": {
9044 "code": "",
9045 "message": ""
9046 }
9047 },
9048 "Terms": [
9049 {
9050 "Id": 26,
9051 "Name": "Please contact me to arrange a demo",
9052 "Description": "",
9053 "Duration": 1,
9054 "DurationUnit": "I",
9055 "Price": "0",
9056 "ProductId": 26
9057 },
9058 {
9059 "Id": 34,
9060 "Name": "ONEcount Promotional Emails",
9061 "Description": "ONEcount promotional emails",
9062 "Duration": 1,
9063 "DurationUnit": "I",
9064 "Price": "0",
9065 "ProductId": 34
9066 },
9067 {
9068 "Id": 42,
9069 "Name": "ONEcount Staff List",
9070 "Description": "List of ONEcount/GCN Media Staff",
9071 "Duration": 1,
9072 "DurationUnit": "I",
9073 "Price": "0",
9074 "ProductId": 42
9075 },
9076 {
9077 "Id": 49,
9078 "Name": "ONEcount Medical Publishers",
9079 "Description": "ONEcount Medical Publishers and Associations",
9080 "Duration": 1,
9081 "DurationUnit": "I",
9082 "Price": "0",
9083 "ProductId": 49
9084 },
9085 {
9086 "Id": 57,
9087 "Name": "000 Pop-Up Term",
9088 "Description": "",
9089 "Duration": 1,
9090 "DurationUnit": "I",
9091 "Price": "0",
9092 "ProductId": 57
9093 },
9094 {
9095 "Id": 59,
9096 "Name": "Get it for free",
9097 "Description": "",
9098 "Duration": 1,
9099 "DurationUnit": "I",
9100 "Price": "0",
9101 "ProductId": 67
9102 },
9103 {
9104 "Id": 67,
9105 "Name": "DAS_freepass_00",
9106 "Description": "",
9107 "Duration": 30,
9108 "DurationUnit": "D",
9109 "Price": "0",
9110 "ProductId": 91
9111 },
9112 {
9113 "Id": 75,
9114 "Name": "Product123",
9115 "Description": null,
9116 "Duration": 0,
9117 "DurationUnit": "",
9118 "Price": "0",
9119 "ProductId": 99
9120 },
9121 {
9122 "Id": 83,
9123 "Name": "Product123",
9124 "Description": null,
9125 "Duration": 0,
9126 "DurationUnit": "",
9127 "Price": "0",
9128 "ProductId": 107
9129 },
9130 {
9131 "Id": 91,
9132 "Name": "Test123 update ",
9133 "Description": "Testss updated",
9134 "Duration": 10,
9135 "DurationUnit": "",
9136 "Price": "0",
9137 "ProductId": 107
9138 },
9139 {
9140 "Id": 93,
9141 "Name": "Enhanced Analytics Webinar",
9142 "Description": "Check the box to register for the February 26th webinar.",
9143 "Duration": 1,
9144 "DurationUnit": "I",
9145 "Price": "0",
9146 "ProductId": 109
9147 },
9148 {
9149 "Id": 423,
9150 "Name": "Test term for API",
9151 "Description": null,
9152 "Duration": 0,
9153 "DurationUnit": "",
9154 "Price": "0.00",
9155 "ProductId": 591
9156 },
9157 {
9158 "Id": 431,
9159 "Name": "Test term for API 1",
9160 "Description": null,
9161 "Duration": 0,
9162 "DurationUnit": "",
9163 "Price": "0.00",
9164 "ProductId": 599
9165 }
9166 ]
9167 }
9168 {{/code}}
9169
9170 \\
9171
9172 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
9173 == (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)specific Term(%%) ==
9174
9175 ----
9176
9177 {{panel bgColor="#D3D3D3" width="100%"}}
9178 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/terms/~{~{Term Id}}
9179 {{/panel}}
9180
9181 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
9182
9183 ----
9184
9185 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
9186
9187 ==== Example ====
9188
9189 ----
9190
9191 (% style="color: rgb(107,107,107);" %)Request
9192
9193 {{code language="php" theme="RDark" title="Get specific Term Request" collapse="true"}}
9194 <?php
9195
9196 $curl = curl_init();
9197
9198 curl_setopt_array($curl, array(
9199 CURLOPT_URL => 'rayaan.onecount.net/api/v2/terms/{{Term Id}}',
9200 CURLOPT_RETURNTRANSFER => true,
9201 CURLOPT_ENCODING => '',
9202 CURLOPT_MAXREDIRS => 10,
9203 CURLOPT_TIMEOUT => 0,
9204 CURLOPT_FOLLOWLOCATION => true,
9205 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
9206 CURLOPT_CUSTOMREQUEST => 'GET',
9207 CURLOPT_HTTPHEADER => array(
9208 'Appkey: {{ONECOUNT API KEY}}'
9209 ),
9210 ));
9211
9212 $response = curl_exec($curl);
9213
9214 curl_close($curl);
9215 echo $response;
9216 {{/code}}
9217
9218 \\
9219
9220 (% style="color: rgb(107,107,107);" %)Response  200 OK
9221
9222 {{code language="yml" theme="RDark" title="Get specific Term Response" collapse="true"}}
9223 {
9224 "result": {
9225 "success": "1",
9226 "error": {
9227 "code": "",
9228 "message": ""
9229 }
9230 },
9231 "Terms": [
9232 {
9233 "Id": 431,
9234 "Name": "Test term for API 1",
9235 "Description": null,
9236 "Duration": 0,
9237 "DurationUnit": "",
9238 "Price": "0.00",
9239 "ProductId": 599
9240 }
9241 ]
9242 }
9243 {{/code}}
9244
9245 \\
9246
9247 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
9248 == (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)lookup Term(%%) ==
9249
9250 ----
9251
9252 {{panel bgColor="#D3D3D3" width="100%"}}
9253 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/terms/lookup?Name={(%%){Term Name}}
9254 {{/panel}}
9255
9256 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
9257
9258 ----
9259
9260 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
9261
9262 === (% style="color: rgb(33,33,33);" %)Query Params(%%) ===
9263
9264 ----
9265
9266 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Name (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key nolink" style="color: rgb(33, 33, 33); color: rgb(33, 33, 33)" %){(% style="color: rgb(33,33,33);" class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key nolink" %){Term Name}}
9267
9268 ==== Example ====
9269
9270 ----
9271
9272 (% style="color: rgb(107,107,107);" %)Request
9273
9274 {{code language="php" theme="RDark" title="Lookup Term Request" collapse="true"}}
9275 <?php
9276
9277 $curl = curl_init();
9278
9279 curl_setopt_array($curl, array(
9280 CURLOPT_URL => 'rayaan.onecount.net/api/v2/terms/lookup?Name={{Term Name}} ',
9281 CURLOPT_RETURNTRANSFER => true,
9282 CURLOPT_ENCODING => '',
9283 CURLOPT_MAXREDIRS => 10,
9284 CURLOPT_TIMEOUT => 0,
9285 CURLOPT_FOLLOWLOCATION => true,
9286 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
9287 CURLOPT_CUSTOMREQUEST => 'GET',
9288 CURLOPT_HTTPHEADER => array(
9289 'Appkey: {{ONECOUNT API KEY}}'
9290 ),
9291 ));
9292
9293 $response = curl_exec($curl);
9294
9295 curl_close($curl);
9296 echo $response;
9297 {{/code}}
9298
9299 \\
9300
9301 (% style="color: rgb(107,107,107);" %)Response  200 OK
9302
9303 {{code language="yml" theme="RDark" title="Lookup Term Response" collapse="true"/}}
9304
9305 \\
9306
9307 \\
9308
9309 \\
9310
9311 \\
9312
9313 \\
9314
9315 (% class="western" %)
9316 **COMPONENT: Resources**
9317
9318 (% class="western" %)
9319 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.
9320
9321 * (((
9322 (% class="western" %)
9323 questions
9324 )))
9325 * (((
9326 (% class="western" %)
9327 users
9328 )))
9329 * (((
9330 (% class="western" %)
9331 products
9332 )))
9333 * (((
9334 (% class="western" %)
9335 terms
9336 )))
9337 * (((
9338 (% class="western" %)
9339 resources
9340 )))
9341 * (((
9342 (% class="western" %)
9343 sources
9344 )))
9345 * (((
9346 (% class="western" %)
9347 transactions
9348 )))
9349
9350 (% class="western" %)
9351 **~ **
9352
9353 (% class="western" %)
9354 This resource is for manipulating resources resource. A resource can be created, updated or searched.
9355
9356 (% class="wrapped" %)
9357 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9358 (((
9359 (% class="western" %)
9360 **Method**
9361 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9362 (((
9363 (% class="western" %)
9364 **Url**
9365 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9366 (((
9367 (% class="western" %)
9368 **Action**
9369 )))
9370 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9371 (((
9372 (% class="western" %)
9373 GET
9374 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9375 (((
9376 (% class="western" %)
9377 /resources/5
9378 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9379 (((
9380 (% class="western" %)
9381 Get resource id 5
9382 )))
9383 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9384 (((
9385 (% class="western" %)
9386 GET
9387 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9388 (((
9389 (% class="western" %)
9390 /resources/lookup?Name=resourcename
9391 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9392 (((
9393 (% class="western" %)
9394 Lookup resources by Name
9395 )))
9396 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9397 (((
9398 (% class="western" %)
9399 POST
9400 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9401 (((
9402 (% class="western" %)
9403 /resources
9404 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9405 (((
9406 (% class="western" %)
9407 JSON of the resources type object needs to be sent as post data. Id field should not be sent.
9408 )))
9409 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9410 (((
9411 (% class="western" %)
9412 PUT
9413 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9414 (((
9415 (% class="western" %)
9416 /resources/5
9417 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9418 (((
9419 (% class="western" %)
9420 JSON of the resources type object needs to be sent as post data. Id field is mandatory for update.
9421 )))
9422
9423 \\
9424
9425 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
9426 == (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)All Resources(%%) ==
9427
9428 ----
9429
9430 ----
9431
9432 {{panel bgColor="#D3D3D3" width="100%"}}
9433 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/resources
9434 {{/panel}}
9435
9436 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
9437
9438 ----
9439
9440 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
9441
9442 ==== Example ====
9443
9444 ----
9445
9446 (% style="color: rgb(107,107,107);" %)Request
9447
9448 {{code language="php" theme="RDark" title="Get All Resource Request" collapse="true"}}
9449 <?php
9450
9451 $curl = curl_init();
9452
9453 curl_setopt_array($curl, array(
9454 CURLOPT_URL => 'rayaan.onecount.net/api/v2/resources?limit=10',
9455 CURLOPT_RETURNTRANSFER => true,
9456 CURLOPT_ENCODING => '',
9457 CURLOPT_MAXREDIRS => 10,
9458 CURLOPT_TIMEOUT => 0,
9459 CURLOPT_FOLLOWLOCATION => true,
9460 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
9461 CURLOPT_CUSTOMREQUEST => 'GET',
9462 CURLOPT_HTTPHEADER => array(
9463 'Appkey: {{ONECOUNT API KEY}}'
9464 ),
9465 ));
9466
9467 $response = curl_exec($curl);
9468
9469 curl_close($curl);
9470 echo $response;
9471 {{/code}}
9472
9473 \\
9474
9475 (% style="color: rgb(107,107,107);" %)Response  200 OK
9476
9477 {{code language="yml" theme="RDark" title="Get All Resource Response" collapse="true"}}
9478 {
9479 "result": {
9480 "success": "1",
9481 "error": {
9482 "code": "",
9483 "message": ""
9484 }
9485 },
9486 "Resources": [
9487 {
9488 "Id": 18,
9489 "Name": "ONEcount/GCN Staff Newsletter Resource",
9490 "Description": "ONEcount/GCN Staff Newsletter List",
9491 "Type": "2",
9492 "Value": "57|53|55",
9493 "FreePass": 0
9494 },
9495 {
9496 "Id": 26,
9497 "Name": "GCN TEST GROUP",
9498 "Description": "THESE USER WILL GET TEST MESSAGE",
9499 "Type": "2",
9500 "Value": "47",
9501 "FreePass": 0
9502 },
9503 {
9504 "Id": 98,
9505 "Name": "ONEcount Prospects List",
9506 "Description": "Newsletter List of ONEcount Prospects",
9507 "Type": "2",
9508 "Value": "55",
9509 "FreePass": 0
9510 },
9511 {
9512 "Id": 106,
9513 "Name": "Google Ads Form",
9514 "Description": "",
9515 "Type": "3",
9516 "Value": "http://ocreg.one-count.com/onecount/reg/registerForm.cgi?form=186&brand=OC",
9517 "FreePass": 0
9518 },
9519 {
9520 "Id": 114,
9521 "Name": "secure files",
9522 "Description": "",
9523 "Type": "3",
9524 "Value": "/download.php",
9525 "FreePass": 0
9526 },
9527 {
9528 "Id": 130,
9529 "Name": "REQUEST A DEMO",
9530 "Description": "",
9531 "Type": "3",
9532 "Value": "http://ocreg.one-count.com/onecount/flexreg/displayform.cgi?g=0&form=34",
9533 "FreePass": 0
9534 },
9535 {
9536 "Id": 137,
9537 "Name": "ONEcount Medical Publishers",
9538 "Description": "ONEcount Medical Publishers and Associations",
9539 "Type": "2",
9540 "Value": "61",
9541 "FreePass": 0
9542 },
9543 {
9544 "Id": 145,
9545 "Name": "Pop-Up Test Page",
9546 "Description": "",
9547 "Type": "3",
9548 "Value": "http://omar.gcnmedia.com/projects/form/gated.html",
9549 "FreePass": 0
9550 },
9551 {
9552 "Id": 146,
9553 "Name": "Platform Resource",
9554 "Description": "Test Resource",
9555 "Type": "3",
9556 "Value": "/Platform",
9557 "FreePass": 0
9558 },
9559 {
9560 "Id": 153,
9561 "Name": "Submitted",
9562 "Description": "",
9563 "Type": "3",
9564 "Value": "http://gcn-reg.onecount.net/onecount/reg/tSuccessView.php?brand=oc",
9565 "FreePass": 0
9566 }
9567 ]
9568 }
9569 {{/code}}
9570
9571 \\
9572
9573 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
9574 == (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)specific Resource(%%) ==
9575
9576 ----
9577
9578 {{panel bgColor="#D3D3D3" width="100%"}}
9579 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/resources/{(%%){Resource ID}}
9580 {{/panel}}
9581
9582 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
9583
9584 ----
9585
9586 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
9587
9588 ==== Example ====
9589
9590 ----
9591
9592 (% style="color: rgb(107,107,107);" %)Request
9593
9594 {{code language="php" theme="RDark" title="Get specific Resource Request" collapse="true"}}
9595 <?php
9596
9597 $curl = curl_init();
9598
9599 curl_setopt_array($curl, array(
9600 CURLOPT_URL => 'rayaan.onecount.net/api/v2/resources/{{Resource ID}}',
9601 CURLOPT_RETURNTRANSFER => true,
9602 CURLOPT_ENCODING => '',
9603 CURLOPT_MAXREDIRS => 10,
9604 CURLOPT_TIMEOUT => 0,
9605 CURLOPT_FOLLOWLOCATION => true,
9606 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
9607 CURLOPT_CUSTOMREQUEST => 'GET',
9608 CURLOPT_HTTPHEADER => array(
9609 'Appkey: {{ONECOUNT API KEY}}'
9610 ),
9611 ));
9612
9613 $response = curl_exec($curl);
9614
9615 curl_close($curl);
9616 echo $response;
9617 {{/code}}
9618
9619 \\
9620
9621 (% style="color: rgb(107,107,107);" %)Response  200 OK
9622
9623 {{code language="yml" theme="RDark" title="Get specific Resource Response" collapse="true"}}
9624 {
9625 "result": {
9626 "success": "1",
9627 "error": {
9628 "code": "",
9629 "message": ""
9630 }
9631 },
9632 "Resources": [
9633 {
9634 "Id": 623,
9635 "Name": "TOP 3 THINGS - NonStop Local News",
9636 "Description": "Tap into Non-Stop News from Montana Right Now! From the Big Story to the 3 Things to Know - we have the moment's essential headlines.",
9637 "Type": "2",
9638 "Value": "",
9639 "FreePass": 0
9640 }
9641 ]
9642 }
9643 {{/code}}
9644
9645 \\
9646
9647 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
9648 == (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)lookup Resource(%%) ==
9649
9650 ----
9651
9652 {{panel bgColor="#D3D3D3" width="100%"}}
9653 (% class="nolink" %)[[https:~~/~~/api.onecount.net/v2/users>>url:https://api.onecount.net/v2/users||shape="rect"]](% style="color: rgb(33,33,33);" %)/lookup?2=user_242_6298&return=1,2,3,4
9654 {{/panel}}
9655
9656 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
9657
9658 ----
9659
9660 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
9661
9662 === (% style="color: rgb(33,33,33);" %)Query Params(%%) ===
9663
9664 ----
9665
9666 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)2  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)user_242_6298(%%)
9667 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)return  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)1,2,3,4
9668
9669 ==== Example ====
9670
9671 ----
9672
9673 (% style="color: rgb(107,107,107);" %)Request
9674
9675 {{code language="php" theme="RDark" title="Lookup user Request" collapse="true"/}}
9676
9677 \\
9678
9679 (% style="color: rgb(107,107,107);" %)Response  200 OK
9680
9681 {{code language="yml" theme="RDark" title="Lookup user Response" collapse="true"/}}
9682
9683 \\
9684
9685 \\
9686
9687 \\
9688
9689 \\
9690
9691 \\
9692
9693 (% class="western" %)
9694 \\
9695
9696 (% class="western" %)
9697 **COMPONENT: Source Codes
9698 **
9699
9700 (% class="western" %)
9701 This resource is for manipulating source code for a resource. A source code can be created, updated or searched.
9702
9703 (% class="wrapped" %)
9704 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9705 (((
9706 (% class="western" %)
9707 **Method**
9708 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9709 (((
9710 (% class="western" %)
9711 **Url**
9712 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9713 (((
9714 (% class="western" %)
9715 **Action**
9716 )))
9717 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9718 (((
9719 (% class="western" %)
9720 GET
9721 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9722 (((
9723 (% class="western" %)
9724 /sources/1
9725 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9726 (((
9727 (% class="western" %)
9728 Get source id 1.
9729 )))
9730 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9731 (((
9732 (% class="western" %)
9733 GET
9734 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9735 (((
9736 (% class="western" %)
9737 /sources/lookup?Source=sourcename
9738 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9739 (((
9740 (% class="western" %)
9741 Lookup sources by source.
9742 )))
9743 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9744 (((
9745 (% class="western" %)
9746 POST
9747 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9748 (((
9749 (% class="western" %)
9750 /sources
9751 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9752 (((
9753 (% class="western" %)
9754 JSON of the Sources type object needs to be sent as post data. Id field should not be sent.
9755 )))
9756 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9757 (((
9758 (% class="western" %)
9759 PUT
9760 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9761 (((
9762 (% class="western" %)
9763 /sources
9764 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9765 (((
9766 (% class="western" %)
9767 JSON of the Sources type object needs to be sent as post data. Id field is mandatory for update.
9768 )))
9769
9770 \\
9771
9772 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
9773 == (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)All Source codes(%%) ==
9774
9775 ----
9776
9777 ----
9778
9779 {{panel bgColor="#D3D3D3" width="100%"}}
9780 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/sources
9781 {{/panel}}
9782
9783 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
9784
9785 ----
9786
9787 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
9788
9789 ==== Example ====
9790
9791 ----
9792
9793 (% style="color: rgb(107,107,107);" %)Request
9794
9795 {{code language="php" theme="RDark" title="Get All Source code Request" collapse="true"}}
9796 <?php
9797
9798 $curl = curl_init();
9799
9800 curl_setopt_array($curl, array(
9801 CURLOPT_URL => 'rayaan.onecount.net/api/v2/sources',
9802 CURLOPT_RETURNTRANSFER => true,
9803 CURLOPT_ENCODING => '',
9804 CURLOPT_MAXREDIRS => 10,
9805 CURLOPT_TIMEOUT => 0,
9806 CURLOPT_FOLLOWLOCATION => true,
9807 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
9808 CURLOPT_CUSTOMREQUEST => 'GET',
9809 CURLOPT_HTTPHEADER => array(
9810 'Appkey: {{ONECOUNT API KEY}}'
9811 ),
9812 ));
9813
9814 $response = curl_exec($curl);
9815
9816 curl_close($curl);
9817 echo $response;
9818 {{/code}}
9819
9820 \\
9821
9822 (% style="color: rgb(107,107,107);" %)Response  200 OK
9823
9824 {{code language="yml" theme="RDark" title="Get All Source code Response" collapse="true"}}
9825 {
9826 "result": {
9827 "success": "1",
9828 "error": {
9829 "code": "",
9830 "message": ""
9831 }
9832 },
9833 "Sources": [
9834 {
9835 "Id": 26,
9836 "Source": "GCN-Member",
9837 "Description": "Uploaded from Reston VA",
9838 "Parent": 0
9839 },
9840 {
9841 "Id": 34,
9842 "Source": "SugarID",
9843 "Description": "Sugar IDs cleaned contacts list and cleaned leads list sent by Sean Fulton for upload.",
9844 "Parent": 0
9845 },
9846 {
9847 "Id": 42,
9848 "Source": "DEMOFORM",
9849 "Description": "\"Request a Demo\" form from one-count.com",
9850 "Parent": 0
9851 },
9852 {
9853 "Id": 50,
9854 "Source": "ABM ANNUAL 2014",
9855 "Description": "ABM Annual 2014 - Registration List for Sponsors",
9856 "Parent": 0
9857 },
9858 {
9859 "Id": 58,
9860 "Source": "BIMS REG LIST",
9861 "Description": "BIMS Registration List for Sponsors (2013/2014)",
9862 "Parent": 0
9863 },
9864 {
9865 "Id": 66,
9866 "Source": "SIPA 13",
9867 "Description": "SIPA 2013 - sponsor - attendees",
9868 "Parent": 0
9869 },
9870 {
9871 "Id": 74,
9872 "Source": "Google Ads",
9873 "Description": "From Google Banner Ads",
9874 "Parent": 0
9875 },
9876 {
9877 "Id": 82,
9878 "Source": "EDIT PROFILE",
9879 "Description": "FOR EDIT PROFILE FORM",
9880 "Parent": 0
9881 },
9882 {
9883 "Id": 83,
9884 "Source": "Test Source Code",
9885 "Description": "",
9886 "Parent": 0
9887 },
9888 {
9889 "Id": 91,
9890 "Source": "NEWSLETTER",
9891 "Description": "Newsletter",
9892 "Parent": 0
9893 },
9894 {
9895 "Id": 99,
9896 "Source": "INFOTANKS-comps-only_12032019",
9897 "Description": "",
9898 "Parent": 0
9899 },
9900 {
9901 "Id": 107,
9902 "Source": "INFOTANKS-DMP-only_12102019",
9903 "Description": "",
9904 "Parent": 0
9905 },
9906 {
9907 "Id": 109,
9908 "Source": "BMVM",
9909 "Description": "Active Attendees",
9910 "Parent": 0
9911 },
9912 {
9913 "Id": 115,
9914 "Source": "USECASES",
9915 "Description": "Use Case PDF",
9916 "Parent": 0
9917 },
9918 {
9919 "Id": 123,
9920 "Source": "Borrell Miami 2022",
9921 "Description": "",
9922 "Parent": 0
9923 },
9924 {
9925 "Id": 131,
9926 "Source": "05092022-telemarketing",
9927 "Description": "",
9928 "Parent": 0
9929 },
9930 {
9931 "Id": 139,
9932 "Source": "WEBINAR6.15.22",
9933 "Description": "Live Webinar Series June 15, 2022",
9934 "Parent": 0
9935 },
9936 {
9937 "Id": 147,
9938 "Source": "LMA Show List",
9939 "Description": "",
9940 "Parent": 0
9941 },
9942 {
9943 "Id": 155,
9944 "Source": "AAA",
9945 "Description": "",
9946 "Parent": 0
9947 },
9948 {
9949 "Id": 163,
9950 "Source": "MGS2022",
9951 "Description": "",
9952 "Parent": 0
9953 },
9954 {
9955 "Id": 171,
9956 "Source": "MGS2023",
9957 "Description": "",
9958 "Parent": 0
9959 },
9960 {
9961 "Id": 179,
9962 "Source": "Sugar Leads",
9963 "Description": "",
9964 "Parent": 0
9965 },
9966 {
9967 "Id": 187,
9968 "Source": "seansbox",
9969 "Description": "",
9970 "Parent": 0
9971 },
9972 {
9973 "Id": 191,
9974 "Source": "SEEITLIVE",
9975 "Description": "Lunch & Learn Webinar Series with Special Partner Guests",
9976 "Parent": 0
9977 },
9978 {
9979 "Id": 199,
9980 "Source": "80-percent-conversion-rates",
9981 "Description": "",
9982 "Parent": 0
9983 }
9984 ]
9985 }
9986 {{/code}}
9987
9988 \\
9989
9990 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
9991 == (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)specific Source code(%%) ==
9992
9993 ----
9994
9995 {{panel bgColor="#D3D3D3" width="100%"}}
9996 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/sources/~{~{source code id}}
9997 {{/panel}}
9998
9999 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
10000
10001 ----
10002
10003 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
10004
10005 ==== Example ====
10006
10007 ----
10008
10009 (% style="color: rgb(107,107,107);" %)Request
10010
10011 {{code language="php" theme="RDark" title="Get specific Source Request" collapse="true"}}
10012 <?php
10013
10014 $curl = curl_init();
10015
10016 curl_setopt_array($curl, array(
10017 CURLOPT_URL => 'rayaan.onecount.net/api/v2/sources/{{source code id}}',
10018 CURLOPT_RETURNTRANSFER => true,
10019 CURLOPT_ENCODING => '',
10020 CURLOPT_MAXREDIRS => 10,
10021 CURLOPT_TIMEOUT => 0,
10022 CURLOPT_FOLLOWLOCATION => true,
10023 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
10024 CURLOPT_CUSTOMREQUEST => 'GET',
10025 CURLOPT_HTTPHEADER => array(
10026 'Appkey: {{ONECOUNT API KEY}}'
10027 ),
10028 ));
10029
10030 $response = curl_exec($curl);
10031
10032 curl_close($curl);
10033 echo $response;
10034 {{/code}}
10035
10036 \\
10037
10038 (% style="color: rgb(107,107,107);" %)Response  200 OK
10039
10040 {{code language="yml" theme="RDark" title="Get specific Source Response" collapse="true"}}
10041 {
10042 "result": {
10043 "success": "1",
10044 "error": {
10045 "code": "",
10046 "message": ""
10047 }
10048 },
10049 "Sources": [
10050 {
10051 "Id": 26,
10052 "Source": "GCN-Member",
10053 "Description": "Uploaded from Reston VA",
10054 "Parent": 0
10055 }
10056 ]
10057 }
10058 {{/code}}
10059
10060 \\
10061
10062 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
10063 == (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)lookup Source code(%%) ==
10064
10065 ----
10066
10067 {{panel bgColor="#D3D3D3" width="100%"}}
10068 (% class="nolink" %)[[https:~~/~~/api.onecount.net/v2/users>>url:https://api.onecount.net/v2/users||shape="rect"]](% style="color: rgb(33,33,33);" %)/lookup?2=user_242_6298&return=1,2,3,4
10069 {{/panel}}
10070
10071 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
10072
10073 ----
10074
10075 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
10076
10077 === (% style="color: rgb(33,33,33);" %)Query Params(%%) ===
10078
10079 ----
10080
10081 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)2  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)user_242_6298(%%)
10082 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)return  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)1,2,3,4
10083
10084 ==== Example ====
10085
10086 ----
10087
10088 (% style="color: rgb(107,107,107);" %)Request
10089
10090 {{code language="php" theme="RDark" title="Lookup user Request" collapse="true"/}}
10091
10092 \\
10093
10094 (% style="color: rgb(107,107,107);" %)Response  200 OK
10095
10096 {{code language="yml" theme="RDark" title="Lookup user Response" collapse="true"/}}
10097
10098 \\
10099
10100 \\
10101
10102 \\
10103
10104 \\
10105
10106 (% class="western" %)
10107 \\
10108
10109 (% class="western" %)
10110 **COMPONENT: Transactions**
10111
10112 (% class="western" %)
10113 This resource is for manipulating transactions resource. A transaction can be created or searched.
10114
10115 (% class="wrapped" %)
10116 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10117 (((
10118 (% class="western" %)
10119 **Method**
10120 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10121 (((
10122 (% class="western" %)
10123 **Url**
10124 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10125 (((
10126 (% class="western" %)
10127 **Action**
10128 )))
10129 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10130 (((
10131 (% class="western" %)
10132 GET
10133 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10134 (((
10135 (% class="western" %)
10136 /transactions
10137 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10138 (((
10139 (% class="western" %)
10140 List all transactions
10141 )))
10142 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10143 (((
10144 (% class="western" %)
10145 GET
10146 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10147 (((
10148 (% class="western" %)
10149 /transactions/lookup?UserId=1
10150 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10151 (((
10152 (% class="western" %)
10153 Lookup all transaction of UserId = 1
10154 )))
10155 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10156 (((
10157 (% class="western" %)
10158 POST
10159 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10160 (((
10161 (% class="western" %)
10162 /transactions
10163 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10164 (((
10165 (% class="western" %)
10166 JSON of the Transactions type object needs to be sent as post data. Id field should not be sent.
10167 )))
10168
10169 \\
10170
10171 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
10172 == (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)All Transactions(%%) ==
10173
10174 ----
10175
10176 ----
10177
10178 {{panel bgColor="#D3D3D3" width="100%"}}
10179 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/transactions
10180 {{/panel}}
10181
10182 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
10183
10184 ----
10185
10186 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
10187
10188 ==== Example ====
10189
10190 ----
10191
10192 (% style="color: rgb(107,107,107);" %)Request
10193
10194 {{code language="php" theme="RDark" title="Get All Transaction Request" collapse="true"}}
10195 <?php
10196
10197 $curl = curl_init();
10198
10199 curl_setopt_array($curl, array(
10200 CURLOPT_URL => 'rayaan.onecount.net/api/v2/transactions?limit=100',
10201 CURLOPT_RETURNTRANSFER => true,
10202 CURLOPT_ENCODING => '',
10203 CURLOPT_MAXREDIRS => 10,
10204 CURLOPT_TIMEOUT => 0,
10205 CURLOPT_FOLLOWLOCATION => true,
10206 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
10207 CURLOPT_CUSTOMREQUEST => 'GET',
10208 CURLOPT_HTTPHEADER => array(
10209 'Appkey: {{ONECOUNT API KEY}}'
10210 ),
10211 ));
10212
10213 $response = curl_exec($curl);
10214
10215 curl_close($curl);
10216 echo $response;
10217 {{/code}}
10218
10219 \\
10220
10221 (% style="color: rgb(107,107,107);" %)Response  200 OK
10222
10223 {{code language="yml" theme="RDark" title="Get All Transaction Response" collapse="true"}}
10224 {
10225 "result": {
10226 "success": "1",
10227 "error": {
10228 "code": "",
10229 "message": ""
10230 }
10231 },
10232 "Transactions": [
10233 {
10234 "Id": 10,
10235 "UserId": 10,
10236 "TermId": 2,
10237 "TransactionDate": "2014-07-17",
10238 "TransactionTime": "10:02:13",
10239 "RequestDate": "2014-07-17",
10240 "UserIP": "74.201.38.1",
10241 "SubscriptionType": "n",
10242 "ProductId": 2,
10243 "Source": 10,
10244 "ProductStatus": 2,
10245 "MediaFilePath": "",
10246 "Amount": ""
10247 },
10248 {
10249 "Id": 26,
10250 "UserId": 10,
10251 "TermId": 2,
10252 "TransactionDate": "2014-07-17",
10253 "TransactionTime": "10:41:59",
10254 "RequestDate": "2014-07-17",
10255 "UserIP": "74.201.38.1",
10256 "SubscriptionType": "r",
10257 "ProductId": 2,
10258 "Source": 10,
10259 "ProductStatus": 2,
10260 "MediaFilePath": "",
10261 "Amount": ""
10262 },
10263 {
10264 "Id": 50,
10265 "UserId": 26,
10266 "TermId": 2,
10267 "TransactionDate": "2014-07-17",
10268 "TransactionTime": "12:25:38",
10269 "RequestDate": "2014-07-17",
10270 "UserIP": "74.201.38.1",
10271 "SubscriptionType": "n",
10272 "ProductId": 2,
10273 "Source": 10,
10274 "ProductStatus": 2,
10275 "MediaFilePath": "",
10276 "Amount": ""
10277 },
10278 {
10279 "Id": 58,
10280 "UserId": 10,
10281 "TermId": 2,
10282 "TransactionDate": "2014-07-17",
10283 "TransactionTime": "12:25:43",
10284 "RequestDate": "2014-07-17",
10285 "UserIP": "74.201.38.1",
10286 "SubscriptionType": "r",
10287 "ProductId": 2,
10288 "Source": 10,
10289 "ProductStatus": 2,
10290 "MediaFilePath": "",
10291 "Amount": ""
10292 },
10293 {
10294 "Id": 66,
10295 "UserId": 42,
10296 "TermId": 2,
10297 "TransactionDate": "2014-07-17",
10298 "TransactionTime": "12:57:11",
10299 "RequestDate": "2014-07-17",
10300 "UserIP": "74.201.38.1",
10301 "SubscriptionType": "n",
10302 "ProductId": 2,
10303 "Source": 26,
10304 "ProductStatus": 2,
10305 "MediaFilePath": "",
10306 "Amount": ""
10307 },
10308 {
10309 "Id": 74,
10310 "UserId": 50,
10311 "TermId": 2,
10312 "TransactionDate": "2014-07-17",
10313 "TransactionTime": "12:57:11",
10314 "RequestDate": "2014-07-17",
10315 "UserIP": "74.201.38.1",
10316 "SubscriptionType": "n",
10317 "ProductId": 2,
10318 "Source": 26,
10319 "ProductStatus": 2,
10320 "MediaFilePath": "",
10321 "Amount": ""
10322 },
10323 {
10324 "Id": 82,
10325 "UserId": 58,
10326 "TermId": 2,
10327 "TransactionDate": "2014-07-17",
10328 "TransactionTime": "12:57:11",
10329 "RequestDate": "2014-07-17",
10330 "UserIP": "74.201.38.1",
10331 "SubscriptionType": "n",
10332 "ProductId": 2,
10333 "Source": 26,
10334 "ProductStatus": 2,
10335 "MediaFilePath": "",
10336 "Amount": ""
10337 },
10338 {
10339 "Id": 90,
10340 "UserId": 66,
10341 "TermId": 2,
10342 "TransactionDate": "2014-07-17",
10343 "TransactionTime": "12:57:11",
10344 "RequestDate": "2014-07-17",
10345 "UserIP": "74.201.38.1",
10346 "SubscriptionType": "n",
10347 "ProductId": 2,
10348 "Source": 26,
10349 "ProductStatus": 2,
10350 "MediaFilePath": "",
10351 "Amount": ""
10352 },
10353 {
10354 "Id": 98,
10355 "UserId": 74,
10356 "TermId": 2,
10357 "TransactionDate": "2014-07-17",
10358 "TransactionTime": "12:57:11",
10359 "RequestDate": "2014-07-17",
10360 "UserIP": "74.201.38.1",
10361 "SubscriptionType": "n",
10362 "ProductId": 2,
10363 "Source": 26,
10364 "ProductStatus": 2,
10365 "MediaFilePath": "",
10366 "Amount": ""
10367 },
10368 {
10369 "Id": 106,
10370 "UserId": 82,
10371 "TermId": 2,
10372 "TransactionDate": "2014-07-17",
10373 "TransactionTime": "12:57:11",
10374 "RequestDate": "2014-07-17",
10375 "UserIP": "74.201.38.1",
10376 "SubscriptionType": "n",
10377 "ProductId": 2,
10378 "Source": 26,
10379 "ProductStatus": 2,
10380 "MediaFilePath": "",
10381 "Amount": ""
10382 },
10383 {
10384 "Id": 114,
10385 "UserId": 90,
10386 "TermId": 2,
10387 "TransactionDate": "2014-07-17",
10388 "TransactionTime": "12:57:11",
10389 "RequestDate": "2014-07-17",
10390 "UserIP": "74.201.38.1",
10391 "SubscriptionType": "n",
10392 "ProductId": 2,
10393 "Source": 26,
10394 "ProductStatus": 2,
10395 "MediaFilePath": "",
10396 "Amount": ""
10397 },
10398 {
10399 "Id": 122,
10400 "UserId": 98,
10401 "TermId": 2,
10402 "TransactionDate": "2014-07-17",
10403 "TransactionTime": "12:57:11",
10404 "RequestDate": "2014-07-17",
10405 "UserIP": "74.201.38.1",
10406 "SubscriptionType": "n",
10407 "ProductId": 2,
10408 "Source": 26,
10409 "ProductStatus": 2,
10410 "MediaFilePath": "",
10411 "Amount": ""
10412 },
10413 {
10414 "Id": 130,
10415 "UserId": 42,
10416 "TermId": 2,
10417 "TransactionDate": "2014-07-17",
10418 "TransactionTime": "12:59:10",
10419 "RequestDate": "2014-07-17",
10420 "UserIP": "74.201.38.1",
10421 "SubscriptionType": "r",
10422 "ProductId": 2,
10423 "Source": 10,
10424 "ProductStatus": 2,
10425 "MediaFilePath": "",
10426 "Amount": ""
10427 },
10428 {
10429 "Id": 138,
10430 "UserId": 50,
10431 "TermId": 2,
10432 "TransactionDate": "2014-07-17",
10433 "TransactionTime": "12:59:10",
10434 "RequestDate": "2014-07-17",
10435 "UserIP": "74.201.38.1",
10436 "SubscriptionType": "r",
10437 "ProductId": 2,
10438 "Source": 10,
10439 "ProductStatus": 2,
10440 "MediaFilePath": "",
10441 "Amount": ""
10442 },
10443 {
10444 "Id": 146,
10445 "UserId": 58,
10446 "TermId": 2,
10447 "TransactionDate": "2014-07-17",
10448 "TransactionTime": "12:59:10",
10449 "RequestDate": "2014-07-17",
10450 "UserIP": "74.201.38.1",
10451 "SubscriptionType": "r",
10452 "ProductId": 2,
10453 "Source": 10,
10454 "ProductStatus": 2,
10455 "MediaFilePath": "",
10456 "Amount": ""
10457 },
10458 {
10459 "Id": 154,
10460 "UserId": 66,
10461 "TermId": 2,
10462 "TransactionDate": "2014-07-17",
10463 "TransactionTime": "12:59:10",
10464 "RequestDate": "2014-07-17",
10465 "UserIP": "74.201.38.1",
10466 "SubscriptionType": "r",
10467 "ProductId": 2,
10468 "Source": 10,
10469 "ProductStatus": 2,
10470 "MediaFilePath": "",
10471 "Amount": ""
10472 },
10473 {
10474 "Id": 162,
10475 "UserId": 74,
10476 "TermId": 2,
10477 "TransactionDate": "2014-07-17",
10478 "TransactionTime": "12:59:10",
10479 "RequestDate": "2014-07-17",
10480 "UserIP": "74.201.38.1",
10481 "SubscriptionType": "r",
10482 "ProductId": 2,
10483 "Source": 10,
10484 "ProductStatus": 2,
10485 "MediaFilePath": "",
10486 "Amount": ""
10487 },
10488 {
10489 "Id": 170,
10490 "UserId": 82,
10491 "TermId": 2,
10492 "TransactionDate": "2014-07-17",
10493 "TransactionTime": "12:59:10",
10494 "RequestDate": "2014-07-17",
10495 "UserIP": "74.201.38.1",
10496 "SubscriptionType": "r",
10497 "ProductId": 2,
10498 "Source": 10,
10499 "ProductStatus": 2,
10500 "MediaFilePath": "",
10501 "Amount": ""
10502 },
10503 {
10504 "Id": 178,
10505 "UserId": 90,
10506 "TermId": 2,
10507 "TransactionDate": "2014-07-17",
10508 "TransactionTime": "12:59:10",
10509 "RequestDate": "2014-07-17",
10510 "UserIP": "74.201.38.1",
10511 "SubscriptionType": "r",
10512 "ProductId": 2,
10513 "Source": 10,
10514 "ProductStatus": 2,
10515 "MediaFilePath": "",
10516 "Amount": ""
10517 },
10518 {
10519 "Id": 186,
10520 "UserId": 98,
10521 "TermId": 2,
10522 "TransactionDate": "2014-07-17",
10523 "TransactionTime": "12:59:10",
10524 "RequestDate": "2014-07-17",
10525 "UserIP": "74.201.38.1",
10526 "SubscriptionType": "r",
10527 "ProductId": 2,
10528 "Source": 10,
10529 "ProductStatus": 2,
10530 "MediaFilePath": "",
10531 "Amount": ""
10532 },
10533 {
10534 "Id": 194,
10535 "UserId": 162,
10536 "TermId": 2,
10537 "TransactionDate": "2014-07-17",
10538 "TransactionTime": "13:00:42",
10539 "RequestDate": "2014-07-17",
10540 "UserIP": "74.201.38.1",
10541 "SubscriptionType": "n",
10542 "ProductId": 2,
10543 "Source": 10,
10544 "ProductStatus": 2,
10545 "MediaFilePath": "",
10546 "Amount": ""
10547 },
10548 {
10549 "Id": 202,
10550 "UserId": 170,
10551 "TermId": 2,
10552 "TransactionDate": "2014-07-17",
10553 "TransactionTime": "13:00:42",
10554 "RequestDate": "2014-07-17",
10555 "UserIP": "74.201.38.1",
10556 "SubscriptionType": "n",
10557 "ProductId": 2,
10558 "Source": 10,
10559 "ProductStatus": 2,
10560 "MediaFilePath": "",
10561 "Amount": ""
10562 },
10563 {
10564 "Id": 210,
10565 "UserId": 178,
10566 "TermId": 2,
10567 "TransactionDate": "2014-07-17",
10568 "TransactionTime": "13:00:42",
10569 "RequestDate": "2014-07-17",
10570 "UserIP": "74.201.38.1",
10571 "SubscriptionType": "n",
10572 "ProductId": 2,
10573 "Source": 10,
10574 "ProductStatus": 2,
10575 "MediaFilePath": "",
10576 "Amount": ""
10577 },
10578 {
10579 "Id": 218,
10580 "UserId": 186,
10581 "TermId": 2,
10582 "TransactionDate": "2014-07-17",
10583 "TransactionTime": "13:00:42",
10584 "RequestDate": "2014-07-17",
10585 "UserIP": "74.201.38.1",
10586 "SubscriptionType": "n",
10587 "ProductId": 2,
10588 "Source": 10,
10589 "ProductStatus": 2,
10590 "MediaFilePath": "",
10591 "Amount": ""
10592 },
10593 {
10594 "Id": 226,
10595 "UserId": 194,
10596 "TermId": 2,
10597 "TransactionDate": "2014-07-17",
10598 "TransactionTime": "13:00:42",
10599 "RequestDate": "2014-07-17",
10600 "UserIP": "74.201.38.1",
10601 "SubscriptionType": "n",
10602 "ProductId": 2,
10603 "Source": 10,
10604 "ProductStatus": 2,
10605 "MediaFilePath": "",
10606 "Amount": ""
10607 },
10608 {
10609 "Id": 234,
10610 "UserId": 202,
10611 "TermId": 2,
10612 "TransactionDate": "2014-07-17",
10613 "TransactionTime": "13:00:42",
10614 "RequestDate": "2014-07-17",
10615 "UserIP": "74.201.38.1",
10616 "SubscriptionType": "n",
10617 "ProductId": 2,
10618 "Source": 10,
10619 "ProductStatus": 2,
10620 "MediaFilePath": "",
10621 "Amount": ""
10622 },
10623 {
10624 "Id": 242,
10625 "UserId": 210,
10626 "TermId": 2,
10627 "TransactionDate": "2014-07-17",
10628 "TransactionTime": "13:00:42",
10629 "RequestDate": "2014-07-17",
10630 "UserIP": "74.201.38.1",
10631 "SubscriptionType": "n",
10632 "ProductId": 2,
10633 "Source": 10,
10634 "ProductStatus": 2,
10635 "MediaFilePath": "",
10636 "Amount": ""
10637 },
10638 {
10639 "Id": 250,
10640 "UserId": 218,
10641 "TermId": 2,
10642 "TransactionDate": "2014-07-17",
10643 "TransactionTime": "13:00:42",
10644 "RequestDate": "2014-07-17",
10645 "UserIP": "74.201.38.1",
10646 "SubscriptionType": "n",
10647 "ProductId": 2,
10648 "Source": 10,
10649 "ProductStatus": 2,
10650 "MediaFilePath": "",
10651 "Amount": ""
10652 },
10653 {
10654 "Id": 258,
10655 "UserId": 282,
10656 "TermId": 2,
10657 "TransactionDate": "2014-07-17",
10658 "TransactionTime": "13:02:19",
10659 "RequestDate": "2014-07-17",
10660 "UserIP": "74.201.38.1",
10661 "SubscriptionType": "n",
10662 "ProductId": 2,
10663 "Source": 10,
10664 "ProductStatus": 2,
10665 "MediaFilePath": "",
10666 "Amount": ""
10667 },
10668 {
10669 "Id": 266,
10670 "UserId": 290,
10671 "TermId": 2,
10672 "TransactionDate": "2014-07-17",
10673 "TransactionTime": "13:02:19",
10674 "RequestDate": "2014-07-17",
10675 "UserIP": "74.201.38.1",
10676 "SubscriptionType": "n",
10677 "ProductId": 2,
10678 "Source": 10,
10679 "ProductStatus": 2,
10680 "MediaFilePath": "",
10681 "Amount": ""
10682 },
10683 {
10684 "Id": 274,
10685 "UserId": 298,
10686 "TermId": 2,
10687 "TransactionDate": "2014-07-17",
10688 "TransactionTime": "13:02:19",
10689 "RequestDate": "2014-07-17",
10690 "UserIP": "74.201.38.1",
10691 "SubscriptionType": "n",
10692 "ProductId": 2,
10693 "Source": 10,
10694 "ProductStatus": 2,
10695 "MediaFilePath": "",
10696 "Amount": ""
10697 },
10698 {
10699 "Id": 282,
10700 "UserId": 306,
10701 "TermId": 2,
10702 "TransactionDate": "2014-07-17",
10703 "TransactionTime": "13:02:19",
10704 "RequestDate": "2014-07-17",
10705 "UserIP": "74.201.38.1",
10706 "SubscriptionType": "n",
10707 "ProductId": 2,
10708 "Source": 10,
10709 "ProductStatus": 2,
10710 "MediaFilePath": "",
10711 "Amount": ""
10712 },
10713 {
10714 "Id": 290,
10715 "UserId": 314,
10716 "TermId": 2,
10717 "TransactionDate": "2014-07-17",
10718 "TransactionTime": "13:02:19",
10719 "RequestDate": "2014-07-17",
10720 "UserIP": "74.201.38.1",
10721 "SubscriptionType": "n",
10722 "ProductId": 2,
10723 "Source": 10,
10724 "ProductStatus": 2,
10725 "MediaFilePath": "",
10726 "Amount": ""
10727 },
10728 {
10729 "Id": 298,
10730 "UserId": 322,
10731 "TermId": 2,
10732 "TransactionDate": "2014-07-17",
10733 "TransactionTime": "13:02:19",
10734 "RequestDate": "2014-07-17",
10735 "UserIP": "74.201.38.1",
10736 "SubscriptionType": "n",
10737 "ProductId": 2,
10738 "Source": 10,
10739 "ProductStatus": 2,
10740 "MediaFilePath": "",
10741 "Amount": ""
10742 },
10743 {
10744 "Id": 306,
10745 "UserId": 330,
10746 "TermId": 2,
10747 "TransactionDate": "2014-07-17",
10748 "TransactionTime": "13:02:19",
10749 "RequestDate": "2014-07-17",
10750 "UserIP": "74.201.38.1",
10751 "SubscriptionType": "n",
10752 "ProductId": 2,
10753 "Source": 10,
10754 "ProductStatus": 2,
10755 "MediaFilePath": "",
10756 "Amount": ""
10757 },
10758 {
10759 "Id": 466,
10760 "UserId": 698,
10761 "TermId": 2,
10762 "TransactionDate": "2014-07-17",
10763 "TransactionTime": "13:13:06",
10764 "RequestDate": "2014-07-17",
10765 "UserIP": "74.201.38.1",
10766 "SubscriptionType": "n",
10767 "ProductId": 2,
10768 "Source": 26,
10769 "ProductStatus": 2,
10770 "MediaFilePath": "",
10771 "Amount": ""
10772 },
10773 {
10774 "Id": 474,
10775 "UserId": 706,
10776 "TermId": 2,
10777 "TransactionDate": "2014-07-17",
10778 "TransactionTime": "13:13:06",
10779 "RequestDate": "2014-07-17",
10780 "UserIP": "74.201.38.1",
10781 "SubscriptionType": "n",
10782 "ProductId": 2,
10783 "Source": 26,
10784 "ProductStatus": 2,
10785 "MediaFilePath": "",
10786 "Amount": ""
10787 },
10788 {
10789 "Id": 482,
10790 "UserId": 714,
10791 "TermId": 2,
10792 "TransactionDate": "2014-07-17",
10793 "TransactionTime": "13:13:06",
10794 "RequestDate": "2014-07-17",
10795 "UserIP": "74.201.38.1",
10796 "SubscriptionType": "n",
10797 "ProductId": 2,
10798 "Source": 26,
10799 "ProductStatus": 2,
10800 "MediaFilePath": "",
10801 "Amount": ""
10802 },
10803 {
10804 "Id": 490,
10805 "UserId": 722,
10806 "TermId": 2,
10807 "TransactionDate": "2014-07-17",
10808 "TransactionTime": "13:13:06",
10809 "RequestDate": "2014-07-17",
10810 "UserIP": "74.201.38.1",
10811 "SubscriptionType": "n",
10812 "ProductId": 2,
10813 "Source": 26,
10814 "ProductStatus": 2,
10815 "MediaFilePath": "",
10816 "Amount": ""
10817 },
10818 {
10819 "Id": 498,
10820 "UserId": 730,
10821 "TermId": 2,
10822 "TransactionDate": "2014-07-17",
10823 "TransactionTime": "13:13:06",
10824 "RequestDate": "2014-07-17",
10825 "UserIP": "74.201.38.1",
10826 "SubscriptionType": "n",
10827 "ProductId": 2,
10828 "Source": 26,
10829 "ProductStatus": 2,
10830 "MediaFilePath": "",
10831 "Amount": ""
10832 },
10833 {
10834 "Id": 506,
10835 "UserId": 738,
10836 "TermId": 2,
10837 "TransactionDate": "2014-07-17",
10838 "TransactionTime": "13:13:06",
10839 "RequestDate": "2014-07-17",
10840 "UserIP": "74.201.38.1",
10841 "SubscriptionType": "n",
10842 "ProductId": 2,
10843 "Source": 26,
10844 "ProductStatus": 2,
10845 "MediaFilePath": "",
10846 "Amount": ""
10847 },
10848 {
10849 "Id": 522,
10850 "UserId": 754,
10851 "TermId": 18,
10852 "TransactionDate": "2014-08-19",
10853 "TransactionTime": "11:18:55",
10854 "RequestDate": "2014-08-19",
10855 "UserIP": "74.201.38.1",
10856 "SubscriptionType": "n",
10857 "ProductId": 18,
10858 "Source": 34,
10859 "ProductStatus": 2,
10860 "MediaFilePath": "",
10861 "Amount": ""
10862 },
10863 {
10864 "Id": 530,
10865 "UserId": 762,
10866 "TermId": 18,
10867 "TransactionDate": "2014-08-19",
10868 "TransactionTime": "11:18:55",
10869 "RequestDate": "2014-08-19",
10870 "UserIP": "74.201.38.1",
10871 "SubscriptionType": "n",
10872 "ProductId": 18,
10873 "Source": 34,
10874 "ProductStatus": 2,
10875 "MediaFilePath": "",
10876 "Amount": ""
10877 },
10878 {
10879 "Id": 538,
10880 "UserId": 770,
10881 "TermId": 18,
10882 "TransactionDate": "2014-08-19",
10883 "TransactionTime": "11:18:55",
10884 "RequestDate": "2014-08-19",
10885 "UserIP": "74.201.38.1",
10886 "SubscriptionType": "n",
10887 "ProductId": 18,
10888 "Source": 34,
10889 "ProductStatus": 2,
10890 "MediaFilePath": "",
10891 "Amount": ""
10892 },
10893 {
10894 "Id": 546,
10895 "UserId": 778,
10896 "TermId": 18,
10897 "TransactionDate": "2014-08-19",
10898 "TransactionTime": "11:18:55",
10899 "RequestDate": "2014-08-19",
10900 "UserIP": "74.201.38.1",
10901 "SubscriptionType": "n",
10902 "ProductId": 18,
10903 "Source": 34,
10904 "ProductStatus": 2,
10905 "MediaFilePath": "",
10906 "Amount": ""
10907 },
10908 {
10909 "Id": 554,
10910 "UserId": 786,
10911 "TermId": 18,
10912 "TransactionDate": "2014-08-19",
10913 "TransactionTime": "11:18:55",
10914 "RequestDate": "2014-08-19",
10915 "UserIP": "74.201.38.1",
10916 "SubscriptionType": "n",
10917 "ProductId": 18,
10918 "Source": 34,
10919 "ProductStatus": 2,
10920 "MediaFilePath": "",
10921 "Amount": ""
10922 },
10923 {
10924 "Id": 570,
10925 "UserId": 802,
10926 "TermId": 18,
10927 "TransactionDate": "2014-08-19",
10928 "TransactionTime": "11:18:55",
10929 "RequestDate": "2014-08-19",
10930 "UserIP": "74.201.38.1",
10931 "SubscriptionType": "n",
10932 "ProductId": 18,
10933 "Source": 34,
10934 "ProductStatus": 2,
10935 "MediaFilePath": "",
10936 "Amount": ""
10937 },
10938 {
10939 "Id": 578,
10940 "UserId": 810,
10941 "TermId": 18,
10942 "TransactionDate": "2014-08-19",
10943 "TransactionTime": "11:18:55",
10944 "RequestDate": "2014-08-19",
10945 "UserIP": "74.201.38.1",
10946 "SubscriptionType": "n",
10947 "ProductId": 18,
10948 "Source": 34,
10949 "ProductStatus": 2,
10950 "MediaFilePath": "",
10951 "Amount": ""
10952 },
10953 {
10954 "Id": 586,
10955 "UserId": 818,
10956 "TermId": 18,
10957 "TransactionDate": "2014-08-19",
10958 "TransactionTime": "11:18:55",
10959 "RequestDate": "2014-08-19",
10960 "UserIP": "74.201.38.1",
10961 "SubscriptionType": "n",
10962 "ProductId": 18,
10963 "Source": 34,
10964 "ProductStatus": 2,
10965 "MediaFilePath": "",
10966 "Amount": ""
10967 },
10968 {
10969 "Id": 602,
10970 "UserId": 834,
10971 "TermId": 18,
10972 "TransactionDate": "2014-08-19",
10973 "TransactionTime": "11:18:55",
10974 "RequestDate": "2014-08-19",
10975 "UserIP": "74.201.38.1",
10976 "SubscriptionType": "n",
10977 "ProductId": 18,
10978 "Source": 34,
10979 "ProductStatus": 2,
10980 "MediaFilePath": "",
10981 "Amount": ""
10982 },
10983 {
10984 "Id": 610,
10985 "UserId": 842,
10986 "TermId": 18,
10987 "TransactionDate": "2014-08-19",
10988 "TransactionTime": "11:18:55",
10989 "RequestDate": "2014-08-19",
10990 "UserIP": "74.201.38.1",
10991 "SubscriptionType": "n",
10992 "ProductId": 18,
10993 "Source": 34,
10994 "ProductStatus": 2,
10995 "MediaFilePath": "",
10996 "Amount": ""
10997 },
10998 {
10999 "Id": 618,
11000 "UserId": 850,
11001 "TermId": 18,
11002 "TransactionDate": "2014-08-19",
11003 "TransactionTime": "11:18:55",
11004 "RequestDate": "2014-08-19",
11005 "UserIP": "74.201.38.1",
11006 "SubscriptionType": "n",
11007 "ProductId": 18,
11008 "Source": 34,
11009 "ProductStatus": 2,
11010 "MediaFilePath": "",
11011 "Amount": ""
11012 },
11013 {
11014 "Id": 626,
11015 "UserId": 858,
11016 "TermId": 18,
11017 "TransactionDate": "2014-08-19",
11018 "TransactionTime": "11:18:55",
11019 "RequestDate": "2014-08-19",
11020 "UserIP": "74.201.38.1",
11021 "SubscriptionType": "n",
11022 "ProductId": 18,
11023 "Source": 34,
11024 "ProductStatus": 2,
11025 "MediaFilePath": "",
11026 "Amount": ""
11027 },
11028 {
11029 "Id": 634,
11030 "UserId": 866,
11031 "TermId": 18,
11032 "TransactionDate": "2014-08-19",
11033 "TransactionTime": "11:18:55",
11034 "RequestDate": "2014-08-19",
11035 "UserIP": "74.201.38.1",
11036 "SubscriptionType": "n",
11037 "ProductId": 18,
11038 "Source": 34,
11039 "ProductStatus": 2,
11040 "MediaFilePath": "",
11041 "Amount": ""
11042 },
11043 {
11044 "Id": 642,
11045 "UserId": 874,
11046 "TermId": 18,
11047 "TransactionDate": "2014-08-19",
11048 "TransactionTime": "11:18:55",
11049 "RequestDate": "2014-08-19",
11050 "UserIP": "74.201.38.1",
11051 "SubscriptionType": "n",
11052 "ProductId": 18,
11053 "Source": 34,
11054 "ProductStatus": 2,
11055 "MediaFilePath": "",
11056 "Amount": ""
11057 },
11058 {
11059 "Id": 650,
11060 "UserId": 882,
11061 "TermId": 18,
11062 "TransactionDate": "2014-08-19",
11063 "TransactionTime": "11:18:55",
11064 "RequestDate": "2014-08-19",
11065 "UserIP": "74.201.38.1",
11066 "SubscriptionType": "n",
11067 "ProductId": 18,
11068 "Source": 34,
11069 "ProductStatus": 2,
11070 "MediaFilePath": "",
11071 "Amount": ""
11072 },
11073 {
11074 "Id": 658,
11075 "UserId": 890,
11076 "TermId": 18,
11077 "TransactionDate": "2014-08-19",
11078 "TransactionTime": "11:18:55",
11079 "RequestDate": "2014-08-19",
11080 "UserIP": "74.201.38.1",
11081 "SubscriptionType": "n",
11082 "ProductId": 18,
11083 "Source": 34,
11084 "ProductStatus": 2,
11085 "MediaFilePath": "",
11086 "Amount": ""
11087 },
11088 {
11089 "Id": 666,
11090 "UserId": 898,
11091 "TermId": 18,
11092 "TransactionDate": "2014-08-19",
11093 "TransactionTime": "11:18:55",
11094 "RequestDate": "2014-08-19",
11095 "UserIP": "74.201.38.1",
11096 "SubscriptionType": "n",
11097 "ProductId": 18,
11098 "Source": 34,
11099 "ProductStatus": 2,
11100 "MediaFilePath": "",
11101 "Amount": ""
11102 },
11103 {
11104 "Id": 674,
11105 "UserId": 906,
11106 "TermId": 18,
11107 "TransactionDate": "2014-08-19",
11108 "TransactionTime": "11:18:55",
11109 "RequestDate": "2014-08-19",
11110 "UserIP": "74.201.38.1",
11111 "SubscriptionType": "n",
11112 "ProductId": 18,
11113 "Source": 34,
11114 "ProductStatus": 2,
11115 "MediaFilePath": "",
11116 "Amount": ""
11117 },
11118 {
11119 "Id": 682,
11120 "UserId": 914,
11121 "TermId": 18,
11122 "TransactionDate": "2014-08-19",
11123 "TransactionTime": "11:18:55",
11124 "RequestDate": "2014-08-19",
11125 "UserIP": "74.201.38.1",
11126 "SubscriptionType": "n",
11127 "ProductId": 18,
11128 "Source": 34,
11129 "ProductStatus": 2,
11130 "MediaFilePath": "",
11131 "Amount": ""
11132 },
11133 {
11134 "Id": 690,
11135 "UserId": 922,
11136 "TermId": 18,
11137 "TransactionDate": "2014-08-19",
11138 "TransactionTime": "11:18:55",
11139 "RequestDate": "2014-08-19",
11140 "UserIP": "74.201.38.1",
11141 "SubscriptionType": "n",
11142 "ProductId": 18,
11143 "Source": 34,
11144 "ProductStatus": 2,
11145 "MediaFilePath": "",
11146 "Amount": ""
11147 },
11148 {
11149 "Id": 698,
11150 "UserId": 930,
11151 "TermId": 18,
11152 "TransactionDate": "2014-08-19",
11153 "TransactionTime": "11:18:55",
11154 "RequestDate": "2014-08-19",
11155 "UserIP": "74.201.38.1",
11156 "SubscriptionType": "n",
11157 "ProductId": 18,
11158 "Source": 34,
11159 "ProductStatus": 2,
11160 "MediaFilePath": "",
11161 "Amount": ""
11162 },
11163 {
11164 "Id": 706,
11165 "UserId": 938,
11166 "TermId": 18,
11167 "TransactionDate": "2014-08-19",
11168 "TransactionTime": "11:18:55",
11169 "RequestDate": "2014-08-19",
11170 "UserIP": "74.201.38.1",
11171 "SubscriptionType": "n",
11172 "ProductId": 18,
11173 "Source": 34,
11174 "ProductStatus": 2,
11175 "MediaFilePath": "",
11176 "Amount": ""
11177 },
11178 {
11179 "Id": 714,
11180 "UserId": 946,
11181 "TermId": 18,
11182 "TransactionDate": "2014-08-19",
11183 "TransactionTime": "11:18:55",
11184 "RequestDate": "2014-08-19",
11185 "UserIP": "74.201.38.1",
11186 "SubscriptionType": "n",
11187 "ProductId": 18,
11188 "Source": 34,
11189 "ProductStatus": 2,
11190 "MediaFilePath": "",
11191 "Amount": ""
11192 },
11193 {
11194 "Id": 722,
11195 "UserId": 954,
11196 "TermId": 18,
11197 "TransactionDate": "2014-08-19",
11198 "TransactionTime": "11:18:55",
11199 "RequestDate": "2014-08-19",
11200 "UserIP": "74.201.38.1",
11201 "SubscriptionType": "n",
11202 "ProductId": 18,
11203 "Source": 34,
11204 "ProductStatus": 2,
11205 "MediaFilePath": "",
11206 "Amount": ""
11207 },
11208 {
11209 "Id": 730,
11210 "UserId": 962,
11211 "TermId": 18,
11212 "TransactionDate": "2014-08-19",
11213 "TransactionTime": "11:18:55",
11214 "RequestDate": "2014-08-19",
11215 "UserIP": "74.201.38.1",
11216 "SubscriptionType": "n",
11217 "ProductId": 18,
11218 "Source": 34,
11219 "ProductStatus": 2,
11220 "MediaFilePath": "",
11221 "Amount": ""
11222 },
11223 {
11224 "Id": 738,
11225 "UserId": 970,
11226 "TermId": 18,
11227 "TransactionDate": "2014-08-19",
11228 "TransactionTime": "11:18:55",
11229 "RequestDate": "2014-08-19",
11230 "UserIP": "74.201.38.1",
11231 "SubscriptionType": "n",
11232 "ProductId": 18,
11233 "Source": 34,
11234 "ProductStatus": 2,
11235 "MediaFilePath": "",
11236 "Amount": ""
11237 },
11238 {
11239 "Id": 746,
11240 "UserId": 978,
11241 "TermId": 18,
11242 "TransactionDate": "2014-08-19",
11243 "TransactionTime": "11:18:55",
11244 "RequestDate": "2014-08-19",
11245 "UserIP": "74.201.38.1",
11246 "SubscriptionType": "n",
11247 "ProductId": 18,
11248 "Source": 34,
11249 "ProductStatus": 2,
11250 "MediaFilePath": "",
11251 "Amount": ""
11252 },
11253 {
11254 "Id": 754,
11255 "UserId": 986,
11256 "TermId": 18,
11257 "TransactionDate": "2014-08-19",
11258 "TransactionTime": "11:18:55",
11259 "RequestDate": "2014-08-19",
11260 "UserIP": "74.201.38.1",
11261 "SubscriptionType": "n",
11262 "ProductId": 18,
11263 "Source": 34,
11264 "ProductStatus": 2,
11265 "MediaFilePath": "",
11266 "Amount": ""
11267 },
11268 {
11269 "Id": 762,
11270 "UserId": 994,
11271 "TermId": 18,
11272 "TransactionDate": "2014-08-19",
11273 "TransactionTime": "11:18:55",
11274 "RequestDate": "2014-08-19",
11275 "UserIP": "74.201.38.1",
11276 "SubscriptionType": "n",
11277 "ProductId": 18,
11278 "Source": 34,
11279 "ProductStatus": 2,
11280 "MediaFilePath": "",
11281 "Amount": ""
11282 },
11283 {
11284 "Id": 770,
11285 "UserId": 1002,
11286 "TermId": 18,
11287 "TransactionDate": "2014-08-19",
11288 "TransactionTime": "11:18:55",
11289 "RequestDate": "2014-08-19",
11290 "UserIP": "74.201.38.1",
11291 "SubscriptionType": "n",
11292 "ProductId": 18,
11293 "Source": 34,
11294 "ProductStatus": 2,
11295 "MediaFilePath": "",
11296 "Amount": ""
11297 },
11298 {
11299 "Id": 778,
11300 "UserId": 1010,
11301 "TermId": 18,
11302 "TransactionDate": "2014-08-19",
11303 "TransactionTime": "11:18:55",
11304 "RequestDate": "2014-08-19",
11305 "UserIP": "74.201.38.1",
11306 "SubscriptionType": "n",
11307 "ProductId": 18,
11308 "Source": 34,
11309 "ProductStatus": 2,
11310 "MediaFilePath": "",
11311 "Amount": ""
11312 },
11313 {
11314 "Id": 786,
11315 "UserId": 1018,
11316 "TermId": 18,
11317 "TransactionDate": "2014-08-19",
11318 "TransactionTime": "11:18:55",
11319 "RequestDate": "2014-08-19",
11320 "UserIP": "74.201.38.1",
11321 "SubscriptionType": "n",
11322 "ProductId": 18,
11323 "Source": 34,
11324 "ProductStatus": 2,
11325 "MediaFilePath": "",
11326 "Amount": ""
11327 },
11328 {
11329 "Id": 794,
11330 "UserId": 1026,
11331 "TermId": 18,
11332 "TransactionDate": "2014-08-19",
11333 "TransactionTime": "11:18:55",
11334 "RequestDate": "2014-08-19",
11335 "UserIP": "74.201.38.1",
11336 "SubscriptionType": "n",
11337 "ProductId": 18,
11338 "Source": 34,
11339 "ProductStatus": 2,
11340 "MediaFilePath": "",
11341 "Amount": ""
11342 },
11343 {
11344 "Id": 802,
11345 "UserId": 1034,
11346 "TermId": 18,
11347 "TransactionDate": "2014-08-19",
11348 "TransactionTime": "11:18:55",
11349 "RequestDate": "2014-08-19",
11350 "UserIP": "74.201.38.1",
11351 "SubscriptionType": "n",
11352 "ProductId": 18,
11353 "Source": 34,
11354 "ProductStatus": 2,
11355 "MediaFilePath": "",
11356 "Amount": ""
11357 },
11358 {
11359 "Id": 810,
11360 "UserId": 1042,
11361 "TermId": 18,
11362 "TransactionDate": "2014-08-19",
11363 "TransactionTime": "11:18:55",
11364 "RequestDate": "2014-08-19",
11365 "UserIP": "74.201.38.1",
11366 "SubscriptionType": "n",
11367 "ProductId": 18,
11368 "Source": 34,
11369 "ProductStatus": 2,
11370 "MediaFilePath": "",
11371 "Amount": ""
11372 },
11373 {
11374 "Id": 818,
11375 "UserId": 1050,
11376 "TermId": 18,
11377 "TransactionDate": "2014-08-19",
11378 "TransactionTime": "11:18:55",
11379 "RequestDate": "2014-08-19",
11380 "UserIP": "74.201.38.1",
11381 "SubscriptionType": "n",
11382 "ProductId": 18,
11383 "Source": 34,
11384 "ProductStatus": 2,
11385 "MediaFilePath": "",
11386 "Amount": ""
11387 },
11388 {
11389 "Id": 826,
11390 "UserId": 1058,
11391 "TermId": 18,
11392 "TransactionDate": "2014-08-19",
11393 "TransactionTime": "11:18:55",
11394 "RequestDate": "2014-08-19",
11395 "UserIP": "74.201.38.1",
11396 "SubscriptionType": "n",
11397 "ProductId": 18,
11398 "Source": 34,
11399 "ProductStatus": 2,
11400 "MediaFilePath": "",
11401 "Amount": ""
11402 },
11403 {
11404 "Id": 834,
11405 "UserId": 1066,
11406 "TermId": 18,
11407 "TransactionDate": "2014-08-19",
11408 "TransactionTime": "11:18:55",
11409 "RequestDate": "2014-08-19",
11410 "UserIP": "74.201.38.1",
11411 "SubscriptionType": "n",
11412 "ProductId": 18,
11413 "Source": 34,
11414 "ProductStatus": 2,
11415 "MediaFilePath": "",
11416 "Amount": ""
11417 },
11418 {
11419 "Id": 842,
11420 "UserId": 1074,
11421 "TermId": 18,
11422 "TransactionDate": "2014-08-19",
11423 "TransactionTime": "11:18:55",
11424 "RequestDate": "2014-08-19",
11425 "UserIP": "74.201.38.1",
11426 "SubscriptionType": "n",
11427 "ProductId": 18,
11428 "Source": 34,
11429 "ProductStatus": 2,
11430 "MediaFilePath": "",
11431 "Amount": ""
11432 },
11433 {
11434 "Id": 850,
11435 "UserId": 1082,
11436 "TermId": 18,
11437 "TransactionDate": "2014-08-19",
11438 "TransactionTime": "11:18:55",
11439 "RequestDate": "2014-08-19",
11440 "UserIP": "74.201.38.1",
11441 "SubscriptionType": "n",
11442 "ProductId": 18,
11443 "Source": 34,
11444 "ProductStatus": 2,
11445 "MediaFilePath": "",
11446 "Amount": ""
11447 },
11448 {
11449 "Id": 858,
11450 "UserId": 1090,
11451 "TermId": 18,
11452 "TransactionDate": "2014-08-19",
11453 "TransactionTime": "11:18:55",
11454 "RequestDate": "2014-08-19",
11455 "UserIP": "74.201.38.1",
11456 "SubscriptionType": "n",
11457 "ProductId": 18,
11458 "Source": 34,
11459 "ProductStatus": 2,
11460 "MediaFilePath": "",
11461 "Amount": ""
11462 },
11463 {
11464 "Id": 866,
11465 "UserId": 1098,
11466 "TermId": 18,
11467 "TransactionDate": "2014-08-19",
11468 "TransactionTime": "11:18:55",
11469 "RequestDate": "2014-08-19",
11470 "UserIP": "74.201.38.1",
11471 "SubscriptionType": "n",
11472 "ProductId": 18,
11473 "Source": 34,
11474 "ProductStatus": 2,
11475 "MediaFilePath": "",
11476 "Amount": ""
11477 },
11478 {
11479 "Id": 874,
11480 "UserId": 1106,
11481 "TermId": 18,
11482 "TransactionDate": "2014-08-19",
11483 "TransactionTime": "11:18:55",
11484 "RequestDate": "2014-08-19",
11485 "UserIP": "74.201.38.1",
11486 "SubscriptionType": "n",
11487 "ProductId": 18,
11488 "Source": 34,
11489 "ProductStatus": 2,
11490 "MediaFilePath": "",
11491 "Amount": ""
11492 },
11493 {
11494 "Id": 882,
11495 "UserId": 1114,
11496 "TermId": 18,
11497 "TransactionDate": "2014-08-19",
11498 "TransactionTime": "11:18:55",
11499 "RequestDate": "2014-08-19",
11500 "UserIP": "74.201.38.1",
11501 "SubscriptionType": "n",
11502 "ProductId": 18,
11503 "Source": 34,
11504 "ProductStatus": 2,
11505 "MediaFilePath": "",
11506 "Amount": ""
11507 },
11508 {
11509 "Id": 890,
11510 "UserId": 1122,
11511 "TermId": 18,
11512 "TransactionDate": "2014-08-19",
11513 "TransactionTime": "11:18:55",
11514 "RequestDate": "2014-08-19",
11515 "UserIP": "74.201.38.1",
11516 "SubscriptionType": "n",
11517 "ProductId": 18,
11518 "Source": 34,
11519 "ProductStatus": 2,
11520 "MediaFilePath": "",
11521 "Amount": ""
11522 },
11523 {
11524 "Id": 898,
11525 "UserId": 1130,
11526 "TermId": 18,
11527 "TransactionDate": "2014-08-19",
11528 "TransactionTime": "11:18:55",
11529 "RequestDate": "2014-08-19",
11530 "UserIP": "74.201.38.1",
11531 "SubscriptionType": "n",
11532 "ProductId": 18,
11533 "Source": 34,
11534 "ProductStatus": 2,
11535 "MediaFilePath": "",
11536 "Amount": ""
11537 },
11538 {
11539 "Id": 906,
11540 "UserId": 1138,
11541 "TermId": 18,
11542 "TransactionDate": "2014-08-19",
11543 "TransactionTime": "11:18:55",
11544 "RequestDate": "2014-08-19",
11545 "UserIP": "74.201.38.1",
11546 "SubscriptionType": "n",
11547 "ProductId": 18,
11548 "Source": 34,
11549 "ProductStatus": 2,
11550 "MediaFilePath": "",
11551 "Amount": ""
11552 },
11553 {
11554 "Id": 914,
11555 "UserId": 1146,
11556 "TermId": 18,
11557 "TransactionDate": "2014-08-19",
11558 "TransactionTime": "11:18:55",
11559 "RequestDate": "2014-08-19",
11560 "UserIP": "74.201.38.1",
11561 "SubscriptionType": "n",
11562 "ProductId": 18,
11563 "Source": 34,
11564 "ProductStatus": 2,
11565 "MediaFilePath": "",
11566 "Amount": ""
11567 },
11568 {
11569 "Id": 922,
11570 "UserId": 1154,
11571 "TermId": 18,
11572 "TransactionDate": "2014-08-19",
11573 "TransactionTime": "11:18:55",
11574 "RequestDate": "2014-08-19",
11575 "UserIP": "74.201.38.1",
11576 "SubscriptionType": "n",
11577 "ProductId": 18,
11578 "Source": 34,
11579 "ProductStatus": 2,
11580 "MediaFilePath": "",
11581 "Amount": ""
11582 },
11583 {
11584 "Id": 930,
11585 "UserId": 1162,
11586 "TermId": 18,
11587 "TransactionDate": "2014-08-19",
11588 "TransactionTime": "11:18:55",
11589 "RequestDate": "2014-08-19",
11590 "UserIP": "74.201.38.1",
11591 "SubscriptionType": "n",
11592 "ProductId": 18,
11593 "Source": 34,
11594 "ProductStatus": 2,
11595 "MediaFilePath": "",
11596 "Amount": ""
11597 },
11598 {
11599 "Id": 938,
11600 "UserId": 1170,
11601 "TermId": 18,
11602 "TransactionDate": "2014-08-19",
11603 "TransactionTime": "11:18:55",
11604 "RequestDate": "2014-08-19",
11605 "UserIP": "74.201.38.1",
11606 "SubscriptionType": "n",
11607 "ProductId": 18,
11608 "Source": 34,
11609 "ProductStatus": 2,
11610 "MediaFilePath": "",
11611 "Amount": ""
11612 },
11613 {
11614 "Id": 946,
11615 "UserId": 1178,
11616 "TermId": 18,
11617 "TransactionDate": "2014-08-19",
11618 "TransactionTime": "11:18:55",
11619 "RequestDate": "2014-08-19",
11620 "UserIP": "74.201.38.1",
11621 "SubscriptionType": "n",
11622 "ProductId": 18,
11623 "Source": 34,
11624 "ProductStatus": 2,
11625 "MediaFilePath": "",
11626 "Amount": ""
11627 },
11628 {
11629 "Id": 954,
11630 "UserId": 1186,
11631 "TermId": 18,
11632 "TransactionDate": "2014-08-19",
11633 "TransactionTime": "11:18:55",
11634 "RequestDate": "2014-08-19",
11635 "UserIP": "74.201.38.1",
11636 "SubscriptionType": "n",
11637 "ProductId": 18,
11638 "Source": 34,
11639 "ProductStatus": 2,
11640 "MediaFilePath": "",
11641 "Amount": ""
11642 },
11643 {
11644 "Id": 962,
11645 "UserId": 1194,
11646 "TermId": 18,
11647 "TransactionDate": "2014-08-19",
11648 "TransactionTime": "11:18:55",
11649 "RequestDate": "2014-08-19",
11650 "UserIP": "74.201.38.1",
11651 "SubscriptionType": "n",
11652 "ProductId": 18,
11653 "Source": 34,
11654 "ProductStatus": 2,
11655 "MediaFilePath": "",
11656 "Amount": ""
11657 },
11658 {
11659 "Id": 970,
11660 "UserId": 1202,
11661 "TermId": 18,
11662 "TransactionDate": "2014-08-19",
11663 "TransactionTime": "11:18:55",
11664 "RequestDate": "2014-08-19",
11665 "UserIP": "74.201.38.1",
11666 "SubscriptionType": "n",
11667 "ProductId": 18,
11668 "Source": 34,
11669 "ProductStatus": 2,
11670 "MediaFilePath": "",
11671 "Amount": ""
11672 },
11673 {
11674 "Id": 978,
11675 "UserId": 1210,
11676 "TermId": 18,
11677 "TransactionDate": "2014-08-19",
11678 "TransactionTime": "11:18:55",
11679 "RequestDate": "2014-08-19",
11680 "UserIP": "74.201.38.1",
11681 "SubscriptionType": "n",
11682 "ProductId": 18,
11683 "Source": 34,
11684 "ProductStatus": 2,
11685 "MediaFilePath": "",
11686 "Amount": ""
11687 },
11688 {
11689 "Id": 986,
11690 "UserId": 1218,
11691 "TermId": 18,
11692 "TransactionDate": "2014-08-19",
11693 "TransactionTime": "11:18:55",
11694 "RequestDate": "2014-08-19",
11695 "UserIP": "74.201.38.1",
11696 "SubscriptionType": "n",
11697 "ProductId": 18,
11698 "Source": 34,
11699 "ProductStatus": 2,
11700 "MediaFilePath": "",
11701 "Amount": ""
11702 },
11703 {
11704 "Id": 994,
11705 "UserId": 1226,
11706 "TermId": 18,
11707 "TransactionDate": "2014-08-19",
11708 "TransactionTime": "11:18:55",
11709 "RequestDate": "2014-08-19",
11710 "UserIP": "74.201.38.1",
11711 "SubscriptionType": "n",
11712 "ProductId": 18,
11713 "Source": 34,
11714 "ProductStatus": 2,
11715 "MediaFilePath": "",
11716 "Amount": ""
11717 },
11718 {
11719 "Id": 1002,
11720 "UserId": 1234,
11721 "TermId": 18,
11722 "TransactionDate": "2014-08-19",
11723 "TransactionTime": "11:18:55",
11724 "RequestDate": "2014-08-19",
11725 "UserIP": "74.201.38.1",
11726 "SubscriptionType": "n",
11727 "ProductId": 18,
11728 "Source": 34,
11729 "ProductStatus": 2,
11730 "MediaFilePath": "",
11731 "Amount": ""
11732 }
11733 ]
11734 }
11735 {{/code}}
11736
11737 \\
11738
11739 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
11740 == (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)specific Transaction(%%) ==
11741
11742 ----
11743
11744 {{panel bgColor="#D3D3D3" width="100%"}}
11745 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/transactions/~{~{Transaction id}}
11746 {{/panel}}
11747
11748 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
11749
11750 ----
11751
11752 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
11753
11754 ==== Example ====
11755
11756 ----
11757
11758 (% style="color: rgb(107,107,107);" %)Request
11759
11760 {{code language="php" theme="RDark" title="Get specific Transaction Request" collapse="true"}}
11761 <?php
11762
11763 $curl = curl_init();
11764
11765 curl_setopt_array($curl, array(
11766 CURLOPT_URL => 'rayaan.onecount.net/api/v2/transactions/{{Transaction id}}',
11767 CURLOPT_RETURNTRANSFER => true,
11768 CURLOPT_ENCODING => '',
11769 CURLOPT_MAXREDIRS => 10,
11770 CURLOPT_TIMEOUT => 0,
11771 CURLOPT_FOLLOWLOCATION => true,
11772 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
11773 CURLOPT_CUSTOMREQUEST => 'GET',
11774 CURLOPT_HTTPHEADER => array(
11775 'Appkey: {{ONECOUNT API KEY}}'
11776 ),
11777 ));
11778
11779 $response = curl_exec($curl);
11780
11781 curl_close($curl);
11782 echo $response;
11783 {{/code}}
11784
11785 \\
11786
11787 (% style="color: rgb(107,107,107);" %)Response  200 OK
11788
11789 {{code language="yml" theme="RDark" title="Get specific Transaction Response" collapse="true"}}
11790 {
11791 "result": {
11792 "success": "1",
11793 "error": {
11794 "code": "",
11795 "message": ""
11796 }
11797 },
11798 "Transactions": [
11799 {
11800 "Id": 1002,
11801 "UserId": 1234,
11802 "TermId": 18,
11803 "TransactionDate": "2014-08-19",
11804 "TransactionTime": "11:18:55",
11805 "RequestDate": "2014-08-19",
11806 "UserIP": "74.201.38.1",
11807 "SubscriptionType": "n",
11808 "ProductId": 18,
11809 "Source": 34,
11810 "ProductStatus": 2,
11811 "MediaFilePath": "",
11812 "Amount": ""
11813 }
11814 ]
11815 }
11816 {{/code}}
11817
11818 \\
11819
11820 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
11821 == (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)lookup Transaction(%%) ==
11822
11823 ----
11824
11825 {{panel bgColor="#D3D3D3" width="100%"}}
11826 (% class="nolink" %)[[https:~~/~~/api.onecount.net/v2/users>>url:https://api.onecount.net/v2/users||shape="rect"]](% style="color: rgb(33,33,33);" %)/lookup?2=user_242_6298&return=1,2,3,4
11827 {{/panel}}
11828
11829 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
11830
11831 ----
11832
11833 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
11834
11835 === (% style="color: rgb(33,33,33);" %)Query Params(%%) ===
11836
11837 ----
11838
11839 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)2  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)user_242_6298(%%)
11840 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)return  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)1,2,3,4
11841
11842 ==== Example ====
11843
11844 ----
11845
11846 (% style="color: rgb(107,107,107);" %)Request
11847
11848 {{code language="php" theme="RDark" title="Lookup user Request" collapse="true"/}}
11849
11850 \\
11851
11852 (% style="color: rgb(107,107,107);" %)Response  200 OK
11853
11854 {{code language="yml" theme="RDark" title="Lookup user Response" collapse="true"/}}
11855
11856 \\
11857
11858 \\
11859
11860 \\
11861
11862 \\
11863
11864 \\
11865
11866 \\
11867
11868 \\
11869
11870 \\
11871
11872 \\
11873
11874 \\
11875
11876 \\
11877
11878 \\
11879
11880 \\
11881
11882 \\
11883
11884 \\
11885
11886 \\
11887
11888 \\
11889
11890 \\
11891
11892 \\
11893
11894 \\
11895
11896 \\
11897
11898 \\
11899
11900 \\
11901
11902 \\
11903
11904 (% class="western" %)
11905 **COMPONENT: Leads
11906 **
11907
11908 (% class="western" %)
11909 Stats resource can be used to submit any type of stat collected on the third party systems. Each type of stat will be represented by a sub-resource. So, for telemarketing it could be **/stats/telemarketing** endpoint, for videos it can be **/stats/videos**, for webinar it could be **/stats/webinars** etc. Right now we only have telemarketing sub-resource.
11910
11911 (% class="western" %)
11912 **Telemarketing Leads
11913 **
11914
11915 (% class="western" %)
11916
11917 This resource is for manipulating telemarketing stat resource. A telemarketing stat can be created or listed.
11918
11919 (% class="wrapped" %)
11920 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
11921 (((
11922 (% class="western" %)
11923 **Method**
11924 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
11925 (((
11926 (% class="western" %)
11927 **Url**
11928 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
11929 (((
11930 (% class="western" %)
11931 **Action**
11932 )))
11933 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
11934 (((
11935 (% class="western" %)
11936 GET
11937 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
11938 (((
11939 (% class="western" %)
11940 /stats/telemarketing
11941 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
11942 (((
11943 (% class="western" %)
11944 List telemarketing stats
11945 )))
11946 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
11947 (((
11948 (% class="western" %)
11949 GET
11950 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
11951 (((
11952 (% class="western" %)
11953 /stats/telemarketing/1000
11954 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
11955 (((
11956 (% class="western" %)
11957 Get telemarketing stat whose id is 1000 in the system.
11958 )))
11959 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
11960 (((
11961 (% class="western" %)
11962 POST
11963 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
11964 (((
11965 (% class="western" %)
11966 /stats/telemarketing
11967 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
11968 (((
11969 (% class="western" %)
11970 JSON of the Telemarketing type object needs to be sent as post data. Id field should not be sent.
11971 )))
11972
11973 \\
11974
11975 (% class="western" %)
11976 POST method can be used to create telemarketing stat. Telemarketing info needs to be sent as request and an Id will be returned when the transaction is created.
11977
11978 (% class="wrapped" %)
11979 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
11980 (((
11981 (% class="western" %)
11982 **Request**
11983 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
11984 (((
11985 (% class="western" %)
11986 **Type**
11987 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
11988 (((
11989 (% class="western" %)
11990 **Description**
11991 )))
11992 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
11993 (((
11994 (% class="western" %)
11995 Telemarketing
11996 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
11997 (((
11998 (% class="western" %)
11999 Telemarketing
12000 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12001 (((
12002 (% class="western" %)
12003 Contains fields that define a telemarketing stat. Id field should not be set. Refer to telemarketing object in references section.
12004
12005 (% class="western" %)
12006 Workflow: OCID: This id is required field. This represents the unique id of the user in onecount system. This id can be looked up from the /user/lookup resource if the ocid is not known by providing user demographic questions, if not found new user needs to be created in the onecount system by posting the user demographic from /user resource. If the ocid is found send the demo data to user resource (PUT) to update the demographic information.
12007
12008 (% class="western" %)
12009 E.g
12010
12011 (% class="western" %)
12012 {
12013
12014 (% class="western" %)
12015 "Telemarketing":[
12016
12017 (% class="western" %)
12018 {
12019
12020 (% class="western" %)
12021 "OCID":"5000",
12022
12023 (% class="western" %)
12024 "Date": "2016-01-01",
12025
12026 (% class="western" %)
12027 "Time": "10:10:10",
12028
12029 (% class="western" %)
12030 "ResourceId":"250",
12031
12032 (% class="western" %)
12033 "PageUrl": "[[http:~~/~~/www.one-count.com/detail/a.php>>url:http://www.one-count.com/detail/a.php||rel="nofollow" shape="rect" class="external-link"]]",
12034
12035 (% class="western" %)
12036 "PageTitle":"tests"
12037
12038 (% class="western" %)
12039 }
12040
12041 (% class="western" %)
12042 ]
12043
12044 (% class="western" %)
12045 }
12046 )))
12047 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12048 (((
12049 (% class="western" %)
12050 \\
12051 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12052 (((
12053 (% class="western" %)
12054 \\
12055 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12056 (((
12057 (% class="western" %)
12058 \\
12059 )))
12060
12061 (% class="wrapped" %)
12062 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12063 (((
12064 (% class="western" %)
12065 **Response**
12066 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12067 (((
12068 (% class="western" %)
12069 **Type**
12070 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12071 (((
12072 (% class="western" %)
12073 **Description**
12074 )))
12075 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12076 (((
12077 (% class="western" %)
12078 Ids
12079 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12080 (((
12081 (% class="western" %)
12082 String
12083 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12084 (((
12085 (% class="western" %)
12086 Returns telemarketing ids of the newly created transaction. If multiple stats are sent, multiple ids are returned in cvs format.
12087 )))
12088
12089 \\
12090
12091 \\
12092
12093 \\
12094
12095 \\
12096
12097 \\
12098
12099 (% class="western" %)
12100 **API REFERENCE**
12101
12102 (% class="western" %)
12103 **Type: Questions**
12104
12105 (% class="wrapped" %)
12106 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12107 (((
12108 (% class="western" %)
12109 **Property Name**
12110 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12111 (((
12112 (% class="western" %)
12113 **Type**
12114 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12115 (((
12116 (% class="western" %)
12117 **Description**
12118 )))
12119 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12120 (((
12121 (% class="western" %)
12122 Id
12123 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12124 (((
12125 (% class="western" %)
12126 Int
12127 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12128 (((
12129 (% class="western" %)
12130 Id of the question.
12131 )))
12132 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12133 (((
12134 (% class="western" %)
12135 Text
12136 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12137 (((
12138 (% class="western" %)
12139 String
12140 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12141 (((
12142 (% class="western" %)
12143 Text of the question.
12144 )))
12145 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12146 (((
12147 (% class="western" %)
12148 Type
12149 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12150 (((
12151 (% class="western" %)
12152 Int
12153 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12154 (((
12155 (% class="western" %)
12156 Determines which type of question it is. Textbox, checkbox, select, radio.
12157 There can be 6 types of questions.
12158 type=1 means textbox type questions or short response type question. The response length needs to be less than 255 characters.
12159 type=2 means textarea type question or long response type question.
12160 type=3 means password type question. This is basically same as type 1 but when displayed in ONEcount frontend forms typed characters appears as *
12161 type = 4 means select or dropdown type questions. This is a multiple choice, 1 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 select question.
12162 type=5 means radio button type question. This is a multiple choice, 1 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 radio question.
12163 type=6 means 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.
12164 )))
12165 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12166 (((
12167 (% class="western" %)
12168 Choices
12169 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12170 (((
12171 (% class="western" %)
12172 choices
12173 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12174 (((
12175 (% class="western" %)
12176 If multiple choice question this field will have the choices.
12177 )))
12178 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12179 (((
12180 (% class="western" %)
12181 Alias
12182 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12183 (((
12184 (% class="western" %)
12185 String
12186 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12187 (((
12188 (% class="western" %)
12189 Alias for admin purpose.
12190 )))
12191
12192 (% class="western" %)
12193 \\
12194
12195 (% class="western" %)
12196 \\
12197
12198 (% class="western" %)
12199 **Type: Choices**
12200
12201 (% class="wrapped" %)
12202 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12203 (((
12204 (% class="western" %)
12205 **Property Name**
12206 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12207 (((
12208 (% class="western" %)
12209 **Type**
12210 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12211 (((
12212 (% class="western" %)
12213 **Description**
12214 )))
12215 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12216 (((
12217 (% class="western" %)
12218 Id
12219 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12220 (((
12221 (% class="western" %)
12222 int
12223 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12224 (((
12225 (% class="western" %)
12226 Id of the choice.
12227 )))
12228 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12229 (((
12230 (% class="western" %)
12231 Text
12232 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12233 (((
12234 (% class="western" %)
12235 string
12236 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12237 (((
12238 (% class="western" %)
12239 Display text of choice.
12240 )))
12241 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12242 (((
12243 (% class="western" %)
12244 Value
12245 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12246 (((
12247 (% class="western" %)
12248 String
12249 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12250 (((
12251 (% class="western" %)
12252 Value stored in db.
12253 )))
12254 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12255 (((
12256 (% class="western" %)
12257 Order
12258 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12259 (((
12260 (% class="western" %)
12261 Int
12262 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12263 (((
12264 (% class="western" %)
12265 Display order.
12266 )))
12267 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12268 (((
12269 (% class="western" %)
12270 QuestionId
12271 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12272 (((
12273 (% class="western" %)
12274 Int
12275 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12276 (((
12277 (% class="western" %)
12278 Tied to which question id.
12279 )))
12280
12281 \\
12282
12283 (% class="western" %)
12284 **Type: Users**
12285
12286 (% class="wrapped" %)
12287 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12288 (((
12289 (% class="western" %)
12290 **Property Name**
12291 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12292 (((
12293 (% class="western" %)
12294 **Type**
12295 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12296 (((
12297 (% class="western" %)
12298 **Description**
12299 )))
12300 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12301 (((
12302 (% class="western" %)
12303 Id
12304 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12305 (((
12306 (% class="western" %)
12307 Int
12308 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12309 (((
12310 (% class="western" %)
12311 ID of the user in ONEcount.
12312 )))
12313 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12314 (((
12315 (% class="western" %)
12316 PartnerId
12317 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12318 (((
12319 (% class="western" %)
12320 Int
12321 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12322 (((
12323 (% class="western" %)
12324 ID of the user in partners system (e.g. id of your system).
12325 )))
12326 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12327 (((
12328 (% class="western" %)
12329 Demo
12330 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12331 (((
12332 (% class="western" %)
12333 Demo
12334 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12335 (((
12336 (% class="western" %)
12337 Object of user's demo question ids and respective response values.
12338 )))
12339 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12340 (((
12341 (% class="western" %)
12342 RequestDate
12343 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12344 (((
12345 (% class="western" %)
12346 Date
12347 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12348 (((
12349 (% class="western" %)
12350 Request date.
12351 )))
12352
12353 \\
12354
12355 (% class="western" %)
12356 **Type: Demo**
12357
12358 (% class="wrapped" %)
12359 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12360 (((
12361 (% class="western" %)
12362 **Property Name**
12363 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12364 (((
12365 (% class="western" %)
12366 **Type**
12367 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12368 (((
12369 (% class="western" %)
12370 **Description**
12371 )))
12372 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12373 (((
12374 (% class="western" %)
12375 QuestionId (e.g 6)
12376 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12377 (((
12378 (% class="western" %)
12379 String
12380 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12381 (((
12382 (% class="western" %)
12383 6 is the value of “Id” property of question resource(Text = “First Name”)
12384 )))
12385 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12386 (((
12387 (% class="western" %)
12388 QuestionId (e.g 7)
12389 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12390 (((
12391 (% class="western" %)
12392 String
12393 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12394 (((
12395 (% class="western" %)
12396 7 is the value of “Id” property of question resource(Text = “Last Name”)
12397 )))
12398 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12399 (((
12400 (% class="western" %)
12401 ...
12402 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12403 (((
12404 (% class="western" %)
12405 ...
12406 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12407 (((
12408 (% class="western" %)
12409 ...
12410 )))
12411
12412 \\
12413
12414 (% class="western" %)
12415 **Type: Transactions**
12416
12417 (% class="wrapped" %)
12418 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12419 (((
12420 (% class="western" %)
12421 **Property Name**
12422 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12423 (((
12424 (% class="western" %)
12425 **Type**
12426 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12427 (((
12428 (% class="western" %)
12429 **Description**
12430 )))
12431 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12432 (((
12433 (% class="western" %)
12434 Id
12435 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12436 (((
12437 (% class="western" %)
12438 Int
12439 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12440 (((
12441 (% class="western" %)
12442 ID of the transaction.
12443 )))
12444 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12445 (((
12446 (% class="western" %)
12447 UserId
12448 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12449 (((
12450 (% class="western" %)
12451 Int
12452 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12453 (((
12454 (% class="western" %)
12455 Id of user in ONEcount.
12456 )))
12457 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12458 (((
12459 (% class="western" %)
12460 TermId
12461 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12462 (((
12463 (% class="western" %)
12464 Int
12465 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12466 (((
12467 (% class="western" %)
12468 TermId in ONEcount.
12469 )))
12470 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12471 (((
12472 (% class="western" %)
12473 ProductStatus
12474 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12475 (((
12476 (% class="western" %)
12477 Int
12478 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12479 (((
12480 (% class="western" %)
12481 Status ID.
12482 )))
12483 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12484 (((
12485 (% class="western" %)
12486 SubscriptionType
12487 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12488 (((
12489 (% class="western" %)
12490 Char
12491 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12492 (((
12493 (% class="western" %)
12494 Can be n,r or u for new, renew or unsubscribe.
12495 )))
12496 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12497 (((
12498 (% class="western" %)
12499 TransactionDate
12500 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12501 (((
12502 (% class="western" %)
12503 Date
12504 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12505 (((
12506 (% class="western" %)
12507 Date when the transaction occurred.
12508 )))
12509 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12510 (((
12511 (% class="western" %)
12512 TransactionTime
12513 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12514 (((
12515 (% class="western" %)
12516 Time
12517 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12518 (((
12519 (% class="western" %)
12520 Time of transaction.
12521 )))
12522 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12523 (((
12524 (% class="western" %)
12525 RequestDate
12526 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12527 (((
12528 (% class="western" %)
12529 Date
12530 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12531 (((
12532 (% class="western" %)
12533 The effective request date for the transaction.
12534 )))
12535 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12536 (((
12537 (% class="western" %)
12538 UserIP
12539 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12540 (((
12541 (% class="western" %)
12542 String
12543 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12544 (((
12545 (% class="western" %)
12546 IP of the user.
12547 )))
12548 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12549 (((
12550 (% class="western" %)
12551 Source
12552 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12553 (((
12554 (% class="western" %)
12555 String
12556 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12557 (((
12558 (% class="western" %)
12559 The transaction needs to be tied to a source code this will define it.
12560 )))
12561 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12562 (((
12563 (% class="western" %)
12564 MediaFilePath
12565 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12566 (((
12567 (% class="western" %)
12568 String
12569 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12570 (((
12571 (% class="western" %)
12572 The url of media associated with that transaction. Eg image, audio.
12573 )))
12574 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12575 (((
12576 (% class="western" %)
12577 ExpireDate
12578 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12579 (((
12580 (% class="western" %)
12581 Date
12582 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12583 (((
12584 (% class="western" %)
12585 Date when the subscription expires.
12586 )))
12587 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12588 (((
12589 (% class="western" %)
12590 Amount
12591 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12592 (((
12593 (% class="western" %)
12594 Float
12595 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12596 (((
12597 (% class="western" %)
12598 If there is amount (USD) included in transaction.
12599 )))
12600
12601 \\
12602
12603 (% class="western" %)
12604 **Type: Sources**
12605
12606 (% class="wrapped" %)
12607 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12608 (((
12609 (% class="western" %)
12610 **Property Name**
12611 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12612 (((
12613 (% class="western" %)
12614 **Type**
12615 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12616 (((
12617 (% class="western" %)
12618 **Description**
12619 )))
12620 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12621 (((
12622 (% class="western" %)
12623 Id
12624 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12625 (((
12626 (% class="western" %)
12627 Int
12628 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12629 (((
12630 (% class="western" %)
12631 Id of the source.
12632 )))
12633 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12634 (((
12635 (% class="western" %)
12636 Source
12637 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12638 (((
12639 (% class="western" %)
12640 String
12641 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12642 (((
12643 (% class="western" %)
12644 Value of the source.
12645 )))
12646 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12647 (((
12648 (% class="western" %)
12649 Description
12650 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12651 (((
12652 (% class="western" %)
12653 Text
12654 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12655 (((
12656 (% class="western" %)
12657 Description of the source.
12658 )))
12659 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12660 (((
12661 (% class="western" %)
12662 ParentId
12663 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12664 (((
12665 (% class="western" %)
12666 int
12667 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12668 (((
12669 (% class="western" %)
12670 If this is a child source then list the parent source id.
12671 )))
12672
12673 (% class="western" %)
12674 \\
12675
12676 (% class="western" %)
12677 **Type: Products**
12678
12679 (% class="wrapped" %)
12680 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12681 (((
12682 (% class="western" %)
12683 **Property Name**
12684 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12685 (((
12686 (% class="western" %)
12687 **Type**
12688 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12689 (((
12690 (% class="western" %)
12691 **Description**
12692 )))
12693 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12694 (((
12695 (% class="western" %)
12696 Id
12697 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12698 (((
12699 (% class="western" %)
12700 Int
12701 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12702 (((
12703 (% class="western" %)
12704 Specify only for update.
12705 )))
12706 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12707 (((
12708 (% class="western" %)
12709 Name
12710 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12711 (((
12712 (% class="western" %)
12713 String
12714 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12715 (((
12716 (% class="western" %)
12717 Name of the Product.
12718 )))
12719 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12720 (((
12721 (% class="western" %)
12722 Description
12723 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12724 (((
12725 (% class="western" %)
12726 Text
12727 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12728 (((
12729 (% class="western" %)
12730 Description of the product.
12731 )))
12732 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12733 (((
12734 (% class="western" %)
12735 Terms
12736 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12737 (((
12738 (% class="western" %)
12739 Terms
12740 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12741 (((
12742 (% class="western" %)
12743 (Array of) Terms associated with the product.
12744 )))
12745
12746 \\
12747
12748 (% class="western" %)
12749 **Type: Terms**
12750
12751 (% class="wrapped" %)
12752 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12753 (((
12754 (% class="western" %)
12755 **Property Name**
12756 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12757 (((
12758 (% class="western" %)
12759 **Type**
12760 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12761 (((
12762 (% class="western" %)
12763 **Description**
12764 )))
12765 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12766 (((
12767 (% class="western" %)
12768 Id
12769 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12770 (((
12771 (% class="western" %)
12772 int
12773 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12774 (((
12775 (% class="western" %)
12776 Id of the term.
12777 )))
12778 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12779 (((
12780 (% class="western" %)
12781 Name
12782 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12783 (((
12784 (% class="western" %)
12785 string
12786 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12787 (((
12788 (% class="western" %)
12789 Name of the Term.
12790 )))
12791 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12792 (((
12793 (% class="western" %)
12794 Description
12795 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12796 (((
12797 (% class="western" %)
12798 text
12799 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12800 (((
12801 (% class="western" %)
12802 Description of the term.
12803 )))
12804 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12805 (((
12806 (% class="western" %)
12807 Duration
12808 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12809 (((
12810 (% class="western" %)
12811 int
12812 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12813 (((
12814 (% class="western" %)
12815 Duration of term validity.
12816 )))
12817 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12818 (((
12819 (% class="western" %)
12820 DurationUnit
12821 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12822 (((
12823 (% class="western" %)
12824 sting
12825 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12826 (((
12827 (% class="western" %)
12828 Y (year), M (Month), D (Days).
12829 )))
12830 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12831 (((
12832 (% class="western" %)
12833 ProductId
12834 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12835 (((
12836 (% class="western" %)
12837 int
12838 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12839 (((
12840 (% class="western" %)
12841 Id of the product the term is tied to.
12842 )))
12843 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12844 (((
12845 (% class="western" %)
12846 Price
12847 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12848 (((
12849 (% class="western" %)
12850 float
12851 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12852 (((
12853 (% class="western" %)
12854 If there is price (USD) for the term.
12855 )))
12856
12857 \\
12858
12859 (% class="western" %)
12860 **Type: Resources**
12861
12862 (% class="wrapped" %)
12863 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12864 (((
12865 (% class="western" %)
12866 **Property Name**
12867 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12868 (((
12869 (% class="western" %)
12870 **Type**
12871 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12872 (((
12873 (% class="western" %)
12874 **Description**
12875 )))
12876 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12877 (((
12878 (% class="western" %)
12879 Id
12880 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12881 (((
12882 (% class="western" %)
12883 Int
12884 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12885 (((
12886 (% class="western" %)
12887 Specify only for update.
12888 )))
12889 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12890 (((
12891 (% class="western" %)
12892 Name
12893 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12894 (((
12895 (% class="western" %)
12896 String
12897 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12898 (((
12899 (% class="western" %)
12900 Name of the Resource.
12901 )))
12902 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12903 (((
12904 (% class="western" %)
12905 Description
12906 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12907 (((
12908 (% class="western" %)
12909 Text
12910 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12911 (((
12912 (% class="western" %)
12913 Description of the Resource.
12914 )))
12915 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12916 (((
12917 (% class="western" %)
12918 Type
12919 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12920 (((
12921 (% class="western" %)
12922 Int
12923 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12924 (((
12925 (% class="western" %)
12926 Type Options
12927
12928 (% class="western" %)
12929 **0** : File
12930
12931 (% class="western" %)
12932 **2 : **Newsletter
12933
12934 (% class="western" %)
12935 **3 : **Section
12936
12937 (% class="western" %)
12938 **4 : **Page
12939
12940 (% class="western" %)
12941 **5 : **Function
12942 )))
12943 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12944 (((
12945 (% class="western" %)
12946 Value
12947 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12948 (((
12949 (% class="western" %)
12950 String
12951
12952 (% class="western" %)
12953 or
12954
12955 (% class="western" %)
12956 Array
12957 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12958 (((
12959 (% class="western" %)
12960 Value of Resource Type:
12961
12962 (% class="western" %)
12963 When requesting a resource (GET), you should expect a string if there is only one value. If there are multiple values, you should expect an array.
12964
12965 (% class="western" %)
12966 For creating/updating a resource (POST/PUT), it is highly recommended to send an array - this will handle single and multiple value requests.
12967
12968 (% class="western" %)
12969 Example :
12970
12971 (% class="western" %)
12972 if the Type sent is 3 with one value then Value would be "**/digital/**" or **["/digital"/].** We recommend using the second approach of **["/digital"/].
12973 **if the Type sent is 3 with two values then Value would be ["**/digital/**", "**/articles/**"]
12974
12975 (% class="western" %)
12976 For Function type resource leave it blank.
12977 )))
12978 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12979 (((
12980 (% class="western" %)
12981 limit
12982 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12983 (((
12984 (% class="western" %)
12985 Int
12986 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12987 (((
12988 (% class="western" %)
12989 Default limit is 25 but if all the data needs to be pulled then pass limit=0.
12990 )))
12991 (% class="" %)|(% colspan="1" style="text-align: left;vertical-align: top;" %)(% colspan="1" style="text-align: left;vertical-align: top;" %)
12992 (((
12993 FreePass
12994 )))|(% colspan="1" style="text-align: left;vertical-align: top;" %)(% colspan="1" style="text-align: left;vertical-align: top;" %)
12995 (((
12996 Int
12997 )))|(% colspan="1" style="text-align: left;vertical-align: top;" %)(% colspan="1" style="text-align: left;vertical-align: top;" %)
12998 (((
12999 Default value is 0. This parameter is used to provide access to protected content.
13000 )))
13001
13002 \\
13003
13004 (% class="western" %)
13005 **Type: Telemarketing**
13006
13007 (% class="wrapped" %)
13008 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13009 (((
13010 (% class="western" %)
13011 **Property Name**
13012 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13013 (((
13014 (% class="western" %)
13015 **Type**
13016 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13017 (((
13018 (% class="western" %)
13019 **Description**
13020 )))
13021 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13022 (((
13023 (% class="western" %)
13024 Id
13025 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13026 (((
13027 (% class="western" %)
13028 int
13029 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13030 (((
13031 (% class="western" %)
13032 Id of the telemarketing stat. This is autogenerated from the system and can be used to lookup the stat.
13033 )))
13034 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13035 (((
13036 (% class="western" %)
13037 OCID
13038 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13039 (((
13040 (% class="western" %)
13041 int
13042 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13043 (((
13044 (% class="western" %)
13045 Onecount ID of the user.
13046 )))
13047 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13048 (((
13049 (% class="western" %)
13050 Date
13051 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13052 (((
13053 (% class="western" %)
13054 Date
13055 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13056 (((
13057 (% class="western" %)
13058 Date when the stat occurred. Format: yyyy-mm-dd
13059 )))
13060 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13061 (((
13062 (% class="western" %)
13063 Time
13064 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13065 (((
13066 (% class="western" %)
13067 Time
13068 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13069 (((
13070 (% class="western" %)
13071 Time of stat. Format: h:m:s (24 hour format)
13072 )))
13073 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13074 (((
13075 (% class="western" %)
13076 ResourceId
13077 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13078 (((
13079 (% class="western" %)
13080 int
13081 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13082 (((
13083 (% class="western" %)
13084 Id of resource currently being sent for the sat. If the resource type is page type resource then need to send
13085
13086 (% class="western" %)
13087 PageTitle otherwise it will follow the process described in PageTitle.
13088 )))
13089 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13090 (((
13091 (% class="western" %)
13092 PageUrl
13093 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13094 (((
13095 (% class="western" %)
13096 string
13097 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13098 (((
13099 (% class="western" %)
13100 Page Url belongs to resource that is being sent with this request. If the resource is file type then it needs to be path to that file and if the resource is section it needs to be section. Basically the value here needs to exact what is defined while creating resource.
13101 )))
13102 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13103 (((
13104 (% class="western" %)
13105 PageTitle
13106 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13107 (((
13108 (% class="western" %)
13109 string
13110 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13111 (((
13112 (% class="western" %)
13113 Page title that belongs to the page url that is being sent. If not provided it try to pull the title from the page but if unsuccessful then it will set it as blank.
13114
13115 (% class="western" %)
13116 \\
13117
13118 (% class="western" %)
13119 If the page url already exists and it doesn't match with the one that is being sent then it will throw conflict error with the title in our system.
13120 )))
13121
13122 \\