Wiki source code of ONEcount API Documentation

Version 4.1 by rayaan@one-count_com on 2023/12/12 07:07

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 => 'https://api.onecount.net/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 => 'https://api.onecount.net/v2/users/{{OCID}}',
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 => 'https://api.onecount.net/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 => 'https://api.onecount.net/v2/users/lookup?2=user_242_6298&return=1,2,3,4',
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="wrapped" %)
1145 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1146 (((
1147 (% class="western" %)
1148 **Request**
1149 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1150 (((
1151 (% class="western" %)
1152 **Type**
1153 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1154 (((
1155 (% class="western" %)
1156 **Description**
1157 )))
1158 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1159 (((
1160 (% class="western" %)
1161 Users
1162 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1163 (((
1164 (% class="western" %)
1165 Users
1166 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1167 (((
1168 (% class="western" %)
1169 Users object that contains information about user to create. PartnerId Needs to be specified.
1170 )))
1171 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1172 (((
1173 (% class="western" %)
1174 Transactions
1175 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1176 (((
1177 (% class="western" %)
1178 Transactions
1179 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1180 (((
1181 (% class="western" %)
1182 (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.
1183 )))
1184 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1185 (((
1186 (% class="western" %)
1187 DedupeColumns
1188 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1189 (((
1190 (% class="western" %)
1191 String
1192 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1193 (((
1194 (% class="western" %)
1195 CSV of question id's that should be considered to find duplicate.
1196 )))
1197 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1198 (((
1199 (% class="western" %)
1200 Return
1201 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1202 (((
1203 (% class="western" %)
1204 String
1205 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1206 (((
1207 (% class="western" %)
1208 CSV of ONEcount QuestionId's requested back in Users object in response.
1209 )))
1210
1211 (% class="wrapped" %)
1212 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1213 (((
1214 (% class="western" %)
1215 **Response**
1216 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1217 (((
1218 (% class="western" %)
1219 **Type**
1220 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1221 (((
1222 (% class="western" %)
1223 **Description**
1224 )))
1225 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1226 (((
1227 (% class="western" %)
1228 Users
1229 )))|=(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1230 (((
1231 (% class="western" align="left" %)
1232 Users
1233 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1234 (((
1235 (% class="western" %)
1236 Created users returned with the demo field requested in return parameter in json format. If return was not specified only UserId will be returned.
1237 )))
1238
1239 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
1240
1241 ----
1242
1243 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
1244
1245 === (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
1246
1247 ----
1248
1249 {{code language="yml" theme="RDark" title="Body" collapse="true"}}
1250 {"Users":{"PartnerId":1,"Demo":{"1":"testApirayaan7@onecount.net","4":"Rayaan","5":"Ahmed"}},"DedupeColumns":"1","Transactions":[]}
1251 {{/code}}
1252
1253 ==== Example ====
1254
1255 ----
1256
1257 (% style="color: rgb(107,107,107);" %)Request
1258
1259 {{code language="php" theme="RDark" title="Create User Request" collapse="true"}}
1260 <?php
1261
1262 $curl = curl_init();
1263
1264 curl_setopt_array($curl, array(
1265 CURLOPT_URL => 'https://api.onecount.net/v2/users',
1266 CURLOPT_RETURNTRANSFER => true,
1267 CURLOPT_ENCODING => '',
1268 CURLOPT_MAXREDIRS => 10,
1269 CURLOPT_TIMEOUT => 0,
1270 CURLOPT_FOLLOWLOCATION => true,
1271 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
1272 CURLOPT_CUSTOMREQUEST => 'POST',
1273 CURLOPT_POSTFIELDS =>'{"Users":{"PartnerId":1,"Demo":{"1":"testApirayaan6@onecount.net","4":"Rayaan","5":"Ahmed"}},"DedupeColumns":"1","Transactions":[]}',
1274 CURLOPT_HTTPHEADER => array(
1275 'Appkey: {{ONECOUNT API KEY}}'
1276 ),
1277 ));
1278
1279 $response = curl_exec($curl);
1280
1281 curl_close($curl);
1282 echo $response;
1283 {{/code}}
1284
1285 \\
1286
1287 (% style="color: rgb(107,107,107);" %)Response  200 OK
1288
1289 {{code language="yml" theme="RDark" title="Create user Response" collapse="true"}}
1290 {
1291 "result": {
1292 "success": "1",
1293 "error": {
1294 "code": "",
1295 "message": ""
1296 }
1297 },
1298 "Users": {
1299 "Id": 1845831
1300 }
1301 }
1302 {{/code}}
1303
1304 \\
1305
1306 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
1307 == (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33, 33, 33); color: rgb(0, 83, 184)" %)PUT (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)Update user(%%) ==
1308
1309 ----
1310
1311 {{panel bgColor="#D3D3D3" width="100%"}}
1312 (% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users/~{~{OCID(% class="nolink" %)}}
1313 {{/panel}}
1314
1315 (% class="western" %)
1316 \\
1317
1318 (% class="western" %)
1319 **PUT method should be used to update users.**
1320
1321 (% class="wrapped" %)
1322 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1323 (((
1324 (% class="western" %)
1325 **Request**
1326 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1327 (((
1328 (% class="western" %)
1329 **Type**
1330 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1331 (((
1332 (% class="western" %)
1333 **Description**
1334 )))
1335 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1336 (((
1337 (% class="western" %)
1338 Users
1339 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1340 (((
1341 (% class="western" %)
1342 Users
1343 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1344 (((
1345 (% class="western" %)
1346 Users object with update fields. Return property has CSV of questions id requested back in Users object.
1347 )))
1348 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1349 (((
1350 (% class="western" %)
1351 Return
1352 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1353 (((
1354 (% class="western" %)
1355 String
1356 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1357 (((
1358 (% class="western" %)
1359 CSV of ONEcount QuestionId's requested back in Users object in response
1360 )))
1361 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1362 (((
1363 (% class="western" %)
1364 RequestDate
1365 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1366 (((
1367 (% class="western" %)
1368 Date
1369 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1370 (((
1371 (% class="western" %)
1372 RequestDate to use for the demo update. If not provided current date will be used.
1373 )))
1374
1375 (% class="wrapped" %)
1376 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1377 (((
1378 (% class="western" %)
1379 **Response**
1380 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1381 (((
1382 (% class="western" %)
1383 **Type**
1384 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1385 (((
1386 (% class="western" %)
1387 **Description**
1388 )))
1389 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1390 (((
1391 (% class="western" %)
1392 Users
1393 )))|=(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1394 (((
1395 (% class="western" align="left" %)
1396 Users
1397 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1398 (((
1399 (% class="western" %)
1400 Updated user returned with the demo field requested in return parameter in json format.
1401 )))
1402
1403 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
1404
1405 ----
1406
1407 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
1408
1409 === (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
1410
1411 ----
1412
1413 {{code language="yml" theme="RDark" title="Body" collapse="true"}}
1414 {"Users":{"Demo":{"6":"title1"}}}
1415 {{/code}}
1416
1417 ==== Example ====
1418
1419 ----
1420
1421 (% style="color: rgb(107,107,107);" %)Request
1422
1423 {{code language="php" theme="RDark" title="Update User Request" collapse="true"}}
1424 <?php
1425
1426 $curl = curl_init();
1427
1428 curl_setopt_array($curl, array(
1429 CURLOPT_URL => 'https://api.onecount.net/v2/users/{{OCID}}',
1430 CURLOPT_RETURNTRANSFER => true,
1431 CURLOPT_ENCODING => '',
1432 CURLOPT_MAXREDIRS => 10,
1433 CURLOPT_TIMEOUT => 0,
1434 CURLOPT_FOLLOWLOCATION => true,
1435 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
1436 CURLOPT_CUSTOMREQUEST => 'PUT',
1437 CURLOPT_POSTFIELDS =>'{"Users":{"Demo":{"6":"title"}}}',
1438 CURLOPT_HTTPHEADER => array(
1439 'Appkey: {{ONECOUNT API KEY}}'
1440 ),
1441 ));
1442
1443 $response = curl_exec($curl);
1444
1445 curl_close($curl);
1446 echo $response;
1447
1448
1449 {{/code}}
1450
1451 \\
1452
1453 (% style="color: rgb(107,107,107);" %)Response  200 OK
1454
1455 {{code language="yml" theme="RDark" title="Update user Response" collapse="true"}}
1456 {
1457 "result": {
1458 "success": "1",
1459 "error": {
1460 "code": "",
1461 "message": ""
1462 }
1463 },
1464 "Users": [
1465 {
1466 "Id": 1845823,
1467 "OCID_HASH": "fccaa8dc7afadccc5882528d47b27c2bb53e2788dd0ac1fe170abef77a9c4d5b"
1468 }
1469 ]
1470 }
1471 {{/code}}
1472
1473 (% class="western" %)
1474 \\
1475
1476 (% class="western" %)
1477 **COMPONENT: Questions**
1478
1479 (% class="western" %)
1480 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).
1481
1482 (% class="western" %)
1483 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.
1484
1485 (% class="western" %)
1486 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)
1487
1488 (% class="western" %)
1489 There can be 6 types of questions:
1490
1491 (% class="wrapped" %)
1492 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1493 (((
1494 (% class="western" align="center" %)
1495 **Type**
1496 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1497 (((
1498 (% class="western" %)
1499 **Description**
1500 )))
1501 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1502 (((
1503 (% class="western" align="center" %)
1504 1
1505 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1506 (((
1507 (% class="western" %)
1508 Textbox type questions or short response type question. The response length needs to be less than 255 characters.
1509 )))
1510 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1511 (((
1512 (% class="western" align="center" %)
1513 2
1514 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1515 (((
1516 (% class="western" %)
1517 Textarea type question or long response type question.
1518 )))
1519 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1520 (((
1521 (% class="western" align="center" %)
1522 3
1523 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1524 (((
1525 (% class="western" %)
1526 Password type question. This is basically same as type 1 but when displayed in ONEcount frontend forms typed characters appears as *.
1527 )))
1528 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1529 (((
1530 (% class="western" align="center" %)
1531 4
1532 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1533 (((
1534 (% class="western" %)
1535 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.
1536 )))
1537 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1538 (((
1539 (% class="western" align="center" %)
1540 5
1541 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1542 (((
1543 (% class="western" %)
1544 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.
1545 )))
1546 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1547 (((
1548 (% class="western" align="center" %)
1549 6
1550 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1551 (((
1552 (% class="western" %)
1553 Checkbox type question. This is a multiple choice, multi response type question. When creating this type of question the choices block also needs to be part of the questions object that will hold the possible choices of the checkbox question.
1554 )))
1555
1556 (% class="wrapped" %)
1557 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1558 (((
1559 (% class="western" %)
1560 **Method**
1561 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1562 (((
1563 (% class="western" %)
1564 **Url**
1565 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1566 (((
1567 (% class="western" %)
1568 **Action**
1569 )))
1570 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1571 (((
1572 (% class="western" %)
1573 GET
1574 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1575 (((
1576 (% class="western" %)
1577 /questions
1578 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1579 (((
1580 (% class="western" %)
1581 List all questions
1582 )))
1583 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1584 (((
1585 (% class="western" %)
1586 GET
1587 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1588 (((
1589 (% class="western" %)
1590 /questions/1
1591 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1592 (((
1593 (% class="western" %)
1594 Returns question id 1
1595 )))
1596 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1597 (((
1598 (% class="western" %)
1599 GET
1600 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1601 (((
1602 (% class="western" %)
1603 /questions/lookup?Text=Email
1604 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1605 (((
1606 (% class="western" %)
1607 Returns all questions with “Email" in question text
1608 )))
1609 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1610 (((
1611 (% class="western" %)
1612 POST
1613 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1614 (((
1615 (% class="western" %)
1616 /questions
1617 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1618 (((
1619 (% class="western" %)
1620 Create a new question
1621
1622 (% class="western" %)
1623 JSON of the Questions type object needs to be sent as post data. Id field should not be sent.
1624 )))
1625 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1626 (((
1627 (% class="western" %)
1628 PUT
1629 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1630 (((
1631 (% class="western" %)
1632 /questions
1633 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
1634 (((
1635 (% class="western" %)
1636 Update a question
1637
1638 (% class="western" %)
1639 JSON of the Questions type object needs to be sent as post data. Id field is mandatory for update.
1640 )))
1641
1642 \\
1643
1644 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
1645 == (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)All Questions(%%) ==
1646
1647 ----
1648
1649 ----
1650
1651 {{panel bgColor="#D3D3D3" width="100%"}}
1652 (% class="nolink nolink" %)https:~/~/api.onecount.net/v2/(% style="color: rgb(33,33,33);" %)questions
1653 {{/panel}}
1654
1655 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
1656
1657 ----
1658
1659 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
1660
1661 ==== Example ====
1662
1663 ----
1664
1665 (% style="color: rgb(107,107,107);" %)Request
1666
1667 {{code language="php" theme="RDark" title="Get All Questions Request" collapse="true"}}
1668 <?php
1669
1670 $curl = curl_init();
1671
1672 curl_setopt_array($curl, array(
1673 CURLOPT_URL => 'https://api.onecount.net/v2/questions',
1674 CURLOPT_RETURNTRANSFER => true,
1675 CURLOPT_ENCODING => '',
1676 CURLOPT_MAXREDIRS => 10,
1677 CURLOPT_TIMEOUT => 0,
1678 CURLOPT_FOLLOWLOCATION => true,
1679 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
1680 CURLOPT_CUSTOMREQUEST => 'GET',
1681 CURLOPT_HTTPHEADER => array(
1682 'Appkey: 70856f83422599c8e36191098f1536ae06e7bbcd'
1683 ),
1684 ));
1685
1686 $response = curl_exec($curl);
1687
1688 curl_close($curl);
1689 echo $response;
1690
1691
1692
1693 {{/code}}
1694
1695 \\
1696
1697 (% style="color: rgb(107,107,107);" %)Response  200 OK
1698
1699 {{code language="yml" theme="RDark" title="Get All Questions Response" collapse="true"}}
1700 {
1701 "result": {
1702 "success": "1",
1703 "error": {
1704 "code": "",
1705 "message": ""
1706 }
1707 },
1708 "Questions": [
1709 {
1710 "Id": 1,
1711 "Text": "Email",
1712 "Type": "0",
1713 "Alias": "Email"
1714 },
1715 {
1716 "Id": 2,
1717 "Text": "Username",
1718 "Type": "0",
1719 "Alias": "Username"
1720 },
1721 {
1722 "Id": 3,
1723 "Text": "Password",
1724 "Type": "2",
1725 "Alias": "Password"
1726 },
1727 {
1728 "Id": 4,
1729 "Text": "First Name",
1730 "Type": "0",
1731 "Alias": "First Name"
1732 },
1733 {
1734 "Id": 5,
1735 "Text": "Last Name",
1736 "Type": "0",
1737 "Alias": "Last Name"
1738 },
1739 {
1740 "Id": 6,
1741 "Text": "Title",
1742 "Type": "0",
1743 "Alias": "Title"
1744 },
1745 {
1746 "Id": 7,
1747 "Text": "Company Name",
1748 "Type": "0",
1749 "Alias": "Company Name"
1750 },
1751 {
1752 "Id": 8,
1753 "Text": "Company Address",
1754 "Type": "0",
1755 "Alias": "Company Address"
1756 },
1757 {
1758 "Id": 9,
1759 "Text": "Address2",
1760 "Type": "0",
1761 "Alias": "Address2"
1762 },
1763 {
1764 "Id": 10,
1765 "Text": "City",
1766 "Type": "0",
1767 "Alias": "City"
1768 },
1769 {
1770 "Id": 11,
1771 "Text": "State/Province",
1772 "Type": "4",
1773 "Alias": "State/Province",
1774 "Choices": [
1775 {
1776 "Id": 1554,
1777 "QuestionId": 11,
1778 "Text": "Select One",
1779 "Value": "",
1780 "Order": 1
1781 },
1782 {
1783 "Id": 1562,
1784 "QuestionId": 11,
1785 "Text": "Alabama",
1786 "Value": "AL",
1787 "Order": 2
1788 },
1789 {
1790 "Id": 1570,
1791 "QuestionId": 11,
1792 "Text": "Alaska",
1793 "Value": "AK",
1794 "Order": 3
1795 },
1796 {
1797 "Id": 1578,
1798 "QuestionId": 11,
1799 "Text": "Arizona",
1800 "Value": "AZ",
1801 "Order": 4
1802 },
1803 {
1804 "Id": 1586,
1805 "QuestionId": 11,
1806 "Text": "Arkansas",
1807 "Value": "AR",
1808 "Order": 5
1809 },
1810 {
1811 "Id": 1594,
1812 "QuestionId": 11,
1813 "Text": "California",
1814 "Value": "CA",
1815 "Order": 6
1816 },
1817 {
1818 "Id": 1602,
1819 "QuestionId": 11,
1820 "Text": "Colorado",
1821 "Value": "CO",
1822 "Order": 7
1823 },
1824 {
1825 "Id": 1610,
1826 "QuestionId": 11,
1827 "Text": "Connecticut",
1828 "Value": "CT",
1829 "Order": 8
1830 },
1831 {
1832 "Id": 1618,
1833 "QuestionId": 11,
1834 "Text": "Delaware",
1835 "Value": "DE",
1836 "Order": 9
1837 },
1838 {
1839 "Id": 1626,
1840 "QuestionId": 11,
1841 "Text": "District of Columbia",
1842 "Value": "DC",
1843 "Order": 10
1844 },
1845 {
1846 "Id": 1634,
1847 "QuestionId": 11,
1848 "Text": "Florida",
1849 "Value": "FL",
1850 "Order": 11
1851 },
1852 {
1853 "Id": 1642,
1854 "QuestionId": 11,
1855 "Text": "Georgia",
1856 "Value": "GA",
1857 "Order": 12
1858 },
1859 {
1860 "Id": 1650,
1861 "QuestionId": 11,
1862 "Text": "Hawaii",
1863 "Value": "HI",
1864 "Order": 13
1865 },
1866 {
1867 "Id": 1658,
1868 "QuestionId": 11,
1869 "Text": "Idaho",
1870 "Value": "ID",
1871 "Order": 14
1872 },
1873 {
1874 "Id": 1666,
1875 "QuestionId": 11,
1876 "Text": "Illinois",
1877 "Value": "IL",
1878 "Order": 15
1879 },
1880 {
1881 "Id": 1674,
1882 "QuestionId": 11,
1883 "Text": "Indiana",
1884 "Value": "IN",
1885 "Order": 16
1886 },
1887 {
1888 "Id": 1682,
1889 "QuestionId": 11,
1890 "Text": "Iowa",
1891 "Value": "IA",
1892 "Order": 17
1893 },
1894 {
1895 "Id": 1690,
1896 "QuestionId": 11,
1897 "Text": "Kansas",
1898 "Value": "KS",
1899 "Order": 18
1900 },
1901 {
1902 "Id": 1698,
1903 "QuestionId": 11,
1904 "Text": "Kentucky",
1905 "Value": "KY",
1906 "Order": 19
1907 },
1908 {
1909 "Id": 1706,
1910 "QuestionId": 11,
1911 "Text": "Louisiana",
1912 "Value": "LA",
1913 "Order": 20
1914 },
1915 {
1916 "Id": 1714,
1917 "QuestionId": 11,
1918 "Text": "Maine",
1919 "Value": "ME",
1920 "Order": 21
1921 },
1922 {
1923 "Id": 1722,
1924 "QuestionId": 11,
1925 "Text": "Maryland",
1926 "Value": "MD",
1927 "Order": 22
1928 },
1929 {
1930 "Id": 1730,
1931 "QuestionId": 11,
1932 "Text": "Massachusetts",
1933 "Value": "MA",
1934 "Order": 23
1935 },
1936 {
1937 "Id": 1738,
1938 "QuestionId": 11,
1939 "Text": "Michigan",
1940 "Value": "MI",
1941 "Order": 24
1942 },
1943 {
1944 "Id": 1746,
1945 "QuestionId": 11,
1946 "Text": "Minnesota",
1947 "Value": "MN",
1948 "Order": 25
1949 },
1950 {
1951 "Id": 1754,
1952 "QuestionId": 11,
1953 "Text": "Mississippi",
1954 "Value": "MS",
1955 "Order": 26
1956 },
1957 {
1958 "Id": 1762,
1959 "QuestionId": 11,
1960 "Text": "Missouri",
1961 "Value": "MO",
1962 "Order": 27
1963 },
1964 {
1965 "Id": 1770,
1966 "QuestionId": 11,
1967 "Text": "Montana",
1968 "Value": "MT",
1969 "Order": 28
1970 },
1971 {
1972 "Id": 1778,
1973 "QuestionId": 11,
1974 "Text": "Nebraska",
1975 "Value": "NE",
1976 "Order": 29
1977 },
1978 {
1979 "Id": 1786,
1980 "QuestionId": 11,
1981 "Text": "Nevada",
1982 "Value": "NV",
1983 "Order": 30
1984 },
1985 {
1986 "Id": 1794,
1987 "QuestionId": 11,
1988 "Text": "New Hampshire",
1989 "Value": "NH",
1990 "Order": 31
1991 },
1992 {
1993 "Id": 1802,
1994 "QuestionId": 11,
1995 "Text": "New Jersey",
1996 "Value": "NJ",
1997 "Order": 32
1998 },
1999 {
2000 "Id": 1810,
2001 "QuestionId": 11,
2002 "Text": "New Mexico",
2003 "Value": "NM",
2004 "Order": 33
2005 },
2006 {
2007 "Id": 1818,
2008 "QuestionId": 11,
2009 "Text": "New York",
2010 "Value": "NY",
2011 "Order": 34
2012 },
2013 {
2014 "Id": 1826,
2015 "QuestionId": 11,
2016 "Text": "North Carolina",
2017 "Value": "NC",
2018 "Order": 35
2019 },
2020 {
2021 "Id": 1834,
2022 "QuestionId": 11,
2023 "Text": "Ohio",
2024 "Value": "OH",
2025 "Order": 37
2026 },
2027 {
2028 "Id": 1842,
2029 "QuestionId": 11,
2030 "Text": "Oklahoma",
2031 "Value": "OK",
2032 "Order": 38
2033 },
2034 {
2035 "Id": 1850,
2036 "QuestionId": 11,
2037 "Text": "Oregon",
2038 "Value": "OR",
2039 "Order": 39
2040 },
2041 {
2042 "Id": 1858,
2043 "QuestionId": 11,
2044 "Text": "Pennsylvania",
2045 "Value": "PA",
2046 "Order": 40
2047 },
2048 {
2049 "Id": 1866,
2050 "QuestionId": 11,
2051 "Text": "Rhode Island",
2052 "Value": "RI",
2053 "Order": 41
2054 },
2055 {
2056 "Id": 1874,
2057 "QuestionId": 11,
2058 "Text": "South Carolina",
2059 "Value": "SC",
2060 "Order": 42
2061 },
2062 {
2063 "Id": 1882,
2064 "QuestionId": 11,
2065 "Text": "South Dakota",
2066 "Value": "SD",
2067 "Order": 43
2068 },
2069 {
2070 "Id": 1890,
2071 "QuestionId": 11,
2072 "Text": "Tennessee",
2073 "Value": "TN",
2074 "Order": 44
2075 },
2076 {
2077 "Id": 1898,
2078 "QuestionId": 11,
2079 "Text": "Texas",
2080 "Value": "TX",
2081 "Order": 45
2082 },
2083 {
2084 "Id": 1906,
2085 "QuestionId": 11,
2086 "Text": "Utah",
2087 "Value": "UT",
2088 "Order": 46
2089 },
2090 {
2091 "Id": 1914,
2092 "QuestionId": 11,
2093 "Text": "Vermont",
2094 "Value": "VT",
2095 "Order": 47
2096 },
2097 {
2098 "Id": 1922,
2099 "QuestionId": 11,
2100 "Text": "Virginia",
2101 "Value": "VA",
2102 "Order": 48
2103 },
2104 {
2105 "Id": 1930,
2106 "QuestionId": 11,
2107 "Text": "Washington",
2108 "Value": "WA",
2109 "Order": 49
2110 },
2111 {
2112 "Id": 1938,
2113 "QuestionId": 11,
2114 "Text": "West Virginia",
2115 "Value": "WV",
2116 "Order": 50
2117 },
2118 {
2119 "Id": 1946,
2120 "QuestionId": 11,
2121 "Text": "Wisconsin",
2122 "Value": "WI",
2123 "Order": 51
2124 },
2125 {
2126 "Id": 1954,
2127 "QuestionId": 11,
2128 "Text": "Wyoming",
2129 "Value": "WY",
2130 "Order": 52
2131 },
2132 {
2133 "Id": 1962,
2134 "QuestionId": 11,
2135 "Text": "American Samoa",
2136 "Value": "AS",
2137 "Order": 53
2138 },
2139 {
2140 "Id": 1970,
2141 "QuestionId": 11,
2142 "Text": "North Dakota",
2143 "Value": "ND",
2144 "Order": 36
2145 },
2146 {
2147 "Id": 1978,
2148 "QuestionId": 11,
2149 "Text": "Federated States of Micronesia",
2150 "Value": "FM",
2151 "Order": 54
2152 },
2153 {
2154 "Id": 1986,
2155 "QuestionId": 11,
2156 "Text": "Guam",
2157 "Value": "GU",
2158 "Order": 55
2159 },
2160 {
2161 "Id": 1994,
2162 "QuestionId": 11,
2163 "Text": "Marshall Islands",
2164 "Value": "MH",
2165 "Order": 56
2166 },
2167 {
2168 "Id": 2002,
2169 "QuestionId": 11,
2170 "Text": "Northern Mariana Islands",
2171 "Value": "MP",
2172 "Order": 57
2173 },
2174 {
2175 "Id": 2010,
2176 "QuestionId": 11,
2177 "Text": "Palau",
2178 "Value": "PW",
2179 "Order": 58
2180 },
2181 {
2182 "Id": 2018,
2183 "QuestionId": 11,
2184 "Text": "Puerto Rico",
2185 "Value": "PR",
2186 "Order": 59
2187 },
2188 {
2189 "Id": 2026,
2190 "QuestionId": 11,
2191 "Text": "U.S. Virgin Islands",
2192 "Value": "VI",
2193 "Order": 60
2194 },
2195 {
2196 "Id": 2034,
2197 "QuestionId": 11,
2198 "Text": "Armed Forces Africa",
2199 "Value": "AE",
2200 "Order": 61
2201 },
2202 {
2203 "Id": 2042,
2204 "QuestionId": 11,
2205 "Text": "Armed Forces Americas (except Canada)",
2206 "Value": "AA",
2207 "Order": 62
2208 },
2209 {
2210 "Id": 2050,
2211 "QuestionId": 11,
2212 "Text": "Armed Forces Canada",
2213 "Value": "AE",
2214 "Order": 63
2215 },
2216 {
2217 "Id": 2058,
2218 "QuestionId": 11,
2219 "Text": "Armed Forces Europe",
2220 "Value": "AE",
2221 "Order": 64
2222 },
2223 {
2224 "Id": 2066,
2225 "QuestionId": 11,
2226 "Text": "Armed Forces Middle East",
2227 "Value": "AE",
2228 "Order": 65
2229 },
2230 {
2231 "Id": 2074,
2232 "QuestionId": 11,
2233 "Text": "Armed Forces Pacific",
2234 "Value": "AP",
2235 "Order": 66
2236 },
2237 {
2238 "Id": 2082,
2239 "QuestionId": 11,
2240 "Text": "Non-US/Not Applicable",
2241 "Value": "Non-US/Not Applicable",
2242 "Order": 67
2243 },
2244 {
2245 "Id": 2090,
2246 "QuestionId": 11,
2247 "Text": "Ontario",
2248 "Value": "Ontario",
2249 "Order": 68
2250 },
2251 {
2252 "Id": 2098,
2253 "QuestionId": 11,
2254 "Text": "Quebec",
2255 "Value": "Quebec",
2256 "Order": 69
2257 },
2258 {
2259 "Id": 2106,
2260 "QuestionId": 11,
2261 "Text": "Nova Scotia",
2262 "Value": "Nova Scotia",
2263 "Order": 70
2264 },
2265 {
2266 "Id": 2114,
2267 "QuestionId": 11,
2268 "Text": "New Brunswick",
2269 "Value": "New Brunswick",
2270 "Order": 71
2271 },
2272 {
2273 "Id": 2122,
2274 "QuestionId": 11,
2275 "Text": "Manitoba",
2276 "Value": "Manitoba",
2277 "Order": 72
2278 },
2279 {
2280 "Id": 2130,
2281 "QuestionId": 11,
2282 "Text": "Brittish Columbia",
2283 "Value": "Brittish Columbia",
2284 "Order": 73
2285 },
2286 {
2287 "Id": 2138,
2288 "QuestionId": 11,
2289 "Text": "Prince Edward Island",
2290 "Value": "Prince Edward Island",
2291 "Order": 74
2292 },
2293 {
2294 "Id": 2146,
2295 "QuestionId": 11,
2296 "Text": "Saskatchewan",
2297 "Value": "Saskatchewan",
2298 "Order": 75
2299 },
2300 {
2301 "Id": 2154,
2302 "QuestionId": 11,
2303 "Text": "Alberta",
2304 "Value": "Alberta",
2305 "Order": 76
2306 },
2307 {
2308 "Id": 2162,
2309 "QuestionId": 11,
2310 "Text": "Newfoundland and Labrador",
2311 "Value": "Newfoundland and Labrador",
2312 "Order": 77
2313 },
2314 {
2315 "Id": 2170,
2316 "QuestionId": 11,
2317 "Text": "British Columbia",
2318 "Value": "British Columbia",
2319 "Order": 78
2320 },
2321 {
2322 "Id": 2178,
2323 "QuestionId": 11,
2324 "Text": "Ontario",
2325 "Value": "ON",
2326 "Order": 79
2327 }
2328 ]
2329 },
2330 {
2331 "Id": 12,
2332 "Text": "Zip/Postal Code",
2333 "Type": "0",
2334 "Alias": "Zip/Postal Code"
2335 },
2336 {
2337 "Id": 13,
2338 "Text": "Country",
2339 "Type": "4",
2340 "Alias": "Country",
2341 "Choices": [
2342 {
2343 "Id": 2,
2344 "QuestionId": 13,
2345 "Text": "Select One",
2346 "Value": "",
2347 "Order": 1
2348 },
2349 {
2350 "Id": 10,
2351 "QuestionId": 13,
2352 "Text": "Afghanistan",
2353 "Value": "Afghanistan",
2354 "Order": 3
2355 },
2356 {
2357 "Id": 18,
2358 "QuestionId": 13,
2359 "Text": "Albania",
2360 "Value": "Albania",
2361 "Order": 4
2362 },
2363 {
2364 "Id": 26,
2365 "QuestionId": 13,
2366 "Text": "Algeria",
2367 "Value": "Algeria",
2368 "Order": 5
2369 },
2370 {
2371 "Id": 34,
2372 "QuestionId": 13,
2373 "Text": "Andorra",
2374 "Value": "Andorra",
2375 "Order": 6
2376 },
2377 {
2378 "Id": 42,
2379 "QuestionId": 13,
2380 "Text": "Angola",
2381 "Value": "Angola",
2382 "Order": 7
2383 },
2384 {
2385 "Id": 50,
2386 "QuestionId": 13,
2387 "Text": "Antigua and Barbuda",
2388 "Value": "Antigua and Barbuda",
2389 "Order": 8
2390 },
2391 {
2392 "Id": 58,
2393 "QuestionId": 13,
2394 "Text": "Argentina",
2395 "Value": "Argentina",
2396 "Order": 9
2397 },
2398 {
2399 "Id": 66,
2400 "QuestionId": 13,
2401 "Text": "Armenia",
2402 "Value": "Armenia",
2403 "Order": 10
2404 },
2405 {
2406 "Id": 74,
2407 "QuestionId": 13,
2408 "Text": "Australia",
2409 "Value": "Australia",
2410 "Order": 11
2411 },
2412 {
2413 "Id": 82,
2414 "QuestionId": 13,
2415 "Text": "Austria",
2416 "Value": "Austria",
2417 "Order": 12
2418 },
2419 {
2420 "Id": 90,
2421 "QuestionId": 13,
2422 "Text": "Azerbaijan",
2423 "Value": "Azerbaijan",
2424 "Order": 13
2425 },
2426 {
2427 "Id": 98,
2428 "QuestionId": 13,
2429 "Text": "Bahamas",
2430 "Value": "Bahamas",
2431 "Order": 14
2432 },
2433 {
2434 "Id": 106,
2435 "QuestionId": 13,
2436 "Text": "Bahrain",
2437 "Value": "Bahrain",
2438 "Order": 15
2439 },
2440 {
2441 "Id": 114,
2442 "QuestionId": 13,
2443 "Text": "Bangladesh",
2444 "Value": "Bangladesh",
2445 "Order": 16
2446 },
2447 {
2448 "Id": 122,
2449 "QuestionId": 13,
2450 "Text": "Barbados",
2451 "Value": "Barbados",
2452 "Order": 17
2453 },
2454 {
2455 "Id": 130,
2456 "QuestionId": 13,
2457 "Text": "Belarus",
2458 "Value": "Belarus",
2459 "Order": 18
2460 },
2461 {
2462 "Id": 138,
2463 "QuestionId": 13,
2464 "Text": "Belgium",
2465 "Value": "Belgium",
2466 "Order": 19
2467 },
2468 {
2469 "Id": 146,
2470 "QuestionId": 13,
2471 "Text": "Belize",
2472 "Value": "Belize",
2473 "Order": 20
2474 },
2475 {
2476 "Id": 154,
2477 "QuestionId": 13,
2478 "Text": "Benin",
2479 "Value": "Benin",
2480 "Order": 21
2481 },
2482 {
2483 "Id": 162,
2484 "QuestionId": 13,
2485 "Text": "Bhutan",
2486 "Value": "Bhutan",
2487 "Order": 22
2488 },
2489 {
2490 "Id": 170,
2491 "QuestionId": 13,
2492 "Text": "Bolivia",
2493 "Value": "Bolivia",
2494 "Order": 23
2495 },
2496 {
2497 "Id": 178,
2498 "QuestionId": 13,
2499 "Text": "Bosnia and Herzegovina",
2500 "Value": "Bosnia and Herzegovina",
2501 "Order": 24
2502 },
2503 {
2504 "Id": 186,
2505 "QuestionId": 13,
2506 "Text": "Botswana",
2507 "Value": "Botswana",
2508 "Order": 25
2509 },
2510 {
2511 "Id": 194,
2512 "QuestionId": 13,
2513 "Text": "Brazil",
2514 "Value": "Brazil",
2515 "Order": 26
2516 },
2517 {
2518 "Id": 202,
2519 "QuestionId": 13,
2520 "Text": "Brunei",
2521 "Value": "Brunei",
2522 "Order": 27
2523 },
2524 {
2525 "Id": 210,
2526 "QuestionId": 13,
2527 "Text": "Bulgaria",
2528 "Value": "Bulgaria",
2529 "Order": 28
2530 },
2531 {
2532 "Id": 218,
2533 "QuestionId": 13,
2534 "Text": "Burkina Faso",
2535 "Value": "Burkina Faso",
2536 "Order": 29
2537 },
2538 {
2539 "Id": 226,
2540 "QuestionId": 13,
2541 "Text": "Burundi",
2542 "Value": "Burundi",
2543 "Order": 30
2544 },
2545 {
2546 "Id": 234,
2547 "QuestionId": 13,
2548 "Text": "Cambodia",
2549 "Value": "Cambodia",
2550 "Order": 31
2551 },
2552 {
2553 "Id": 242,
2554 "QuestionId": 13,
2555 "Text": "Cameroon",
2556 "Value": "Cameroon",
2557 "Order": 32
2558 },
2559 {
2560 "Id": 250,
2561 "QuestionId": 13,
2562 "Text": "Canada",
2563 "Value": "Canada",
2564 "Order": 33
2565 },
2566 {
2567 "Id": 258,
2568 "QuestionId": 13,
2569 "Text": "Cape Verde",
2570 "Value": "Cape Verde",
2571 "Order": 34
2572 },
2573 {
2574 "Id": 266,
2575 "QuestionId": 13,
2576 "Text": "Central African Republic",
2577 "Value": "Central African Republic",
2578 "Order": 35
2579 },
2580 {
2581 "Id": 274,
2582 "QuestionId": 13,
2583 "Text": "Chad",
2584 "Value": "Chad",
2585 "Order": 36
2586 },
2587 {
2588 "Id": 282,
2589 "QuestionId": 13,
2590 "Text": "Chile",
2591 "Value": "Chile",
2592 "Order": 37
2593 },
2594 {
2595 "Id": 290,
2596 "QuestionId": 13,
2597 "Text": "China",
2598 "Value": "China",
2599 "Order": 38
2600 },
2601 {
2602 "Id": 298,
2603 "QuestionId": 13,
2604 "Text": "Colombia",
2605 "Value": "Colombia",
2606 "Order": 39
2607 },
2608 {
2609 "Id": 306,
2610 "QuestionId": 13,
2611 "Text": "Comoros",
2612 "Value": "Comoros",
2613 "Order": 40
2614 },
2615 {
2616 "Id": 314,
2617 "QuestionId": 13,
2618 "Text": "Congo (Brazzaville)",
2619 "Value": "Congo (Brazzaville)",
2620 "Order": 41
2621 },
2622 {
2623 "Id": 322,
2624 "QuestionId": 13,
2625 "Text": "Congo",
2626 "Value": "Congo",
2627 "Order": 42
2628 },
2629 {
2630 "Id": 330,
2631 "QuestionId": 13,
2632 "Text": "Costa Rica",
2633 "Value": "Costa Rica",
2634 "Order": 43
2635 },
2636 {
2637 "Id": 338,
2638 "QuestionId": 13,
2639 "Text": "Cote d'Ivoire",
2640 "Value": "Cote d'Ivoire",
2641 "Order": 44
2642 },
2643 {
2644 "Id": 346,
2645 "QuestionId": 13,
2646 "Text": "Croatia",
2647 "Value": "Croatia",
2648 "Order": 45
2649 },
2650 {
2651 "Id": 354,
2652 "QuestionId": 13,
2653 "Text": "Cuba",
2654 "Value": "Cuba",
2655 "Order": 46
2656 },
2657 {
2658 "Id": 362,
2659 "QuestionId": 13,
2660 "Text": "Cyprus",
2661 "Value": "Cyprus",
2662 "Order": 47
2663 },
2664 {
2665 "Id": 370,
2666 "QuestionId": 13,
2667 "Text": "Czech Republic",
2668 "Value": "Czech Republic",
2669 "Order": 48
2670 },
2671 {
2672 "Id": 378,
2673 "QuestionId": 13,
2674 "Text": "Denmark",
2675 "Value": "Denmark",
2676 "Order": 49
2677 },
2678 {
2679 "Id": 386,
2680 "QuestionId": 13,
2681 "Text": "Djibouti",
2682 "Value": "Djibouti",
2683 "Order": 50
2684 },
2685 {
2686 "Id": 394,
2687 "QuestionId": 13,
2688 "Text": "Dominica",
2689 "Value": "Dominica",
2690 "Order": 51
2691 },
2692 {
2693 "Id": 402,
2694 "QuestionId": 13,
2695 "Text": "Dominican Republic",
2696 "Value": "Dominican Republic",
2697 "Order": 52
2698 },
2699 {
2700 "Id": 410,
2701 "QuestionId": 13,
2702 "Text": "East Timor",
2703 "Value": "East Timor",
2704 "Order": 53
2705 },
2706 {
2707 "Id": 418,
2708 "QuestionId": 13,
2709 "Text": "Ecuador",
2710 "Value": "Ecuador",
2711 "Order": 54
2712 },
2713 {
2714 "Id": 426,
2715 "QuestionId": 13,
2716 "Text": "Egypt",
2717 "Value": "Egypt",
2718 "Order": 55
2719 },
2720 {
2721 "Id": 434,
2722 "QuestionId": 13,
2723 "Text": "El Salvador",
2724 "Value": "El Salvador",
2725 "Order": 56
2726 },
2727 {
2728 "Id": 442,
2729 "QuestionId": 13,
2730 "Text": "Equatorial Guinea",
2731 "Value": "Equatorial Guinea",
2732 "Order": 57
2733 },
2734 {
2735 "Id": 450,
2736 "QuestionId": 13,
2737 "Text": "Eritrea",
2738 "Value": "Eritrea",
2739 "Order": 58
2740 },
2741 {
2742 "Id": 458,
2743 "QuestionId": 13,
2744 "Text": "Estonia",
2745 "Value": "Estonia",
2746 "Order": 59
2747 },
2748 {
2749 "Id": 466,
2750 "QuestionId": 13,
2751 "Text": "Ethiopia",
2752 "Value": "Ethiopia",
2753 "Order": 60
2754 },
2755 {
2756 "Id": 474,
2757 "QuestionId": 13,
2758 "Text": "Fiji",
2759 "Value": "Fiji",
2760 "Order": 61
2761 },
2762 {
2763 "Id": 482,
2764 "QuestionId": 13,
2765 "Text": "Finland",
2766 "Value": "Finland",
2767 "Order": 62
2768 },
2769 {
2770 "Id": 490,
2771 "QuestionId": 13,
2772 "Text": "France",
2773 "Value": "France",
2774 "Order": 63
2775 },
2776 {
2777 "Id": 498,
2778 "QuestionId": 13,
2779 "Text": "Gabon",
2780 "Value": "Gabon",
2781 "Order": 64
2782 },
2783 {
2784 "Id": 506,
2785 "QuestionId": 13,
2786 "Text": "Gambia, The",
2787 "Value": "Gambia, The",
2788 "Order": 65
2789 },
2790 {
2791 "Id": 514,
2792 "QuestionId": 13,
2793 "Text": "Georgia",
2794 "Value": "Georgia",
2795 "Order": 66
2796 },
2797 {
2798 "Id": 522,
2799 "QuestionId": 13,
2800 "Text": "Germany",
2801 "Value": "Germany",
2802 "Order": 67
2803 },
2804 {
2805 "Id": 530,
2806 "QuestionId": 13,
2807 "Text": "Ghana",
2808 "Value": "Ghana",
2809 "Order": 68
2810 },
2811 {
2812 "Id": 538,
2813 "QuestionId": 13,
2814 "Text": "Greece",
2815 "Value": "Greece",
2816 "Order": 69
2817 },
2818 {
2819 "Id": 546,
2820 "QuestionId": 13,
2821 "Text": "Grenada",
2822 "Value": "Grenada",
2823 "Order": 70
2824 },
2825 {
2826 "Id": 554,
2827 "QuestionId": 13,
2828 "Text": "Guatemala",
2829 "Value": "Guatemala",
2830 "Order": 71
2831 },
2832 {
2833 "Id": 562,
2834 "QuestionId": 13,
2835 "Text": "Guinea",
2836 "Value": "Guinea",
2837 "Order": 72
2838 },
2839 {
2840 "Id": 570,
2841 "QuestionId": 13,
2842 "Text": "Guinea-Bissau",
2843 "Value": "Guinea-Bissau",
2844 "Order": 73
2845 },
2846 {
2847 "Id": 578,
2848 "QuestionId": 13,
2849 "Text": "Guyana",
2850 "Value": "Guyana",
2851 "Order": 74
2852 },
2853 {
2854 "Id": 586,
2855 "QuestionId": 13,
2856 "Text": "Haiti",
2857 "Value": "Haiti",
2858 "Order": 75
2859 },
2860 {
2861 "Id": 594,
2862 "QuestionId": 13,
2863 "Text": "Honduras",
2864 "Value": "Honduras",
2865 "Order": 76
2866 },
2867 {
2868 "Id": 602,
2869 "QuestionId": 13,
2870 "Text": "Hungary",
2871 "Value": "Hungary",
2872 "Order": 77
2873 },
2874 {
2875 "Id": 610,
2876 "QuestionId": 13,
2877 "Text": "Iceland",
2878 "Value": "Iceland",
2879 "Order": 78
2880 },
2881 {
2882 "Id": 618,
2883 "QuestionId": 13,
2884 "Text": "India",
2885 "Value": "India",
2886 "Order": 79
2887 },
2888 {
2889 "Id": 626,
2890 "QuestionId": 13,
2891 "Text": "Indonesia",
2892 "Value": "Indonesia",
2893 "Order": 80
2894 },
2895 {
2896 "Id": 634,
2897 "QuestionId": 13,
2898 "Text": "Iran",
2899 "Value": "Iran",
2900 "Order": 81
2901 },
2902 {
2903 "Id": 642,
2904 "QuestionId": 13,
2905 "Text": "Iraq",
2906 "Value": "Iraq",
2907 "Order": 82
2908 },
2909 {
2910 "Id": 650,
2911 "QuestionId": 13,
2912 "Text": "Ireland",
2913 "Value": "Ireland",
2914 "Order": 83
2915 },
2916 {
2917 "Id": 658,
2918 "QuestionId": 13,
2919 "Text": "Israel",
2920 "Value": "Israel",
2921 "Order": 84
2922 },
2923 {
2924 "Id": 666,
2925 "QuestionId": 13,
2926 "Text": "Italy",
2927 "Value": "Italy",
2928 "Order": 85
2929 },
2930 {
2931 "Id": 674,
2932 "QuestionId": 13,
2933 "Text": "Jamaica",
2934 "Value": "Jamaica",
2935 "Order": 86
2936 },
2937 {
2938 "Id": 682,
2939 "QuestionId": 13,
2940 "Text": "Japan",
2941 "Value": "Japan",
2942 "Order": 87
2943 },
2944 {
2945 "Id": 690,
2946 "QuestionId": 13,
2947 "Text": "Jordan",
2948 "Value": "Jordan",
2949 "Order": 88
2950 },
2951 {
2952 "Id": 698,
2953 "QuestionId": 13,
2954 "Text": "Kazakhstan",
2955 "Value": "Kazakhstan",
2956 "Order": 89
2957 },
2958 {
2959 "Id": 706,
2960 "QuestionId": 13,
2961 "Text": "Kenya",
2962 "Value": "Kenya",
2963 "Order": 90
2964 },
2965 {
2966 "Id": 714,
2967 "QuestionId": 13,
2968 "Text": "Kiribati",
2969 "Value": "Kiribati",
2970 "Order": 91
2971 },
2972 {
2973 "Id": 722,
2974 "QuestionId": 13,
2975 "Text": "Korea, North",
2976 "Value": "Korea, North",
2977 "Order": 92
2978 },
2979 {
2980 "Id": 730,
2981 "QuestionId": 13,
2982 "Text": "Korea, South",
2983 "Value": "Korea, South",
2984 "Order": 93
2985 },
2986 {
2987 "Id": 738,
2988 "QuestionId": 13,
2989 "Text": "Kuwait",
2990 "Value": "Kuwait",
2991 "Order": 94
2992 },
2993 {
2994 "Id": 746,
2995 "QuestionId": 13,
2996 "Text": "Kyrgyzstan",
2997 "Value": "Kyrgyzstan",
2998 "Order": 95
2999 },
3000 {
3001 "Id": 754,
3002 "QuestionId": 13,
3003 "Text": "Laos",
3004 "Value": "Laos",
3005 "Order": 96
3006 },
3007 {
3008 "Id": 762,
3009 "QuestionId": 13,
3010 "Text": "Latvia",
3011 "Value": "Latvia",
3012 "Order": 97
3013 },
3014 {
3015 "Id": 770,
3016 "QuestionId": 13,
3017 "Text": "Lebanon",
3018 "Value": "Lebanon",
3019 "Order": 98
3020 },
3021 {
3022 "Id": 778,
3023 "QuestionId": 13,
3024 "Text": "Lesotho",
3025 "Value": "Lesotho",
3026 "Order": 99
3027 },
3028 {
3029 "Id": 786,
3030 "QuestionId": 13,
3031 "Text": "Liberia",
3032 "Value": "Liberia",
3033 "Order": 100
3034 },
3035 {
3036 "Id": 794,
3037 "QuestionId": 13,
3038 "Text": "Libya",
3039 "Value": "Libya",
3040 "Order": 101
3041 },
3042 {
3043 "Id": 802,
3044 "QuestionId": 13,
3045 "Text": "Liechtenstein",
3046 "Value": "Liechtenstein",
3047 "Order": 102
3048 },
3049 {
3050 "Id": 810,
3051 "QuestionId": 13,
3052 "Text": "Lithuania",
3053 "Value": "Lithuania",
3054 "Order": 103
3055 },
3056 {
3057 "Id": 818,
3058 "QuestionId": 13,
3059 "Text": "Luxembourg",
3060 "Value": "Luxembourg",
3061 "Order": 104
3062 },
3063 {
3064 "Id": 826,
3065 "QuestionId": 13,
3066 "Text": "Macedonia",
3067 "Value": "Macedonia",
3068 "Order": 105
3069 },
3070 {
3071 "Id": 834,
3072 "QuestionId": 13,
3073 "Text": "Madagascar",
3074 "Value": "Madagascar",
3075 "Order": 106
3076 },
3077 {
3078 "Id": 842,
3079 "QuestionId": 13,
3080 "Text": "Malawi",
3081 "Value": "Malawi",
3082 "Order": 107
3083 },
3084 {
3085 "Id": 850,
3086 "QuestionId": 13,
3087 "Text": "Malaysia",
3088 "Value": "Malaysia",
3089 "Order": 108
3090 },
3091 {
3092 "Id": 858,
3093 "QuestionId": 13,
3094 "Text": "Maldives",
3095 "Value": "Maldives",
3096 "Order": 109
3097 },
3098 {
3099 "Id": 866,
3100 "QuestionId": 13,
3101 "Text": "Mali",
3102 "Value": "Mali",
3103 "Order": 110
3104 },
3105 {
3106 "Id": 874,
3107 "QuestionId": 13,
3108 "Text": "Malta",
3109 "Value": "Malta",
3110 "Order": 111
3111 },
3112 {
3113 "Id": 882,
3114 "QuestionId": 13,
3115 "Text": "Marshall Islands",
3116 "Value": "Marshall Islands",
3117 "Order": 112
3118 },
3119 {
3120 "Id": 890,
3121 "QuestionId": 13,
3122 "Text": "Mauritania",
3123 "Value": "Mauritania",
3124 "Order": 113
3125 },
3126 {
3127 "Id": 898,
3128 "QuestionId": 13,
3129 "Text": "Mauritius",
3130 "Value": "Mauritius",
3131 "Order": 114
3132 },
3133 {
3134 "Id": 906,
3135 "QuestionId": 13,
3136 "Text": "Mexico",
3137 "Value": "Mexico",
3138 "Order": 115
3139 },
3140 {
3141 "Id": 914,
3142 "QuestionId": 13,
3143 "Text": "Micronesia",
3144 "Value": "Micronesia",
3145 "Order": 116
3146 },
3147 {
3148 "Id": 922,
3149 "QuestionId": 13,
3150 "Text": "Moldova",
3151 "Value": "Moldova",
3152 "Order": 117
3153 },
3154 {
3155 "Id": 930,
3156 "QuestionId": 13,
3157 "Text": "Monaco",
3158 "Value": "Monaco",
3159 "Order": 118
3160 },
3161 {
3162 "Id": 938,
3163 "QuestionId": 13,
3164 "Text": "Mongolia",
3165 "Value": "Mongolia",
3166 "Order": 119
3167 },
3168 {
3169 "Id": 946,
3170 "QuestionId": 13,
3171 "Text": "Morocco",
3172 "Value": "Morocco",
3173 "Order": 120
3174 },
3175 {
3176 "Id": 954,
3177 "QuestionId": 13,
3178 "Text": "Mozambique",
3179 "Value": "Mozambique",
3180 "Order": 121
3181 },
3182 {
3183 "Id": 962,
3184 "QuestionId": 13,
3185 "Text": "Myanmar",
3186 "Value": "Myanmar",
3187 "Order": 122
3188 },
3189 {
3190 "Id": 970,
3191 "QuestionId": 13,
3192 "Text": "Namibia",
3193 "Value": "Namibia",
3194 "Order": 123
3195 },
3196 {
3197 "Id": 978,
3198 "QuestionId": 13,
3199 "Text": "Nauru",
3200 "Value": "Nauru",
3201 "Order": 124
3202 },
3203 {
3204 "Id": 986,
3205 "QuestionId": 13,
3206 "Text": "Nepa",
3207 "Value": "Nepa",
3208 "Order": 125
3209 },
3210 {
3211 "Id": 994,
3212 "QuestionId": 13,
3213 "Text": "Netherlands",
3214 "Value": "Netherlands",
3215 "Order": 126
3216 },
3217 {
3218 "Id": 1002,
3219 "QuestionId": 13,
3220 "Text": "New Zealand",
3221 "Value": "New Zealand",
3222 "Order": 127
3223 },
3224 {
3225 "Id": 1010,
3226 "QuestionId": 13,
3227 "Text": "Nicaragua",
3228 "Value": "Nicaragua",
3229 "Order": 128
3230 },
3231 {
3232 "Id": 1018,
3233 "QuestionId": 13,
3234 "Text": "Niger",
3235 "Value": "Niger",
3236 "Order": 129
3237 },
3238 {
3239 "Id": 1026,
3240 "QuestionId": 13,
3241 "Text": "Nigeria",
3242 "Value": "Nigeria",
3243 "Order": 130
3244 },
3245 {
3246 "Id": 1034,
3247 "QuestionId": 13,
3248 "Text": "Norway",
3249 "Value": "Norway",
3250 "Order": 131
3251 },
3252 {
3253 "Id": 1042,
3254 "QuestionId": 13,
3255 "Text": "Oman",
3256 "Value": "Oman",
3257 "Order": 132
3258 },
3259 {
3260 "Id": 1050,
3261 "QuestionId": 13,
3262 "Text": "Pakistan",
3263 "Value": "Pakistan",
3264 "Order": 133
3265 },
3266 {
3267 "Id": 1058,
3268 "QuestionId": 13,
3269 "Text": "Palau",
3270 "Value": "Palau",
3271 "Order": 134
3272 },
3273 {
3274 "Id": 1066,
3275 "QuestionId": 13,
3276 "Text": "Panama",
3277 "Value": "Panama",
3278 "Order": 135
3279 },
3280 {
3281 "Id": 1074,
3282 "QuestionId": 13,
3283 "Text": "Papua New Guinea",
3284 "Value": "Papua New Guinea",
3285 "Order": 136
3286 },
3287 {
3288 "Id": 1082,
3289 "QuestionId": 13,
3290 "Text": "Paraguay",
3291 "Value": "Paraguay",
3292 "Order": 137
3293 },
3294 {
3295 "Id": 1090,
3296 "QuestionId": 13,
3297 "Text": "Peru",
3298 "Value": "Peru",
3299 "Order": 138
3300 },
3301 {
3302 "Id": 1098,
3303 "QuestionId": 13,
3304 "Text": "Philippines",
3305 "Value": "Philippines",
3306 "Order": 139
3307 },
3308 {
3309 "Id": 1106,
3310 "QuestionId": 13,
3311 "Text": "Poland",
3312 "Value": "Poland",
3313 "Order": 140
3314 },
3315 {
3316 "Id": 1114,
3317 "QuestionId": 13,
3318 "Text": "Portugal",
3319 "Value": "Portugal",
3320 "Order": 141
3321 },
3322 {
3323 "Id": 1122,
3324 "QuestionId": 13,
3325 "Text": "Qatar",
3326 "Value": "Qatar",
3327 "Order": 142
3328 },
3329 {
3330 "Id": 1130,
3331 "QuestionId": 13,
3332 "Text": "Romania",
3333 "Value": "Romania",
3334 "Order": 143
3335 },
3336 {
3337 "Id": 1138,
3338 "QuestionId": 13,
3339 "Text": "Russia",
3340 "Value": "Russia",
3341 "Order": 144
3342 },
3343 {
3344 "Id": 1146,
3345 "QuestionId": 13,
3346 "Text": "Rwanda",
3347 "Value": "Rwanda",
3348 "Order": 145
3349 },
3350 {
3351 "Id": 1154,
3352 "QuestionId": 13,
3353 "Text": "Saint Kitts and Nevis",
3354 "Value": "Saint Kitts and Nevis",
3355 "Order": 146
3356 },
3357 {
3358 "Id": 1162,
3359 "QuestionId": 13,
3360 "Text": "Saint Lucia",
3361 "Value": "Saint Lucia",
3362 "Order": 147
3363 },
3364 {
3365 "Id": 1170,
3366 "QuestionId": 13,
3367 "Text": "Saint Vincent",
3368 "Value": "Saint Vincent",
3369 "Order": 148
3370 },
3371 {
3372 "Id": 1178,
3373 "QuestionId": 13,
3374 "Text": "Samoa",
3375 "Value": "Samoa",
3376 "Order": 149
3377 },
3378 {
3379 "Id": 1186,
3380 "QuestionId": 13,
3381 "Text": "San Marino",
3382 "Value": "San Marino",
3383 "Order": 150
3384 },
3385 {
3386 "Id": 1194,
3387 "QuestionId": 13,
3388 "Text": "Sao Tome and Principe",
3389 "Value": "Sao Tome and Principe",
3390 "Order": 151
3391 },
3392 {
3393 "Id": 1202,
3394 "QuestionId": 13,
3395 "Text": "Saudi Arabia",
3396 "Value": "Saudi Arabia",
3397 "Order": 152
3398 },
3399 {
3400 "Id": 1210,
3401 "QuestionId": 13,
3402 "Text": "Senegal",
3403 "Value": "Senegal",
3404 "Order": 153
3405 },
3406 {
3407 "Id": 1218,
3408 "QuestionId": 13,
3409 "Text": "Serbia and Montenegro",
3410 "Value": "Serbia and Montenegro",
3411 "Order": 154
3412 },
3413 {
3414 "Id": 1226,
3415 "QuestionId": 13,
3416 "Text": "Seychelles",
3417 "Value": "Seychelles",
3418 "Order": 155
3419 },
3420 {
3421 "Id": 1234,
3422 "QuestionId": 13,
3423 "Text": "Sierra Leone",
3424 "Value": "Sierra Leone",
3425 "Order": 156
3426 },
3427 {
3428 "Id": 1242,
3429 "QuestionId": 13,
3430 "Text": "Singapore",
3431 "Value": "Singapore",
3432 "Order": 157
3433 },
3434 {
3435 "Id": 1250,
3436 "QuestionId": 13,
3437 "Text": "Slovakia",
3438 "Value": "Slovakia",
3439 "Order": 158
3440 },
3441 {
3442 "Id": 1258,
3443 "QuestionId": 13,
3444 "Text": "Slovenia",
3445 "Value": "Slovenia",
3446 "Order": 159
3447 },
3448 {
3449 "Id": 1266,
3450 "QuestionId": 13,
3451 "Text": "Solomon Islands",
3452 "Value": "Solomon Islands",
3453 "Order": 160
3454 },
3455 {
3456 "Id": 1274,
3457 "QuestionId": 13,
3458 "Text": "Somalia",
3459 "Value": "Somalia",
3460 "Order": 161
3461 },
3462 {
3463 "Id": 1282,
3464 "QuestionId": 13,
3465 "Text": "South Africa",
3466 "Value": "South Africa",
3467 "Order": 162
3468 },
3469 {
3470 "Id": 1290,
3471 "QuestionId": 13,
3472 "Text": "Spain",
3473 "Value": "Spain",
3474 "Order": 163
3475 },
3476 {
3477 "Id": 1298,
3478 "QuestionId": 13,
3479 "Text": "Sri Lanka",
3480 "Value": "Sri Lanka",
3481 "Order": 164
3482 },
3483 {
3484 "Id": 1306,
3485 "QuestionId": 13,
3486 "Text": "Sudan",
3487 "Value": "Sudan",
3488 "Order": 165
3489 },
3490 {
3491 "Id": 1314,
3492 "QuestionId": 13,
3493 "Text": "Suriname",
3494 "Value": "Suriname",
3495 "Order": 166
3496 },
3497 {
3498 "Id": 1322,
3499 "QuestionId": 13,
3500 "Text": "Swaziland",
3501 "Value": "Swaziland",
3502 "Order": 167
3503 },
3504 {
3505 "Id": 1330,
3506 "QuestionId": 13,
3507 "Text": "Sweden",
3508 "Value": "Sweden",
3509 "Order": 168
3510 },
3511 {
3512 "Id": 1338,
3513 "QuestionId": 13,
3514 "Text": "Switzerland",
3515 "Value": "Switzerland",
3516 "Order": 169
3517 },
3518 {
3519 "Id": 1346,
3520 "QuestionId": 13,
3521 "Text": "Syria",
3522 "Value": "Syria",
3523 "Order": 170
3524 },
3525 {
3526 "Id": 1354,
3527 "QuestionId": 13,
3528 "Text": "Taiwan",
3529 "Value": "Taiwan",
3530 "Order": 171
3531 },
3532 {
3533 "Id": 1362,
3534 "QuestionId": 13,
3535 "Text": "Tajikistan",
3536 "Value": "Tajikistan",
3537 "Order": 172
3538 },
3539 {
3540 "Id": 1370,
3541 "QuestionId": 13,
3542 "Text": "Tanzania",
3543 "Value": "Tanzania",
3544 "Order": 173
3545 },
3546 {
3547 "Id": 1378,
3548 "QuestionId": 13,
3549 "Text": "Thailand",
3550 "Value": "Thailand",
3551 "Order": 174
3552 },
3553 {
3554 "Id": 1386,
3555 "QuestionId": 13,
3556 "Text": "Togo",
3557 "Value": "Togo",
3558 "Order": 175
3559 },
3560 {
3561 "Id": 1394,
3562 "QuestionId": 13,
3563 "Text": "Tonga",
3564 "Value": "Tonga",
3565 "Order": 176
3566 },
3567 {
3568 "Id": 1402,
3569 "QuestionId": 13,
3570 "Text": "Trinidad and Tobago",
3571 "Value": "Trinidad and Tobago",
3572 "Order": 177
3573 },
3574 {
3575 "Id": 1410,
3576 "QuestionId": 13,
3577 "Text": "Tunisia",
3578 "Value": "Tunisia",
3579 "Order": 178
3580 },
3581 {
3582 "Id": 1418,
3583 "QuestionId": 13,
3584 "Text": "Turkey",
3585 "Value": "Turkey",
3586 "Order": 179
3587 },
3588 {
3589 "Id": 1426,
3590 "QuestionId": 13,
3591 "Text": "Turkmenistan",
3592 "Value": "Turkmenistan",
3593 "Order": 180
3594 },
3595 {
3596 "Id": 1434,
3597 "QuestionId": 13,
3598 "Text": "Tuvalu",
3599 "Value": "Tuvalu",
3600 "Order": 181
3601 },
3602 {
3603 "Id": 1442,
3604 "QuestionId": 13,
3605 "Text": "Uganda",
3606 "Value": "Uganda",
3607 "Order": 182
3608 },
3609 {
3610 "Id": 1450,
3611 "QuestionId": 13,
3612 "Text": "Ukraine",
3613 "Value": "Ukraine",
3614 "Order": 183
3615 },
3616 {
3617 "Id": 1458,
3618 "QuestionId": 13,
3619 "Text": "United Arab Emirates",
3620 "Value": "United Arab Emirates",
3621 "Order": 184
3622 },
3623 {
3624 "Id": 1466,
3625 "QuestionId": 13,
3626 "Text": "United Kingdom",
3627 "Value": "United Kingdom",
3628 "Order": 185
3629 },
3630 {
3631 "Id": 1474,
3632 "QuestionId": 13,
3633 "Text": "United States",
3634 "Value": "United States",
3635 "Order": 2
3636 },
3637 {
3638 "Id": 1482,
3639 "QuestionId": 13,
3640 "Text": "Uruguay",
3641 "Value": "Uruguay",
3642 "Order": 186
3643 },
3644 {
3645 "Id": 1490,
3646 "QuestionId": 13,
3647 "Text": "Uzbekistan",
3648 "Value": "Uzbekistan",
3649 "Order": 187
3650 },
3651 {
3652 "Id": 1498,
3653 "QuestionId": 13,
3654 "Text": "Vanuatu",
3655 "Value": "Vanuatu",
3656 "Order": 188
3657 },
3658 {
3659 "Id": 1506,
3660 "QuestionId": 13,
3661 "Text": "Vatican City",
3662 "Value": "Vatican City",
3663 "Order": 189
3664 },
3665 {
3666 "Id": 1514,
3667 "QuestionId": 13,
3668 "Text": "Venezuela",
3669 "Value": "Venezuela",
3670 "Order": 190
3671 },
3672 {
3673 "Id": 1522,
3674 "QuestionId": 13,
3675 "Text": "Vietnam",
3676 "Value": "Vietnam",
3677 "Order": 191
3678 },
3679 {
3680 "Id": 1530,
3681 "QuestionId": 13,
3682 "Text": "Yemen",
3683 "Value": "Yemen",
3684 "Order": 192
3685 },
3686 {
3687 "Id": 1538,
3688 "QuestionId": 13,
3689 "Text": "Zambia",
3690 "Value": "Zambia",
3691 "Order": 193
3692 },
3693 {
3694 "Id": 1546,
3695 "QuestionId": 13,
3696 "Text": "Zimbabwe",
3697 "Value": "Zimbabwe",
3698 "Order": 194
3699 },
3700 {
3701 "Id": 2186,
3702 "QuestionId": 13,
3703 "Text": "British Columbia",
3704 "Value": "British Columbia",
3705 "Order": 195
3706 }
3707 ]
3708 },
3709 {
3710 "Id": 14,
3711 "Text": "Phone",
3712 "Type": "0",
3713 "Alias": "Phone"
3714 },
3715 {
3716 "Id": 15,
3717 "Text": "Fax",
3718 "Type": "0",
3719 "Alias": "Fax"
3720 },
3721 {
3722 "Id": 18,
3723 "Text": " NEW QUESTION",
3724 "Type": "0",
3725 "Alias": ""
3726 },
3727 {
3728 "Id": 26,
3729 "Text": " NEW QUESTION",
3730 "Type": "0",
3731 "Alias": ""
3732 },
3733 {
3734 "Id": 34,
3735 "Text": " NEW QUESTION",
3736 "Type": "0",
3737 "Alias": ""
3738 },
3739 {
3740 "Id": 42,
3741 "Text": " NEW QUESTION",
3742 "Type": "0",
3743 "Alias": ""
3744 },
3745 {
3746 "Id": 50,
3747 "Text": " NEW QUESTION",
3748 "Type": "0",
3749 "Alias": ""
3750 },
3751 {
3752 "Id": 58,
3753 "Text": " NEW QUESTION",
3754 "Type": "0",
3755 "Alias": ""
3756 },
3757 {
3758 "Id": 66,
3759 "Text": " NEW QUESTION",
3760 "Type": "0",
3761 "Alias": ""
3762 },
3763 {
3764 "Id": 74,
3765 "Text": " NEW QUESTION",
3766 "Type": "0",
3767 "Alias": ""
3768 },
3769 {
3770 "Id": 82,
3771 "Text": " NEW QUESTION",
3772 "Type": "0",
3773 "Alias": ""
3774 },
3775 {
3776 "Id": 90,
3777 "Text": " NEW QUESTION",
3778 "Type": "0",
3779 "Alias": ""
3780 }
3781 ]
3782 }
3783 {{/code}}
3784
3785 \\
3786
3787 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
3788 == (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)specific Question(%%) ==
3789
3790 ----
3791
3792 {{panel bgColor="#D3D3D3" width="100%"}}
3793 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/questions/~{~{QUESTION ID}}
3794 {{/panel}}
3795
3796 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
3797
3798 ----
3799
3800 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
3801
3802 ==== Example ====
3803
3804 ----
3805
3806 (% style="color: rgb(107,107,107);" %)Request
3807
3808 {{code language="php" theme="RDark" title="Get specific Question Request" collapse="true"}}
3809 <?php
3810
3811 $curl = curl_init();
3812
3813 curl_setopt_array($curl, array(
3814 CURLOPT_URL => 'https://api.onecount.net/v2/questions/{{QUESTION ID}}',
3815 CURLOPT_RETURNTRANSFER => true,
3816 CURLOPT_ENCODING => '',
3817 CURLOPT_MAXREDIRS => 10,
3818 CURLOPT_TIMEOUT => 0,
3819 CURLOPT_FOLLOWLOCATION => true,
3820 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
3821 CURLOPT_CUSTOMREQUEST => 'GET',
3822 CURLOPT_HTTPHEADER => array(
3823 'Appkey: {{ONECOUNT API KEY}}'
3824 ),
3825 ));
3826
3827 $response = curl_exec($curl);
3828
3829 curl_close($curl);
3830 echo $response;
3831 {{/code}}
3832
3833 \\
3834
3835 (% style="color: rgb(107,107,107);" %)Response  200 OK
3836
3837 {{code language="yml" theme="RDark" title="Get specific question Response" collapse="true"}}
3838 {
3839 "result": {
3840 "success": "1",
3841 "error": {
3842 "code": "",
3843 "message": ""
3844 }
3845 },
3846 "Questions": [
3847 {
3848 "Id": 3,
3849 "Text": "Password",
3850 "Type": "2",
3851 "Alias": "Password"
3852 }
3853 ]
3854 }
3855 {{/code}}
3856
3857 \\
3858
3859 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
3860 == (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)lookup question by text(%%) ==
3861
3862 ----
3863
3864 {{panel bgColor="#D3D3D3" width="100%"}}
3865 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/questions/lookup?Text=COUNTRY
3866 {{/panel}}
3867
3868 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
3869
3870 ----
3871
3872 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
3873
3874 === (% style="color: rgb(33,33,33);" %)Query Params(%%) ===
3875
3876 ----
3877
3878 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Text  COUNTRY(%%)
3879 \\
3880
3881 ==== Example ====
3882
3883 ----
3884
3885 (% style="color: rgb(107,107,107);" %)Request
3886
3887 {{code language="php" theme="RDark" title="Lookup question by text Request" collapse="true"}}
3888 <?php
3889
3890 $curl = curl_init();
3891
3892 curl_setopt_array($curl, array(
3893 CURLOPT_URL => 'https://api.onecount.net/v2/questions/lookup?Text=COUNTRY',
3894 CURLOPT_RETURNTRANSFER => true,
3895 CURLOPT_ENCODING => '',
3896 CURLOPT_MAXREDIRS => 10,
3897 CURLOPT_TIMEOUT => 0,
3898 CURLOPT_FOLLOWLOCATION => true,
3899 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
3900 CURLOPT_CUSTOMREQUEST => 'GET',
3901 CURLOPT_HTTPHEADER => array(
3902 'Appkey: {{ONECOUNT API KEY}}'
3903 ),
3904 ));
3905
3906 $response = curl_exec($curl);
3907
3908 curl_close($curl);
3909 echo $response;
3910 {{/code}}
3911
3912 \\
3913
3914 (% style="color: rgb(107,107,107);" %)Response  200 OK
3915
3916 {{code language="yml" theme="RDark" title="Lookup question by title Response" collapse="true"}}
3917 {
3918 "result": {
3919 "success": "1",
3920 "error": {
3921 "code": "",
3922 "message": ""
3923 }
3924 },
3925 "Questions": [
3926 {
3927 "Id": 13,
3928 "Text": "Country",
3929 "Type": "4",
3930 "Alias": "Country",
3931 "Choices": [
3932 {
3933 "Id": 2,
3934 "QuestionId": 13,
3935 "Text": "Select One",
3936 "Value": "",
3937 "Order": 1
3938 },
3939 {
3940 "Id": 10,
3941 "QuestionId": 13,
3942 "Text": "Afghanistan",
3943 "Value": "Afghanistan",
3944 "Order": 3
3945 },
3946 {
3947 "Id": 18,
3948 "QuestionId": 13,
3949 "Text": "Albania",
3950 "Value": "Albania",
3951 "Order": 4
3952 },
3953 {
3954 "Id": 26,
3955 "QuestionId": 13,
3956 "Text": "Algeria",
3957 "Value": "Algeria",
3958 "Order": 5
3959 },
3960 {
3961 "Id": 34,
3962 "QuestionId": 13,
3963 "Text": "Andorra",
3964 "Value": "Andorra",
3965 "Order": 6
3966 },
3967 {
3968 "Id": 42,
3969 "QuestionId": 13,
3970 "Text": "Angola",
3971 "Value": "Angola",
3972 "Order": 7
3973 },
3974 {
3975 "Id": 50,
3976 "QuestionId": 13,
3977 "Text": "Antigua and Barbuda",
3978 "Value": "Antigua and Barbuda",
3979 "Order": 8
3980 },
3981 {
3982 "Id": 58,
3983 "QuestionId": 13,
3984 "Text": "Argentina",
3985 "Value": "Argentina",
3986 "Order": 9
3987 },
3988 {
3989 "Id": 66,
3990 "QuestionId": 13,
3991 "Text": "Armenia",
3992 "Value": "Armenia",
3993 "Order": 10
3994 },
3995 {
3996 "Id": 74,
3997 "QuestionId": 13,
3998 "Text": "Australia",
3999 "Value": "Australia",
4000 "Order": 11
4001 },
4002 {
4003 "Id": 82,
4004 "QuestionId": 13,
4005 "Text": "Austria",
4006 "Value": "Austria",
4007 "Order": 12
4008 },
4009 {
4010 "Id": 90,
4011 "QuestionId": 13,
4012 "Text": "Azerbaijan",
4013 "Value": "Azerbaijan",
4014 "Order": 13
4015 },
4016 {
4017 "Id": 98,
4018 "QuestionId": 13,
4019 "Text": "Bahamas",
4020 "Value": "Bahamas",
4021 "Order": 14
4022 },
4023 {
4024 "Id": 106,
4025 "QuestionId": 13,
4026 "Text": "Bahrain",
4027 "Value": "Bahrain",
4028 "Order": 15
4029 },
4030 {
4031 "Id": 114,
4032 "QuestionId": 13,
4033 "Text": "Bangladesh",
4034 "Value": "Bangladesh",
4035 "Order": 16
4036 },
4037 {
4038 "Id": 122,
4039 "QuestionId": 13,
4040 "Text": "Barbados",
4041 "Value": "Barbados",
4042 "Order": 17
4043 },
4044 {
4045 "Id": 130,
4046 "QuestionId": 13,
4047 "Text": "Belarus",
4048 "Value": "Belarus",
4049 "Order": 18
4050 },
4051 {
4052 "Id": 138,
4053 "QuestionId": 13,
4054 "Text": "Belgium",
4055 "Value": "Belgium",
4056 "Order": 19
4057 },
4058 {
4059 "Id": 146,
4060 "QuestionId": 13,
4061 "Text": "Belize",
4062 "Value": "Belize",
4063 "Order": 20
4064 },
4065 {
4066 "Id": 154,
4067 "QuestionId": 13,
4068 "Text": "Benin",
4069 "Value": "Benin",
4070 "Order": 21
4071 },
4072 {
4073 "Id": 162,
4074 "QuestionId": 13,
4075 "Text": "Bhutan",
4076 "Value": "Bhutan",
4077 "Order": 22
4078 },
4079 {
4080 "Id": 170,
4081 "QuestionId": 13,
4082 "Text": "Bolivia",
4083 "Value": "Bolivia",
4084 "Order": 23
4085 },
4086 {
4087 "Id": 178,
4088 "QuestionId": 13,
4089 "Text": "Bosnia and Herzegovina",
4090 "Value": "Bosnia and Herzegovina",
4091 "Order": 24
4092 },
4093 {
4094 "Id": 186,
4095 "QuestionId": 13,
4096 "Text": "Botswana",
4097 "Value": "Botswana",
4098 "Order": 25
4099 },
4100 {
4101 "Id": 194,
4102 "QuestionId": 13,
4103 "Text": "Brazil",
4104 "Value": "Brazil",
4105 "Order": 26
4106 },
4107 {
4108 "Id": 202,
4109 "QuestionId": 13,
4110 "Text": "Brunei",
4111 "Value": "Brunei",
4112 "Order": 27
4113 },
4114 {
4115 "Id": 210,
4116 "QuestionId": 13,
4117 "Text": "Bulgaria",
4118 "Value": "Bulgaria",
4119 "Order": 28
4120 },
4121 {
4122 "Id": 218,
4123 "QuestionId": 13,
4124 "Text": "Burkina Faso",
4125 "Value": "Burkina Faso",
4126 "Order": 29
4127 },
4128 {
4129 "Id": 226,
4130 "QuestionId": 13,
4131 "Text": "Burundi",
4132 "Value": "Burundi",
4133 "Order": 30
4134 },
4135 {
4136 "Id": 234,
4137 "QuestionId": 13,
4138 "Text": "Cambodia",
4139 "Value": "Cambodia",
4140 "Order": 31
4141 },
4142 {
4143 "Id": 242,
4144 "QuestionId": 13,
4145 "Text": "Cameroon",
4146 "Value": "Cameroon",
4147 "Order": 32
4148 },
4149 {
4150 "Id": 250,
4151 "QuestionId": 13,
4152 "Text": "Canada",
4153 "Value": "Canada",
4154 "Order": 33
4155 },
4156 {
4157 "Id": 258,
4158 "QuestionId": 13,
4159 "Text": "Cape Verde",
4160 "Value": "Cape Verde",
4161 "Order": 34
4162 },
4163 {
4164 "Id": 266,
4165 "QuestionId": 13,
4166 "Text": "Central African Republic",
4167 "Value": "Central African Republic",
4168 "Order": 35
4169 },
4170 {
4171 "Id": 274,
4172 "QuestionId": 13,
4173 "Text": "Chad",
4174 "Value": "Chad",
4175 "Order": 36
4176 },
4177 {
4178 "Id": 282,
4179 "QuestionId": 13,
4180 "Text": "Chile",
4181 "Value": "Chile",
4182 "Order": 37
4183 },
4184 {
4185 "Id": 290,
4186 "QuestionId": 13,
4187 "Text": "China",
4188 "Value": "China",
4189 "Order": 38
4190 },
4191 {
4192 "Id": 298,
4193 "QuestionId": 13,
4194 "Text": "Colombia",
4195 "Value": "Colombia",
4196 "Order": 39
4197 },
4198 {
4199 "Id": 306,
4200 "QuestionId": 13,
4201 "Text": "Comoros",
4202 "Value": "Comoros",
4203 "Order": 40
4204 },
4205 {
4206 "Id": 314,
4207 "QuestionId": 13,
4208 "Text": "Congo (Brazzaville)",
4209 "Value": "Congo (Brazzaville)",
4210 "Order": 41
4211 },
4212 {
4213 "Id": 322,
4214 "QuestionId": 13,
4215 "Text": "Congo",
4216 "Value": "Congo",
4217 "Order": 42
4218 },
4219 {
4220 "Id": 330,
4221 "QuestionId": 13,
4222 "Text": "Costa Rica",
4223 "Value": "Costa Rica",
4224 "Order": 43
4225 },
4226 {
4227 "Id": 338,
4228 "QuestionId": 13,
4229 "Text": "Cote d'Ivoire",
4230 "Value": "Cote d'Ivoire",
4231 "Order": 44
4232 },
4233 {
4234 "Id": 346,
4235 "QuestionId": 13,
4236 "Text": "Croatia",
4237 "Value": "Croatia",
4238 "Order": 45
4239 },
4240 {
4241 "Id": 354,
4242 "QuestionId": 13,
4243 "Text": "Cuba",
4244 "Value": "Cuba",
4245 "Order": 46
4246 },
4247 {
4248 "Id": 362,
4249 "QuestionId": 13,
4250 "Text": "Cyprus",
4251 "Value": "Cyprus",
4252 "Order": 47
4253 },
4254 {
4255 "Id": 370,
4256 "QuestionId": 13,
4257 "Text": "Czech Republic",
4258 "Value": "Czech Republic",
4259 "Order": 48
4260 },
4261 {
4262 "Id": 378,
4263 "QuestionId": 13,
4264 "Text": "Denmark",
4265 "Value": "Denmark",
4266 "Order": 49
4267 },
4268 {
4269 "Id": 386,
4270 "QuestionId": 13,
4271 "Text": "Djibouti",
4272 "Value": "Djibouti",
4273 "Order": 50
4274 },
4275 {
4276 "Id": 394,
4277 "QuestionId": 13,
4278 "Text": "Dominica",
4279 "Value": "Dominica",
4280 "Order": 51
4281 },
4282 {
4283 "Id": 402,
4284 "QuestionId": 13,
4285 "Text": "Dominican Republic",
4286 "Value": "Dominican Republic",
4287 "Order": 52
4288 },
4289 {
4290 "Id": 410,
4291 "QuestionId": 13,
4292 "Text": "East Timor",
4293 "Value": "East Timor",
4294 "Order": 53
4295 },
4296 {
4297 "Id": 418,
4298 "QuestionId": 13,
4299 "Text": "Ecuador",
4300 "Value": "Ecuador",
4301 "Order": 54
4302 },
4303 {
4304 "Id": 426,
4305 "QuestionId": 13,
4306 "Text": "Egypt",
4307 "Value": "Egypt",
4308 "Order": 55
4309 },
4310 {
4311 "Id": 434,
4312 "QuestionId": 13,
4313 "Text": "El Salvador",
4314 "Value": "El Salvador",
4315 "Order": 56
4316 },
4317 {
4318 "Id": 442,
4319 "QuestionId": 13,
4320 "Text": "Equatorial Guinea",
4321 "Value": "Equatorial Guinea",
4322 "Order": 57
4323 },
4324 {
4325 "Id": 450,
4326 "QuestionId": 13,
4327 "Text": "Eritrea",
4328 "Value": "Eritrea",
4329 "Order": 58
4330 },
4331 {
4332 "Id": 458,
4333 "QuestionId": 13,
4334 "Text": "Estonia",
4335 "Value": "Estonia",
4336 "Order": 59
4337 },
4338 {
4339 "Id": 466,
4340 "QuestionId": 13,
4341 "Text": "Ethiopia",
4342 "Value": "Ethiopia",
4343 "Order": 60
4344 },
4345 {
4346 "Id": 474,
4347 "QuestionId": 13,
4348 "Text": "Fiji",
4349 "Value": "Fiji",
4350 "Order": 61
4351 },
4352 {
4353 "Id": 482,
4354 "QuestionId": 13,
4355 "Text": "Finland",
4356 "Value": "Finland",
4357 "Order": 62
4358 },
4359 {
4360 "Id": 490,
4361 "QuestionId": 13,
4362 "Text": "France",
4363 "Value": "France",
4364 "Order": 63
4365 },
4366 {
4367 "Id": 498,
4368 "QuestionId": 13,
4369 "Text": "Gabon",
4370 "Value": "Gabon",
4371 "Order": 64
4372 },
4373 {
4374 "Id": 506,
4375 "QuestionId": 13,
4376 "Text": "Gambia, The",
4377 "Value": "Gambia, The",
4378 "Order": 65
4379 },
4380 {
4381 "Id": 514,
4382 "QuestionId": 13,
4383 "Text": "Georgia",
4384 "Value": "Georgia",
4385 "Order": 66
4386 },
4387 {
4388 "Id": 522,
4389 "QuestionId": 13,
4390 "Text": "Germany",
4391 "Value": "Germany",
4392 "Order": 67
4393 },
4394 {
4395 "Id": 530,
4396 "QuestionId": 13,
4397 "Text": "Ghana",
4398 "Value": "Ghana",
4399 "Order": 68
4400 },
4401 {
4402 "Id": 538,
4403 "QuestionId": 13,
4404 "Text": "Greece",
4405 "Value": "Greece",
4406 "Order": 69
4407 },
4408 {
4409 "Id": 546,
4410 "QuestionId": 13,
4411 "Text": "Grenada",
4412 "Value": "Grenada",
4413 "Order": 70
4414 },
4415 {
4416 "Id": 554,
4417 "QuestionId": 13,
4418 "Text": "Guatemala",
4419 "Value": "Guatemala",
4420 "Order": 71
4421 },
4422 {
4423 "Id": 562,
4424 "QuestionId": 13,
4425 "Text": "Guinea",
4426 "Value": "Guinea",
4427 "Order": 72
4428 },
4429 {
4430 "Id": 570,
4431 "QuestionId": 13,
4432 "Text": "Guinea-Bissau",
4433 "Value": "Guinea-Bissau",
4434 "Order": 73
4435 },
4436 {
4437 "Id": 578,
4438 "QuestionId": 13,
4439 "Text": "Guyana",
4440 "Value": "Guyana",
4441 "Order": 74
4442 },
4443 {
4444 "Id": 586,
4445 "QuestionId": 13,
4446 "Text": "Haiti",
4447 "Value": "Haiti",
4448 "Order": 75
4449 },
4450 {
4451 "Id": 594,
4452 "QuestionId": 13,
4453 "Text": "Honduras",
4454 "Value": "Honduras",
4455 "Order": 76
4456 },
4457 {
4458 "Id": 602,
4459 "QuestionId": 13,
4460 "Text": "Hungary",
4461 "Value": "Hungary",
4462 "Order": 77
4463 },
4464 {
4465 "Id": 610,
4466 "QuestionId": 13,
4467 "Text": "Iceland",
4468 "Value": "Iceland",
4469 "Order": 78
4470 },
4471 {
4472 "Id": 618,
4473 "QuestionId": 13,
4474 "Text": "India",
4475 "Value": "India",
4476 "Order": 79
4477 },
4478 {
4479 "Id": 626,
4480 "QuestionId": 13,
4481 "Text": "Indonesia",
4482 "Value": "Indonesia",
4483 "Order": 80
4484 },
4485 {
4486 "Id": 634,
4487 "QuestionId": 13,
4488 "Text": "Iran",
4489 "Value": "Iran",
4490 "Order": 81
4491 },
4492 {
4493 "Id": 642,
4494 "QuestionId": 13,
4495 "Text": "Iraq",
4496 "Value": "Iraq",
4497 "Order": 82
4498 },
4499 {
4500 "Id": 650,
4501 "QuestionId": 13,
4502 "Text": "Ireland",
4503 "Value": "Ireland",
4504 "Order": 83
4505 },
4506 {
4507 "Id": 658,
4508 "QuestionId": 13,
4509 "Text": "Israel",
4510 "Value": "Israel",
4511 "Order": 84
4512 },
4513 {
4514 "Id": 666,
4515 "QuestionId": 13,
4516 "Text": "Italy",
4517 "Value": "Italy",
4518 "Order": 85
4519 },
4520 {
4521 "Id": 674,
4522 "QuestionId": 13,
4523 "Text": "Jamaica",
4524 "Value": "Jamaica",
4525 "Order": 86
4526 },
4527 {
4528 "Id": 682,
4529 "QuestionId": 13,
4530 "Text": "Japan",
4531 "Value": "Japan",
4532 "Order": 87
4533 },
4534 {
4535 "Id": 690,
4536 "QuestionId": 13,
4537 "Text": "Jordan",
4538 "Value": "Jordan",
4539 "Order": 88
4540 },
4541 {
4542 "Id": 698,
4543 "QuestionId": 13,
4544 "Text": "Kazakhstan",
4545 "Value": "Kazakhstan",
4546 "Order": 89
4547 },
4548 {
4549 "Id": 706,
4550 "QuestionId": 13,
4551 "Text": "Kenya",
4552 "Value": "Kenya",
4553 "Order": 90
4554 },
4555 {
4556 "Id": 714,
4557 "QuestionId": 13,
4558 "Text": "Kiribati",
4559 "Value": "Kiribati",
4560 "Order": 91
4561 },
4562 {
4563 "Id": 722,
4564 "QuestionId": 13,
4565 "Text": "Korea, North",
4566 "Value": "Korea, North",
4567 "Order": 92
4568 },
4569 {
4570 "Id": 730,
4571 "QuestionId": 13,
4572 "Text": "Korea, South",
4573 "Value": "Korea, South",
4574 "Order": 93
4575 },
4576 {
4577 "Id": 738,
4578 "QuestionId": 13,
4579 "Text": "Kuwait",
4580 "Value": "Kuwait",
4581 "Order": 94
4582 },
4583 {
4584 "Id": 746,
4585 "QuestionId": 13,
4586 "Text": "Kyrgyzstan",
4587 "Value": "Kyrgyzstan",
4588 "Order": 95
4589 },
4590 {
4591 "Id": 754,
4592 "QuestionId": 13,
4593 "Text": "Laos",
4594 "Value": "Laos",
4595 "Order": 96
4596 },
4597 {
4598 "Id": 762,
4599 "QuestionId": 13,
4600 "Text": "Latvia",
4601 "Value": "Latvia",
4602 "Order": 97
4603 },
4604 {
4605 "Id": 770,
4606 "QuestionId": 13,
4607 "Text": "Lebanon",
4608 "Value": "Lebanon",
4609 "Order": 98
4610 },
4611 {
4612 "Id": 778,
4613 "QuestionId": 13,
4614 "Text": "Lesotho",
4615 "Value": "Lesotho",
4616 "Order": 99
4617 },
4618 {
4619 "Id": 786,
4620 "QuestionId": 13,
4621 "Text": "Liberia",
4622 "Value": "Liberia",
4623 "Order": 100
4624 },
4625 {
4626 "Id": 794,
4627 "QuestionId": 13,
4628 "Text": "Libya",
4629 "Value": "Libya",
4630 "Order": 101
4631 },
4632 {
4633 "Id": 802,
4634 "QuestionId": 13,
4635 "Text": "Liechtenstein",
4636 "Value": "Liechtenstein",
4637 "Order": 102
4638 },
4639 {
4640 "Id": 810,
4641 "QuestionId": 13,
4642 "Text": "Lithuania",
4643 "Value": "Lithuania",
4644 "Order": 103
4645 },
4646 {
4647 "Id": 818,
4648 "QuestionId": 13,
4649 "Text": "Luxembourg",
4650 "Value": "Luxembourg",
4651 "Order": 104
4652 },
4653 {
4654 "Id": 826,
4655 "QuestionId": 13,
4656 "Text": "Macedonia",
4657 "Value": "Macedonia",
4658 "Order": 105
4659 },
4660 {
4661 "Id": 834,
4662 "QuestionId": 13,
4663 "Text": "Madagascar",
4664 "Value": "Madagascar",
4665 "Order": 106
4666 },
4667 {
4668 "Id": 842,
4669 "QuestionId": 13,
4670 "Text": "Malawi",
4671 "Value": "Malawi",
4672 "Order": 107
4673 },
4674 {
4675 "Id": 850,
4676 "QuestionId": 13,
4677 "Text": "Malaysia",
4678 "Value": "Malaysia",
4679 "Order": 108
4680 },
4681 {
4682 "Id": 858,
4683 "QuestionId": 13,
4684 "Text": "Maldives",
4685 "Value": "Maldives",
4686 "Order": 109
4687 },
4688 {
4689 "Id": 866,
4690 "QuestionId": 13,
4691 "Text": "Mali",
4692 "Value": "Mali",
4693 "Order": 110
4694 },
4695 {
4696 "Id": 874,
4697 "QuestionId": 13,
4698 "Text": "Malta",
4699 "Value": "Malta",
4700 "Order": 111
4701 },
4702 {
4703 "Id": 882,
4704 "QuestionId": 13,
4705 "Text": "Marshall Islands",
4706 "Value": "Marshall Islands",
4707 "Order": 112
4708 },
4709 {
4710 "Id": 890,
4711 "QuestionId": 13,
4712 "Text": "Mauritania",
4713 "Value": "Mauritania",
4714 "Order": 113
4715 },
4716 {
4717 "Id": 898,
4718 "QuestionId": 13,
4719 "Text": "Mauritius",
4720 "Value": "Mauritius",
4721 "Order": 114
4722 },
4723 {
4724 "Id": 906,
4725 "QuestionId": 13,
4726 "Text": "Mexico",
4727 "Value": "Mexico",
4728 "Order": 115
4729 },
4730 {
4731 "Id": 914,
4732 "QuestionId": 13,
4733 "Text": "Micronesia",
4734 "Value": "Micronesia",
4735 "Order": 116
4736 },
4737 {
4738 "Id": 922,
4739 "QuestionId": 13,
4740 "Text": "Moldova",
4741 "Value": "Moldova",
4742 "Order": 117
4743 },
4744 {
4745 "Id": 930,
4746 "QuestionId": 13,
4747 "Text": "Monaco",
4748 "Value": "Monaco",
4749 "Order": 118
4750 },
4751 {
4752 "Id": 938,
4753 "QuestionId": 13,
4754 "Text": "Mongolia",
4755 "Value": "Mongolia",
4756 "Order": 119
4757 },
4758 {
4759 "Id": 946,
4760 "QuestionId": 13,
4761 "Text": "Morocco",
4762 "Value": "Morocco",
4763 "Order": 120
4764 },
4765 {
4766 "Id": 954,
4767 "QuestionId": 13,
4768 "Text": "Mozambique",
4769 "Value": "Mozambique",
4770 "Order": 121
4771 },
4772 {
4773 "Id": 962,
4774 "QuestionId": 13,
4775 "Text": "Myanmar",
4776 "Value": "Myanmar",
4777 "Order": 122
4778 },
4779 {
4780 "Id": 970,
4781 "QuestionId": 13,
4782 "Text": "Namibia",
4783 "Value": "Namibia",
4784 "Order": 123
4785 },
4786 {
4787 "Id": 978,
4788 "QuestionId": 13,
4789 "Text": "Nauru",
4790 "Value": "Nauru",
4791 "Order": 124
4792 },
4793 {
4794 "Id": 986,
4795 "QuestionId": 13,
4796 "Text": "Nepa",
4797 "Value": "Nepa",
4798 "Order": 125
4799 },
4800 {
4801 "Id": 994,
4802 "QuestionId": 13,
4803 "Text": "Netherlands",
4804 "Value": "Netherlands",
4805 "Order": 126
4806 },
4807 {
4808 "Id": 1002,
4809 "QuestionId": 13,
4810 "Text": "New Zealand",
4811 "Value": "New Zealand",
4812 "Order": 127
4813 },
4814 {
4815 "Id": 1010,
4816 "QuestionId": 13,
4817 "Text": "Nicaragua",
4818 "Value": "Nicaragua",
4819 "Order": 128
4820 },
4821 {
4822 "Id": 1018,
4823 "QuestionId": 13,
4824 "Text": "Niger",
4825 "Value": "Niger",
4826 "Order": 129
4827 },
4828 {
4829 "Id": 1026,
4830 "QuestionId": 13,
4831 "Text": "Nigeria",
4832 "Value": "Nigeria",
4833 "Order": 130
4834 },
4835 {
4836 "Id": 1034,
4837 "QuestionId": 13,
4838 "Text": "Norway",
4839 "Value": "Norway",
4840 "Order": 131
4841 },
4842 {
4843 "Id": 1042,
4844 "QuestionId": 13,
4845 "Text": "Oman",
4846 "Value": "Oman",
4847 "Order": 132
4848 },
4849 {
4850 "Id": 1050,
4851 "QuestionId": 13,
4852 "Text": "Pakistan",
4853 "Value": "Pakistan",
4854 "Order": 133
4855 },
4856 {
4857 "Id": 1058,
4858 "QuestionId": 13,
4859 "Text": "Palau",
4860 "Value": "Palau",
4861 "Order": 134
4862 },
4863 {
4864 "Id": 1066,
4865 "QuestionId": 13,
4866 "Text": "Panama",
4867 "Value": "Panama",
4868 "Order": 135
4869 },
4870 {
4871 "Id": 1074,
4872 "QuestionId": 13,
4873 "Text": "Papua New Guinea",
4874 "Value": "Papua New Guinea",
4875 "Order": 136
4876 },
4877 {
4878 "Id": 1082,
4879 "QuestionId": 13,
4880 "Text": "Paraguay",
4881 "Value": "Paraguay",
4882 "Order": 137
4883 },
4884 {
4885 "Id": 1090,
4886 "QuestionId": 13,
4887 "Text": "Peru",
4888 "Value": "Peru",
4889 "Order": 138
4890 },
4891 {
4892 "Id": 1098,
4893 "QuestionId": 13,
4894 "Text": "Philippines",
4895 "Value": "Philippines",
4896 "Order": 139
4897 },
4898 {
4899 "Id": 1106,
4900 "QuestionId": 13,
4901 "Text": "Poland",
4902 "Value": "Poland",
4903 "Order": 140
4904 },
4905 {
4906 "Id": 1114,
4907 "QuestionId": 13,
4908 "Text": "Portugal",
4909 "Value": "Portugal",
4910 "Order": 141
4911 },
4912 {
4913 "Id": 1122,
4914 "QuestionId": 13,
4915 "Text": "Qatar",
4916 "Value": "Qatar",
4917 "Order": 142
4918 },
4919 {
4920 "Id": 1130,
4921 "QuestionId": 13,
4922 "Text": "Romania",
4923 "Value": "Romania",
4924 "Order": 143
4925 },
4926 {
4927 "Id": 1138,
4928 "QuestionId": 13,
4929 "Text": "Russia",
4930 "Value": "Russia",
4931 "Order": 144
4932 },
4933 {
4934 "Id": 1146,
4935 "QuestionId": 13,
4936 "Text": "Rwanda",
4937 "Value": "Rwanda",
4938 "Order": 145
4939 },
4940 {
4941 "Id": 1154,
4942 "QuestionId": 13,
4943 "Text": "Saint Kitts and Nevis",
4944 "Value": "Saint Kitts and Nevis",
4945 "Order": 146
4946 },
4947 {
4948 "Id": 1162,
4949 "QuestionId": 13,
4950 "Text": "Saint Lucia",
4951 "Value": "Saint Lucia",
4952 "Order": 147
4953 },
4954 {
4955 "Id": 1170,
4956 "QuestionId": 13,
4957 "Text": "Saint Vincent",
4958 "Value": "Saint Vincent",
4959 "Order": 148
4960 },
4961 {
4962 "Id": 1178,
4963 "QuestionId": 13,
4964 "Text": "Samoa",
4965 "Value": "Samoa",
4966 "Order": 149
4967 },
4968 {
4969 "Id": 1186,
4970 "QuestionId": 13,
4971 "Text": "San Marino",
4972 "Value": "San Marino",
4973 "Order": 150
4974 },
4975 {
4976 "Id": 1194,
4977 "QuestionId": 13,
4978 "Text": "Sao Tome and Principe",
4979 "Value": "Sao Tome and Principe",
4980 "Order": 151
4981 },
4982 {
4983 "Id": 1202,
4984 "QuestionId": 13,
4985 "Text": "Saudi Arabia",
4986 "Value": "Saudi Arabia",
4987 "Order": 152
4988 },
4989 {
4990 "Id": 1210,
4991 "QuestionId": 13,
4992 "Text": "Senegal",
4993 "Value": "Senegal",
4994 "Order": 153
4995 },
4996 {
4997 "Id": 1218,
4998 "QuestionId": 13,
4999 "Text": "Serbia and Montenegro",
5000 "Value": "Serbia and Montenegro",
5001 "Order": 154
5002 },
5003 {
5004 "Id": 1226,
5005 "QuestionId": 13,
5006 "Text": "Seychelles",
5007 "Value": "Seychelles",
5008 "Order": 155
5009 },
5010 {
5011 "Id": 1234,
5012 "QuestionId": 13,
5013 "Text": "Sierra Leone",
5014 "Value": "Sierra Leone",
5015 "Order": 156
5016 },
5017 {
5018 "Id": 1242,
5019 "QuestionId": 13,
5020 "Text": "Singapore",
5021 "Value": "Singapore",
5022 "Order": 157
5023 },
5024 {
5025 "Id": 1250,
5026 "QuestionId": 13,
5027 "Text": "Slovakia",
5028 "Value": "Slovakia",
5029 "Order": 158
5030 },
5031 {
5032 "Id": 1258,
5033 "QuestionId": 13,
5034 "Text": "Slovenia",
5035 "Value": "Slovenia",
5036 "Order": 159
5037 },
5038 {
5039 "Id": 1266,
5040 "QuestionId": 13,
5041 "Text": "Solomon Islands",
5042 "Value": "Solomon Islands",
5043 "Order": 160
5044 },
5045 {
5046 "Id": 1274,
5047 "QuestionId": 13,
5048 "Text": "Somalia",
5049 "Value": "Somalia",
5050 "Order": 161
5051 },
5052 {
5053 "Id": 1282,
5054 "QuestionId": 13,
5055 "Text": "South Africa",
5056 "Value": "South Africa",
5057 "Order": 162
5058 },
5059 {
5060 "Id": 1290,
5061 "QuestionId": 13,
5062 "Text": "Spain",
5063 "Value": "Spain",
5064 "Order": 163
5065 },
5066 {
5067 "Id": 1298,
5068 "QuestionId": 13,
5069 "Text": "Sri Lanka",
5070 "Value": "Sri Lanka",
5071 "Order": 164
5072 },
5073 {
5074 "Id": 1306,
5075 "QuestionId": 13,
5076 "Text": "Sudan",
5077 "Value": "Sudan",
5078 "Order": 165
5079 },
5080 {
5081 "Id": 1314,
5082 "QuestionId": 13,
5083 "Text": "Suriname",
5084 "Value": "Suriname",
5085 "Order": 166
5086 },
5087 {
5088 "Id": 1322,
5089 "QuestionId": 13,
5090 "Text": "Swaziland",
5091 "Value": "Swaziland",
5092 "Order": 167
5093 },
5094 {
5095 "Id": 1330,
5096 "QuestionId": 13,
5097 "Text": "Sweden",
5098 "Value": "Sweden",
5099 "Order": 168
5100 },
5101 {
5102 "Id": 1338,
5103 "QuestionId": 13,
5104 "Text": "Switzerland",
5105 "Value": "Switzerland",
5106 "Order": 169
5107 },
5108 {
5109 "Id": 1346,
5110 "QuestionId": 13,
5111 "Text": "Syria",
5112 "Value": "Syria",
5113 "Order": 170
5114 },
5115 {
5116 "Id": 1354,
5117 "QuestionId": 13,
5118 "Text": "Taiwan",
5119 "Value": "Taiwan",
5120 "Order": 171
5121 },
5122 {
5123 "Id": 1362,
5124 "QuestionId": 13,
5125 "Text": "Tajikistan",
5126 "Value": "Tajikistan",
5127 "Order": 172
5128 },
5129 {
5130 "Id": 1370,
5131 "QuestionId": 13,
5132 "Text": "Tanzania",
5133 "Value": "Tanzania",
5134 "Order": 173
5135 },
5136 {
5137 "Id": 1378,
5138 "QuestionId": 13,
5139 "Text": "Thailand",
5140 "Value": "Thailand",
5141 "Order": 174
5142 },
5143 {
5144 "Id": 1386,
5145 "QuestionId": 13,
5146 "Text": "Togo",
5147 "Value": "Togo",
5148 "Order": 175
5149 },
5150 {
5151 "Id": 1394,
5152 "QuestionId": 13,
5153 "Text": "Tonga",
5154 "Value": "Tonga",
5155 "Order": 176
5156 },
5157 {
5158 "Id": 1402,
5159 "QuestionId": 13,
5160 "Text": "Trinidad and Tobago",
5161 "Value": "Trinidad and Tobago",
5162 "Order": 177
5163 },
5164 {
5165 "Id": 1410,
5166 "QuestionId": 13,
5167 "Text": "Tunisia",
5168 "Value": "Tunisia",
5169 "Order": 178
5170 },
5171 {
5172 "Id": 1418,
5173 "QuestionId": 13,
5174 "Text": "Turkey",
5175 "Value": "Turkey",
5176 "Order": 179
5177 },
5178 {
5179 "Id": 1426,
5180 "QuestionId": 13,
5181 "Text": "Turkmenistan",
5182 "Value": "Turkmenistan",
5183 "Order": 180
5184 },
5185 {
5186 "Id": 1434,
5187 "QuestionId": 13,
5188 "Text": "Tuvalu",
5189 "Value": "Tuvalu",
5190 "Order": 181
5191 },
5192 {
5193 "Id": 1442,
5194 "QuestionId": 13,
5195 "Text": "Uganda",
5196 "Value": "Uganda",
5197 "Order": 182
5198 },
5199 {
5200 "Id": 1450,
5201 "QuestionId": 13,
5202 "Text": "Ukraine",
5203 "Value": "Ukraine",
5204 "Order": 183
5205 },
5206 {
5207 "Id": 1458,
5208 "QuestionId": 13,
5209 "Text": "United Arab Emirates",
5210 "Value": "United Arab Emirates",
5211 "Order": 184
5212 },
5213 {
5214 "Id": 1466,
5215 "QuestionId": 13,
5216 "Text": "United Kingdom",
5217 "Value": "United Kingdom",
5218 "Order": 185
5219 },
5220 {
5221 "Id": 1474,
5222 "QuestionId": 13,
5223 "Text": "United States",
5224 "Value": "United States",
5225 "Order": 2
5226 },
5227 {
5228 "Id": 1482,
5229 "QuestionId": 13,
5230 "Text": "Uruguay",
5231 "Value": "Uruguay",
5232 "Order": 186
5233 },
5234 {
5235 "Id": 1490,
5236 "QuestionId": 13,
5237 "Text": "Uzbekistan",
5238 "Value": "Uzbekistan",
5239 "Order": 187
5240 },
5241 {
5242 "Id": 1498,
5243 "QuestionId": 13,
5244 "Text": "Vanuatu",
5245 "Value": "Vanuatu",
5246 "Order": 188
5247 },
5248 {
5249 "Id": 1506,
5250 "QuestionId": 13,
5251 "Text": "Vatican City",
5252 "Value": "Vatican City",
5253 "Order": 189
5254 },
5255 {
5256 "Id": 1514,
5257 "QuestionId": 13,
5258 "Text": "Venezuela",
5259 "Value": "Venezuela",
5260 "Order": 190
5261 },
5262 {
5263 "Id": 1522,
5264 "QuestionId": 13,
5265 "Text": "Vietnam",
5266 "Value": "Vietnam",
5267 "Order": 191
5268 },
5269 {
5270 "Id": 1530,
5271 "QuestionId": 13,
5272 "Text": "Yemen",
5273 "Value": "Yemen",
5274 "Order": 192
5275 },
5276 {
5277 "Id": 1538,
5278 "QuestionId": 13,
5279 "Text": "Zambia",
5280 "Value": "Zambia",
5281 "Order": 193
5282 },
5283 {
5284 "Id": 1546,
5285 "QuestionId": 13,
5286 "Text": "Zimbabwe",
5287 "Value": "Zimbabwe",
5288 "Order": 194
5289 },
5290 {
5291 "Id": 2186,
5292 "QuestionId": 13,
5293 "Text": "British Columbia",
5294 "Value": "British Columbia",
5295 "Order": 195
5296 }
5297 ]
5298 }
5299 ]
5300 }
5301 {{/code}}
5302
5303 \\
5304
5305 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
5306 == (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)lookup question by Type(%%) ==
5307
5308 ----
5309
5310 {{panel bgColor="#D3D3D3" width="100%"}}
5311 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/questions/lookup?Type=4
5312 {{/panel}}
5313
5314 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
5315
5316 ----
5317
5318 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
5319
5320 === (% style="color: rgb(33,33,33);" %)Query Params(%%) ===
5321
5322 ----
5323
5324 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Type  4(%%)
5325 \\
5326
5327 ==== Example ====
5328
5329 ----
5330
5331 (% style="color: rgb(107,107,107);" %)Request
5332
5333 {{code language="php" theme="RDark" title="Lookup question by Type Request" collapse="true"}}
5334 <?php
5335
5336 $curl = curl_init();
5337
5338 curl_setopt_array($curl, array(
5339 CURLOPT_URL => 'https://api.onecount.net/v2/questions/lookup?Type=4',
5340 CURLOPT_RETURNTRANSFER => true,
5341 CURLOPT_ENCODING => '',
5342 CURLOPT_MAXREDIRS => 10,
5343 CURLOPT_TIMEOUT => 0,
5344 CURLOPT_FOLLOWLOCATION => true,
5345 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
5346 CURLOPT_CUSTOMREQUEST => 'GET',
5347 CURLOPT_HTTPHEADER => array(
5348 'Appkey: {{ONECOUNT API KEY}}'
5349 ),
5350 ));
5351
5352 $response = curl_exec($curl);
5353
5354 curl_close($curl);
5355 echo $response;
5356 {{/code}}
5357
5358 \\
5359
5360 (% style="color: rgb(107,107,107);" %)Response  200 OK
5361
5362 {{code language="yml" theme="RDark" title="Lookup question by type Response" collapse="true"}}
5363 {
5364 "result": {
5365 "success": "1",
5366 "error": {
5367 "code": "",
5368 "message": ""
5369 }
5370 },
5371 "Questions": [
5372 {
5373 "Id": 11,
5374 "Text": "State/Province",
5375 "Type": "4",
5376 "Alias": "State/Province",
5377 "Choices": [
5378 {
5379 "Id": 1554,
5380 "QuestionId": 11,
5381 "Text": "Select One",
5382 "Value": "",
5383 "Order": 1
5384 },
5385 {
5386 "Id": 1562,
5387 "QuestionId": 11,
5388 "Text": "Alabama",
5389 "Value": "AL",
5390 "Order": 2
5391 },
5392 {
5393 "Id": 1570,
5394 "QuestionId": 11,
5395 "Text": "Alaska",
5396 "Value": "AK",
5397 "Order": 3
5398 },
5399 {
5400 "Id": 1578,
5401 "QuestionId": 11,
5402 "Text": "Arizona",
5403 "Value": "AZ",
5404 "Order": 4
5405 },
5406 {
5407 "Id": 1586,
5408 "QuestionId": 11,
5409 "Text": "Arkansas",
5410 "Value": "AR",
5411 "Order": 5
5412 },
5413 {
5414 "Id": 1594,
5415 "QuestionId": 11,
5416 "Text": "California",
5417 "Value": "CA",
5418 "Order": 6
5419 },
5420 {
5421 "Id": 1602,
5422 "QuestionId": 11,
5423 "Text": "Colorado",
5424 "Value": "CO",
5425 "Order": 7
5426 },
5427 {
5428 "Id": 1610,
5429 "QuestionId": 11,
5430 "Text": "Connecticut",
5431 "Value": "CT",
5432 "Order": 8
5433 },
5434 {
5435 "Id": 1618,
5436 "QuestionId": 11,
5437 "Text": "Delaware",
5438 "Value": "DE",
5439 "Order": 9
5440 },
5441 {
5442 "Id": 1626,
5443 "QuestionId": 11,
5444 "Text": "District of Columbia",
5445 "Value": "DC",
5446 "Order": 10
5447 },
5448 {
5449 "Id": 1634,
5450 "QuestionId": 11,
5451 "Text": "Florida",
5452 "Value": "FL",
5453 "Order": 11
5454 },
5455 {
5456 "Id": 1642,
5457 "QuestionId": 11,
5458 "Text": "Georgia",
5459 "Value": "GA",
5460 "Order": 12
5461 },
5462 {
5463 "Id": 1650,
5464 "QuestionId": 11,
5465 "Text": "Hawaii",
5466 "Value": "HI",
5467 "Order": 13
5468 },
5469 {
5470 "Id": 1658,
5471 "QuestionId": 11,
5472 "Text": "Idaho",
5473 "Value": "ID",
5474 "Order": 14
5475 },
5476 {
5477 "Id": 1666,
5478 "QuestionId": 11,
5479 "Text": "Illinois",
5480 "Value": "IL",
5481 "Order": 15
5482 },
5483 {
5484 "Id": 1674,
5485 "QuestionId": 11,
5486 "Text": "Indiana",
5487 "Value": "IN",
5488 "Order": 16
5489 },
5490 {
5491 "Id": 1682,
5492 "QuestionId": 11,
5493 "Text": "Iowa",
5494 "Value": "IA",
5495 "Order": 17
5496 },
5497 {
5498 "Id": 1690,
5499 "QuestionId": 11,
5500 "Text": "Kansas",
5501 "Value": "KS",
5502 "Order": 18
5503 },
5504 {
5505 "Id": 1698,
5506 "QuestionId": 11,
5507 "Text": "Kentucky",
5508 "Value": "KY",
5509 "Order": 19
5510 },
5511 {
5512 "Id": 1706,
5513 "QuestionId": 11,
5514 "Text": "Louisiana",
5515 "Value": "LA",
5516 "Order": 20
5517 },
5518 {
5519 "Id": 1714,
5520 "QuestionId": 11,
5521 "Text": "Maine",
5522 "Value": "ME",
5523 "Order": 21
5524 },
5525 {
5526 "Id": 1722,
5527 "QuestionId": 11,
5528 "Text": "Maryland",
5529 "Value": "MD",
5530 "Order": 22
5531 },
5532 {
5533 "Id": 1730,
5534 "QuestionId": 11,
5535 "Text": "Massachusetts",
5536 "Value": "MA",
5537 "Order": 23
5538 },
5539 {
5540 "Id": 1738,
5541 "QuestionId": 11,
5542 "Text": "Michigan",
5543 "Value": "MI",
5544 "Order": 24
5545 },
5546 {
5547 "Id": 1746,
5548 "QuestionId": 11,
5549 "Text": "Minnesota",
5550 "Value": "MN",
5551 "Order": 25
5552 },
5553 {
5554 "Id": 1754,
5555 "QuestionId": 11,
5556 "Text": "Mississippi",
5557 "Value": "MS",
5558 "Order": 26
5559 },
5560 {
5561 "Id": 1762,
5562 "QuestionId": 11,
5563 "Text": "Missouri",
5564 "Value": "MO",
5565 "Order": 27
5566 },
5567 {
5568 "Id": 1770,
5569 "QuestionId": 11,
5570 "Text": "Montana",
5571 "Value": "MT",
5572 "Order": 28
5573 },
5574 {
5575 "Id": 1778,
5576 "QuestionId": 11,
5577 "Text": "Nebraska",
5578 "Value": "NE",
5579 "Order": 29
5580 },
5581 {
5582 "Id": 1786,
5583 "QuestionId": 11,
5584 "Text": "Nevada",
5585 "Value": "NV",
5586 "Order": 30
5587 },
5588 {
5589 "Id": 1794,
5590 "QuestionId": 11,
5591 "Text": "New Hampshire",
5592 "Value": "NH",
5593 "Order": 31
5594 },
5595 {
5596 "Id": 1802,
5597 "QuestionId": 11,
5598 "Text": "New Jersey",
5599 "Value": "NJ",
5600 "Order": 32
5601 },
5602 {
5603 "Id": 1810,
5604 "QuestionId": 11,
5605 "Text": "New Mexico",
5606 "Value": "NM",
5607 "Order": 33
5608 },
5609 {
5610 "Id": 1818,
5611 "QuestionId": 11,
5612 "Text": "New York",
5613 "Value": "NY",
5614 "Order": 34
5615 },
5616 {
5617 "Id": 1826,
5618 "QuestionId": 11,
5619 "Text": "North Carolina",
5620 "Value": "NC",
5621 "Order": 35
5622 },
5623 {
5624 "Id": 1834,
5625 "QuestionId": 11,
5626 "Text": "Ohio",
5627 "Value": "OH",
5628 "Order": 37
5629 },
5630 {
5631 "Id": 1842,
5632 "QuestionId": 11,
5633 "Text": "Oklahoma",
5634 "Value": "OK",
5635 "Order": 38
5636 },
5637 {
5638 "Id": 1850,
5639 "QuestionId": 11,
5640 "Text": "Oregon",
5641 "Value": "OR",
5642 "Order": 39
5643 },
5644 {
5645 "Id": 1858,
5646 "QuestionId": 11,
5647 "Text": "Pennsylvania",
5648 "Value": "PA",
5649 "Order": 40
5650 },
5651 {
5652 "Id": 1866,
5653 "QuestionId": 11,
5654 "Text": "Rhode Island",
5655 "Value": "RI",
5656 "Order": 41
5657 },
5658 {
5659 "Id": 1874,
5660 "QuestionId": 11,
5661 "Text": "South Carolina",
5662 "Value": "SC",
5663 "Order": 42
5664 },
5665 {
5666 "Id": 1882,
5667 "QuestionId": 11,
5668 "Text": "South Dakota",
5669 "Value": "SD",
5670 "Order": 43
5671 },
5672 {
5673 "Id": 1890,
5674 "QuestionId": 11,
5675 "Text": "Tennessee",
5676 "Value": "TN",
5677 "Order": 44
5678 },
5679 {
5680 "Id": 1898,
5681 "QuestionId": 11,
5682 "Text": "Texas",
5683 "Value": "TX",
5684 "Order": 45
5685 },
5686 {
5687 "Id": 1906,
5688 "QuestionId": 11,
5689 "Text": "Utah",
5690 "Value": "UT",
5691 "Order": 46
5692 },
5693 {
5694 "Id": 1914,
5695 "QuestionId": 11,
5696 "Text": "Vermont",
5697 "Value": "VT",
5698 "Order": 47
5699 },
5700 {
5701 "Id": 1922,
5702 "QuestionId": 11,
5703 "Text": "Virginia",
5704 "Value": "VA",
5705 "Order": 48
5706 },
5707 {
5708 "Id": 1930,
5709 "QuestionId": 11,
5710 "Text": "Washington",
5711 "Value": "WA",
5712 "Order": 49
5713 },
5714 {
5715 "Id": 1938,
5716 "QuestionId": 11,
5717 "Text": "West Virginia",
5718 "Value": "WV",
5719 "Order": 50
5720 },
5721 {
5722 "Id": 1946,
5723 "QuestionId": 11,
5724 "Text": "Wisconsin",
5725 "Value": "WI",
5726 "Order": 51
5727 },
5728 {
5729 "Id": 1954,
5730 "QuestionId": 11,
5731 "Text": "Wyoming",
5732 "Value": "WY",
5733 "Order": 52
5734 },
5735 {
5736 "Id": 1962,
5737 "QuestionId": 11,
5738 "Text": "American Samoa",
5739 "Value": "AS",
5740 "Order": 53
5741 },
5742 {
5743 "Id": 1970,
5744 "QuestionId": 11,
5745 "Text": "North Dakota",
5746 "Value": "ND",
5747 "Order": 36
5748 },
5749 {
5750 "Id": 1978,
5751 "QuestionId": 11,
5752 "Text": "Federated States of Micronesia",
5753 "Value": "FM",
5754 "Order": 54
5755 },
5756 {
5757 "Id": 1986,
5758 "QuestionId": 11,
5759 "Text": "Guam",
5760 "Value": "GU",
5761 "Order": 55
5762 },
5763 {
5764 "Id": 1994,
5765 "QuestionId": 11,
5766 "Text": "Marshall Islands",
5767 "Value": "MH",
5768 "Order": 56
5769 },
5770 {
5771 "Id": 2002,
5772 "QuestionId": 11,
5773 "Text": "Northern Mariana Islands",
5774 "Value": "MP",
5775 "Order": 57
5776 },
5777 {
5778 "Id": 2010,
5779 "QuestionId": 11,
5780 "Text": "Palau",
5781 "Value": "PW",
5782 "Order": 58
5783 },
5784 {
5785 "Id": 2018,
5786 "QuestionId": 11,
5787 "Text": "Puerto Rico",
5788 "Value": "PR",
5789 "Order": 59
5790 },
5791 {
5792 "Id": 2026,
5793 "QuestionId": 11,
5794 "Text": "U.S. Virgin Islands",
5795 "Value": "VI",
5796 "Order": 60
5797 },
5798 {
5799 "Id": 2034,
5800 "QuestionId": 11,
5801 "Text": "Armed Forces Africa",
5802 "Value": "AE",
5803 "Order": 61
5804 },
5805 {
5806 "Id": 2042,
5807 "QuestionId": 11,
5808 "Text": "Armed Forces Americas (except Canada)",
5809 "Value": "AA",
5810 "Order": 62
5811 },
5812 {
5813 "Id": 2050,
5814 "QuestionId": 11,
5815 "Text": "Armed Forces Canada",
5816 "Value": "AE",
5817 "Order": 63
5818 },
5819 {
5820 "Id": 2058,
5821 "QuestionId": 11,
5822 "Text": "Armed Forces Europe",
5823 "Value": "AE",
5824 "Order": 64
5825 },
5826 {
5827 "Id": 2066,
5828 "QuestionId": 11,
5829 "Text": "Armed Forces Middle East",
5830 "Value": "AE",
5831 "Order": 65
5832 },
5833 {
5834 "Id": 2074,
5835 "QuestionId": 11,
5836 "Text": "Armed Forces Pacific",
5837 "Value": "AP",
5838 "Order": 66
5839 },
5840 {
5841 "Id": 2082,
5842 "QuestionId": 11,
5843 "Text": "Non-US/Not Applicable",
5844 "Value": "Non-US/Not Applicable",
5845 "Order": 67
5846 },
5847 {
5848 "Id": 2090,
5849 "QuestionId": 11,
5850 "Text": "Ontario",
5851 "Value": "Ontario",
5852 "Order": 68
5853 },
5854 {
5855 "Id": 2098,
5856 "QuestionId": 11,
5857 "Text": "Quebec",
5858 "Value": "Quebec",
5859 "Order": 69
5860 },
5861 {
5862 "Id": 2106,
5863 "QuestionId": 11,
5864 "Text": "Nova Scotia",
5865 "Value": "Nova Scotia",
5866 "Order": 70
5867 },
5868 {
5869 "Id": 2114,
5870 "QuestionId": 11,
5871 "Text": "New Brunswick",
5872 "Value": "New Brunswick",
5873 "Order": 71
5874 },
5875 {
5876 "Id": 2122,
5877 "QuestionId": 11,
5878 "Text": "Manitoba",
5879 "Value": "Manitoba",
5880 "Order": 72
5881 },
5882 {
5883 "Id": 2130,
5884 "QuestionId": 11,
5885 "Text": "Brittish Columbia",
5886 "Value": "Brittish Columbia",
5887 "Order": 73
5888 },
5889 {
5890 "Id": 2138,
5891 "QuestionId": 11,
5892 "Text": "Prince Edward Island",
5893 "Value": "Prince Edward Island",
5894 "Order": 74
5895 },
5896 {
5897 "Id": 2146,
5898 "QuestionId": 11,
5899 "Text": "Saskatchewan",
5900 "Value": "Saskatchewan",
5901 "Order": 75
5902 },
5903 {
5904 "Id": 2154,
5905 "QuestionId": 11,
5906 "Text": "Alberta",
5907 "Value": "Alberta",
5908 "Order": 76
5909 },
5910 {
5911 "Id": 2162,
5912 "QuestionId": 11,
5913 "Text": "Newfoundland and Labrador",
5914 "Value": "Newfoundland and Labrador",
5915 "Order": 77
5916 },
5917 {
5918 "Id": 2170,
5919 "QuestionId": 11,
5920 "Text": "British Columbia",
5921 "Value": "British Columbia",
5922 "Order": 78
5923 },
5924 {
5925 "Id": 2178,
5926 "QuestionId": 11,
5927 "Text": "Ontario",
5928 "Value": "ON",
5929 "Order": 79
5930 }
5931 ]
5932 },
5933 {
5934 "Id": 13,
5935 "Text": "Country",
5936 "Type": "4",
5937 "Alias": "Country",
5938 "Choices": [
5939 {
5940 "Id": 2,
5941 "QuestionId": 13,
5942 "Text": "Select One",
5943 "Value": "",
5944 "Order": 1
5945 },
5946 {
5947 "Id": 10,
5948 "QuestionId": 13,
5949 "Text": "Afghanistan",
5950 "Value": "Afghanistan",
5951 "Order": 3
5952 },
5953 {
5954 "Id": 18,
5955 "QuestionId": 13,
5956 "Text": "Albania",
5957 "Value": "Albania",
5958 "Order": 4
5959 },
5960 {
5961 "Id": 26,
5962 "QuestionId": 13,
5963 "Text": "Algeria",
5964 "Value": "Algeria",
5965 "Order": 5
5966 },
5967 {
5968 "Id": 34,
5969 "QuestionId": 13,
5970 "Text": "Andorra",
5971 "Value": "Andorra",
5972 "Order": 6
5973 },
5974 {
5975 "Id": 42,
5976 "QuestionId": 13,
5977 "Text": "Angola",
5978 "Value": "Angola",
5979 "Order": 7
5980 },
5981 {
5982 "Id": 50,
5983 "QuestionId": 13,
5984 "Text": "Antigua and Barbuda",
5985 "Value": "Antigua and Barbuda",
5986 "Order": 8
5987 },
5988 {
5989 "Id": 58,
5990 "QuestionId": 13,
5991 "Text": "Argentina",
5992 "Value": "Argentina",
5993 "Order": 9
5994 },
5995 {
5996 "Id": 66,
5997 "QuestionId": 13,
5998 "Text": "Armenia",
5999 "Value": "Armenia",
6000 "Order": 10
6001 },
6002 {
6003 "Id": 74,
6004 "QuestionId": 13,
6005 "Text": "Australia",
6006 "Value": "Australia",
6007 "Order": 11
6008 },
6009 {
6010 "Id": 82,
6011 "QuestionId": 13,
6012 "Text": "Austria",
6013 "Value": "Austria",
6014 "Order": 12
6015 },
6016 {
6017 "Id": 90,
6018 "QuestionId": 13,
6019 "Text": "Azerbaijan",
6020 "Value": "Azerbaijan",
6021 "Order": 13
6022 },
6023 {
6024 "Id": 98,
6025 "QuestionId": 13,
6026 "Text": "Bahamas",
6027 "Value": "Bahamas",
6028 "Order": 14
6029 },
6030 {
6031 "Id": 106,
6032 "QuestionId": 13,
6033 "Text": "Bahrain",
6034 "Value": "Bahrain",
6035 "Order": 15
6036 },
6037 {
6038 "Id": 114,
6039 "QuestionId": 13,
6040 "Text": "Bangladesh",
6041 "Value": "Bangladesh",
6042 "Order": 16
6043 },
6044 {
6045 "Id": 122,
6046 "QuestionId": 13,
6047 "Text": "Barbados",
6048 "Value": "Barbados",
6049 "Order": 17
6050 },
6051 {
6052 "Id": 130,
6053 "QuestionId": 13,
6054 "Text": "Belarus",
6055 "Value": "Belarus",
6056 "Order": 18
6057 },
6058 {
6059 "Id": 138,
6060 "QuestionId": 13,
6061 "Text": "Belgium",
6062 "Value": "Belgium",
6063 "Order": 19
6064 },
6065 {
6066 "Id": 146,
6067 "QuestionId": 13,
6068 "Text": "Belize",
6069 "Value": "Belize",
6070 "Order": 20
6071 },
6072 {
6073 "Id": 154,
6074 "QuestionId": 13,
6075 "Text": "Benin",
6076 "Value": "Benin",
6077 "Order": 21
6078 },
6079 {
6080 "Id": 162,
6081 "QuestionId": 13,
6082 "Text": "Bhutan",
6083 "Value": "Bhutan",
6084 "Order": 22
6085 },
6086 {
6087 "Id": 170,
6088 "QuestionId": 13,
6089 "Text": "Bolivia",
6090 "Value": "Bolivia",
6091 "Order": 23
6092 },
6093 {
6094 "Id": 178,
6095 "QuestionId": 13,
6096 "Text": "Bosnia and Herzegovina",
6097 "Value": "Bosnia and Herzegovina",
6098 "Order": 24
6099 },
6100 {
6101 "Id": 186,
6102 "QuestionId": 13,
6103 "Text": "Botswana",
6104 "Value": "Botswana",
6105 "Order": 25
6106 },
6107 {
6108 "Id": 194,
6109 "QuestionId": 13,
6110 "Text": "Brazil",
6111 "Value": "Brazil",
6112 "Order": 26
6113 },
6114 {
6115 "Id": 202,
6116 "QuestionId": 13,
6117 "Text": "Brunei",
6118 "Value": "Brunei",
6119 "Order": 27
6120 },
6121 {
6122 "Id": 210,
6123 "QuestionId": 13,
6124 "Text": "Bulgaria",
6125 "Value": "Bulgaria",
6126 "Order": 28
6127 },
6128 {
6129 "Id": 218,
6130 "QuestionId": 13,
6131 "Text": "Burkina Faso",
6132 "Value": "Burkina Faso",
6133 "Order": 29
6134 },
6135 {
6136 "Id": 226,
6137 "QuestionId": 13,
6138 "Text": "Burundi",
6139 "Value": "Burundi",
6140 "Order": 30
6141 },
6142 {
6143 "Id": 234,
6144 "QuestionId": 13,
6145 "Text": "Cambodia",
6146 "Value": "Cambodia",
6147 "Order": 31
6148 },
6149 {
6150 "Id": 242,
6151 "QuestionId": 13,
6152 "Text": "Cameroon",
6153 "Value": "Cameroon",
6154 "Order": 32
6155 },
6156 {
6157 "Id": 250,
6158 "QuestionId": 13,
6159 "Text": "Canada",
6160 "Value": "Canada",
6161 "Order": 33
6162 },
6163 {
6164 "Id": 258,
6165 "QuestionId": 13,
6166 "Text": "Cape Verde",
6167 "Value": "Cape Verde",
6168 "Order": 34
6169 },
6170 {
6171 "Id": 266,
6172 "QuestionId": 13,
6173 "Text": "Central African Republic",
6174 "Value": "Central African Republic",
6175 "Order": 35
6176 },
6177 {
6178 "Id": 274,
6179 "QuestionId": 13,
6180 "Text": "Chad",
6181 "Value": "Chad",
6182 "Order": 36
6183 },
6184 {
6185 "Id": 282,
6186 "QuestionId": 13,
6187 "Text": "Chile",
6188 "Value": "Chile",
6189 "Order": 37
6190 },
6191 {
6192 "Id": 290,
6193 "QuestionId": 13,
6194 "Text": "China",
6195 "Value": "China",
6196 "Order": 38
6197 },
6198 {
6199 "Id": 298,
6200 "QuestionId": 13,
6201 "Text": "Colombia",
6202 "Value": "Colombia",
6203 "Order": 39
6204 },
6205 {
6206 "Id": 306,
6207 "QuestionId": 13,
6208 "Text": "Comoros",
6209 "Value": "Comoros",
6210 "Order": 40
6211 },
6212 {
6213 "Id": 314,
6214 "QuestionId": 13,
6215 "Text": "Congo (Brazzaville)",
6216 "Value": "Congo (Brazzaville)",
6217 "Order": 41
6218 },
6219 {
6220 "Id": 322,
6221 "QuestionId": 13,
6222 "Text": "Congo",
6223 "Value": "Congo",
6224 "Order": 42
6225 },
6226 {
6227 "Id": 330,
6228 "QuestionId": 13,
6229 "Text": "Costa Rica",
6230 "Value": "Costa Rica",
6231 "Order": 43
6232 },
6233 {
6234 "Id": 338,
6235 "QuestionId": 13,
6236 "Text": "Cote d'Ivoire",
6237 "Value": "Cote d'Ivoire",
6238 "Order": 44
6239 },
6240 {
6241 "Id": 346,
6242 "QuestionId": 13,
6243 "Text": "Croatia",
6244 "Value": "Croatia",
6245 "Order": 45
6246 },
6247 {
6248 "Id": 354,
6249 "QuestionId": 13,
6250 "Text": "Cuba",
6251 "Value": "Cuba",
6252 "Order": 46
6253 },
6254 {
6255 "Id": 362,
6256 "QuestionId": 13,
6257 "Text": "Cyprus",
6258 "Value": "Cyprus",
6259 "Order": 47
6260 },
6261 {
6262 "Id": 370,
6263 "QuestionId": 13,
6264 "Text": "Czech Republic",
6265 "Value": "Czech Republic",
6266 "Order": 48
6267 },
6268 {
6269 "Id": 378,
6270 "QuestionId": 13,
6271 "Text": "Denmark",
6272 "Value": "Denmark",
6273 "Order": 49
6274 },
6275 {
6276 "Id": 386,
6277 "QuestionId": 13,
6278 "Text": "Djibouti",
6279 "Value": "Djibouti",
6280 "Order": 50
6281 },
6282 {
6283 "Id": 394,
6284 "QuestionId": 13,
6285 "Text": "Dominica",
6286 "Value": "Dominica",
6287 "Order": 51
6288 },
6289 {
6290 "Id": 402,
6291 "QuestionId": 13,
6292 "Text": "Dominican Republic",
6293 "Value": "Dominican Republic",
6294 "Order": 52
6295 },
6296 {
6297 "Id": 410,
6298 "QuestionId": 13,
6299 "Text": "East Timor",
6300 "Value": "East Timor",
6301 "Order": 53
6302 },
6303 {
6304 "Id": 418,
6305 "QuestionId": 13,
6306 "Text": "Ecuador",
6307 "Value": "Ecuador",
6308 "Order": 54
6309 },
6310 {
6311 "Id": 426,
6312 "QuestionId": 13,
6313 "Text": "Egypt",
6314 "Value": "Egypt",
6315 "Order": 55
6316 },
6317 {
6318 "Id": 434,
6319 "QuestionId": 13,
6320 "Text": "El Salvador",
6321 "Value": "El Salvador",
6322 "Order": 56
6323 },
6324 {
6325 "Id": 442,
6326 "QuestionId": 13,
6327 "Text": "Equatorial Guinea",
6328 "Value": "Equatorial Guinea",
6329 "Order": 57
6330 },
6331 {
6332 "Id": 450,
6333 "QuestionId": 13,
6334 "Text": "Eritrea",
6335 "Value": "Eritrea",
6336 "Order": 58
6337 },
6338 {
6339 "Id": 458,
6340 "QuestionId": 13,
6341 "Text": "Estonia",
6342 "Value": "Estonia",
6343 "Order": 59
6344 },
6345 {
6346 "Id": 466,
6347 "QuestionId": 13,
6348 "Text": "Ethiopia",
6349 "Value": "Ethiopia",
6350 "Order": 60
6351 },
6352 {
6353 "Id": 474,
6354 "QuestionId": 13,
6355 "Text": "Fiji",
6356 "Value": "Fiji",
6357 "Order": 61
6358 },
6359 {
6360 "Id": 482,
6361 "QuestionId": 13,
6362 "Text": "Finland",
6363 "Value": "Finland",
6364 "Order": 62
6365 },
6366 {
6367 "Id": 490,
6368 "QuestionId": 13,
6369 "Text": "France",
6370 "Value": "France",
6371 "Order": 63
6372 },
6373 {
6374 "Id": 498,
6375 "QuestionId": 13,
6376 "Text": "Gabon",
6377 "Value": "Gabon",
6378 "Order": 64
6379 },
6380 {
6381 "Id": 506,
6382 "QuestionId": 13,
6383 "Text": "Gambia, The",
6384 "Value": "Gambia, The",
6385 "Order": 65
6386 },
6387 {
6388 "Id": 514,
6389 "QuestionId": 13,
6390 "Text": "Georgia",
6391 "Value": "Georgia",
6392 "Order": 66
6393 },
6394 {
6395 "Id": 522,
6396 "QuestionId": 13,
6397 "Text": "Germany",
6398 "Value": "Germany",
6399 "Order": 67
6400 },
6401 {
6402 "Id": 530,
6403 "QuestionId": 13,
6404 "Text": "Ghana",
6405 "Value": "Ghana",
6406 "Order": 68
6407 },
6408 {
6409 "Id": 538,
6410 "QuestionId": 13,
6411 "Text": "Greece",
6412 "Value": "Greece",
6413 "Order": 69
6414 },
6415 {
6416 "Id": 546,
6417 "QuestionId": 13,
6418 "Text": "Grenada",
6419 "Value": "Grenada",
6420 "Order": 70
6421 },
6422 {
6423 "Id": 554,
6424 "QuestionId": 13,
6425 "Text": "Guatemala",
6426 "Value": "Guatemala",
6427 "Order": 71
6428 },
6429 {
6430 "Id": 562,
6431 "QuestionId": 13,
6432 "Text": "Guinea",
6433 "Value": "Guinea",
6434 "Order": 72
6435 },
6436 {
6437 "Id": 570,
6438 "QuestionId": 13,
6439 "Text": "Guinea-Bissau",
6440 "Value": "Guinea-Bissau",
6441 "Order": 73
6442 },
6443 {
6444 "Id": 578,
6445 "QuestionId": 13,
6446 "Text": "Guyana",
6447 "Value": "Guyana",
6448 "Order": 74
6449 },
6450 {
6451 "Id": 586,
6452 "QuestionId": 13,
6453 "Text": "Haiti",
6454 "Value": "Haiti",
6455 "Order": 75
6456 },
6457 {
6458 "Id": 594,
6459 "QuestionId": 13,
6460 "Text": "Honduras",
6461 "Value": "Honduras",
6462 "Order": 76
6463 },
6464 {
6465 "Id": 602,
6466 "QuestionId": 13,
6467 "Text": "Hungary",
6468 "Value": "Hungary",
6469 "Order": 77
6470 },
6471 {
6472 "Id": 610,
6473 "QuestionId": 13,
6474 "Text": "Iceland",
6475 "Value": "Iceland",
6476 "Order": 78
6477 },
6478 {
6479 "Id": 618,
6480 "QuestionId": 13,
6481 "Text": "India",
6482 "Value": "India",
6483 "Order": 79
6484 },
6485 {
6486 "Id": 626,
6487 "QuestionId": 13,
6488 "Text": "Indonesia",
6489 "Value": "Indonesia",
6490 "Order": 80
6491 },
6492 {
6493 "Id": 634,
6494 "QuestionId": 13,
6495 "Text": "Iran",
6496 "Value": "Iran",
6497 "Order": 81
6498 },
6499 {
6500 "Id": 642,
6501 "QuestionId": 13,
6502 "Text": "Iraq",
6503 "Value": "Iraq",
6504 "Order": 82
6505 },
6506 {
6507 "Id": 650,
6508 "QuestionId": 13,
6509 "Text": "Ireland",
6510 "Value": "Ireland",
6511 "Order": 83
6512 },
6513 {
6514 "Id": 658,
6515 "QuestionId": 13,
6516 "Text": "Israel",
6517 "Value": "Israel",
6518 "Order": 84
6519 },
6520 {
6521 "Id": 666,
6522 "QuestionId": 13,
6523 "Text": "Italy",
6524 "Value": "Italy",
6525 "Order": 85
6526 },
6527 {
6528 "Id": 674,
6529 "QuestionId": 13,
6530 "Text": "Jamaica",
6531 "Value": "Jamaica",
6532 "Order": 86
6533 },
6534 {
6535 "Id": 682,
6536 "QuestionId": 13,
6537 "Text": "Japan",
6538 "Value": "Japan",
6539 "Order": 87
6540 },
6541 {
6542 "Id": 690,
6543 "QuestionId": 13,
6544 "Text": "Jordan",
6545 "Value": "Jordan",
6546 "Order": 88
6547 },
6548 {
6549 "Id": 698,
6550 "QuestionId": 13,
6551 "Text": "Kazakhstan",
6552 "Value": "Kazakhstan",
6553 "Order": 89
6554 },
6555 {
6556 "Id": 706,
6557 "QuestionId": 13,
6558 "Text": "Kenya",
6559 "Value": "Kenya",
6560 "Order": 90
6561 },
6562 {
6563 "Id": 714,
6564 "QuestionId": 13,
6565 "Text": "Kiribati",
6566 "Value": "Kiribati",
6567 "Order": 91
6568 },
6569 {
6570 "Id": 722,
6571 "QuestionId": 13,
6572 "Text": "Korea, North",
6573 "Value": "Korea, North",
6574 "Order": 92
6575 },
6576 {
6577 "Id": 730,
6578 "QuestionId": 13,
6579 "Text": "Korea, South",
6580 "Value": "Korea, South",
6581 "Order": 93
6582 },
6583 {
6584 "Id": 738,
6585 "QuestionId": 13,
6586 "Text": "Kuwait",
6587 "Value": "Kuwait",
6588 "Order": 94
6589 },
6590 {
6591 "Id": 746,
6592 "QuestionId": 13,
6593 "Text": "Kyrgyzstan",
6594 "Value": "Kyrgyzstan",
6595 "Order": 95
6596 },
6597 {
6598 "Id": 754,
6599 "QuestionId": 13,
6600 "Text": "Laos",
6601 "Value": "Laos",
6602 "Order": 96
6603 },
6604 {
6605 "Id": 762,
6606 "QuestionId": 13,
6607 "Text": "Latvia",
6608 "Value": "Latvia",
6609 "Order": 97
6610 },
6611 {
6612 "Id": 770,
6613 "QuestionId": 13,
6614 "Text": "Lebanon",
6615 "Value": "Lebanon",
6616 "Order": 98
6617 },
6618 {
6619 "Id": 778,
6620 "QuestionId": 13,
6621 "Text": "Lesotho",
6622 "Value": "Lesotho",
6623 "Order": 99
6624 },
6625 {
6626 "Id": 786,
6627 "QuestionId": 13,
6628 "Text": "Liberia",
6629 "Value": "Liberia",
6630 "Order": 100
6631 },
6632 {
6633 "Id": 794,
6634 "QuestionId": 13,
6635 "Text": "Libya",
6636 "Value": "Libya",
6637 "Order": 101
6638 },
6639 {
6640 "Id": 802,
6641 "QuestionId": 13,
6642 "Text": "Liechtenstein",
6643 "Value": "Liechtenstein",
6644 "Order": 102
6645 },
6646 {
6647 "Id": 810,
6648 "QuestionId": 13,
6649 "Text": "Lithuania",
6650 "Value": "Lithuania",
6651 "Order": 103
6652 },
6653 {
6654 "Id": 818,
6655 "QuestionId": 13,
6656 "Text": "Luxembourg",
6657 "Value": "Luxembourg",
6658 "Order": 104
6659 },
6660 {
6661 "Id": 826,
6662 "QuestionId": 13,
6663 "Text": "Macedonia",
6664 "Value": "Macedonia",
6665 "Order": 105
6666 },
6667 {
6668 "Id": 834,
6669 "QuestionId": 13,
6670 "Text": "Madagascar",
6671 "Value": "Madagascar",
6672 "Order": 106
6673 },
6674 {
6675 "Id": 842,
6676 "QuestionId": 13,
6677 "Text": "Malawi",
6678 "Value": "Malawi",
6679 "Order": 107
6680 },
6681 {
6682 "Id": 850,
6683 "QuestionId": 13,
6684 "Text": "Malaysia",
6685 "Value": "Malaysia",
6686 "Order": 108
6687 },
6688 {
6689 "Id": 858,
6690 "QuestionId": 13,
6691 "Text": "Maldives",
6692 "Value": "Maldives",
6693 "Order": 109
6694 },
6695 {
6696 "Id": 866,
6697 "QuestionId": 13,
6698 "Text": "Mali",
6699 "Value": "Mali",
6700 "Order": 110
6701 },
6702 {
6703 "Id": 874,
6704 "QuestionId": 13,
6705 "Text": "Malta",
6706 "Value": "Malta",
6707 "Order": 111
6708 },
6709 {
6710 "Id": 882,
6711 "QuestionId": 13,
6712 "Text": "Marshall Islands",
6713 "Value": "Marshall Islands",
6714 "Order": 112
6715 },
6716 {
6717 "Id": 890,
6718 "QuestionId": 13,
6719 "Text": "Mauritania",
6720 "Value": "Mauritania",
6721 "Order": 113
6722 },
6723 {
6724 "Id": 898,
6725 "QuestionId": 13,
6726 "Text": "Mauritius",
6727 "Value": "Mauritius",
6728 "Order": 114
6729 },
6730 {
6731 "Id": 906,
6732 "QuestionId": 13,
6733 "Text": "Mexico",
6734 "Value": "Mexico",
6735 "Order": 115
6736 },
6737 {
6738 "Id": 914,
6739 "QuestionId": 13,
6740 "Text": "Micronesia",
6741 "Value": "Micronesia",
6742 "Order": 116
6743 },
6744 {
6745 "Id": 922,
6746 "QuestionId": 13,
6747 "Text": "Moldova",
6748 "Value": "Moldova",
6749 "Order": 117
6750 },
6751 {
6752 "Id": 930,
6753 "QuestionId": 13,
6754 "Text": "Monaco",
6755 "Value": "Monaco",
6756 "Order": 118
6757 },
6758 {
6759 "Id": 938,
6760 "QuestionId": 13,
6761 "Text": "Mongolia",
6762 "Value": "Mongolia",
6763 "Order": 119
6764 },
6765 {
6766 "Id": 946,
6767 "QuestionId": 13,
6768 "Text": "Morocco",
6769 "Value": "Morocco",
6770 "Order": 120
6771 },
6772 {
6773 "Id": 954,
6774 "QuestionId": 13,
6775 "Text": "Mozambique",
6776 "Value": "Mozambique",
6777 "Order": 121
6778 },
6779 {
6780 "Id": 962,
6781 "QuestionId": 13,
6782 "Text": "Myanmar",
6783 "Value": "Myanmar",
6784 "Order": 122
6785 },
6786 {
6787 "Id": 970,
6788 "QuestionId": 13,
6789 "Text": "Namibia",
6790 "Value": "Namibia",
6791 "Order": 123
6792 },
6793 {
6794 "Id": 978,
6795 "QuestionId": 13,
6796 "Text": "Nauru",
6797 "Value": "Nauru",
6798 "Order": 124
6799 },
6800 {
6801 "Id": 986,
6802 "QuestionId": 13,
6803 "Text": "Nepa",
6804 "Value": "Nepa",
6805 "Order": 125
6806 },
6807 {
6808 "Id": 994,
6809 "QuestionId": 13,
6810 "Text": "Netherlands",
6811 "Value": "Netherlands",
6812 "Order": 126
6813 },
6814 {
6815 "Id": 1002,
6816 "QuestionId": 13,
6817 "Text": "New Zealand",
6818 "Value": "New Zealand",
6819 "Order": 127
6820 },
6821 {
6822 "Id": 1010,
6823 "QuestionId": 13,
6824 "Text": "Nicaragua",
6825 "Value": "Nicaragua",
6826 "Order": 128
6827 },
6828 {
6829 "Id": 1018,
6830 "QuestionId": 13,
6831 "Text": "Niger",
6832 "Value": "Niger",
6833 "Order": 129
6834 },
6835 {
6836 "Id": 1026,
6837 "QuestionId": 13,
6838 "Text": "Nigeria",
6839 "Value": "Nigeria",
6840 "Order": 130
6841 },
6842 {
6843 "Id": 1034,
6844 "QuestionId": 13,
6845 "Text": "Norway",
6846 "Value": "Norway",
6847 "Order": 131
6848 },
6849 {
6850 "Id": 1042,
6851 "QuestionId": 13,
6852 "Text": "Oman",
6853 "Value": "Oman",
6854 "Order": 132
6855 },
6856 {
6857 "Id": 1050,
6858 "QuestionId": 13,
6859 "Text": "Pakistan",
6860 "Value": "Pakistan",
6861 "Order": 133
6862 },
6863 {
6864 "Id": 1058,
6865 "QuestionId": 13,
6866 "Text": "Palau",
6867 "Value": "Palau",
6868 "Order": 134
6869 },
6870 {
6871 "Id": 1066,
6872 "QuestionId": 13,
6873 "Text": "Panama",
6874 "Value": "Panama",
6875 "Order": 135
6876 },
6877 {
6878 "Id": 1074,
6879 "QuestionId": 13,
6880 "Text": "Papua New Guinea",
6881 "Value": "Papua New Guinea",
6882 "Order": 136
6883 },
6884 {
6885 "Id": 1082,
6886 "QuestionId": 13,
6887 "Text": "Paraguay",
6888 "Value": "Paraguay",
6889 "Order": 137
6890 },
6891 {
6892 "Id": 1090,
6893 "QuestionId": 13,
6894 "Text": "Peru",
6895 "Value": "Peru",
6896 "Order": 138
6897 },
6898 {
6899 "Id": 1098,
6900 "QuestionId": 13,
6901 "Text": "Philippines",
6902 "Value": "Philippines",
6903 "Order": 139
6904 },
6905 {
6906 "Id": 1106,
6907 "QuestionId": 13,
6908 "Text": "Poland",
6909 "Value": "Poland",
6910 "Order": 140
6911 },
6912 {
6913 "Id": 1114,
6914 "QuestionId": 13,
6915 "Text": "Portugal",
6916 "Value": "Portugal",
6917 "Order": 141
6918 },
6919 {
6920 "Id": 1122,
6921 "QuestionId": 13,
6922 "Text": "Qatar",
6923 "Value": "Qatar",
6924 "Order": 142
6925 },
6926 {
6927 "Id": 1130,
6928 "QuestionId": 13,
6929 "Text": "Romania",
6930 "Value": "Romania",
6931 "Order": 143
6932 },
6933 {
6934 "Id": 1138,
6935 "QuestionId": 13,
6936 "Text": "Russia",
6937 "Value": "Russia",
6938 "Order": 144
6939 },
6940 {
6941 "Id": 1146,
6942 "QuestionId": 13,
6943 "Text": "Rwanda",
6944 "Value": "Rwanda",
6945 "Order": 145
6946 },
6947 {
6948 "Id": 1154,
6949 "QuestionId": 13,
6950 "Text": "Saint Kitts and Nevis",
6951 "Value": "Saint Kitts and Nevis",
6952 "Order": 146
6953 },
6954 {
6955 "Id": 1162,
6956 "QuestionId": 13,
6957 "Text": "Saint Lucia",
6958 "Value": "Saint Lucia",
6959 "Order": 147
6960 },
6961 {
6962 "Id": 1170,
6963 "QuestionId": 13,
6964 "Text": "Saint Vincent",
6965 "Value": "Saint Vincent",
6966 "Order": 148
6967 },
6968 {
6969 "Id": 1178,
6970 "QuestionId": 13,
6971 "Text": "Samoa",
6972 "Value": "Samoa",
6973 "Order": 149
6974 },
6975 {
6976 "Id": 1186,
6977 "QuestionId": 13,
6978 "Text": "San Marino",
6979 "Value": "San Marino",
6980 "Order": 150
6981 },
6982 {
6983 "Id": 1194,
6984 "QuestionId": 13,
6985 "Text": "Sao Tome and Principe",
6986 "Value": "Sao Tome and Principe",
6987 "Order": 151
6988 },
6989 {
6990 "Id": 1202,
6991 "QuestionId": 13,
6992 "Text": "Saudi Arabia",
6993 "Value": "Saudi Arabia",
6994 "Order": 152
6995 },
6996 {
6997 "Id": 1210,
6998 "QuestionId": 13,
6999 "Text": "Senegal",
7000 "Value": "Senegal",
7001 "Order": 153
7002 },
7003 {
7004 "Id": 1218,
7005 "QuestionId": 13,
7006 "Text": "Serbia and Montenegro",
7007 "Value": "Serbia and Montenegro",
7008 "Order": 154
7009 },
7010 {
7011 "Id": 1226,
7012 "QuestionId": 13,
7013 "Text": "Seychelles",
7014 "Value": "Seychelles",
7015 "Order": 155
7016 },
7017 {
7018 "Id": 1234,
7019 "QuestionId": 13,
7020 "Text": "Sierra Leone",
7021 "Value": "Sierra Leone",
7022 "Order": 156
7023 },
7024 {
7025 "Id": 1242,
7026 "QuestionId": 13,
7027 "Text": "Singapore",
7028 "Value": "Singapore",
7029 "Order": 157
7030 },
7031 {
7032 "Id": 1250,
7033 "QuestionId": 13,
7034 "Text": "Slovakia",
7035 "Value": "Slovakia",
7036 "Order": 158
7037 },
7038 {
7039 "Id": 1258,
7040 "QuestionId": 13,
7041 "Text": "Slovenia",
7042 "Value": "Slovenia",
7043 "Order": 159
7044 },
7045 {
7046 "Id": 1266,
7047 "QuestionId": 13,
7048 "Text": "Solomon Islands",
7049 "Value": "Solomon Islands",
7050 "Order": 160
7051 },
7052 {
7053 "Id": 1274,
7054 "QuestionId": 13,
7055 "Text": "Somalia",
7056 "Value": "Somalia",
7057 "Order": 161
7058 },
7059 {
7060 "Id": 1282,
7061 "QuestionId": 13,
7062 "Text": "South Africa",
7063 "Value": "South Africa",
7064 "Order": 162
7065 },
7066 {
7067 "Id": 1290,
7068 "QuestionId": 13,
7069 "Text": "Spain",
7070 "Value": "Spain",
7071 "Order": 163
7072 },
7073 {
7074 "Id": 1298,
7075 "QuestionId": 13,
7076 "Text": "Sri Lanka",
7077 "Value": "Sri Lanka",
7078 "Order": 164
7079 },
7080 {
7081 "Id": 1306,
7082 "QuestionId": 13,
7083 "Text": "Sudan",
7084 "Value": "Sudan",
7085 "Order": 165
7086 },
7087 {
7088 "Id": 1314,
7089 "QuestionId": 13,
7090 "Text": "Suriname",
7091 "Value": "Suriname",
7092 "Order": 166
7093 },
7094 {
7095 "Id": 1322,
7096 "QuestionId": 13,
7097 "Text": "Swaziland",
7098 "Value": "Swaziland",
7099 "Order": 167
7100 },
7101 {
7102 "Id": 1330,
7103 "QuestionId": 13,
7104 "Text": "Sweden",
7105 "Value": "Sweden",
7106 "Order": 168
7107 },
7108 {
7109 "Id": 1338,
7110 "QuestionId": 13,
7111 "Text": "Switzerland",
7112 "Value": "Switzerland",
7113 "Order": 169
7114 },
7115 {
7116 "Id": 1346,
7117 "QuestionId": 13,
7118 "Text": "Syria",
7119 "Value": "Syria",
7120 "Order": 170
7121 },
7122 {
7123 "Id": 1354,
7124 "QuestionId": 13,
7125 "Text": "Taiwan",
7126 "Value": "Taiwan",
7127 "Order": 171
7128 },
7129 {
7130 "Id": 1362,
7131 "QuestionId": 13,
7132 "Text": "Tajikistan",
7133 "Value": "Tajikistan",
7134 "Order": 172
7135 },
7136 {
7137 "Id": 1370,
7138 "QuestionId": 13,
7139 "Text": "Tanzania",
7140 "Value": "Tanzania",
7141 "Order": 173
7142 },
7143 {
7144 "Id": 1378,
7145 "QuestionId": 13,
7146 "Text": "Thailand",
7147 "Value": "Thailand",
7148 "Order": 174
7149 },
7150 {
7151 "Id": 1386,
7152 "QuestionId": 13,
7153 "Text": "Togo",
7154 "Value": "Togo",
7155 "Order": 175
7156 },
7157 {
7158 "Id": 1394,
7159 "QuestionId": 13,
7160 "Text": "Tonga",
7161 "Value": "Tonga",
7162 "Order": 176
7163 },
7164 {
7165 "Id": 1402,
7166 "QuestionId": 13,
7167 "Text": "Trinidad and Tobago",
7168 "Value": "Trinidad and Tobago",
7169 "Order": 177
7170 },
7171 {
7172 "Id": 1410,
7173 "QuestionId": 13,
7174 "Text": "Tunisia",
7175 "Value": "Tunisia",
7176 "Order": 178
7177 },
7178 {
7179 "Id": 1418,
7180 "QuestionId": 13,
7181 "Text": "Turkey",
7182 "Value": "Turkey",
7183 "Order": 179
7184 },
7185 {
7186 "Id": 1426,
7187 "QuestionId": 13,
7188 "Text": "Turkmenistan",
7189 "Value": "Turkmenistan",
7190 "Order": 180
7191 },
7192 {
7193 "Id": 1434,
7194 "QuestionId": 13,
7195 "Text": "Tuvalu",
7196 "Value": "Tuvalu",
7197 "Order": 181
7198 },
7199 {
7200 "Id": 1442,
7201 "QuestionId": 13,
7202 "Text": "Uganda",
7203 "Value": "Uganda",
7204 "Order": 182
7205 },
7206 {
7207 "Id": 1450,
7208 "QuestionId": 13,
7209 "Text": "Ukraine",
7210 "Value": "Ukraine",
7211 "Order": 183
7212 },
7213 {
7214 "Id": 1458,
7215 "QuestionId": 13,
7216 "Text": "United Arab Emirates",
7217 "Value": "United Arab Emirates",
7218 "Order": 184
7219 },
7220 {
7221 "Id": 1466,
7222 "QuestionId": 13,
7223 "Text": "United Kingdom",
7224 "Value": "United Kingdom",
7225 "Order": 185
7226 },
7227 {
7228 "Id": 1474,
7229 "QuestionId": 13,
7230 "Text": "United States",
7231 "Value": "United States",
7232 "Order": 2
7233 },
7234 {
7235 "Id": 1482,
7236 "QuestionId": 13,
7237 "Text": "Uruguay",
7238 "Value": "Uruguay",
7239 "Order": 186
7240 },
7241 {
7242 "Id": 1490,
7243 "QuestionId": 13,
7244 "Text": "Uzbekistan",
7245 "Value": "Uzbekistan",
7246 "Order": 187
7247 },
7248 {
7249 "Id": 1498,
7250 "QuestionId": 13,
7251 "Text": "Vanuatu",
7252 "Value": "Vanuatu",
7253 "Order": 188
7254 },
7255 {
7256 "Id": 1506,
7257 "QuestionId": 13,
7258 "Text": "Vatican City",
7259 "Value": "Vatican City",
7260 "Order": 189
7261 },
7262 {
7263 "Id": 1514,
7264 "QuestionId": 13,
7265 "Text": "Venezuela",
7266 "Value": "Venezuela",
7267 "Order": 190
7268 },
7269 {
7270 "Id": 1522,
7271 "QuestionId": 13,
7272 "Text": "Vietnam",
7273 "Value": "Vietnam",
7274 "Order": 191
7275 },
7276 {
7277 "Id": 1530,
7278 "QuestionId": 13,
7279 "Text": "Yemen",
7280 "Value": "Yemen",
7281 "Order": 192
7282 },
7283 {
7284 "Id": 1538,
7285 "QuestionId": 13,
7286 "Text": "Zambia",
7287 "Value": "Zambia",
7288 "Order": 193
7289 },
7290 {
7291 "Id": 1546,
7292 "QuestionId": 13,
7293 "Text": "Zimbabwe",
7294 "Value": "Zimbabwe",
7295 "Order": 194
7296 },
7297 {
7298 "Id": 2186,
7299 "QuestionId": 13,
7300 "Text": "British Columbia",
7301 "Value": "British Columbia",
7302 "Order": 195
7303 }
7304 ]
7305 },
7306 {
7307 "Id": 178,
7308 "Text": "Job Function",
7309 "Type": "4",
7310 "Alias": "Job Function",
7311 "Choices": [
7312 {
7313 "Id": 2266,
7314 "QuestionId": 178,
7315 "Text": "Select One",
7316 "Value": "",
7317 "Order": 1
7318 },
7319 {
7320 "Id": 2274,
7321 "QuestionId": 178,
7322 "Text": "Sales",
7323 "Value": "Sales",
7324 "Order": 2
7325 },
7326 {
7327 "Id": 2282,
7328 "QuestionId": 178,
7329 "Text": "Marketing",
7330 "Value": "Marketing",
7331 "Order": 3
7332 },
7333 {
7334 "Id": 2290,
7335 "QuestionId": 178,
7336 "Text": "New Media",
7337 "Value": "New Media",
7338 "Order": 4
7339 },
7340 {
7341 "Id": 2298,
7342 "QuestionId": 178,
7343 "Text": "Audience Development",
7344 "Value": "Audience Development",
7345 "Order": 5
7346 },
7347 {
7348 "Id": 2306,
7349 "QuestionId": 178,
7350 "Text": "Editorial",
7351 "Value": "Editorial",
7352 "Order": 6
7353 },
7354 {
7355 "Id": 2314,
7356 "QuestionId": 178,
7357 "Text": "Information Technology",
7358 "Value": "IT",
7359 "Order": 7
7360 },
7361 {
7362 "Id": 2322,
7363 "QuestionId": 178,
7364 "Text": "Corporate",
7365 "Value": "Corporate",
7366 "Order": 8
7367 },
7368 {
7369 "Id": 2418,
7370 "QuestionId": 178,
7371 "Text": "Other",
7372 "Value": "Other",
7373 "Order": 9
7374 }
7375 ]
7376 },
7377 {
7378 "Id": 202,
7379 "Text": "Type of Publication",
7380 "Type": "4",
7381 "Alias": "Type of Publication",
7382 "Choices": [
7383 {
7384 "Id": 2330,
7385 "QuestionId": 202,
7386 "Text": "Select One",
7387 "Value": "",
7388 "Order": 1
7389 },
7390 {
7391 "Id": 2338,
7392 "QuestionId": 202,
7393 "Text": "Magazine",
7394 "Value": "Magazine",
7395 "Order": 2
7396 },
7397 {
7398 "Id": 2346,
7399 "QuestionId": 202,
7400 "Text": "Newspaper",
7401 "Value": "Newspaper",
7402 "Order": 3
7403 },
7404 {
7405 "Id": 2354,
7406 "QuestionId": 202,
7407 "Text": "Digital Publisher",
7408 "Value": "Digital Publisher",
7409 "Order": 4
7410 },
7411 {
7412 "Id": 2362,
7413 "QuestionId": 202,
7414 "Text": "Book Publisher",
7415 "Value": "Book Publisher",
7416 "Order": 5
7417 },
7418 {
7419 "Id": 2370,
7420 "QuestionId": 202,
7421 "Text": "Newsletter/Email",
7422 "Value": "Newsletter/Email",
7423 "Order": 6
7424 }
7425 ]
7426 },
7427 {
7428 "Id": 226,
7429 "Text": "What is your time frame for deployment?",
7430 "Type": "4",
7431 "Alias": "What is your time frame for deployment?",
7432 "Choices": [
7433 {
7434 "Id": 2378,
7435 "QuestionId": 226,
7436 "Text": "Select One",
7437 "Value": "",
7438 "Order": 1
7439 },
7440 {
7441 "Id": 2386,
7442 "QuestionId": 226,
7443 "Text": "0-3 months",
7444 "Value": "0-3",
7445 "Order": 2
7446 },
7447 {
7448 "Id": 2394,
7449 "QuestionId": 226,
7450 "Text": "3-6 months",
7451 "Value": "3-6",
7452 "Order": 3
7453 },
7454 {
7455 "Id": 2402,
7456 "QuestionId": 226,
7457 "Text": "6-12 months",
7458 "Value": "6-12",
7459 "Order": 4
7460 },
7461 {
7462 "Id": 2410,
7463 "QuestionId": 226,
7464 "Text": "No Formal Plans",
7465 "Value": "No Formal Plans",
7466 "Order": 5
7467 }
7468 ]
7469 },
7470 {
7471 "Id": 250,
7472 "Text": "Industry",
7473 "Type": "4",
7474 "Alias": "Industry",
7475 "Choices": [
7476 {
7477 "Id": 2426,
7478 "QuestionId": 250,
7479 "Text": "Agency",
7480 "Value": "Agency",
7481 "Order": 2
7482 },
7483 {
7484 "Id": 2434,
7485 "QuestionId": 250,
7486 "Text": "Association",
7487 "Value": "Association",
7488 "Order": 3
7489 },
7490 {
7491 "Id": 2442,
7492 "QuestionId": 250,
7493 "Text": "Direct Marketing",
7494 "Value": "Direct Marketing",
7495 "Order": 4
7496 },
7497 {
7498 "Id": 2450,
7499 "QuestionId": 250,
7500 "Text": "Publisher",
7501 "Value": "Publisher",
7502 "Order": 5
7503 },
7504 {
7505 "Id": 2458,
7506 "QuestionId": 250,
7507 "Text": "Service Bureau",
7508 "Value": "Service Bureau",
7509 "Order": 6
7510 },
7511 {
7512 "Id": 2466,
7513 "QuestionId": 250,
7514 "Text": "Select One",
7515 "Value": "Government",
7516 "Order": 1
7517 },
7518 {
7519 "Id": 2737,
7520 "QuestionId": 250,
7521 "Text": "Other",
7522 "Value": "Other",
7523 "Order": 7
7524 },
7525 {
7526 "Id": 3051,
7527 "QuestionId": 250,
7528 "Text": "Business Services",
7529 "Value": "Business Services",
7530 "Order": 8
7531 },
7532 {
7533 "Id": 3059,
7534 "QuestionId": 250,
7535 "Text": "Business Services, Media & Internet",
7536 "Value": "Business Services, Media & Internet",
7537 "Order": 9
7538 },
7539 {
7540 "Id": 3067,
7541 "QuestionId": 250,
7542 "Text": "Business Services,Consumer Services",
7543 "Value": "Business Services,Consumer Services",
7544 "Order": 10
7545 },
7546 {
7547 "Id": 3075,
7548 "QuestionId": 250,
7549 "Text": "Business Services,Finance",
7550 "Value": "Business Services,Finance",
7551 "Order": 11
7552 },
7553 {
7554 "Id": 3083,
7555 "QuestionId": 250,
7556 "Text": "Business Services,Retail,Media & Internet",
7557 "Value": "Business Services,Retail,Media & Internet",
7558 "Order": 12
7559 },
7560 {
7561 "Id": 3091,
7562 "QuestionId": 250,
7563 "Text": "Business Services,Telecommunications",
7564 "Value": "Business Services,Telecommunications",
7565 "Order": 13
7566 },
7567 {
7568 "Id": 3099,
7569 "QuestionId": 250,
7570 "Text": "Energy, Utilities & Waste Treatment",
7571 "Value": "Energy, Utilities & Waste Treatment",
7572 "Order": 14
7573 },
7574 {
7575 "Id": 3107,
7576 "QuestionId": 250,
7577 "Text": "Finance",
7578 "Value": "Finance",
7579 "Order": 15
7580 },
7581 {
7582 "Id": 3115,
7583 "QuestionId": 250,
7584 "Text": "Hospitality",
7585 "Value": "Hospitality",
7586 "Order": 16
7587 },
7588 {
7589 "Id": 3123,
7590 "QuestionId": 250,
7591 "Text": "Hospitality,Media & Internet",
7592 "Value": "Hospitality,Media & Internet",
7593 "Order": 17
7594 },
7595 {
7596 "Id": 3131,
7597 "QuestionId": 250,
7598 "Text": "Insurance",
7599 "Value": "Insurance",
7600 "Order": 18
7601 },
7602 {
7603 "Id": 3139,
7604 "QuestionId": 250,
7605 "Text": "Insurance, Finance",
7606 "Value": "Insurance, Finance",
7607 "Order": 19
7608 },
7609 {
7610 "Id": 3147,
7611 "QuestionId": 250,
7612 "Text": "Manufacturing",
7613 "Value": "Manufacturing",
7614 "Order": 20
7615 },
7616 {
7617 "Id": 3155,
7618 "QuestionId": 250,
7619 "Text": "Manufacturing,Business Services",
7620 "Value": "Manufacturing,Business Services",
7621 "Order": 21
7622 },
7623 {
7624 "Id": 3163,
7625 "QuestionId": 250,
7626 "Text": "Manufacturing,Retail,Healthcare",
7627 "Value": "Manufacturing,Retail,Healthcare",
7628 "Order": 22
7629 },
7630 {
7631 "Id": 3171,
7632 "QuestionId": 250,
7633 "Text": "Media & Internet",
7634 "Value": "Media & Internet",
7635 "Order": 23
7636 },
7637 {
7638 "Id": 3179,
7639 "QuestionId": 250,
7640 "Text": "Media & Internet,Business Services",
7641 "Value": "Media & Internet,Business Services",
7642 "Order": 24
7643 },
7644 {
7645 "Id": 3187,
7646 "QuestionId": 250,
7647 "Text": "Organizations",
7648 "Value": "Organizations",
7649 "Order": 25
7650 },
7651 {
7652 "Id": 3195,
7653 "QuestionId": 250,
7654 "Text": "Real Estate",
7655 "Value": "Real Estate",
7656 "Order": 26
7657 },
7658 {
7659 "Id": 3203,
7660 "QuestionId": 250,
7661 "Text": "Retail",
7662 "Value": "Retail",
7663 "Order": 27
7664 },
7665 {
7666 "Id": 3211,
7667 "QuestionId": 250,
7668 "Text": "Retail,Software,Consumer Services",
7669 "Value": "Retail,Software,Consumer Services",
7670 "Order": 28
7671 },
7672 {
7673 "Id": 3219,
7674 "QuestionId": 250,
7675 "Text": "Software",
7676 "Value": "Software",
7677 "Order": 29
7678 },
7679 {
7680 "Id": 3227,
7681 "QuestionId": 250,
7682 "Text": "Retail, Manufacturing",
7683 "Value": "Retail, Manufacturing",
7684 "Order": 30
7685 },
7686 {
7687 "Id": 3235,
7688 "QuestionId": 250,
7689 "Text": "Software,Manufacturing,Retail",
7690 "Value": "Software,Manufacturing,Retail",
7691 "Order": 31
7692 },
7693 {
7694 "Id": 3243,
7695 "QuestionId": 250,
7696 "Text": "Business Services,Media & Internet",
7697 "Value": "Business Services,Media & Internet",
7698 "Order": 32
7699 },
7700 {
7701 "Id": 3251,
7702 "QuestionId": 250,
7703 "Text": "Telecommunications",
7704 "Value": "Telecommunications",
7705 "Order": 33
7706 }
7707 ]
7708 },
7709 {
7710 "Id": 274,
7711 "Text": "How many employees work at your company?_Copy",
7712 "Type": "4",
7713 "Alias": "ALL",
7714 "Choices": [
7715 {
7716 "Id": 2698,
7717 "QuestionId": 274,
7718 "Text": "1-25",
7719 "Value": "01",
7720 "Order": 1
7721 },
7722 {
7723 "Id": 2706,
7724 "QuestionId": 274,
7725 "Text": "26-100",
7726 "Value": "02",
7727 "Order": 2
7728 },
7729 {
7730 "Id": 2714,
7731 "QuestionId": 274,
7732 "Text": "101-250",
7733 "Value": "03",
7734 "Order": 3
7735 },
7736 {
7737 "Id": 2722,
7738 "QuestionId": 274,
7739 "Text": "251-500",
7740 "Value": "04",
7741 "Order": 4
7742 },
7743 {
7744 "Id": 2730,
7745 "QuestionId": 274,
7746 "Text": "500+",
7747 "Value": "05",
7748 "Order": 5
7749 }
7750 ]
7751 },
7752 {
7753 "Id": 281,
7754 "Text": "How many employees work at your company?_Copy",
7755 "Type": "4",
7756 "Alias": "How many employees work at your company?_Copy",
7757 "Choices": [
7758 {
7759 "Id": 2745,
7760 "QuestionId": 281,
7761 "Text": "1-25",
7762 "Value": "01",
7763 "Order": 1
7764 },
7765 {
7766 "Id": 2753,
7767 "QuestionId": 281,
7768 "Text": "26-100",
7769 "Value": "02",
7770 "Order": 2
7771 },
7772 {
7773 "Id": 2761,
7774 "QuestionId": 281,
7775 "Text": "101-250",
7776 "Value": "03",
7777 "Order": 3
7778 },
7779 {
7780 "Id": 2769,
7781 "QuestionId": 281,
7782 "Text": "251-500",
7783 "Value": "04",
7784 "Order": 4
7785 },
7786 {
7787 "Id": 2777,
7788 "QuestionId": 281,
7789 "Text": "500+",
7790 "Value": "05",
7791 "Order": 5
7792 }
7793 ]
7794 },
7795 {
7796 "Id": 291,
7797 "Text": "DAS Question Update",
7798 "Type": "4",
7799 "Alias": "DAS Question Update",
7800 "Choices": [
7801 {
7802 "Id": 2859,
7803 "QuestionId": 291,
7804 "Text": "Choice a Update",
7805 "Value": "a Update",
7806 "Order": 1
7807 },
7808 {
7809 "Id": 2867,
7810 "QuestionId": 291,
7811 "Text": "Choice b Update",
7812 "Value": "b Update",
7813 "Order": 2
7814 }
7815 ]
7816 },
7817 {
7818 "Id": 363,
7819 "Text": "Group Size",
7820 "Type": "4",
7821 "Alias": "Group Size",
7822 "Choices": [
7823 {
7824 "Id": 3027,
7825 "QuestionId": 363,
7826 "Text": "NA",
7827 "Value": "NA",
7828 "Order": 1
7829 },
7830 {
7831 "Id": 3035,
7832 "QuestionId": 363,
7833 "Text": "0-10",
7834 "Value": "0-10",
7835 "Order": 2
7836 },
7837 {
7838 "Id": 3043,
7839 "QuestionId": 363,
7840 "Text": "10-25",
7841 "Value": "10-25",
7842 "Order": 3
7843 }
7844 ]
7845 },
7846 {
7847 "Id": 399,
7848 "Text": "What best describes your job title?",
7849 "Type": "4",
7850 "Alias": "1105-title",
7851 "Choices": [
7852 {
7853 "Id": 3255,
7854 "QuestionId": 399,
7855 "Text": "CIO, CTO, CKO, Technical/VP",
7856 "Value": "CIO",
7857 "Order": 1
7858 },
7859 {
7860 "Id": 3263,
7861 "QuestionId": 399,
7862 "Text": "Corporate Management",
7863 "Value": "corporate",
7864 "Order": 2
7865 },
7866 {
7867 "Id": 3271,
7868 "QuestionId": 399,
7869 "Text": "IS/IT Director/Manager",
7870 "Value": "it",
7871 "Order": 3
7872 },
7873 {
7874 "Id": 3279,
7875 "QuestionId": 399,
7876 "Text": "Director of Softare Development",
7877 "Value": "software director",
7878 "Order": 4
7879 },
7880 {
7881 "Id": 3287,
7882 "QuestionId": 399,
7883 "Text": "Application Development Manager",
7884 "Value": "ADM",
7885 "Order": 5
7886 }
7887 ]
7888 },
7889 {
7890 "Id": 407,
7891 "Text": "What is your organization's (or largest client, if you are a consultant) primary business at this location?",
7892 "Type": "4",
7893 "Alias": "1105 largest client",
7894 "Choices": [
7895 {
7896 "Id": 3295,
7897 "QuestionId": 407,
7898 "Text": "Aerospace",
7899 "Value": "aerospace",
7900 "Order": 1
7901 },
7902 {
7903 "Id": 3303,
7904 "QuestionId": 407,
7905 "Text": "Agriculture/Mining/Gas/Oil",
7906 "Value": "ag",
7907 "Order": 2
7908 },
7909 {
7910 "Id": 3311,
7911 "QuestionId": 407,
7912 "Text": "Business Services/Consultants",
7913 "Value": "bs",
7914 "Order": 3
7915 },
7916 {
7917 "Id": 3319,
7918 "QuestionId": 407,
7919 "Text": "Construction/Architecture/Engineering",
7920 "Value": "construction",
7921 "Order": 4
7922 },
7923 {
7924 "Id": 3327,
7925 "QuestionId": 407,
7926 "Text": "Education/Training",
7927 "Value": "education",
7928 "Order": 5
7929 }
7930 ]
7931 },
7932 {
7933 "Id": 415,
7934 "Text": "What is the total number of employees in your entire organzation?",
7935 "Type": "4",
7936 "Alias": "1105 num employees",
7937 "Choices": [
7938 {
7939 "Id": 3335,
7940 "QuestionId": 415,
7941 "Text": "10,000 or more",
7942 "Value": "10000",
7943 "Order": 1
7944 },
7945 {
7946 "Id": 3343,
7947 "QuestionId": 415,
7948 "Text": "5,000 - 9,999",
7949 "Value": "5000",
7950 "Order": 2
7951 },
7952 {
7953 "Id": 3351,
7954 "QuestionId": 415,
7955 "Text": "1,000 - 4,999",
7956 "Value": "1000",
7957 "Order": 3
7958 },
7959 {
7960 "Id": 3359,
7961 "QuestionId": 415,
7962 "Text": "500 - 999",
7963 "Value": "500",
7964 "Order": 4
7965 },
7966 {
7967 "Id": 3367,
7968 "QuestionId": 415,
7969 "Text": "100 - 499",
7970 "Value": "100",
7971 "Order": 5
7972 },
7973 {
7974 "Id": 3375,
7975 "QuestionId": 415,
7976 "Text": "Under 100",
7977 "Value": "Under 100",
7978 "Order": 6
7979 }
7980 ]
7981 },
7982 {
7983 "Id": 423,
7984 "Text": "saaa",
7985 "Type": "4",
7986 "Alias": "test",
7987 "Choices": [
7988 {
7989 "Id": 3383,
7990 "QuestionId": 423,
7991 "Text": "1",
7992 "Value": "1",
7993 "Order": 1
7994 },
7995 {
7996 "Id": 3391,
7997 "QuestionId": 423,
7998 "Text": "3",
7999 "Value": "3",
8000 "Order": 2
8001 }
8002 ]
8003 }
8004 ]
8005 }
8006 {{/code}}
8007
8008 (% class="western" %)
8009 \\
8010
8011 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
8012 == (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33, 33, 33); color: rgb(173, 122, 3)" %)POST(% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %) Create question type numeric, text, password, textarea and date(%%) ==
8013
8014 ----
8015
8016 {{panel bgColor="#D3D3D3" width="100%"}}
8017 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/questions
8018 {{/panel}}
8019
8020 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
8021
8022 ----
8023
8024 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
8025
8026 === (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
8027
8028 ----
8029
8030 {{code language="yml" theme="RDark" title="Body" collapse="true"}}
8031 {"Text":"Test from API 3","Type":0,"Alias":"Test from API 3"}
8032 {{/code}}
8033
8034 ==== Example ====
8035
8036 ----
8037
8038 (% style="color: rgb(107,107,107);" %)Request
8039
8040 {{code language="php" theme="RDark" title="Create Question Request" collapse="true"}}
8041 <?php
8042
8043 $curl = curl_init();
8044
8045 curl_setopt_array($curl, array(
8046 CURLOPT_URL => 'https://api.onecount.net/v2/questions',
8047 CURLOPT_RETURNTRANSFER => true,
8048 CURLOPT_ENCODING => '',
8049 CURLOPT_MAXREDIRS => 10,
8050 CURLOPT_TIMEOUT => 0,
8051 CURLOPT_FOLLOWLOCATION => true,
8052 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
8053 CURLOPT_CUSTOMREQUEST => 'POST',
8054 CURLOPT_POSTFIELDS =>'{"Text":"Test from API 3","Type":0,"Alias":"Test from API 3"}',
8055 CURLOPT_HTTPHEADER => array(
8056 'Appkey: {{ONECOUNT API KEY}}'
8057 ),
8058 ));
8059
8060 $response = curl_exec($curl);
8061
8062 curl_close($curl);
8063 echo $response;
8064 {{/code}}
8065
8066 \\
8067
8068 (% style="color: rgb(107,107,107);" %)Response  200 OK
8069
8070 {{code language="yml" theme="RDark" title="Create question Response" collapse="true"}}
8071 {
8072 "result": {
8073 "success": "1",
8074 "error": {
8075 "code": "",
8076 "message": ""
8077 }
8078 },
8079 "Questions": [
8080 {
8081 "Id": 455
8082 }
8083 ]
8084 }
8085 {{/code}}
8086
8087 \\
8088
8089 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
8090 == (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33, 33, 33); color: rgb(173, 122, 3)" %)POST(% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %) Create question type select, radio and checkbox(%%) ==
8091
8092 ----
8093
8094 {{panel bgColor="#D3D3D3" width="100%"}}
8095 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/questions
8096 {{/panel}}
8097
8098 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
8099
8100 ----
8101
8102 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
8103
8104 === (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
8105
8106 ----
8107
8108 {{code language="yml" theme="RDark" title="Body" collapse="true"}}
8109 {"Text":"Test from API 6","Type":4,"Alias":"Test from API 6", "Choices":[{"Text":"test 1","Value":"test 1"},{"Text":"test 2","Value":"test 2"}]}
8110 {{/code}}
8111
8112 ==== Example ====
8113
8114 ----
8115
8116 (% style="color: rgb(107,107,107);" %)Request
8117
8118 {{code language="php" theme="RDark" title="Create Question Request" collapse="true"}}
8119 <?php
8120
8121 $curl = curl_init();
8122
8123 curl_setopt_array($curl, array(
8124 CURLOPT_URL => 'https://api.onecount.net/v2/questions',
8125 CURLOPT_RETURNTRANSFER => true,
8126 CURLOPT_ENCODING => '',
8127 CURLOPT_MAXREDIRS => 10,
8128 CURLOPT_TIMEOUT => 0,
8129 CURLOPT_FOLLOWLOCATION => true,
8130 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
8131 CURLOPT_CUSTOMREQUEST => 'POST',
8132 CURLOPT_POSTFIELDS =>'{"Text":"Test from API 5","Type":4,"Alias":"Test from API 5", "Choices":[{"Text":"test 1","Value":"test 1"},{"Text":"test 2","Value":"test 2"}]}',
8133 CURLOPT_HTTPHEADER => array(
8134 'Appkey: {{ONECOUNT API KEY}}'
8135 ),
8136 ));
8137
8138 $response = curl_exec($curl);
8139
8140 curl_close($curl);
8141 echo $response;
8142 {{/code}}
8143
8144 \\
8145
8146 (% style="color: rgb(107,107,107);" %)Response  200 OK
8147
8148 {{code language="yml" theme="RDark" title="Create question Response" collapse="true"}}
8149 {
8150 "result": {
8151 "success": "1",
8152 "error": {
8153 "code": "",
8154 "message": ""
8155 }
8156 },
8157 "Questions": [
8158 {
8159 "Id": 495
8160 }
8161 ]
8162 }
8163 {{/code}}
8164
8165 \\
8166
8167 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
8168 == (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33, 33, 33); color: rgb(0, 83, 184)" %)PUT (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)Update question(%%) ==
8169
8170 ----
8171
8172 {{panel bgColor="#D3D3D3" width="100%"}}
8173 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/questions/~{~{QUESTION ID}}
8174 {{/panel}}
8175
8176 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
8177
8178 ----
8179
8180 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
8181
8182 === (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
8183
8184 ----
8185
8186 {{code language="yml" theme="RDark" title="Body" collapse="true"}}
8187 {"Text":"Test from API 6 changed","Type":4,"Alias":"Test from API 6 changed", "Choices":[{"Text":"test 1","Value":"test 1"},{"Text":"test 2","Value":"test 2"}]}
8188 {{/code}}
8189
8190 ==== Example ====
8191
8192 ----
8193
8194 (% style="color: rgb(107,107,107);" %)Request
8195
8196 {{code language="php" theme="RDark" title="Update Question Request" collapse="true"}}
8197 <?php
8198
8199 $curl = curl_init();
8200
8201 curl_setopt_array($curl, array(
8202 CURLOPT_URL => 'https://api.onecount.net/v2/questions/{{QUESTION ID}}',
8203 CURLOPT_RETURNTRANSFER => true,
8204 CURLOPT_ENCODING => '',
8205 CURLOPT_MAXREDIRS => 10,
8206 CURLOPT_TIMEOUT => 0,
8207 CURLOPT_FOLLOWLOCATION => true,
8208 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
8209 CURLOPT_CUSTOMREQUEST => 'PUT',
8210 CURLOPT_POSTFIELDS =>'{"Text":"Test from API 6 changed","Type":4,"Alias":"Test from API 6 changed", "Choices":[{"Text":"test 1","Value":"test 1"},{"Text":"test 2","Value":"test 2"}]}',
8211 CURLOPT_HTTPHEADER => array(
8212 'Appkey: {{ONECOUNT API KEY}}'
8213 ),
8214 ));
8215
8216 $response = curl_exec($curl);
8217
8218 curl_close($curl);
8219 echo $response;
8220
8221
8222 {{/code}}
8223
8224 \\
8225
8226 (% style="color: rgb(107,107,107);" %)Response  200 OK
8227
8228 {{code language="yml" theme="RDark" title="Update Question Response" collapse="true"}}
8229 {
8230 "result": {
8231 "success": "1",
8232 "error": {
8233 "code": "",
8234 "message": ""
8235 }
8236 },
8237 "Questions": [
8238 {
8239 "Id": 503
8240 }
8241 ]
8242 }
8243 {{/code}}
8244
8245 (% class="western" %)
8246 \\
8247
8248 (% class="western" %)
8249 **COMPONENT: Products**
8250
8251 (% class="western" %)
8252 This resource is for manipulating products resource. A product can be created, updated or searched.
8253
8254 (% class="wrapped" %)
8255 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8256 (((
8257 (% class="western" %)
8258 **Method**
8259 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8260 (((
8261 (% class="western" %)
8262 **Url**
8263 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8264 (((
8265 (% class="western" %)
8266 **Action**
8267 )))
8268 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8269 (((
8270 (% class="western" %)
8271 GET
8272 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8273 (((
8274 (% class="western" %)
8275 /products
8276 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8277 (((
8278 (% class="western" %)
8279 Get all product details
8280 )))
8281 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8282 (((
8283 (% class="western" %)
8284 GET
8285 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8286 (((
8287 (% class="western" %)
8288 /products/5
8289 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8290 (((
8291 (% class="western" %)
8292 Get product id 5
8293 )))
8294 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8295 (((
8296 (% class="western" %)
8297 GET
8298 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8299 (((
8300 (% class="western" %)
8301 /products/lookup?Title=productname
8302 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8303 (((
8304 (% class="western" %)
8305 Lookup products by Title
8306 )))
8307 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8308 (((
8309 (% class="western" %)
8310 POST
8311 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8312 (((
8313 (% class="western" %)
8314 /products
8315 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8316 (((
8317 (% class="western" %)
8318 JSON of the Products type object needs to be sent as post data. Id field should not be sent.
8319 )))
8320 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8321 (((
8322 (% class="western" %)
8323 PUT
8324 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8325 (((
8326 (% class="western" %)
8327 /products/5
8328 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8329 (((
8330 (% class="western" %)
8331 JSON of the Products type object needs to be sent as post data. Id field is mandatory for update.
8332 )))
8333 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8334 (((
8335 (% class="western" %)
8336 POST
8337 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8338 (((
8339 (% class="western" %)
8340 /products/attachResource
8341 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8342 (((
8343 (% class="western" %)
8344 JSON of the Product and Resource ids to be sent as post data.
8345
8346 (% class="western" %)
8347 Both fields are mandatory.
8348
8349 (% class="western" %)
8350 Example:
8351
8352 (% class="western" %)
8353 {"ProductID":"65","ResourceID":”121"}
8354 )))
8355
8356 \\
8357
8358 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
8359 == (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)All Products(%%) ==
8360
8361 ----
8362
8363 ----
8364
8365 {{panel bgColor="#D3D3D3" width="100%"}}
8366 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/products
8367 {{/panel}}
8368
8369 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
8370
8371 ----
8372
8373 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
8374
8375 ==== Example ====
8376
8377 ----
8378
8379 (% style="color: rgb(107,107,107);" %)Request
8380
8381 {{code language="php" theme="RDark" title="Get All Products Request" collapse="true"}}
8382 <?php
8383
8384 $curl = curl_init();
8385
8386 curl_setopt_array($curl, array(
8387 CURLOPT_URL => 'https://api.onecount.net/v2/products',
8388 CURLOPT_RETURNTRANSFER => true,
8389 CURLOPT_ENCODING => '',
8390 CURLOPT_MAXREDIRS => 10,
8391 CURLOPT_TIMEOUT => 0,
8392 CURLOPT_FOLLOWLOCATION => true,
8393 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
8394 CURLOPT_CUSTOMREQUEST => 'GET',
8395 CURLOPT_HTTPHEADER => array(
8396 'Appkey: {{ONECOUNT API KEY}}'
8397 ),
8398 ));
8399
8400 $response = curl_exec($curl);
8401
8402 curl_close($curl);
8403 echo $response;
8404
8405
8406 {{/code}}
8407
8408 \\
8409
8410 (% style="color: rgb(107,107,107);" %)Response  200 OK
8411
8412 {{code language="yml" theme="RDark" title="Get All Products Response" collapse="true"}}
8413 {
8414 "result": {
8415 "success": "1",
8416 "error": {
8417 "code": "",
8418 "message": ""
8419 }
8420 },
8421 "Products": [
8422 {
8423 "ProductId": 26,
8424 "Title": "ONEcount Product Demo",
8425 "Description": "",
8426 "ResourceIDs": [],
8427 "PrimaryFormID": [
8428 "307",
8429 "34"
8430 ],
8431 "Terms": {
8432 "Id": 26,
8433 "Name": "Please contact me to arrange a demo",
8434 "Description": "",
8435 "Duration": 1,
8436 "DurationUnit": "I",
8437 "Price": "0",
8438 "ProductId": 26
8439 }
8440 },
8441 {
8442 "ProductId": 34,
8443 "Title": "ONEcount Promotional Emails",
8444 "Description": "Master List of ONEcount prospects to receive promotional emails, etc.",
8445 "ResourceIDs": [
8446 98,
8447 114
8448 ],
8449 "PrimaryFormID": [
8450 "194"
8451 ],
8452 "Terms": {
8453 "Id": 34,
8454 "Name": "ONEcount Promotional Emails",
8455 "Description": "ONEcount promotional emails",
8456 "Duration": 1,
8457 "DurationUnit": "I",
8458 "Price": "0",
8459 "ProductId": 34
8460 }
8461 },
8462 {
8463 "ProductId": 42,
8464 "Title": "ONEcount Staff",
8465 "Description": "ONEcount/GCN Media Staff",
8466 "ResourceIDs": [
8467 18
8468 ],
8469 "PrimaryFormID": [
8470 "186"
8471 ],
8472 "Terms": {
8473 "Id": 42,
8474 "Name": "ONEcount Staff List",
8475 "Description": "List of ONEcount/GCN Media Staff",
8476 "Duration": 1,
8477 "DurationUnit": "I",
8478 "Price": "0",
8479 "ProductId": 42
8480 }
8481 },
8482 {
8483 "ProductId": 49,
8484 "Title": "ONEcount Medical Publishers",
8485 "Description": "For blasts to medical publishers and associations",
8486 "ResourceIDs": [
8487 137
8488 ],
8489 "PrimaryFormID": [
8490 "170"
8491 ],
8492 "Terms": {
8493 "Id": 49,
8494 "Name": "ONEcount Medical Publishers",
8495 "Description": "ONEcount Medical Publishers and Associations",
8496 "Duration": 1,
8497 "DurationUnit": "I",
8498 "Price": "0",
8499 "ProductId": 49
8500 }
8501 },
8502 {
8503 "ProductId": 57,
8504 "Title": "000 Pop-Up Form",
8505 "Description": "",
8506 "ResourceIDs": [
8507 145
8508 ],
8509 "PrimaryFormID": [
8510 "170"
8511 ],
8512 "Terms": {
8513 "Id": 57,
8514 "Name": "000 Pop-Up Term",
8515 "Description": "",
8516 "Duration": 1,
8517 "DurationUnit": "I",
8518 "Price": "0",
8519 "ProductId": 57
8520 }
8521 },
8522 {
8523 "ProductId": 65,
8524 "Title": "TEST",
8525 "Description": "",
8526 "ResourceIDs": [],
8527 "PrimaryFormID": [
8528 "194"
8529 ],
8530 "Terms": {}
8531 },
8532 {
8533 "ProductId": 67,
8534 "Title": "Gated Product Example PKG",
8535 "Description": "",
8536 "ResourceIDs": [],
8537 "PrimaryFormID": [
8538 "195"
8539 ],
8540 "Terms": {
8541 "Id": 59,
8542 "Name": "Get it for free",
8543 "Description": "",
8544 "Duration": 1,
8545 "DurationUnit": "I",
8546 "Price": "0",
8547 "ProductId": 67
8548 }
8549 },
8550 {
8551 "ProductId": 75,
8552 "Title": "SB: Apple Moves To Limit Tracking in Safari: Prove",
8553 "Description": "",
8554 "ResourceIDs": [],
8555 "PrimaryFormID": [],
8556 "Terms": {}
8557 },
8558 {
8559 "ProductId": 83,
8560 "Title": "SB: Audience Extension: Turning Identity Into Cash",
8561 "Description": "",
8562 "ResourceIDs": [],
8563 "PrimaryFormID": [],
8564 "Terms": {}
8565 },
8566 {
8567 "ProductId": 91,
8568 "Title": "DAS_freepass_00",
8569 "Description": "",
8570 "ResourceIDs": [
8571 187
8572 ],
8573 "PrimaryFormID": [
8574 "267"
8575 ],
8576 "Terms": {
8577 "Id": 67,
8578 "Name": "DAS_freepass_00",
8579 "Description": "",
8580 "Duration": 30,
8581 "DurationUnit": "D",
8582 "Price": "0",
8583 "ProductId": 91
8584 }
8585 },
8586 {
8587 "ProductId": 99,
8588 "Title": "Test12311111",
8589 "Description": "Testss",
8590 "ResourceIDs": [],
8591 "PrimaryFormID": [
8592 "10"
8593 ],
8594 "Terms": {
8595 "Id": 75,
8596 "Name": "Product123",
8597 "Description": null,
8598 "Duration": 0,
8599 "DurationUnit": "",
8600 "Price": "0",
8601 "ProductId": 99
8602 }
8603 },
8604 {
8605 "ProductId": 107,
8606 "Title": "Test123-456",
8607 "Description": "Testss updated",
8608 "ResourceIDs": [
8609 98
8610 ],
8611 "PrimaryFormID": [
8612 "10"
8613 ],
8614 "Terms": {
8615 "Id": 83,
8616 "Name": "Product123",
8617 "Description": null,
8618 "Duration": 0,
8619 "DurationUnit": "",
8620 "Price": "0",
8621 "ProductId": 107
8622 }
8623 },
8624 {
8625 "ProductId": 109,
8626 "Title": "Webinar: Enhanced Analytics 2-26-2019 at 1 PM",
8627 "Description": "",
8628 "ResourceIDs": [
8629 197
8630 ],
8631 "PrimaryFormID": [],
8632 "Terms": {
8633 "Id": 93,
8634 "Name": "Enhanced Analytics Webinar",
8635 "Description": "Check the box to register for the February 26th webinar.",
8636 "Duration": 1,
8637 "DurationUnit": "I",
8638 "Price": "0",
8639 "ProductId": 109
8640 }
8641 }
8642 ]
8643 }
8644 {{/code}}
8645
8646 \\
8647
8648 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
8649 == (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)specific Product(%%) ==
8650
8651 ----
8652
8653 {{panel bgColor="#D3D3D3" width="100%"}}
8654 (% class="nolink" %)https:~/~/api.onecount.net/v2/users(% style="color: rgb(33,33,33);" %)/products/~{~{product id}}
8655 {{/panel}}
8656
8657 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
8658
8659 ----
8660
8661 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
8662
8663 ==== Example ====
8664
8665 ----
8666
8667 (% style="color: rgb(107,107,107);" %)Request
8668
8669 {{code language="php" theme="RDark" title="Get specific Product Request" collapse="true"}}
8670 <?php
8671
8672 $curl = curl_init();
8673
8674 curl_setopt_array($curl, array(
8675 CURLOPT_URL => 'https://api.onecount.net/v2/users/products/{{product id}}',
8676 CURLOPT_RETURNTRANSFER => true,
8677 CURLOPT_ENCODING => '',
8678 CURLOPT_MAXREDIRS => 10,
8679 CURLOPT_TIMEOUT => 0,
8680 CURLOPT_FOLLOWLOCATION => true,
8681 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
8682 CURLOPT_CUSTOMREQUEST => 'GET',
8683 CURLOPT_HTTPHEADER => array(
8684 'Appkey: {{ONECOUNT API KEY}}'
8685 ),
8686 ));
8687
8688 $response = curl_exec($curl);
8689
8690 curl_close($curl);
8691 echo $response;
8692 {{/code}}
8693
8694 \\
8695
8696 (% style="color: rgb(107,107,107);" %)Response  200 OK
8697
8698 {{code language="yml" theme="RDark" title="Get specific Product Response" collapse="true"}}
8699 {
8700 "result": {
8701 "success": "1",
8702 "error": {
8703 "code": "",
8704 "message": ""
8705 }
8706 },
8707 "Products": [
8708 {
8709 "ProductId": 109,
8710 "Title": "Webinar: Enhanced Analytics 2-26-2019 at 1 PM",
8711 "Description": "",
8712 "ResourceIDs": [
8713 197
8714 ],
8715 "PrimaryFormID": [],
8716 "Terms": {
8717 "Id": 93,
8718 "Name": "Enhanced Analytics Webinar",
8719 "Description": "Check the box to register for the February 26th webinar.",
8720 "Duration": 1,
8721 "DurationUnit": "I",
8722 "Price": "0",
8723 "ProductId": 109
8724 }
8725 }
8726 ]
8727 }
8728 {{/code}}
8729
8730 \\
8731
8732 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
8733 == (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)lookup Product(%%) ==
8734
8735 ----
8736
8737 {{panel bgColor="#D3D3D3" width="100%"}}
8738 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/products/lookup?Title=~{~{Product Name}}
8739 {{/panel}}
8740
8741 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
8742
8743 ----
8744
8745 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
8746
8747 === (% style="color: rgb(33,33,33);" %)Query Params(%%) ===
8748
8749 ----
8750
8751 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Title (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key nolink" style="color: rgb(33, 33, 33); color: rgb(33, 33, 33)" %)~{~{Product Name}}(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)
8752
8753 ==== Example ====
8754
8755 ----
8756
8757 (% style="color: rgb(107,107,107);" %)Request
8758
8759 {{code language="php" theme="RDark" title="Lookup Product Request" collapse="true"}}
8760 <?php
8761
8762 $curl = curl_init();
8763
8764 curl_setopt_array($curl, array(
8765 CURLOPT_URL => 'https://api.onecount.net/v2/products/lookup?Title={{Product Name}}',
8766 CURLOPT_RETURNTRANSFER => true,
8767 CURLOPT_ENCODING => '',
8768 CURLOPT_MAXREDIRS => 10,
8769 CURLOPT_TIMEOUT => 0,
8770 CURLOPT_FOLLOWLOCATION => true,
8771 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
8772 CURLOPT_CUSTOMREQUEST => 'GET',
8773 CURLOPT_HTTPHEADER => array(
8774 'Appkey: {{ONECOUNT API KEY}}'
8775 ),
8776 ));
8777
8778 $response = curl_exec($curl);
8779
8780 curl_close($curl);
8781 echo $response;
8782 {{/code}}
8783
8784 \\
8785
8786 (% style="color: rgb(107,107,107);" %)Response  200 OK
8787
8788 {{code language="yml" theme="RDark" title="Lookup Product Response" collapse="true"}}
8789 {
8790 "result": {
8791 "success": "1",
8792 "error": {
8793 "code": "",
8794 "message": ""
8795 }
8796 },
8797 "Products": [
8798 {
8799 "ProductId": 107,
8800 "Title": "Test123-456",
8801 "Description": "Testss updated",
8802 "Terms": {
8803 "Id": 83,
8804 "Name": "Product123",
8805 "Description": null,
8806 "Duration": 0,
8807 "DurationUnit": "",
8808 "Price": "0",
8809 "ProductId": 107
8810 }
8811 }
8812 ]
8813 }
8814 {{/code}}
8815
8816 \\
8817
8818 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
8819 == (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33, 33, 33); color: rgb(173, 122, 3)" %)POST(% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %) Create Product(%%) ==
8820
8821 ----
8822
8823 {{panel bgColor="#D3D3D3" width="100%"}}
8824 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/products
8825 {{/panel}}
8826
8827 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
8828
8829 ----
8830
8831 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
8832
8833 === (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
8834
8835 ----
8836
8837 {{code language="yml" theme="RDark" title="Body" collapse="true"}}
8838 {"Title":"Test API package creation 2","Description": "Test API package creation 2","Terms":{"Name":"Test term for API 2"},"PrimaryFormId":0}
8839 {{/code}}
8840
8841 ==== Example ====
8842
8843 ----
8844
8845 (% style="color: rgb(107,107,107);" %)Request
8846
8847 {{code language="php" theme="RDark" title="Create Product Request" collapse="true"}}
8848 <?php
8849
8850 $curl = curl_init();
8851
8852 curl_setopt_array($curl, array(
8853 CURLOPT_URL => 'https://api.onecount.net/v2/products',
8854 CURLOPT_RETURNTRANSFER => true,
8855 CURLOPT_ENCODING => '',
8856 CURLOPT_MAXREDIRS => 10,
8857 CURLOPT_TIMEOUT => 0,
8858 CURLOPT_FOLLOWLOCATION => true,
8859 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
8860 CURLOPT_CUSTOMREQUEST => 'POST',
8861 CURLOPT_POSTFIELDS =>'{"Title":"Test API package creation 1","Description": "Test API package creation 1","Terms":{"Name":"Test term for API 1"},"PrimaryFormId":0}',
8862 CURLOPT_HTTPHEADER => array(
8863 'Appkey: {{ONECOUNT API KEY}}'
8864 ),
8865 ));
8866
8867 $response = curl_exec($curl);
8868
8869 curl_close($curl);
8870 echo $response;
8871 {{/code}}
8872
8873 \\
8874
8875 (% style="color: rgb(107,107,107);" %)Response  200 OK
8876
8877 {{code language="yml" theme="RDark" title="Create Product Response" collapse="true"}}
8878 {
8879 "result": {
8880 "success": "1",
8881 "error": {
8882 "code": "",
8883 "message": ""
8884 }
8885 },
8886 "Products": [
8887 {
8888 "ProductId": 599
8889 }
8890 ]
8891 }
8892 {{/code}}
8893
8894 \\
8895
8896 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
8897 == (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33, 33, 33); color: rgb(0, 83, 184)" %)PUT (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)Update Product(%%) ==
8898
8899 ----
8900
8901 {{panel bgColor="#D3D3D3" width="100%"}}
8902 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/products/~{~{Product id}}
8903 {{/panel}}
8904
8905 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
8906
8907 ----
8908
8909 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
8910
8911 === (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
8912
8913 ----
8914
8915 {{code language="yml" theme="RDark" title="Body" collapse="true"}}
8916 {"Title":"Test API package 23","Description": "Test API package 23","PrimaryFormId":0}
8917 {{/code}}
8918
8919 ==== Example ====
8920
8921 ----
8922
8923 (% style="color: rgb(107,107,107);" %)Request
8924
8925 {{code language="php" theme="RDark" title="Update Product Request" collapse="true"}}
8926 <?php
8927
8928 $curl = curl_init();
8929
8930 curl_setopt_array($curl, array(
8931 CURLOPT_URL => 'https://api.onecount.net/v2/products/{{Product id}}',
8932 CURLOPT_RETURNTRANSFER => true,
8933 CURLOPT_ENCODING => '',
8934 CURLOPT_MAXREDIRS => 10,
8935 CURLOPT_TIMEOUT => 0,
8936 CURLOPT_FOLLOWLOCATION => true,
8937 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
8938 CURLOPT_CUSTOMREQUEST => 'PUT',
8939 CURLOPT_POSTFIELDS =>'{"Title":"Test API package 1","Description": "Test API package 1","PrimaryFormId":0}',
8940 CURLOPT_HTTPHEADER => array(
8941 'Appkey: {{ONECOUNT API KEY}}'
8942 ),
8943 ));
8944
8945 $response = curl_exec($curl);
8946
8947 curl_close($curl);
8948 echo $response;
8949
8950 {{/code}}
8951
8952 \\
8953
8954 (% style="color: rgb(107,107,107);" %)Response  200 OK
8955
8956 {{code language="yml" theme="RDark" title="Update Product Response" collapse="true"}}
8957 {
8958 "result": {
8959 "success": "1",
8960 "error": {
8961 "code": "",
8962 "message": ""
8963 }
8964 },
8965 "Products": [
8966 {
8967 "ProductId": 599,
8968 "Title": "Test API package 1",
8969 "Description": "Test API package 1"
8970 }
8971 ]
8972 }
8973 {{/code}}
8974
8975 \\
8976
8977 (% class="western" %)
8978 **COMPONENT: Terms**
8979
8980 (% class="western" %)
8981 This resource is for manipulating terms resource. A term can be created, updated or searched.
8982
8983 (% class="wrapped" %)
8984 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8985 (((
8986 (% class="western" %)
8987 **Method**
8988 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8989 (((
8990 (% class="western" %)
8991 **Url**
8992 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8993 (((
8994 (% class="western" %)
8995 **Action**
8996 )))
8997 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
8998 (((
8999 (% class="western" %)
9000 GET
9001 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9002 (((
9003 (% class="western" %)
9004 /terms/5
9005 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9006 (((
9007 (% class="western" %)
9008 Get term id 5
9009 )))
9010 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9011 (((
9012 (% class="western" %)
9013 GET
9014 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9015 (((
9016 (% class="western" %)
9017 /terms/lookup?Name=termname
9018 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9019 (((
9020 (% class="western" %)
9021 Lookup terms by Name
9022 )))
9023 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9024 (((
9025 (% class="western" %)
9026 POST
9027 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9028 (((
9029 (% class="western" %)
9030 /terms
9031 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9032 (((
9033 (% class="western" %)
9034 JSON of the terms type object needs to be sent as post data. Id field should not be sent.
9035 )))
9036 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9037 (((
9038 (% class="western" %)
9039 PUT
9040 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9041 (((
9042 (% class="western" %)
9043 /terms/5
9044 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9045 (((
9046 (% class="western" %)
9047 JSON of the terms type object needs to be sent as post data. Id field is mandatory for update.
9048 )))
9049
9050 \\
9051
9052 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
9053 == (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)All Terms(%%) ==
9054
9055 ----
9056
9057 ----
9058
9059 {{panel bgColor="#D3D3D3" width="100%"}}
9060 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/terms
9061 {{/panel}}
9062
9063 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
9064
9065 ----
9066
9067 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
9068
9069 ==== Example ====
9070
9071 ----
9072
9073 (% style="color: rgb(107,107,107);" %)Request
9074
9075 {{code language="php" theme="RDark" title="Get All Terms Request" collapse="true"}}
9076 <?php
9077
9078 $curl = curl_init();
9079
9080 curl_setopt_array($curl, array(
9081 CURLOPT_URL => 'https://api.onecount.net/v2/terms',
9082 CURLOPT_RETURNTRANSFER => true,
9083 CURLOPT_ENCODING => '',
9084 CURLOPT_MAXREDIRS => 10,
9085 CURLOPT_TIMEOUT => 0,
9086 CURLOPT_FOLLOWLOCATION => true,
9087 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
9088 CURLOPT_CUSTOMREQUEST => 'GET',
9089 CURLOPT_HTTPHEADER => array(
9090 'Appkey: {{ONECOUNT API KEY}}'
9091 ),
9092 ));
9093
9094 $response = curl_exec($curl);
9095
9096 curl_close($curl);
9097 echo $response;
9098 {{/code}}
9099
9100 \\
9101
9102 (% style="color: rgb(107,107,107);" %)Response  200 OK
9103
9104 {{code language="yml" theme="RDark" title="Get All Terms Response" collapse="true"}}
9105 {
9106 "result": {
9107 "success": "1",
9108 "error": {
9109 "code": "",
9110 "message": ""
9111 }
9112 },
9113 "Terms": [
9114 {
9115 "Id": 26,
9116 "Name": "Please contact me to arrange a demo",
9117 "Description": "",
9118 "Duration": 1,
9119 "DurationUnit": "I",
9120 "Price": "0",
9121 "ProductId": 26
9122 },
9123 {
9124 "Id": 34,
9125 "Name": "ONEcount Promotional Emails",
9126 "Description": "ONEcount promotional emails",
9127 "Duration": 1,
9128 "DurationUnit": "I",
9129 "Price": "0",
9130 "ProductId": 34
9131 },
9132 {
9133 "Id": 42,
9134 "Name": "ONEcount Staff List",
9135 "Description": "List of ONEcount/GCN Media Staff",
9136 "Duration": 1,
9137 "DurationUnit": "I",
9138 "Price": "0",
9139 "ProductId": 42
9140 },
9141 {
9142 "Id": 49,
9143 "Name": "ONEcount Medical Publishers",
9144 "Description": "ONEcount Medical Publishers and Associations",
9145 "Duration": 1,
9146 "DurationUnit": "I",
9147 "Price": "0",
9148 "ProductId": 49
9149 },
9150 {
9151 "Id": 57,
9152 "Name": "000 Pop-Up Term",
9153 "Description": "",
9154 "Duration": 1,
9155 "DurationUnit": "I",
9156 "Price": "0",
9157 "ProductId": 57
9158 },
9159 {
9160 "Id": 59,
9161 "Name": "Get it for free",
9162 "Description": "",
9163 "Duration": 1,
9164 "DurationUnit": "I",
9165 "Price": "0",
9166 "ProductId": 67
9167 },
9168 {
9169 "Id": 67,
9170 "Name": "DAS_freepass_00",
9171 "Description": "",
9172 "Duration": 30,
9173 "DurationUnit": "D",
9174 "Price": "0",
9175 "ProductId": 91
9176 },
9177 {
9178 "Id": 75,
9179 "Name": "Product123",
9180 "Description": null,
9181 "Duration": 0,
9182 "DurationUnit": "",
9183 "Price": "0",
9184 "ProductId": 99
9185 },
9186 {
9187 "Id": 83,
9188 "Name": "Product123",
9189 "Description": null,
9190 "Duration": 0,
9191 "DurationUnit": "",
9192 "Price": "0",
9193 "ProductId": 107
9194 },
9195 {
9196 "Id": 91,
9197 "Name": "Test123 update ",
9198 "Description": "Testss updated",
9199 "Duration": 10,
9200 "DurationUnit": "",
9201 "Price": "0",
9202 "ProductId": 107
9203 },
9204 {
9205 "Id": 93,
9206 "Name": "Enhanced Analytics Webinar",
9207 "Description": "Check the box to register for the February 26th webinar.",
9208 "Duration": 1,
9209 "DurationUnit": "I",
9210 "Price": "0",
9211 "ProductId": 109
9212 },
9213 {
9214 "Id": 423,
9215 "Name": "Test term for API",
9216 "Description": null,
9217 "Duration": 0,
9218 "DurationUnit": "",
9219 "Price": "0.00",
9220 "ProductId": 591
9221 },
9222 {
9223 "Id": 431,
9224 "Name": "Test term for API 1",
9225 "Description": null,
9226 "Duration": 0,
9227 "DurationUnit": "",
9228 "Price": "0.00",
9229 "ProductId": 599
9230 }
9231 ]
9232 }
9233 {{/code}}
9234
9235 \\
9236
9237 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
9238 == (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)specific Term(%%) ==
9239
9240 ----
9241
9242 {{panel bgColor="#D3D3D3" width="100%"}}
9243 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/terms/~{~{Term Id}}
9244 {{/panel}}
9245
9246 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
9247
9248 ----
9249
9250 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
9251
9252 ==== Example ====
9253
9254 ----
9255
9256 (% style="color: rgb(107,107,107);" %)Request
9257
9258 {{code language="php" theme="RDark" title="Get specific Term Request" collapse="true"}}
9259 <?php
9260
9261 $curl = curl_init();
9262
9263 curl_setopt_array($curl, array(
9264 CURLOPT_URL => 'https://api.onecount.net/v2/terms/{{Term Id}}',
9265 CURLOPT_RETURNTRANSFER => true,
9266 CURLOPT_ENCODING => '',
9267 CURLOPT_MAXREDIRS => 10,
9268 CURLOPT_TIMEOUT => 0,
9269 CURLOPT_FOLLOWLOCATION => true,
9270 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
9271 CURLOPT_CUSTOMREQUEST => 'GET',
9272 CURLOPT_HTTPHEADER => array(
9273 'Appkey: {{ONECOUNT API KEY}}'
9274 ),
9275 ));
9276
9277 $response = curl_exec($curl);
9278
9279 curl_close($curl);
9280 echo $response;
9281 {{/code}}
9282
9283 \\
9284
9285 (% style="color: rgb(107,107,107);" %)Response  200 OK
9286
9287 {{code language="yml" theme="RDark" title="Get specific Term Response" collapse="true"}}
9288 {
9289 "result": {
9290 "success": "1",
9291 "error": {
9292 "code": "",
9293 "message": ""
9294 }
9295 },
9296 "Terms": [
9297 {
9298 "Id": 431,
9299 "Name": "Test term for API 1",
9300 "Description": null,
9301 "Duration": 0,
9302 "DurationUnit": "",
9303 "Price": "0.00",
9304 "ProductId": 599
9305 }
9306 ]
9307 }
9308 {{/code}}
9309
9310 \\
9311
9312 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
9313 == (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)lookup Term(%%) ==
9314
9315 ----
9316
9317 {{panel bgColor="#D3D3D3" width="100%"}}
9318 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/terms/lookup?Name={(%%){Term Name}}
9319 {{/panel}}
9320
9321 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
9322
9323 ----
9324
9325 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
9326
9327 === (% style="color: rgb(33,33,33);" %)Query Params(%%) ===
9328
9329 ----
9330
9331 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Name (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key nolink" style="color: rgb(33, 33, 33); color: rgb(33, 33, 33)" %){(% style="color: rgb(33,33,33);" class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key nolink" %){Term Name}}
9332
9333 ==== Example ====
9334
9335 ----
9336
9337 (% style="color: rgb(107,107,107);" %)Request
9338
9339 {{code language="php" theme="RDark" title="Lookup Term Request" collapse="true"}}
9340 <?php
9341
9342 $curl = curl_init();
9343
9344 curl_setopt_array($curl, array(
9345 CURLOPT_URL => 'https://api.onecount.net/v2/terms/lookup?Name={{Term Name}}',
9346 CURLOPT_RETURNTRANSFER => true,
9347 CURLOPT_ENCODING => '',
9348 CURLOPT_MAXREDIRS => 10,
9349 CURLOPT_TIMEOUT => 0,
9350 CURLOPT_FOLLOWLOCATION => true,
9351 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
9352 CURLOPT_CUSTOMREQUEST => 'GET',
9353 CURLOPT_HTTPHEADER => array(
9354 'Appkey: {{ONECOUNT API KEY}}'
9355 ),
9356 ));
9357
9358 $response = curl_exec($curl);
9359
9360 curl_close($curl);
9361 echo $response;
9362 {{/code}}
9363
9364 \\
9365
9366 (% style="color: rgb(107,107,107);" %)Response  200 OK
9367
9368 {{code language="yml" theme="RDark" title="Lookup Term Response" collapse="true"}}
9369 {
9370 "result": {
9371 "success": "1",
9372 "error": {
9373 "code": "",
9374 "message": ""
9375 }
9376 },
9377 "Terms": [
9378 {
9379 "Id": 431,
9380 "Name": "Test term for API 1",
9381 "Description": null,
9382 "Duration": 0,
9383 "DurationUnit": "",
9384 "Price": "0.00",
9385 "ProductId": 599
9386 }
9387 ]
9388 }
9389 {{/code}}
9390
9391 \\
9392
9393 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
9394 == (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33, 33, 33); color: rgb(173, 122, 3)" %)POST(% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %) Create Term(%%) ==
9395
9396 ----
9397
9398 {{panel bgColor="#D3D3D3" width="100%"}}
9399 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/terms
9400 {{/panel}}
9401
9402 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
9403
9404 ----
9405
9406 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
9407
9408 === (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
9409
9410 ----
9411
9412 {{code language="yml" theme="RDark" title="Body" collapse="true"}}
9413 {"Name":"Test API term creation","Description":"Test API term creation","Duration":10,"ProductId":599}
9414 {{/code}}
9415
9416 ==== Example ====
9417
9418 ----
9419
9420 (% style="color: rgb(107,107,107);" %)Request
9421
9422 {{code language="php" theme="RDark" title="Create Term Request" collapse="true"}}
9423 <?php
9424
9425 $curl = curl_init();
9426
9427 curl_setopt_array($curl, array(
9428 CURLOPT_URL => 'https://api.onecount.net/v2/terms',
9429 CURLOPT_RETURNTRANSFER => true,
9430 CURLOPT_ENCODING => '',
9431 CURLOPT_MAXREDIRS => 10,
9432 CURLOPT_TIMEOUT => 0,
9433 CURLOPT_FOLLOWLOCATION => true,
9434 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
9435 CURLOPT_CUSTOMREQUEST => 'POST',
9436 CURLOPT_POSTFIELDS =>'{"Name":"Test API term creation","Description":"Test API term creation","Duration":10,"ProductId":599}
9437
9438 ',
9439 CURLOPT_HTTPHEADER => array(
9440 'Appkey: {{ONECOUNT API KEY}}'
9441 ),
9442 ));
9443
9444 $response = curl_exec($curl);
9445
9446 curl_close($curl);
9447 echo $response;
9448
9449
9450 {{/code}}
9451
9452 \\
9453
9454 (% style="color: rgb(107,107,107);" %)Response  200 OK
9455
9456 {{code language="yml" theme="RDark" title="Create Term Response" collapse="true"}}
9457 {
9458 "result": {
9459 "success": "1",
9460 "error": {
9461 "code": "",
9462 "message": ""
9463 }
9464 },
9465 "Terms": [
9466 {
9467 "Id": 447
9468 }
9469 ]
9470 }
9471 {{/code}}
9472
9473 \\
9474
9475 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
9476 == (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33, 33, 33); color: rgb(0, 83, 184)" %)PUT (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)Update Term(%%) ==
9477
9478 ----
9479
9480 {{panel bgColor="#D3D3D3" width="100%"}}
9481 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/terms/~{~{Term Id}}
9482 {{/panel}}
9483
9484 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
9485
9486 ----
9487
9488 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
9489
9490 === (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
9491
9492 ----
9493
9494 {{code language="yml" theme="RDark" title="Body" collapse="true"}}
9495 {"Name":"Test API term creation update","Description":"Test API term creation update","Duration":10,"ProductId":599}
9496 {{/code}}
9497
9498 ==== Example ====
9499
9500 ----
9501
9502 (% style="color: rgb(107,107,107);" %)Request
9503
9504 {{code language="php" theme="RDark" title="Update Term Request" collapse="true"}}
9505 <?php
9506
9507 $curl = curl_init();
9508
9509 curl_setopt_array($curl, array(
9510 CURLOPT_URL => 'https://api.onecount.net/v2/terms/{{Term Id}}',
9511 CURLOPT_RETURNTRANSFER => true,
9512 CURLOPT_ENCODING => '',
9513 CURLOPT_MAXREDIRS => 10,
9514 CURLOPT_TIMEOUT => 0,
9515 CURLOPT_FOLLOWLOCATION => true,
9516 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
9517 CURLOPT_CUSTOMREQUEST => 'PUT',
9518 CURLOPT_POSTFIELDS =>'{"Name":"Test API term creation update","Description":"Test API term creation update","Duration":10,"ProductId":599}',
9519 CURLOPT_HTTPHEADER => array(
9520 'Appkey: {{ONECOUNT API KEY}}'
9521 ),
9522 ));
9523
9524 $response = curl_exec($curl);
9525
9526 curl_close($curl);
9527 echo $response;
9528 {{/code}}
9529
9530 \\
9531
9532 (% style="color: rgb(107,107,107);" %)Response  200 OK
9533
9534 {{code language="yml" theme="RDark" title="Update Term Response" collapse="true"}}
9535 {
9536 "result": {
9537 "success": "1",
9538 "error": {
9539 "code": "",
9540 "message": ""
9541 }
9542 },
9543 "Terms": [
9544 {
9545 "Id": 447,
9546 "Name": "Test API term creation update",
9547 "Description": "Test API term creation update",
9548 "Duration": 10,
9549 "DurationUnit": "",
9550 "Price": "0.00",
9551 "ProductId": 599
9552 }
9553 ]
9554 }
9555 {{/code}}
9556
9557 \\
9558
9559 (% class="western" %)
9560 **COMPONENT: Resources**
9561
9562 (% class="western" %)
9563 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.
9564
9565 * (((
9566 (% class="western" %)
9567 questions
9568 )))
9569 * (((
9570 (% class="western" %)
9571 users
9572 )))
9573 * (((
9574 (% class="western" %)
9575 products
9576 )))
9577 * (((
9578 (% class="western" %)
9579 terms
9580 )))
9581 * (((
9582 (% class="western" %)
9583 resources
9584 )))
9585 * (((
9586 (% class="western" %)
9587 sources
9588 )))
9589 * (((
9590 (% class="western" %)
9591 transactions
9592 )))
9593
9594 (% class="western" %)
9595 **~ **
9596
9597 (% class="western" %)
9598 This resource is for manipulating resources resource. A resource can be created, updated or searched.
9599
9600 (% class="wrapped" %)
9601 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9602 (((
9603 (% class="western" %)
9604 **Method**
9605 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9606 (((
9607 (% class="western" %)
9608 **Url**
9609 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9610 (((
9611 (% class="western" %)
9612 **Action**
9613 )))
9614 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9615 (((
9616 (% class="western" %)
9617 GET
9618 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9619 (((
9620 (% class="western" %)
9621 /resources/5
9622 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9623 (((
9624 (% class="western" %)
9625 Get resource id 5
9626 )))
9627 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9628 (((
9629 (% class="western" %)
9630 GET
9631 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9632 (((
9633 (% class="western" %)
9634 /resources/lookup?Name=resourcename
9635 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9636 (((
9637 (% class="western" %)
9638 Lookup resources by Name
9639 )))
9640 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9641 (((
9642 (% class="western" %)
9643 POST
9644 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9645 (((
9646 (% class="western" %)
9647 /resources
9648 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9649 (((
9650 (% class="western" %)
9651 JSON of the resources type object needs to be sent as post data. Id field should not be sent.
9652 )))
9653 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9654 (((
9655 (% class="western" %)
9656 PUT
9657 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9658 (((
9659 (% class="western" %)
9660 /resources/5
9661 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
9662 (((
9663 (% class="western" %)
9664 JSON of the resources type object needs to be sent as post data. Id field is mandatory for update.
9665 )))
9666
9667 \\
9668
9669 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
9670 == (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)All Resources(%%) ==
9671
9672 ----
9673
9674 ----
9675
9676 {{panel bgColor="#D3D3D3" width="100%"}}
9677 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/resources
9678 {{/panel}}
9679
9680 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
9681
9682 ----
9683
9684 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
9685
9686 ==== Example ====
9687
9688 ----
9689
9690 (% style="color: rgb(107,107,107);" %)Request
9691
9692 {{code language="php" theme="RDark" title="Get All Resource Request" collapse="true"}}
9693 <?php
9694
9695 $curl = curl_init();
9696
9697 curl_setopt_array($curl, array(
9698 CURLOPT_URL => 'https://api.onecount.net/v2/resources',
9699 CURLOPT_RETURNTRANSFER => true,
9700 CURLOPT_ENCODING => '',
9701 CURLOPT_MAXREDIRS => 10,
9702 CURLOPT_TIMEOUT => 0,
9703 CURLOPT_FOLLOWLOCATION => true,
9704 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
9705 CURLOPT_CUSTOMREQUEST => 'GET',
9706 CURLOPT_HTTPHEADER => array(
9707 'Appkey: {{ONECOUNT API KEY}}'
9708 ),
9709 ));
9710
9711 $response = curl_exec($curl);
9712
9713 curl_close($curl);
9714 echo $response;
9715 {{/code}}
9716
9717 \\
9718
9719 (% style="color: rgb(107,107,107);" %)Response  200 OK
9720
9721 {{code language="yml" theme="RDark" title="Get All Resource Response" collapse="true"}}
9722 {
9723 "result": {
9724 "success": "1",
9725 "error": {
9726 "code": "",
9727 "message": ""
9728 }
9729 },
9730 "Resources": [
9731 {
9732 "Id": 18,
9733 "Name": "ONEcount/GCN Staff Newsletter Resource",
9734 "Description": "ONEcount/GCN Staff Newsletter List",
9735 "Type": "2",
9736 "Value": "57|53|55",
9737 "FreePass": 0
9738 },
9739 {
9740 "Id": 26,
9741 "Name": "GCN TEST GROUP",
9742 "Description": "THESE USER WILL GET TEST MESSAGE",
9743 "Type": "2",
9744 "Value": "47",
9745 "FreePass": 0
9746 },
9747 {
9748 "Id": 98,
9749 "Name": "ONEcount Prospects List",
9750 "Description": "Newsletter List of ONEcount Prospects",
9751 "Type": "2",
9752 "Value": "55",
9753 "FreePass": 0
9754 },
9755 {
9756 "Id": 106,
9757 "Name": "Google Ads Form",
9758 "Description": "",
9759 "Type": "3",
9760 "Value": "http://ocreg.one-count.com/onecount/reg/registerForm.cgi?form=186&brand=OC",
9761 "FreePass": 0
9762 },
9763 {
9764 "Id": 114,
9765 "Name": "secure files",
9766 "Description": "",
9767 "Type": "3",
9768 "Value": "/download.php",
9769 "FreePass": 0
9770 },
9771 {
9772 "Id": 130,
9773 "Name": "REQUEST A DEMO",
9774 "Description": "",
9775 "Type": "3",
9776 "Value": "http://ocreg.one-count.com/onecount/flexreg/displayform.cgi?g=0&form=34",
9777 "FreePass": 0
9778 },
9779 {
9780 "Id": 137,
9781 "Name": "ONEcount Medical Publishers",
9782 "Description": "ONEcount Medical Publishers and Associations",
9783 "Type": "2",
9784 "Value": "61",
9785 "FreePass": 0
9786 },
9787 {
9788 "Id": 145,
9789 "Name": "Pop-Up Test Page",
9790 "Description": "",
9791 "Type": "3",
9792 "Value": "http://omar.gcnmedia.com/projects/form/gated.html",
9793 "FreePass": 0
9794 },
9795 {
9796 "Id": 146,
9797 "Name": "Platform Resource",
9798 "Description": "Test Resource",
9799 "Type": "3",
9800 "Value": "/Platform",
9801 "FreePass": 0
9802 },
9803 {
9804 "Id": 153,
9805 "Name": "Submitted",
9806 "Description": "",
9807 "Type": "3",
9808 "Value": "http://gcn-reg.onecount.net/onecount/reg/tSuccessView.php?brand=oc",
9809 "FreePass": 0
9810 }
9811 ]
9812 }
9813 {{/code}}
9814
9815 \\
9816
9817 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
9818 == (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)specific Resource(%%) ==
9819
9820 ----
9821
9822 {{panel bgColor="#D3D3D3" width="100%"}}
9823 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/resources/{(%%){Resource ID}}
9824 {{/panel}}
9825
9826 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
9827
9828 ----
9829
9830 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
9831
9832 ==== Example ====
9833
9834 ----
9835
9836 (% style="color: rgb(107,107,107);" %)Request
9837
9838 {{code language="php" theme="RDark" title="Get specific Resource Request" collapse="true"}}
9839 <?php
9840
9841 $curl = curl_init();
9842
9843 curl_setopt_array($curl, array(
9844 CURLOPT_URL => 'https://api.onecount.net/v2/resources/{{Resource ID}}',
9845 CURLOPT_RETURNTRANSFER => true,
9846 CURLOPT_ENCODING => '',
9847 CURLOPT_MAXREDIRS => 10,
9848 CURLOPT_TIMEOUT => 0,
9849 CURLOPT_FOLLOWLOCATION => true,
9850 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
9851 CURLOPT_CUSTOMREQUEST => 'GET',
9852 CURLOPT_HTTPHEADER => array(
9853 'Appkey: {{ONECOUNT API KEY}}'
9854 ),
9855 ));
9856
9857 $response = curl_exec($curl);
9858
9859 curl_close($curl);
9860 echo $response;
9861 {{/code}}
9862
9863 \\
9864
9865 (% style="color: rgb(107,107,107);" %)Response  200 OK
9866
9867 {{code language="yml" theme="RDark" title="Get specific Resource Response" collapse="true"}}
9868 {
9869 "result": {
9870 "success": "1",
9871 "error": {
9872 "code": "",
9873 "message": ""
9874 }
9875 },
9876 "Resources": [
9877 {
9878 "Id": 623,
9879 "Name": "TOP 3 THINGS - NonStop Local News",
9880 "Description": "Tap into Non-Stop News from Montana Right Now! From the Big Story to the 3 Things to Know - we have the moment's essential headlines.",
9881 "Type": "2",
9882 "Value": "",
9883 "FreePass": 0
9884 }
9885 ]
9886 }
9887 {{/code}}
9888
9889 \\
9890
9891 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
9892 == (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)lookup Resource(%%) ==
9893
9894 ----
9895
9896 {{panel bgColor="#D3D3D3" width="100%"}}
9897 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/resources/lookup?Name={(%%){Resource Name}}
9898 {{/panel}}
9899
9900 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
9901
9902 ----
9903
9904 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
9905
9906 === (% style="color: rgb(33,33,33);" %)Query Params(%%) ===
9907
9908 ----
9909
9910 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Name (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key nolink" style="color: rgb(33, 33, 33); color: rgb(33, 33, 33)" %){(% style="color: rgb(33,33,33);" class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key nolink" %){Resource Name}}
9911
9912 ==== Example ====
9913
9914 ----
9915
9916 (% style="color: rgb(107,107,107);" %)Request
9917
9918 {{code language="php" theme="RDark" title="Lookup Resource Request" collapse="true"}}
9919 <?php
9920
9921 $curl = curl_init();
9922
9923 curl_setopt_array($curl, array(
9924 CURLOPT_URL => 'https://api.onecount.net/v2/resources/lookup?Name={{Resource Name}}',
9925 CURLOPT_RETURNTRANSFER => true,
9926 CURLOPT_ENCODING => '',
9927 CURLOPT_MAXREDIRS => 10,
9928 CURLOPT_TIMEOUT => 0,
9929 CURLOPT_FOLLOWLOCATION => true,
9930 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
9931 CURLOPT_CUSTOMREQUEST => 'GET',
9932 CURLOPT_HTTPHEADER => array(
9933 'Appkey: {{ONECOUNT API KEY}}'
9934 ),
9935 ));
9936
9937 $response = curl_exec($curl);
9938
9939 curl_close($curl);
9940 echo $response;
9941 {{/code}}
9942
9943 \\
9944
9945 (% style="color: rgb(107,107,107);" %)Response  200 OK
9946
9947 {{code language="yml" theme="RDark" title="Lookup Resource Response" collapse="true"}}
9948 {
9949 "result": {
9950 "success": "1",
9951 "error": {
9952 "code": "",
9953 "message": ""
9954 }
9955 },
9956 "Resources": [
9957 {
9958 "Id": 479,
9959 "Name": "Virtualization Review",
9960 "Description": "",
9961 "Type": "0",
9962 "Value": "",
9963 "FreePass": 0
9964 }
9965 ]
9966 }
9967 {{/code}}
9968
9969 \\
9970
9971 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
9972 == (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33, 33, 33); color: rgb(173, 122, 3)" %)POST(% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %) Create Resource(%%) ==
9973
9974 ----
9975
9976 {{panel bgColor="#D3D3D3" width="100%"}}
9977 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/resources
9978 {{/panel}}
9979
9980 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
9981
9982 ----
9983
9984 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
9985
9986 === (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
9987
9988 ----
9989
9990 {{code language="yml" theme="RDark" title="Body" collapse="true"}}
9991 {"Name":"Test API product creation 22","Description":"Test API product creation 22","Type":3,"FreePass":1,"Value":["http://one-count.com"],"Gating":false,"Price":0,"PrimaryFormId":"","VendorId":1}
9992 {{/code}}
9993
9994 ==== Example ====
9995
9996 ----
9997
9998 (% style="color: rgb(107,107,107);" %)Request
9999
10000 {{code language="php" theme="RDark" title="Create Resource Request" collapse="true"}}
10001 <?php
10002
10003 $curl = curl_init();
10004
10005 curl_setopt_array($curl, array(
10006 CURLOPT_URL => 'https://api.onecount.net/v2/resources',
10007 CURLOPT_RETURNTRANSFER => true,
10008 CURLOPT_ENCODING => '',
10009 CURLOPT_MAXREDIRS => 10,
10010 CURLOPT_TIMEOUT => 0,
10011 CURLOPT_FOLLOWLOCATION => true,
10012 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
10013 CURLOPT_CUSTOMREQUEST => 'POST',
10014 CURLOPT_POSTFIELDS =>'{"Name":"Test API product creation 21","Description":"Test API product creation 21","Type":3,"FreePass":1,"Value":["http://one-count.com"],"Gating":false,"Price":0,"PrimaryFormId":"","VendorId":1}',
10015 CURLOPT_HTTPHEADER => array(
10016 'Appkey: {{ONECOUNT API KEY}}'
10017 ),
10018 ));
10019
10020 $response = curl_exec($curl);
10021
10022 curl_close($curl);
10023 echo $response;
10024 {{/code}}
10025
10026 \\
10027
10028 (% style="color: rgb(107,107,107);" %)Response  200 OK
10029
10030 {{code language="yml" theme="RDark" title="Create Resource Response" collapse="true"}}
10031 {
10032 "result": {
10033 "success": "1",
10034 "error": {
10035 "code": "",
10036 "message": ""
10037 }
10038 },
10039 "Resources": [
10040 {
10041 "Id": 871,
10042 "Name": "Test API product creation 21",
10043 "Description": "Test API product creation 21",
10044 "Type": "3",
10045 "Value": "http://one-count.com",
10046 "FreePass": 1
10047 }
10048 ]
10049 }
10050 {{/code}}
10051
10052 \\
10053
10054 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
10055 == (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33, 33, 33); color: rgb(0, 83, 184)" %)PUT (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)Update Resource(%%) ==
10056
10057 ----
10058
10059 {{panel bgColor="#D3D3D3" width="100%"}}
10060 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/resources/~{~{resource id}}
10061 {{/panel}}
10062
10063 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
10064
10065 ----
10066
10067 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
10068
10069 === (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
10070
10071 ----
10072
10073 {{code language="yml" theme="RDark" title="Body" collapse="true"}}
10074 {"Name":"Test API product creation 23","Description":"Test API product creation 23","Type":3,"FreePass":1,"Value":["http://one-count.com","onecount.net"],"Gating":false,"Price":0,"PrimaryFormId":"","VendorId":1}
10075 {{/code}}
10076
10077 ==== Example ====
10078
10079 ----
10080
10081 (% style="color: rgb(107,107,107);" %)Request
10082
10083 {{code language="php" theme="RDark" title="Update Resource Request" collapse="true"}}
10084 <?php
10085
10086 $curl = curl_init();
10087
10088 curl_setopt_array($curl, array(
10089 CURLOPT_URL => 'https://api.onecount.net/v2/resources/{{resource id}}',
10090 CURLOPT_RETURNTRANSFER => true,
10091 CURLOPT_ENCODING => '',
10092 CURLOPT_MAXREDIRS => 10,
10093 CURLOPT_TIMEOUT => 0,
10094 CURLOPT_FOLLOWLOCATION => true,
10095 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
10096 CURLOPT_CUSTOMREQUEST => 'PUT',
10097 CURLOPT_POSTFIELDS =>'{"Name":"Test API product creation 23","Description":"Test API product creation 23","Type":3,"FreePass":1,"Value":["http://one-count.com","onecount.net"],"Gating":false,"Price":0,"PrimaryFormId":"","VendorId":1}',
10098 CURLOPT_HTTPHEADER => array(
10099 'Appkey: {{ONECOUNT API KEY}}'
10100 ),
10101 ));
10102
10103 $response = curl_exec($curl);
10104
10105 curl_close($curl);
10106 echo $response;
10107 {{/code}}
10108
10109 \\
10110
10111 (% style="color: rgb(107,107,107);" %)Response  200 OK
10112
10113 {{code language="yml" theme="RDark" title="Update Resource Response" collapse="true"}}
10114 {
10115 "result": {
10116 "success": "1",
10117 "error": {
10118 "code": "",
10119 "message": ""
10120 }
10121 },
10122 "Resources": [
10123 {
10124 "Id": 903,
10125 "Name": "Test API product creation 23",
10126 "Description": "Test API product creation 23",
10127 "Type": "3",
10128 "Value": "http://one-count.com",
10129 "FreePass": 1
10130 },
10131 {
10132 "Id": 903,
10133 "Name": "Test API product creation 23",
10134 "Description": "Test API product creation 23",
10135 "Type": "3",
10136 "Value": "onecount.net",
10137 "FreePass": 1
10138 }
10139 ]
10140 }
10141 {{/code}}
10142
10143 (% class="western" %)
10144 \\
10145
10146 (% class="western" %)
10147 **COMPONENT: Source Codes
10148 **
10149
10150 (% class="western" %)
10151 This resource is for manipulating source code for a resource. A source code can be created, updated or searched.
10152
10153 (% class="wrapped" %)
10154 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10155 (((
10156 (% class="western" %)
10157 **Method**
10158 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10159 (((
10160 (% class="western" %)
10161 **Url**
10162 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10163 (((
10164 (% class="western" %)
10165 **Action**
10166 )))
10167 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10168 (((
10169 (% class="western" %)
10170 GET
10171 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10172 (((
10173 (% class="western" %)
10174 /sources/1
10175 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10176 (((
10177 (% class="western" %)
10178 Get source id 1.
10179 )))
10180 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10181 (((
10182 (% class="western" %)
10183 GET
10184 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10185 (((
10186 (% class="western" %)
10187 /sources/lookup?Source=sourcename
10188 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10189 (((
10190 (% class="western" %)
10191 Lookup sources by source.
10192 )))
10193 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10194 (((
10195 (% class="western" %)
10196 POST
10197 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10198 (((
10199 (% class="western" %)
10200 /sources
10201 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10202 (((
10203 (% class="western" %)
10204 JSON of the Sources type object needs to be sent as post data. Id field should not be sent.
10205 )))
10206 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10207 (((
10208 (% class="western" %)
10209 PUT
10210 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10211 (((
10212 (% class="western" %)
10213 /sources
10214 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10215 (((
10216 (% class="western" %)
10217 JSON of the Sources type object needs to be sent as post data. Id field is mandatory for update.
10218 )))
10219
10220 \\
10221
10222 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
10223 == (% 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(%%) ==
10224
10225 ----
10226
10227 ----
10228
10229 {{panel bgColor="#D3D3D3" width="100%"}}
10230 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/sources
10231 {{/panel}}
10232
10233 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
10234
10235 ----
10236
10237 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
10238
10239 ==== Example ====
10240
10241 ----
10242
10243 (% style="color: rgb(107,107,107);" %)Request
10244
10245 {{code language="php" theme="RDark" title="Get All Source code Request" collapse="true"}}
10246 <?php
10247
10248 $curl = curl_init();
10249
10250 curl_setopt_array($curl, array(
10251 CURLOPT_URL => 'https://api.onecount.net/v2/sources',
10252 CURLOPT_RETURNTRANSFER => true,
10253 CURLOPT_ENCODING => '',
10254 CURLOPT_MAXREDIRS => 10,
10255 CURLOPT_TIMEOUT => 0,
10256 CURLOPT_FOLLOWLOCATION => true,
10257 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
10258 CURLOPT_CUSTOMREQUEST => 'GET',
10259 CURLOPT_HTTPHEADER => array(
10260 'Appkey: {{ONECOUNT API KEY}}'
10261 ),
10262 ));
10263
10264 $response = curl_exec($curl);
10265
10266 curl_close($curl);
10267 echo $response;
10268 {{/code}}
10269
10270 \\
10271
10272 (% style="color: rgb(107,107,107);" %)Response  200 OK
10273
10274 {{code language="yml" theme="RDark" title="Get All Source code Response" collapse="true"}}
10275 {
10276 "result": {
10277 "success": "1",
10278 "error": {
10279 "code": "",
10280 "message": ""
10281 }
10282 },
10283 "Sources": [
10284 {
10285 "Id": 26,
10286 "Source": "GCN-Member",
10287 "Description": "Uploaded from Reston VA",
10288 "Parent": 0
10289 },
10290 {
10291 "Id": 34,
10292 "Source": "SugarID",
10293 "Description": "Sugar IDs cleaned contacts list and cleaned leads list sent by Sean Fulton for upload.",
10294 "Parent": 0
10295 },
10296 {
10297 "Id": 42,
10298 "Source": "DEMOFORM",
10299 "Description": "\"Request a Demo\" form from one-count.com",
10300 "Parent": 0
10301 },
10302 {
10303 "Id": 50,
10304 "Source": "ABM ANNUAL 2014",
10305 "Description": "ABM Annual 2014 - Registration List for Sponsors",
10306 "Parent": 0
10307 },
10308 {
10309 "Id": 58,
10310 "Source": "BIMS REG LIST",
10311 "Description": "BIMS Registration List for Sponsors (2013/2014)",
10312 "Parent": 0
10313 },
10314 {
10315 "Id": 66,
10316 "Source": "SIPA 13",
10317 "Description": "SIPA 2013 - sponsor - attendees",
10318 "Parent": 0
10319 },
10320 {
10321 "Id": 74,
10322 "Source": "Google Ads",
10323 "Description": "From Google Banner Ads",
10324 "Parent": 0
10325 },
10326 {
10327 "Id": 82,
10328 "Source": "EDIT PROFILE",
10329 "Description": "FOR EDIT PROFILE FORM",
10330 "Parent": 0
10331 },
10332 {
10333 "Id": 83,
10334 "Source": "Test Source Code",
10335 "Description": "",
10336 "Parent": 0
10337 },
10338 {
10339 "Id": 91,
10340 "Source": "NEWSLETTER",
10341 "Description": "Newsletter",
10342 "Parent": 0
10343 },
10344 {
10345 "Id": 99,
10346 "Source": "INFOTANKS-comps-only_12032019",
10347 "Description": "",
10348 "Parent": 0
10349 },
10350 {
10351 "Id": 107,
10352 "Source": "INFOTANKS-DMP-only_12102019",
10353 "Description": "",
10354 "Parent": 0
10355 },
10356 {
10357 "Id": 109,
10358 "Source": "BMVM",
10359 "Description": "Active Attendees",
10360 "Parent": 0
10361 },
10362 {
10363 "Id": 115,
10364 "Source": "USECASES",
10365 "Description": "Use Case PDF",
10366 "Parent": 0
10367 },
10368 {
10369 "Id": 123,
10370 "Source": "Borrell Miami 2022",
10371 "Description": "",
10372 "Parent": 0
10373 },
10374 {
10375 "Id": 131,
10376 "Source": "05092022-telemarketing",
10377 "Description": "",
10378 "Parent": 0
10379 },
10380 {
10381 "Id": 139,
10382 "Source": "WEBINAR6.15.22",
10383 "Description": "Live Webinar Series June 15, 2022",
10384 "Parent": 0
10385 },
10386 {
10387 "Id": 147,
10388 "Source": "LMA Show List",
10389 "Description": "",
10390 "Parent": 0
10391 },
10392 {
10393 "Id": 155,
10394 "Source": "AAA",
10395 "Description": "",
10396 "Parent": 0
10397 },
10398 {
10399 "Id": 163,
10400 "Source": "MGS2022",
10401 "Description": "",
10402 "Parent": 0
10403 },
10404 {
10405 "Id": 171,
10406 "Source": "MGS2023",
10407 "Description": "",
10408 "Parent": 0
10409 },
10410 {
10411 "Id": 179,
10412 "Source": "Sugar Leads",
10413 "Description": "",
10414 "Parent": 0
10415 },
10416 {
10417 "Id": 187,
10418 "Source": "seansbox",
10419 "Description": "",
10420 "Parent": 0
10421 },
10422 {
10423 "Id": 191,
10424 "Source": "SEEITLIVE",
10425 "Description": "Lunch & Learn Webinar Series with Special Partner Guests",
10426 "Parent": 0
10427 },
10428 {
10429 "Id": 199,
10430 "Source": "80-percent-conversion-rates",
10431 "Description": "",
10432 "Parent": 0
10433 }
10434 ]
10435 }
10436 {{/code}}
10437
10438 \\
10439
10440 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
10441 == (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)specific Source code(%%) ==
10442
10443 ----
10444
10445 {{panel bgColor="#D3D3D3" width="100%"}}
10446 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/sources/~{~{source code id}}
10447 {{/panel}}
10448
10449 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
10450
10451 ----
10452
10453 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
10454
10455 ==== Example ====
10456
10457 ----
10458
10459 (% style="color: rgb(107,107,107);" %)Request
10460
10461 {{code language="php" theme="RDark" title="Get specific Source Request" collapse="true"}}
10462 <?php
10463
10464 $curl = curl_init();
10465
10466 curl_setopt_array($curl, array(
10467 CURLOPT_URL => 'https://api.onecount.net/v2/sources/{{source code id}}',
10468 CURLOPT_RETURNTRANSFER => true,
10469 CURLOPT_ENCODING => '',
10470 CURLOPT_MAXREDIRS => 10,
10471 CURLOPT_TIMEOUT => 0,
10472 CURLOPT_FOLLOWLOCATION => true,
10473 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
10474 CURLOPT_CUSTOMREQUEST => 'GET',
10475 CURLOPT_HTTPHEADER => array(
10476 'Appkey: {{ONECOUNT API KEY}}'
10477 ),
10478 ));
10479
10480 $response = curl_exec($curl);
10481
10482 curl_close($curl);
10483 echo $response;
10484 {{/code}}
10485
10486 \\
10487
10488 (% style="color: rgb(107,107,107);" %)Response  200 OK
10489
10490 {{code language="yml" theme="RDark" title="Get specific Source Response" collapse="true"}}
10491 {
10492 "result": {
10493 "success": "1",
10494 "error": {
10495 "code": "",
10496 "message": ""
10497 }
10498 },
10499 "Sources": [
10500 {
10501 "Id": 26,
10502 "Source": "GCN-Member",
10503 "Description": "Uploaded from Reston VA",
10504 "Parent": 0
10505 }
10506 ]
10507 }
10508 {{/code}}
10509
10510 \\
10511
10512 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
10513 == (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)lookup Source code(%%) ==
10514
10515 ----
10516
10517 {{panel bgColor="#D3D3D3" width="100%"}}
10518 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/sources/lookup?Source={(%%){Source code Name}}
10519 {{/panel}}
10520
10521 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
10522
10523 ----
10524
10525 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
10526
10527 === (% style="color: rgb(33,33,33);" %)Query Params(%%) ===
10528
10529 ----
10530
10531 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Source (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key nolink" style="color: rgb(33, 33, 33); color: rgb(33, 33, 33)" %){(% style="color: rgb(33,33,33);" class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key nolink" %){Source code Name}}
10532
10533 ==== Example ====
10534
10535 ----
10536
10537 (% style="color: rgb(107,107,107);" %)Request
10538
10539 {{code language="php" theme="RDark" title="Lookup Source code Request" collapse="true"}}
10540 <?php
10541
10542 $curl = curl_init();
10543
10544 curl_setopt_array($curl, array(
10545 CURLOPT_URL => 'https://api.onecount.net/v2/sources/lookup?Source={{Source code Name}}',
10546 CURLOPT_RETURNTRANSFER => true,
10547 CURLOPT_ENCODING => '',
10548 CURLOPT_MAXREDIRS => 10,
10549 CURLOPT_TIMEOUT => 0,
10550 CURLOPT_FOLLOWLOCATION => true,
10551 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
10552 CURLOPT_CUSTOMREQUEST => 'GET',
10553 CURLOPT_HTTPHEADER => array(
10554 'Appkey: {{ONECOUNT API KEY}}'
10555 ),
10556 ));
10557
10558 $response = curl_exec($curl);
10559
10560 curl_close($curl);
10561 echo $response;
10562 {{/code}}
10563
10564 \\
10565
10566 (% style="color: rgb(107,107,107);" %)Response  200 OK
10567
10568 {{code language="yml" theme="RDark" title="Lookup Source code Response" collapse="true"}}
10569 {
10570 "result": {
10571 "success": "1",
10572 "error": {
10573 "code": "",
10574 "message": ""
10575 }
10576 },
10577 "Sources": [
10578 {
10579 "Id": 26,
10580 "Source": "GCN-Member",
10581 "Description": "Uploaded from Reston VA",
10582 "Parent": 0
10583 }
10584 ]
10585 }
10586 {{/code}}
10587
10588 \\
10589
10590 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
10591 == (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33, 33, 33); color: rgb(173, 122, 3)" %)POST(% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %) Create Source code(%%) ==
10592
10593 ----
10594
10595 {{panel bgColor="#D3D3D3" width="100%"}}
10596 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/sources
10597 {{/panel}}
10598
10599 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
10600
10601 ----
10602
10603 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
10604
10605 === (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
10606
10607 ----
10608
10609 {{code language="yml" theme="RDark" title="Body" collapse="true"}}
10610 {"Source":"Test source code from API"}
10611 {{/code}}
10612
10613 ==== Example ====
10614
10615 ----
10616
10617 (% style="color: rgb(107,107,107);" %)Request
10618
10619 {{code language="php" theme="RDark" title="Create Source code Request" collapse="true"}}
10620 <?php
10621
10622 $curl = curl_init();
10623
10624 curl_setopt_array($curl, array(
10625 CURLOPT_URL => 'https://api.onecount.net/v2/sources',
10626 CURLOPT_RETURNTRANSFER => true,
10627 CURLOPT_ENCODING => '',
10628 CURLOPT_MAXREDIRS => 10,
10629 CURLOPT_TIMEOUT => 0,
10630 CURLOPT_FOLLOWLOCATION => true,
10631 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
10632 CURLOPT_CUSTOMREQUEST => 'POST',
10633 CURLOPT_POSTFIELDS =>'{"Source":"Test source code from API"}',
10634 CURLOPT_HTTPHEADER => array(
10635 'Appkey: {{ONECOUNT API KEY}}'
10636 ),
10637 ));
10638
10639 $response = curl_exec($curl);
10640
10641 curl_close($curl);
10642 echo $response;
10643 {{/code}}
10644
10645 \\
10646
10647 (% style="color: rgb(107,107,107);" %)Response  200 OK
10648
10649 {{code language="yml" theme="RDark" title="Create Source code Response" collapse="true"}}
10650 {
10651 "result": {
10652 "success": "1",
10653 "error": {
10654 "code": "",
10655 "message": ""
10656 }
10657 },
10658 "Sources": [
10659 {
10660 "Id": 223,
10661 "Source": "Test source code from API",
10662 "Description": "",
10663 "Parent": 0
10664 }
10665 ]
10666 }
10667 {{/code}}
10668
10669 \\
10670
10671 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
10672 == (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33, 33, 33); color: rgb(0, 83, 184)" %)PUT (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)Update Source code(%%) ==
10673
10674 ----
10675
10676 {{panel bgColor="#D3D3D3" width="100%"}}
10677 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/sources/~{~{source code id}}
10678 {{/panel}}
10679
10680 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
10681
10682 ----
10683
10684 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
10685
10686 === (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
10687
10688 ----
10689
10690 {{code language="yml" theme="RDark" title="Body" collapse="true"}}
10691 {"Source":"Test API","Parent":215}
10692 {{/code}}
10693
10694 ==== Example ====
10695
10696 ----
10697
10698 (% style="color: rgb(107,107,107);" %)Request
10699
10700 {{code language="php" theme="RDark" title="Update Source code Request" collapse="true"}}
10701 <?php
10702
10703 $curl = curl_init();
10704
10705 curl_setopt_array($curl, array(
10706 CURLOPT_URL => 'https://api.onecount.net/v2/sources/{{source code id}}',
10707 CURLOPT_RETURNTRANSFER => true,
10708 CURLOPT_ENCODING => '',
10709 CURLOPT_MAXREDIRS => 10,
10710 CURLOPT_TIMEOUT => 0,
10711 CURLOPT_FOLLOWLOCATION => true,
10712 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
10713 CURLOPT_CUSTOMREQUEST => 'PUT',
10714 CURLOPT_POSTFIELDS =>'{"Source":"Test API","Parent":215}',
10715 CURLOPT_HTTPHEADER => array(
10716 'Appkey: {{ONECOUNT API KEY}}'
10717 ),
10718 ));
10719
10720 $response = curl_exec($curl);
10721
10722 curl_close($curl);
10723 echo $response;
10724 {{/code}}
10725
10726 \\
10727
10728 (% style="color: rgb(107,107,107);" %)Response  200 OK
10729
10730 {{code language="yml" theme="RDark" title="Update Source code Response" collapse="true"}}
10731 {
10732 "result": {
10733 "success": "1",
10734 "error": {
10735 "code": "",
10736 "message": ""
10737 }
10738 },
10739 "Sources": [
10740 {
10741 "Id": 223,
10742 "Source": "Test API",
10743 "Description": "",
10744 "Parent": 215
10745 }
10746 ]
10747 }
10748 {{/code}}
10749
10750 (% class="western" %)
10751 \\
10752
10753 (% class="western" %)
10754 **COMPONENT: Transactions**
10755
10756 (% class="western" %)
10757 This resource is for manipulating transactions resource. A transaction can be created or searched.
10758
10759 (% class="wrapped" %)
10760 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10761 (((
10762 (% class="western" %)
10763 **Method**
10764 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10765 (((
10766 (% class="western" %)
10767 **Url**
10768 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10769 (((
10770 (% class="western" %)
10771 **Action**
10772 )))
10773 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10774 (((
10775 (% class="western" %)
10776 GET
10777 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10778 (((
10779 (% class="western" %)
10780 /transactions
10781 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10782 (((
10783 (% class="western" %)
10784 List all transactions
10785 )))
10786 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10787 (((
10788 (% class="western" %)
10789 GET
10790 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10791 (((
10792 (% class="western" %)
10793 /transactions/lookup?UserId=1
10794 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10795 (((
10796 (% class="western" %)
10797 Lookup all transaction of UserId = 1
10798 )))
10799 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10800 (((
10801 (% class="western" %)
10802 POST
10803 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10804 (((
10805 (% class="western" %)
10806 /transactions
10807 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
10808 (((
10809 (% class="western" %)
10810 JSON of the Transactions type object needs to be sent as post data. Id field should not be sent.
10811 )))
10812
10813 \\
10814
10815 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
10816 == (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)All Transactions(%%) ==
10817
10818 ----
10819
10820 ----
10821
10822 {{panel bgColor="#D3D3D3" width="100%"}}
10823 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/transactions
10824 {{/panel}}
10825
10826 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
10827
10828 ----
10829
10830 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
10831
10832 ==== Example ====
10833
10834 ----
10835
10836 (% style="color: rgb(107,107,107);" %)Request
10837
10838 {{code language="php" theme="RDark" title="Get All Transaction Request" collapse="true"}}
10839 <?php
10840
10841 $curl = curl_init();
10842
10843 curl_setopt_array($curl, array(
10844 CURLOPT_URL => 'https://api.onecount.net/v2/transactions',
10845 CURLOPT_RETURNTRANSFER => true,
10846 CURLOPT_ENCODING => '',
10847 CURLOPT_MAXREDIRS => 10,
10848 CURLOPT_TIMEOUT => 0,
10849 CURLOPT_FOLLOWLOCATION => true,
10850 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
10851 CURLOPT_CUSTOMREQUEST => 'GET',
10852 CURLOPT_HTTPHEADER => array(
10853 'Appkey: {{ONECOUNT API KEY}}'
10854 ),
10855 ));
10856
10857 $response = curl_exec($curl);
10858
10859 curl_close($curl);
10860 echo $response;
10861 {{/code}}
10862
10863 \\
10864
10865 (% style="color: rgb(107,107,107);" %)Response  200 OK
10866
10867 {{code language="yml" theme="RDark" title="Get All Transaction Response" collapse="true"}}
10868 {
10869 "result": {
10870 "success": "1",
10871 "error": {
10872 "code": "",
10873 "message": ""
10874 }
10875 },
10876 "Transactions": [
10877 {
10878 "Id": 10,
10879 "UserId": 10,
10880 "TermId": 2,
10881 "TransactionDate": "2014-07-17",
10882 "TransactionTime": "10:02:13",
10883 "RequestDate": "2014-07-17",
10884 "UserIP": "74.201.38.1",
10885 "SubscriptionType": "n",
10886 "ProductId": 2,
10887 "Source": 10,
10888 "ProductStatus": 2,
10889 "MediaFilePath": "",
10890 "Amount": ""
10891 },
10892 {
10893 "Id": 26,
10894 "UserId": 10,
10895 "TermId": 2,
10896 "TransactionDate": "2014-07-17",
10897 "TransactionTime": "10:41:59",
10898 "RequestDate": "2014-07-17",
10899 "UserIP": "74.201.38.1",
10900 "SubscriptionType": "r",
10901 "ProductId": 2,
10902 "Source": 10,
10903 "ProductStatus": 2,
10904 "MediaFilePath": "",
10905 "Amount": ""
10906 },
10907 {
10908 "Id": 50,
10909 "UserId": 26,
10910 "TermId": 2,
10911 "TransactionDate": "2014-07-17",
10912 "TransactionTime": "12:25:38",
10913 "RequestDate": "2014-07-17",
10914 "UserIP": "74.201.38.1",
10915 "SubscriptionType": "n",
10916 "ProductId": 2,
10917 "Source": 10,
10918 "ProductStatus": 2,
10919 "MediaFilePath": "",
10920 "Amount": ""
10921 },
10922 {
10923 "Id": 58,
10924 "UserId": 10,
10925 "TermId": 2,
10926 "TransactionDate": "2014-07-17",
10927 "TransactionTime": "12:25:43",
10928 "RequestDate": "2014-07-17",
10929 "UserIP": "74.201.38.1",
10930 "SubscriptionType": "r",
10931 "ProductId": 2,
10932 "Source": 10,
10933 "ProductStatus": 2,
10934 "MediaFilePath": "",
10935 "Amount": ""
10936 },
10937 {
10938 "Id": 66,
10939 "UserId": 42,
10940 "TermId": 2,
10941 "TransactionDate": "2014-07-17",
10942 "TransactionTime": "12:57:11",
10943 "RequestDate": "2014-07-17",
10944 "UserIP": "74.201.38.1",
10945 "SubscriptionType": "n",
10946 "ProductId": 2,
10947 "Source": 26,
10948 "ProductStatus": 2,
10949 "MediaFilePath": "",
10950 "Amount": ""
10951 },
10952 {
10953 "Id": 74,
10954 "UserId": 50,
10955 "TermId": 2,
10956 "TransactionDate": "2014-07-17",
10957 "TransactionTime": "12:57:11",
10958 "RequestDate": "2014-07-17",
10959 "UserIP": "74.201.38.1",
10960 "SubscriptionType": "n",
10961 "ProductId": 2,
10962 "Source": 26,
10963 "ProductStatus": 2,
10964 "MediaFilePath": "",
10965 "Amount": ""
10966 },
10967 {
10968 "Id": 82,
10969 "UserId": 58,
10970 "TermId": 2,
10971 "TransactionDate": "2014-07-17",
10972 "TransactionTime": "12:57:11",
10973 "RequestDate": "2014-07-17",
10974 "UserIP": "74.201.38.1",
10975 "SubscriptionType": "n",
10976 "ProductId": 2,
10977 "Source": 26,
10978 "ProductStatus": 2,
10979 "MediaFilePath": "",
10980 "Amount": ""
10981 },
10982 {
10983 "Id": 90,
10984 "UserId": 66,
10985 "TermId": 2,
10986 "TransactionDate": "2014-07-17",
10987 "TransactionTime": "12:57:11",
10988 "RequestDate": "2014-07-17",
10989 "UserIP": "74.201.38.1",
10990 "SubscriptionType": "n",
10991 "ProductId": 2,
10992 "Source": 26,
10993 "ProductStatus": 2,
10994 "MediaFilePath": "",
10995 "Amount": ""
10996 },
10997 {
10998 "Id": 98,
10999 "UserId": 74,
11000 "TermId": 2,
11001 "TransactionDate": "2014-07-17",
11002 "TransactionTime": "12:57:11",
11003 "RequestDate": "2014-07-17",
11004 "UserIP": "74.201.38.1",
11005 "SubscriptionType": "n",
11006 "ProductId": 2,
11007 "Source": 26,
11008 "ProductStatus": 2,
11009 "MediaFilePath": "",
11010 "Amount": ""
11011 },
11012 {
11013 "Id": 106,
11014 "UserId": 82,
11015 "TermId": 2,
11016 "TransactionDate": "2014-07-17",
11017 "TransactionTime": "12:57:11",
11018 "RequestDate": "2014-07-17",
11019 "UserIP": "74.201.38.1",
11020 "SubscriptionType": "n",
11021 "ProductId": 2,
11022 "Source": 26,
11023 "ProductStatus": 2,
11024 "MediaFilePath": "",
11025 "Amount": ""
11026 },
11027 {
11028 "Id": 114,
11029 "UserId": 90,
11030 "TermId": 2,
11031 "TransactionDate": "2014-07-17",
11032 "TransactionTime": "12:57:11",
11033 "RequestDate": "2014-07-17",
11034 "UserIP": "74.201.38.1",
11035 "SubscriptionType": "n",
11036 "ProductId": 2,
11037 "Source": 26,
11038 "ProductStatus": 2,
11039 "MediaFilePath": "",
11040 "Amount": ""
11041 },
11042 {
11043 "Id": 122,
11044 "UserId": 98,
11045 "TermId": 2,
11046 "TransactionDate": "2014-07-17",
11047 "TransactionTime": "12:57:11",
11048 "RequestDate": "2014-07-17",
11049 "UserIP": "74.201.38.1",
11050 "SubscriptionType": "n",
11051 "ProductId": 2,
11052 "Source": 26,
11053 "ProductStatus": 2,
11054 "MediaFilePath": "",
11055 "Amount": ""
11056 },
11057 {
11058 "Id": 130,
11059 "UserId": 42,
11060 "TermId": 2,
11061 "TransactionDate": "2014-07-17",
11062 "TransactionTime": "12:59:10",
11063 "RequestDate": "2014-07-17",
11064 "UserIP": "74.201.38.1",
11065 "SubscriptionType": "r",
11066 "ProductId": 2,
11067 "Source": 10,
11068 "ProductStatus": 2,
11069 "MediaFilePath": "",
11070 "Amount": ""
11071 },
11072 {
11073 "Id": 138,
11074 "UserId": 50,
11075 "TermId": 2,
11076 "TransactionDate": "2014-07-17",
11077 "TransactionTime": "12:59:10",
11078 "RequestDate": "2014-07-17",
11079 "UserIP": "74.201.38.1",
11080 "SubscriptionType": "r",
11081 "ProductId": 2,
11082 "Source": 10,
11083 "ProductStatus": 2,
11084 "MediaFilePath": "",
11085 "Amount": ""
11086 },
11087 {
11088 "Id": 146,
11089 "UserId": 58,
11090 "TermId": 2,
11091 "TransactionDate": "2014-07-17",
11092 "TransactionTime": "12:59:10",
11093 "RequestDate": "2014-07-17",
11094 "UserIP": "74.201.38.1",
11095 "SubscriptionType": "r",
11096 "ProductId": 2,
11097 "Source": 10,
11098 "ProductStatus": 2,
11099 "MediaFilePath": "",
11100 "Amount": ""
11101 },
11102 {
11103 "Id": 154,
11104 "UserId": 66,
11105 "TermId": 2,
11106 "TransactionDate": "2014-07-17",
11107 "TransactionTime": "12:59:10",
11108 "RequestDate": "2014-07-17",
11109 "UserIP": "74.201.38.1",
11110 "SubscriptionType": "r",
11111 "ProductId": 2,
11112 "Source": 10,
11113 "ProductStatus": 2,
11114 "MediaFilePath": "",
11115 "Amount": ""
11116 },
11117 {
11118 "Id": 162,
11119 "UserId": 74,
11120 "TermId": 2,
11121 "TransactionDate": "2014-07-17",
11122 "TransactionTime": "12:59:10",
11123 "RequestDate": "2014-07-17",
11124 "UserIP": "74.201.38.1",
11125 "SubscriptionType": "r",
11126 "ProductId": 2,
11127 "Source": 10,
11128 "ProductStatus": 2,
11129 "MediaFilePath": "",
11130 "Amount": ""
11131 },
11132 {
11133 "Id": 170,
11134 "UserId": 82,
11135 "TermId": 2,
11136 "TransactionDate": "2014-07-17",
11137 "TransactionTime": "12:59:10",
11138 "RequestDate": "2014-07-17",
11139 "UserIP": "74.201.38.1",
11140 "SubscriptionType": "r",
11141 "ProductId": 2,
11142 "Source": 10,
11143 "ProductStatus": 2,
11144 "MediaFilePath": "",
11145 "Amount": ""
11146 },
11147 {
11148 "Id": 178,
11149 "UserId": 90,
11150 "TermId": 2,
11151 "TransactionDate": "2014-07-17",
11152 "TransactionTime": "12:59:10",
11153 "RequestDate": "2014-07-17",
11154 "UserIP": "74.201.38.1",
11155 "SubscriptionType": "r",
11156 "ProductId": 2,
11157 "Source": 10,
11158 "ProductStatus": 2,
11159 "MediaFilePath": "",
11160 "Amount": ""
11161 },
11162 {
11163 "Id": 186,
11164 "UserId": 98,
11165 "TermId": 2,
11166 "TransactionDate": "2014-07-17",
11167 "TransactionTime": "12:59:10",
11168 "RequestDate": "2014-07-17",
11169 "UserIP": "74.201.38.1",
11170 "SubscriptionType": "r",
11171 "ProductId": 2,
11172 "Source": 10,
11173 "ProductStatus": 2,
11174 "MediaFilePath": "",
11175 "Amount": ""
11176 },
11177 {
11178 "Id": 194,
11179 "UserId": 162,
11180 "TermId": 2,
11181 "TransactionDate": "2014-07-17",
11182 "TransactionTime": "13:00:42",
11183 "RequestDate": "2014-07-17",
11184 "UserIP": "74.201.38.1",
11185 "SubscriptionType": "n",
11186 "ProductId": 2,
11187 "Source": 10,
11188 "ProductStatus": 2,
11189 "MediaFilePath": "",
11190 "Amount": ""
11191 },
11192 {
11193 "Id": 202,
11194 "UserId": 170,
11195 "TermId": 2,
11196 "TransactionDate": "2014-07-17",
11197 "TransactionTime": "13:00:42",
11198 "RequestDate": "2014-07-17",
11199 "UserIP": "74.201.38.1",
11200 "SubscriptionType": "n",
11201 "ProductId": 2,
11202 "Source": 10,
11203 "ProductStatus": 2,
11204 "MediaFilePath": "",
11205 "Amount": ""
11206 },
11207 {
11208 "Id": 210,
11209 "UserId": 178,
11210 "TermId": 2,
11211 "TransactionDate": "2014-07-17",
11212 "TransactionTime": "13:00:42",
11213 "RequestDate": "2014-07-17",
11214 "UserIP": "74.201.38.1",
11215 "SubscriptionType": "n",
11216 "ProductId": 2,
11217 "Source": 10,
11218 "ProductStatus": 2,
11219 "MediaFilePath": "",
11220 "Amount": ""
11221 },
11222 {
11223 "Id": 218,
11224 "UserId": 186,
11225 "TermId": 2,
11226 "TransactionDate": "2014-07-17",
11227 "TransactionTime": "13:00:42",
11228 "RequestDate": "2014-07-17",
11229 "UserIP": "74.201.38.1",
11230 "SubscriptionType": "n",
11231 "ProductId": 2,
11232 "Source": 10,
11233 "ProductStatus": 2,
11234 "MediaFilePath": "",
11235 "Amount": ""
11236 },
11237 {
11238 "Id": 226,
11239 "UserId": 194,
11240 "TermId": 2,
11241 "TransactionDate": "2014-07-17",
11242 "TransactionTime": "13:00:42",
11243 "RequestDate": "2014-07-17",
11244 "UserIP": "74.201.38.1",
11245 "SubscriptionType": "n",
11246 "ProductId": 2,
11247 "Source": 10,
11248 "ProductStatus": 2,
11249 "MediaFilePath": "",
11250 "Amount": ""
11251 },
11252 {
11253 "Id": 234,
11254 "UserId": 202,
11255 "TermId": 2,
11256 "TransactionDate": "2014-07-17",
11257 "TransactionTime": "13:00:42",
11258 "RequestDate": "2014-07-17",
11259 "UserIP": "74.201.38.1",
11260 "SubscriptionType": "n",
11261 "ProductId": 2,
11262 "Source": 10,
11263 "ProductStatus": 2,
11264 "MediaFilePath": "",
11265 "Amount": ""
11266 },
11267 {
11268 "Id": 242,
11269 "UserId": 210,
11270 "TermId": 2,
11271 "TransactionDate": "2014-07-17",
11272 "TransactionTime": "13:00:42",
11273 "RequestDate": "2014-07-17",
11274 "UserIP": "74.201.38.1",
11275 "SubscriptionType": "n",
11276 "ProductId": 2,
11277 "Source": 10,
11278 "ProductStatus": 2,
11279 "MediaFilePath": "",
11280 "Amount": ""
11281 },
11282 {
11283 "Id": 250,
11284 "UserId": 218,
11285 "TermId": 2,
11286 "TransactionDate": "2014-07-17",
11287 "TransactionTime": "13:00:42",
11288 "RequestDate": "2014-07-17",
11289 "UserIP": "74.201.38.1",
11290 "SubscriptionType": "n",
11291 "ProductId": 2,
11292 "Source": 10,
11293 "ProductStatus": 2,
11294 "MediaFilePath": "",
11295 "Amount": ""
11296 },
11297 {
11298 "Id": 258,
11299 "UserId": 282,
11300 "TermId": 2,
11301 "TransactionDate": "2014-07-17",
11302 "TransactionTime": "13:02:19",
11303 "RequestDate": "2014-07-17",
11304 "UserIP": "74.201.38.1",
11305 "SubscriptionType": "n",
11306 "ProductId": 2,
11307 "Source": 10,
11308 "ProductStatus": 2,
11309 "MediaFilePath": "",
11310 "Amount": ""
11311 },
11312 {
11313 "Id": 266,
11314 "UserId": 290,
11315 "TermId": 2,
11316 "TransactionDate": "2014-07-17",
11317 "TransactionTime": "13:02:19",
11318 "RequestDate": "2014-07-17",
11319 "UserIP": "74.201.38.1",
11320 "SubscriptionType": "n",
11321 "ProductId": 2,
11322 "Source": 10,
11323 "ProductStatus": 2,
11324 "MediaFilePath": "",
11325 "Amount": ""
11326 },
11327 {
11328 "Id": 274,
11329 "UserId": 298,
11330 "TermId": 2,
11331 "TransactionDate": "2014-07-17",
11332 "TransactionTime": "13:02:19",
11333 "RequestDate": "2014-07-17",
11334 "UserIP": "74.201.38.1",
11335 "SubscriptionType": "n",
11336 "ProductId": 2,
11337 "Source": 10,
11338 "ProductStatus": 2,
11339 "MediaFilePath": "",
11340 "Amount": ""
11341 },
11342 {
11343 "Id": 282,
11344 "UserId": 306,
11345 "TermId": 2,
11346 "TransactionDate": "2014-07-17",
11347 "TransactionTime": "13:02:19",
11348 "RequestDate": "2014-07-17",
11349 "UserIP": "74.201.38.1",
11350 "SubscriptionType": "n",
11351 "ProductId": 2,
11352 "Source": 10,
11353 "ProductStatus": 2,
11354 "MediaFilePath": "",
11355 "Amount": ""
11356 },
11357 {
11358 "Id": 290,
11359 "UserId": 314,
11360 "TermId": 2,
11361 "TransactionDate": "2014-07-17",
11362 "TransactionTime": "13:02:19",
11363 "RequestDate": "2014-07-17",
11364 "UserIP": "74.201.38.1",
11365 "SubscriptionType": "n",
11366 "ProductId": 2,
11367 "Source": 10,
11368 "ProductStatus": 2,
11369 "MediaFilePath": "",
11370 "Amount": ""
11371 },
11372 {
11373 "Id": 298,
11374 "UserId": 322,
11375 "TermId": 2,
11376 "TransactionDate": "2014-07-17",
11377 "TransactionTime": "13:02:19",
11378 "RequestDate": "2014-07-17",
11379 "UserIP": "74.201.38.1",
11380 "SubscriptionType": "n",
11381 "ProductId": 2,
11382 "Source": 10,
11383 "ProductStatus": 2,
11384 "MediaFilePath": "",
11385 "Amount": ""
11386 },
11387 {
11388 "Id": 306,
11389 "UserId": 330,
11390 "TermId": 2,
11391 "TransactionDate": "2014-07-17",
11392 "TransactionTime": "13:02:19",
11393 "RequestDate": "2014-07-17",
11394 "UserIP": "74.201.38.1",
11395 "SubscriptionType": "n",
11396 "ProductId": 2,
11397 "Source": 10,
11398 "ProductStatus": 2,
11399 "MediaFilePath": "",
11400 "Amount": ""
11401 },
11402 {
11403 "Id": 466,
11404 "UserId": 698,
11405 "TermId": 2,
11406 "TransactionDate": "2014-07-17",
11407 "TransactionTime": "13:13:06",
11408 "RequestDate": "2014-07-17",
11409 "UserIP": "74.201.38.1",
11410 "SubscriptionType": "n",
11411 "ProductId": 2,
11412 "Source": 26,
11413 "ProductStatus": 2,
11414 "MediaFilePath": "",
11415 "Amount": ""
11416 },
11417 {
11418 "Id": 474,
11419 "UserId": 706,
11420 "TermId": 2,
11421 "TransactionDate": "2014-07-17",
11422 "TransactionTime": "13:13:06",
11423 "RequestDate": "2014-07-17",
11424 "UserIP": "74.201.38.1",
11425 "SubscriptionType": "n",
11426 "ProductId": 2,
11427 "Source": 26,
11428 "ProductStatus": 2,
11429 "MediaFilePath": "",
11430 "Amount": ""
11431 },
11432 {
11433 "Id": 482,
11434 "UserId": 714,
11435 "TermId": 2,
11436 "TransactionDate": "2014-07-17",
11437 "TransactionTime": "13:13:06",
11438 "RequestDate": "2014-07-17",
11439 "UserIP": "74.201.38.1",
11440 "SubscriptionType": "n",
11441 "ProductId": 2,
11442 "Source": 26,
11443 "ProductStatus": 2,
11444 "MediaFilePath": "",
11445 "Amount": ""
11446 },
11447 {
11448 "Id": 490,
11449 "UserId": 722,
11450 "TermId": 2,
11451 "TransactionDate": "2014-07-17",
11452 "TransactionTime": "13:13:06",
11453 "RequestDate": "2014-07-17",
11454 "UserIP": "74.201.38.1",
11455 "SubscriptionType": "n",
11456 "ProductId": 2,
11457 "Source": 26,
11458 "ProductStatus": 2,
11459 "MediaFilePath": "",
11460 "Amount": ""
11461 },
11462 {
11463 "Id": 498,
11464 "UserId": 730,
11465 "TermId": 2,
11466 "TransactionDate": "2014-07-17",
11467 "TransactionTime": "13:13:06",
11468 "RequestDate": "2014-07-17",
11469 "UserIP": "74.201.38.1",
11470 "SubscriptionType": "n",
11471 "ProductId": 2,
11472 "Source": 26,
11473 "ProductStatus": 2,
11474 "MediaFilePath": "",
11475 "Amount": ""
11476 },
11477 {
11478 "Id": 506,
11479 "UserId": 738,
11480 "TermId": 2,
11481 "TransactionDate": "2014-07-17",
11482 "TransactionTime": "13:13:06",
11483 "RequestDate": "2014-07-17",
11484 "UserIP": "74.201.38.1",
11485 "SubscriptionType": "n",
11486 "ProductId": 2,
11487 "Source": 26,
11488 "ProductStatus": 2,
11489 "MediaFilePath": "",
11490 "Amount": ""
11491 },
11492 {
11493 "Id": 522,
11494 "UserId": 754,
11495 "TermId": 18,
11496 "TransactionDate": "2014-08-19",
11497 "TransactionTime": "11:18:55",
11498 "RequestDate": "2014-08-19",
11499 "UserIP": "74.201.38.1",
11500 "SubscriptionType": "n",
11501 "ProductId": 18,
11502 "Source": 34,
11503 "ProductStatus": 2,
11504 "MediaFilePath": "",
11505 "Amount": ""
11506 },
11507 {
11508 "Id": 530,
11509 "UserId": 762,
11510 "TermId": 18,
11511 "TransactionDate": "2014-08-19",
11512 "TransactionTime": "11:18:55",
11513 "RequestDate": "2014-08-19",
11514 "UserIP": "74.201.38.1",
11515 "SubscriptionType": "n",
11516 "ProductId": 18,
11517 "Source": 34,
11518 "ProductStatus": 2,
11519 "MediaFilePath": "",
11520 "Amount": ""
11521 },
11522 {
11523 "Id": 538,
11524 "UserId": 770,
11525 "TermId": 18,
11526 "TransactionDate": "2014-08-19",
11527 "TransactionTime": "11:18:55",
11528 "RequestDate": "2014-08-19",
11529 "UserIP": "74.201.38.1",
11530 "SubscriptionType": "n",
11531 "ProductId": 18,
11532 "Source": 34,
11533 "ProductStatus": 2,
11534 "MediaFilePath": "",
11535 "Amount": ""
11536 },
11537 {
11538 "Id": 546,
11539 "UserId": 778,
11540 "TermId": 18,
11541 "TransactionDate": "2014-08-19",
11542 "TransactionTime": "11:18:55",
11543 "RequestDate": "2014-08-19",
11544 "UserIP": "74.201.38.1",
11545 "SubscriptionType": "n",
11546 "ProductId": 18,
11547 "Source": 34,
11548 "ProductStatus": 2,
11549 "MediaFilePath": "",
11550 "Amount": ""
11551 },
11552 {
11553 "Id": 554,
11554 "UserId": 786,
11555 "TermId": 18,
11556 "TransactionDate": "2014-08-19",
11557 "TransactionTime": "11:18:55",
11558 "RequestDate": "2014-08-19",
11559 "UserIP": "74.201.38.1",
11560 "SubscriptionType": "n",
11561 "ProductId": 18,
11562 "Source": 34,
11563 "ProductStatus": 2,
11564 "MediaFilePath": "",
11565 "Amount": ""
11566 },
11567 {
11568 "Id": 570,
11569 "UserId": 802,
11570 "TermId": 18,
11571 "TransactionDate": "2014-08-19",
11572 "TransactionTime": "11:18:55",
11573 "RequestDate": "2014-08-19",
11574 "UserIP": "74.201.38.1",
11575 "SubscriptionType": "n",
11576 "ProductId": 18,
11577 "Source": 34,
11578 "ProductStatus": 2,
11579 "MediaFilePath": "",
11580 "Amount": ""
11581 },
11582 {
11583 "Id": 578,
11584 "UserId": 810,
11585 "TermId": 18,
11586 "TransactionDate": "2014-08-19",
11587 "TransactionTime": "11:18:55",
11588 "RequestDate": "2014-08-19",
11589 "UserIP": "74.201.38.1",
11590 "SubscriptionType": "n",
11591 "ProductId": 18,
11592 "Source": 34,
11593 "ProductStatus": 2,
11594 "MediaFilePath": "",
11595 "Amount": ""
11596 },
11597 {
11598 "Id": 586,
11599 "UserId": 818,
11600 "TermId": 18,
11601 "TransactionDate": "2014-08-19",
11602 "TransactionTime": "11:18:55",
11603 "RequestDate": "2014-08-19",
11604 "UserIP": "74.201.38.1",
11605 "SubscriptionType": "n",
11606 "ProductId": 18,
11607 "Source": 34,
11608 "ProductStatus": 2,
11609 "MediaFilePath": "",
11610 "Amount": ""
11611 },
11612 {
11613 "Id": 602,
11614 "UserId": 834,
11615 "TermId": 18,
11616 "TransactionDate": "2014-08-19",
11617 "TransactionTime": "11:18:55",
11618 "RequestDate": "2014-08-19",
11619 "UserIP": "74.201.38.1",
11620 "SubscriptionType": "n",
11621 "ProductId": 18,
11622 "Source": 34,
11623 "ProductStatus": 2,
11624 "MediaFilePath": "",
11625 "Amount": ""
11626 },
11627 {
11628 "Id": 610,
11629 "UserId": 842,
11630 "TermId": 18,
11631 "TransactionDate": "2014-08-19",
11632 "TransactionTime": "11:18:55",
11633 "RequestDate": "2014-08-19",
11634 "UserIP": "74.201.38.1",
11635 "SubscriptionType": "n",
11636 "ProductId": 18,
11637 "Source": 34,
11638 "ProductStatus": 2,
11639 "MediaFilePath": "",
11640 "Amount": ""
11641 },
11642 {
11643 "Id": 618,
11644 "UserId": 850,
11645 "TermId": 18,
11646 "TransactionDate": "2014-08-19",
11647 "TransactionTime": "11:18:55",
11648 "RequestDate": "2014-08-19",
11649 "UserIP": "74.201.38.1",
11650 "SubscriptionType": "n",
11651 "ProductId": 18,
11652 "Source": 34,
11653 "ProductStatus": 2,
11654 "MediaFilePath": "",
11655 "Amount": ""
11656 },
11657 {
11658 "Id": 626,
11659 "UserId": 858,
11660 "TermId": 18,
11661 "TransactionDate": "2014-08-19",
11662 "TransactionTime": "11:18:55",
11663 "RequestDate": "2014-08-19",
11664 "UserIP": "74.201.38.1",
11665 "SubscriptionType": "n",
11666 "ProductId": 18,
11667 "Source": 34,
11668 "ProductStatus": 2,
11669 "MediaFilePath": "",
11670 "Amount": ""
11671 },
11672 {
11673 "Id": 634,
11674 "UserId": 866,
11675 "TermId": 18,
11676 "TransactionDate": "2014-08-19",
11677 "TransactionTime": "11:18:55",
11678 "RequestDate": "2014-08-19",
11679 "UserIP": "74.201.38.1",
11680 "SubscriptionType": "n",
11681 "ProductId": 18,
11682 "Source": 34,
11683 "ProductStatus": 2,
11684 "MediaFilePath": "",
11685 "Amount": ""
11686 },
11687 {
11688 "Id": 642,
11689 "UserId": 874,
11690 "TermId": 18,
11691 "TransactionDate": "2014-08-19",
11692 "TransactionTime": "11:18:55",
11693 "RequestDate": "2014-08-19",
11694 "UserIP": "74.201.38.1",
11695 "SubscriptionType": "n",
11696 "ProductId": 18,
11697 "Source": 34,
11698 "ProductStatus": 2,
11699 "MediaFilePath": "",
11700 "Amount": ""
11701 },
11702 {
11703 "Id": 650,
11704 "UserId": 882,
11705 "TermId": 18,
11706 "TransactionDate": "2014-08-19",
11707 "TransactionTime": "11:18:55",
11708 "RequestDate": "2014-08-19",
11709 "UserIP": "74.201.38.1",
11710 "SubscriptionType": "n",
11711 "ProductId": 18,
11712 "Source": 34,
11713 "ProductStatus": 2,
11714 "MediaFilePath": "",
11715 "Amount": ""
11716 },
11717 {
11718 "Id": 658,
11719 "UserId": 890,
11720 "TermId": 18,
11721 "TransactionDate": "2014-08-19",
11722 "TransactionTime": "11:18:55",
11723 "RequestDate": "2014-08-19",
11724 "UserIP": "74.201.38.1",
11725 "SubscriptionType": "n",
11726 "ProductId": 18,
11727 "Source": 34,
11728 "ProductStatus": 2,
11729 "MediaFilePath": "",
11730 "Amount": ""
11731 },
11732 {
11733 "Id": 666,
11734 "UserId": 898,
11735 "TermId": 18,
11736 "TransactionDate": "2014-08-19",
11737 "TransactionTime": "11:18:55",
11738 "RequestDate": "2014-08-19",
11739 "UserIP": "74.201.38.1",
11740 "SubscriptionType": "n",
11741 "ProductId": 18,
11742 "Source": 34,
11743 "ProductStatus": 2,
11744 "MediaFilePath": "",
11745 "Amount": ""
11746 },
11747 {
11748 "Id": 674,
11749 "UserId": 906,
11750 "TermId": 18,
11751 "TransactionDate": "2014-08-19",
11752 "TransactionTime": "11:18:55",
11753 "RequestDate": "2014-08-19",
11754 "UserIP": "74.201.38.1",
11755 "SubscriptionType": "n",
11756 "ProductId": 18,
11757 "Source": 34,
11758 "ProductStatus": 2,
11759 "MediaFilePath": "",
11760 "Amount": ""
11761 },
11762 {
11763 "Id": 682,
11764 "UserId": 914,
11765 "TermId": 18,
11766 "TransactionDate": "2014-08-19",
11767 "TransactionTime": "11:18:55",
11768 "RequestDate": "2014-08-19",
11769 "UserIP": "74.201.38.1",
11770 "SubscriptionType": "n",
11771 "ProductId": 18,
11772 "Source": 34,
11773 "ProductStatus": 2,
11774 "MediaFilePath": "",
11775 "Amount": ""
11776 },
11777 {
11778 "Id": 690,
11779 "UserId": 922,
11780 "TermId": 18,
11781 "TransactionDate": "2014-08-19",
11782 "TransactionTime": "11:18:55",
11783 "RequestDate": "2014-08-19",
11784 "UserIP": "74.201.38.1",
11785 "SubscriptionType": "n",
11786 "ProductId": 18,
11787 "Source": 34,
11788 "ProductStatus": 2,
11789 "MediaFilePath": "",
11790 "Amount": ""
11791 },
11792 {
11793 "Id": 698,
11794 "UserId": 930,
11795 "TermId": 18,
11796 "TransactionDate": "2014-08-19",
11797 "TransactionTime": "11:18:55",
11798 "RequestDate": "2014-08-19",
11799 "UserIP": "74.201.38.1",
11800 "SubscriptionType": "n",
11801 "ProductId": 18,
11802 "Source": 34,
11803 "ProductStatus": 2,
11804 "MediaFilePath": "",
11805 "Amount": ""
11806 },
11807 {
11808 "Id": 706,
11809 "UserId": 938,
11810 "TermId": 18,
11811 "TransactionDate": "2014-08-19",
11812 "TransactionTime": "11:18:55",
11813 "RequestDate": "2014-08-19",
11814 "UserIP": "74.201.38.1",
11815 "SubscriptionType": "n",
11816 "ProductId": 18,
11817 "Source": 34,
11818 "ProductStatus": 2,
11819 "MediaFilePath": "",
11820 "Amount": ""
11821 },
11822 {
11823 "Id": 714,
11824 "UserId": 946,
11825 "TermId": 18,
11826 "TransactionDate": "2014-08-19",
11827 "TransactionTime": "11:18:55",
11828 "RequestDate": "2014-08-19",
11829 "UserIP": "74.201.38.1",
11830 "SubscriptionType": "n",
11831 "ProductId": 18,
11832 "Source": 34,
11833 "ProductStatus": 2,
11834 "MediaFilePath": "",
11835 "Amount": ""
11836 },
11837 {
11838 "Id": 722,
11839 "UserId": 954,
11840 "TermId": 18,
11841 "TransactionDate": "2014-08-19",
11842 "TransactionTime": "11:18:55",
11843 "RequestDate": "2014-08-19",
11844 "UserIP": "74.201.38.1",
11845 "SubscriptionType": "n",
11846 "ProductId": 18,
11847 "Source": 34,
11848 "ProductStatus": 2,
11849 "MediaFilePath": "",
11850 "Amount": ""
11851 },
11852 {
11853 "Id": 730,
11854 "UserId": 962,
11855 "TermId": 18,
11856 "TransactionDate": "2014-08-19",
11857 "TransactionTime": "11:18:55",
11858 "RequestDate": "2014-08-19",
11859 "UserIP": "74.201.38.1",
11860 "SubscriptionType": "n",
11861 "ProductId": 18,
11862 "Source": 34,
11863 "ProductStatus": 2,
11864 "MediaFilePath": "",
11865 "Amount": ""
11866 },
11867 {
11868 "Id": 738,
11869 "UserId": 970,
11870 "TermId": 18,
11871 "TransactionDate": "2014-08-19",
11872 "TransactionTime": "11:18:55",
11873 "RequestDate": "2014-08-19",
11874 "UserIP": "74.201.38.1",
11875 "SubscriptionType": "n",
11876 "ProductId": 18,
11877 "Source": 34,
11878 "ProductStatus": 2,
11879 "MediaFilePath": "",
11880 "Amount": ""
11881 },
11882 {
11883 "Id": 746,
11884 "UserId": 978,
11885 "TermId": 18,
11886 "TransactionDate": "2014-08-19",
11887 "TransactionTime": "11:18:55",
11888 "RequestDate": "2014-08-19",
11889 "UserIP": "74.201.38.1",
11890 "SubscriptionType": "n",
11891 "ProductId": 18,
11892 "Source": 34,
11893 "ProductStatus": 2,
11894 "MediaFilePath": "",
11895 "Amount": ""
11896 },
11897 {
11898 "Id": 754,
11899 "UserId": 986,
11900 "TermId": 18,
11901 "TransactionDate": "2014-08-19",
11902 "TransactionTime": "11:18:55",
11903 "RequestDate": "2014-08-19",
11904 "UserIP": "74.201.38.1",
11905 "SubscriptionType": "n",
11906 "ProductId": 18,
11907 "Source": 34,
11908 "ProductStatus": 2,
11909 "MediaFilePath": "",
11910 "Amount": ""
11911 },
11912 {
11913 "Id": 762,
11914 "UserId": 994,
11915 "TermId": 18,
11916 "TransactionDate": "2014-08-19",
11917 "TransactionTime": "11:18:55",
11918 "RequestDate": "2014-08-19",
11919 "UserIP": "74.201.38.1",
11920 "SubscriptionType": "n",
11921 "ProductId": 18,
11922 "Source": 34,
11923 "ProductStatus": 2,
11924 "MediaFilePath": "",
11925 "Amount": ""
11926 },
11927 {
11928 "Id": 770,
11929 "UserId": 1002,
11930 "TermId": 18,
11931 "TransactionDate": "2014-08-19",
11932 "TransactionTime": "11:18:55",
11933 "RequestDate": "2014-08-19",
11934 "UserIP": "74.201.38.1",
11935 "SubscriptionType": "n",
11936 "ProductId": 18,
11937 "Source": 34,
11938 "ProductStatus": 2,
11939 "MediaFilePath": "",
11940 "Amount": ""
11941 },
11942 {
11943 "Id": 778,
11944 "UserId": 1010,
11945 "TermId": 18,
11946 "TransactionDate": "2014-08-19",
11947 "TransactionTime": "11:18:55",
11948 "RequestDate": "2014-08-19",
11949 "UserIP": "74.201.38.1",
11950 "SubscriptionType": "n",
11951 "ProductId": 18,
11952 "Source": 34,
11953 "ProductStatus": 2,
11954 "MediaFilePath": "",
11955 "Amount": ""
11956 },
11957 {
11958 "Id": 786,
11959 "UserId": 1018,
11960 "TermId": 18,
11961 "TransactionDate": "2014-08-19",
11962 "TransactionTime": "11:18:55",
11963 "RequestDate": "2014-08-19",
11964 "UserIP": "74.201.38.1",
11965 "SubscriptionType": "n",
11966 "ProductId": 18,
11967 "Source": 34,
11968 "ProductStatus": 2,
11969 "MediaFilePath": "",
11970 "Amount": ""
11971 },
11972 {
11973 "Id": 794,
11974 "UserId": 1026,
11975 "TermId": 18,
11976 "TransactionDate": "2014-08-19",
11977 "TransactionTime": "11:18:55",
11978 "RequestDate": "2014-08-19",
11979 "UserIP": "74.201.38.1",
11980 "SubscriptionType": "n",
11981 "ProductId": 18,
11982 "Source": 34,
11983 "ProductStatus": 2,
11984 "MediaFilePath": "",
11985 "Amount": ""
11986 },
11987 {
11988 "Id": 802,
11989 "UserId": 1034,
11990 "TermId": 18,
11991 "TransactionDate": "2014-08-19",
11992 "TransactionTime": "11:18:55",
11993 "RequestDate": "2014-08-19",
11994 "UserIP": "74.201.38.1",
11995 "SubscriptionType": "n",
11996 "ProductId": 18,
11997 "Source": 34,
11998 "ProductStatus": 2,
11999 "MediaFilePath": "",
12000 "Amount": ""
12001 },
12002 {
12003 "Id": 810,
12004 "UserId": 1042,
12005 "TermId": 18,
12006 "TransactionDate": "2014-08-19",
12007 "TransactionTime": "11:18:55",
12008 "RequestDate": "2014-08-19",
12009 "UserIP": "74.201.38.1",
12010 "SubscriptionType": "n",
12011 "ProductId": 18,
12012 "Source": 34,
12013 "ProductStatus": 2,
12014 "MediaFilePath": "",
12015 "Amount": ""
12016 },
12017 {
12018 "Id": 818,
12019 "UserId": 1050,
12020 "TermId": 18,
12021 "TransactionDate": "2014-08-19",
12022 "TransactionTime": "11:18:55",
12023 "RequestDate": "2014-08-19",
12024 "UserIP": "74.201.38.1",
12025 "SubscriptionType": "n",
12026 "ProductId": 18,
12027 "Source": 34,
12028 "ProductStatus": 2,
12029 "MediaFilePath": "",
12030 "Amount": ""
12031 },
12032 {
12033 "Id": 826,
12034 "UserId": 1058,
12035 "TermId": 18,
12036 "TransactionDate": "2014-08-19",
12037 "TransactionTime": "11:18:55",
12038 "RequestDate": "2014-08-19",
12039 "UserIP": "74.201.38.1",
12040 "SubscriptionType": "n",
12041 "ProductId": 18,
12042 "Source": 34,
12043 "ProductStatus": 2,
12044 "MediaFilePath": "",
12045 "Amount": ""
12046 },
12047 {
12048 "Id": 834,
12049 "UserId": 1066,
12050 "TermId": 18,
12051 "TransactionDate": "2014-08-19",
12052 "TransactionTime": "11:18:55",
12053 "RequestDate": "2014-08-19",
12054 "UserIP": "74.201.38.1",
12055 "SubscriptionType": "n",
12056 "ProductId": 18,
12057 "Source": 34,
12058 "ProductStatus": 2,
12059 "MediaFilePath": "",
12060 "Amount": ""
12061 },
12062 {
12063 "Id": 842,
12064 "UserId": 1074,
12065 "TermId": 18,
12066 "TransactionDate": "2014-08-19",
12067 "TransactionTime": "11:18:55",
12068 "RequestDate": "2014-08-19",
12069 "UserIP": "74.201.38.1",
12070 "SubscriptionType": "n",
12071 "ProductId": 18,
12072 "Source": 34,
12073 "ProductStatus": 2,
12074 "MediaFilePath": "",
12075 "Amount": ""
12076 },
12077 {
12078 "Id": 850,
12079 "UserId": 1082,
12080 "TermId": 18,
12081 "TransactionDate": "2014-08-19",
12082 "TransactionTime": "11:18:55",
12083 "RequestDate": "2014-08-19",
12084 "UserIP": "74.201.38.1",
12085 "SubscriptionType": "n",
12086 "ProductId": 18,
12087 "Source": 34,
12088 "ProductStatus": 2,
12089 "MediaFilePath": "",
12090 "Amount": ""
12091 },
12092 {
12093 "Id": 858,
12094 "UserId": 1090,
12095 "TermId": 18,
12096 "TransactionDate": "2014-08-19",
12097 "TransactionTime": "11:18:55",
12098 "RequestDate": "2014-08-19",
12099 "UserIP": "74.201.38.1",
12100 "SubscriptionType": "n",
12101 "ProductId": 18,
12102 "Source": 34,
12103 "ProductStatus": 2,
12104 "MediaFilePath": "",
12105 "Amount": ""
12106 },
12107 {
12108 "Id": 866,
12109 "UserId": 1098,
12110 "TermId": 18,
12111 "TransactionDate": "2014-08-19",
12112 "TransactionTime": "11:18:55",
12113 "RequestDate": "2014-08-19",
12114 "UserIP": "74.201.38.1",
12115 "SubscriptionType": "n",
12116 "ProductId": 18,
12117 "Source": 34,
12118 "ProductStatus": 2,
12119 "MediaFilePath": "",
12120 "Amount": ""
12121 },
12122 {
12123 "Id": 874,
12124 "UserId": 1106,
12125 "TermId": 18,
12126 "TransactionDate": "2014-08-19",
12127 "TransactionTime": "11:18:55",
12128 "RequestDate": "2014-08-19",
12129 "UserIP": "74.201.38.1",
12130 "SubscriptionType": "n",
12131 "ProductId": 18,
12132 "Source": 34,
12133 "ProductStatus": 2,
12134 "MediaFilePath": "",
12135 "Amount": ""
12136 },
12137 {
12138 "Id": 882,
12139 "UserId": 1114,
12140 "TermId": 18,
12141 "TransactionDate": "2014-08-19",
12142 "TransactionTime": "11:18:55",
12143 "RequestDate": "2014-08-19",
12144 "UserIP": "74.201.38.1",
12145 "SubscriptionType": "n",
12146 "ProductId": 18,
12147 "Source": 34,
12148 "ProductStatus": 2,
12149 "MediaFilePath": "",
12150 "Amount": ""
12151 },
12152 {
12153 "Id": 890,
12154 "UserId": 1122,
12155 "TermId": 18,
12156 "TransactionDate": "2014-08-19",
12157 "TransactionTime": "11:18:55",
12158 "RequestDate": "2014-08-19",
12159 "UserIP": "74.201.38.1",
12160 "SubscriptionType": "n",
12161 "ProductId": 18,
12162 "Source": 34,
12163 "ProductStatus": 2,
12164 "MediaFilePath": "",
12165 "Amount": ""
12166 },
12167 {
12168 "Id": 898,
12169 "UserId": 1130,
12170 "TermId": 18,
12171 "TransactionDate": "2014-08-19",
12172 "TransactionTime": "11:18:55",
12173 "RequestDate": "2014-08-19",
12174 "UserIP": "74.201.38.1",
12175 "SubscriptionType": "n",
12176 "ProductId": 18,
12177 "Source": 34,
12178 "ProductStatus": 2,
12179 "MediaFilePath": "",
12180 "Amount": ""
12181 },
12182 {
12183 "Id": 906,
12184 "UserId": 1138,
12185 "TermId": 18,
12186 "TransactionDate": "2014-08-19",
12187 "TransactionTime": "11:18:55",
12188 "RequestDate": "2014-08-19",
12189 "UserIP": "74.201.38.1",
12190 "SubscriptionType": "n",
12191 "ProductId": 18,
12192 "Source": 34,
12193 "ProductStatus": 2,
12194 "MediaFilePath": "",
12195 "Amount": ""
12196 },
12197 {
12198 "Id": 914,
12199 "UserId": 1146,
12200 "TermId": 18,
12201 "TransactionDate": "2014-08-19",
12202 "TransactionTime": "11:18:55",
12203 "RequestDate": "2014-08-19",
12204 "UserIP": "74.201.38.1",
12205 "SubscriptionType": "n",
12206 "ProductId": 18,
12207 "Source": 34,
12208 "ProductStatus": 2,
12209 "MediaFilePath": "",
12210 "Amount": ""
12211 },
12212 {
12213 "Id": 922,
12214 "UserId": 1154,
12215 "TermId": 18,
12216 "TransactionDate": "2014-08-19",
12217 "TransactionTime": "11:18:55",
12218 "RequestDate": "2014-08-19",
12219 "UserIP": "74.201.38.1",
12220 "SubscriptionType": "n",
12221 "ProductId": 18,
12222 "Source": 34,
12223 "ProductStatus": 2,
12224 "MediaFilePath": "",
12225 "Amount": ""
12226 },
12227 {
12228 "Id": 930,
12229 "UserId": 1162,
12230 "TermId": 18,
12231 "TransactionDate": "2014-08-19",
12232 "TransactionTime": "11:18:55",
12233 "RequestDate": "2014-08-19",
12234 "UserIP": "74.201.38.1",
12235 "SubscriptionType": "n",
12236 "ProductId": 18,
12237 "Source": 34,
12238 "ProductStatus": 2,
12239 "MediaFilePath": "",
12240 "Amount": ""
12241 },
12242 {
12243 "Id": 938,
12244 "UserId": 1170,
12245 "TermId": 18,
12246 "TransactionDate": "2014-08-19",
12247 "TransactionTime": "11:18:55",
12248 "RequestDate": "2014-08-19",
12249 "UserIP": "74.201.38.1",
12250 "SubscriptionType": "n",
12251 "ProductId": 18,
12252 "Source": 34,
12253 "ProductStatus": 2,
12254 "MediaFilePath": "",
12255 "Amount": ""
12256 },
12257 {
12258 "Id": 946,
12259 "UserId": 1178,
12260 "TermId": 18,
12261 "TransactionDate": "2014-08-19",
12262 "TransactionTime": "11:18:55",
12263 "RequestDate": "2014-08-19",
12264 "UserIP": "74.201.38.1",
12265 "SubscriptionType": "n",
12266 "ProductId": 18,
12267 "Source": 34,
12268 "ProductStatus": 2,
12269 "MediaFilePath": "",
12270 "Amount": ""
12271 },
12272 {
12273 "Id": 954,
12274 "UserId": 1186,
12275 "TermId": 18,
12276 "TransactionDate": "2014-08-19",
12277 "TransactionTime": "11:18:55",
12278 "RequestDate": "2014-08-19",
12279 "UserIP": "74.201.38.1",
12280 "SubscriptionType": "n",
12281 "ProductId": 18,
12282 "Source": 34,
12283 "ProductStatus": 2,
12284 "MediaFilePath": "",
12285 "Amount": ""
12286 },
12287 {
12288 "Id": 962,
12289 "UserId": 1194,
12290 "TermId": 18,
12291 "TransactionDate": "2014-08-19",
12292 "TransactionTime": "11:18:55",
12293 "RequestDate": "2014-08-19",
12294 "UserIP": "74.201.38.1",
12295 "SubscriptionType": "n",
12296 "ProductId": 18,
12297 "Source": 34,
12298 "ProductStatus": 2,
12299 "MediaFilePath": "",
12300 "Amount": ""
12301 },
12302 {
12303 "Id": 970,
12304 "UserId": 1202,
12305 "TermId": 18,
12306 "TransactionDate": "2014-08-19",
12307 "TransactionTime": "11:18:55",
12308 "RequestDate": "2014-08-19",
12309 "UserIP": "74.201.38.1",
12310 "SubscriptionType": "n",
12311 "ProductId": 18,
12312 "Source": 34,
12313 "ProductStatus": 2,
12314 "MediaFilePath": "",
12315 "Amount": ""
12316 },
12317 {
12318 "Id": 978,
12319 "UserId": 1210,
12320 "TermId": 18,
12321 "TransactionDate": "2014-08-19",
12322 "TransactionTime": "11:18:55",
12323 "RequestDate": "2014-08-19",
12324 "UserIP": "74.201.38.1",
12325 "SubscriptionType": "n",
12326 "ProductId": 18,
12327 "Source": 34,
12328 "ProductStatus": 2,
12329 "MediaFilePath": "",
12330 "Amount": ""
12331 },
12332 {
12333 "Id": 986,
12334 "UserId": 1218,
12335 "TermId": 18,
12336 "TransactionDate": "2014-08-19",
12337 "TransactionTime": "11:18:55",
12338 "RequestDate": "2014-08-19",
12339 "UserIP": "74.201.38.1",
12340 "SubscriptionType": "n",
12341 "ProductId": 18,
12342 "Source": 34,
12343 "ProductStatus": 2,
12344 "MediaFilePath": "",
12345 "Amount": ""
12346 },
12347 {
12348 "Id": 994,
12349 "UserId": 1226,
12350 "TermId": 18,
12351 "TransactionDate": "2014-08-19",
12352 "TransactionTime": "11:18:55",
12353 "RequestDate": "2014-08-19",
12354 "UserIP": "74.201.38.1",
12355 "SubscriptionType": "n",
12356 "ProductId": 18,
12357 "Source": 34,
12358 "ProductStatus": 2,
12359 "MediaFilePath": "",
12360 "Amount": ""
12361 },
12362 {
12363 "Id": 1002,
12364 "UserId": 1234,
12365 "TermId": 18,
12366 "TransactionDate": "2014-08-19",
12367 "TransactionTime": "11:18:55",
12368 "RequestDate": "2014-08-19",
12369 "UserIP": "74.201.38.1",
12370 "SubscriptionType": "n",
12371 "ProductId": 18,
12372 "Source": 34,
12373 "ProductStatus": 2,
12374 "MediaFilePath": "",
12375 "Amount": ""
12376 }
12377 ]
12378 }
12379 {{/code}}
12380
12381 \\
12382
12383 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
12384 == (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)specific Transaction(%%) ==
12385
12386 ----
12387
12388 {{panel bgColor="#D3D3D3" width="100%"}}
12389 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/transactions/~{~{Transaction id}}
12390 {{/panel}}
12391
12392 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
12393
12394 ----
12395
12396 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
12397
12398 ==== Example ====
12399
12400 ----
12401
12402 (% style="color: rgb(107,107,107);" %)Request
12403
12404 {{code language="php" theme="RDark" title="Get specific Transaction Request" collapse="true"}}
12405 <?php
12406
12407 $curl = curl_init();
12408
12409 curl_setopt_array($curl, array(
12410 CURLOPT_URL => 'https://api.onecount.net/v2/transactions/{{Transaction id}}',
12411 CURLOPT_RETURNTRANSFER => true,
12412 CURLOPT_ENCODING => '',
12413 CURLOPT_MAXREDIRS => 10,
12414 CURLOPT_TIMEOUT => 0,
12415 CURLOPT_FOLLOWLOCATION => true,
12416 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
12417 CURLOPT_CUSTOMREQUEST => 'GET',
12418 CURLOPT_HTTPHEADER => array(
12419 'Appkey: {{ONECOUNT API KEY}}'
12420 ),
12421 ));
12422
12423 $response = curl_exec($curl);
12424
12425 curl_close($curl);
12426 echo $response;
12427 {{/code}}
12428
12429 \\
12430
12431 (% style="color: rgb(107,107,107);" %)Response  200 OK
12432
12433 {{code language="yml" theme="RDark" title="Get specific Transaction Response" collapse="true"}}
12434 {
12435 "result": {
12436 "success": "1",
12437 "error": {
12438 "code": "",
12439 "message": ""
12440 }
12441 },
12442 "Transactions": [
12443 {
12444 "Id": 1002,
12445 "UserId": 1234,
12446 "TermId": 18,
12447 "TransactionDate": "2014-08-19",
12448 "TransactionTime": "11:18:55",
12449 "RequestDate": "2014-08-19",
12450 "UserIP": "74.201.38.1",
12451 "SubscriptionType": "n",
12452 "ProductId": 18,
12453 "Source": 34,
12454 "ProductStatus": 2,
12455 "MediaFilePath": "",
12456 "Amount": ""
12457 }
12458 ]
12459 }
12460 {{/code}}
12461
12462 \\
12463
12464 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
12465 == (% 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(%%) ==
12466
12467 ----
12468
12469 {{panel bgColor="#D3D3D3" width="100%"}}
12470 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/transactions/lookup?UserId=~{~{OCID}}
12471 {{/panel}}
12472
12473 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
12474
12475 ----
12476
12477 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
12478
12479 === (% style="color: rgb(33,33,33);" %)Query Params(%%) ===
12480
12481 ----
12482
12483 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)UserId (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key nolink" style="color: rgb(33, 33, 33); color: rgb(33, 33, 33)" %)~{~{OCID}}
12484
12485 ==== Example ====
12486
12487 ----
12488
12489 (% style="color: rgb(107,107,107);" %)Request
12490
12491 {{code language="php" theme="RDark" title="Lookup Transaction Request" collapse="true"}}
12492 <?php
12493
12494 $curl = curl_init();
12495
12496 curl_setopt_array($curl, array(
12497 CURLOPT_URL => 'https://api.onecount.net/v2/transactions/lookup?UserId={{OCID}}',
12498 CURLOPT_RETURNTRANSFER => true,
12499 CURLOPT_ENCODING => '',
12500 CURLOPT_MAXREDIRS => 10,
12501 CURLOPT_TIMEOUT => 0,
12502 CURLOPT_FOLLOWLOCATION => true,
12503 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
12504 CURLOPT_CUSTOMREQUEST => 'GET',
12505 CURLOPT_HTTPHEADER => array(
12506 'Appkey: {{ONECOUNT API KEY}}'
12507 ),
12508 ));
12509
12510 $response = curl_exec($curl);
12511
12512 curl_close($curl);
12513 echo $response;
12514 {{/code}}
12515
12516 \\
12517
12518 (% style="color: rgb(107,107,107);" %)Response  200 OK
12519
12520 {{code language="yml" theme="RDark" title="Lookup Transaction Response" collapse="true"}}
12521 {
12522 "result": {
12523 "success": "1",
12524 "error": {
12525 "code": "",
12526 "message": ""
12527 }
12528 },
12529 "Transactions": [
12530 {
12531 "Id": 52494786,
12532 "UserId": 1234,
12533 "TermId": 34,
12534 "TransactionDate": "2016-01-19",
12535 "TransactionTime": "15:30:04",
12536 "RequestDate": "2016-01-19",
12537 "UserIP": "12.226.247.2",
12538 "SubscriptionType": "u",
12539 "ProductId": 34,
12540 "Source": 0,
12541 "ProductStatus": 0,
12542 "MediaFilePath": "",
12543 "Amount": ""
12544 },
12545 {
12546 "Id": 42654041,
12547 "UserId": 1234,
12548 "TermId": 34,
12549 "TransactionDate": "2015-09-09",
12550 "TransactionTime": "11:20:39",
12551 "RequestDate": "2015-09-09",
12552 "UserIP": "24.187.236.98",
12553 "SubscriptionType": "n",
12554 "ProductId": 34,
12555 "Source": 0,
12556 "ProductStatus": 2,
12557 "MediaFilePath": "",
12558 "Amount": ""
12559 },
12560 {
12561 "Id": 97251022,
12562 "UserId": 1234,
12563 "TermId": 34,
12564 "TransactionDate": "2015-06-04",
12565 "TransactionTime": "14:59:42",
12566 "RequestDate": "2015-06-04",
12567 "UserIP": "12.226.247.2",
12568 "SubscriptionType": "u",
12569 "ProductId": 34,
12570 "Source": 0,
12571 "ProductStatus": 0,
12572 "MediaFilePath": "",
12573 "Amount": ""
12574 },
12575 {
12576 "Id": 55492559,
12577 "UserId": 1234,
12578 "TermId": 34,
12579 "TransactionDate": "2015-04-03",
12580 "TransactionTime": "16:32:04",
12581 "RequestDate": "2015-04-03",
12582 "UserIP": "24.187.236.98",
12583 "SubscriptionType": "r",
12584 "ProductId": 34,
12585 "Source": 58,
12586 "ProductStatus": 106,
12587 "MediaFilePath": "",
12588 "Amount": ""
12589 },
12590 {
12591 "Id": 98173391,
12592 "UserId": 1234,
12593 "TermId": 34,
12594 "TransactionDate": "2015-04-03",
12595 "TransactionTime": "15:50:45",
12596 "RequestDate": "2014-08-19",
12597 "UserIP": "24.187.236.98",
12598 "SubscriptionType": "n",
12599 "ProductId": 34,
12600 "Source": 34,
12601 "ProductStatus": 106,
12602 "MediaFilePath": "",
12603 "Amount": ""
12604 },
12605 {
12606 "Id": 91711793,
12607 "UserId": 1234,
12608 "TermId": 18,
12609 "TransactionDate": "2015-04-27",
12610 "TransactionTime": "14:24:51",
12611 "RequestDate": "2015-04-27",
12612 "UserIP": "24.187.236.98",
12613 "SubscriptionType": "u",
12614 "ProductId": 18,
12615 "Source": 0,
12616 "ProductStatus": 106,
12617 "MediaFilePath": "",
12618 "Amount": ""
12619 },
12620 {
12621 "Id": 74936400,
12622 "UserId": 1234,
12623 "TermId": 18,
12624 "TransactionDate": "2015-04-27",
12625 "TransactionTime": "12:35:18",
12626 "RequestDate": "2015-04-27",
12627 "UserIP": "68.196.187.74",
12628 "SubscriptionType": "n",
12629 "ProductId": 18,
12630 "Source": 34,
12631 "ProductStatus": 106,
12632 "MediaFilePath": "",
12633 "Amount": ""
12634 },
12635 {
12636 "Id": 21664714,
12637 "UserId": 1234,
12638 "TermId": 18,
12639 "TransactionDate": "2015-04-03",
12640 "TransactionTime": "15:50:46",
12641 "RequestDate": "2015-04-03",
12642 "UserIP": "24.187.236.98",
12643 "SubscriptionType": "u",
12644 "ProductId": 18,
12645 "Source": 0,
12646 "ProductStatus": 2,
12647 "MediaFilePath": "",
12648 "Amount": ""
12649 },
12650 {
12651 "Id": 81129263,
12652 "UserId": 1234,
12653 "TermId": 18,
12654 "TransactionDate": "2014-08-19",
12655 "TransactionTime": "11:18:55",
12656 "RequestDate": "2014-08-19",
12657 "UserIP": "74.201.38.1",
12658 "SubscriptionType": "n",
12659 "ProductId": 18,
12660 "Source": 34,
12661 "ProductStatus": 2,
12662 "MediaFilePath": "",
12663 "Amount": ""
12664 },
12665 {
12666 "Id": 30461748,
12667 "UserId": 1234,
12668 "ResourceId": 459,
12669 "TransactionDate": "2023-03-15",
12670 "TransactionTime": "12:07:55",
12671 "RequestDate": "2023-03-15",
12672 "UserIP": "74.201.38.12",
12673 "SubscriptionType": "n",
12674 "SourceCode": 0,
12675 "ProductStatus": 0,
12676 "MediaFilePath": "",
12677 "Amount": ""
12678 },
12679 {
12680 "Id": 25858253,
12681 "UserId": 1234,
12682 "ResourceId": 451,
12683 "TransactionDate": "2023-03-15",
12684 "TransactionTime": "11:45:19",
12685 "RequestDate": "2023-03-15",
12686 "UserIP": "74.201.38.12",
12687 "SubscriptionType": "n",
12688 "SourceCode": 0,
12689 "ProductStatus": 0,
12690 "MediaFilePath": "",
12691 "Amount": ""
12692 },
12693 {
12694 "Id": 69453260,
12695 "UserId": 1234,
12696 "ResourceId": 411,
12697 "TransactionDate": "2022-06-07",
12698 "TransactionTime": "17:03:14",
12699 "RequestDate": "2022-06-07",
12700 "UserIP": "74.201.38.12",
12701 "SubscriptionType": "n",
12702 "SourceCode": 0,
12703 "ProductStatus": 0,
12704 "MediaFilePath": "",
12705 "Amount": ""
12706 },
12707 {
12708 "Id": 51354425,
12709 "UserId": 1234,
12710 "ResourceId": 355,
12711 "TransactionDate": "2020-04-06",
12712 "TransactionTime": "12:24:08",
12713 "RequestDate": "2020-04-06",
12714 "UserIP": "74.201.38.12",
12715 "SubscriptionType": "n",
12716 "SourceCode": 0,
12717 "ProductStatus": 0,
12718 "MediaFilePath": "",
12719 "Amount": ""
12720 }
12721 ]
12722 }
12723 {{/code}}
12724
12725 \\
12726
12727 (% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)
12728 == (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33, 33, 33); color: rgb(173, 122, 3)" %)POST(% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %) Create Transaction(%%) ==
12729
12730 ----
12731
12732 {{panel bgColor="#D3D3D3" width="100%"}}
12733 (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/transactions
12734 {{/panel}}
12735
12736 === (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) ===
12737
12738 ----
12739
12740 (% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey  (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}}
12741
12742 === (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) ===
12743
12744 ----
12745
12746 {{code language="yml" theme="RDark" title="Body" collapse="true"}}
12747 {"UserId": 1845775,"TermId":447 ,"UserIP":"192.168.0.1" ,"SubscriptionType":"n" , "ProductId":599 ,"FormId": "8f93834c-adce-4dc7-acd0-f3a1e0f7c63f","Source": 83,"ProductStatus": 2,"Amount":"0.00" ,"PaypalTransId":"" , "MediaFilePath":"" ,"Remarks": "USER SUBSCRIBED","BatchId":"1234" ,"Quantity": 1, "ExpireDate":"20251211" }
12748 {{/code}}
12749
12750 ==== Example ====
12751
12752 ----
12753
12754 (% style="color: rgb(107,107,107);" %)Request
12755
12756 {{code language="php" theme="RDark" title="Create Transaction Request" collapse="true"}}
12757 <?php
12758
12759 $curl = curl_init();
12760
12761 curl_setopt_array($curl, array(
12762 CURLOPT_URL => 'https://api.onecount.net/v2/transactions',
12763 CURLOPT_RETURNTRANSFER => true,
12764 CURLOPT_ENCODING => '',
12765 CURLOPT_MAXREDIRS => 10,
12766 CURLOPT_TIMEOUT => 0,
12767 CURLOPT_FOLLOWLOCATION => true,
12768 CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
12769 CURLOPT_CUSTOMREQUEST => 'POST',
12770 CURLOPT_POSTFIELDS =>'{"UserId": 1845775,"TermId":447 ,"UserIP":"192.168.0.1" ,"SubscriptionType":"n" , "ProductId":599 ,"FormId": "8f93834c-adce-4dc7-acd0-f3a1e0f7c63f","Source": 83,"ProductStatus": 2,"Amount":"0.00" ,"PaypalTransId":"" , "MediaFilePath":"" ,"Remarks": "USER SUBSCRIBED","BatchId":"1234" ,"Quantity": 1, "ExpireDate":"20251211" }',
12771 CURLOPT_HTTPHEADER => array(
12772 'Appkey: {{ONECOUNT API KEY}}'
12773 ),
12774 ));
12775
12776 $response = curl_exec($curl);
12777
12778 curl_close($curl);
12779 echo $response;
12780 {{/code}}
12781
12782 \\
12783
12784 (% style="color: rgb(107,107,107);" %)Response  200 OK
12785
12786 {{code language="yml" theme="RDark" title="Create Transaction Response" collapse="true"}}
12787 {
12788 "result": {
12789 "success": "1",
12790 "error": {
12791 "code": "",
12792 "message": ""
12793 }
12794 },
12795 "Transactions": {
12796 "Id": "1234",
12797 "UserId": 1845775,
12798 "TermId": 447,
12799 "TransactionDate": "20231211",
12800 "TransactionTime": "09:34:26",
12801 "RequestDate": "20231211",
12802 "UserIP": "192.168.0.1",
12803 "SubscriptionType": "n",
12804 "ProductId": 599,
12805 "Source": 83,
12806 "ProductStatus": 2,
12807 "MediaFilePath": "",
12808 "Amount": "0.00"
12809 }
12810 }
12811 {{/code}}
12812
12813 \\
12814
12815 \\
12816
12817 \\
12818
12819 \\
12820
12821 \\
12822
12823 \\
12824
12825 \\
12826
12827 \\
12828
12829 \\
12830
12831 \\
12832
12833 \\
12834
12835 \\
12836
12837 \\
12838
12839 \\
12840
12841 \\
12842
12843 \\
12844
12845 \\
12846
12847 \\
12848
12849 \\
12850
12851 \\
12852
12853 \\
12854
12855 \\
12856
12857 \\
12858
12859 \\
12860
12861 \\
12862
12863 (% class="western" %)
12864 **COMPONENT: Leads
12865 **
12866
12867 (% class="western" %)
12868 Stats resource can be used to submit any type of stat collected on the third party systems. Each type of stat will be represented by a sub-resource. So, for telemarketing it could be **/stats/telemarketing** endpoint, for videos it can be **/stats/videos**, for webinar it could be **/stats/webinars** etc. Right now we only have telemarketing sub-resource.
12869
12870 (% class="western" %)
12871 **Telemarketing Leads
12872 **
12873
12874 (% class="western" %)
12875
12876 This resource is for manipulating telemarketing stat resource. A telemarketing stat can be created or listed.
12877
12878 (% class="wrapped" %)
12879 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12880 (((
12881 (% class="western" %)
12882 **Method**
12883 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12884 (((
12885 (% class="western" %)
12886 **Url**
12887 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12888 (((
12889 (% class="western" %)
12890 **Action**
12891 )))
12892 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12893 (((
12894 (% class="western" %)
12895 GET
12896 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12897 (((
12898 (% class="western" %)
12899 /stats/telemarketing
12900 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12901 (((
12902 (% class="western" %)
12903 List telemarketing stats
12904 )))
12905 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12906 (((
12907 (% class="western" %)
12908 GET
12909 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12910 (((
12911 (% class="western" %)
12912 /stats/telemarketing/1000
12913 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12914 (((
12915 (% class="western" %)
12916 Get telemarketing stat whose id is 1000 in the system.
12917 )))
12918 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12919 (((
12920 (% class="western" %)
12921 POST
12922 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12923 (((
12924 (% class="western" %)
12925 /stats/telemarketing
12926 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12927 (((
12928 (% class="western" %)
12929 JSON of the Telemarketing type object needs to be sent as post data. Id field should not be sent.
12930 )))
12931
12932 \\
12933
12934 (% class="western" %)
12935 POST method can be used to create telemarketing stat. Telemarketing info needs to be sent as request and an Id will be returned when the transaction is created.
12936
12937 (% class="wrapped" %)
12938 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12939 (((
12940 (% class="western" %)
12941 **Request**
12942 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12943 (((
12944 (% class="western" %)
12945 **Type**
12946 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12947 (((
12948 (% class="western" %)
12949 **Description**
12950 )))
12951 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12952 (((
12953 (% class="western" %)
12954 Telemarketing
12955 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12956 (((
12957 (% class="western" %)
12958 Telemarketing
12959 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
12960 (((
12961 (% class="western" %)
12962 Contains fields that define a telemarketing stat. Id field should not be set. Refer to telemarketing object in references section.
12963
12964 (% class="western" %)
12965 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.
12966
12967 (% class="western" %)
12968 E.g
12969
12970 (% class="western" %)
12971 {
12972
12973 (% class="western" %)
12974 "Telemarketing":[
12975
12976 (% class="western" %)
12977 {
12978
12979 (% class="western" %)
12980 "OCID":"5000",
12981
12982 (% class="western" %)
12983 "Date": "2016-01-01",
12984
12985 (% class="western" %)
12986 "Time": "10:10:10",
12987
12988 (% class="western" %)
12989 "ResourceId":"250",
12990
12991 (% class="western" %)
12992 "PageUrl": "[[http:~~/~~/www.one-count.com/detail/a.php>>url:http://www.one-count.com/detail/a.php||rel="nofollow" shape="rect" class="external-link"]]",
12993
12994 (% class="western" %)
12995 "PageTitle":"tests"
12996
12997 (% class="western" %)
12998 }
12999
13000 (% class="western" %)
13001 ]
13002
13003 (% class="western" %)
13004 }
13005 )))
13006 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13007 (((
13008 (% class="western" %)
13009 \\
13010 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13011 (((
13012 (% class="western" %)
13013 \\
13014 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13015 (((
13016 (% class="western" %)
13017 \\
13018 )))
13019
13020 (% class="wrapped" %)
13021 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13022 (((
13023 (% class="western" %)
13024 **Response**
13025 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13026 (((
13027 (% class="western" %)
13028 **Type**
13029 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13030 (((
13031 (% class="western" %)
13032 **Description**
13033 )))
13034 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13035 (((
13036 (% class="western" %)
13037 Ids
13038 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13039 (((
13040 (% class="western" %)
13041 String
13042 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13043 (((
13044 (% class="western" %)
13045 Returns telemarketing ids of the newly created transaction. If multiple stats are sent, multiple ids are returned in cvs format.
13046 )))
13047
13048 \\
13049
13050 \\
13051
13052 \\
13053
13054 \\
13055
13056 \\
13057
13058 (% class="western" %)
13059 **API REFERENCE**
13060
13061 (% class="western" %)
13062 **Type: Questions**
13063
13064 (% class="wrapped" %)
13065 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13066 (((
13067 (% class="western" %)
13068 **Property Name**
13069 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13070 (((
13071 (% class="western" %)
13072 **Type**
13073 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13074 (((
13075 (% class="western" %)
13076 **Description**
13077 )))
13078 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13079 (((
13080 (% class="western" %)
13081 Id
13082 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13083 (((
13084 (% class="western" %)
13085 Int
13086 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13087 (((
13088 (% class="western" %)
13089 Id of the question.
13090 )))
13091 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13092 (((
13093 (% class="western" %)
13094 Text
13095 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13096 (((
13097 (% class="western" %)
13098 String
13099 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13100 (((
13101 (% class="western" %)
13102 Text of the question.
13103 )))
13104 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13105 (((
13106 (% class="western" %)
13107 Type
13108 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13109 (((
13110 (% class="western" %)
13111 Int
13112 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13113 (((
13114 (% class="western" %)
13115 Determines which type of question it is. Textbox, checkbox, select, radio.
13116 There can be 6 types of questions.
13117 type=1 means textbox type questions or short response type question. The response length needs to be less than 255 characters.
13118 type=2 means textarea type question or long response type question.
13119 type=3 means password type question. This is basically same as type 1 but when displayed in ONEcount frontend forms typed characters appears as *
13120 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.
13121 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.
13122 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.
13123 )))
13124 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13125 (((
13126 (% class="western" %)
13127 Choices
13128 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13129 (((
13130 (% class="western" %)
13131 choices
13132 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13133 (((
13134 (% class="western" %)
13135 If multiple choice question this field will have the choices.
13136 )))
13137 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13138 (((
13139 (% class="western" %)
13140 Alias
13141 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13142 (((
13143 (% class="western" %)
13144 String
13145 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13146 (((
13147 (% class="western" %)
13148 Alias for admin purpose.
13149 )))
13150
13151 (% class="western" %)
13152 \\
13153
13154 (% class="western" %)
13155 \\
13156
13157 (% class="western" %)
13158 **Type: Choices**
13159
13160 (% class="wrapped" %)
13161 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13162 (((
13163 (% class="western" %)
13164 **Property Name**
13165 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13166 (((
13167 (% class="western" %)
13168 **Type**
13169 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13170 (((
13171 (% class="western" %)
13172 **Description**
13173 )))
13174 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13175 (((
13176 (% class="western" %)
13177 Id
13178 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13179 (((
13180 (% class="western" %)
13181 int
13182 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13183 (((
13184 (% class="western" %)
13185 Id of the choice.
13186 )))
13187 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13188 (((
13189 (% class="western" %)
13190 Text
13191 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13192 (((
13193 (% class="western" %)
13194 string
13195 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13196 (((
13197 (% class="western" %)
13198 Display text of choice.
13199 )))
13200 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13201 (((
13202 (% class="western" %)
13203 Value
13204 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13205 (((
13206 (% class="western" %)
13207 String
13208 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13209 (((
13210 (% class="western" %)
13211 Value stored in db.
13212 )))
13213 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13214 (((
13215 (% class="western" %)
13216 Order
13217 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13218 (((
13219 (% class="western" %)
13220 Int
13221 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13222 (((
13223 (% class="western" %)
13224 Display order.
13225 )))
13226 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13227 (((
13228 (% class="western" %)
13229 QuestionId
13230 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13231 (((
13232 (% class="western" %)
13233 Int
13234 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13235 (((
13236 (% class="western" %)
13237 Tied to which question id.
13238 )))
13239
13240 \\
13241
13242 (% class="western" %)
13243 **Type: Users**
13244
13245 (% class="wrapped" %)
13246 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13247 (((
13248 (% class="western" %)
13249 **Property Name**
13250 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13251 (((
13252 (% class="western" %)
13253 **Type**
13254 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13255 (((
13256 (% class="western" %)
13257 **Description**
13258 )))
13259 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13260 (((
13261 (% class="western" %)
13262 Id
13263 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13264 (((
13265 (% class="western" %)
13266 Int
13267 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13268 (((
13269 (% class="western" %)
13270 ID of the user in ONEcount.
13271 )))
13272 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13273 (((
13274 (% class="western" %)
13275 PartnerId
13276 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13277 (((
13278 (% class="western" %)
13279 Int
13280 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13281 (((
13282 (% class="western" %)
13283 ID of the user in partners system (e.g. id of your system).
13284 )))
13285 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13286 (((
13287 (% class="western" %)
13288 Demo
13289 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13290 (((
13291 (% class="western" %)
13292 Demo
13293 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13294 (((
13295 (% class="western" %)
13296 Object of user's demo question ids and respective response values.
13297 )))
13298 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13299 (((
13300 (% class="western" %)
13301 RequestDate
13302 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13303 (((
13304 (% class="western" %)
13305 Date
13306 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13307 (((
13308 (% class="western" %)
13309 Request date.
13310 )))
13311
13312 \\
13313
13314 (% class="western" %)
13315 **Type: Demo**
13316
13317 (% class="wrapped" %)
13318 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13319 (((
13320 (% class="western" %)
13321 **Property Name**
13322 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13323 (((
13324 (% class="western" %)
13325 **Type**
13326 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13327 (((
13328 (% class="western" %)
13329 **Description**
13330 )))
13331 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13332 (((
13333 (% class="western" %)
13334 QuestionId (e.g 6)
13335 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13336 (((
13337 (% class="western" %)
13338 String
13339 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13340 (((
13341 (% class="western" %)
13342 6 is the value of “Id” property of question resource(Text = “First Name”)
13343 )))
13344 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13345 (((
13346 (% class="western" %)
13347 QuestionId (e.g 7)
13348 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13349 (((
13350 (% class="western" %)
13351 String
13352 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13353 (((
13354 (% class="western" %)
13355 7 is the value of “Id” property of question resource(Text = “Last Name”)
13356 )))
13357 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13358 (((
13359 (% class="western" %)
13360 ...
13361 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13362 (((
13363 (% class="western" %)
13364 ...
13365 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13366 (((
13367 (% class="western" %)
13368 ...
13369 )))
13370
13371 \\
13372
13373 (% class="western" %)
13374 **Type: Transactions**
13375
13376 (% class="wrapped" %)
13377 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13378 (((
13379 (% class="western" %)
13380 **Property Name**
13381 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13382 (((
13383 (% class="western" %)
13384 **Type**
13385 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13386 (((
13387 (% class="western" %)
13388 **Description**
13389 )))
13390 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13391 (((
13392 (% class="western" %)
13393 Id
13394 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13395 (((
13396 (% class="western" %)
13397 Int
13398 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13399 (((
13400 (% class="western" %)
13401 ID of the transaction.
13402 )))
13403 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13404 (((
13405 (% class="western" %)
13406 UserId
13407 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13408 (((
13409 (% class="western" %)
13410 Int
13411 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13412 (((
13413 (% class="western" %)
13414 Id of user in ONEcount.
13415 )))
13416 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13417 (((
13418 (% class="western" %)
13419 TermId
13420 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13421 (((
13422 (% class="western" %)
13423 Int
13424 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13425 (((
13426 (% class="western" %)
13427 TermId in ONEcount.
13428 )))
13429 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13430 (((
13431 (% class="western" %)
13432 ProductStatus
13433 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13434 (((
13435 (% class="western" %)
13436 Int
13437 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13438 (((
13439 (% class="western" %)
13440 Status ID.
13441 )))
13442 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13443 (((
13444 (% class="western" %)
13445 SubscriptionType
13446 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13447 (((
13448 (% class="western" %)
13449 Char
13450 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13451 (((
13452 (% class="western" %)
13453 Can be n,r or u for new, renew or unsubscribe.
13454 )))
13455 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13456 (((
13457 (% class="western" %)
13458 TransactionDate
13459 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13460 (((
13461 (% class="western" %)
13462 Date
13463 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13464 (((
13465 (% class="western" %)
13466 Date when the transaction occurred.
13467 )))
13468 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13469 (((
13470 (% class="western" %)
13471 TransactionTime
13472 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13473 (((
13474 (% class="western" %)
13475 Time
13476 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13477 (((
13478 (% class="western" %)
13479 Time of transaction.
13480 )))
13481 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13482 (((
13483 (% class="western" %)
13484 RequestDate
13485 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13486 (((
13487 (% class="western" %)
13488 Date
13489 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13490 (((
13491 (% class="western" %)
13492 The effective request date for the transaction.
13493 )))
13494 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13495 (((
13496 (% class="western" %)
13497 UserIP
13498 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13499 (((
13500 (% class="western" %)
13501 String
13502 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13503 (((
13504 (% class="western" %)
13505 IP of the user.
13506 )))
13507 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13508 (((
13509 (% class="western" %)
13510 Source
13511 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13512 (((
13513 (% class="western" %)
13514 String
13515 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13516 (((
13517 (% class="western" %)
13518 The transaction needs to be tied to a source code this will define it.
13519 )))
13520 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13521 (((
13522 (% class="western" %)
13523 MediaFilePath
13524 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13525 (((
13526 (% class="western" %)
13527 String
13528 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13529 (((
13530 (% class="western" %)
13531 The url of media associated with that transaction. Eg image, audio.
13532 )))
13533 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13534 (((
13535 (% class="western" %)
13536 ExpireDate
13537 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13538 (((
13539 (% class="western" %)
13540 Date
13541 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13542 (((
13543 (% class="western" %)
13544 Date when the subscription expires.
13545 )))
13546 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13547 (((
13548 (% class="western" %)
13549 Amount
13550 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13551 (((
13552 (% class="western" %)
13553 Float
13554 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13555 (((
13556 (% class="western" %)
13557 If there is amount (USD) included in transaction.
13558 )))
13559
13560 \\
13561
13562 (% class="western" %)
13563 **Type: Sources**
13564
13565 (% class="wrapped" %)
13566 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13567 (((
13568 (% class="western" %)
13569 **Property Name**
13570 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13571 (((
13572 (% class="western" %)
13573 **Type**
13574 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13575 (((
13576 (% class="western" %)
13577 **Description**
13578 )))
13579 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13580 (((
13581 (% class="western" %)
13582 Id
13583 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13584 (((
13585 (% class="western" %)
13586 Int
13587 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13588 (((
13589 (% class="western" %)
13590 Id of the source.
13591 )))
13592 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13593 (((
13594 (% class="western" %)
13595 Source
13596 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13597 (((
13598 (% class="western" %)
13599 String
13600 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13601 (((
13602 (% class="western" %)
13603 Value of the source.
13604 )))
13605 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13606 (((
13607 (% class="western" %)
13608 Description
13609 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13610 (((
13611 (% class="western" %)
13612 Text
13613 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13614 (((
13615 (% class="western" %)
13616 Description of the source.
13617 )))
13618 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13619 (((
13620 (% class="western" %)
13621 ParentId
13622 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13623 (((
13624 (% class="western" %)
13625 int
13626 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13627 (((
13628 (% class="western" %)
13629 If this is a child source then list the parent source id.
13630 )))
13631
13632 (% class="western" %)
13633 \\
13634
13635 (% class="western" %)
13636 **Type: Products**
13637
13638 (% class="wrapped" %)
13639 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13640 (((
13641 (% class="western" %)
13642 **Property Name**
13643 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13644 (((
13645 (% class="western" %)
13646 **Type**
13647 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13648 (((
13649 (% class="western" %)
13650 **Description**
13651 )))
13652 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13653 (((
13654 (% class="western" %)
13655 Id
13656 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13657 (((
13658 (% class="western" %)
13659 Int
13660 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13661 (((
13662 (% class="western" %)
13663 Specify only for update.
13664 )))
13665 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13666 (((
13667 (% class="western" %)
13668 Name
13669 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13670 (((
13671 (% class="western" %)
13672 String
13673 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13674 (((
13675 (% class="western" %)
13676 Name of the Product.
13677 )))
13678 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13679 (((
13680 (% class="western" %)
13681 Description
13682 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13683 (((
13684 (% class="western" %)
13685 Text
13686 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13687 (((
13688 (% class="western" %)
13689 Description of the product.
13690 )))
13691 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13692 (((
13693 (% class="western" %)
13694 Terms
13695 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13696 (((
13697 (% class="western" %)
13698 Terms
13699 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13700 (((
13701 (% class="western" %)
13702 (Array of) Terms associated with the product.
13703 )))
13704
13705 \\
13706
13707 (% class="western" %)
13708 **Type: Terms**
13709
13710 (% class="wrapped" %)
13711 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13712 (((
13713 (% class="western" %)
13714 **Property Name**
13715 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13716 (((
13717 (% class="western" %)
13718 **Type**
13719 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13720 (((
13721 (% class="western" %)
13722 **Description**
13723 )))
13724 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13725 (((
13726 (% class="western" %)
13727 Id
13728 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13729 (((
13730 (% class="western" %)
13731 int
13732 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13733 (((
13734 (% class="western" %)
13735 Id of the term.
13736 )))
13737 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13738 (((
13739 (% class="western" %)
13740 Name
13741 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13742 (((
13743 (% class="western" %)
13744 string
13745 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13746 (((
13747 (% class="western" %)
13748 Name of the Term.
13749 )))
13750 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13751 (((
13752 (% class="western" %)
13753 Description
13754 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13755 (((
13756 (% class="western" %)
13757 text
13758 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13759 (((
13760 (% class="western" %)
13761 Description of the term.
13762 )))
13763 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13764 (((
13765 (% class="western" %)
13766 Duration
13767 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13768 (((
13769 (% class="western" %)
13770 int
13771 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13772 (((
13773 (% class="western" %)
13774 Duration of term validity.
13775 )))
13776 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13777 (((
13778 (% class="western" %)
13779 DurationUnit
13780 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13781 (((
13782 (% class="western" %)
13783 sting
13784 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13785 (((
13786 (% class="western" %)
13787 Y (year), M (Month), D (Days).
13788 )))
13789 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13790 (((
13791 (% class="western" %)
13792 ProductId
13793 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13794 (((
13795 (% class="western" %)
13796 int
13797 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13798 (((
13799 (% class="western" %)
13800 Id of the product the term is tied to.
13801 )))
13802 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13803 (((
13804 (% class="western" %)
13805 Price
13806 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13807 (((
13808 (% class="western" %)
13809 float
13810 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13811 (((
13812 (% class="western" %)
13813 If there is price (USD) for the term.
13814 )))
13815
13816 \\
13817
13818 (% class="western" %)
13819 **Type: Resources**
13820
13821 (% class="wrapped" %)
13822 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13823 (((
13824 (% class="western" %)
13825 **Property Name**
13826 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13827 (((
13828 (% class="western" %)
13829 **Type**
13830 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13831 (((
13832 (% class="western" %)
13833 **Description**
13834 )))
13835 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13836 (((
13837 (% class="western" %)
13838 Id
13839 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13840 (((
13841 (% class="western" %)
13842 Int
13843 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13844 (((
13845 (% class="western" %)
13846 Specify only for update.
13847 )))
13848 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13849 (((
13850 (% class="western" %)
13851 Name
13852 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13853 (((
13854 (% class="western" %)
13855 String
13856 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13857 (((
13858 (% class="western" %)
13859 Name of the Resource.
13860 )))
13861 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13862 (((
13863 (% class="western" %)
13864 Description
13865 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13866 (((
13867 (% class="western" %)
13868 Text
13869 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13870 (((
13871 (% class="western" %)
13872 Description of the Resource.
13873 )))
13874 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13875 (((
13876 (% class="western" %)
13877 Type
13878 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13879 (((
13880 (% class="western" %)
13881 Int
13882 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13883 (((
13884 (% class="western" %)
13885 Type Options
13886
13887 (% class="western" %)
13888 **0** : File
13889
13890 (% class="western" %)
13891 **2 : **Newsletter
13892
13893 (% class="western" %)
13894 **3 : **Section
13895
13896 (% class="western" %)
13897 **4 : **Page
13898
13899 (% class="western" %)
13900 **5 : **Function
13901 )))
13902 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13903 (((
13904 (% class="western" %)
13905 Value
13906 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13907 (((
13908 (% class="western" %)
13909 String
13910
13911 (% class="western" %)
13912 or
13913
13914 (% class="western" %)
13915 Array
13916 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13917 (((
13918 (% class="western" %)
13919 Value of Resource Type:
13920
13921 (% class="western" %)
13922 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.
13923
13924 (% class="western" %)
13925 For creating/updating a resource (POST/PUT), it is highly recommended to send an array - this will handle single and multiple value requests.
13926
13927 (% class="western" %)
13928 Example :
13929
13930 (% class="western" %)
13931 if the Type sent is 3 with one value then Value would be "**/digital/**" or **["/digital"/].** We recommend using the second approach of **["/digital"/].
13932 **if the Type sent is 3 with two values then Value would be ["**/digital/**", "**/articles/**"]
13933
13934 (% class="western" %)
13935 For Function type resource leave it blank.
13936 )))
13937 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13938 (((
13939 (% class="western" %)
13940 limit
13941 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13942 (((
13943 (% class="western" %)
13944 Int
13945 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13946 (((
13947 (% class="western" %)
13948 Default limit is 25 but if all the data needs to be pulled then pass limit=0.
13949 )))
13950 (% class="" %)|(% colspan="1" style="text-align: left;vertical-align: top;" %)(% colspan="1" style="text-align: left;vertical-align: top;" %)
13951 (((
13952 FreePass
13953 )))|(% colspan="1" style="text-align: left;vertical-align: top;" %)(% colspan="1" style="text-align: left;vertical-align: top;" %)
13954 (((
13955 Int
13956 )))|(% colspan="1" style="text-align: left;vertical-align: top;" %)(% colspan="1" style="text-align: left;vertical-align: top;" %)
13957 (((
13958 Default value is 0. This parameter is used to provide access to protected content.
13959 )))
13960
13961 \\
13962
13963 (% class="western" %)
13964 **Type: Telemarketing**
13965
13966 (% class="wrapped" %)
13967 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13968 (((
13969 (% class="western" %)
13970 **Property Name**
13971 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13972 (((
13973 (% class="western" %)
13974 **Type**
13975 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13976 (((
13977 (% class="western" %)
13978 **Description**
13979 )))
13980 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13981 (((
13982 (% class="western" %)
13983 Id
13984 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13985 (((
13986 (% class="western" %)
13987 int
13988 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13989 (((
13990 (% class="western" %)
13991 Id of the telemarketing stat. This is autogenerated from the system and can be used to lookup the stat.
13992 )))
13993 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13994 (((
13995 (% class="western" %)
13996 OCID
13997 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
13998 (((
13999 (% class="western" %)
14000 int
14001 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
14002 (((
14003 (% class="western" %)
14004 Onecount ID of the user.
14005 )))
14006 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
14007 (((
14008 (% class="western" %)
14009 Date
14010 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
14011 (((
14012 (% class="western" %)
14013 Date
14014 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
14015 (((
14016 (% class="western" %)
14017 Date when the stat occurred. Format: yyyy-mm-dd
14018 )))
14019 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
14020 (((
14021 (% class="western" %)
14022 Time
14023 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
14024 (((
14025 (% class="western" %)
14026 Time
14027 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
14028 (((
14029 (% class="western" %)
14030 Time of stat. Format: h:m:s (24 hour format)
14031 )))
14032 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
14033 (((
14034 (% class="western" %)
14035 ResourceId
14036 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
14037 (((
14038 (% class="western" %)
14039 int
14040 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
14041 (((
14042 (% class="western" %)
14043 Id of resource currently being sent for the sat. If the resource type is page type resource then need to send
14044
14045 (% class="western" %)
14046 PageTitle otherwise it will follow the process described in PageTitle.
14047 )))
14048 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
14049 (((
14050 (% class="western" %)
14051 PageUrl
14052 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
14053 (((
14054 (% class="western" %)
14055 string
14056 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
14057 (((
14058 (% class="western" %)
14059 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.
14060 )))
14061 (% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
14062 (((
14063 (% class="western" %)
14064 PageTitle
14065 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
14066 (((
14067 (% class="western" %)
14068 string
14069 )))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %)
14070 (((
14071 (% class="western" %)
14072 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.
14073
14074 (% class="western" %)
14075 \\
14076
14077 (% class="western" %)
14078 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.
14079 )))
14080
14081 \\