Changes for page ONEcount API Documentation
Last modified by Rayaan Ahmed on 2025/02/09 22:20
From version 1.1
edited by rayaan@one-count_com
on 2023/12/12 04:31
on 2023/12/12 04:31
Change comment:
There is no comment for this version
To version 8.2
edited by Rayaan Ahmed
on 2024/02/26 11:24
on 2024/02/26 11:24
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
-
Attachments (0 modified, 3 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,0 +1,1 @@ 1 +System Setup Detail and Technical Information - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.rayaan @one-count_com1 +XWiki.rayaan - Content
-
... ... @@ -7,10 +7,9 @@ 7 7 (% class="western" %) 8 8 REST takes advantage of the HTTP request methods to layer itself into the existing HTTP architecture. These operations consist of the following: 9 9 10 -1. ((( 11 11 (% class="western" %) 12 12 **GET** - Used for lookup of resources 13 - )))12 + 14 14 1. ((( 15 15 (% class="western" %) 16 16 **PUT** - Used to update a resource ... ... @@ -54,26 +54,28 @@ 54 54 1. Attach a resource to a product 55 55 1. Leads 56 56 11. Create a lead 57 -1. Engagements \\56 +1. Engagements 58 58 11. Get all Engagements 59 59 11. Get specific engagement by engagement id 60 60 11. Create Engagements 61 61 11. Update Engagements 62 62 11. Add users data to Engagement 62 +1. Segments 63 +11. Get all Segments 64 +11. Get specific segment by segment id 65 +11. Add users to segment 66 +11. Get all segment ids for a user 63 63 64 -\\ 65 65 66 66 (% class="western" %) 67 67 **Accessing API** 68 68 69 69 (% class="western" %) 70 -**REST API URL: [[https:~~/~~/api.onecount.net/v2/>>url:https://api.onecount.net/v2/|| style=""rel="nofollow" shape="rect" class="external-link"]]**73 +**REST API URL: [[https:~~/~~/api.onecount.net/v2/>>url:https://api.onecount.net/v2/||rel="nofollow" shape="rect" class="external-link"]]** 71 71 72 72 (% class="western" %) 73 73 **Appkey**: THIS WILL BE PROVIDED TO YOU 74 74 75 -(% class="western" %) 76 -\\ 77 77 78 78 (% class="western" %) 79 79 Your HTTP requests to a REST API resource should contain the following information: ... ... @@ -95,8 +95,6 @@ 95 95 Any JSON data or JSON files containing information needed for requests, such as updating a record with new information. 96 96 ))) 97 97 98 -(% class="western" %) 99 -\\ 100 100 101 101 (% class="western" %) 102 102 **General API Usage** ... ... @@ -107,8 +107,6 @@ 107 107 (% class="western" %) 108 108 For lookup, the parameter list will be part of the request url. 109 109 110 -(% class="western" %) 111 -\\ 112 112 113 113 (% class="western" %) 114 114 **Response** ... ... @@ -116,7 +116,7 @@ 116 116 (% class="western" %) 117 117 API will output the response in a JSON format discussed below. 118 118 119 -{{code language="yml" theme="RDark" title="Response" collapse="true"}}116 +{{code language="yml" theme="RDark" title="Response"}} 120 120 { 121 121 "result": { 122 122 "success": "1", ... ... @@ -136,13 +136,10 @@ 136 136 } 137 137 {{/code}} 138 138 139 -(% class="western" %) 140 -\\ 141 141 142 142 (% class="western" %) 143 143 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. 144 144 145 -\\ 146 146 147 147 (% class="western" %) 148 148 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. ... ... @@ -150,7 +150,7 @@ 150 150 If the value of success is 1 then the response parameters of the called method will also be output. 151 151 152 152 (% class="western" %) 153 -For (% class="StyledLeaf___StyledSpan-sc-129cvv1-0 hSAwv slate-bold" %)**GET **requests we can pass** 147 +For (% class="StyledLeaf___StyledSpan-sc-129cvv1-0 hSAwv slate-bold" %)**GET **requests we can pass** limit **as parameter in URL. 154 154 155 155 === **COMPONENT: Users** === 156 156 ... ... @@ -172,72 +172,72 @@ 172 172 (% class="western" %) 173 173 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. 174 174 175 -\\ 176 176 177 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 170 +(% class="wrapped" %) 171 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 178 178 ((( 179 179 (% class="western" %) 180 180 **Method** 181 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)175 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 182 182 ((( 183 183 (% class="western" %) 184 184 **Url** 185 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)179 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 186 186 ((( 187 187 (% class="western" %) 188 188 **Action** 189 189 ))) 190 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)184 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 191 191 ((( 192 192 (% class="western" %) 193 193 GET 194 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)188 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 195 195 ((( 196 196 (% class="western" %) 197 197 /users 198 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)192 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 199 199 ((( 200 200 (% class="western" %) 201 201 Get users data limiting 25. 202 202 ))) 203 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)197 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 204 204 ((( 205 205 (% class="western" %) 206 206 GET 207 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)201 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 208 208 ((( 209 209 (% class="western" %) 210 210 /users/<ocid or ocid_hash> 211 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)205 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 212 212 ((( 213 213 (% class="western" %) 214 214 Get data for user id 1. The user id can be a numeric value or a hash 215 215 ))) 216 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)210 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 217 217 ((( 218 218 (% class="western" %) 219 219 GET 220 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)214 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 221 221 ((( 222 222 (% class="western" %) 223 -/users/lookup?1=user1@ [[email.com>>url:http://email.com/||style="" rel="nofollow" shape="rect" class="external-link"]]&return=1,2224 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)217 +/users/lookup?1=user1@email.com&return=1,2 218 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 225 225 ((( 226 226 (% class="western" %) 227 227 Lookup for user whose question id (1) is equal to supplied value. The users object returned will have value of questions 1 & 2. Here for example assumed to be firstname and last name. 228 228 229 229 (% class="western" %) 230 -Return parameter defines a csvof question id that are requested back in response.224 +Return parameter defines a CSV of question id that are requested back in response. 231 231 ))) 232 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)226 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 233 233 ((( 234 234 (% class="western" %) 235 235 POST 236 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)230 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 237 237 ((( 238 238 (% class="western" %) 239 239 /users 240 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)234 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 241 241 ((( 242 242 (% class="western" %) 243 243 Create a new users ... ... @@ -245,15 +245,15 @@ 245 245 (% class="western" %) 246 246 Parameters required to create the user needs to be sent as post data in JSON format. 247 247 ))) 248 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)242 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 249 249 ((( 250 250 (% class="western" %) 251 251 PUT 252 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)246 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 253 253 ((( 254 254 (% class="western" %) 255 255 /users/1 256 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)250 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 257 257 ((( 258 258 (% class="western" %) 259 259 Update user id 1. The user id can be a numeric value or a hash ... ... @@ -261,28 +261,28 @@ 261 261 (% class="western" %) 262 262 Parameters required to update the user needs to be sent as post data in JSON format. 263 263 ))) 264 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)258 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 265 265 ((( 266 266 (% class="western" %) 267 267 GET 268 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)262 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 269 269 ((( 270 270 (% class="western" %) 271 271 /users/1/partners/2 272 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)266 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 273 273 ((( 274 274 (% class="western" %) 275 275 Get user id 1 and partner id 2's ONEcount hash. The user id can be a numeric value or a hash. 276 276 ))) 277 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)271 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 278 278 ((( 279 279 (% class="western" %) 280 280 POST 281 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)275 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 282 282 ((( 283 283 (% class="western" %) 284 284 /users/login 285 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)279 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 286 286 ((( 287 287 (% class="western" %) 288 288 Check to see user exist with username/email and password. ... ... @@ -294,54 +294,54 @@ 294 294 Example: 295 295 296 296 (% class="western" %) 297 -{"u":" [[abc@one-count.com>>mailto:abc@one-count.com||style="" rel="nofollow" shape="rect" class="external-link"]]","e":"abc@[[one-count.com>>url:http://one-count.com/||style="" rel="nofollow" shape="rect" class="external-link"]]","p":"1234"}291 +{"u":"abc@one-count.com","e":"abc@one-count.com","p":"1234"} 298 298 299 299 (% class="western" %) 300 300 OR 301 301 302 302 (% class="western" %) 303 -{"u":" [[abc@one-count.com>>mailto:abc@one-count.com||style="" rel="nofollow" shape="rect" class="external-link"]]","p":"1234"}297 +{"u":"abc@one-count.com","p":"1234"} 304 304 305 305 (% class="western" %) 306 306 OR 307 307 308 308 (% class="western" %) 309 -{"e":" [[abc@one-count.com>>mailto:abc@one-count.com||style="" rel="nofollow" shape="rect" class="external-link"]]","p":"1234"}303 +{"e":"abc@one-count.com","p":"1234"} 310 310 311 311 (% class="western" %) 312 312 **OUTPUT** : Should get OCID of the user if it finds it otherwise get and error with msg user not found. 313 313 ))) 314 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 jbmEtYdocumentation-core-item-request-name" style="color:rgb(33,33,33);" %)All Users(%%) ==309 +(% id="HGETAllUsers" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 310 +== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)All Users(%%) == 317 317 318 318 ---- 319 319 320 -{{column width="100%"}} 321 - (% class="nolink" %)https:~/~/api.onecount.net/v2/users 322 -{{/column}} 314 +---- 323 323 324 -(% style="" %) 325 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 316 +{{panel bgColor="#D3D3D3" width="100%"}} 317 +(% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users 318 +{{/panel}} 326 326 320 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 321 + 327 327 ---- 328 328 329 -(% style="" %) 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}} 324 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 331 331 332 332 ==== Example ==== 333 333 334 334 ---- 335 335 336 -(% style="color: rgb(107,107,107);" %)Request330 +(% style="color:#6b6b6b" %)Request 337 337 338 -{{code language="php" theme="RDark" title="Get All Users Request" collapse="true"}}332 +{{code language="php" theme="RDark" title="Get All Users Request"}} 339 339 <?php 340 340 341 341 $curl = curl_init(); 342 342 343 343 curl_setopt_array($curl, array( 344 - CURLOPT_URL => ' rayaan.onecount.net/api/v2/users',338 + CURLOPT_URL => 'https://api.onecount.net/v2/users', 345 345 CURLOPT_RETURNTRANSFER => true, 346 346 CURLOPT_ENCODING => '', 347 347 CURLOPT_MAXREDIRS => 10, ... ... @@ -362,11 +362,10 @@ 362 362 363 363 {{/code}} 364 364 365 -\\ 366 366 367 -(% style="color: rgb(107,107,107);" %)Response360 +(% style="color:#6b6b6b" %)Response 200 OK 368 368 369 -{{code language="yml" theme="RDark" title="Get All Users Response" collapse="true"}}362 +{{code language="yml" theme="RDark" collapse="true" title="Get All Users Response"}} 370 370 { 371 371 "result": { 372 372 "success": "1", ... ... @@ -852,41 +852,35 @@ 852 852 } 853 853 {{/code}} 854 854 855 -\\ 856 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 jbmEtYdocumentation-core-item-request-name" style="color:rgb(33,33,33);" %)specific User(%%) ==849 +(% id="HGETspecificUser" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 850 +== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)specific User(%%) == 859 859 860 860 ---- 861 861 862 -{{ columnwidth="100%"}}863 - (% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users/(% style="color: rgb(33,33,33);" %)~{~{OCID}}864 -{{/ column}}854 +{{panel bgColor="#D3D3D3" width="100%"}} 855 + (% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users/(% style="color:#212121" %)~{~{OCID}} 856 +{{/panel}} 865 865 866 -(% style="" %) 867 -~{~{OCID}} is user id which is provided by ONEcount 858 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 868 868 869 -(% style="" %) 870 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 871 - 872 872 ---- 873 873 874 -(% style="" %) 875 -(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}} 862 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 876 876 877 877 ==== Example ==== 878 878 879 879 ---- 880 880 881 -(% style="color: rgb(107,107,107);" %)Request868 +(% style="color:#6b6b6b" %)Request 882 882 883 -{{code language="php" theme="RDark" title="Get specific User Request" collapse="true"}}870 +{{code language="php" theme="RDark" title="Get specific User Request"}} 884 884 <?php 885 885 886 886 $curl = curl_init(); 887 887 888 888 curl_setopt_array($curl, array( 889 - CURLOPT_URL => ' rayaan.onecount.net/api/v2/users/8418',876 + CURLOPT_URL => 'https://api.onecount.net/v2/users/{{OCID}}', 890 890 CURLOPT_RETURNTRANSFER => true, 891 891 CURLOPT_ENCODING => '', 892 892 CURLOPT_MAXREDIRS => 10, ... ... @@ -905,11 +905,10 @@ 905 905 echo $response; 906 906 {{/code}} 907 907 908 -\\ 909 909 910 -(% style="color: rgb(107,107,107);" %)Response896 +(% style="color:#6b6b6b" %)Response 200 OK 911 911 912 -{{code language="yml" theme="RDark" title="Get specific user Response" collapse="true"}}898 +{{code language="yml" theme="RDark" collapse="true" title="Get specific user Response"}} 913 913 { 914 914 "result": { 915 915 "success": "1", ... ... @@ -957,33 +957,27 @@ 957 957 } 958 958 {{/code}} 959 959 960 -\\ 961 961 962 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 963 -== (% class=" sc-fzomuh jbmEtYdocumentation-core-item-request-name" style="color:rgb(33, 33, 33); color: rgb(173, 122, 3)" %)POST(% class="sc-fzomuh jbmEtYdocumentation-core-item-request-name" style="color:rgb(33,33,33);" %)947 +(% id="HPOSTUserLogin" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 948 +== (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#ad7a03" %)POST(% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %) User Login(%%) == 964 964 965 965 ---- 966 966 967 -{{ columnwidth="100%"}}968 - (% class="nolink" %)https:~/~/api.onecount.net/v2/users(% style="color: rgb(33,33,33);" %)/login969 -{{/ column}}952 +{{panel bgColor="#D3D3D3" width="100%"}} 953 + (% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users(% class="nolink" style="color:#212121" %)/login 954 +{{/panel}} 970 970 971 -(% style="" %) 972 -\\ 956 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 973 973 974 -(% style="" %) 975 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 976 - 977 977 ---- 978 978 979 -(% style="" %) 980 -(% 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}} 960 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 981 981 982 -=== (% style="color: rgb(33,33,33);" %)Body (% style="color:rgb(107,107,107);" %)raw (json)(%%) ===962 +=== (% style="color:#212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) === 983 983 984 984 ---- 985 985 986 -{{code language="yml" theme="RDark" title="Body" collapse="true"}}966 +{{code language="yml" theme="RDark" title="Body"}} 987 987 {"e":"rayaan@one-count.com","p":"12345"} 988 988 {{/code}} 989 989 ... ... @@ -991,15 +991,15 @@ 991 991 992 992 ---- 993 993 994 -(% style="color: rgb(107,107,107);" %)Request974 +(% style="color:#6b6b6b" %)Request 995 995 996 -{{code language="php" theme="RDark" title="User login Request" collapse="true"}}976 +{{code language="php" theme="RDark" title="User login Request"}} 997 997 <?php 998 998 999 999 $curl = curl_init(); 1000 1000 1001 1001 curl_setopt_array($curl, array( 1002 - CURLOPT_URL => ' rayaan.onecount.net/api/v2/users/login',982 + CURLOPT_URL => 'https://api.onecount.net/v2/users/login', 1003 1003 CURLOPT_RETURNTRANSFER => true, 1004 1004 CURLOPT_ENCODING => '', 1005 1005 CURLOPT_MAXREDIRS => 10, ... ... @@ -1019,11 +1019,10 @@ 1019 1019 echo $response; 1020 1020 {{/code}} 1021 1021 1022 -\\ 1023 1023 1024 -(% style="color: rgb(107,107,107);" %)Response1003 +(% style="color:#6b6b6b" %)Response 200 OK 1025 1025 1026 -{{code language="yml" theme="RDark" title="Login user Response" collapse="true"}}1005 +{{code language="yml" theme="RDark" collapse="true" title="Login user Response"}} 1027 1027 { 1028 1028 "result": { 1029 1029 "success": "1", ... ... @@ -1038,48 +1038,42 @@ 1038 1038 } 1039 1039 {{/code}} 1040 1040 1041 -\\ 1042 1042 1043 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 1044 -== (% class="sc-fzoaKM imuBmi" style="color:rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtYdocumentation-core-item-request-name" style="color:rgb(33,33,33);" %)lookup User(%%) ==1021 +(% id="HGETlookupUser" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 1022 +== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)lookup User(%%) == 1045 1045 1046 1046 ---- 1047 1047 1048 -{{ columnwidth="100%"}}1049 - rgb(33,33,33);" %)/lookup?2=user_242_6298&return=1,2,3,41050 -{{/ column}}1026 +{{panel bgColor="#D3D3D3" width="100%"}} 1027 +(% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users(% class="nolink" style="color:#212121" %)/lookup?2=user_242_6298&return=1,2,3,4 1028 +{{/panel}} 1051 1051 1052 -(% style="" %) 1053 -\\ 1030 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 1054 1054 1055 -(% style="" %) 1056 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 1057 - 1058 1058 ---- 1059 1059 1060 -(% style="" %) 1061 -(% 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}} 1034 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 1062 1062 1063 -=== (% style="color: rgb(33,33,33);" %)Query Params(%%) ===1036 +=== (% style="color:#212121" %)Query Params(%%) === 1064 1064 1065 1065 ---- 1066 1066 1067 -(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color:rgb(33,33,33);" %)2rgb(33,33,33);" %)user_242_6298(%%)1068 -(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color:rgb(33,33,33);" %)returnrgb(33,33,33);" %)1,2,3,41040 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)2 (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)user_242_6298(%%) 1041 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)return (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)1,2,3,4 1069 1069 1070 1070 ==== Example ==== 1071 1071 1072 1072 ---- 1073 1073 1074 -(% style="color: rgb(107,107,107);" %)Request1047 +(% style="color:#6b6b6b" %)Request 1075 1075 1076 -{{code language="php" theme="RDark" title="Lookup user Request" collapse="true"}}1049 +{{code language="php" theme="RDark" title="Lookup user Request"}} 1077 1077 <?php 1078 1078 1079 1079 $curl = curl_init(); 1080 1080 1081 1081 curl_setopt_array($curl, array( 1082 - CURLOPT_URL => ' rayaan.onecount.net/api/v2/users/lookup?2=user_242_6298&return=1%2C2%2C3%2C4',1055 + CURLOPT_URL => 'https://api.onecount.net/v2/users/lookup?2=user_242_6298&return=1,2,3,4', 1083 1083 CURLOPT_RETURNTRANSFER => true, 1084 1084 CURLOPT_ENCODING => '', 1085 1085 CURLOPT_MAXREDIRS => 10, ... ... @@ -1098,11 +1098,10 @@ 1098 1098 echo $response; 1099 1099 {{/code}} 1100 1100 1101 -\\ 1102 1102 1103 -(% style="color: rgb(107,107,107);" %)Response1075 +(% style="color:#6b6b6b" %)Response 200 OK 1104 1104 1105 -{{code language="yml" theme="RDark" title="Lookup user Response" collapse="true"}}1077 +{{code language="yml" theme="RDark" collapse="true" title="Lookup user Response"}} 1106 1106 { 1107 1107 "result": { 1108 1108 "success": "1", ... ... @@ -1125,553 +1125,363 @@ 1125 1125 } 1126 1126 {{/code}} 1127 1127 1128 -\\ 1129 1129 1130 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 1131 -== (% class="sc-fzoaKM imuBmi" style="color:rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtYdocumentation-core-item-request-name" style="color:rgb(33,33,33);" %)Partners(%%) ==1101 +(% id="HGETPartners" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 1102 +== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)Partners(%%) == 1132 1132 1133 1133 ---- 1134 1134 1135 -{{ columnwidth="100%"}}1136 - rgb(33,33,33);" %)/users/~{~{OCID}}/partners/~{~{Partner id}}1137 -{{/ column}}1106 +{{panel bgColor="#D3D3D3" width="100%"}} 1107 +(% class="nolink nolink" %)https:~/~/api.onecount.net/v2(% class="nolink" style="color:#212121" %)/users/~{~{OCID}}/partners/~{~{Partner id}} 1108 +{{/panel}} 1138 1138 1139 -(% style="" %) 1140 -\\ 1110 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 1141 1141 1142 -(% style="" %) 1143 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 1144 - 1145 1145 ---- 1146 1146 1147 -(% style="" %) 1148 -(% 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}} 1114 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 1149 1149 1150 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 1151 -== (% class=" sc-fzomuh jbmEtYdocumentation-core-item-request-name" style="color:rgb(33, 33, 33); color: rgb(173, 122, 3)" %)POST(% class="sc-fzomuh jbmEtYdocumentation-core-item-request-name" style="color:rgb(33,33,33);" %)1116 +(% id="HPOSTCreateuser" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 1117 +== (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#ad7a03" %)POST(% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %) Create user(%%) == 1152 1152 1153 1153 ---- 1154 1154 1155 -{{ columnwidth="100%"}}1156 - 1157 -{{/ column}}1121 +{{panel bgColor="#D3D3D3" width="100%"}} 1122 +(% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users 1123 +{{/panel}} 1158 1158 1159 -(% style="" %) 1160 -\\ 1161 1161 1162 -(% style="" %) 1163 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 1164 - 1165 ----- 1166 - 1167 -(% style="" %) 1168 -(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}} 1169 - 1170 -=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) === 1171 - 1172 ----- 1173 - 1174 -{{code language="yml" theme="RDark" title="Body" collapse="true"}} 1175 -{"Users":{"PartnerId":1,"Demo":{"1":"testApirayaan7@onecount.net","4":"Rayaan","5":"Ahmed"}},"DedupeColumns":"1","Transactions":[]} 1176 -{{/code}} 1177 - 1178 -==== Example ==== 1179 - 1180 ----- 1181 - 1182 -(% style="color: rgb(107,107,107);" %)Request 1183 - 1184 -{{code language="php" theme="RDark" title="Create User Request" collapse="true"}} 1185 -<?php 1186 - 1187 -$curl = curl_init(); 1188 - 1189 -curl_setopt_array($curl, array( 1190 - CURLOPT_URL => 'rayaan.onecount.net/api/v2/users', 1191 - CURLOPT_RETURNTRANSFER => true, 1192 - CURLOPT_ENCODING => '', 1193 - CURLOPT_MAXREDIRS => 10, 1194 - CURLOPT_TIMEOUT => 0, 1195 - CURLOPT_FOLLOWLOCATION => true, 1196 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 1197 - CURLOPT_CUSTOMREQUEST => 'POST', 1198 - CURLOPT_POSTFIELDS =>'{"Users":{"PartnerId":1,"Demo":{"1":"testApirayaan6@onecount.net","4":"Rayaan","5":"Ahmed"}},"DedupeColumns":"1","Transactions":[]}', 1199 - CURLOPT_HTTPHEADER => array( 1200 - 'Appkey: {{ONECOUNT API KEY}}' 1201 - ), 1202 -)); 1203 - 1204 -$response = curl_exec($curl); 1205 - 1206 -curl_close($curl); 1207 -echo $response; 1208 -{{/code}} 1209 - 1210 -\\ 1211 - 1212 -(% style="color: rgb(107,107,107);" %)Response 200 OK 1213 - 1214 -{{code language="yml" theme="RDark" title="Create user Response" collapse="true"}} 1215 -{ 1216 - "result": { 1217 - "success": "1", 1218 - "error": { 1219 - "code": "", 1220 - "message": "" 1221 - } 1222 - }, 1223 - "Users": { 1224 - "Id": 1845831 1225 - } 1226 -} 1227 -{{/code}} 1228 - 1229 -\\ 1230 - 1231 -(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 1232 -== (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33, 33, 33); color: rgb(0, 83, 184)" %)PUT (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)Update user(%%) == 1233 - 1234 ----- 1235 - 1236 -{{column width="100%"}} 1237 - (% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users/~{~{OCID}} 1238 -{{/column}} 1239 - 1240 -(% style="" %) 1241 -\\ 1242 - 1243 -(% style="" %) 1244 -=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 1245 - 1246 ----- 1247 - 1248 -(% style="" %) 1249 -(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)~{~{ONECOUNT API KEY}} 1250 - 1251 -=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) === 1252 - 1253 ----- 1254 - 1255 -{{code language="yml" theme="RDark" title="Body" collapse="true"}} 1256 -{"Users":{"Demo":{"6":"title1"}}} 1257 -{{/code}} 1258 - 1259 -==== Example ==== 1260 - 1261 ----- 1262 - 1263 -(% style="color: rgb(107,107,107);" %)Request 1264 - 1265 -{{code language="php" theme="RDark" title="Update User Request" collapse="true"}} 1266 -<?php 1267 - 1268 -$curl = curl_init(); 1269 - 1270 -curl_setopt_array($curl, array( 1271 - CURLOPT_URL => 'rayaan.onecount.net/api/v2/users/{{OCID}}', 1272 - CURLOPT_RETURNTRANSFER => true, 1273 - CURLOPT_ENCODING => '', 1274 - CURLOPT_MAXREDIRS => 10, 1275 - CURLOPT_TIMEOUT => 0, 1276 - CURLOPT_FOLLOWLOCATION => true, 1277 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 1278 - CURLOPT_CUSTOMREQUEST => 'PUT', 1279 - CURLOPT_POSTFIELDS =>'{"Users":{"Demo":{"6":"title"}}}', 1280 - CURLOPT_HTTPHEADER => array( 1281 - 'Appkey: {{ONECOUNT API KEY}}' 1282 - ), 1283 -)); 1284 - 1285 -$response = curl_exec($curl); 1286 - 1287 -curl_close($curl); 1288 -echo $response; 1289 - 1290 - 1291 -{{/code}} 1292 - 1293 -\\ 1294 - 1295 -(% style="color: rgb(107,107,107);" %)Response 200 OK 1296 - 1297 -{{code language="yml" theme="RDark" title="Update user Response" collapse="true"}} 1298 -{ 1299 - "result": { 1300 - "success": "1", 1301 - "error": { 1302 - "code": "", 1303 - "message": "" 1304 - } 1305 - }, 1306 - "Users": [ 1307 - { 1308 - "Id": 1845823, 1309 - "OCID_HASH": "fccaa8dc7afadccc5882528d47b27c2bb53e2788dd0ac1fe170abef77a9c4d5b" 1310 - } 1311 - ] 1312 -} 1313 -{{/code}} 1314 - 1315 -\\ 1316 - 1317 -\\ 1318 - 1319 -\\ 1320 - 1321 -\\ 1322 - 1323 -\\ 1324 - 1325 -\\ 1326 - 1327 -\\ 1328 - 1329 -\\ 1330 - 1331 -\\ 1332 - 1333 -\\ 1334 - 1335 -\\ 1336 - 1337 -\\ 1338 - 1339 -\\ 1340 - 1341 -\\ 1342 - 1343 -\\ 1344 - 1345 -\\ 1346 - 1347 -\\ 1348 - 1349 -\\ 1350 - 1351 -\\ 1352 - 1353 -\\ 1354 - 1355 -\\ 1356 - 1357 -\\ 1358 - 1359 -\\ 1360 - 1361 -\\ 1362 - 1363 -\\ 1364 - 1365 -\\ 1366 - 1367 -\\ 1368 - 1369 -\\ 1370 - 1371 -\\ 1372 - 1373 1373 (% class="western" %) 1374 -**GET method should be used to lookup users.** 1375 - 1376 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1377 -((( 1378 -(% class="western" %) 1379 -**Request** 1380 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1381 -((( 1382 -(% class="western" %) 1383 -**Type** 1384 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1385 -((( 1386 -(% class="western" %) 1387 -**Description** 1388 -))) 1389 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1390 -((( 1391 -(% class="western" %) 1392 -Lookup params 1393 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1394 -((( 1395 -(% class="western" %) 1396 -String 1397 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1398 -((( 1399 -(% class="western" %) 1400 -URL encoded key value string parameters for the lookup. Return property has csv of questions id requested back in Users object. 1401 - 1402 -(% class="western" %) 1403 -Params: Value of question Ids: Key value for Lookup question ids for e.g. 1=user1@[[email.com>>url:http://email.com/||style="" rel="nofollow" shape="rect" class="external-link"]] 1404 - 1405 -(% class="western" %) 1406 -return: csv of question id that is requested back. The Users object returned will only have these properties plus UserId (String) 1407 - 1408 -(% class="western" %) 1409 -If return is not provided, all the demographics will be returned. 1410 -))) 1411 - 1412 -\\ 1413 - 1414 -\\ 1415 - 1416 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1417 -((( 1418 -(% class="western" %) 1419 -**Response** 1420 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1421 -((( 1422 -(% class="western" %) 1423 -**Type** 1424 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1425 -((( 1426 -(% class="western" %) 1427 -**Description** 1428 -))) 1429 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1430 -((( 1431 -(% class="western" %) 1432 -Users 1433 -)))|=(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1434 -((( 1435 -(% class="western" align="left" %) 1436 -Users 1437 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1438 -((( 1439 -(% class="western" %) 1440 -Found users returned with the demo field requested in return parameter in json format 1441 -))) 1442 - 1443 -\\ 1444 - 1445 -**Sample response for /users/(% style="color: rgb(80,80,80);" %)<OCID or ocid_hash>(%%)** 1446 - 1447 -Along with the demo in json format, the active packages and products of the user referred to as products and resources respectively are also returned. 1448 - 1449 -(% class="relative-table" style="width: 1432.1px;" %) 1450 -(% class="" %)|=(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1451 -((( 1452 -(% class="content-wrapper" %) 1453 -((( 1454 -(% class="confluence-embedded-file-wrapper confluence-embedded-manual-size" %)[[image:attach:Screen Shot 2020-02-26 at 11.15.52 AM.png||width="1407"]] 1455 -))) 1456 -))) 1457 - 1458 -\\ 1459 - 1460 -**Sample response for /users/lookup?(% style="color: rgb(80,80,80);" %)11=santosh@[[one-count.com>>url:http://one-count.com/||style="" rel="nofollow" shape="rect" class="external-link"]]&return=2,3(%%)** 1461 - 1462 -(% class="" %)|=(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1463 -((( 1464 -(% class="content-wrapper" %) 1465 -((( 1466 -(% class="confluence-embedded-file-wrapper confluence-embedded-manual-size" %)[[image:attach:Screen Shot 2020-02-26 at 11.22.13 AM.png||height="250"]] 1467 -))) 1468 -))) 1469 - 1470 -\\ 1471 - 1472 -(% class="western" %) 1473 1473 **POST method should be used to create users.** 1474 1474 1475 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1129 +(% class="wrapped" %) 1130 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1476 1476 ((( 1477 1477 (% class="western" %) 1478 1478 **Request** 1479 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1134 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1480 1480 ((( 1481 1481 (% class="western" %) 1482 1482 **Type** 1483 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1138 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1484 1484 ((( 1485 1485 (% class="western" %) 1486 1486 **Description** 1487 1487 ))) 1488 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)1143 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1489 1489 ((( 1490 1490 (% class="western" %) 1491 1491 Users 1492 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1147 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1493 1493 ((( 1494 1494 (% class="western" %) 1495 1495 Users 1496 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1151 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1497 1497 ((( 1498 1498 (% class="western" %) 1499 1499 Users object that contains information about user to create. PartnerId Needs to be specified. 1500 1500 ))) 1501 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)1156 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1502 1502 ((( 1503 1503 (% class="western" %) 1504 1504 Transactions 1505 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1160 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1506 1506 ((( 1507 1507 (% class="western" %) 1508 1508 Transactions 1509 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1164 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1510 1510 ((( 1511 1511 (% class="western" %) 1512 1512 (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. 1513 1513 ))) 1514 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)1169 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1515 1515 ((( 1516 1516 (% class="western" %) 1517 1517 DedupeColumns 1518 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1173 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1519 1519 ((( 1520 1520 (% class="western" %) 1521 1521 String 1522 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1177 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1523 1523 ((( 1524 1524 (% class="western" %) 1525 1525 CSV of question id's that should be considered to find duplicate. 1526 1526 ))) 1527 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)1182 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1528 1528 ((( 1529 1529 (% class="western" %) 1530 1530 Return 1531 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1186 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1532 1532 ((( 1533 1533 (% class="western" %) 1534 1534 String 1535 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1190 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1536 1536 ((( 1537 1537 (% class="western" %) 1538 1538 CSV of ONEcount QuestionId's requested back in Users object in response. 1539 1539 ))) 1540 1540 1541 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1196 +(% class="wrapped" %) 1197 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1542 1542 ((( 1543 1543 (% class="western" %) 1544 1544 **Response** 1545 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1201 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1546 1546 ((( 1547 1547 (% class="western" %) 1548 1548 **Type** 1549 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1205 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1550 1550 ((( 1551 1551 (% class="western" %) 1552 1552 **Description** 1553 1553 ))) 1554 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)1210 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1555 1555 ((( 1556 1556 (% class="western" %) 1557 1557 Users 1558 1558 )))|=(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1559 1559 ((( 1560 -(% class="western" align ="left" %)1216 +(% class="western" style="text-align:left" %) 1561 1561 Users 1562 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1218 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1563 1563 ((( 1564 1564 (% class="western" %) 1565 1565 Created users returned with the demo field requested in return parameter in json format. If return was not specified only UserId will be returned. 1566 1566 ))) 1567 1567 1568 - \\1224 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 1569 1569 1226 +---- 1227 + 1228 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 1229 + 1230 +=== (% style="color:#212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) === 1231 + 1232 +---- 1233 + 1234 +{{code language="yml" theme="RDark" title="Body"}} 1235 +{"Users":{"PartnerId":1,"Demo":{"1":"testApirayaan7@onecount.net","4":"Rayaan","5":"Ahmed"}},"DedupeColumns":"1","Transactions":[]} 1236 +{{/code}} 1237 + 1238 +==== Example ==== 1239 + 1240 +---- 1241 + 1242 +(% style="color:#6b6b6b" %)Request 1243 + 1244 +{{code language="php" theme="RDark" title="Create User Request"}} 1245 +<?php 1246 + 1247 +$curl = curl_init(); 1248 + 1249 +curl_setopt_array($curl, array( 1250 + CURLOPT_URL => 'https://api.onecount.net/v2/users', 1251 + CURLOPT_RETURNTRANSFER => true, 1252 + CURLOPT_ENCODING => '', 1253 + CURLOPT_MAXREDIRS => 10, 1254 + CURLOPT_TIMEOUT => 0, 1255 + CURLOPT_FOLLOWLOCATION => true, 1256 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 1257 + CURLOPT_CUSTOMREQUEST => 'POST', 1258 + CURLOPT_POSTFIELDS =>'{"Users":{"PartnerId":1,"Demo":{"1":"testApirayaan6@onecount.net","4":"Rayaan","5":"Ahmed"}},"DedupeColumns":"1","Transactions":[]}', 1259 + CURLOPT_HTTPHEADER => array( 1260 + 'Appkey: {{ONECOUNT API KEY}}' 1261 + ), 1262 +)); 1263 + 1264 +$response = curl_exec($curl); 1265 + 1266 +curl_close($curl); 1267 +echo $response; 1268 +{{/code}} 1269 + 1270 + 1271 +(% style="color:#6b6b6b" %)Response 200 OK 1272 + 1273 +{{code language="yml" theme="RDark" collapse="true" title="Create user Response"}} 1274 +{ 1275 + "result": { 1276 + "success": "1", 1277 + "error": { 1278 + "code": "", 1279 + "message": "" 1280 + } 1281 + }, 1282 + "Users": { 1283 + "Id": 1845831 1284 + } 1285 +} 1286 +{{/code}} 1287 + 1288 + 1289 +(% id="HPUTUpdateuser" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 1290 +== (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#0053b8" %)PUT (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)Update user(%%) == 1291 + 1292 +---- 1293 + 1294 +{{panel bgColor="#D3D3D3" width="100%"}} 1295 + (% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users/~{~{OCID(% class="nolink" %)}} 1296 +{{/panel}} 1297 + 1298 + 1570 1570 (% class="western" %) 1571 1571 **PUT method should be used to update users.** 1572 1572 1573 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1302 +(% class="wrapped" %) 1303 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1574 1574 ((( 1575 1575 (% class="western" %) 1576 1576 **Request** 1577 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1307 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1578 1578 ((( 1579 1579 (% class="western" %) 1580 1580 **Type** 1581 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1311 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1582 1582 ((( 1583 1583 (% class="western" %) 1584 1584 **Description** 1585 1585 ))) 1586 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)1316 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1587 1587 ((( 1588 1588 (% class="western" %) 1589 1589 Users 1590 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1320 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1591 1591 ((( 1592 1592 (% class="western" %) 1593 1593 Users 1594 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1324 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1595 1595 ((( 1596 1596 (% class="western" %) 1597 -Users object with update fields. Return property has csvof questions id requested back in Users object.1327 +Users object with update fields. Return property has CSV of questions id requested back in Users object. 1598 1598 ))) 1599 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)1329 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1600 1600 ((( 1601 1601 (% class="western" %) 1602 1602 Return 1603 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1333 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1604 1604 ((( 1605 1605 (% class="western" %) 1606 1606 String 1607 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1337 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1608 1608 ((( 1609 1609 (% class="western" %) 1610 1610 CSV of ONEcount QuestionId's requested back in Users object in response 1611 1611 ))) 1612 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)1342 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1613 1613 ((( 1614 1614 (% class="western" %) 1615 1615 RequestDate 1616 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1346 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1617 1617 ((( 1618 1618 (% class="western" %) 1619 1619 Date 1620 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1350 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1621 1621 ((( 1622 1622 (% class="western" %) 1623 1623 RequestDate to use for the demo update. If not provided current date will be used. 1624 1624 ))) 1625 1625 1626 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1356 +(% class="wrapped" %) 1357 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1627 1627 ((( 1628 1628 (% class="western" %) 1629 1629 **Response** 1630 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1361 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1631 1631 ((( 1632 1632 (% class="western" %) 1633 1633 **Type** 1634 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1365 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1635 1635 ((( 1636 1636 (% class="western" %) 1637 1637 **Description** 1638 1638 ))) 1639 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)1370 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1640 1640 ((( 1641 1641 (% class="western" %) 1642 1642 Users 1643 1643 )))|=(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1644 1644 ((( 1645 -(% class="western" align ="left" %)1376 +(% class="western" style="text-align:left" %) 1646 1646 Users 1647 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1378 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1648 1648 ((( 1649 1649 (% class="western" %) 1650 1650 Updated user returned with the demo field requested in return parameter in json format. 1651 1651 ))) 1652 1652 1653 -(% class="western" %) 1654 -\\ 1384 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 1655 1655 1656 -(% class="western" %) 1657 -\\ 1386 +---- 1658 1658 1659 -(% class="western" %) 1660 -Create new users. Here in this example the JSON for request is passed in userFile.json file. 1388 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 1661 1661 1662 - {{{curl-XPOST -H “Appkey: xxx” -H "Content-Type: application/json"–data-binary-d'@userFile.json' https://api.onecount.net/v2/users}}}1390 +=== (% style="color:#212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) === 1663 1663 1664 -(% class="western" %) 1665 -**~ ** 1392 +---- 1666 1666 1667 -(% class="western" %) 1668 -**~ ** 1394 +{{code language="yml" theme="RDark" title="Body"}} 1395 +{"Users":{"Demo":{"6":"title1"}}} 1396 +{{/code}} 1669 1669 1670 - \\1398 +==== Example ==== 1671 1671 1672 -(% class="western" %) 1673 -**COMPONENT: Questions** 1400 +---- 1674 1674 1402 +(% style="color:#6b6b6b" %)Request 1403 + 1404 +{{code language="php" theme="RDark" title="Update User Request"}} 1405 +<?php 1406 + 1407 +$curl = curl_init(); 1408 + 1409 +curl_setopt_array($curl, array( 1410 + CURLOPT_URL => 'https://api.onecount.net/v2/users/{{OCID}}', 1411 + CURLOPT_RETURNTRANSFER => true, 1412 + CURLOPT_ENCODING => '', 1413 + CURLOPT_MAXREDIRS => 10, 1414 + CURLOPT_TIMEOUT => 0, 1415 + CURLOPT_FOLLOWLOCATION => true, 1416 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 1417 + CURLOPT_CUSTOMREQUEST => 'PUT', 1418 + CURLOPT_POSTFIELDS =>'{"Users":{"Demo":{"6":"title"}}}', 1419 + CURLOPT_HTTPHEADER => array( 1420 + 'Appkey: {{ONECOUNT API KEY}}' 1421 + ), 1422 +)); 1423 + 1424 +$response = curl_exec($curl); 1425 + 1426 +curl_close($curl); 1427 +echo $response; 1428 + 1429 + 1430 +{{/code}} 1431 + 1432 + 1433 +(% style="color:#6b6b6b" %)Response 200 OK 1434 + 1435 +{{code language="yml" theme="RDark" collapse="true" title="Update user Response"}} 1436 +{ 1437 + "result": { 1438 + "success": "1", 1439 + "error": { 1440 + "code": "", 1441 + "message": "" 1442 + } 1443 + }, 1444 + "Users": [ 1445 + { 1446 + "Id": 1845823, 1447 + "OCID_HASH": "fccaa8dc7afadccc5882528d47b27c2bb53e2788dd0ac1fe170abef77a9c4d5b" 1448 + } 1449 + ] 1450 +} 1451 +{{/code}} 1452 + 1453 + 1454 +(% id="HCOMPONENT:Questions" class="western" %) 1455 +=== **COMPONENT: Questions** === 1456 + 1675 1675 (% class="western" %) 1676 1676 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). 1677 1677 ... ... @@ -1684,131 +1684,141 @@ 1684 1684 (% class="western" %) 1685 1685 There can be 6 types of questions: 1686 1686 1687 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1469 +(% class="wrapped" %) 1470 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1688 1688 ((( 1689 -(% class="western" align ="center" %)1472 +(% class="western" style="text-align:center" %) 1690 1690 **Type** 1691 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1474 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1692 1692 ((( 1693 1693 (% class="western" %) 1694 1694 **Description** 1695 1695 ))) 1696 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)1479 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1697 1697 ((( 1698 -(% class="western" align ="center" %)1699 - 11700 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1481 +(% class="western" style="text-align:center" %) 1482 +0 1483 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1701 1701 ((( 1702 1702 (% class="western" %) 1703 -Text boxtype questions or short response type question. The response length needs to be less than 255 characters.1486 +Text type questions or short response type question. The response length needs to be less than 255 characters. 1704 1704 ))) 1705 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)1488 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1706 1706 ((( 1707 -(% class="western" align ="center" %)1708 - 21709 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1490 +(% class="western" style="text-align:center" %) 1491 +1 1492 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1710 1710 ((( 1711 1711 (% class="western" %) 1712 1712 Textarea type question or long response type question. 1713 1713 ))) 1714 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1497 +|(% style="text-align:left; vertical-align:top" %)((( 1498 +(% style="text-align: left;vertical-align: top;" %) 1715 1715 ((( 1716 -(% class="western" align="center" %) 1717 -3 1718 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1500 +(% class="western" style="text-align:center" %) 1501 +2 1502 +))) 1503 + 1719 1719 ((( 1505 + 1506 +))) 1507 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1508 +((( 1720 1720 (% class="western" %) 1721 1721 Password type question. This is basically same as type 1 but when displayed in ONEcount frontend forms typed characters appears as *. 1722 1722 ))) 1723 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1512 +|(% style="text-align:left; vertical-align:top" %) 3|(% style="text-align:left; vertical-align:top" %)Numeric type question. 1513 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1724 1724 ((( 1725 -(% class="western" align ="center" %)1515 +(% class="western" style="text-align:center" %) 1726 1726 4 1727 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1517 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1728 1728 ((( 1729 1729 (% class="western" %) 1730 1730 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. 1731 1731 ))) 1732 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)1522 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1733 1733 ((( 1734 -(% class="western" align ="center" %)1524 +(% class="western" style="text-align:center" %) 1735 1735 5 1736 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1526 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1737 1737 ((( 1738 1738 (% class="western" %) 1739 1739 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. 1740 1740 ))) 1741 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)1531 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1742 1742 ((( 1743 -(% class="western" align ="center" %)1533 +(% class="western" style="text-align:center" %) 1744 1744 6 1745 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1535 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1746 1746 ((( 1747 1747 (% class="western" %) 1748 1748 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. 1749 1749 ))) 1540 +|(% style="text-align:left; vertical-align:top" %) 7 |(% style="text-align:left; vertical-align:top" %)Date type question. 1750 1750 1751 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1542 +(% class="wrapped" %) 1543 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1752 1752 ((( 1753 1753 (% class="western" %) 1754 1754 **Method** 1755 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1547 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1756 1756 ((( 1757 1757 (% class="western" %) 1758 1758 **Url** 1759 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1551 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1760 1760 ((( 1761 1761 (% class="western" %) 1762 1762 **Action** 1763 1763 ))) 1764 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)1556 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1765 1765 ((( 1766 1766 (% class="western" %) 1767 1767 GET 1768 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1560 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1769 1769 ((( 1770 1770 (% class="western" %) 1771 1771 /questions 1772 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1564 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1773 1773 ((( 1774 1774 (% class="western" %) 1775 1775 List all questions 1776 1776 ))) 1777 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)1569 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1778 1778 ((( 1779 1779 (% class="western" %) 1780 1780 GET 1781 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1573 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1782 1782 ((( 1783 1783 (% class="western" %) 1784 1784 /questions/1 1785 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1577 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1786 1786 ((( 1787 1787 (% class="western" %) 1788 1788 Returns question id 1 1789 1789 ))) 1790 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)1582 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1791 1791 ((( 1792 1792 (% class="western" %) 1793 1793 GET 1794 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1586 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1795 1795 ((( 1796 1796 (% class="western" %) 1797 1797 /questions/lookup?Text=Email 1798 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1590 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1799 1799 ((( 1800 1800 (% class="western" %) 1801 1801 Returns all questions with “Email" in question text 1802 1802 ))) 1803 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)1595 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1804 1804 ((( 1805 1805 (% class="western" %) 1806 1806 POST 1807 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1599 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1808 1808 ((( 1809 1809 (% class="western" %) 1810 1810 /questions 1811 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1603 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1812 1812 ((( 1813 1813 (% class="western" %) 1814 1814 Create a new question ... ... @@ -1816,15 +1816,15 @@ 1816 1816 (% class="western" %) 1817 1817 JSON of the Questions type object needs to be sent as post data. Id field should not be sent. 1818 1818 ))) 1819 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)1611 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1820 1820 ((( 1821 1821 (% class="western" %) 1822 1822 PUT 1823 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1615 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1824 1824 ((( 1825 1825 (% class="western" %) 1826 1826 /questions 1827 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)1619 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1828 1828 ((( 1829 1829 (% class="western" %) 1830 1830 Update a question ... ... @@ -1833,347 +1833,6689 @@ 1833 1833 JSON of the Questions type object needs to be sent as post data. Id field is mandatory for update. 1834 1834 ))) 1835 1835 1836 -\\ 1837 1837 1838 -(% class="western" %)1839 - **GET method canbedto lookupquestions.**1629 +(% id="HGETAllQuestions" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 1630 +== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)All Questions(%%) == 1840 1840 1841 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1842 -((( 1843 -(% class="western" %) 1844 -**Request** 1845 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1846 -((( 1847 -(% class="western" %) 1848 -**Type** 1849 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1850 -((( 1851 -(% class="western" %) 1852 -**Description** 1853 -))) 1854 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1855 -((( 1856 -(% class="western" %) 1857 -Lookup params 1858 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1859 -((( 1860 -(% class="western" %) 1861 -String 1862 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1863 -((( 1864 -(% class="western" %) 1865 -URL encoded key value string parameters for the question that a user is trying to search. 1632 +---- 1866 1866 1867 -(% class="western" %) 1868 -Params: 1634 +---- 1869 1869 1870 -(% class="western" %) 1871 -Text: Word or phrase that should be present in the question text (String) 1636 +{{panel bgColor="#D3D3D3" width="100%"}} 1637 +(% class="nolink nolink" %)https:~/~/api.onecount.net/v2/(% style="color:#212121" %)questions 1638 +{{/panel}} 1872 1872 1873 -(% class="western" %) 1874 -Type: Look up the question type. 1875 -))) 1640 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 1876 1876 1877 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1878 -((( 1879 -(% class="western" %) 1880 -**Response** 1881 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1882 -((( 1883 -(% class="western" %) 1884 -**Type** 1885 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1886 -((( 1887 -(% class="western" %) 1888 -**Description** 1889 -))) 1890 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1891 -((( 1892 -(% class="western" %) 1893 -Questions 1894 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1895 -((( 1896 -(% class="western" %) 1897 -Questions 1898 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1899 -((( 1900 -(% class="western" %) 1901 -Returns found question details. 1902 -))) 1642 +---- 1903 1903 1904 - \\1644 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 1905 1905 1906 -(% class="western" %) 1907 -**POST method should be used to create questions. The data that is sent should be in JSON format and of type questions as described in references section. Questions object will only need a choices block if the question is a multiple choice question (type=4 or 5 or 6).** 1646 +==== Example ==== 1908 1908 1909 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1910 -((( 1911 -(% class="western" %) 1912 -**Request** 1913 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1914 -((( 1915 -(% class="western" %) 1916 -**Type** 1917 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1918 -((( 1919 -(% class="western" %) 1920 -**Description** 1921 -))) 1922 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1923 -((( 1924 -(% class="western" %) 1925 -Questions 1926 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1927 -((( 1928 -(% class="western" %) 1929 -Questions 1930 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1931 -((( 1932 -(% class="western" %) 1933 -This defines the question contents and possible responses. 1934 -))) 1648 +---- 1935 1935 1936 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1937 -((( 1938 -(% class="western" %) 1939 -**Response** 1940 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1941 -((( 1942 -(% class="western" %) 1943 -**Type** 1944 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1945 -((( 1946 -(% class="western" %) 1947 -**Description** 1948 -))) 1949 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1950 -((( 1951 -(% class="western" %) 1952 -QuestionId 1953 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1954 -((( 1955 -(% class="western" %) 1956 -Int 1957 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1958 -((( 1959 -(% class="western" %) 1960 -Returns ONEcount question id on successful creation of the question. 1961 -))) 1650 +(% style="color:#6b6b6b" %)Request 1962 1962 1963 -\\ 1652 +{{code language="php" theme="RDark" title="Get All Questions Request"}} 1653 +<?php 1964 1964 1965 -(% class="western" %) 1966 -PUT method should be used to update question. 1655 +$curl = curl_init(); 1967 1967 1968 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1969 -((( 1970 -(% class="western" %) 1971 -**Request** 1972 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1973 -((( 1974 -(% class="western" %) 1975 -**Type** 1976 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1977 -((( 1978 -(% class="western" %) 1979 -**Description** 1980 -))) 1981 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1982 -((( 1983 -(% class="western" %) 1984 -Questions 1985 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1986 -((( 1987 -(% class="western" %) 1988 -Questions 1989 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1990 -((( 1991 -(% class="western" %) 1992 -This defines the question contents and responses. 1993 -))) 1657 +curl_setopt_array($curl, array( 1658 + CURLOPT_URL => 'https://api.onecount.net/v2/questions', 1659 + CURLOPT_RETURNTRANSFER => true, 1660 + CURLOPT_ENCODING => '', 1661 + CURLOPT_MAXREDIRS => 10, 1662 + CURLOPT_TIMEOUT => 0, 1663 + CURLOPT_FOLLOWLOCATION => true, 1664 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 1665 + CURLOPT_CUSTOMREQUEST => 'GET', 1666 + CURLOPT_HTTPHEADER => array( 1667 + 'Appkey: 70856f83422599c8e36191098f1536ae06e7bbcd' 1668 + ), 1669 +)); 1994 1994 1995 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1996 -((( 1997 -(% class="western" %) 1998 -**Response** 1999 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2000 -((( 2001 -(% class="western" %) 2002 -**Type** 2003 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2004 -((( 2005 -(% class="western" %) 2006 -**Description** 2007 -))) 2008 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2009 -((( 2010 -(% class="western" %) 2011 -QuestionId 2012 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2013 -((( 2014 -(% class="western" %) 2015 -Int 2016 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2017 -((( 2018 -(% class="western" %) 2019 -Returns ONEcount question id on successful update of the question. 2020 -))) 1671 +$response = curl_exec($curl); 2021 2021 2022 - (%class="western" %)2023 - \\1673 +curl_close($curl); 1674 +echo $response; 2024 2024 2025 -(% class="western" %) 2026 -Example: Get list of questions from api which has FirstName in text 2027 2027 2028 -{{{curl -X GET -H “Appkey: xxx” https://api.onecount.net/v2/questions/lookup?Text=FirstName}}} 2029 2029 2030 -(% class="western" %) 1678 +{{/code}} 1679 + 1680 + 1681 +(% style="color:#6b6b6b" %)Response 200 OK 1682 + 1683 +{{code language="yml" theme="RDark" collapse="true" title="Get All Questions Response"}} 2031 2031 { 1685 + "result": { 1686 + "success": "1", 1687 + "error": { 1688 + "code": "", 1689 + "message": "" 1690 + } 1691 + }, 1692 + "Questions": [ 1693 + { 1694 + "Id": 1, 1695 + "Text": "Email", 1696 + "Type": "0", 1697 + "Alias": "Email" 1698 + }, 1699 + { 1700 + "Id": 2, 1701 + "Text": "Username", 1702 + "Type": "0", 1703 + "Alias": "Username" 1704 + }, 1705 + { 1706 + "Id": 3, 1707 + "Text": "Password", 1708 + "Type": "2", 1709 + "Alias": "Password" 1710 + }, 1711 + { 1712 + "Id": 4, 1713 + "Text": "First Name", 1714 + "Type": "0", 1715 + "Alias": "First Name" 1716 + }, 1717 + { 1718 + "Id": 5, 1719 + "Text": "Last Name", 1720 + "Type": "0", 1721 + "Alias": "Last Name" 1722 + }, 1723 + { 1724 + "Id": 6, 1725 + "Text": "Title", 1726 + "Type": "0", 1727 + "Alias": "Title" 1728 + }, 1729 + { 1730 + "Id": 7, 1731 + "Text": "Company Name", 1732 + "Type": "0", 1733 + "Alias": "Company Name" 1734 + }, 1735 + { 1736 + "Id": 8, 1737 + "Text": "Company Address", 1738 + "Type": "0", 1739 + "Alias": "Company Address" 1740 + }, 1741 + { 1742 + "Id": 9, 1743 + "Text": "Address2", 1744 + "Type": "0", 1745 + "Alias": "Address2" 1746 + }, 1747 + { 1748 + "Id": 10, 1749 + "Text": "City", 1750 + "Type": "0", 1751 + "Alias": "City" 1752 + }, 1753 + { 1754 + "Id": 11, 1755 + "Text": "State/Province", 1756 + "Type": "4", 1757 + "Alias": "State/Province", 1758 + "Choices": [ 1759 + { 1760 + "Id": 1554, 1761 + "QuestionId": 11, 1762 + "Text": "Select One", 1763 + "Value": "", 1764 + "Order": 1 1765 + }, 1766 + { 1767 + "Id": 1562, 1768 + "QuestionId": 11, 1769 + "Text": "Alabama", 1770 + "Value": "AL", 1771 + "Order": 2 1772 + }, 1773 + { 1774 + "Id": 1570, 1775 + "QuestionId": 11, 1776 + "Text": "Alaska", 1777 + "Value": "AK", 1778 + "Order": 3 1779 + }, 1780 + { 1781 + "Id": 1578, 1782 + "QuestionId": 11, 1783 + "Text": "Arizona", 1784 + "Value": "AZ", 1785 + "Order": 4 1786 + }, 1787 + { 1788 + "Id": 1586, 1789 + "QuestionId": 11, 1790 + "Text": "Arkansas", 1791 + "Value": "AR", 1792 + "Order": 5 1793 + }, 1794 + { 1795 + "Id": 1594, 1796 + "QuestionId": 11, 1797 + "Text": "California", 1798 + "Value": "CA", 1799 + "Order": 6 1800 + }, 1801 + { 1802 + "Id": 1602, 1803 + "QuestionId": 11, 1804 + "Text": "Colorado", 1805 + "Value": "CO", 1806 + "Order": 7 1807 + }, 1808 + { 1809 + "Id": 1610, 1810 + "QuestionId": 11, 1811 + "Text": "Connecticut", 1812 + "Value": "CT", 1813 + "Order": 8 1814 + }, 1815 + { 1816 + "Id": 1618, 1817 + "QuestionId": 11, 1818 + "Text": "Delaware", 1819 + "Value": "DE", 1820 + "Order": 9 1821 + }, 1822 + { 1823 + "Id": 1626, 1824 + "QuestionId": 11, 1825 + "Text": "District of Columbia", 1826 + "Value": "DC", 1827 + "Order": 10 1828 + }, 1829 + { 1830 + "Id": 1634, 1831 + "QuestionId": 11, 1832 + "Text": "Florida", 1833 + "Value": "FL", 1834 + "Order": 11 1835 + }, 1836 + { 1837 + "Id": 1642, 1838 + "QuestionId": 11, 1839 + "Text": "Georgia", 1840 + "Value": "GA", 1841 + "Order": 12 1842 + }, 1843 + { 1844 + "Id": 1650, 1845 + "QuestionId": 11, 1846 + "Text": "Hawaii", 1847 + "Value": "HI", 1848 + "Order": 13 1849 + }, 1850 + { 1851 + "Id": 1658, 1852 + "QuestionId": 11, 1853 + "Text": "Idaho", 1854 + "Value": "ID", 1855 + "Order": 14 1856 + }, 1857 + { 1858 + "Id": 1666, 1859 + "QuestionId": 11, 1860 + "Text": "Illinois", 1861 + "Value": "IL", 1862 + "Order": 15 1863 + }, 1864 + { 1865 + "Id": 1674, 1866 + "QuestionId": 11, 1867 + "Text": "Indiana", 1868 + "Value": "IN", 1869 + "Order": 16 1870 + }, 1871 + { 1872 + "Id": 1682, 1873 + "QuestionId": 11, 1874 + "Text": "Iowa", 1875 + "Value": "IA", 1876 + "Order": 17 1877 + }, 1878 + { 1879 + "Id": 1690, 1880 + "QuestionId": 11, 1881 + "Text": "Kansas", 1882 + "Value": "KS", 1883 + "Order": 18 1884 + }, 1885 + { 1886 + "Id": 1698, 1887 + "QuestionId": 11, 1888 + "Text": "Kentucky", 1889 + "Value": "KY", 1890 + "Order": 19 1891 + }, 1892 + { 1893 + "Id": 1706, 1894 + "QuestionId": 11, 1895 + "Text": "Louisiana", 1896 + "Value": "LA", 1897 + "Order": 20 1898 + }, 1899 + { 1900 + "Id": 1714, 1901 + "QuestionId": 11, 1902 + "Text": "Maine", 1903 + "Value": "ME", 1904 + "Order": 21 1905 + }, 1906 + { 1907 + "Id": 1722, 1908 + "QuestionId": 11, 1909 + "Text": "Maryland", 1910 + "Value": "MD", 1911 + "Order": 22 1912 + }, 1913 + { 1914 + "Id": 1730, 1915 + "QuestionId": 11, 1916 + "Text": "Massachusetts", 1917 + "Value": "MA", 1918 + "Order": 23 1919 + }, 1920 + { 1921 + "Id": 1738, 1922 + "QuestionId": 11, 1923 + "Text": "Michigan", 1924 + "Value": "MI", 1925 + "Order": 24 1926 + }, 1927 + { 1928 + "Id": 1746, 1929 + "QuestionId": 11, 1930 + "Text": "Minnesota", 1931 + "Value": "MN", 1932 + "Order": 25 1933 + }, 1934 + { 1935 + "Id": 1754, 1936 + "QuestionId": 11, 1937 + "Text": "Mississippi", 1938 + "Value": "MS", 1939 + "Order": 26 1940 + }, 1941 + { 1942 + "Id": 1762, 1943 + "QuestionId": 11, 1944 + "Text": "Missouri", 1945 + "Value": "MO", 1946 + "Order": 27 1947 + }, 1948 + { 1949 + "Id": 1770, 1950 + "QuestionId": 11, 1951 + "Text": "Montana", 1952 + "Value": "MT", 1953 + "Order": 28 1954 + }, 1955 + { 1956 + "Id": 1778, 1957 + "QuestionId": 11, 1958 + "Text": "Nebraska", 1959 + "Value": "NE", 1960 + "Order": 29 1961 + }, 1962 + { 1963 + "Id": 1786, 1964 + "QuestionId": 11, 1965 + "Text": "Nevada", 1966 + "Value": "NV", 1967 + "Order": 30 1968 + }, 1969 + { 1970 + "Id": 1794, 1971 + "QuestionId": 11, 1972 + "Text": "New Hampshire", 1973 + "Value": "NH", 1974 + "Order": 31 1975 + }, 1976 + { 1977 + "Id": 1802, 1978 + "QuestionId": 11, 1979 + "Text": "New Jersey", 1980 + "Value": "NJ", 1981 + "Order": 32 1982 + }, 1983 + { 1984 + "Id": 1810, 1985 + "QuestionId": 11, 1986 + "Text": "New Mexico", 1987 + "Value": "NM", 1988 + "Order": 33 1989 + }, 1990 + { 1991 + "Id": 1818, 1992 + "QuestionId": 11, 1993 + "Text": "New York", 1994 + "Value": "NY", 1995 + "Order": 34 1996 + }, 1997 + { 1998 + "Id": 1826, 1999 + "QuestionId": 11, 2000 + "Text": "North Carolina", 2001 + "Value": "NC", 2002 + "Order": 35 2003 + }, 2004 + { 2005 + "Id": 1834, 2006 + "QuestionId": 11, 2007 + "Text": "Ohio", 2008 + "Value": "OH", 2009 + "Order": 37 2010 + }, 2011 + { 2012 + "Id": 1842, 2013 + "QuestionId": 11, 2014 + "Text": "Oklahoma", 2015 + "Value": "OK", 2016 + "Order": 38 2017 + }, 2018 + { 2019 + "Id": 1850, 2020 + "QuestionId": 11, 2021 + "Text": "Oregon", 2022 + "Value": "OR", 2023 + "Order": 39 2024 + }, 2025 + { 2026 + "Id": 1858, 2027 + "QuestionId": 11, 2028 + "Text": "Pennsylvania", 2029 + "Value": "PA", 2030 + "Order": 40 2031 + }, 2032 + { 2033 + "Id": 1866, 2034 + "QuestionId": 11, 2035 + "Text": "Rhode Island", 2036 + "Value": "RI", 2037 + "Order": 41 2038 + }, 2039 + { 2040 + "Id": 1874, 2041 + "QuestionId": 11, 2042 + "Text": "South Carolina", 2043 + "Value": "SC", 2044 + "Order": 42 2045 + }, 2046 + { 2047 + "Id": 1882, 2048 + "QuestionId": 11, 2049 + "Text": "South Dakota", 2050 + "Value": "SD", 2051 + "Order": 43 2052 + }, 2053 + { 2054 + "Id": 1890, 2055 + "QuestionId": 11, 2056 + "Text": "Tennessee", 2057 + "Value": "TN", 2058 + "Order": 44 2059 + }, 2060 + { 2061 + "Id": 1898, 2062 + "QuestionId": 11, 2063 + "Text": "Texas", 2064 + "Value": "TX", 2065 + "Order": 45 2066 + }, 2067 + { 2068 + "Id": 1906, 2069 + "QuestionId": 11, 2070 + "Text": "Utah", 2071 + "Value": "UT", 2072 + "Order": 46 2073 + }, 2074 + { 2075 + "Id": 1914, 2076 + "QuestionId": 11, 2077 + "Text": "Vermont", 2078 + "Value": "VT", 2079 + "Order": 47 2080 + }, 2081 + { 2082 + "Id": 1922, 2083 + "QuestionId": 11, 2084 + "Text": "Virginia", 2085 + "Value": "VA", 2086 + "Order": 48 2087 + }, 2088 + { 2089 + "Id": 1930, 2090 + "QuestionId": 11, 2091 + "Text": "Washington", 2092 + "Value": "WA", 2093 + "Order": 49 2094 + }, 2095 + { 2096 + "Id": 1938, 2097 + "QuestionId": 11, 2098 + "Text": "West Virginia", 2099 + "Value": "WV", 2100 + "Order": 50 2101 + }, 2102 + { 2103 + "Id": 1946, 2104 + "QuestionId": 11, 2105 + "Text": "Wisconsin", 2106 + "Value": "WI", 2107 + "Order": 51 2108 + }, 2109 + { 2110 + "Id": 1954, 2111 + "QuestionId": 11, 2112 + "Text": "Wyoming", 2113 + "Value": "WY", 2114 + "Order": 52 2115 + }, 2116 + { 2117 + "Id": 1962, 2118 + "QuestionId": 11, 2119 + "Text": "American Samoa", 2120 + "Value": "AS", 2121 + "Order": 53 2122 + }, 2123 + { 2124 + "Id": 1970, 2125 + "QuestionId": 11, 2126 + "Text": "North Dakota", 2127 + "Value": "ND", 2128 + "Order": 36 2129 + }, 2130 + { 2131 + "Id": 1978, 2132 + "QuestionId": 11, 2133 + "Text": "Federated States of Micronesia", 2134 + "Value": "FM", 2135 + "Order": 54 2136 + }, 2137 + { 2138 + "Id": 1986, 2139 + "QuestionId": 11, 2140 + "Text": "Guam", 2141 + "Value": "GU", 2142 + "Order": 55 2143 + }, 2144 + { 2145 + "Id": 1994, 2146 + "QuestionId": 11, 2147 + "Text": "Marshall Islands", 2148 + "Value": "MH", 2149 + "Order": 56 2150 + }, 2151 + { 2152 + "Id": 2002, 2153 + "QuestionId": 11, 2154 + "Text": "Northern Mariana Islands", 2155 + "Value": "MP", 2156 + "Order": 57 2157 + }, 2158 + { 2159 + "Id": 2010, 2160 + "QuestionId": 11, 2161 + "Text": "Palau", 2162 + "Value": "PW", 2163 + "Order": 58 2164 + }, 2165 + { 2166 + "Id": 2018, 2167 + "QuestionId": 11, 2168 + "Text": "Puerto Rico", 2169 + "Value": "PR", 2170 + "Order": 59 2171 + }, 2172 + { 2173 + "Id": 2026, 2174 + "QuestionId": 11, 2175 + "Text": "U.S. Virgin Islands", 2176 + "Value": "VI", 2177 + "Order": 60 2178 + }, 2179 + { 2180 + "Id": 2034, 2181 + "QuestionId": 11, 2182 + "Text": "Armed Forces Africa", 2183 + "Value": "AE", 2184 + "Order": 61 2185 + }, 2186 + { 2187 + "Id": 2042, 2188 + "QuestionId": 11, 2189 + "Text": "Armed Forces Americas (except Canada)", 2190 + "Value": "AA", 2191 + "Order": 62 2192 + }, 2193 + { 2194 + "Id": 2050, 2195 + "QuestionId": 11, 2196 + "Text": "Armed Forces Canada", 2197 + "Value": "AE", 2198 + "Order": 63 2199 + }, 2200 + { 2201 + "Id": 2058, 2202 + "QuestionId": 11, 2203 + "Text": "Armed Forces Europe", 2204 + "Value": "AE", 2205 + "Order": 64 2206 + }, 2207 + { 2208 + "Id": 2066, 2209 + "QuestionId": 11, 2210 + "Text": "Armed Forces Middle East", 2211 + "Value": "AE", 2212 + "Order": 65 2213 + }, 2214 + { 2215 + "Id": 2074, 2216 + "QuestionId": 11, 2217 + "Text": "Armed Forces Pacific", 2218 + "Value": "AP", 2219 + "Order": 66 2220 + }, 2221 + { 2222 + "Id": 2082, 2223 + "QuestionId": 11, 2224 + "Text": "Non-US/Not Applicable", 2225 + "Value": "Non-US/Not Applicable", 2226 + "Order": 67 2227 + }, 2228 + { 2229 + "Id": 2090, 2230 + "QuestionId": 11, 2231 + "Text": "Ontario", 2232 + "Value": "Ontario", 2233 + "Order": 68 2234 + }, 2235 + { 2236 + "Id": 2098, 2237 + "QuestionId": 11, 2238 + "Text": "Quebec", 2239 + "Value": "Quebec", 2240 + "Order": 69 2241 + }, 2242 + { 2243 + "Id": 2106, 2244 + "QuestionId": 11, 2245 + "Text": "Nova Scotia", 2246 + "Value": "Nova Scotia", 2247 + "Order": 70 2248 + }, 2249 + { 2250 + "Id": 2114, 2251 + "QuestionId": 11, 2252 + "Text": "New Brunswick", 2253 + "Value": "New Brunswick", 2254 + "Order": 71 2255 + }, 2256 + { 2257 + "Id": 2122, 2258 + "QuestionId": 11, 2259 + "Text": "Manitoba", 2260 + "Value": "Manitoba", 2261 + "Order": 72 2262 + }, 2263 + { 2264 + "Id": 2130, 2265 + "QuestionId": 11, 2266 + "Text": "Brittish Columbia", 2267 + "Value": "Brittish Columbia", 2268 + "Order": 73 2269 + }, 2270 + { 2271 + "Id": 2138, 2272 + "QuestionId": 11, 2273 + "Text": "Prince Edward Island", 2274 + "Value": "Prince Edward Island", 2275 + "Order": 74 2276 + }, 2277 + { 2278 + "Id": 2146, 2279 + "QuestionId": 11, 2280 + "Text": "Saskatchewan", 2281 + "Value": "Saskatchewan", 2282 + "Order": 75 2283 + }, 2284 + { 2285 + "Id": 2154, 2286 + "QuestionId": 11, 2287 + "Text": "Alberta", 2288 + "Value": "Alberta", 2289 + "Order": 76 2290 + }, 2291 + { 2292 + "Id": 2162, 2293 + "QuestionId": 11, 2294 + "Text": "Newfoundland and Labrador", 2295 + "Value": "Newfoundland and Labrador", 2296 + "Order": 77 2297 + }, 2298 + { 2299 + "Id": 2170, 2300 + "QuestionId": 11, 2301 + "Text": "British Columbia", 2302 + "Value": "British Columbia", 2303 + "Order": 78 2304 + }, 2305 + { 2306 + "Id": 2178, 2307 + "QuestionId": 11, 2308 + "Text": "Ontario", 2309 + "Value": "ON", 2310 + "Order": 79 2311 + } 2312 + ] 2313 + }, 2314 + { 2315 + "Id": 12, 2316 + "Text": "Zip/Postal Code", 2317 + "Type": "0", 2318 + "Alias": "Zip/Postal Code" 2319 + }, 2320 + { 2321 + "Id": 13, 2322 + "Text": "Country", 2323 + "Type": "4", 2324 + "Alias": "Country", 2325 + "Choices": [ 2326 + { 2327 + "Id": 2, 2328 + "QuestionId": 13, 2329 + "Text": "Select One", 2330 + "Value": "", 2331 + "Order": 1 2332 + }, 2333 + { 2334 + "Id": 10, 2335 + "QuestionId": 13, 2336 + "Text": "Afghanistan", 2337 + "Value": "Afghanistan", 2338 + "Order": 3 2339 + }, 2340 + { 2341 + "Id": 18, 2342 + "QuestionId": 13, 2343 + "Text": "Albania", 2344 + "Value": "Albania", 2345 + "Order": 4 2346 + }, 2347 + { 2348 + "Id": 26, 2349 + "QuestionId": 13, 2350 + "Text": "Algeria", 2351 + "Value": "Algeria", 2352 + "Order": 5 2353 + }, 2354 + { 2355 + "Id": 34, 2356 + "QuestionId": 13, 2357 + "Text": "Andorra", 2358 + "Value": "Andorra", 2359 + "Order": 6 2360 + }, 2361 + { 2362 + "Id": 42, 2363 + "QuestionId": 13, 2364 + "Text": "Angola", 2365 + "Value": "Angola", 2366 + "Order": 7 2367 + }, 2368 + { 2369 + "Id": 50, 2370 + "QuestionId": 13, 2371 + "Text": "Antigua and Barbuda", 2372 + "Value": "Antigua and Barbuda", 2373 + "Order": 8 2374 + }, 2375 + { 2376 + "Id": 58, 2377 + "QuestionId": 13, 2378 + "Text": "Argentina", 2379 + "Value": "Argentina", 2380 + "Order": 9 2381 + }, 2382 + { 2383 + "Id": 66, 2384 + "QuestionId": 13, 2385 + "Text": "Armenia", 2386 + "Value": "Armenia", 2387 + "Order": 10 2388 + }, 2389 + { 2390 + "Id": 74, 2391 + "QuestionId": 13, 2392 + "Text": "Australia", 2393 + "Value": "Australia", 2394 + "Order": 11 2395 + }, 2396 + { 2397 + "Id": 82, 2398 + "QuestionId": 13, 2399 + "Text": "Austria", 2400 + "Value": "Austria", 2401 + "Order": 12 2402 + }, 2403 + { 2404 + "Id": 90, 2405 + "QuestionId": 13, 2406 + "Text": "Azerbaijan", 2407 + "Value": "Azerbaijan", 2408 + "Order": 13 2409 + }, 2410 + { 2411 + "Id": 98, 2412 + "QuestionId": 13, 2413 + "Text": "Bahamas", 2414 + "Value": "Bahamas", 2415 + "Order": 14 2416 + }, 2417 + { 2418 + "Id": 106, 2419 + "QuestionId": 13, 2420 + "Text": "Bahrain", 2421 + "Value": "Bahrain", 2422 + "Order": 15 2423 + }, 2424 + { 2425 + "Id": 114, 2426 + "QuestionId": 13, 2427 + "Text": "Bangladesh", 2428 + "Value": "Bangladesh", 2429 + "Order": 16 2430 + }, 2431 + { 2432 + "Id": 122, 2433 + "QuestionId": 13, 2434 + "Text": "Barbados", 2435 + "Value": "Barbados", 2436 + "Order": 17 2437 + }, 2438 + { 2439 + "Id": 130, 2440 + "QuestionId": 13, 2441 + "Text": "Belarus", 2442 + "Value": "Belarus", 2443 + "Order": 18 2444 + }, 2445 + { 2446 + "Id": 138, 2447 + "QuestionId": 13, 2448 + "Text": "Belgium", 2449 + "Value": "Belgium", 2450 + "Order": 19 2451 + }, 2452 + { 2453 + "Id": 146, 2454 + "QuestionId": 13, 2455 + "Text": "Belize", 2456 + "Value": "Belize", 2457 + "Order": 20 2458 + }, 2459 + { 2460 + "Id": 154, 2461 + "QuestionId": 13, 2462 + "Text": "Benin", 2463 + "Value": "Benin", 2464 + "Order": 21 2465 + }, 2466 + { 2467 + "Id": 162, 2468 + "QuestionId": 13, 2469 + "Text": "Bhutan", 2470 + "Value": "Bhutan", 2471 + "Order": 22 2472 + }, 2473 + { 2474 + "Id": 170, 2475 + "QuestionId": 13, 2476 + "Text": "Bolivia", 2477 + "Value": "Bolivia", 2478 + "Order": 23 2479 + }, 2480 + { 2481 + "Id": 178, 2482 + "QuestionId": 13, 2483 + "Text": "Bosnia and Herzegovina", 2484 + "Value": "Bosnia and Herzegovina", 2485 + "Order": 24 2486 + }, 2487 + { 2488 + "Id": 186, 2489 + "QuestionId": 13, 2490 + "Text": "Botswana", 2491 + "Value": "Botswana", 2492 + "Order": 25 2493 + }, 2494 + { 2495 + "Id": 194, 2496 + "QuestionId": 13, 2497 + "Text": "Brazil", 2498 + "Value": "Brazil", 2499 + "Order": 26 2500 + }, 2501 + { 2502 + "Id": 202, 2503 + "QuestionId": 13, 2504 + "Text": "Brunei", 2505 + "Value": "Brunei", 2506 + "Order": 27 2507 + }, 2508 + { 2509 + "Id": 210, 2510 + "QuestionId": 13, 2511 + "Text": "Bulgaria", 2512 + "Value": "Bulgaria", 2513 + "Order": 28 2514 + }, 2515 + { 2516 + "Id": 218, 2517 + "QuestionId": 13, 2518 + "Text": "Burkina Faso", 2519 + "Value": "Burkina Faso", 2520 + "Order": 29 2521 + }, 2522 + { 2523 + "Id": 226, 2524 + "QuestionId": 13, 2525 + "Text": "Burundi", 2526 + "Value": "Burundi", 2527 + "Order": 30 2528 + }, 2529 + { 2530 + "Id": 234, 2531 + "QuestionId": 13, 2532 + "Text": "Cambodia", 2533 + "Value": "Cambodia", 2534 + "Order": 31 2535 + }, 2536 + { 2537 + "Id": 242, 2538 + "QuestionId": 13, 2539 + "Text": "Cameroon", 2540 + "Value": "Cameroon", 2541 + "Order": 32 2542 + }, 2543 + { 2544 + "Id": 250, 2545 + "QuestionId": 13, 2546 + "Text": "Canada", 2547 + "Value": "Canada", 2548 + "Order": 33 2549 + }, 2550 + { 2551 + "Id": 258, 2552 + "QuestionId": 13, 2553 + "Text": "Cape Verde", 2554 + "Value": "Cape Verde", 2555 + "Order": 34 2556 + }, 2557 + { 2558 + "Id": 266, 2559 + "QuestionId": 13, 2560 + "Text": "Central African Republic", 2561 + "Value": "Central African Republic", 2562 + "Order": 35 2563 + }, 2564 + { 2565 + "Id": 274, 2566 + "QuestionId": 13, 2567 + "Text": "Chad", 2568 + "Value": "Chad", 2569 + "Order": 36 2570 + }, 2571 + { 2572 + "Id": 282, 2573 + "QuestionId": 13, 2574 + "Text": "Chile", 2575 + "Value": "Chile", 2576 + "Order": 37 2577 + }, 2578 + { 2579 + "Id": 290, 2580 + "QuestionId": 13, 2581 + "Text": "China", 2582 + "Value": "China", 2583 + "Order": 38 2584 + }, 2585 + { 2586 + "Id": 298, 2587 + "QuestionId": 13, 2588 + "Text": "Colombia", 2589 + "Value": "Colombia", 2590 + "Order": 39 2591 + }, 2592 + { 2593 + "Id": 306, 2594 + "QuestionId": 13, 2595 + "Text": "Comoros", 2596 + "Value": "Comoros", 2597 + "Order": 40 2598 + }, 2599 + { 2600 + "Id": 314, 2601 + "QuestionId": 13, 2602 + "Text": "Congo (Brazzaville)", 2603 + "Value": "Congo (Brazzaville)", 2604 + "Order": 41 2605 + }, 2606 + { 2607 + "Id": 322, 2608 + "QuestionId": 13, 2609 + "Text": "Congo", 2610 + "Value": "Congo", 2611 + "Order": 42 2612 + }, 2613 + { 2614 + "Id": 330, 2615 + "QuestionId": 13, 2616 + "Text": "Costa Rica", 2617 + "Value": "Costa Rica", 2618 + "Order": 43 2619 + }, 2620 + { 2621 + "Id": 338, 2622 + "QuestionId": 13, 2623 + "Text": "Cote d'Ivoire", 2624 + "Value": "Cote d'Ivoire", 2625 + "Order": 44 2626 + }, 2627 + { 2628 + "Id": 346, 2629 + "QuestionId": 13, 2630 + "Text": "Croatia", 2631 + "Value": "Croatia", 2632 + "Order": 45 2633 + }, 2634 + { 2635 + "Id": 354, 2636 + "QuestionId": 13, 2637 + "Text": "Cuba", 2638 + "Value": "Cuba", 2639 + "Order": 46 2640 + }, 2641 + { 2642 + "Id": 362, 2643 + "QuestionId": 13, 2644 + "Text": "Cyprus", 2645 + "Value": "Cyprus", 2646 + "Order": 47 2647 + }, 2648 + { 2649 + "Id": 370, 2650 + "QuestionId": 13, 2651 + "Text": "Czech Republic", 2652 + "Value": "Czech Republic", 2653 + "Order": 48 2654 + }, 2655 + { 2656 + "Id": 378, 2657 + "QuestionId": 13, 2658 + "Text": "Denmark", 2659 + "Value": "Denmark", 2660 + "Order": 49 2661 + }, 2662 + { 2663 + "Id": 386, 2664 + "QuestionId": 13, 2665 + "Text": "Djibouti", 2666 + "Value": "Djibouti", 2667 + "Order": 50 2668 + }, 2669 + { 2670 + "Id": 394, 2671 + "QuestionId": 13, 2672 + "Text": "Dominica", 2673 + "Value": "Dominica", 2674 + "Order": 51 2675 + }, 2676 + { 2677 + "Id": 402, 2678 + "QuestionId": 13, 2679 + "Text": "Dominican Republic", 2680 + "Value": "Dominican Republic", 2681 + "Order": 52 2682 + }, 2683 + { 2684 + "Id": 410, 2685 + "QuestionId": 13, 2686 + "Text": "East Timor", 2687 + "Value": "East Timor", 2688 + "Order": 53 2689 + }, 2690 + { 2691 + "Id": 418, 2692 + "QuestionId": 13, 2693 + "Text": "Ecuador", 2694 + "Value": "Ecuador", 2695 + "Order": 54 2696 + }, 2697 + { 2698 + "Id": 426, 2699 + "QuestionId": 13, 2700 + "Text": "Egypt", 2701 + "Value": "Egypt", 2702 + "Order": 55 2703 + }, 2704 + { 2705 + "Id": 434, 2706 + "QuestionId": 13, 2707 + "Text": "El Salvador", 2708 + "Value": "El Salvador", 2709 + "Order": 56 2710 + }, 2711 + { 2712 + "Id": 442, 2713 + "QuestionId": 13, 2714 + "Text": "Equatorial Guinea", 2715 + "Value": "Equatorial Guinea", 2716 + "Order": 57 2717 + }, 2718 + { 2719 + "Id": 450, 2720 + "QuestionId": 13, 2721 + "Text": "Eritrea", 2722 + "Value": "Eritrea", 2723 + "Order": 58 2724 + }, 2725 + { 2726 + "Id": 458, 2727 + "QuestionId": 13, 2728 + "Text": "Estonia", 2729 + "Value": "Estonia", 2730 + "Order": 59 2731 + }, 2732 + { 2733 + "Id": 466, 2734 + "QuestionId": 13, 2735 + "Text": "Ethiopia", 2736 + "Value": "Ethiopia", 2737 + "Order": 60 2738 + }, 2739 + { 2740 + "Id": 474, 2741 + "QuestionId": 13, 2742 + "Text": "Fiji", 2743 + "Value": "Fiji", 2744 + "Order": 61 2745 + }, 2746 + { 2747 + "Id": 482, 2748 + "QuestionId": 13, 2749 + "Text": "Finland", 2750 + "Value": "Finland", 2751 + "Order": 62 2752 + }, 2753 + { 2754 + "Id": 490, 2755 + "QuestionId": 13, 2756 + "Text": "France", 2757 + "Value": "France", 2758 + "Order": 63 2759 + }, 2760 + { 2761 + "Id": 498, 2762 + "QuestionId": 13, 2763 + "Text": "Gabon", 2764 + "Value": "Gabon", 2765 + "Order": 64 2766 + }, 2767 + { 2768 + "Id": 506, 2769 + "QuestionId": 13, 2770 + "Text": "Gambia, The", 2771 + "Value": "Gambia, The", 2772 + "Order": 65 2773 + }, 2774 + { 2775 + "Id": 514, 2776 + "QuestionId": 13, 2777 + "Text": "Georgia", 2778 + "Value": "Georgia", 2779 + "Order": 66 2780 + }, 2781 + { 2782 + "Id": 522, 2783 + "QuestionId": 13, 2784 + "Text": "Germany", 2785 + "Value": "Germany", 2786 + "Order": 67 2787 + }, 2788 + { 2789 + "Id": 530, 2790 + "QuestionId": 13, 2791 + "Text": "Ghana", 2792 + "Value": "Ghana", 2793 + "Order": 68 2794 + }, 2795 + { 2796 + "Id": 538, 2797 + "QuestionId": 13, 2798 + "Text": "Greece", 2799 + "Value": "Greece", 2800 + "Order": 69 2801 + }, 2802 + { 2803 + "Id": 546, 2804 + "QuestionId": 13, 2805 + "Text": "Grenada", 2806 + "Value": "Grenada", 2807 + "Order": 70 2808 + }, 2809 + { 2810 + "Id": 554, 2811 + "QuestionId": 13, 2812 + "Text": "Guatemala", 2813 + "Value": "Guatemala", 2814 + "Order": 71 2815 + }, 2816 + { 2817 + "Id": 562, 2818 + "QuestionId": 13, 2819 + "Text": "Guinea", 2820 + "Value": "Guinea", 2821 + "Order": 72 2822 + }, 2823 + { 2824 + "Id": 570, 2825 + "QuestionId": 13, 2826 + "Text": "Guinea-Bissau", 2827 + "Value": "Guinea-Bissau", 2828 + "Order": 73 2829 + }, 2830 + { 2831 + "Id": 578, 2832 + "QuestionId": 13, 2833 + "Text": "Guyana", 2834 + "Value": "Guyana", 2835 + "Order": 74 2836 + }, 2837 + { 2838 + "Id": 586, 2839 + "QuestionId": 13, 2840 + "Text": "Haiti", 2841 + "Value": "Haiti", 2842 + "Order": 75 2843 + }, 2844 + { 2845 + "Id": 594, 2846 + "QuestionId": 13, 2847 + "Text": "Honduras", 2848 + "Value": "Honduras", 2849 + "Order": 76 2850 + }, 2851 + { 2852 + "Id": 602, 2853 + "QuestionId": 13, 2854 + "Text": "Hungary", 2855 + "Value": "Hungary", 2856 + "Order": 77 2857 + }, 2858 + { 2859 + "Id": 610, 2860 + "QuestionId": 13, 2861 + "Text": "Iceland", 2862 + "Value": "Iceland", 2863 + "Order": 78 2864 + }, 2865 + { 2866 + "Id": 618, 2867 + "QuestionId": 13, 2868 + "Text": "India", 2869 + "Value": "India", 2870 + "Order": 79 2871 + }, 2872 + { 2873 + "Id": 626, 2874 + "QuestionId": 13, 2875 + "Text": "Indonesia", 2876 + "Value": "Indonesia", 2877 + "Order": 80 2878 + }, 2879 + { 2880 + "Id": 634, 2881 + "QuestionId": 13, 2882 + "Text": "Iran", 2883 + "Value": "Iran", 2884 + "Order": 81 2885 + }, 2886 + { 2887 + "Id": 642, 2888 + "QuestionId": 13, 2889 + "Text": "Iraq", 2890 + "Value": "Iraq", 2891 + "Order": 82 2892 + }, 2893 + { 2894 + "Id": 650, 2895 + "QuestionId": 13, 2896 + "Text": "Ireland", 2897 + "Value": "Ireland", 2898 + "Order": 83 2899 + }, 2900 + { 2901 + "Id": 658, 2902 + "QuestionId": 13, 2903 + "Text": "Israel", 2904 + "Value": "Israel", 2905 + "Order": 84 2906 + }, 2907 + { 2908 + "Id": 666, 2909 + "QuestionId": 13, 2910 + "Text": "Italy", 2911 + "Value": "Italy", 2912 + "Order": 85 2913 + }, 2914 + { 2915 + "Id": 674, 2916 + "QuestionId": 13, 2917 + "Text": "Jamaica", 2918 + "Value": "Jamaica", 2919 + "Order": 86 2920 + }, 2921 + { 2922 + "Id": 682, 2923 + "QuestionId": 13, 2924 + "Text": "Japan", 2925 + "Value": "Japan", 2926 + "Order": 87 2927 + }, 2928 + { 2929 + "Id": 690, 2930 + "QuestionId": 13, 2931 + "Text": "Jordan", 2932 + "Value": "Jordan", 2933 + "Order": 88 2934 + }, 2935 + { 2936 + "Id": 698, 2937 + "QuestionId": 13, 2938 + "Text": "Kazakhstan", 2939 + "Value": "Kazakhstan", 2940 + "Order": 89 2941 + }, 2942 + { 2943 + "Id": 706, 2944 + "QuestionId": 13, 2945 + "Text": "Kenya", 2946 + "Value": "Kenya", 2947 + "Order": 90 2948 + }, 2949 + { 2950 + "Id": 714, 2951 + "QuestionId": 13, 2952 + "Text": "Kiribati", 2953 + "Value": "Kiribati", 2954 + "Order": 91 2955 + }, 2956 + { 2957 + "Id": 722, 2958 + "QuestionId": 13, 2959 + "Text": "Korea, North", 2960 + "Value": "Korea, North", 2961 + "Order": 92 2962 + }, 2963 + { 2964 + "Id": 730, 2965 + "QuestionId": 13, 2966 + "Text": "Korea, South", 2967 + "Value": "Korea, South", 2968 + "Order": 93 2969 + }, 2970 + { 2971 + "Id": 738, 2972 + "QuestionId": 13, 2973 + "Text": "Kuwait", 2974 + "Value": "Kuwait", 2975 + "Order": 94 2976 + }, 2977 + { 2978 + "Id": 746, 2979 + "QuestionId": 13, 2980 + "Text": "Kyrgyzstan", 2981 + "Value": "Kyrgyzstan", 2982 + "Order": 95 2983 + }, 2984 + { 2985 + "Id": 754, 2986 + "QuestionId": 13, 2987 + "Text": "Laos", 2988 + "Value": "Laos", 2989 + "Order": 96 2990 + }, 2991 + { 2992 + "Id": 762, 2993 + "QuestionId": 13, 2994 + "Text": "Latvia", 2995 + "Value": "Latvia", 2996 + "Order": 97 2997 + }, 2998 + { 2999 + "Id": 770, 3000 + "QuestionId": 13, 3001 + "Text": "Lebanon", 3002 + "Value": "Lebanon", 3003 + "Order": 98 3004 + }, 3005 + { 3006 + "Id": 778, 3007 + "QuestionId": 13, 3008 + "Text": "Lesotho", 3009 + "Value": "Lesotho", 3010 + "Order": 99 3011 + }, 3012 + { 3013 + "Id": 786, 3014 + "QuestionId": 13, 3015 + "Text": "Liberia", 3016 + "Value": "Liberia", 3017 + "Order": 100 3018 + }, 3019 + { 3020 + "Id": 794, 3021 + "QuestionId": 13, 3022 + "Text": "Libya", 3023 + "Value": "Libya", 3024 + "Order": 101 3025 + }, 3026 + { 3027 + "Id": 802, 3028 + "QuestionId": 13, 3029 + "Text": "Liechtenstein", 3030 + "Value": "Liechtenstein", 3031 + "Order": 102 3032 + }, 3033 + { 3034 + "Id": 810, 3035 + "QuestionId": 13, 3036 + "Text": "Lithuania", 3037 + "Value": "Lithuania", 3038 + "Order": 103 3039 + }, 3040 + { 3041 + "Id": 818, 3042 + "QuestionId": 13, 3043 + "Text": "Luxembourg", 3044 + "Value": "Luxembourg", 3045 + "Order": 104 3046 + }, 3047 + { 3048 + "Id": 826, 3049 + "QuestionId": 13, 3050 + "Text": "Macedonia", 3051 + "Value": "Macedonia", 3052 + "Order": 105 3053 + }, 3054 + { 3055 + "Id": 834, 3056 + "QuestionId": 13, 3057 + "Text": "Madagascar", 3058 + "Value": "Madagascar", 3059 + "Order": 106 3060 + }, 3061 + { 3062 + "Id": 842, 3063 + "QuestionId": 13, 3064 + "Text": "Malawi", 3065 + "Value": "Malawi", 3066 + "Order": 107 3067 + }, 3068 + { 3069 + "Id": 850, 3070 + "QuestionId": 13, 3071 + "Text": "Malaysia", 3072 + "Value": "Malaysia", 3073 + "Order": 108 3074 + }, 3075 + { 3076 + "Id": 858, 3077 + "QuestionId": 13, 3078 + "Text": "Maldives", 3079 + "Value": "Maldives", 3080 + "Order": 109 3081 + }, 3082 + { 3083 + "Id": 866, 3084 + "QuestionId": 13, 3085 + "Text": "Mali", 3086 + "Value": "Mali", 3087 + "Order": 110 3088 + }, 3089 + { 3090 + "Id": 874, 3091 + "QuestionId": 13, 3092 + "Text": "Malta", 3093 + "Value": "Malta", 3094 + "Order": 111 3095 + }, 3096 + { 3097 + "Id": 882, 3098 + "QuestionId": 13, 3099 + "Text": "Marshall Islands", 3100 + "Value": "Marshall Islands", 3101 + "Order": 112 3102 + }, 3103 + { 3104 + "Id": 890, 3105 + "QuestionId": 13, 3106 + "Text": "Mauritania", 3107 + "Value": "Mauritania", 3108 + "Order": 113 3109 + }, 3110 + { 3111 + "Id": 898, 3112 + "QuestionId": 13, 3113 + "Text": "Mauritius", 3114 + "Value": "Mauritius", 3115 + "Order": 114 3116 + }, 3117 + { 3118 + "Id": 906, 3119 + "QuestionId": 13, 3120 + "Text": "Mexico", 3121 + "Value": "Mexico", 3122 + "Order": 115 3123 + }, 3124 + { 3125 + "Id": 914, 3126 + "QuestionId": 13, 3127 + "Text": "Micronesia", 3128 + "Value": "Micronesia", 3129 + "Order": 116 3130 + }, 3131 + { 3132 + "Id": 922, 3133 + "QuestionId": 13, 3134 + "Text": "Moldova", 3135 + "Value": "Moldova", 3136 + "Order": 117 3137 + }, 3138 + { 3139 + "Id": 930, 3140 + "QuestionId": 13, 3141 + "Text": "Monaco", 3142 + "Value": "Monaco", 3143 + "Order": 118 3144 + }, 3145 + { 3146 + "Id": 938, 3147 + "QuestionId": 13, 3148 + "Text": "Mongolia", 3149 + "Value": "Mongolia", 3150 + "Order": 119 3151 + }, 3152 + { 3153 + "Id": 946, 3154 + "QuestionId": 13, 3155 + "Text": "Morocco", 3156 + "Value": "Morocco", 3157 + "Order": 120 3158 + }, 3159 + { 3160 + "Id": 954, 3161 + "QuestionId": 13, 3162 + "Text": "Mozambique", 3163 + "Value": "Mozambique", 3164 + "Order": 121 3165 + }, 3166 + { 3167 + "Id": 962, 3168 + "QuestionId": 13, 3169 + "Text": "Myanmar", 3170 + "Value": "Myanmar", 3171 + "Order": 122 3172 + }, 3173 + { 3174 + "Id": 970, 3175 + "QuestionId": 13, 3176 + "Text": "Namibia", 3177 + "Value": "Namibia", 3178 + "Order": 123 3179 + }, 3180 + { 3181 + "Id": 978, 3182 + "QuestionId": 13, 3183 + "Text": "Nauru", 3184 + "Value": "Nauru", 3185 + "Order": 124 3186 + }, 3187 + { 3188 + "Id": 986, 3189 + "QuestionId": 13, 3190 + "Text": "Nepa", 3191 + "Value": "Nepa", 3192 + "Order": 125 3193 + }, 3194 + { 3195 + "Id": 994, 3196 + "QuestionId": 13, 3197 + "Text": "Netherlands", 3198 + "Value": "Netherlands", 3199 + "Order": 126 3200 + }, 3201 + { 3202 + "Id": 1002, 3203 + "QuestionId": 13, 3204 + "Text": "New Zealand", 3205 + "Value": "New Zealand", 3206 + "Order": 127 3207 + }, 3208 + { 3209 + "Id": 1010, 3210 + "QuestionId": 13, 3211 + "Text": "Nicaragua", 3212 + "Value": "Nicaragua", 3213 + "Order": 128 3214 + }, 3215 + { 3216 + "Id": 1018, 3217 + "QuestionId": 13, 3218 + "Text": "Niger", 3219 + "Value": "Niger", 3220 + "Order": 129 3221 + }, 3222 + { 3223 + "Id": 1026, 3224 + "QuestionId": 13, 3225 + "Text": "Nigeria", 3226 + "Value": "Nigeria", 3227 + "Order": 130 3228 + }, 3229 + { 3230 + "Id": 1034, 3231 + "QuestionId": 13, 3232 + "Text": "Norway", 3233 + "Value": "Norway", 3234 + "Order": 131 3235 + }, 3236 + { 3237 + "Id": 1042, 3238 + "QuestionId": 13, 3239 + "Text": "Oman", 3240 + "Value": "Oman", 3241 + "Order": 132 3242 + }, 3243 + { 3244 + "Id": 1050, 3245 + "QuestionId": 13, 3246 + "Text": "Pakistan", 3247 + "Value": "Pakistan", 3248 + "Order": 133 3249 + }, 3250 + { 3251 + "Id": 1058, 3252 + "QuestionId": 13, 3253 + "Text": "Palau", 3254 + "Value": "Palau", 3255 + "Order": 134 3256 + }, 3257 + { 3258 + "Id": 1066, 3259 + "QuestionId": 13, 3260 + "Text": "Panama", 3261 + "Value": "Panama", 3262 + "Order": 135 3263 + }, 3264 + { 3265 + "Id": 1074, 3266 + "QuestionId": 13, 3267 + "Text": "Papua New Guinea", 3268 + "Value": "Papua New Guinea", 3269 + "Order": 136 3270 + }, 3271 + { 3272 + "Id": 1082, 3273 + "QuestionId": 13, 3274 + "Text": "Paraguay", 3275 + "Value": "Paraguay", 3276 + "Order": 137 3277 + }, 3278 + { 3279 + "Id": 1090, 3280 + "QuestionId": 13, 3281 + "Text": "Peru", 3282 + "Value": "Peru", 3283 + "Order": 138 3284 + }, 3285 + { 3286 + "Id": 1098, 3287 + "QuestionId": 13, 3288 + "Text": "Philippines", 3289 + "Value": "Philippines", 3290 + "Order": 139 3291 + }, 3292 + { 3293 + "Id": 1106, 3294 + "QuestionId": 13, 3295 + "Text": "Poland", 3296 + "Value": "Poland", 3297 + "Order": 140 3298 + }, 3299 + { 3300 + "Id": 1114, 3301 + "QuestionId": 13, 3302 + "Text": "Portugal", 3303 + "Value": "Portugal", 3304 + "Order": 141 3305 + }, 3306 + { 3307 + "Id": 1122, 3308 + "QuestionId": 13, 3309 + "Text": "Qatar", 3310 + "Value": "Qatar", 3311 + "Order": 142 3312 + }, 3313 + { 3314 + "Id": 1130, 3315 + "QuestionId": 13, 3316 + "Text": "Romania", 3317 + "Value": "Romania", 3318 + "Order": 143 3319 + }, 3320 + { 3321 + "Id": 1138, 3322 + "QuestionId": 13, 3323 + "Text": "Russia", 3324 + "Value": "Russia", 3325 + "Order": 144 3326 + }, 3327 + { 3328 + "Id": 1146, 3329 + "QuestionId": 13, 3330 + "Text": "Rwanda", 3331 + "Value": "Rwanda", 3332 + "Order": 145 3333 + }, 3334 + { 3335 + "Id": 1154, 3336 + "QuestionId": 13, 3337 + "Text": "Saint Kitts and Nevis", 3338 + "Value": "Saint Kitts and Nevis", 3339 + "Order": 146 3340 + }, 3341 + { 3342 + "Id": 1162, 3343 + "QuestionId": 13, 3344 + "Text": "Saint Lucia", 3345 + "Value": "Saint Lucia", 3346 + "Order": 147 3347 + }, 3348 + { 3349 + "Id": 1170, 3350 + "QuestionId": 13, 3351 + "Text": "Saint Vincent", 3352 + "Value": "Saint Vincent", 3353 + "Order": 148 3354 + }, 3355 + { 3356 + "Id": 1178, 3357 + "QuestionId": 13, 3358 + "Text": "Samoa", 3359 + "Value": "Samoa", 3360 + "Order": 149 3361 + }, 3362 + { 3363 + "Id": 1186, 3364 + "QuestionId": 13, 3365 + "Text": "San Marino", 3366 + "Value": "San Marino", 3367 + "Order": 150 3368 + }, 3369 + { 3370 + "Id": 1194, 3371 + "QuestionId": 13, 3372 + "Text": "Sao Tome and Principe", 3373 + "Value": "Sao Tome and Principe", 3374 + "Order": 151 3375 + }, 3376 + { 3377 + "Id": 1202, 3378 + "QuestionId": 13, 3379 + "Text": "Saudi Arabia", 3380 + "Value": "Saudi Arabia", 3381 + "Order": 152 3382 + }, 3383 + { 3384 + "Id": 1210, 3385 + "QuestionId": 13, 3386 + "Text": "Senegal", 3387 + "Value": "Senegal", 3388 + "Order": 153 3389 + }, 3390 + { 3391 + "Id": 1218, 3392 + "QuestionId": 13, 3393 + "Text": "Serbia and Montenegro", 3394 + "Value": "Serbia and Montenegro", 3395 + "Order": 154 3396 + }, 3397 + { 3398 + "Id": 1226, 3399 + "QuestionId": 13, 3400 + "Text": "Seychelles", 3401 + "Value": "Seychelles", 3402 + "Order": 155 3403 + }, 3404 + { 3405 + "Id": 1234, 3406 + "QuestionId": 13, 3407 + "Text": "Sierra Leone", 3408 + "Value": "Sierra Leone", 3409 + "Order": 156 3410 + }, 3411 + { 3412 + "Id": 1242, 3413 + "QuestionId": 13, 3414 + "Text": "Singapore", 3415 + "Value": "Singapore", 3416 + "Order": 157 3417 + }, 3418 + { 3419 + "Id": 1250, 3420 + "QuestionId": 13, 3421 + "Text": "Slovakia", 3422 + "Value": "Slovakia", 3423 + "Order": 158 3424 + }, 3425 + { 3426 + "Id": 1258, 3427 + "QuestionId": 13, 3428 + "Text": "Slovenia", 3429 + "Value": "Slovenia", 3430 + "Order": 159 3431 + }, 3432 + { 3433 + "Id": 1266, 3434 + "QuestionId": 13, 3435 + "Text": "Solomon Islands", 3436 + "Value": "Solomon Islands", 3437 + "Order": 160 3438 + }, 3439 + { 3440 + "Id": 1274, 3441 + "QuestionId": 13, 3442 + "Text": "Somalia", 3443 + "Value": "Somalia", 3444 + "Order": 161 3445 + }, 3446 + { 3447 + "Id": 1282, 3448 + "QuestionId": 13, 3449 + "Text": "South Africa", 3450 + "Value": "South Africa", 3451 + "Order": 162 3452 + }, 3453 + { 3454 + "Id": 1290, 3455 + "QuestionId": 13, 3456 + "Text": "Spain", 3457 + "Value": "Spain", 3458 + "Order": 163 3459 + }, 3460 + { 3461 + "Id": 1298, 3462 + "QuestionId": 13, 3463 + "Text": "Sri Lanka", 3464 + "Value": "Sri Lanka", 3465 + "Order": 164 3466 + }, 3467 + { 3468 + "Id": 1306, 3469 + "QuestionId": 13, 3470 + "Text": "Sudan", 3471 + "Value": "Sudan", 3472 + "Order": 165 3473 + }, 3474 + { 3475 + "Id": 1314, 3476 + "QuestionId": 13, 3477 + "Text": "Suriname", 3478 + "Value": "Suriname", 3479 + "Order": 166 3480 + }, 3481 + { 3482 + "Id": 1322, 3483 + "QuestionId": 13, 3484 + "Text": "Swaziland", 3485 + "Value": "Swaziland", 3486 + "Order": 167 3487 + }, 3488 + { 3489 + "Id": 1330, 3490 + "QuestionId": 13, 3491 + "Text": "Sweden", 3492 + "Value": "Sweden", 3493 + "Order": 168 3494 + }, 3495 + { 3496 + "Id": 1338, 3497 + "QuestionId": 13, 3498 + "Text": "Switzerland", 3499 + "Value": "Switzerland", 3500 + "Order": 169 3501 + }, 3502 + { 3503 + "Id": 1346, 3504 + "QuestionId": 13, 3505 + "Text": "Syria", 3506 + "Value": "Syria", 3507 + "Order": 170 3508 + }, 3509 + { 3510 + "Id": 1354, 3511 + "QuestionId": 13, 3512 + "Text": "Taiwan", 3513 + "Value": "Taiwan", 3514 + "Order": 171 3515 + }, 3516 + { 3517 + "Id": 1362, 3518 + "QuestionId": 13, 3519 + "Text": "Tajikistan", 3520 + "Value": "Tajikistan", 3521 + "Order": 172 3522 + }, 3523 + { 3524 + "Id": 1370, 3525 + "QuestionId": 13, 3526 + "Text": "Tanzania", 3527 + "Value": "Tanzania", 3528 + "Order": 173 3529 + }, 3530 + { 3531 + "Id": 1378, 3532 + "QuestionId": 13, 3533 + "Text": "Thailand", 3534 + "Value": "Thailand", 3535 + "Order": 174 3536 + }, 3537 + { 3538 + "Id": 1386, 3539 + "QuestionId": 13, 3540 + "Text": "Togo", 3541 + "Value": "Togo", 3542 + "Order": 175 3543 + }, 3544 + { 3545 + "Id": 1394, 3546 + "QuestionId": 13, 3547 + "Text": "Tonga", 3548 + "Value": "Tonga", 3549 + "Order": 176 3550 + }, 3551 + { 3552 + "Id": 1402, 3553 + "QuestionId": 13, 3554 + "Text": "Trinidad and Tobago", 3555 + "Value": "Trinidad and Tobago", 3556 + "Order": 177 3557 + }, 3558 + { 3559 + "Id": 1410, 3560 + "QuestionId": 13, 3561 + "Text": "Tunisia", 3562 + "Value": "Tunisia", 3563 + "Order": 178 3564 + }, 3565 + { 3566 + "Id": 1418, 3567 + "QuestionId": 13, 3568 + "Text": "Turkey", 3569 + "Value": "Turkey", 3570 + "Order": 179 3571 + }, 3572 + { 3573 + "Id": 1426, 3574 + "QuestionId": 13, 3575 + "Text": "Turkmenistan", 3576 + "Value": "Turkmenistan", 3577 + "Order": 180 3578 + }, 3579 + { 3580 + "Id": 1434, 3581 + "QuestionId": 13, 3582 + "Text": "Tuvalu", 3583 + "Value": "Tuvalu", 3584 + "Order": 181 3585 + }, 3586 + { 3587 + "Id": 1442, 3588 + "QuestionId": 13, 3589 + "Text": "Uganda", 3590 + "Value": "Uganda", 3591 + "Order": 182 3592 + }, 3593 + { 3594 + "Id": 1450, 3595 + "QuestionId": 13, 3596 + "Text": "Ukraine", 3597 + "Value": "Ukraine", 3598 + "Order": 183 3599 + }, 3600 + { 3601 + "Id": 1458, 3602 + "QuestionId": 13, 3603 + "Text": "United Arab Emirates", 3604 + "Value": "United Arab Emirates", 3605 + "Order": 184 3606 + }, 3607 + { 3608 + "Id": 1466, 3609 + "QuestionId": 13, 3610 + "Text": "United Kingdom", 3611 + "Value": "United Kingdom", 3612 + "Order": 185 3613 + }, 3614 + { 3615 + "Id": 1474, 3616 + "QuestionId": 13, 3617 + "Text": "United States", 3618 + "Value": "United States", 3619 + "Order": 2 3620 + }, 3621 + { 3622 + "Id": 1482, 3623 + "QuestionId": 13, 3624 + "Text": "Uruguay", 3625 + "Value": "Uruguay", 3626 + "Order": 186 3627 + }, 3628 + { 3629 + "Id": 1490, 3630 + "QuestionId": 13, 3631 + "Text": "Uzbekistan", 3632 + "Value": "Uzbekistan", 3633 + "Order": 187 3634 + }, 3635 + { 3636 + "Id": 1498, 3637 + "QuestionId": 13, 3638 + "Text": "Vanuatu", 3639 + "Value": "Vanuatu", 3640 + "Order": 188 3641 + }, 3642 + { 3643 + "Id": 1506, 3644 + "QuestionId": 13, 3645 + "Text": "Vatican City", 3646 + "Value": "Vatican City", 3647 + "Order": 189 3648 + }, 3649 + { 3650 + "Id": 1514, 3651 + "QuestionId": 13, 3652 + "Text": "Venezuela", 3653 + "Value": "Venezuela", 3654 + "Order": 190 3655 + }, 3656 + { 3657 + "Id": 1522, 3658 + "QuestionId": 13, 3659 + "Text": "Vietnam", 3660 + "Value": "Vietnam", 3661 + "Order": 191 3662 + }, 3663 + { 3664 + "Id": 1530, 3665 + "QuestionId": 13, 3666 + "Text": "Yemen", 3667 + "Value": "Yemen", 3668 + "Order": 192 3669 + }, 3670 + { 3671 + "Id": 1538, 3672 + "QuestionId": 13, 3673 + "Text": "Zambia", 3674 + "Value": "Zambia", 3675 + "Order": 193 3676 + }, 3677 + { 3678 + "Id": 1546, 3679 + "QuestionId": 13, 3680 + "Text": "Zimbabwe", 3681 + "Value": "Zimbabwe", 3682 + "Order": 194 3683 + }, 3684 + { 3685 + "Id": 2186, 3686 + "QuestionId": 13, 3687 + "Text": "British Columbia", 3688 + "Value": "British Columbia", 3689 + "Order": 195 3690 + } 3691 + ] 3692 + }, 3693 + { 3694 + "Id": 14, 3695 + "Text": "Phone", 3696 + "Type": "0", 3697 + "Alias": "Phone" 3698 + }, 3699 + { 3700 + "Id": 15, 3701 + "Text": "Fax", 3702 + "Type": "0", 3703 + "Alias": "Fax" 3704 + }, 3705 + { 3706 + "Id": 18, 3707 + "Text": " NEW QUESTION", 3708 + "Type": "0", 3709 + "Alias": "" 3710 + }, 3711 + { 3712 + "Id": 26, 3713 + "Text": " NEW QUESTION", 3714 + "Type": "0", 3715 + "Alias": "" 3716 + }, 3717 + { 3718 + "Id": 34, 3719 + "Text": " NEW QUESTION", 3720 + "Type": "0", 3721 + "Alias": "" 3722 + }, 3723 + { 3724 + "Id": 42, 3725 + "Text": " NEW QUESTION", 3726 + "Type": "0", 3727 + "Alias": "" 3728 + }, 3729 + { 3730 + "Id": 50, 3731 + "Text": " NEW QUESTION", 3732 + "Type": "0", 3733 + "Alias": "" 3734 + }, 3735 + { 3736 + "Id": 58, 3737 + "Text": " NEW QUESTION", 3738 + "Type": "0", 3739 + "Alias": "" 3740 + }, 3741 + { 3742 + "Id": 66, 3743 + "Text": " NEW QUESTION", 3744 + "Type": "0", 3745 + "Alias": "" 3746 + }, 3747 + { 3748 + "Id": 74, 3749 + "Text": " NEW QUESTION", 3750 + "Type": "0", 3751 + "Alias": "" 3752 + }, 3753 + { 3754 + "Id": 82, 3755 + "Text": " NEW QUESTION", 3756 + "Type": "0", 3757 + "Alias": "" 3758 + }, 3759 + { 3760 + "Id": 90, 3761 + "Text": " NEW QUESTION", 3762 + "Type": "0", 3763 + "Alias": "" 3764 + } 3765 + ] 3766 +} 3767 +{{/code}} 2032 2032 2033 -(% class="western" %) 2034 -"result": { 2035 2035 2036 -(% class=" western" %)2037 - "success":"1",3770 +(% id="HGETspecificQuestion" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 3771 +== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)specific Question(%%) == 2038 2038 2039 -(% class="western" %) 2040 -"error": { 3773 +---- 2041 2041 2042 -(% class="western" %) 2043 -"code": "0", 3775 +{{panel bgColor="#D3D3D3" width="100%"}} 3776 + (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/questions/~{~{QUESTION ID}} 3777 +{{/panel}} 2044 2044 2045 -(% class="western" %) 2046 -"message": "" 3779 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 2047 2047 2048 -(% class="western" %) 3781 +---- 3782 + 3783 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 3784 + 3785 +==== Example ==== 3786 + 3787 +---- 3788 + 3789 +(% style="color:#6b6b6b" %)Request 3790 + 3791 +{{code language="php" theme="RDark" title="Get specific Question Request"}} 3792 +<?php 3793 + 3794 +$curl = curl_init(); 3795 + 3796 +curl_setopt_array($curl, array( 3797 + CURLOPT_URL => 'https://api.onecount.net/v2/questions/{{QUESTION ID}}', 3798 + CURLOPT_RETURNTRANSFER => true, 3799 + CURLOPT_ENCODING => '', 3800 + CURLOPT_MAXREDIRS => 10, 3801 + CURLOPT_TIMEOUT => 0, 3802 + CURLOPT_FOLLOWLOCATION => true, 3803 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 3804 + CURLOPT_CUSTOMREQUEST => 'GET', 3805 + CURLOPT_HTTPHEADER => array( 3806 + 'Appkey: {{ONECOUNT API KEY}}' 3807 + ), 3808 +)); 3809 + 3810 +$response = curl_exec($curl); 3811 + 3812 +curl_close($curl); 3813 +echo $response; 3814 +{{/code}} 3815 + 3816 + 3817 +(% style="color:#6b6b6b" %)Response 200 OK 3818 + 3819 +{{code language="yml" theme="RDark" collapse="true" title="Get specific question Response"}} 3820 +{ 3821 + "result": { 3822 + "success": "1", 3823 + "error": { 3824 + "code": "", 3825 + "message": "" 3826 + } 3827 + }, 3828 + "Questions": [ 3829 + { 3830 + "Id": 3, 3831 + "Text": "Password", 3832 + "Type": "2", 3833 + "Alias": "Password" 3834 + } 3835 + ] 2049 2049 } 3837 +{{/code}} 2050 2050 2051 -(% class="western" %) 2052 -}, 2053 2053 2054 -(% class=" western" %)2055 -" Questions":[3840 +(% id="HGETlookupquestionbytext" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 3841 +== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)lookup question by text(%%) == 2056 2056 2057 -(% class="western" %) 3843 +---- 3844 + 3845 +{{panel bgColor="#D3D3D3" width="100%"}} 3846 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/questions/lookup?Text=COUNTRY 3847 +{{/panel}} 3848 + 3849 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 3850 + 3851 +---- 3852 + 3853 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 3854 + 3855 +=== (% style="color:#212121" %)Query Params(%%) === 3856 + 3857 +---- 3858 + 3859 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Text COUNTRY(%%) 3860 + 3861 + 3862 +==== Example ==== 3863 + 3864 +---- 3865 + 3866 +(% style="color:#6b6b6b" %)Request 3867 + 3868 +{{code language="php" theme="RDark" title="Lookup question by text Request"}} 3869 +<?php 3870 + 3871 +$curl = curl_init(); 3872 + 3873 +curl_setopt_array($curl, array( 3874 + CURLOPT_URL => 'https://api.onecount.net/v2/questions/lookup?Text=COUNTRY', 3875 + CURLOPT_RETURNTRANSFER => true, 3876 + CURLOPT_ENCODING => '', 3877 + CURLOPT_MAXREDIRS => 10, 3878 + CURLOPT_TIMEOUT => 0, 3879 + CURLOPT_FOLLOWLOCATION => true, 3880 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 3881 + CURLOPT_CUSTOMREQUEST => 'GET', 3882 + CURLOPT_HTTPHEADER => array( 3883 + 'Appkey: {{ONECOUNT API KEY}}' 3884 + ), 3885 +)); 3886 + 3887 +$response = curl_exec($curl); 3888 + 3889 +curl_close($curl); 3890 +echo $response; 3891 +{{/code}} 3892 + 3893 + 3894 +(% style="color:#6b6b6b" %)Response 200 OK 3895 + 3896 +{{code language="yml" theme="RDark" collapse="true" title="Lookup question by title Response"}} 2058 2058 { 3898 + "result": { 3899 + "success": "1", 3900 + "error": { 3901 + "code": "", 3902 + "message": "" 3903 + } 3904 + }, 3905 + "Questions": [ 3906 + { 3907 + "Id": 13, 3908 + "Text": "Country", 3909 + "Type": "4", 3910 + "Alias": "Country", 3911 + "Choices": [ 3912 + { 3913 + "Id": 2, 3914 + "QuestionId": 13, 3915 + "Text": "Select One", 3916 + "Value": "", 3917 + "Order": 1 3918 + }, 3919 + { 3920 + "Id": 10, 3921 + "QuestionId": 13, 3922 + "Text": "Afghanistan", 3923 + "Value": "Afghanistan", 3924 + "Order": 3 3925 + }, 3926 + { 3927 + "Id": 18, 3928 + "QuestionId": 13, 3929 + "Text": "Albania", 3930 + "Value": "Albania", 3931 + "Order": 4 3932 + }, 3933 + { 3934 + "Id": 26, 3935 + "QuestionId": 13, 3936 + "Text": "Algeria", 3937 + "Value": "Algeria", 3938 + "Order": 5 3939 + }, 3940 + { 3941 + "Id": 34, 3942 + "QuestionId": 13, 3943 + "Text": "Andorra", 3944 + "Value": "Andorra", 3945 + "Order": 6 3946 + }, 3947 + { 3948 + "Id": 42, 3949 + "QuestionId": 13, 3950 + "Text": "Angola", 3951 + "Value": "Angola", 3952 + "Order": 7 3953 + }, 3954 + { 3955 + "Id": 50, 3956 + "QuestionId": 13, 3957 + "Text": "Antigua and Barbuda", 3958 + "Value": "Antigua and Barbuda", 3959 + "Order": 8 3960 + }, 3961 + { 3962 + "Id": 58, 3963 + "QuestionId": 13, 3964 + "Text": "Argentina", 3965 + "Value": "Argentina", 3966 + "Order": 9 3967 + }, 3968 + { 3969 + "Id": 66, 3970 + "QuestionId": 13, 3971 + "Text": "Armenia", 3972 + "Value": "Armenia", 3973 + "Order": 10 3974 + }, 3975 + { 3976 + "Id": 74, 3977 + "QuestionId": 13, 3978 + "Text": "Australia", 3979 + "Value": "Australia", 3980 + "Order": 11 3981 + }, 3982 + { 3983 + "Id": 82, 3984 + "QuestionId": 13, 3985 + "Text": "Austria", 3986 + "Value": "Austria", 3987 + "Order": 12 3988 + }, 3989 + { 3990 + "Id": 90, 3991 + "QuestionId": 13, 3992 + "Text": "Azerbaijan", 3993 + "Value": "Azerbaijan", 3994 + "Order": 13 3995 + }, 3996 + { 3997 + "Id": 98, 3998 + "QuestionId": 13, 3999 + "Text": "Bahamas", 4000 + "Value": "Bahamas", 4001 + "Order": 14 4002 + }, 4003 + { 4004 + "Id": 106, 4005 + "QuestionId": 13, 4006 + "Text": "Bahrain", 4007 + "Value": "Bahrain", 4008 + "Order": 15 4009 + }, 4010 + { 4011 + "Id": 114, 4012 + "QuestionId": 13, 4013 + "Text": "Bangladesh", 4014 + "Value": "Bangladesh", 4015 + "Order": 16 4016 + }, 4017 + { 4018 + "Id": 122, 4019 + "QuestionId": 13, 4020 + "Text": "Barbados", 4021 + "Value": "Barbados", 4022 + "Order": 17 4023 + }, 4024 + { 4025 + "Id": 130, 4026 + "QuestionId": 13, 4027 + "Text": "Belarus", 4028 + "Value": "Belarus", 4029 + "Order": 18 4030 + }, 4031 + { 4032 + "Id": 138, 4033 + "QuestionId": 13, 4034 + "Text": "Belgium", 4035 + "Value": "Belgium", 4036 + "Order": 19 4037 + }, 4038 + { 4039 + "Id": 146, 4040 + "QuestionId": 13, 4041 + "Text": "Belize", 4042 + "Value": "Belize", 4043 + "Order": 20 4044 + }, 4045 + { 4046 + "Id": 154, 4047 + "QuestionId": 13, 4048 + "Text": "Benin", 4049 + "Value": "Benin", 4050 + "Order": 21 4051 + }, 4052 + { 4053 + "Id": 162, 4054 + "QuestionId": 13, 4055 + "Text": "Bhutan", 4056 + "Value": "Bhutan", 4057 + "Order": 22 4058 + }, 4059 + { 4060 + "Id": 170, 4061 + "QuestionId": 13, 4062 + "Text": "Bolivia", 4063 + "Value": "Bolivia", 4064 + "Order": 23 4065 + }, 4066 + { 4067 + "Id": 178, 4068 + "QuestionId": 13, 4069 + "Text": "Bosnia and Herzegovina", 4070 + "Value": "Bosnia and Herzegovina", 4071 + "Order": 24 4072 + }, 4073 + { 4074 + "Id": 186, 4075 + "QuestionId": 13, 4076 + "Text": "Botswana", 4077 + "Value": "Botswana", 4078 + "Order": 25 4079 + }, 4080 + { 4081 + "Id": 194, 4082 + "QuestionId": 13, 4083 + "Text": "Brazil", 4084 + "Value": "Brazil", 4085 + "Order": 26 4086 + }, 4087 + { 4088 + "Id": 202, 4089 + "QuestionId": 13, 4090 + "Text": "Brunei", 4091 + "Value": "Brunei", 4092 + "Order": 27 4093 + }, 4094 + { 4095 + "Id": 210, 4096 + "QuestionId": 13, 4097 + "Text": "Bulgaria", 4098 + "Value": "Bulgaria", 4099 + "Order": 28 4100 + }, 4101 + { 4102 + "Id": 218, 4103 + "QuestionId": 13, 4104 + "Text": "Burkina Faso", 4105 + "Value": "Burkina Faso", 4106 + "Order": 29 4107 + }, 4108 + { 4109 + "Id": 226, 4110 + "QuestionId": 13, 4111 + "Text": "Burundi", 4112 + "Value": "Burundi", 4113 + "Order": 30 4114 + }, 4115 + { 4116 + "Id": 234, 4117 + "QuestionId": 13, 4118 + "Text": "Cambodia", 4119 + "Value": "Cambodia", 4120 + "Order": 31 4121 + }, 4122 + { 4123 + "Id": 242, 4124 + "QuestionId": 13, 4125 + "Text": "Cameroon", 4126 + "Value": "Cameroon", 4127 + "Order": 32 4128 + }, 4129 + { 4130 + "Id": 250, 4131 + "QuestionId": 13, 4132 + "Text": "Canada", 4133 + "Value": "Canada", 4134 + "Order": 33 4135 + }, 4136 + { 4137 + "Id": 258, 4138 + "QuestionId": 13, 4139 + "Text": "Cape Verde", 4140 + "Value": "Cape Verde", 4141 + "Order": 34 4142 + }, 4143 + { 4144 + "Id": 266, 4145 + "QuestionId": 13, 4146 + "Text": "Central African Republic", 4147 + "Value": "Central African Republic", 4148 + "Order": 35 4149 + }, 4150 + { 4151 + "Id": 274, 4152 + "QuestionId": 13, 4153 + "Text": "Chad", 4154 + "Value": "Chad", 4155 + "Order": 36 4156 + }, 4157 + { 4158 + "Id": 282, 4159 + "QuestionId": 13, 4160 + "Text": "Chile", 4161 + "Value": "Chile", 4162 + "Order": 37 4163 + }, 4164 + { 4165 + "Id": 290, 4166 + "QuestionId": 13, 4167 + "Text": "China", 4168 + "Value": "China", 4169 + "Order": 38 4170 + }, 4171 + { 4172 + "Id": 298, 4173 + "QuestionId": 13, 4174 + "Text": "Colombia", 4175 + "Value": "Colombia", 4176 + "Order": 39 4177 + }, 4178 + { 4179 + "Id": 306, 4180 + "QuestionId": 13, 4181 + "Text": "Comoros", 4182 + "Value": "Comoros", 4183 + "Order": 40 4184 + }, 4185 + { 4186 + "Id": 314, 4187 + "QuestionId": 13, 4188 + "Text": "Congo (Brazzaville)", 4189 + "Value": "Congo (Brazzaville)", 4190 + "Order": 41 4191 + }, 4192 + { 4193 + "Id": 322, 4194 + "QuestionId": 13, 4195 + "Text": "Congo", 4196 + "Value": "Congo", 4197 + "Order": 42 4198 + }, 4199 + { 4200 + "Id": 330, 4201 + "QuestionId": 13, 4202 + "Text": "Costa Rica", 4203 + "Value": "Costa Rica", 4204 + "Order": 43 4205 + }, 4206 + { 4207 + "Id": 338, 4208 + "QuestionId": 13, 4209 + "Text": "Cote d'Ivoire", 4210 + "Value": "Cote d'Ivoire", 4211 + "Order": 44 4212 + }, 4213 + { 4214 + "Id": 346, 4215 + "QuestionId": 13, 4216 + "Text": "Croatia", 4217 + "Value": "Croatia", 4218 + "Order": 45 4219 + }, 4220 + { 4221 + "Id": 354, 4222 + "QuestionId": 13, 4223 + "Text": "Cuba", 4224 + "Value": "Cuba", 4225 + "Order": 46 4226 + }, 4227 + { 4228 + "Id": 362, 4229 + "QuestionId": 13, 4230 + "Text": "Cyprus", 4231 + "Value": "Cyprus", 4232 + "Order": 47 4233 + }, 4234 + { 4235 + "Id": 370, 4236 + "QuestionId": 13, 4237 + "Text": "Czech Republic", 4238 + "Value": "Czech Republic", 4239 + "Order": 48 4240 + }, 4241 + { 4242 + "Id": 378, 4243 + "QuestionId": 13, 4244 + "Text": "Denmark", 4245 + "Value": "Denmark", 4246 + "Order": 49 4247 + }, 4248 + { 4249 + "Id": 386, 4250 + "QuestionId": 13, 4251 + "Text": "Djibouti", 4252 + "Value": "Djibouti", 4253 + "Order": 50 4254 + }, 4255 + { 4256 + "Id": 394, 4257 + "QuestionId": 13, 4258 + "Text": "Dominica", 4259 + "Value": "Dominica", 4260 + "Order": 51 4261 + }, 4262 + { 4263 + "Id": 402, 4264 + "QuestionId": 13, 4265 + "Text": "Dominican Republic", 4266 + "Value": "Dominican Republic", 4267 + "Order": 52 4268 + }, 4269 + { 4270 + "Id": 410, 4271 + "QuestionId": 13, 4272 + "Text": "East Timor", 4273 + "Value": "East Timor", 4274 + "Order": 53 4275 + }, 4276 + { 4277 + "Id": 418, 4278 + "QuestionId": 13, 4279 + "Text": "Ecuador", 4280 + "Value": "Ecuador", 4281 + "Order": 54 4282 + }, 4283 + { 4284 + "Id": 426, 4285 + "QuestionId": 13, 4286 + "Text": "Egypt", 4287 + "Value": "Egypt", 4288 + "Order": 55 4289 + }, 4290 + { 4291 + "Id": 434, 4292 + "QuestionId": 13, 4293 + "Text": "El Salvador", 4294 + "Value": "El Salvador", 4295 + "Order": 56 4296 + }, 4297 + { 4298 + "Id": 442, 4299 + "QuestionId": 13, 4300 + "Text": "Equatorial Guinea", 4301 + "Value": "Equatorial Guinea", 4302 + "Order": 57 4303 + }, 4304 + { 4305 + "Id": 450, 4306 + "QuestionId": 13, 4307 + "Text": "Eritrea", 4308 + "Value": "Eritrea", 4309 + "Order": 58 4310 + }, 4311 + { 4312 + "Id": 458, 4313 + "QuestionId": 13, 4314 + "Text": "Estonia", 4315 + "Value": "Estonia", 4316 + "Order": 59 4317 + }, 4318 + { 4319 + "Id": 466, 4320 + "QuestionId": 13, 4321 + "Text": "Ethiopia", 4322 + "Value": "Ethiopia", 4323 + "Order": 60 4324 + }, 4325 + { 4326 + "Id": 474, 4327 + "QuestionId": 13, 4328 + "Text": "Fiji", 4329 + "Value": "Fiji", 4330 + "Order": 61 4331 + }, 4332 + { 4333 + "Id": 482, 4334 + "QuestionId": 13, 4335 + "Text": "Finland", 4336 + "Value": "Finland", 4337 + "Order": 62 4338 + }, 4339 + { 4340 + "Id": 490, 4341 + "QuestionId": 13, 4342 + "Text": "France", 4343 + "Value": "France", 4344 + "Order": 63 4345 + }, 4346 + { 4347 + "Id": 498, 4348 + "QuestionId": 13, 4349 + "Text": "Gabon", 4350 + "Value": "Gabon", 4351 + "Order": 64 4352 + }, 4353 + { 4354 + "Id": 506, 4355 + "QuestionId": 13, 4356 + "Text": "Gambia, The", 4357 + "Value": "Gambia, The", 4358 + "Order": 65 4359 + }, 4360 + { 4361 + "Id": 514, 4362 + "QuestionId": 13, 4363 + "Text": "Georgia", 4364 + "Value": "Georgia", 4365 + "Order": 66 4366 + }, 4367 + { 4368 + "Id": 522, 4369 + "QuestionId": 13, 4370 + "Text": "Germany", 4371 + "Value": "Germany", 4372 + "Order": 67 4373 + }, 4374 + { 4375 + "Id": 530, 4376 + "QuestionId": 13, 4377 + "Text": "Ghana", 4378 + "Value": "Ghana", 4379 + "Order": 68 4380 + }, 4381 + { 4382 + "Id": 538, 4383 + "QuestionId": 13, 4384 + "Text": "Greece", 4385 + "Value": "Greece", 4386 + "Order": 69 4387 + }, 4388 + { 4389 + "Id": 546, 4390 + "QuestionId": 13, 4391 + "Text": "Grenada", 4392 + "Value": "Grenada", 4393 + "Order": 70 4394 + }, 4395 + { 4396 + "Id": 554, 4397 + "QuestionId": 13, 4398 + "Text": "Guatemala", 4399 + "Value": "Guatemala", 4400 + "Order": 71 4401 + }, 4402 + { 4403 + "Id": 562, 4404 + "QuestionId": 13, 4405 + "Text": "Guinea", 4406 + "Value": "Guinea", 4407 + "Order": 72 4408 + }, 4409 + { 4410 + "Id": 570, 4411 + "QuestionId": 13, 4412 + "Text": "Guinea-Bissau", 4413 + "Value": "Guinea-Bissau", 4414 + "Order": 73 4415 + }, 4416 + { 4417 + "Id": 578, 4418 + "QuestionId": 13, 4419 + "Text": "Guyana", 4420 + "Value": "Guyana", 4421 + "Order": 74 4422 + }, 4423 + { 4424 + "Id": 586, 4425 + "QuestionId": 13, 4426 + "Text": "Haiti", 4427 + "Value": "Haiti", 4428 + "Order": 75 4429 + }, 4430 + { 4431 + "Id": 594, 4432 + "QuestionId": 13, 4433 + "Text": "Honduras", 4434 + "Value": "Honduras", 4435 + "Order": 76 4436 + }, 4437 + { 4438 + "Id": 602, 4439 + "QuestionId": 13, 4440 + "Text": "Hungary", 4441 + "Value": "Hungary", 4442 + "Order": 77 4443 + }, 4444 + { 4445 + "Id": 610, 4446 + "QuestionId": 13, 4447 + "Text": "Iceland", 4448 + "Value": "Iceland", 4449 + "Order": 78 4450 + }, 4451 + { 4452 + "Id": 618, 4453 + "QuestionId": 13, 4454 + "Text": "India", 4455 + "Value": "India", 4456 + "Order": 79 4457 + }, 4458 + { 4459 + "Id": 626, 4460 + "QuestionId": 13, 4461 + "Text": "Indonesia", 4462 + "Value": "Indonesia", 4463 + "Order": 80 4464 + }, 4465 + { 4466 + "Id": 634, 4467 + "QuestionId": 13, 4468 + "Text": "Iran", 4469 + "Value": "Iran", 4470 + "Order": 81 4471 + }, 4472 + { 4473 + "Id": 642, 4474 + "QuestionId": 13, 4475 + "Text": "Iraq", 4476 + "Value": "Iraq", 4477 + "Order": 82 4478 + }, 4479 + { 4480 + "Id": 650, 4481 + "QuestionId": 13, 4482 + "Text": "Ireland", 4483 + "Value": "Ireland", 4484 + "Order": 83 4485 + }, 4486 + { 4487 + "Id": 658, 4488 + "QuestionId": 13, 4489 + "Text": "Israel", 4490 + "Value": "Israel", 4491 + "Order": 84 4492 + }, 4493 + { 4494 + "Id": 666, 4495 + "QuestionId": 13, 4496 + "Text": "Italy", 4497 + "Value": "Italy", 4498 + "Order": 85 4499 + }, 4500 + { 4501 + "Id": 674, 4502 + "QuestionId": 13, 4503 + "Text": "Jamaica", 4504 + "Value": "Jamaica", 4505 + "Order": 86 4506 + }, 4507 + { 4508 + "Id": 682, 4509 + "QuestionId": 13, 4510 + "Text": "Japan", 4511 + "Value": "Japan", 4512 + "Order": 87 4513 + }, 4514 + { 4515 + "Id": 690, 4516 + "QuestionId": 13, 4517 + "Text": "Jordan", 4518 + "Value": "Jordan", 4519 + "Order": 88 4520 + }, 4521 + { 4522 + "Id": 698, 4523 + "QuestionId": 13, 4524 + "Text": "Kazakhstan", 4525 + "Value": "Kazakhstan", 4526 + "Order": 89 4527 + }, 4528 + { 4529 + "Id": 706, 4530 + "QuestionId": 13, 4531 + "Text": "Kenya", 4532 + "Value": "Kenya", 4533 + "Order": 90 4534 + }, 4535 + { 4536 + "Id": 714, 4537 + "QuestionId": 13, 4538 + "Text": "Kiribati", 4539 + "Value": "Kiribati", 4540 + "Order": 91 4541 + }, 4542 + { 4543 + "Id": 722, 4544 + "QuestionId": 13, 4545 + "Text": "Korea, North", 4546 + "Value": "Korea, North", 4547 + "Order": 92 4548 + }, 4549 + { 4550 + "Id": 730, 4551 + "QuestionId": 13, 4552 + "Text": "Korea, South", 4553 + "Value": "Korea, South", 4554 + "Order": 93 4555 + }, 4556 + { 4557 + "Id": 738, 4558 + "QuestionId": 13, 4559 + "Text": "Kuwait", 4560 + "Value": "Kuwait", 4561 + "Order": 94 4562 + }, 4563 + { 4564 + "Id": 746, 4565 + "QuestionId": 13, 4566 + "Text": "Kyrgyzstan", 4567 + "Value": "Kyrgyzstan", 4568 + "Order": 95 4569 + }, 4570 + { 4571 + "Id": 754, 4572 + "QuestionId": 13, 4573 + "Text": "Laos", 4574 + "Value": "Laos", 4575 + "Order": 96 4576 + }, 4577 + { 4578 + "Id": 762, 4579 + "QuestionId": 13, 4580 + "Text": "Latvia", 4581 + "Value": "Latvia", 4582 + "Order": 97 4583 + }, 4584 + { 4585 + "Id": 770, 4586 + "QuestionId": 13, 4587 + "Text": "Lebanon", 4588 + "Value": "Lebanon", 4589 + "Order": 98 4590 + }, 4591 + { 4592 + "Id": 778, 4593 + "QuestionId": 13, 4594 + "Text": "Lesotho", 4595 + "Value": "Lesotho", 4596 + "Order": 99 4597 + }, 4598 + { 4599 + "Id": 786, 4600 + "QuestionId": 13, 4601 + "Text": "Liberia", 4602 + "Value": "Liberia", 4603 + "Order": 100 4604 + }, 4605 + { 4606 + "Id": 794, 4607 + "QuestionId": 13, 4608 + "Text": "Libya", 4609 + "Value": "Libya", 4610 + "Order": 101 4611 + }, 4612 + { 4613 + "Id": 802, 4614 + "QuestionId": 13, 4615 + "Text": "Liechtenstein", 4616 + "Value": "Liechtenstein", 4617 + "Order": 102 4618 + }, 4619 + { 4620 + "Id": 810, 4621 + "QuestionId": 13, 4622 + "Text": "Lithuania", 4623 + "Value": "Lithuania", 4624 + "Order": 103 4625 + }, 4626 + { 4627 + "Id": 818, 4628 + "QuestionId": 13, 4629 + "Text": "Luxembourg", 4630 + "Value": "Luxembourg", 4631 + "Order": 104 4632 + }, 4633 + { 4634 + "Id": 826, 4635 + "QuestionId": 13, 4636 + "Text": "Macedonia", 4637 + "Value": "Macedonia", 4638 + "Order": 105 4639 + }, 4640 + { 4641 + "Id": 834, 4642 + "QuestionId": 13, 4643 + "Text": "Madagascar", 4644 + "Value": "Madagascar", 4645 + "Order": 106 4646 + }, 4647 + { 4648 + "Id": 842, 4649 + "QuestionId": 13, 4650 + "Text": "Malawi", 4651 + "Value": "Malawi", 4652 + "Order": 107 4653 + }, 4654 + { 4655 + "Id": 850, 4656 + "QuestionId": 13, 4657 + "Text": "Malaysia", 4658 + "Value": "Malaysia", 4659 + "Order": 108 4660 + }, 4661 + { 4662 + "Id": 858, 4663 + "QuestionId": 13, 4664 + "Text": "Maldives", 4665 + "Value": "Maldives", 4666 + "Order": 109 4667 + }, 4668 + { 4669 + "Id": 866, 4670 + "QuestionId": 13, 4671 + "Text": "Mali", 4672 + "Value": "Mali", 4673 + "Order": 110 4674 + }, 4675 + { 4676 + "Id": 874, 4677 + "QuestionId": 13, 4678 + "Text": "Malta", 4679 + "Value": "Malta", 4680 + "Order": 111 4681 + }, 4682 + { 4683 + "Id": 882, 4684 + "QuestionId": 13, 4685 + "Text": "Marshall Islands", 4686 + "Value": "Marshall Islands", 4687 + "Order": 112 4688 + }, 4689 + { 4690 + "Id": 890, 4691 + "QuestionId": 13, 4692 + "Text": "Mauritania", 4693 + "Value": "Mauritania", 4694 + "Order": 113 4695 + }, 4696 + { 4697 + "Id": 898, 4698 + "QuestionId": 13, 4699 + "Text": "Mauritius", 4700 + "Value": "Mauritius", 4701 + "Order": 114 4702 + }, 4703 + { 4704 + "Id": 906, 4705 + "QuestionId": 13, 4706 + "Text": "Mexico", 4707 + "Value": "Mexico", 4708 + "Order": 115 4709 + }, 4710 + { 4711 + "Id": 914, 4712 + "QuestionId": 13, 4713 + "Text": "Micronesia", 4714 + "Value": "Micronesia", 4715 + "Order": 116 4716 + }, 4717 + { 4718 + "Id": 922, 4719 + "QuestionId": 13, 4720 + "Text": "Moldova", 4721 + "Value": "Moldova", 4722 + "Order": 117 4723 + }, 4724 + { 4725 + "Id": 930, 4726 + "QuestionId": 13, 4727 + "Text": "Monaco", 4728 + "Value": "Monaco", 4729 + "Order": 118 4730 + }, 4731 + { 4732 + "Id": 938, 4733 + "QuestionId": 13, 4734 + "Text": "Mongolia", 4735 + "Value": "Mongolia", 4736 + "Order": 119 4737 + }, 4738 + { 4739 + "Id": 946, 4740 + "QuestionId": 13, 4741 + "Text": "Morocco", 4742 + "Value": "Morocco", 4743 + "Order": 120 4744 + }, 4745 + { 4746 + "Id": 954, 4747 + "QuestionId": 13, 4748 + "Text": "Mozambique", 4749 + "Value": "Mozambique", 4750 + "Order": 121 4751 + }, 4752 + { 4753 + "Id": 962, 4754 + "QuestionId": 13, 4755 + "Text": "Myanmar", 4756 + "Value": "Myanmar", 4757 + "Order": 122 4758 + }, 4759 + { 4760 + "Id": 970, 4761 + "QuestionId": 13, 4762 + "Text": "Namibia", 4763 + "Value": "Namibia", 4764 + "Order": 123 4765 + }, 4766 + { 4767 + "Id": 978, 4768 + "QuestionId": 13, 4769 + "Text": "Nauru", 4770 + "Value": "Nauru", 4771 + "Order": 124 4772 + }, 4773 + { 4774 + "Id": 986, 4775 + "QuestionId": 13, 4776 + "Text": "Nepa", 4777 + "Value": "Nepa", 4778 + "Order": 125 4779 + }, 4780 + { 4781 + "Id": 994, 4782 + "QuestionId": 13, 4783 + "Text": "Netherlands", 4784 + "Value": "Netherlands", 4785 + "Order": 126 4786 + }, 4787 + { 4788 + "Id": 1002, 4789 + "QuestionId": 13, 4790 + "Text": "New Zealand", 4791 + "Value": "New Zealand", 4792 + "Order": 127 4793 + }, 4794 + { 4795 + "Id": 1010, 4796 + "QuestionId": 13, 4797 + "Text": "Nicaragua", 4798 + "Value": "Nicaragua", 4799 + "Order": 128 4800 + }, 4801 + { 4802 + "Id": 1018, 4803 + "QuestionId": 13, 4804 + "Text": "Niger", 4805 + "Value": "Niger", 4806 + "Order": 129 4807 + }, 4808 + { 4809 + "Id": 1026, 4810 + "QuestionId": 13, 4811 + "Text": "Nigeria", 4812 + "Value": "Nigeria", 4813 + "Order": 130 4814 + }, 4815 + { 4816 + "Id": 1034, 4817 + "QuestionId": 13, 4818 + "Text": "Norway", 4819 + "Value": "Norway", 4820 + "Order": 131 4821 + }, 4822 + { 4823 + "Id": 1042, 4824 + "QuestionId": 13, 4825 + "Text": "Oman", 4826 + "Value": "Oman", 4827 + "Order": 132 4828 + }, 4829 + { 4830 + "Id": 1050, 4831 + "QuestionId": 13, 4832 + "Text": "Pakistan", 4833 + "Value": "Pakistan", 4834 + "Order": 133 4835 + }, 4836 + { 4837 + "Id": 1058, 4838 + "QuestionId": 13, 4839 + "Text": "Palau", 4840 + "Value": "Palau", 4841 + "Order": 134 4842 + }, 4843 + { 4844 + "Id": 1066, 4845 + "QuestionId": 13, 4846 + "Text": "Panama", 4847 + "Value": "Panama", 4848 + "Order": 135 4849 + }, 4850 + { 4851 + "Id": 1074, 4852 + "QuestionId": 13, 4853 + "Text": "Papua New Guinea", 4854 + "Value": "Papua New Guinea", 4855 + "Order": 136 4856 + }, 4857 + { 4858 + "Id": 1082, 4859 + "QuestionId": 13, 4860 + "Text": "Paraguay", 4861 + "Value": "Paraguay", 4862 + "Order": 137 4863 + }, 4864 + { 4865 + "Id": 1090, 4866 + "QuestionId": 13, 4867 + "Text": "Peru", 4868 + "Value": "Peru", 4869 + "Order": 138 4870 + }, 4871 + { 4872 + "Id": 1098, 4873 + "QuestionId": 13, 4874 + "Text": "Philippines", 4875 + "Value": "Philippines", 4876 + "Order": 139 4877 + }, 4878 + { 4879 + "Id": 1106, 4880 + "QuestionId": 13, 4881 + "Text": "Poland", 4882 + "Value": "Poland", 4883 + "Order": 140 4884 + }, 4885 + { 4886 + "Id": 1114, 4887 + "QuestionId": 13, 4888 + "Text": "Portugal", 4889 + "Value": "Portugal", 4890 + "Order": 141 4891 + }, 4892 + { 4893 + "Id": 1122, 4894 + "QuestionId": 13, 4895 + "Text": "Qatar", 4896 + "Value": "Qatar", 4897 + "Order": 142 4898 + }, 4899 + { 4900 + "Id": 1130, 4901 + "QuestionId": 13, 4902 + "Text": "Romania", 4903 + "Value": "Romania", 4904 + "Order": 143 4905 + }, 4906 + { 4907 + "Id": 1138, 4908 + "QuestionId": 13, 4909 + "Text": "Russia", 4910 + "Value": "Russia", 4911 + "Order": 144 4912 + }, 4913 + { 4914 + "Id": 1146, 4915 + "QuestionId": 13, 4916 + "Text": "Rwanda", 4917 + "Value": "Rwanda", 4918 + "Order": 145 4919 + }, 4920 + { 4921 + "Id": 1154, 4922 + "QuestionId": 13, 4923 + "Text": "Saint Kitts and Nevis", 4924 + "Value": "Saint Kitts and Nevis", 4925 + "Order": 146 4926 + }, 4927 + { 4928 + "Id": 1162, 4929 + "QuestionId": 13, 4930 + "Text": "Saint Lucia", 4931 + "Value": "Saint Lucia", 4932 + "Order": 147 4933 + }, 4934 + { 4935 + "Id": 1170, 4936 + "QuestionId": 13, 4937 + "Text": "Saint Vincent", 4938 + "Value": "Saint Vincent", 4939 + "Order": 148 4940 + }, 4941 + { 4942 + "Id": 1178, 4943 + "QuestionId": 13, 4944 + "Text": "Samoa", 4945 + "Value": "Samoa", 4946 + "Order": 149 4947 + }, 4948 + { 4949 + "Id": 1186, 4950 + "QuestionId": 13, 4951 + "Text": "San Marino", 4952 + "Value": "San Marino", 4953 + "Order": 150 4954 + }, 4955 + { 4956 + "Id": 1194, 4957 + "QuestionId": 13, 4958 + "Text": "Sao Tome and Principe", 4959 + "Value": "Sao Tome and Principe", 4960 + "Order": 151 4961 + }, 4962 + { 4963 + "Id": 1202, 4964 + "QuestionId": 13, 4965 + "Text": "Saudi Arabia", 4966 + "Value": "Saudi Arabia", 4967 + "Order": 152 4968 + }, 4969 + { 4970 + "Id": 1210, 4971 + "QuestionId": 13, 4972 + "Text": "Senegal", 4973 + "Value": "Senegal", 4974 + "Order": 153 4975 + }, 4976 + { 4977 + "Id": 1218, 4978 + "QuestionId": 13, 4979 + "Text": "Serbia and Montenegro", 4980 + "Value": "Serbia and Montenegro", 4981 + "Order": 154 4982 + }, 4983 + { 4984 + "Id": 1226, 4985 + "QuestionId": 13, 4986 + "Text": "Seychelles", 4987 + "Value": "Seychelles", 4988 + "Order": 155 4989 + }, 4990 + { 4991 + "Id": 1234, 4992 + "QuestionId": 13, 4993 + "Text": "Sierra Leone", 4994 + "Value": "Sierra Leone", 4995 + "Order": 156 4996 + }, 4997 + { 4998 + "Id": 1242, 4999 + "QuestionId": 13, 5000 + "Text": "Singapore", 5001 + "Value": "Singapore", 5002 + "Order": 157 5003 + }, 5004 + { 5005 + "Id": 1250, 5006 + "QuestionId": 13, 5007 + "Text": "Slovakia", 5008 + "Value": "Slovakia", 5009 + "Order": 158 5010 + }, 5011 + { 5012 + "Id": 1258, 5013 + "QuestionId": 13, 5014 + "Text": "Slovenia", 5015 + "Value": "Slovenia", 5016 + "Order": 159 5017 + }, 5018 + { 5019 + "Id": 1266, 5020 + "QuestionId": 13, 5021 + "Text": "Solomon Islands", 5022 + "Value": "Solomon Islands", 5023 + "Order": 160 5024 + }, 5025 + { 5026 + "Id": 1274, 5027 + "QuestionId": 13, 5028 + "Text": "Somalia", 5029 + "Value": "Somalia", 5030 + "Order": 161 5031 + }, 5032 + { 5033 + "Id": 1282, 5034 + "QuestionId": 13, 5035 + "Text": "South Africa", 5036 + "Value": "South Africa", 5037 + "Order": 162 5038 + }, 5039 + { 5040 + "Id": 1290, 5041 + "QuestionId": 13, 5042 + "Text": "Spain", 5043 + "Value": "Spain", 5044 + "Order": 163 5045 + }, 5046 + { 5047 + "Id": 1298, 5048 + "QuestionId": 13, 5049 + "Text": "Sri Lanka", 5050 + "Value": "Sri Lanka", 5051 + "Order": 164 5052 + }, 5053 + { 5054 + "Id": 1306, 5055 + "QuestionId": 13, 5056 + "Text": "Sudan", 5057 + "Value": "Sudan", 5058 + "Order": 165 5059 + }, 5060 + { 5061 + "Id": 1314, 5062 + "QuestionId": 13, 5063 + "Text": "Suriname", 5064 + "Value": "Suriname", 5065 + "Order": 166 5066 + }, 5067 + { 5068 + "Id": 1322, 5069 + "QuestionId": 13, 5070 + "Text": "Swaziland", 5071 + "Value": "Swaziland", 5072 + "Order": 167 5073 + }, 5074 + { 5075 + "Id": 1330, 5076 + "QuestionId": 13, 5077 + "Text": "Sweden", 5078 + "Value": "Sweden", 5079 + "Order": 168 5080 + }, 5081 + { 5082 + "Id": 1338, 5083 + "QuestionId": 13, 5084 + "Text": "Switzerland", 5085 + "Value": "Switzerland", 5086 + "Order": 169 5087 + }, 5088 + { 5089 + "Id": 1346, 5090 + "QuestionId": 13, 5091 + "Text": "Syria", 5092 + "Value": "Syria", 5093 + "Order": 170 5094 + }, 5095 + { 5096 + "Id": 1354, 5097 + "QuestionId": 13, 5098 + "Text": "Taiwan", 5099 + "Value": "Taiwan", 5100 + "Order": 171 5101 + }, 5102 + { 5103 + "Id": 1362, 5104 + "QuestionId": 13, 5105 + "Text": "Tajikistan", 5106 + "Value": "Tajikistan", 5107 + "Order": 172 5108 + }, 5109 + { 5110 + "Id": 1370, 5111 + "QuestionId": 13, 5112 + "Text": "Tanzania", 5113 + "Value": "Tanzania", 5114 + "Order": 173 5115 + }, 5116 + { 5117 + "Id": 1378, 5118 + "QuestionId": 13, 5119 + "Text": "Thailand", 5120 + "Value": "Thailand", 5121 + "Order": 174 5122 + }, 5123 + { 5124 + "Id": 1386, 5125 + "QuestionId": 13, 5126 + "Text": "Togo", 5127 + "Value": "Togo", 5128 + "Order": 175 5129 + }, 5130 + { 5131 + "Id": 1394, 5132 + "QuestionId": 13, 5133 + "Text": "Tonga", 5134 + "Value": "Tonga", 5135 + "Order": 176 5136 + }, 5137 + { 5138 + "Id": 1402, 5139 + "QuestionId": 13, 5140 + "Text": "Trinidad and Tobago", 5141 + "Value": "Trinidad and Tobago", 5142 + "Order": 177 5143 + }, 5144 + { 5145 + "Id": 1410, 5146 + "QuestionId": 13, 5147 + "Text": "Tunisia", 5148 + "Value": "Tunisia", 5149 + "Order": 178 5150 + }, 5151 + { 5152 + "Id": 1418, 5153 + "QuestionId": 13, 5154 + "Text": "Turkey", 5155 + "Value": "Turkey", 5156 + "Order": 179 5157 + }, 5158 + { 5159 + "Id": 1426, 5160 + "QuestionId": 13, 5161 + "Text": "Turkmenistan", 5162 + "Value": "Turkmenistan", 5163 + "Order": 180 5164 + }, 5165 + { 5166 + "Id": 1434, 5167 + "QuestionId": 13, 5168 + "Text": "Tuvalu", 5169 + "Value": "Tuvalu", 5170 + "Order": 181 5171 + }, 5172 + { 5173 + "Id": 1442, 5174 + "QuestionId": 13, 5175 + "Text": "Uganda", 5176 + "Value": "Uganda", 5177 + "Order": 182 5178 + }, 5179 + { 5180 + "Id": 1450, 5181 + "QuestionId": 13, 5182 + "Text": "Ukraine", 5183 + "Value": "Ukraine", 5184 + "Order": 183 5185 + }, 5186 + { 5187 + "Id": 1458, 5188 + "QuestionId": 13, 5189 + "Text": "United Arab Emirates", 5190 + "Value": "United Arab Emirates", 5191 + "Order": 184 5192 + }, 5193 + { 5194 + "Id": 1466, 5195 + "QuestionId": 13, 5196 + "Text": "United Kingdom", 5197 + "Value": "United Kingdom", 5198 + "Order": 185 5199 + }, 5200 + { 5201 + "Id": 1474, 5202 + "QuestionId": 13, 5203 + "Text": "United States", 5204 + "Value": "United States", 5205 + "Order": 2 5206 + }, 5207 + { 5208 + "Id": 1482, 5209 + "QuestionId": 13, 5210 + "Text": "Uruguay", 5211 + "Value": "Uruguay", 5212 + "Order": 186 5213 + }, 5214 + { 5215 + "Id": 1490, 5216 + "QuestionId": 13, 5217 + "Text": "Uzbekistan", 5218 + "Value": "Uzbekistan", 5219 + "Order": 187 5220 + }, 5221 + { 5222 + "Id": 1498, 5223 + "QuestionId": 13, 5224 + "Text": "Vanuatu", 5225 + "Value": "Vanuatu", 5226 + "Order": 188 5227 + }, 5228 + { 5229 + "Id": 1506, 5230 + "QuestionId": 13, 5231 + "Text": "Vatican City", 5232 + "Value": "Vatican City", 5233 + "Order": 189 5234 + }, 5235 + { 5236 + "Id": 1514, 5237 + "QuestionId": 13, 5238 + "Text": "Venezuela", 5239 + "Value": "Venezuela", 5240 + "Order": 190 5241 + }, 5242 + { 5243 + "Id": 1522, 5244 + "QuestionId": 13, 5245 + "Text": "Vietnam", 5246 + "Value": "Vietnam", 5247 + "Order": 191 5248 + }, 5249 + { 5250 + "Id": 1530, 5251 + "QuestionId": 13, 5252 + "Text": "Yemen", 5253 + "Value": "Yemen", 5254 + "Order": 192 5255 + }, 5256 + { 5257 + "Id": 1538, 5258 + "QuestionId": 13, 5259 + "Text": "Zambia", 5260 + "Value": "Zambia", 5261 + "Order": 193 5262 + }, 5263 + { 5264 + "Id": 1546, 5265 + "QuestionId": 13, 5266 + "Text": "Zimbabwe", 5267 + "Value": "Zimbabwe", 5268 + "Order": 194 5269 + }, 5270 + { 5271 + "Id": 2186, 5272 + "QuestionId": 13, 5273 + "Text": "British Columbia", 5274 + "Value": "British Columbia", 5275 + "Order": 195 5276 + } 5277 + ] 5278 + } 5279 + ] 5280 +} 5281 +{{/code}} 2059 2059 2060 -(% class="western" %) 2061 -"Id": "6", 2062 2062 2063 -(% class=" western" %)2064 -" Text": "FirstName",5284 +(% id="HGETlookupquestionbyType" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 5285 +== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)lookup question by Type(%%) == 2065 2065 2066 -(% class="western" %) 2067 -"Type": "1", 5287 +---- 2068 2068 2069 -(% class="western" %) 2070 -"Alias": "FName" 5289 +{{panel bgColor="#D3D3D3" width="100%"}} 5290 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/questions/lookup?Type=4 5291 +{{/panel}} 2071 2071 2072 -(% class="western" %) 5293 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 5294 + 5295 +---- 5296 + 5297 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 5298 + 5299 +=== (% style="color:#212121" %)Query Params(%%) === 5300 + 5301 +---- 5302 + 5303 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Type 4(%%) 5304 + 5305 + 5306 +==== Example ==== 5307 + 5308 +---- 5309 + 5310 +(% style="color:#6b6b6b" %)Request 5311 + 5312 +{{code language="php" theme="RDark" title="Lookup question by Type Request"}} 5313 +<?php 5314 + 5315 +$curl = curl_init(); 5316 + 5317 +curl_setopt_array($curl, array( 5318 + CURLOPT_URL => 'https://api.onecount.net/v2/questions/lookup?Type=4', 5319 + CURLOPT_RETURNTRANSFER => true, 5320 + CURLOPT_ENCODING => '', 5321 + CURLOPT_MAXREDIRS => 10, 5322 + CURLOPT_TIMEOUT => 0, 5323 + CURLOPT_FOLLOWLOCATION => true, 5324 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 5325 + CURLOPT_CUSTOMREQUEST => 'GET', 5326 + CURLOPT_HTTPHEADER => array( 5327 + 'Appkey: {{ONECOUNT API KEY}}' 5328 + ), 5329 +)); 5330 + 5331 +$response = curl_exec($curl); 5332 + 5333 +curl_close($curl); 5334 +echo $response; 5335 +{{/code}} 5336 + 5337 + 5338 +(% style="color:#6b6b6b" %)Response 200 OK 5339 + 5340 +{{code language="yml" theme="RDark" collapse="true" title="Lookup question by type Response"}} 5341 +{ 5342 + "result": { 5343 + "success": "1", 5344 + "error": { 5345 + "code": "", 5346 + "message": "" 5347 + } 5348 + }, 5349 + "Questions": [ 5350 + { 5351 + "Id": 11, 5352 + "Text": "State/Province", 5353 + "Type": "4", 5354 + "Alias": "State/Province", 5355 + "Choices": [ 5356 + { 5357 + "Id": 1554, 5358 + "QuestionId": 11, 5359 + "Text": "Select One", 5360 + "Value": "", 5361 + "Order": 1 5362 + }, 5363 + { 5364 + "Id": 1562, 5365 + "QuestionId": 11, 5366 + "Text": "Alabama", 5367 + "Value": "AL", 5368 + "Order": 2 5369 + }, 5370 + { 5371 + "Id": 1570, 5372 + "QuestionId": 11, 5373 + "Text": "Alaska", 5374 + "Value": "AK", 5375 + "Order": 3 5376 + }, 5377 + { 5378 + "Id": 1578, 5379 + "QuestionId": 11, 5380 + "Text": "Arizona", 5381 + "Value": "AZ", 5382 + "Order": 4 5383 + }, 5384 + { 5385 + "Id": 1586, 5386 + "QuestionId": 11, 5387 + "Text": "Arkansas", 5388 + "Value": "AR", 5389 + "Order": 5 5390 + }, 5391 + { 5392 + "Id": 1594, 5393 + "QuestionId": 11, 5394 + "Text": "California", 5395 + "Value": "CA", 5396 + "Order": 6 5397 + }, 5398 + { 5399 + "Id": 1602, 5400 + "QuestionId": 11, 5401 + "Text": "Colorado", 5402 + "Value": "CO", 5403 + "Order": 7 5404 + }, 5405 + { 5406 + "Id": 1610, 5407 + "QuestionId": 11, 5408 + "Text": "Connecticut", 5409 + "Value": "CT", 5410 + "Order": 8 5411 + }, 5412 + { 5413 + "Id": 1618, 5414 + "QuestionId": 11, 5415 + "Text": "Delaware", 5416 + "Value": "DE", 5417 + "Order": 9 5418 + }, 5419 + { 5420 + "Id": 1626, 5421 + "QuestionId": 11, 5422 + "Text": "District of Columbia", 5423 + "Value": "DC", 5424 + "Order": 10 5425 + }, 5426 + { 5427 + "Id": 1634, 5428 + "QuestionId": 11, 5429 + "Text": "Florida", 5430 + "Value": "FL", 5431 + "Order": 11 5432 + }, 5433 + { 5434 + "Id": 1642, 5435 + "QuestionId": 11, 5436 + "Text": "Georgia", 5437 + "Value": "GA", 5438 + "Order": 12 5439 + }, 5440 + { 5441 + "Id": 1650, 5442 + "QuestionId": 11, 5443 + "Text": "Hawaii", 5444 + "Value": "HI", 5445 + "Order": 13 5446 + }, 5447 + { 5448 + "Id": 1658, 5449 + "QuestionId": 11, 5450 + "Text": "Idaho", 5451 + "Value": "ID", 5452 + "Order": 14 5453 + }, 5454 + { 5455 + "Id": 1666, 5456 + "QuestionId": 11, 5457 + "Text": "Illinois", 5458 + "Value": "IL", 5459 + "Order": 15 5460 + }, 5461 + { 5462 + "Id": 1674, 5463 + "QuestionId": 11, 5464 + "Text": "Indiana", 5465 + "Value": "IN", 5466 + "Order": 16 5467 + }, 5468 + { 5469 + "Id": 1682, 5470 + "QuestionId": 11, 5471 + "Text": "Iowa", 5472 + "Value": "IA", 5473 + "Order": 17 5474 + }, 5475 + { 5476 + "Id": 1690, 5477 + "QuestionId": 11, 5478 + "Text": "Kansas", 5479 + "Value": "KS", 5480 + "Order": 18 5481 + }, 5482 + { 5483 + "Id": 1698, 5484 + "QuestionId": 11, 5485 + "Text": "Kentucky", 5486 + "Value": "KY", 5487 + "Order": 19 5488 + }, 5489 + { 5490 + "Id": 1706, 5491 + "QuestionId": 11, 5492 + "Text": "Louisiana", 5493 + "Value": "LA", 5494 + "Order": 20 5495 + }, 5496 + { 5497 + "Id": 1714, 5498 + "QuestionId": 11, 5499 + "Text": "Maine", 5500 + "Value": "ME", 5501 + "Order": 21 5502 + }, 5503 + { 5504 + "Id": 1722, 5505 + "QuestionId": 11, 5506 + "Text": "Maryland", 5507 + "Value": "MD", 5508 + "Order": 22 5509 + }, 5510 + { 5511 + "Id": 1730, 5512 + "QuestionId": 11, 5513 + "Text": "Massachusetts", 5514 + "Value": "MA", 5515 + "Order": 23 5516 + }, 5517 + { 5518 + "Id": 1738, 5519 + "QuestionId": 11, 5520 + "Text": "Michigan", 5521 + "Value": "MI", 5522 + "Order": 24 5523 + }, 5524 + { 5525 + "Id": 1746, 5526 + "QuestionId": 11, 5527 + "Text": "Minnesota", 5528 + "Value": "MN", 5529 + "Order": 25 5530 + }, 5531 + { 5532 + "Id": 1754, 5533 + "QuestionId": 11, 5534 + "Text": "Mississippi", 5535 + "Value": "MS", 5536 + "Order": 26 5537 + }, 5538 + { 5539 + "Id": 1762, 5540 + "QuestionId": 11, 5541 + "Text": "Missouri", 5542 + "Value": "MO", 5543 + "Order": 27 5544 + }, 5545 + { 5546 + "Id": 1770, 5547 + "QuestionId": 11, 5548 + "Text": "Montana", 5549 + "Value": "MT", 5550 + "Order": 28 5551 + }, 5552 + { 5553 + "Id": 1778, 5554 + "QuestionId": 11, 5555 + "Text": "Nebraska", 5556 + "Value": "NE", 5557 + "Order": 29 5558 + }, 5559 + { 5560 + "Id": 1786, 5561 + "QuestionId": 11, 5562 + "Text": "Nevada", 5563 + "Value": "NV", 5564 + "Order": 30 5565 + }, 5566 + { 5567 + "Id": 1794, 5568 + "QuestionId": 11, 5569 + "Text": "New Hampshire", 5570 + "Value": "NH", 5571 + "Order": 31 5572 + }, 5573 + { 5574 + "Id": 1802, 5575 + "QuestionId": 11, 5576 + "Text": "New Jersey", 5577 + "Value": "NJ", 5578 + "Order": 32 5579 + }, 5580 + { 5581 + "Id": 1810, 5582 + "QuestionId": 11, 5583 + "Text": "New Mexico", 5584 + "Value": "NM", 5585 + "Order": 33 5586 + }, 5587 + { 5588 + "Id": 1818, 5589 + "QuestionId": 11, 5590 + "Text": "New York", 5591 + "Value": "NY", 5592 + "Order": 34 5593 + }, 5594 + { 5595 + "Id": 1826, 5596 + "QuestionId": 11, 5597 + "Text": "North Carolina", 5598 + "Value": "NC", 5599 + "Order": 35 5600 + }, 5601 + { 5602 + "Id": 1834, 5603 + "QuestionId": 11, 5604 + "Text": "Ohio", 5605 + "Value": "OH", 5606 + "Order": 37 5607 + }, 5608 + { 5609 + "Id": 1842, 5610 + "QuestionId": 11, 5611 + "Text": "Oklahoma", 5612 + "Value": "OK", 5613 + "Order": 38 5614 + }, 5615 + { 5616 + "Id": 1850, 5617 + "QuestionId": 11, 5618 + "Text": "Oregon", 5619 + "Value": "OR", 5620 + "Order": 39 5621 + }, 5622 + { 5623 + "Id": 1858, 5624 + "QuestionId": 11, 5625 + "Text": "Pennsylvania", 5626 + "Value": "PA", 5627 + "Order": 40 5628 + }, 5629 + { 5630 + "Id": 1866, 5631 + "QuestionId": 11, 5632 + "Text": "Rhode Island", 5633 + "Value": "RI", 5634 + "Order": 41 5635 + }, 5636 + { 5637 + "Id": 1874, 5638 + "QuestionId": 11, 5639 + "Text": "South Carolina", 5640 + "Value": "SC", 5641 + "Order": 42 5642 + }, 5643 + { 5644 + "Id": 1882, 5645 + "QuestionId": 11, 5646 + "Text": "South Dakota", 5647 + "Value": "SD", 5648 + "Order": 43 5649 + }, 5650 + { 5651 + "Id": 1890, 5652 + "QuestionId": 11, 5653 + "Text": "Tennessee", 5654 + "Value": "TN", 5655 + "Order": 44 5656 + }, 5657 + { 5658 + "Id": 1898, 5659 + "QuestionId": 11, 5660 + "Text": "Texas", 5661 + "Value": "TX", 5662 + "Order": 45 5663 + }, 5664 + { 5665 + "Id": 1906, 5666 + "QuestionId": 11, 5667 + "Text": "Utah", 5668 + "Value": "UT", 5669 + "Order": 46 5670 + }, 5671 + { 5672 + "Id": 1914, 5673 + "QuestionId": 11, 5674 + "Text": "Vermont", 5675 + "Value": "VT", 5676 + "Order": 47 5677 + }, 5678 + { 5679 + "Id": 1922, 5680 + "QuestionId": 11, 5681 + "Text": "Virginia", 5682 + "Value": "VA", 5683 + "Order": 48 5684 + }, 5685 + { 5686 + "Id": 1930, 5687 + "QuestionId": 11, 5688 + "Text": "Washington", 5689 + "Value": "WA", 5690 + "Order": 49 5691 + }, 5692 + { 5693 + "Id": 1938, 5694 + "QuestionId": 11, 5695 + "Text": "West Virginia", 5696 + "Value": "WV", 5697 + "Order": 50 5698 + }, 5699 + { 5700 + "Id": 1946, 5701 + "QuestionId": 11, 5702 + "Text": "Wisconsin", 5703 + "Value": "WI", 5704 + "Order": 51 5705 + }, 5706 + { 5707 + "Id": 1954, 5708 + "QuestionId": 11, 5709 + "Text": "Wyoming", 5710 + "Value": "WY", 5711 + "Order": 52 5712 + }, 5713 + { 5714 + "Id": 1962, 5715 + "QuestionId": 11, 5716 + "Text": "American Samoa", 5717 + "Value": "AS", 5718 + "Order": 53 5719 + }, 5720 + { 5721 + "Id": 1970, 5722 + "QuestionId": 11, 5723 + "Text": "North Dakota", 5724 + "Value": "ND", 5725 + "Order": 36 5726 + }, 5727 + { 5728 + "Id": 1978, 5729 + "QuestionId": 11, 5730 + "Text": "Federated States of Micronesia", 5731 + "Value": "FM", 5732 + "Order": 54 5733 + }, 5734 + { 5735 + "Id": 1986, 5736 + "QuestionId": 11, 5737 + "Text": "Guam", 5738 + "Value": "GU", 5739 + "Order": 55 5740 + }, 5741 + { 5742 + "Id": 1994, 5743 + "QuestionId": 11, 5744 + "Text": "Marshall Islands", 5745 + "Value": "MH", 5746 + "Order": 56 5747 + }, 5748 + { 5749 + "Id": 2002, 5750 + "QuestionId": 11, 5751 + "Text": "Northern Mariana Islands", 5752 + "Value": "MP", 5753 + "Order": 57 5754 + }, 5755 + { 5756 + "Id": 2010, 5757 + "QuestionId": 11, 5758 + "Text": "Palau", 5759 + "Value": "PW", 5760 + "Order": 58 5761 + }, 5762 + { 5763 + "Id": 2018, 5764 + "QuestionId": 11, 5765 + "Text": "Puerto Rico", 5766 + "Value": "PR", 5767 + "Order": 59 5768 + }, 5769 + { 5770 + "Id": 2026, 5771 + "QuestionId": 11, 5772 + "Text": "U.S. Virgin Islands", 5773 + "Value": "VI", 5774 + "Order": 60 5775 + }, 5776 + { 5777 + "Id": 2034, 5778 + "QuestionId": 11, 5779 + "Text": "Armed Forces Africa", 5780 + "Value": "AE", 5781 + "Order": 61 5782 + }, 5783 + { 5784 + "Id": 2042, 5785 + "QuestionId": 11, 5786 + "Text": "Armed Forces Americas (except Canada)", 5787 + "Value": "AA", 5788 + "Order": 62 5789 + }, 5790 + { 5791 + "Id": 2050, 5792 + "QuestionId": 11, 5793 + "Text": "Armed Forces Canada", 5794 + "Value": "AE", 5795 + "Order": 63 5796 + }, 5797 + { 5798 + "Id": 2058, 5799 + "QuestionId": 11, 5800 + "Text": "Armed Forces Europe", 5801 + "Value": "AE", 5802 + "Order": 64 5803 + }, 5804 + { 5805 + "Id": 2066, 5806 + "QuestionId": 11, 5807 + "Text": "Armed Forces Middle East", 5808 + "Value": "AE", 5809 + "Order": 65 5810 + }, 5811 + { 5812 + "Id": 2074, 5813 + "QuestionId": 11, 5814 + "Text": "Armed Forces Pacific", 5815 + "Value": "AP", 5816 + "Order": 66 5817 + }, 5818 + { 5819 + "Id": 2082, 5820 + "QuestionId": 11, 5821 + "Text": "Non-US/Not Applicable", 5822 + "Value": "Non-US/Not Applicable", 5823 + "Order": 67 5824 + }, 5825 + { 5826 + "Id": 2090, 5827 + "QuestionId": 11, 5828 + "Text": "Ontario", 5829 + "Value": "Ontario", 5830 + "Order": 68 5831 + }, 5832 + { 5833 + "Id": 2098, 5834 + "QuestionId": 11, 5835 + "Text": "Quebec", 5836 + "Value": "Quebec", 5837 + "Order": 69 5838 + }, 5839 + { 5840 + "Id": 2106, 5841 + "QuestionId": 11, 5842 + "Text": "Nova Scotia", 5843 + "Value": "Nova Scotia", 5844 + "Order": 70 5845 + }, 5846 + { 5847 + "Id": 2114, 5848 + "QuestionId": 11, 5849 + "Text": "New Brunswick", 5850 + "Value": "New Brunswick", 5851 + "Order": 71 5852 + }, 5853 + { 5854 + "Id": 2122, 5855 + "QuestionId": 11, 5856 + "Text": "Manitoba", 5857 + "Value": "Manitoba", 5858 + "Order": 72 5859 + }, 5860 + { 5861 + "Id": 2130, 5862 + "QuestionId": 11, 5863 + "Text": "Brittish Columbia", 5864 + "Value": "Brittish Columbia", 5865 + "Order": 73 5866 + }, 5867 + { 5868 + "Id": 2138, 5869 + "QuestionId": 11, 5870 + "Text": "Prince Edward Island", 5871 + "Value": "Prince Edward Island", 5872 + "Order": 74 5873 + }, 5874 + { 5875 + "Id": 2146, 5876 + "QuestionId": 11, 5877 + "Text": "Saskatchewan", 5878 + "Value": "Saskatchewan", 5879 + "Order": 75 5880 + }, 5881 + { 5882 + "Id": 2154, 5883 + "QuestionId": 11, 5884 + "Text": "Alberta", 5885 + "Value": "Alberta", 5886 + "Order": 76 5887 + }, 5888 + { 5889 + "Id": 2162, 5890 + "QuestionId": 11, 5891 + "Text": "Newfoundland and Labrador", 5892 + "Value": "Newfoundland and Labrador", 5893 + "Order": 77 5894 + }, 5895 + { 5896 + "Id": 2170, 5897 + "QuestionId": 11, 5898 + "Text": "British Columbia", 5899 + "Value": "British Columbia", 5900 + "Order": 78 5901 + }, 5902 + { 5903 + "Id": 2178, 5904 + "QuestionId": 11, 5905 + "Text": "Ontario", 5906 + "Value": "ON", 5907 + "Order": 79 5908 + } 5909 + ] 5910 + }, 5911 + { 5912 + "Id": 13, 5913 + "Text": "Country", 5914 + "Type": "4", 5915 + "Alias": "Country", 5916 + "Choices": [ 5917 + { 5918 + "Id": 2, 5919 + "QuestionId": 13, 5920 + "Text": "Select One", 5921 + "Value": "", 5922 + "Order": 1 5923 + }, 5924 + { 5925 + "Id": 10, 5926 + "QuestionId": 13, 5927 + "Text": "Afghanistan", 5928 + "Value": "Afghanistan", 5929 + "Order": 3 5930 + }, 5931 + { 5932 + "Id": 18, 5933 + "QuestionId": 13, 5934 + "Text": "Albania", 5935 + "Value": "Albania", 5936 + "Order": 4 5937 + }, 5938 + { 5939 + "Id": 26, 5940 + "QuestionId": 13, 5941 + "Text": "Algeria", 5942 + "Value": "Algeria", 5943 + "Order": 5 5944 + }, 5945 + { 5946 + "Id": 34, 5947 + "QuestionId": 13, 5948 + "Text": "Andorra", 5949 + "Value": "Andorra", 5950 + "Order": 6 5951 + }, 5952 + { 5953 + "Id": 42, 5954 + "QuestionId": 13, 5955 + "Text": "Angola", 5956 + "Value": "Angola", 5957 + "Order": 7 5958 + }, 5959 + { 5960 + "Id": 50, 5961 + "QuestionId": 13, 5962 + "Text": "Antigua and Barbuda", 5963 + "Value": "Antigua and Barbuda", 5964 + "Order": 8 5965 + }, 5966 + { 5967 + "Id": 58, 5968 + "QuestionId": 13, 5969 + "Text": "Argentina", 5970 + "Value": "Argentina", 5971 + "Order": 9 5972 + }, 5973 + { 5974 + "Id": 66, 5975 + "QuestionId": 13, 5976 + "Text": "Armenia", 5977 + "Value": "Armenia", 5978 + "Order": 10 5979 + }, 5980 + { 5981 + "Id": 74, 5982 + "QuestionId": 13, 5983 + "Text": "Australia", 5984 + "Value": "Australia", 5985 + "Order": 11 5986 + }, 5987 + { 5988 + "Id": 82, 5989 + "QuestionId": 13, 5990 + "Text": "Austria", 5991 + "Value": "Austria", 5992 + "Order": 12 5993 + }, 5994 + { 5995 + "Id": 90, 5996 + "QuestionId": 13, 5997 + "Text": "Azerbaijan", 5998 + "Value": "Azerbaijan", 5999 + "Order": 13 6000 + }, 6001 + { 6002 + "Id": 98, 6003 + "QuestionId": 13, 6004 + "Text": "Bahamas", 6005 + "Value": "Bahamas", 6006 + "Order": 14 6007 + }, 6008 + { 6009 + "Id": 106, 6010 + "QuestionId": 13, 6011 + "Text": "Bahrain", 6012 + "Value": "Bahrain", 6013 + "Order": 15 6014 + }, 6015 + { 6016 + "Id": 114, 6017 + "QuestionId": 13, 6018 + "Text": "Bangladesh", 6019 + "Value": "Bangladesh", 6020 + "Order": 16 6021 + }, 6022 + { 6023 + "Id": 122, 6024 + "QuestionId": 13, 6025 + "Text": "Barbados", 6026 + "Value": "Barbados", 6027 + "Order": 17 6028 + }, 6029 + { 6030 + "Id": 130, 6031 + "QuestionId": 13, 6032 + "Text": "Belarus", 6033 + "Value": "Belarus", 6034 + "Order": 18 6035 + }, 6036 + { 6037 + "Id": 138, 6038 + "QuestionId": 13, 6039 + "Text": "Belgium", 6040 + "Value": "Belgium", 6041 + "Order": 19 6042 + }, 6043 + { 6044 + "Id": 146, 6045 + "QuestionId": 13, 6046 + "Text": "Belize", 6047 + "Value": "Belize", 6048 + "Order": 20 6049 + }, 6050 + { 6051 + "Id": 154, 6052 + "QuestionId": 13, 6053 + "Text": "Benin", 6054 + "Value": "Benin", 6055 + "Order": 21 6056 + }, 6057 + { 6058 + "Id": 162, 6059 + "QuestionId": 13, 6060 + "Text": "Bhutan", 6061 + "Value": "Bhutan", 6062 + "Order": 22 6063 + }, 6064 + { 6065 + "Id": 170, 6066 + "QuestionId": 13, 6067 + "Text": "Bolivia", 6068 + "Value": "Bolivia", 6069 + "Order": 23 6070 + }, 6071 + { 6072 + "Id": 178, 6073 + "QuestionId": 13, 6074 + "Text": "Bosnia and Herzegovina", 6075 + "Value": "Bosnia and Herzegovina", 6076 + "Order": 24 6077 + }, 6078 + { 6079 + "Id": 186, 6080 + "QuestionId": 13, 6081 + "Text": "Botswana", 6082 + "Value": "Botswana", 6083 + "Order": 25 6084 + }, 6085 + { 6086 + "Id": 194, 6087 + "QuestionId": 13, 6088 + "Text": "Brazil", 6089 + "Value": "Brazil", 6090 + "Order": 26 6091 + }, 6092 + { 6093 + "Id": 202, 6094 + "QuestionId": 13, 6095 + "Text": "Brunei", 6096 + "Value": "Brunei", 6097 + "Order": 27 6098 + }, 6099 + { 6100 + "Id": 210, 6101 + "QuestionId": 13, 6102 + "Text": "Bulgaria", 6103 + "Value": "Bulgaria", 6104 + "Order": 28 6105 + }, 6106 + { 6107 + "Id": 218, 6108 + "QuestionId": 13, 6109 + "Text": "Burkina Faso", 6110 + "Value": "Burkina Faso", 6111 + "Order": 29 6112 + }, 6113 + { 6114 + "Id": 226, 6115 + "QuestionId": 13, 6116 + "Text": "Burundi", 6117 + "Value": "Burundi", 6118 + "Order": 30 6119 + }, 6120 + { 6121 + "Id": 234, 6122 + "QuestionId": 13, 6123 + "Text": "Cambodia", 6124 + "Value": "Cambodia", 6125 + "Order": 31 6126 + }, 6127 + { 6128 + "Id": 242, 6129 + "QuestionId": 13, 6130 + "Text": "Cameroon", 6131 + "Value": "Cameroon", 6132 + "Order": 32 6133 + }, 6134 + { 6135 + "Id": 250, 6136 + "QuestionId": 13, 6137 + "Text": "Canada", 6138 + "Value": "Canada", 6139 + "Order": 33 6140 + }, 6141 + { 6142 + "Id": 258, 6143 + "QuestionId": 13, 6144 + "Text": "Cape Verde", 6145 + "Value": "Cape Verde", 6146 + "Order": 34 6147 + }, 6148 + { 6149 + "Id": 266, 6150 + "QuestionId": 13, 6151 + "Text": "Central African Republic", 6152 + "Value": "Central African Republic", 6153 + "Order": 35 6154 + }, 6155 + { 6156 + "Id": 274, 6157 + "QuestionId": 13, 6158 + "Text": "Chad", 6159 + "Value": "Chad", 6160 + "Order": 36 6161 + }, 6162 + { 6163 + "Id": 282, 6164 + "QuestionId": 13, 6165 + "Text": "Chile", 6166 + "Value": "Chile", 6167 + "Order": 37 6168 + }, 6169 + { 6170 + "Id": 290, 6171 + "QuestionId": 13, 6172 + "Text": "China", 6173 + "Value": "China", 6174 + "Order": 38 6175 + }, 6176 + { 6177 + "Id": 298, 6178 + "QuestionId": 13, 6179 + "Text": "Colombia", 6180 + "Value": "Colombia", 6181 + "Order": 39 6182 + }, 6183 + { 6184 + "Id": 306, 6185 + "QuestionId": 13, 6186 + "Text": "Comoros", 6187 + "Value": "Comoros", 6188 + "Order": 40 6189 + }, 6190 + { 6191 + "Id": 314, 6192 + "QuestionId": 13, 6193 + "Text": "Congo (Brazzaville)", 6194 + "Value": "Congo (Brazzaville)", 6195 + "Order": 41 6196 + }, 6197 + { 6198 + "Id": 322, 6199 + "QuestionId": 13, 6200 + "Text": "Congo", 6201 + "Value": "Congo", 6202 + "Order": 42 6203 + }, 6204 + { 6205 + "Id": 330, 6206 + "QuestionId": 13, 6207 + "Text": "Costa Rica", 6208 + "Value": "Costa Rica", 6209 + "Order": 43 6210 + }, 6211 + { 6212 + "Id": 338, 6213 + "QuestionId": 13, 6214 + "Text": "Cote d'Ivoire", 6215 + "Value": "Cote d'Ivoire", 6216 + "Order": 44 6217 + }, 6218 + { 6219 + "Id": 346, 6220 + "QuestionId": 13, 6221 + "Text": "Croatia", 6222 + "Value": "Croatia", 6223 + "Order": 45 6224 + }, 6225 + { 6226 + "Id": 354, 6227 + "QuestionId": 13, 6228 + "Text": "Cuba", 6229 + "Value": "Cuba", 6230 + "Order": 46 6231 + }, 6232 + { 6233 + "Id": 362, 6234 + "QuestionId": 13, 6235 + "Text": "Cyprus", 6236 + "Value": "Cyprus", 6237 + "Order": 47 6238 + }, 6239 + { 6240 + "Id": 370, 6241 + "QuestionId": 13, 6242 + "Text": "Czech Republic", 6243 + "Value": "Czech Republic", 6244 + "Order": 48 6245 + }, 6246 + { 6247 + "Id": 378, 6248 + "QuestionId": 13, 6249 + "Text": "Denmark", 6250 + "Value": "Denmark", 6251 + "Order": 49 6252 + }, 6253 + { 6254 + "Id": 386, 6255 + "QuestionId": 13, 6256 + "Text": "Djibouti", 6257 + "Value": "Djibouti", 6258 + "Order": 50 6259 + }, 6260 + { 6261 + "Id": 394, 6262 + "QuestionId": 13, 6263 + "Text": "Dominica", 6264 + "Value": "Dominica", 6265 + "Order": 51 6266 + }, 6267 + { 6268 + "Id": 402, 6269 + "QuestionId": 13, 6270 + "Text": "Dominican Republic", 6271 + "Value": "Dominican Republic", 6272 + "Order": 52 6273 + }, 6274 + { 6275 + "Id": 410, 6276 + "QuestionId": 13, 6277 + "Text": "East Timor", 6278 + "Value": "East Timor", 6279 + "Order": 53 6280 + }, 6281 + { 6282 + "Id": 418, 6283 + "QuestionId": 13, 6284 + "Text": "Ecuador", 6285 + "Value": "Ecuador", 6286 + "Order": 54 6287 + }, 6288 + { 6289 + "Id": 426, 6290 + "QuestionId": 13, 6291 + "Text": "Egypt", 6292 + "Value": "Egypt", 6293 + "Order": 55 6294 + }, 6295 + { 6296 + "Id": 434, 6297 + "QuestionId": 13, 6298 + "Text": "El Salvador", 6299 + "Value": "El Salvador", 6300 + "Order": 56 6301 + }, 6302 + { 6303 + "Id": 442, 6304 + "QuestionId": 13, 6305 + "Text": "Equatorial Guinea", 6306 + "Value": "Equatorial Guinea", 6307 + "Order": 57 6308 + }, 6309 + { 6310 + "Id": 450, 6311 + "QuestionId": 13, 6312 + "Text": "Eritrea", 6313 + "Value": "Eritrea", 6314 + "Order": 58 6315 + }, 6316 + { 6317 + "Id": 458, 6318 + "QuestionId": 13, 6319 + "Text": "Estonia", 6320 + "Value": "Estonia", 6321 + "Order": 59 6322 + }, 6323 + { 6324 + "Id": 466, 6325 + "QuestionId": 13, 6326 + "Text": "Ethiopia", 6327 + "Value": "Ethiopia", 6328 + "Order": 60 6329 + }, 6330 + { 6331 + "Id": 474, 6332 + "QuestionId": 13, 6333 + "Text": "Fiji", 6334 + "Value": "Fiji", 6335 + "Order": 61 6336 + }, 6337 + { 6338 + "Id": 482, 6339 + "QuestionId": 13, 6340 + "Text": "Finland", 6341 + "Value": "Finland", 6342 + "Order": 62 6343 + }, 6344 + { 6345 + "Id": 490, 6346 + "QuestionId": 13, 6347 + "Text": "France", 6348 + "Value": "France", 6349 + "Order": 63 6350 + }, 6351 + { 6352 + "Id": 498, 6353 + "QuestionId": 13, 6354 + "Text": "Gabon", 6355 + "Value": "Gabon", 6356 + "Order": 64 6357 + }, 6358 + { 6359 + "Id": 506, 6360 + "QuestionId": 13, 6361 + "Text": "Gambia, The", 6362 + "Value": "Gambia, The", 6363 + "Order": 65 6364 + }, 6365 + { 6366 + "Id": 514, 6367 + "QuestionId": 13, 6368 + "Text": "Georgia", 6369 + "Value": "Georgia", 6370 + "Order": 66 6371 + }, 6372 + { 6373 + "Id": 522, 6374 + "QuestionId": 13, 6375 + "Text": "Germany", 6376 + "Value": "Germany", 6377 + "Order": 67 6378 + }, 6379 + { 6380 + "Id": 530, 6381 + "QuestionId": 13, 6382 + "Text": "Ghana", 6383 + "Value": "Ghana", 6384 + "Order": 68 6385 + }, 6386 + { 6387 + "Id": 538, 6388 + "QuestionId": 13, 6389 + "Text": "Greece", 6390 + "Value": "Greece", 6391 + "Order": 69 6392 + }, 6393 + { 6394 + "Id": 546, 6395 + "QuestionId": 13, 6396 + "Text": "Grenada", 6397 + "Value": "Grenada", 6398 + "Order": 70 6399 + }, 6400 + { 6401 + "Id": 554, 6402 + "QuestionId": 13, 6403 + "Text": "Guatemala", 6404 + "Value": "Guatemala", 6405 + "Order": 71 6406 + }, 6407 + { 6408 + "Id": 562, 6409 + "QuestionId": 13, 6410 + "Text": "Guinea", 6411 + "Value": "Guinea", 6412 + "Order": 72 6413 + }, 6414 + { 6415 + "Id": 570, 6416 + "QuestionId": 13, 6417 + "Text": "Guinea-Bissau", 6418 + "Value": "Guinea-Bissau", 6419 + "Order": 73 6420 + }, 6421 + { 6422 + "Id": 578, 6423 + "QuestionId": 13, 6424 + "Text": "Guyana", 6425 + "Value": "Guyana", 6426 + "Order": 74 6427 + }, 6428 + { 6429 + "Id": 586, 6430 + "QuestionId": 13, 6431 + "Text": "Haiti", 6432 + "Value": "Haiti", 6433 + "Order": 75 6434 + }, 6435 + { 6436 + "Id": 594, 6437 + "QuestionId": 13, 6438 + "Text": "Honduras", 6439 + "Value": "Honduras", 6440 + "Order": 76 6441 + }, 6442 + { 6443 + "Id": 602, 6444 + "QuestionId": 13, 6445 + "Text": "Hungary", 6446 + "Value": "Hungary", 6447 + "Order": 77 6448 + }, 6449 + { 6450 + "Id": 610, 6451 + "QuestionId": 13, 6452 + "Text": "Iceland", 6453 + "Value": "Iceland", 6454 + "Order": 78 6455 + }, 6456 + { 6457 + "Id": 618, 6458 + "QuestionId": 13, 6459 + "Text": "India", 6460 + "Value": "India", 6461 + "Order": 79 6462 + }, 6463 + { 6464 + "Id": 626, 6465 + "QuestionId": 13, 6466 + "Text": "Indonesia", 6467 + "Value": "Indonesia", 6468 + "Order": 80 6469 + }, 6470 + { 6471 + "Id": 634, 6472 + "QuestionId": 13, 6473 + "Text": "Iran", 6474 + "Value": "Iran", 6475 + "Order": 81 6476 + }, 6477 + { 6478 + "Id": 642, 6479 + "QuestionId": 13, 6480 + "Text": "Iraq", 6481 + "Value": "Iraq", 6482 + "Order": 82 6483 + }, 6484 + { 6485 + "Id": 650, 6486 + "QuestionId": 13, 6487 + "Text": "Ireland", 6488 + "Value": "Ireland", 6489 + "Order": 83 6490 + }, 6491 + { 6492 + "Id": 658, 6493 + "QuestionId": 13, 6494 + "Text": "Israel", 6495 + "Value": "Israel", 6496 + "Order": 84 6497 + }, 6498 + { 6499 + "Id": 666, 6500 + "QuestionId": 13, 6501 + "Text": "Italy", 6502 + "Value": "Italy", 6503 + "Order": 85 6504 + }, 6505 + { 6506 + "Id": 674, 6507 + "QuestionId": 13, 6508 + "Text": "Jamaica", 6509 + "Value": "Jamaica", 6510 + "Order": 86 6511 + }, 6512 + { 6513 + "Id": 682, 6514 + "QuestionId": 13, 6515 + "Text": "Japan", 6516 + "Value": "Japan", 6517 + "Order": 87 6518 + }, 6519 + { 6520 + "Id": 690, 6521 + "QuestionId": 13, 6522 + "Text": "Jordan", 6523 + "Value": "Jordan", 6524 + "Order": 88 6525 + }, 6526 + { 6527 + "Id": 698, 6528 + "QuestionId": 13, 6529 + "Text": "Kazakhstan", 6530 + "Value": "Kazakhstan", 6531 + "Order": 89 6532 + }, 6533 + { 6534 + "Id": 706, 6535 + "QuestionId": 13, 6536 + "Text": "Kenya", 6537 + "Value": "Kenya", 6538 + "Order": 90 6539 + }, 6540 + { 6541 + "Id": 714, 6542 + "QuestionId": 13, 6543 + "Text": "Kiribati", 6544 + "Value": "Kiribati", 6545 + "Order": 91 6546 + }, 6547 + { 6548 + "Id": 722, 6549 + "QuestionId": 13, 6550 + "Text": "Korea, North", 6551 + "Value": "Korea, North", 6552 + "Order": 92 6553 + }, 6554 + { 6555 + "Id": 730, 6556 + "QuestionId": 13, 6557 + "Text": "Korea, South", 6558 + "Value": "Korea, South", 6559 + "Order": 93 6560 + }, 6561 + { 6562 + "Id": 738, 6563 + "QuestionId": 13, 6564 + "Text": "Kuwait", 6565 + "Value": "Kuwait", 6566 + "Order": 94 6567 + }, 6568 + { 6569 + "Id": 746, 6570 + "QuestionId": 13, 6571 + "Text": "Kyrgyzstan", 6572 + "Value": "Kyrgyzstan", 6573 + "Order": 95 6574 + }, 6575 + { 6576 + "Id": 754, 6577 + "QuestionId": 13, 6578 + "Text": "Laos", 6579 + "Value": "Laos", 6580 + "Order": 96 6581 + }, 6582 + { 6583 + "Id": 762, 6584 + "QuestionId": 13, 6585 + "Text": "Latvia", 6586 + "Value": "Latvia", 6587 + "Order": 97 6588 + }, 6589 + { 6590 + "Id": 770, 6591 + "QuestionId": 13, 6592 + "Text": "Lebanon", 6593 + "Value": "Lebanon", 6594 + "Order": 98 6595 + }, 6596 + { 6597 + "Id": 778, 6598 + "QuestionId": 13, 6599 + "Text": "Lesotho", 6600 + "Value": "Lesotho", 6601 + "Order": 99 6602 + }, 6603 + { 6604 + "Id": 786, 6605 + "QuestionId": 13, 6606 + "Text": "Liberia", 6607 + "Value": "Liberia", 6608 + "Order": 100 6609 + }, 6610 + { 6611 + "Id": 794, 6612 + "QuestionId": 13, 6613 + "Text": "Libya", 6614 + "Value": "Libya", 6615 + "Order": 101 6616 + }, 6617 + { 6618 + "Id": 802, 6619 + "QuestionId": 13, 6620 + "Text": "Liechtenstein", 6621 + "Value": "Liechtenstein", 6622 + "Order": 102 6623 + }, 6624 + { 6625 + "Id": 810, 6626 + "QuestionId": 13, 6627 + "Text": "Lithuania", 6628 + "Value": "Lithuania", 6629 + "Order": 103 6630 + }, 6631 + { 6632 + "Id": 818, 6633 + "QuestionId": 13, 6634 + "Text": "Luxembourg", 6635 + "Value": "Luxembourg", 6636 + "Order": 104 6637 + }, 6638 + { 6639 + "Id": 826, 6640 + "QuestionId": 13, 6641 + "Text": "Macedonia", 6642 + "Value": "Macedonia", 6643 + "Order": 105 6644 + }, 6645 + { 6646 + "Id": 834, 6647 + "QuestionId": 13, 6648 + "Text": "Madagascar", 6649 + "Value": "Madagascar", 6650 + "Order": 106 6651 + }, 6652 + { 6653 + "Id": 842, 6654 + "QuestionId": 13, 6655 + "Text": "Malawi", 6656 + "Value": "Malawi", 6657 + "Order": 107 6658 + }, 6659 + { 6660 + "Id": 850, 6661 + "QuestionId": 13, 6662 + "Text": "Malaysia", 6663 + "Value": "Malaysia", 6664 + "Order": 108 6665 + }, 6666 + { 6667 + "Id": 858, 6668 + "QuestionId": 13, 6669 + "Text": "Maldives", 6670 + "Value": "Maldives", 6671 + "Order": 109 6672 + }, 6673 + { 6674 + "Id": 866, 6675 + "QuestionId": 13, 6676 + "Text": "Mali", 6677 + "Value": "Mali", 6678 + "Order": 110 6679 + }, 6680 + { 6681 + "Id": 874, 6682 + "QuestionId": 13, 6683 + "Text": "Malta", 6684 + "Value": "Malta", 6685 + "Order": 111 6686 + }, 6687 + { 6688 + "Id": 882, 6689 + "QuestionId": 13, 6690 + "Text": "Marshall Islands", 6691 + "Value": "Marshall Islands", 6692 + "Order": 112 6693 + }, 6694 + { 6695 + "Id": 890, 6696 + "QuestionId": 13, 6697 + "Text": "Mauritania", 6698 + "Value": "Mauritania", 6699 + "Order": 113 6700 + }, 6701 + { 6702 + "Id": 898, 6703 + "QuestionId": 13, 6704 + "Text": "Mauritius", 6705 + "Value": "Mauritius", 6706 + "Order": 114 6707 + }, 6708 + { 6709 + "Id": 906, 6710 + "QuestionId": 13, 6711 + "Text": "Mexico", 6712 + "Value": "Mexico", 6713 + "Order": 115 6714 + }, 6715 + { 6716 + "Id": 914, 6717 + "QuestionId": 13, 6718 + "Text": "Micronesia", 6719 + "Value": "Micronesia", 6720 + "Order": 116 6721 + }, 6722 + { 6723 + "Id": 922, 6724 + "QuestionId": 13, 6725 + "Text": "Moldova", 6726 + "Value": "Moldova", 6727 + "Order": 117 6728 + }, 6729 + { 6730 + "Id": 930, 6731 + "QuestionId": 13, 6732 + "Text": "Monaco", 6733 + "Value": "Monaco", 6734 + "Order": 118 6735 + }, 6736 + { 6737 + "Id": 938, 6738 + "QuestionId": 13, 6739 + "Text": "Mongolia", 6740 + "Value": "Mongolia", 6741 + "Order": 119 6742 + }, 6743 + { 6744 + "Id": 946, 6745 + "QuestionId": 13, 6746 + "Text": "Morocco", 6747 + "Value": "Morocco", 6748 + "Order": 120 6749 + }, 6750 + { 6751 + "Id": 954, 6752 + "QuestionId": 13, 6753 + "Text": "Mozambique", 6754 + "Value": "Mozambique", 6755 + "Order": 121 6756 + }, 6757 + { 6758 + "Id": 962, 6759 + "QuestionId": 13, 6760 + "Text": "Myanmar", 6761 + "Value": "Myanmar", 6762 + "Order": 122 6763 + }, 6764 + { 6765 + "Id": 970, 6766 + "QuestionId": 13, 6767 + "Text": "Namibia", 6768 + "Value": "Namibia", 6769 + "Order": 123 6770 + }, 6771 + { 6772 + "Id": 978, 6773 + "QuestionId": 13, 6774 + "Text": "Nauru", 6775 + "Value": "Nauru", 6776 + "Order": 124 6777 + }, 6778 + { 6779 + "Id": 986, 6780 + "QuestionId": 13, 6781 + "Text": "Nepa", 6782 + "Value": "Nepa", 6783 + "Order": 125 6784 + }, 6785 + { 6786 + "Id": 994, 6787 + "QuestionId": 13, 6788 + "Text": "Netherlands", 6789 + "Value": "Netherlands", 6790 + "Order": 126 6791 + }, 6792 + { 6793 + "Id": 1002, 6794 + "QuestionId": 13, 6795 + "Text": "New Zealand", 6796 + "Value": "New Zealand", 6797 + "Order": 127 6798 + }, 6799 + { 6800 + "Id": 1010, 6801 + "QuestionId": 13, 6802 + "Text": "Nicaragua", 6803 + "Value": "Nicaragua", 6804 + "Order": 128 6805 + }, 6806 + { 6807 + "Id": 1018, 6808 + "QuestionId": 13, 6809 + "Text": "Niger", 6810 + "Value": "Niger", 6811 + "Order": 129 6812 + }, 6813 + { 6814 + "Id": 1026, 6815 + "QuestionId": 13, 6816 + "Text": "Nigeria", 6817 + "Value": "Nigeria", 6818 + "Order": 130 6819 + }, 6820 + { 6821 + "Id": 1034, 6822 + "QuestionId": 13, 6823 + "Text": "Norway", 6824 + "Value": "Norway", 6825 + "Order": 131 6826 + }, 6827 + { 6828 + "Id": 1042, 6829 + "QuestionId": 13, 6830 + "Text": "Oman", 6831 + "Value": "Oman", 6832 + "Order": 132 6833 + }, 6834 + { 6835 + "Id": 1050, 6836 + "QuestionId": 13, 6837 + "Text": "Pakistan", 6838 + "Value": "Pakistan", 6839 + "Order": 133 6840 + }, 6841 + { 6842 + "Id": 1058, 6843 + "QuestionId": 13, 6844 + "Text": "Palau", 6845 + "Value": "Palau", 6846 + "Order": 134 6847 + }, 6848 + { 6849 + "Id": 1066, 6850 + "QuestionId": 13, 6851 + "Text": "Panama", 6852 + "Value": "Panama", 6853 + "Order": 135 6854 + }, 6855 + { 6856 + "Id": 1074, 6857 + "QuestionId": 13, 6858 + "Text": "Papua New Guinea", 6859 + "Value": "Papua New Guinea", 6860 + "Order": 136 6861 + }, 6862 + { 6863 + "Id": 1082, 6864 + "QuestionId": 13, 6865 + "Text": "Paraguay", 6866 + "Value": "Paraguay", 6867 + "Order": 137 6868 + }, 6869 + { 6870 + "Id": 1090, 6871 + "QuestionId": 13, 6872 + "Text": "Peru", 6873 + "Value": "Peru", 6874 + "Order": 138 6875 + }, 6876 + { 6877 + "Id": 1098, 6878 + "QuestionId": 13, 6879 + "Text": "Philippines", 6880 + "Value": "Philippines", 6881 + "Order": 139 6882 + }, 6883 + { 6884 + "Id": 1106, 6885 + "QuestionId": 13, 6886 + "Text": "Poland", 6887 + "Value": "Poland", 6888 + "Order": 140 6889 + }, 6890 + { 6891 + "Id": 1114, 6892 + "QuestionId": 13, 6893 + "Text": "Portugal", 6894 + "Value": "Portugal", 6895 + "Order": 141 6896 + }, 6897 + { 6898 + "Id": 1122, 6899 + "QuestionId": 13, 6900 + "Text": "Qatar", 6901 + "Value": "Qatar", 6902 + "Order": 142 6903 + }, 6904 + { 6905 + "Id": 1130, 6906 + "QuestionId": 13, 6907 + "Text": "Romania", 6908 + "Value": "Romania", 6909 + "Order": 143 6910 + }, 6911 + { 6912 + "Id": 1138, 6913 + "QuestionId": 13, 6914 + "Text": "Russia", 6915 + "Value": "Russia", 6916 + "Order": 144 6917 + }, 6918 + { 6919 + "Id": 1146, 6920 + "QuestionId": 13, 6921 + "Text": "Rwanda", 6922 + "Value": "Rwanda", 6923 + "Order": 145 6924 + }, 6925 + { 6926 + "Id": 1154, 6927 + "QuestionId": 13, 6928 + "Text": "Saint Kitts and Nevis", 6929 + "Value": "Saint Kitts and Nevis", 6930 + "Order": 146 6931 + }, 6932 + { 6933 + "Id": 1162, 6934 + "QuestionId": 13, 6935 + "Text": "Saint Lucia", 6936 + "Value": "Saint Lucia", 6937 + "Order": 147 6938 + }, 6939 + { 6940 + "Id": 1170, 6941 + "QuestionId": 13, 6942 + "Text": "Saint Vincent", 6943 + "Value": "Saint Vincent", 6944 + "Order": 148 6945 + }, 6946 + { 6947 + "Id": 1178, 6948 + "QuestionId": 13, 6949 + "Text": "Samoa", 6950 + "Value": "Samoa", 6951 + "Order": 149 6952 + }, 6953 + { 6954 + "Id": 1186, 6955 + "QuestionId": 13, 6956 + "Text": "San Marino", 6957 + "Value": "San Marino", 6958 + "Order": 150 6959 + }, 6960 + { 6961 + "Id": 1194, 6962 + "QuestionId": 13, 6963 + "Text": "Sao Tome and Principe", 6964 + "Value": "Sao Tome and Principe", 6965 + "Order": 151 6966 + }, 6967 + { 6968 + "Id": 1202, 6969 + "QuestionId": 13, 6970 + "Text": "Saudi Arabia", 6971 + "Value": "Saudi Arabia", 6972 + "Order": 152 6973 + }, 6974 + { 6975 + "Id": 1210, 6976 + "QuestionId": 13, 6977 + "Text": "Senegal", 6978 + "Value": "Senegal", 6979 + "Order": 153 6980 + }, 6981 + { 6982 + "Id": 1218, 6983 + "QuestionId": 13, 6984 + "Text": "Serbia and Montenegro", 6985 + "Value": "Serbia and Montenegro", 6986 + "Order": 154 6987 + }, 6988 + { 6989 + "Id": 1226, 6990 + "QuestionId": 13, 6991 + "Text": "Seychelles", 6992 + "Value": "Seychelles", 6993 + "Order": 155 6994 + }, 6995 + { 6996 + "Id": 1234, 6997 + "QuestionId": 13, 6998 + "Text": "Sierra Leone", 6999 + "Value": "Sierra Leone", 7000 + "Order": 156 7001 + }, 7002 + { 7003 + "Id": 1242, 7004 + "QuestionId": 13, 7005 + "Text": "Singapore", 7006 + "Value": "Singapore", 7007 + "Order": 157 7008 + }, 7009 + { 7010 + "Id": 1250, 7011 + "QuestionId": 13, 7012 + "Text": "Slovakia", 7013 + "Value": "Slovakia", 7014 + "Order": 158 7015 + }, 7016 + { 7017 + "Id": 1258, 7018 + "QuestionId": 13, 7019 + "Text": "Slovenia", 7020 + "Value": "Slovenia", 7021 + "Order": 159 7022 + }, 7023 + { 7024 + "Id": 1266, 7025 + "QuestionId": 13, 7026 + "Text": "Solomon Islands", 7027 + "Value": "Solomon Islands", 7028 + "Order": 160 7029 + }, 7030 + { 7031 + "Id": 1274, 7032 + "QuestionId": 13, 7033 + "Text": "Somalia", 7034 + "Value": "Somalia", 7035 + "Order": 161 7036 + }, 7037 + { 7038 + "Id": 1282, 7039 + "QuestionId": 13, 7040 + "Text": "South Africa", 7041 + "Value": "South Africa", 7042 + "Order": 162 7043 + }, 7044 + { 7045 + "Id": 1290, 7046 + "QuestionId": 13, 7047 + "Text": "Spain", 7048 + "Value": "Spain", 7049 + "Order": 163 7050 + }, 7051 + { 7052 + "Id": 1298, 7053 + "QuestionId": 13, 7054 + "Text": "Sri Lanka", 7055 + "Value": "Sri Lanka", 7056 + "Order": 164 7057 + }, 7058 + { 7059 + "Id": 1306, 7060 + "QuestionId": 13, 7061 + "Text": "Sudan", 7062 + "Value": "Sudan", 7063 + "Order": 165 7064 + }, 7065 + { 7066 + "Id": 1314, 7067 + "QuestionId": 13, 7068 + "Text": "Suriname", 7069 + "Value": "Suriname", 7070 + "Order": 166 7071 + }, 7072 + { 7073 + "Id": 1322, 7074 + "QuestionId": 13, 7075 + "Text": "Swaziland", 7076 + "Value": "Swaziland", 7077 + "Order": 167 7078 + }, 7079 + { 7080 + "Id": 1330, 7081 + "QuestionId": 13, 7082 + "Text": "Sweden", 7083 + "Value": "Sweden", 7084 + "Order": 168 7085 + }, 7086 + { 7087 + "Id": 1338, 7088 + "QuestionId": 13, 7089 + "Text": "Switzerland", 7090 + "Value": "Switzerland", 7091 + "Order": 169 7092 + }, 7093 + { 7094 + "Id": 1346, 7095 + "QuestionId": 13, 7096 + "Text": "Syria", 7097 + "Value": "Syria", 7098 + "Order": 170 7099 + }, 7100 + { 7101 + "Id": 1354, 7102 + "QuestionId": 13, 7103 + "Text": "Taiwan", 7104 + "Value": "Taiwan", 7105 + "Order": 171 7106 + }, 7107 + { 7108 + "Id": 1362, 7109 + "QuestionId": 13, 7110 + "Text": "Tajikistan", 7111 + "Value": "Tajikistan", 7112 + "Order": 172 7113 + }, 7114 + { 7115 + "Id": 1370, 7116 + "QuestionId": 13, 7117 + "Text": "Tanzania", 7118 + "Value": "Tanzania", 7119 + "Order": 173 7120 + }, 7121 + { 7122 + "Id": 1378, 7123 + "QuestionId": 13, 7124 + "Text": "Thailand", 7125 + "Value": "Thailand", 7126 + "Order": 174 7127 + }, 7128 + { 7129 + "Id": 1386, 7130 + "QuestionId": 13, 7131 + "Text": "Togo", 7132 + "Value": "Togo", 7133 + "Order": 175 7134 + }, 7135 + { 7136 + "Id": 1394, 7137 + "QuestionId": 13, 7138 + "Text": "Tonga", 7139 + "Value": "Tonga", 7140 + "Order": 176 7141 + }, 7142 + { 7143 + "Id": 1402, 7144 + "QuestionId": 13, 7145 + "Text": "Trinidad and Tobago", 7146 + "Value": "Trinidad and Tobago", 7147 + "Order": 177 7148 + }, 7149 + { 7150 + "Id": 1410, 7151 + "QuestionId": 13, 7152 + "Text": "Tunisia", 7153 + "Value": "Tunisia", 7154 + "Order": 178 7155 + }, 7156 + { 7157 + "Id": 1418, 7158 + "QuestionId": 13, 7159 + "Text": "Turkey", 7160 + "Value": "Turkey", 7161 + "Order": 179 7162 + }, 7163 + { 7164 + "Id": 1426, 7165 + "QuestionId": 13, 7166 + "Text": "Turkmenistan", 7167 + "Value": "Turkmenistan", 7168 + "Order": 180 7169 + }, 7170 + { 7171 + "Id": 1434, 7172 + "QuestionId": 13, 7173 + "Text": "Tuvalu", 7174 + "Value": "Tuvalu", 7175 + "Order": 181 7176 + }, 7177 + { 7178 + "Id": 1442, 7179 + "QuestionId": 13, 7180 + "Text": "Uganda", 7181 + "Value": "Uganda", 7182 + "Order": 182 7183 + }, 7184 + { 7185 + "Id": 1450, 7186 + "QuestionId": 13, 7187 + "Text": "Ukraine", 7188 + "Value": "Ukraine", 7189 + "Order": 183 7190 + }, 7191 + { 7192 + "Id": 1458, 7193 + "QuestionId": 13, 7194 + "Text": "United Arab Emirates", 7195 + "Value": "United Arab Emirates", 7196 + "Order": 184 7197 + }, 7198 + { 7199 + "Id": 1466, 7200 + "QuestionId": 13, 7201 + "Text": "United Kingdom", 7202 + "Value": "United Kingdom", 7203 + "Order": 185 7204 + }, 7205 + { 7206 + "Id": 1474, 7207 + "QuestionId": 13, 7208 + "Text": "United States", 7209 + "Value": "United States", 7210 + "Order": 2 7211 + }, 7212 + { 7213 + "Id": 1482, 7214 + "QuestionId": 13, 7215 + "Text": "Uruguay", 7216 + "Value": "Uruguay", 7217 + "Order": 186 7218 + }, 7219 + { 7220 + "Id": 1490, 7221 + "QuestionId": 13, 7222 + "Text": "Uzbekistan", 7223 + "Value": "Uzbekistan", 7224 + "Order": 187 7225 + }, 7226 + { 7227 + "Id": 1498, 7228 + "QuestionId": 13, 7229 + "Text": "Vanuatu", 7230 + "Value": "Vanuatu", 7231 + "Order": 188 7232 + }, 7233 + { 7234 + "Id": 1506, 7235 + "QuestionId": 13, 7236 + "Text": "Vatican City", 7237 + "Value": "Vatican City", 7238 + "Order": 189 7239 + }, 7240 + { 7241 + "Id": 1514, 7242 + "QuestionId": 13, 7243 + "Text": "Venezuela", 7244 + "Value": "Venezuela", 7245 + "Order": 190 7246 + }, 7247 + { 7248 + "Id": 1522, 7249 + "QuestionId": 13, 7250 + "Text": "Vietnam", 7251 + "Value": "Vietnam", 7252 + "Order": 191 7253 + }, 7254 + { 7255 + "Id": 1530, 7256 + "QuestionId": 13, 7257 + "Text": "Yemen", 7258 + "Value": "Yemen", 7259 + "Order": 192 7260 + }, 7261 + { 7262 + "Id": 1538, 7263 + "QuestionId": 13, 7264 + "Text": "Zambia", 7265 + "Value": "Zambia", 7266 + "Order": 193 7267 + }, 7268 + { 7269 + "Id": 1546, 7270 + "QuestionId": 13, 7271 + "Text": "Zimbabwe", 7272 + "Value": "Zimbabwe", 7273 + "Order": 194 7274 + }, 7275 + { 7276 + "Id": 2186, 7277 + "QuestionId": 13, 7278 + "Text": "British Columbia", 7279 + "Value": "British Columbia", 7280 + "Order": 195 7281 + } 7282 + ] 7283 + }, 7284 + { 7285 + "Id": 178, 7286 + "Text": "Job Function", 7287 + "Type": "4", 7288 + "Alias": "Job Function", 7289 + "Choices": [ 7290 + { 7291 + "Id": 2266, 7292 + "QuestionId": 178, 7293 + "Text": "Select One", 7294 + "Value": "", 7295 + "Order": 1 7296 + }, 7297 + { 7298 + "Id": 2274, 7299 + "QuestionId": 178, 7300 + "Text": "Sales", 7301 + "Value": "Sales", 7302 + "Order": 2 7303 + }, 7304 + { 7305 + "Id": 2282, 7306 + "QuestionId": 178, 7307 + "Text": "Marketing", 7308 + "Value": "Marketing", 7309 + "Order": 3 7310 + }, 7311 + { 7312 + "Id": 2290, 7313 + "QuestionId": 178, 7314 + "Text": "New Media", 7315 + "Value": "New Media", 7316 + "Order": 4 7317 + }, 7318 + { 7319 + "Id": 2298, 7320 + "QuestionId": 178, 7321 + "Text": "Audience Development", 7322 + "Value": "Audience Development", 7323 + "Order": 5 7324 + }, 7325 + { 7326 + "Id": 2306, 7327 + "QuestionId": 178, 7328 + "Text": "Editorial", 7329 + "Value": "Editorial", 7330 + "Order": 6 7331 + }, 7332 + { 7333 + "Id": 2314, 7334 + "QuestionId": 178, 7335 + "Text": "Information Technology", 7336 + "Value": "IT", 7337 + "Order": 7 7338 + }, 7339 + { 7340 + "Id": 2322, 7341 + "QuestionId": 178, 7342 + "Text": "Corporate", 7343 + "Value": "Corporate", 7344 + "Order": 8 7345 + }, 7346 + { 7347 + "Id": 2418, 7348 + "QuestionId": 178, 7349 + "Text": "Other", 7350 + "Value": "Other", 7351 + "Order": 9 7352 + } 7353 + ] 7354 + }, 7355 + { 7356 + "Id": 202, 7357 + "Text": "Type of Publication", 7358 + "Type": "4", 7359 + "Alias": "Type of Publication", 7360 + "Choices": [ 7361 + { 7362 + "Id": 2330, 7363 + "QuestionId": 202, 7364 + "Text": "Select One", 7365 + "Value": "", 7366 + "Order": 1 7367 + }, 7368 + { 7369 + "Id": 2338, 7370 + "QuestionId": 202, 7371 + "Text": "Magazine", 7372 + "Value": "Magazine", 7373 + "Order": 2 7374 + }, 7375 + { 7376 + "Id": 2346, 7377 + "QuestionId": 202, 7378 + "Text": "Newspaper", 7379 + "Value": "Newspaper", 7380 + "Order": 3 7381 + }, 7382 + { 7383 + "Id": 2354, 7384 + "QuestionId": 202, 7385 + "Text": "Digital Publisher", 7386 + "Value": "Digital Publisher", 7387 + "Order": 4 7388 + }, 7389 + { 7390 + "Id": 2362, 7391 + "QuestionId": 202, 7392 + "Text": "Book Publisher", 7393 + "Value": "Book Publisher", 7394 + "Order": 5 7395 + }, 7396 + { 7397 + "Id": 2370, 7398 + "QuestionId": 202, 7399 + "Text": "Newsletter/Email", 7400 + "Value": "Newsletter/Email", 7401 + "Order": 6 7402 + } 7403 + ] 7404 + }, 7405 + { 7406 + "Id": 226, 7407 + "Text": "What is your time frame for deployment?", 7408 + "Type": "4", 7409 + "Alias": "What is your time frame for deployment?", 7410 + "Choices": [ 7411 + { 7412 + "Id": 2378, 7413 + "QuestionId": 226, 7414 + "Text": "Select One", 7415 + "Value": "", 7416 + "Order": 1 7417 + }, 7418 + { 7419 + "Id": 2386, 7420 + "QuestionId": 226, 7421 + "Text": "0-3 months", 7422 + "Value": "0-3", 7423 + "Order": 2 7424 + }, 7425 + { 7426 + "Id": 2394, 7427 + "QuestionId": 226, 7428 + "Text": "3-6 months", 7429 + "Value": "3-6", 7430 + "Order": 3 7431 + }, 7432 + { 7433 + "Id": 2402, 7434 + "QuestionId": 226, 7435 + "Text": "6-12 months", 7436 + "Value": "6-12", 7437 + "Order": 4 7438 + }, 7439 + { 7440 + "Id": 2410, 7441 + "QuestionId": 226, 7442 + "Text": "No Formal Plans", 7443 + "Value": "No Formal Plans", 7444 + "Order": 5 7445 + } 7446 + ] 7447 + }, 7448 + { 7449 + "Id": 250, 7450 + "Text": "Industry", 7451 + "Type": "4", 7452 + "Alias": "Industry", 7453 + "Choices": [ 7454 + { 7455 + "Id": 2426, 7456 + "QuestionId": 250, 7457 + "Text": "Agency", 7458 + "Value": "Agency", 7459 + "Order": 2 7460 + }, 7461 + { 7462 + "Id": 2434, 7463 + "QuestionId": 250, 7464 + "Text": "Association", 7465 + "Value": "Association", 7466 + "Order": 3 7467 + }, 7468 + { 7469 + "Id": 2442, 7470 + "QuestionId": 250, 7471 + "Text": "Direct Marketing", 7472 + "Value": "Direct Marketing", 7473 + "Order": 4 7474 + }, 7475 + { 7476 + "Id": 2450, 7477 + "QuestionId": 250, 7478 + "Text": "Publisher", 7479 + "Value": "Publisher", 7480 + "Order": 5 7481 + }, 7482 + { 7483 + "Id": 2458, 7484 + "QuestionId": 250, 7485 + "Text": "Service Bureau", 7486 + "Value": "Service Bureau", 7487 + "Order": 6 7488 + }, 7489 + { 7490 + "Id": 2466, 7491 + "QuestionId": 250, 7492 + "Text": "Select One", 7493 + "Value": "Government", 7494 + "Order": 1 7495 + }, 7496 + { 7497 + "Id": 2737, 7498 + "QuestionId": 250, 7499 + "Text": "Other", 7500 + "Value": "Other", 7501 + "Order": 7 7502 + }, 7503 + { 7504 + "Id": 3051, 7505 + "QuestionId": 250, 7506 + "Text": "Business Services", 7507 + "Value": "Business Services", 7508 + "Order": 8 7509 + }, 7510 + { 7511 + "Id": 3059, 7512 + "QuestionId": 250, 7513 + "Text": "Business Services, Media & Internet", 7514 + "Value": "Business Services, Media & Internet", 7515 + "Order": 9 7516 + }, 7517 + { 7518 + "Id": 3067, 7519 + "QuestionId": 250, 7520 + "Text": "Business Services,Consumer Services", 7521 + "Value": "Business Services,Consumer Services", 7522 + "Order": 10 7523 + }, 7524 + { 7525 + "Id": 3075, 7526 + "QuestionId": 250, 7527 + "Text": "Business Services,Finance", 7528 + "Value": "Business Services,Finance", 7529 + "Order": 11 7530 + }, 7531 + { 7532 + "Id": 3083, 7533 + "QuestionId": 250, 7534 + "Text": "Business Services,Retail,Media & Internet", 7535 + "Value": "Business Services,Retail,Media & Internet", 7536 + "Order": 12 7537 + }, 7538 + { 7539 + "Id": 3091, 7540 + "QuestionId": 250, 7541 + "Text": "Business Services,Telecommunications", 7542 + "Value": "Business Services,Telecommunications", 7543 + "Order": 13 7544 + }, 7545 + { 7546 + "Id": 3099, 7547 + "QuestionId": 250, 7548 + "Text": "Energy, Utilities & Waste Treatment", 7549 + "Value": "Energy, Utilities & Waste Treatment", 7550 + "Order": 14 7551 + }, 7552 + { 7553 + "Id": 3107, 7554 + "QuestionId": 250, 7555 + "Text": "Finance", 7556 + "Value": "Finance", 7557 + "Order": 15 7558 + }, 7559 + { 7560 + "Id": 3115, 7561 + "QuestionId": 250, 7562 + "Text": "Hospitality", 7563 + "Value": "Hospitality", 7564 + "Order": 16 7565 + }, 7566 + { 7567 + "Id": 3123, 7568 + "QuestionId": 250, 7569 + "Text": "Hospitality,Media & Internet", 7570 + "Value": "Hospitality,Media & Internet", 7571 + "Order": 17 7572 + }, 7573 + { 7574 + "Id": 3131, 7575 + "QuestionId": 250, 7576 + "Text": "Insurance", 7577 + "Value": "Insurance", 7578 + "Order": 18 7579 + }, 7580 + { 7581 + "Id": 3139, 7582 + "QuestionId": 250, 7583 + "Text": "Insurance, Finance", 7584 + "Value": "Insurance, Finance", 7585 + "Order": 19 7586 + }, 7587 + { 7588 + "Id": 3147, 7589 + "QuestionId": 250, 7590 + "Text": "Manufacturing", 7591 + "Value": "Manufacturing", 7592 + "Order": 20 7593 + }, 7594 + { 7595 + "Id": 3155, 7596 + "QuestionId": 250, 7597 + "Text": "Manufacturing,Business Services", 7598 + "Value": "Manufacturing,Business Services", 7599 + "Order": 21 7600 + }, 7601 + { 7602 + "Id": 3163, 7603 + "QuestionId": 250, 7604 + "Text": "Manufacturing,Retail,Healthcare", 7605 + "Value": "Manufacturing,Retail,Healthcare", 7606 + "Order": 22 7607 + }, 7608 + { 7609 + "Id": 3171, 7610 + "QuestionId": 250, 7611 + "Text": "Media & Internet", 7612 + "Value": "Media & Internet", 7613 + "Order": 23 7614 + }, 7615 + { 7616 + "Id": 3179, 7617 + "QuestionId": 250, 7618 + "Text": "Media & Internet,Business Services", 7619 + "Value": "Media & Internet,Business Services", 7620 + "Order": 24 7621 + }, 7622 + { 7623 + "Id": 3187, 7624 + "QuestionId": 250, 7625 + "Text": "Organizations", 7626 + "Value": "Organizations", 7627 + "Order": 25 7628 + }, 7629 + { 7630 + "Id": 3195, 7631 + "QuestionId": 250, 7632 + "Text": "Real Estate", 7633 + "Value": "Real Estate", 7634 + "Order": 26 7635 + }, 7636 + { 7637 + "Id": 3203, 7638 + "QuestionId": 250, 7639 + "Text": "Retail", 7640 + "Value": "Retail", 7641 + "Order": 27 7642 + }, 7643 + { 7644 + "Id": 3211, 7645 + "QuestionId": 250, 7646 + "Text": "Retail,Software,Consumer Services", 7647 + "Value": "Retail,Software,Consumer Services", 7648 + "Order": 28 7649 + }, 7650 + { 7651 + "Id": 3219, 7652 + "QuestionId": 250, 7653 + "Text": "Software", 7654 + "Value": "Software", 7655 + "Order": 29 7656 + }, 7657 + { 7658 + "Id": 3227, 7659 + "QuestionId": 250, 7660 + "Text": "Retail, Manufacturing", 7661 + "Value": "Retail, Manufacturing", 7662 + "Order": 30 7663 + }, 7664 + { 7665 + "Id": 3235, 7666 + "QuestionId": 250, 7667 + "Text": "Software,Manufacturing,Retail", 7668 + "Value": "Software,Manufacturing,Retail", 7669 + "Order": 31 7670 + }, 7671 + { 7672 + "Id": 3243, 7673 + "QuestionId": 250, 7674 + "Text": "Business Services,Media & Internet", 7675 + "Value": "Business Services,Media & Internet", 7676 + "Order": 32 7677 + }, 7678 + { 7679 + "Id": 3251, 7680 + "QuestionId": 250, 7681 + "Text": "Telecommunications", 7682 + "Value": "Telecommunications", 7683 + "Order": 33 7684 + } 7685 + ] 7686 + }, 7687 + { 7688 + "Id": 274, 7689 + "Text": "How many employees work at your company?_Copy", 7690 + "Type": "4", 7691 + "Alias": "ALL", 7692 + "Choices": [ 7693 + { 7694 + "Id": 2698, 7695 + "QuestionId": 274, 7696 + "Text": "1-25", 7697 + "Value": "01", 7698 + "Order": 1 7699 + }, 7700 + { 7701 + "Id": 2706, 7702 + "QuestionId": 274, 7703 + "Text": "26-100", 7704 + "Value": "02", 7705 + "Order": 2 7706 + }, 7707 + { 7708 + "Id": 2714, 7709 + "QuestionId": 274, 7710 + "Text": "101-250", 7711 + "Value": "03", 7712 + "Order": 3 7713 + }, 7714 + { 7715 + "Id": 2722, 7716 + "QuestionId": 274, 7717 + "Text": "251-500", 7718 + "Value": "04", 7719 + "Order": 4 7720 + }, 7721 + { 7722 + "Id": 2730, 7723 + "QuestionId": 274, 7724 + "Text": "500+", 7725 + "Value": "05", 7726 + "Order": 5 7727 + } 7728 + ] 7729 + }, 7730 + { 7731 + "Id": 281, 7732 + "Text": "How many employees work at your company?_Copy", 7733 + "Type": "4", 7734 + "Alias": "How many employees work at your company?_Copy", 7735 + "Choices": [ 7736 + { 7737 + "Id": 2745, 7738 + "QuestionId": 281, 7739 + "Text": "1-25", 7740 + "Value": "01", 7741 + "Order": 1 7742 + }, 7743 + { 7744 + "Id": 2753, 7745 + "QuestionId": 281, 7746 + "Text": "26-100", 7747 + "Value": "02", 7748 + "Order": 2 7749 + }, 7750 + { 7751 + "Id": 2761, 7752 + "QuestionId": 281, 7753 + "Text": "101-250", 7754 + "Value": "03", 7755 + "Order": 3 7756 + }, 7757 + { 7758 + "Id": 2769, 7759 + "QuestionId": 281, 7760 + "Text": "251-500", 7761 + "Value": "04", 7762 + "Order": 4 7763 + }, 7764 + { 7765 + "Id": 2777, 7766 + "QuestionId": 281, 7767 + "Text": "500+", 7768 + "Value": "05", 7769 + "Order": 5 7770 + } 7771 + ] 7772 + }, 7773 + { 7774 + "Id": 291, 7775 + "Text": "DAS Question Update", 7776 + "Type": "4", 7777 + "Alias": "DAS Question Update", 7778 + "Choices": [ 7779 + { 7780 + "Id": 2859, 7781 + "QuestionId": 291, 7782 + "Text": "Choice a Update", 7783 + "Value": "a Update", 7784 + "Order": 1 7785 + }, 7786 + { 7787 + "Id": 2867, 7788 + "QuestionId": 291, 7789 + "Text": "Choice b Update", 7790 + "Value": "b Update", 7791 + "Order": 2 7792 + } 7793 + ] 7794 + }, 7795 + { 7796 + "Id": 363, 7797 + "Text": "Group Size", 7798 + "Type": "4", 7799 + "Alias": "Group Size", 7800 + "Choices": [ 7801 + { 7802 + "Id": 3027, 7803 + "QuestionId": 363, 7804 + "Text": "NA", 7805 + "Value": "NA", 7806 + "Order": 1 7807 + }, 7808 + { 7809 + "Id": 3035, 7810 + "QuestionId": 363, 7811 + "Text": "0-10", 7812 + "Value": "0-10", 7813 + "Order": 2 7814 + }, 7815 + { 7816 + "Id": 3043, 7817 + "QuestionId": 363, 7818 + "Text": "10-25", 7819 + "Value": "10-25", 7820 + "Order": 3 7821 + } 7822 + ] 7823 + }, 7824 + { 7825 + "Id": 399, 7826 + "Text": "What best describes your job title?", 7827 + "Type": "4", 7828 + "Alias": "1105-title", 7829 + "Choices": [ 7830 + { 7831 + "Id": 3255, 7832 + "QuestionId": 399, 7833 + "Text": "CIO, CTO, CKO, Technical/VP", 7834 + "Value": "CIO", 7835 + "Order": 1 7836 + }, 7837 + { 7838 + "Id": 3263, 7839 + "QuestionId": 399, 7840 + "Text": "Corporate Management", 7841 + "Value": "corporate", 7842 + "Order": 2 7843 + }, 7844 + { 7845 + "Id": 3271, 7846 + "QuestionId": 399, 7847 + "Text": "IS/IT Director/Manager", 7848 + "Value": "it", 7849 + "Order": 3 7850 + }, 7851 + { 7852 + "Id": 3279, 7853 + "QuestionId": 399, 7854 + "Text": "Director of Softare Development", 7855 + "Value": "software director", 7856 + "Order": 4 7857 + }, 7858 + { 7859 + "Id": 3287, 7860 + "QuestionId": 399, 7861 + "Text": "Application Development Manager", 7862 + "Value": "ADM", 7863 + "Order": 5 7864 + } 7865 + ] 7866 + }, 7867 + { 7868 + "Id": 407, 7869 + "Text": "What is your organization's (or largest client, if you are a consultant) primary business at this location?", 7870 + "Type": "4", 7871 + "Alias": "1105 largest client", 7872 + "Choices": [ 7873 + { 7874 + "Id": 3295, 7875 + "QuestionId": 407, 7876 + "Text": "Aerospace", 7877 + "Value": "aerospace", 7878 + "Order": 1 7879 + }, 7880 + { 7881 + "Id": 3303, 7882 + "QuestionId": 407, 7883 + "Text": "Agriculture/Mining/Gas/Oil", 7884 + "Value": "ag", 7885 + "Order": 2 7886 + }, 7887 + { 7888 + "Id": 3311, 7889 + "QuestionId": 407, 7890 + "Text": "Business Services/Consultants", 7891 + "Value": "bs", 7892 + "Order": 3 7893 + }, 7894 + { 7895 + "Id": 3319, 7896 + "QuestionId": 407, 7897 + "Text": "Construction/Architecture/Engineering", 7898 + "Value": "construction", 7899 + "Order": 4 7900 + }, 7901 + { 7902 + "Id": 3327, 7903 + "QuestionId": 407, 7904 + "Text": "Education/Training", 7905 + "Value": "education", 7906 + "Order": 5 7907 + } 7908 + ] 7909 + }, 7910 + { 7911 + "Id": 415, 7912 + "Text": "What is the total number of employees in your entire organzation?", 7913 + "Type": "4", 7914 + "Alias": "1105 num employees", 7915 + "Choices": [ 7916 + { 7917 + "Id": 3335, 7918 + "QuestionId": 415, 7919 + "Text": "10,000 or more", 7920 + "Value": "10000", 7921 + "Order": 1 7922 + }, 7923 + { 7924 + "Id": 3343, 7925 + "QuestionId": 415, 7926 + "Text": "5,000 - 9,999", 7927 + "Value": "5000", 7928 + "Order": 2 7929 + }, 7930 + { 7931 + "Id": 3351, 7932 + "QuestionId": 415, 7933 + "Text": "1,000 - 4,999", 7934 + "Value": "1000", 7935 + "Order": 3 7936 + }, 7937 + { 7938 + "Id": 3359, 7939 + "QuestionId": 415, 7940 + "Text": "500 - 999", 7941 + "Value": "500", 7942 + "Order": 4 7943 + }, 7944 + { 7945 + "Id": 3367, 7946 + "QuestionId": 415, 7947 + "Text": "100 - 499", 7948 + "Value": "100", 7949 + "Order": 5 7950 + }, 7951 + { 7952 + "Id": 3375, 7953 + "QuestionId": 415, 7954 + "Text": "Under 100", 7955 + "Value": "Under 100", 7956 + "Order": 6 7957 + } 7958 + ] 7959 + }, 7960 + { 7961 + "Id": 423, 7962 + "Text": "saaa", 7963 + "Type": "4", 7964 + "Alias": "test", 7965 + "Choices": [ 7966 + { 7967 + "Id": 3383, 7968 + "QuestionId": 423, 7969 + "Text": "1", 7970 + "Value": "1", 7971 + "Order": 1 7972 + }, 7973 + { 7974 + "Id": 3391, 7975 + "QuestionId": 423, 7976 + "Text": "3", 7977 + "Value": "3", 7978 + "Order": 2 7979 + } 7980 + ] 7981 + } 7982 + ] 2073 2073 } 7984 +{{/code}} 2074 2074 2075 -(% class="western" %) 2076 -] 2077 2077 2078 -(% class="western" %) 7987 +(% id="HPOSTCreatequestiontypenumeric2Ctext2Cpassword2Ctextareaanddate" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 7988 +== (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#ad7a03" %)POST(% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %) Create question type numeric, text, password, textarea and date(%%) == 7989 + 7990 +---- 7991 + 7992 +{{panel bgColor="#D3D3D3" width="100%"}} 7993 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/questions 7994 +{{/panel}} 7995 + 7996 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 7997 + 7998 +---- 7999 + 8000 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 8001 + 8002 +=== (% style="color:#212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) === 8003 + 8004 +---- 8005 + 8006 +{{code language="yml" theme="RDark" title="Body"}} 8007 +{"Text":"Test from API 3","Type":0,"Alias":"Test from API 3"} 8008 +{{/code}} 8009 + 8010 +==== Example ==== 8011 + 8012 +---- 8013 + 8014 +(% style="color:#6b6b6b" %)Request 8015 + 8016 +{{code language="php" theme="RDark" title="Create Question Request"}} 8017 +<?php 8018 + 8019 +$curl = curl_init(); 8020 + 8021 +curl_setopt_array($curl, array( 8022 + CURLOPT_URL => 'https://api.onecount.net/v2/questions', 8023 + CURLOPT_RETURNTRANSFER => true, 8024 + CURLOPT_ENCODING => '', 8025 + CURLOPT_MAXREDIRS => 10, 8026 + CURLOPT_TIMEOUT => 0, 8027 + CURLOPT_FOLLOWLOCATION => true, 8028 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 8029 + CURLOPT_CUSTOMREQUEST => 'POST', 8030 + CURLOPT_POSTFIELDS =>'{"Text":"Test from API 3","Type":0,"Alias":"Test from API 3"}', 8031 + CURLOPT_HTTPHEADER => array( 8032 + 'Appkey: {{ONECOUNT API KEY}}' 8033 + ), 8034 +)); 8035 + 8036 +$response = curl_exec($curl); 8037 + 8038 +curl_close($curl); 8039 +echo $response; 8040 +{{/code}} 8041 + 8042 + 8043 +(% style="color:#6b6b6b" %)Response 200 OK 8044 + 8045 +{{code language="yml" theme="RDark" collapse="true" title="Create question Response"}} 8046 +{ 8047 + "result": { 8048 + "success": "1", 8049 + "error": { 8050 + "code": "", 8051 + "message": "" 8052 + } 8053 + }, 8054 + "Questions": [ 8055 + { 8056 + "Id": 455 8057 + } 8058 + ] 2079 2079 } 8060 +{{/code}} 2080 2080 2081 -(% class="western" %) 2082 -\\ 2083 2083 2084 -(% class="western" %)2085 - **COMPONENT: Products**8063 +(% id="HPOSTCreatequestiontypeselect2Cradioandcheckbox" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 8064 +== (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#ad7a03" %)POST(% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %) Create question type select, radio and checkbox(%%) == 2086 2086 8066 +---- 8067 + 8068 +{{panel bgColor="#D3D3D3" width="100%"}} 8069 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/questions 8070 +{{/panel}} 8071 + 8072 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 8073 + 8074 +---- 8075 + 8076 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 8077 + 8078 +=== (% style="color:#212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) === 8079 + 8080 +---- 8081 + 8082 +{{code language="yml" theme="RDark" title="Body"}} 8083 +{"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"}]} 8084 +{{/code}} 8085 + 8086 +==== Example ==== 8087 + 8088 +---- 8089 + 8090 +(% style="color:#6b6b6b" %)Request 8091 + 8092 +{{code language="php" theme="RDark" title="Create Question Request"}} 8093 +<?php 8094 + 8095 +$curl = curl_init(); 8096 + 8097 +curl_setopt_array($curl, array( 8098 + CURLOPT_URL => 'https://api.onecount.net/v2/questions', 8099 + CURLOPT_RETURNTRANSFER => true, 8100 + CURLOPT_ENCODING => '', 8101 + CURLOPT_MAXREDIRS => 10, 8102 + CURLOPT_TIMEOUT => 0, 8103 + CURLOPT_FOLLOWLOCATION => true, 8104 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 8105 + CURLOPT_CUSTOMREQUEST => 'POST', 8106 + 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"}]}', 8107 + CURLOPT_HTTPHEADER => array( 8108 + 'Appkey: {{ONECOUNT API KEY}}' 8109 + ), 8110 +)); 8111 + 8112 +$response = curl_exec($curl); 8113 + 8114 +curl_close($curl); 8115 +echo $response; 8116 +{{/code}} 8117 + 8118 + 8119 +(% style="color:#6b6b6b" %)Response 200 OK 8120 + 8121 +{{code language="yml" theme="RDark" collapse="true" title="Create question Response"}} 8122 +{ 8123 + "result": { 8124 + "success": "1", 8125 + "error": { 8126 + "code": "", 8127 + "message": "" 8128 + } 8129 + }, 8130 + "Questions": [ 8131 + { 8132 + "Id": 495 8133 + } 8134 + ] 8135 +} 8136 +{{/code}} 8137 + 8138 + 8139 +(% id="HPUTUpdatequestion" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 8140 +== (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#0053b8" %)PUT (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)Update question(%%) == 8141 + 8142 +---- 8143 + 8144 +{{panel bgColor="#D3D3D3" width="100%"}} 8145 + (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/questions/~{~{QUESTION ID}} 8146 +{{/panel}} 8147 + 8148 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 8149 + 8150 +---- 8151 + 8152 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 8153 + 8154 +=== (% style="color:#212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) === 8155 + 8156 +---- 8157 + 8158 +{{code language="yml" theme="RDark" title="Body"}} 8159 +{"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"}]} 8160 +{{/code}} 8161 + 8162 +==== Example ==== 8163 + 8164 +---- 8165 + 8166 +(% style="color:#6b6b6b" %)Request 8167 + 8168 +{{code language="php" theme="RDark" title="Update Question Request"}} 8169 +<?php 8170 + 8171 +$curl = curl_init(); 8172 + 8173 +curl_setopt_array($curl, array( 8174 + CURLOPT_URL => 'https://api.onecount.net/v2/questions/{{QUESTION ID}}', 8175 + CURLOPT_RETURNTRANSFER => true, 8176 + CURLOPT_ENCODING => '', 8177 + CURLOPT_MAXREDIRS => 10, 8178 + CURLOPT_TIMEOUT => 0, 8179 + CURLOPT_FOLLOWLOCATION => true, 8180 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 8181 + CURLOPT_CUSTOMREQUEST => 'PUT', 8182 + 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"}]}', 8183 + CURLOPT_HTTPHEADER => array( 8184 + 'Appkey: {{ONECOUNT API KEY}}' 8185 + ), 8186 +)); 8187 + 8188 +$response = curl_exec($curl); 8189 + 8190 +curl_close($curl); 8191 +echo $response; 8192 + 8193 + 8194 +{{/code}} 8195 + 8196 + 8197 +(% style="color:#6b6b6b" %)Response 200 OK 8198 + 8199 +{{code language="yml" theme="RDark" collapse="true" title="Update Question Response"}} 8200 +{ 8201 + "result": { 8202 + "success": "1", 8203 + "error": { 8204 + "code": "", 8205 + "message": "" 8206 + } 8207 + }, 8208 + "Questions": [ 8209 + { 8210 + "Id": 503 8211 + } 8212 + ] 8213 +} 8214 +{{/code}} 8215 + 8216 + 8217 +(% id="HCOMPONENT:Products" class="western" %) 8218 +=== **COMPONENT: Products** === 8219 + 2087 2087 (% class="western" %) 2088 2088 This resource is for manipulating products resource. A product can be created, updated or searched. 2089 2089 2090 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 8223 +(% class="wrapped" %) 8224 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2091 2091 ((( 2092 2092 (% class="western" %) 2093 2093 **Method** 2094 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)8228 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2095 2095 ((( 2096 2096 (% class="western" %) 2097 2097 **Url** 2098 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)8232 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2099 2099 ((( 2100 2100 (% class="western" %) 2101 2101 **Action** 2102 2102 ))) 2103 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)8237 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2104 2104 ((( 2105 2105 (% class="western" %) 2106 2106 GET 2107 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)8241 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2108 2108 ((( 2109 2109 (% class="western" %) 2110 2110 /products 2111 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)8245 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2112 2112 ((( 2113 2113 (% class="western" %) 2114 2114 Get all product details 2115 2115 ))) 2116 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)8250 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2117 2117 ((( 2118 2118 (% class="western" %) 2119 2119 GET 2120 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)8254 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2121 2121 ((( 2122 2122 (% class="western" %) 2123 2123 /products/5 2124 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)8258 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2125 2125 ((( 2126 2126 (% class="western" %) 2127 2127 Get product id 5 2128 2128 ))) 2129 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)8263 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2130 2130 ((( 2131 2131 (% class="western" %) 2132 2132 GET 2133 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)8267 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2134 2134 ((( 2135 2135 (% class="western" %) 2136 2136 /products/lookup?Title=productname 2137 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)8271 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2138 2138 ((( 2139 2139 (% class="western" %) 2140 2140 Lookup products by Title 2141 2141 ))) 2142 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)8276 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2143 2143 ((( 2144 2144 (% class="western" %) 2145 2145 POST 2146 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)8280 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2147 2147 ((( 2148 2148 (% class="western" %) 2149 2149 /products 2150 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)8284 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2151 2151 ((( 2152 2152 (% class="western" %) 2153 2153 JSON of the Products type object needs to be sent as post data. Id field should not be sent. 2154 2154 ))) 2155 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)8289 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2156 2156 ((( 2157 2157 (% class="western" %) 2158 2158 PUT 2159 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)8293 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2160 2160 ((( 2161 2161 (% class="western" %) 2162 2162 /products/5 2163 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)8297 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2164 2164 ((( 2165 2165 (% class="western" %) 2166 2166 JSON of the Products type object needs to be sent as post data. Id field is mandatory for update. 2167 2167 ))) 2168 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)8302 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2169 2169 ((( 2170 2170 (% class="western" %) 2171 2171 POST 2172 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)8306 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2173 2173 ((( 2174 2174 (% class="western" %) 2175 2175 /products/attachResource 2176 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)8310 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2177 2177 ((( 2178 2178 (% class="western" %) 2179 2179 JSON of the Product and Resource ids to be sent as post data. ... ... @@ -2188,484 +2188,1261 @@ 2188 2188 {"ProductID":"65","ResourceID":”121"} 2189 2189 ))) 2190 2190 2191 -\\ 2192 2192 2193 -(% class=" western" %)2194 - **GET method should bedto lookupproducts.**8326 +(% id="HGETAllProducts" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 8327 +== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)All Products(%%) == 2195 2195 2196 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2197 -((( 2198 -(% class="western" %) 2199 -**Request** 2200 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2201 -((( 2202 -(% class="western" %) 2203 -**Type** 2204 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2205 -((( 2206 -(% class="western" %) 2207 -**Description** 2208 -))) 2209 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2210 -((( 2211 -(% class="western" %) 2212 -Lookup params 2213 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2214 -((( 2215 -(% class="western" %) 2216 -String 2217 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2218 -((( 2219 -(% class="western" %) 2220 -URL encoded key value string parameter for the lookup. 8329 +---- 2221 2221 2222 -(% class="western" %) 2223 -Params: 8331 +---- 2224 2224 2225 - (%class="western")2226 - Name:NameoftheProductforlookup (String)2227 - )))8333 +{{panel bgColor="#D3D3D3" width="100%"}} 8334 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/products 8335 +{{/panel}} 2228 2228 2229 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2230 -((( 2231 -(% class="western" %) 2232 -**Response** 2233 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2234 -((( 2235 -(% class="western" %) 2236 -**Type** 2237 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2238 -((( 2239 -(% class="western" %) 2240 -**Description** 2241 -))) 2242 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2243 -((( 2244 -(% class="western" %) 2245 -Products 2246 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2247 -((( 2248 -(% class="western" %) 2249 -Products 2250 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2251 -((( 2252 -(% class="western" %) 2253 -Returns found product details. 2254 -))) 8337 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 2255 2255 2256 - \\8339 +---- 2257 2257 2258 -(% class="western" %) 2259 -**POST method should be used to create products.** 8341 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 2260 2260 2261 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2262 -((( 2263 -(% class="western" %) 2264 -**Request** 2265 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2266 -((( 2267 -(% class="western" %) 2268 -**Type** 2269 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2270 -((( 2271 -(% class="western" %) 2272 -**Description** 2273 -))) 2274 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2275 -((( 2276 -(% class="western" %) 2277 -Products 2278 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2279 -((( 2280 -(% class="western" %) 2281 -Products 2282 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2283 -((( 2284 -(% class="western" %) 2285 -Product details in json to be sent as post data. Id should not be set. 8343 +==== Example ==== 2286 2286 2287 -(% class="western" %) 2288 -Example: 8345 +---- 2289 2289 2290 -(% class="western" %) 2291 -{"Title":"Test123","Description": "Testss","Terms":{"Name":"Product123"},"PrimaryFormId":10,"ResourceID":17} 2292 -))) 8347 +(% style="color:#6b6b6b" %)Request 2293 2293 2294 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2295 -((( 2296 -(% class="western" %) 2297 -**Response** 2298 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2299 -((( 2300 -(% class="western" %) 2301 -**Type** 2302 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2303 -((( 2304 -(% class="western" %) 2305 -**Description** 2306 -))) 2307 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2308 -((( 2309 -(% class="western" %) 2310 -ProductId 2311 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2312 -((( 2313 -(% class="western" %) 2314 -int 2315 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2316 -((( 2317 -(% class="western" %) 2318 -Product Id of the newly created product. 2319 -))) 8349 +{{code language="php" theme="RDark" title="Get All Products Request"}} 8350 +<?php 2320 2320 2321 - \\8352 +$curl = curl_init(); 2322 2322 2323 -(% class="western" %) 2324 -PUT method should be used to update an individual product given the product info. 8354 +curl_setopt_array($curl, array( 8355 + CURLOPT_URL => 'https://api.onecount.net/v2/products', 8356 + CURLOPT_RETURNTRANSFER => true, 8357 + CURLOPT_ENCODING => '', 8358 + CURLOPT_MAXREDIRS => 10, 8359 + CURLOPT_TIMEOUT => 0, 8360 + CURLOPT_FOLLOWLOCATION => true, 8361 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 8362 + CURLOPT_CUSTOMREQUEST => 'GET', 8363 + CURLOPT_HTTPHEADER => array( 8364 + 'Appkey: {{ONECOUNT API KEY}}' 8365 + ), 8366 +)); 2325 2325 2326 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2327 -((( 2328 -(% class="western" %) 2329 -**Request** 2330 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2331 -((( 2332 -(% class="western" %) 2333 -**Type** 2334 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2335 -((( 2336 -(% class="western" %) 2337 -**Description** 2338 -))) 2339 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2340 -((( 2341 -(% class="western" %) 2342 -Products 2343 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2344 -((( 2345 -(% class="western" %) 2346 -Product 2347 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2348 -((( 2349 -(% class="western" %) 2350 -Product details to be updated in json format to be sent with request. Id property needs to be set to identify the product to be updated. If you send term and resource along with product creation then it will automatically attach term to product and resource to product. 8368 +$response = curl_exec($curl); 2351 2351 2352 - (%class="western" %)2353 - **PossibleRequest Params**: Title, Description, PrimaryFormId, ResourceID8370 +curl_close($curl); 8371 +echo $response; 2354 2354 2355 -(% class="western" %) 2356 -**Example**: 2357 2357 2358 -(% class="western" %) 2359 -{"Title":"Test123","Description": "Testss","PrimaryFormId":10,"ResourceID":17} 2360 -))) 8374 +{{/code}} 2361 2361 2362 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2363 -((( 2364 -(% class="western" %) 2365 -**Response** 2366 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2367 -((( 2368 -(% class="western" %) 2369 -**Type** 2370 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2371 -((( 2372 -(% class="western" %) 2373 -**Description** 2374 -))) 2375 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2376 -((( 2377 -(% class="western" %) 2378 -ProductId 2379 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2380 -((( 2381 -(% class="western" %) 2382 -Int 2383 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2384 -((( 2385 -(% class="western" %) 2386 -Product id of the updated product. 2387 -))) 2388 2388 2389 - \\8377 +(% style="color:#6b6b6b" %)Response 200 OK 2390 2390 2391 -(% class="western" %) 2392 -**COMPONENT: Terms** 8379 +{{code language="yml" theme="RDark" collapse="true" title="Get All Products Response"}} 8380 + { 8381 + "result": { 8382 + "success": "1", 8383 + "error": { 8384 + "code": "", 8385 + "message": "" 8386 + } 8387 + }, 8388 + "Products": [ 8389 + { 8390 + "ProductId": 26, 8391 + "Title": "ONEcount Product Demo", 8392 + "Description": "", 8393 + "ResourceIDs": [], 8394 + "PrimaryFormID": [ 8395 + "307", 8396 + "34" 8397 + ], 8398 + "Terms": { 8399 + "Id": 26, 8400 + "Name": "Please contact me to arrange a demo", 8401 + "Description": "", 8402 + "Duration": 1, 8403 + "DurationUnit": "I", 8404 + "Price": "0", 8405 + "ProductId": 26 8406 + } 8407 + }, 8408 + { 8409 + "ProductId": 34, 8410 + "Title": "ONEcount Promotional Emails", 8411 + "Description": "Master List of ONEcount prospects to receive promotional emails, etc.", 8412 + "ResourceIDs": [ 8413 + 98, 8414 + 114 8415 + ], 8416 + "PrimaryFormID": [ 8417 + "194" 8418 + ], 8419 + "Terms": { 8420 + "Id": 34, 8421 + "Name": "ONEcount Promotional Emails", 8422 + "Description": "ONEcount promotional emails", 8423 + "Duration": 1, 8424 + "DurationUnit": "I", 8425 + "Price": "0", 8426 + "ProductId": 34 8427 + } 8428 + }, 8429 + { 8430 + "ProductId": 42, 8431 + "Title": "ONEcount Staff", 8432 + "Description": "ONEcount/GCN Media Staff", 8433 + "ResourceIDs": [ 8434 + 18 8435 + ], 8436 + "PrimaryFormID": [ 8437 + "186" 8438 + ], 8439 + "Terms": { 8440 + "Id": 42, 8441 + "Name": "ONEcount Staff List", 8442 + "Description": "List of ONEcount/GCN Media Staff", 8443 + "Duration": 1, 8444 + "DurationUnit": "I", 8445 + "Price": "0", 8446 + "ProductId": 42 8447 + } 8448 + }, 8449 + { 8450 + "ProductId": 49, 8451 + "Title": "ONEcount Medical Publishers", 8452 + "Description": "For blasts to medical publishers and associations", 8453 + "ResourceIDs": [ 8454 + 137 8455 + ], 8456 + "PrimaryFormID": [ 8457 + "170" 8458 + ], 8459 + "Terms": { 8460 + "Id": 49, 8461 + "Name": "ONEcount Medical Publishers", 8462 + "Description": "ONEcount Medical Publishers and Associations", 8463 + "Duration": 1, 8464 + "DurationUnit": "I", 8465 + "Price": "0", 8466 + "ProductId": 49 8467 + } 8468 + }, 8469 + { 8470 + "ProductId": 57, 8471 + "Title": "000 Pop-Up Form", 8472 + "Description": "", 8473 + "ResourceIDs": [ 8474 + 145 8475 + ], 8476 + "PrimaryFormID": [ 8477 + "170" 8478 + ], 8479 + "Terms": { 8480 + "Id": 57, 8481 + "Name": "000 Pop-Up Term", 8482 + "Description": "", 8483 + "Duration": 1, 8484 + "DurationUnit": "I", 8485 + "Price": "0", 8486 + "ProductId": 57 8487 + } 8488 + }, 8489 + { 8490 + "ProductId": 65, 8491 + "Title": "TEST", 8492 + "Description": "", 8493 + "ResourceIDs": [], 8494 + "PrimaryFormID": [ 8495 + "194" 8496 + ], 8497 + "Terms": {} 8498 + }, 8499 + { 8500 + "ProductId": 67, 8501 + "Title": "Gated Product Example PKG", 8502 + "Description": "", 8503 + "ResourceIDs": [], 8504 + "PrimaryFormID": [ 8505 + "195" 8506 + ], 8507 + "Terms": { 8508 + "Id": 59, 8509 + "Name": "Get it for free", 8510 + "Description": "", 8511 + "Duration": 1, 8512 + "DurationUnit": "I", 8513 + "Price": "0", 8514 + "ProductId": 67 8515 + } 8516 + }, 8517 + { 8518 + "ProductId": 75, 8519 + "Title": "SB: Apple Moves To Limit Tracking in Safari: Prove", 8520 + "Description": "", 8521 + "ResourceIDs": [], 8522 + "PrimaryFormID": [], 8523 + "Terms": {} 8524 + }, 8525 + { 8526 + "ProductId": 83, 8527 + "Title": "SB: Audience Extension: Turning Identity Into Cash", 8528 + "Description": "", 8529 + "ResourceIDs": [], 8530 + "PrimaryFormID": [], 8531 + "Terms": {} 8532 + }, 8533 + { 8534 + "ProductId": 91, 8535 + "Title": "DAS_freepass_00", 8536 + "Description": "", 8537 + "ResourceIDs": [ 8538 + 187 8539 + ], 8540 + "PrimaryFormID": [ 8541 + "267" 8542 + ], 8543 + "Terms": { 8544 + "Id": 67, 8545 + "Name": "DAS_freepass_00", 8546 + "Description": "", 8547 + "Duration": 30, 8548 + "DurationUnit": "D", 8549 + "Price": "0", 8550 + "ProductId": 91 8551 + } 8552 + }, 8553 + { 8554 + "ProductId": 99, 8555 + "Title": "Test12311111", 8556 + "Description": "Testss", 8557 + "ResourceIDs": [], 8558 + "PrimaryFormID": [ 8559 + "10" 8560 + ], 8561 + "Terms": { 8562 + "Id": 75, 8563 + "Name": "Product123", 8564 + "Description": null, 8565 + "Duration": 0, 8566 + "DurationUnit": "", 8567 + "Price": "0", 8568 + "ProductId": 99 8569 + } 8570 + }, 8571 + { 8572 + "ProductId": 107, 8573 + "Title": "Test123-456", 8574 + "Description": "Testss updated", 8575 + "ResourceIDs": [ 8576 + 98 8577 + ], 8578 + "PrimaryFormID": [ 8579 + "10" 8580 + ], 8581 + "Terms": { 8582 + "Id": 83, 8583 + "Name": "Product123", 8584 + "Description": null, 8585 + "Duration": 0, 8586 + "DurationUnit": "", 8587 + "Price": "0", 8588 + "ProductId": 107 8589 + } 8590 + }, 8591 + { 8592 + "ProductId": 109, 8593 + "Title": "Webinar: Enhanced Analytics 2-26-2019 at 1 PM", 8594 + "Description": "", 8595 + "ResourceIDs": [ 8596 + 197 8597 + ], 8598 + "PrimaryFormID": [], 8599 + "Terms": { 8600 + "Id": 93, 8601 + "Name": "Enhanced Analytics Webinar", 8602 + "Description": "Check the box to register for the February 26th webinar.", 8603 + "Duration": 1, 8604 + "DurationUnit": "I", 8605 + "Price": "0", 8606 + "ProductId": 109 8607 + } 8608 + } 8609 + ] 8610 +} 8611 +{{/code}} 2393 2393 8613 + 8614 +(% id="HGETspecificProduct" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 8615 +== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)specific Product(%%) == 8616 + 8617 +---- 8618 + 8619 +{{panel bgColor="#D3D3D3" width="100%"}} 8620 + (% class="nolink" %)https:~/~/api.onecount.net/v2/users(% style="color:#212121" %)/products/~{~{product id}} 8621 +{{/panel}} 8622 + 8623 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 8624 + 8625 +---- 8626 + 8627 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 8628 + 8629 +==== Example ==== 8630 + 8631 +---- 8632 + 8633 +(% style="color:#6b6b6b" %)Request 8634 + 8635 +{{code language="php" theme="RDark" title="Get specific Product Request"}} 8636 + <?php 8637 + 8638 +$curl = curl_init(); 8639 + 8640 +curl_setopt_array($curl, array( 8641 + CURLOPT_URL => 'https://api.onecount.net/v2/users/products/{{product id}}', 8642 + CURLOPT_RETURNTRANSFER => true, 8643 + CURLOPT_ENCODING => '', 8644 + CURLOPT_MAXREDIRS => 10, 8645 + CURLOPT_TIMEOUT => 0, 8646 + CURLOPT_FOLLOWLOCATION => true, 8647 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 8648 + CURLOPT_CUSTOMREQUEST => 'GET', 8649 + CURLOPT_HTTPHEADER => array( 8650 + 'Appkey: {{ONECOUNT API KEY}}' 8651 + ), 8652 +)); 8653 + 8654 +$response = curl_exec($curl); 8655 + 8656 +curl_close($curl); 8657 +echo $response; 8658 +{{/code}} 8659 + 8660 + 8661 +(% style="color:#6b6b6b" %)Response 200 OK 8662 + 8663 +{{code language="yml" theme="RDark" collapse="true" title="Get specific Product Response"}} 8664 + { 8665 + "result": { 8666 + "success": "1", 8667 + "error": { 8668 + "code": "", 8669 + "message": "" 8670 + } 8671 + }, 8672 + "Products": [ 8673 + { 8674 + "ProductId": 109, 8675 + "Title": "Webinar: Enhanced Analytics 2-26-2019 at 1 PM", 8676 + "Description": "", 8677 + "ResourceIDs": [ 8678 + 197 8679 + ], 8680 + "PrimaryFormID": [], 8681 + "Terms": { 8682 + "Id": 93, 8683 + "Name": "Enhanced Analytics Webinar", 8684 + "Description": "Check the box to register for the February 26th webinar.", 8685 + "Duration": 1, 8686 + "DurationUnit": "I", 8687 + "Price": "0", 8688 + "ProductId": 109 8689 + } 8690 + } 8691 + ] 8692 +} 8693 +{{/code}} 8694 + 8695 + 8696 +(% id="HGETlookupProduct" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 8697 +== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)lookup Product(%%) == 8698 + 8699 +---- 8700 + 8701 +{{panel bgColor="#D3D3D3" width="100%"}} 8702 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/products/lookup?Title=~{~{Product Name}} 8703 +{{/panel}} 8704 + 8705 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 8706 + 8707 +---- 8708 + 8709 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 8710 + 8711 +=== (% style="color:#212121" %)Query Params(%%) === 8712 + 8713 +---- 8714 + 8715 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Title (% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key nolink sc-fznXWL" style="color:#212121" %)~{~{Product Name}}(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %) 8716 + 8717 +==== Example ==== 8718 + 8719 +---- 8720 + 8721 +(% style="color:#6b6b6b" %)Request 8722 + 8723 +{{code language="php" theme="RDark" title="Lookup Product Request"}} 8724 + <?php 8725 + 8726 +$curl = curl_init(); 8727 + 8728 +curl_setopt_array($curl, array( 8729 + CURLOPT_URL => 'https://api.onecount.net/v2/products/lookup?Title={{Product Name}}', 8730 + CURLOPT_RETURNTRANSFER => true, 8731 + CURLOPT_ENCODING => '', 8732 + CURLOPT_MAXREDIRS => 10, 8733 + CURLOPT_TIMEOUT => 0, 8734 + CURLOPT_FOLLOWLOCATION => true, 8735 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 8736 + CURLOPT_CUSTOMREQUEST => 'GET', 8737 + CURLOPT_HTTPHEADER => array( 8738 + 'Appkey: {{ONECOUNT API KEY}}' 8739 + ), 8740 +)); 8741 + 8742 +$response = curl_exec($curl); 8743 + 8744 +curl_close($curl); 8745 +echo $response; 8746 +{{/code}} 8747 + 8748 + 8749 +(% style="color:#6b6b6b" %)Response 200 OK 8750 + 8751 +{{code language="yml" theme="RDark" collapse="true" title="Lookup Product Response"}} 8752 + { 8753 + "result": { 8754 + "success": "1", 8755 + "error": { 8756 + "code": "", 8757 + "message": "" 8758 + } 8759 + }, 8760 + "Products": [ 8761 + { 8762 + "ProductId": 107, 8763 + "Title": "Test123-456", 8764 + "Description": "Testss updated", 8765 + "Terms": { 8766 + "Id": 83, 8767 + "Name": "Product123", 8768 + "Description": null, 8769 + "Duration": 0, 8770 + "DurationUnit": "", 8771 + "Price": "0", 8772 + "ProductId": 107 8773 + } 8774 + } 8775 + ] 8776 +} 8777 +{{/code}} 8778 + 8779 + 8780 +(% id="HPOSTCreateProduct" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 8781 +== (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#ad7a03" %)POST(% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %) Create Product(%%) == 8782 + 8783 +---- 8784 + 8785 +{{panel bgColor="#D3D3D3" width="100%"}} 8786 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/products 8787 +{{/panel}} 8788 + 8789 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 8790 + 8791 +---- 8792 + 8793 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 8794 + 8795 +=== (% style="color:#212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) === 8796 + 8797 +---- 8798 + 8799 +{{code language="yml" theme="RDark" title="Body"}} 8800 +{"Title":"Test API package creation 2","Description": "Test API package creation 2","Terms":{"Name":"Test term for API 2"},"PrimaryFormId":0} 8801 +{{/code}} 8802 + 8803 +==== Example ==== 8804 + 8805 +---- 8806 + 8807 +(% style="color:#6b6b6b" %)Request 8808 + 8809 +{{code language="php" theme="RDark" title="Create Product Request"}} 8810 + <?php 8811 + 8812 +$curl = curl_init(); 8813 + 8814 +curl_setopt_array($curl, array( 8815 + CURLOPT_URL => 'https://api.onecount.net/v2/products', 8816 + CURLOPT_RETURNTRANSFER => true, 8817 + CURLOPT_ENCODING => '', 8818 + CURLOPT_MAXREDIRS => 10, 8819 + CURLOPT_TIMEOUT => 0, 8820 + CURLOPT_FOLLOWLOCATION => true, 8821 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 8822 + CURLOPT_CUSTOMREQUEST => 'POST', 8823 + CURLOPT_POSTFIELDS =>'{"Title":"Test API package creation 1","Description": "Test API package creation 1","Terms":{"Name":"Test term for API 1"},"PrimaryFormId":0}', 8824 + CURLOPT_HTTPHEADER => array( 8825 + 'Appkey: {{ONECOUNT API KEY}}' 8826 + ), 8827 +)); 8828 + 8829 +$response = curl_exec($curl); 8830 + 8831 +curl_close($curl); 8832 +echo $response; 8833 +{{/code}} 8834 + 8835 + 8836 +(% style="color:#6b6b6b" %)Response 200 OK 8837 + 8838 +{{code language="yml" theme="RDark" collapse="true" title="Create Product Response"}} 8839 + { 8840 + "result": { 8841 + "success": "1", 8842 + "error": { 8843 + "code": "", 8844 + "message": "" 8845 + } 8846 + }, 8847 + "Products": [ 8848 + { 8849 + "ProductId": 599 8850 + } 8851 + ] 8852 +} 8853 +{{/code}} 8854 + 8855 + 8856 +(% id="HPUTUpdateProduct" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 8857 +== (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#0053b8" %)PUT (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)Update Product(%%) == 8858 + 8859 +---- 8860 + 8861 +{{panel bgColor="#D3D3D3" width="100%"}} 8862 + (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/products/~{~{Product id}} 8863 +{{/panel}} 8864 + 8865 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 8866 + 8867 +---- 8868 + 8869 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 8870 + 8871 +=== (% style="color:#212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) === 8872 + 8873 +---- 8874 + 8875 +{{code language="yml" theme="RDark" title="Body"}} 8876 +{"Title":"Test API package 23","Description": "Test API package 23","PrimaryFormId":0} 8877 +{{/code}} 8878 + 8879 +==== Example ==== 8880 + 8881 +---- 8882 + 8883 +(% style="color:#6b6b6b" %)Request 8884 + 8885 +{{code language="php" theme="RDark" title="Update Product Request"}} 8886 +<?php 8887 + 8888 +$curl = curl_init(); 8889 + 8890 +curl_setopt_array($curl, array( 8891 + CURLOPT_URL => 'https://api.onecount.net/v2/products/{{Product id}}', 8892 + CURLOPT_RETURNTRANSFER => true, 8893 + CURLOPT_ENCODING => '', 8894 + CURLOPT_MAXREDIRS => 10, 8895 + CURLOPT_TIMEOUT => 0, 8896 + CURLOPT_FOLLOWLOCATION => true, 8897 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 8898 + CURLOPT_CUSTOMREQUEST => 'PUT', 8899 + CURLOPT_POSTFIELDS =>'{"Title":"Test API package 1","Description": "Test API package 1","PrimaryFormId":0}', 8900 + CURLOPT_HTTPHEADER => array( 8901 + 'Appkey: {{ONECOUNT API KEY}}' 8902 + ), 8903 +)); 8904 + 8905 +$response = curl_exec($curl); 8906 + 8907 +curl_close($curl); 8908 +echo $response; 8909 + 8910 +{{/code}} 8911 + 8912 + 8913 +(% style="color:#6b6b6b" %)Response 200 OK 8914 + 8915 +{{code language="yml" theme="RDark" collapse="true" title="Update Product Response"}} 8916 + { 8917 + "result": { 8918 + "success": "1", 8919 + "error": { 8920 + "code": "", 8921 + "message": "" 8922 + } 8923 + }, 8924 + "Products": [ 8925 + { 8926 + "ProductId": 599, 8927 + "Title": "Test API package 1", 8928 + "Description": "Test API package 1" 8929 + } 8930 + ] 8931 +} 8932 +{{/code}} 8933 + 8934 + 8935 +(% id="HPOSTAttachResourcetoProduct" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 8936 +== (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#ad7a03" %)POST(% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %) Attach Resource to Product(%%) == 8937 + 8938 +---- 8939 + 8940 +{{panel bgColor="#D3D3D3" width="100%"}} 8941 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/products/attachResource 8942 +{{/panel}} 8943 + 8944 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 8945 + 8946 +---- 8947 + 8948 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 8949 + 8950 +=== (% style="color:#212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) === 8951 + 8952 +---- 8953 + 8954 +{{code language="yml" theme="RDark" title="Body"}} 8955 +{"ProductID":"599","ResourceID":"903"} 8956 +{{/code}} 8957 + 8958 +==== Example ==== 8959 + 8960 +---- 8961 + 8962 +(% style="color:#6b6b6b" %)Request 8963 + 8964 +{{code language="php" theme="RDark" title="Attach Resource to Product Request"}} 8965 + <?php 8966 + 8967 +$curl = curl_init(); 8968 + 8969 +curl_setopt_array($curl, array( 8970 + CURLOPT_URL => 'https://api.onecount.net/v2/products/attachResource', 8971 + CURLOPT_RETURNTRANSFER => true, 8972 + CURLOPT_ENCODING => '', 8973 + CURLOPT_MAXREDIRS => 10, 8974 + CURLOPT_TIMEOUT => 0, 8975 + CURLOPT_FOLLOWLOCATION => true, 8976 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 8977 + CURLOPT_CUSTOMREQUEST => 'POST', 8978 + CURLOPT_POSTFIELDS =>'{"ProductID":"599","ResourceID":"903"}', 8979 + CURLOPT_HTTPHEADER => array( 8980 + 'Appkey: {{ONECOUNT API KEY}}' 8981 + ), 8982 +)); 8983 + 8984 +$response = curl_exec($curl); 8985 + 8986 +curl_close($curl); 8987 +echo $response; 8988 +{{/code}} 8989 + 8990 + 8991 +(% style="color:#6b6b6b" %)Response 200 OK 8992 + 8993 +{{code language="yml" theme="RDark" collapse="true" title="Create Product Response"}} 8994 + { 8995 + "result": { 8996 + "success": "1", 8997 + "error": { 8998 + "code": "", 8999 + "message": "" 9000 + } 9001 + }, 9002 + "Products": "599" 9003 +} 9004 +{{/code}} 9005 + 9006 +(% id="HCOMPONENT:Terms" class="western" %) 9007 +=== **COMPONENT: Terms** === 9008 + 2394 2394 (% class="western" %) 2395 2395 This resource is for manipulating terms resource. A term can be created, updated or searched. 2396 2396 2397 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 9012 +(% class="wrapped" %) 9013 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2398 2398 ((( 2399 2399 (% class="western" %) 2400 2400 **Method** 2401 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)9017 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2402 2402 ((( 2403 2403 (% class="western" %) 2404 2404 **Url** 2405 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)9021 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2406 2406 ((( 2407 2407 (% class="western" %) 2408 2408 **Action** 2409 2409 ))) 2410 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)9026 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2411 2411 ((( 2412 2412 (% class="western" %) 2413 2413 GET 2414 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)9030 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2415 2415 ((( 2416 2416 (% class="western" %) 2417 2417 /terms/5 2418 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)9034 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2419 2419 ((( 2420 2420 (% class="western" %) 2421 2421 Get term id 5 2422 2422 ))) 2423 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)9039 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2424 2424 ((( 2425 2425 (% class="western" %) 2426 2426 GET 2427 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)9043 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2428 2428 ((( 2429 2429 (% class="western" %) 2430 2430 /terms/lookup?Name=termname 2431 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)9047 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2432 2432 ((( 2433 2433 (% class="western" %) 2434 2434 Lookup terms by Name 2435 2435 ))) 2436 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)9052 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2437 2437 ((( 2438 2438 (% class="western" %) 2439 2439 POST 2440 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)9056 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2441 2441 ((( 2442 2442 (% class="western" %) 2443 2443 /terms 2444 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)9060 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2445 2445 ((( 2446 2446 (% class="western" %) 2447 2447 JSON of the terms type object needs to be sent as post data. Id field should not be sent. 2448 2448 ))) 2449 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)9065 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2450 2450 ((( 2451 2451 (% class="western" %) 2452 2452 PUT 2453 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)9069 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2454 2454 ((( 2455 2455 (% class="western" %) 2456 2456 /terms/5 2457 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)9073 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2458 2458 ((( 2459 2459 (% class="western" %) 2460 2460 JSON of the terms type object needs to be sent as post data. Id field is mandatory for update. 2461 2461 ))) 2462 2462 2463 -\\ 2464 2464 2465 -(% class=" western" %)2466 - **GET method should bedto lookupproducts.**9080 +(% id="HGETAllTerms" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 9081 +== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)All Terms(%%) == 2467 2467 2468 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2469 -((( 2470 -(% class="western" %) 2471 -**Request** 2472 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2473 -((( 2474 -(% class="western" %) 2475 -**Type** 2476 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2477 -((( 2478 -(% class="western" %) 2479 -**Description** 2480 -))) 2481 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2482 -((( 2483 -(% class="western" %) 2484 -Lookup params 2485 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2486 -((( 2487 -(% class="western" %) 2488 -String 2489 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2490 -((( 2491 -(% class="western" %) 2492 -URL encoded key value string parameter for the lookup. 9083 +---- 2493 2493 2494 -(% class="western" %) 2495 -Params: 9085 +---- 2496 2496 2497 - (%class="western")2498 - Name:Namefthe term forlookup(String)2499 - )))9087 +{{panel bgColor="#D3D3D3" width="100%"}} 9088 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/terms 9089 +{{/panel}} 2500 2500 2501 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2502 -((( 2503 -(% class="western" %) 2504 -**Response** 2505 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2506 -((( 2507 -(% class="western" %) 2508 -**Type** 2509 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2510 -((( 2511 -(% class="western" %) 2512 -**Description** 2513 -))) 2514 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2515 -((( 2516 -(% class="western" %) 2517 -Terms 2518 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2519 -((( 2520 -(% class="western" %) 2521 -Terms 2522 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2523 -((( 2524 -(% class="western" %) 2525 -Returns found term details. 2526 -))) 9091 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 2527 2527 2528 - \\9093 +---- 2529 2529 2530 -(% class="western" %) 2531 -**POST method should be used to create products.** 9095 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 2532 2532 2533 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2534 -((( 2535 -(% class="western" %) 2536 -**Request** 2537 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2538 -((( 2539 -(% class="western" %) 2540 -**Type** 2541 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2542 -((( 2543 -(% class="western" %) 2544 -**Description** 2545 -))) 2546 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2547 -((( 2548 -(% class="western" %) 2549 -Terms 2550 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2551 -((( 2552 -(% class="western" %) 2553 -Terms 2554 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2555 -((( 2556 -(% class="western" %) 2557 -Term details in json to be sent as post data. Id should not be set. 9097 +==== Example ==== 2558 2558 2559 -(% class="western" %) 2560 -**Possible Request Params**: Name, Description, Duration, DurationUnit, Price, ProductId, Active, ProductStatusId, Quantity, QuantityTxt 9099 +---- 2561 2561 2562 -(% class="western" %) 2563 -**Example**: 9101 +(% style="color:#6b6b6b" %)Request 2564 2564 2565 -(% class="western" %) 2566 -{"Name":"Test123","Description":Testss","Duration":10,"ProductId":17} 2567 -))) 9103 +{{code language="php" theme="RDark" title="Get All Terms Request"}} 9104 + <?php 2568 2568 2569 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2570 -((( 2571 -(% class="western" %) 2572 -**Response** 2573 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2574 -((( 2575 -(% class="western" %) 2576 -**Type** 2577 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2578 -((( 2579 -(% class="western" %) 2580 -**Description** 2581 -))) 2582 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2583 -((( 2584 -(% class="western" %) 2585 -TermId 2586 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2587 -((( 2588 -(% class="western" %) 2589 -int 2590 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2591 -((( 2592 -(% class="western" %) 2593 -Term Id of the newly created term. 2594 -))) 9106 +$curl = curl_init(); 2595 2595 2596 -\\ 9108 +curl_setopt_array($curl, array( 9109 + CURLOPT_URL => 'https://api.onecount.net/v2/terms', 9110 + CURLOPT_RETURNTRANSFER => true, 9111 + CURLOPT_ENCODING => '', 9112 + CURLOPT_MAXREDIRS => 10, 9113 + CURLOPT_TIMEOUT => 0, 9114 + CURLOPT_FOLLOWLOCATION => true, 9115 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 9116 + CURLOPT_CUSTOMREQUEST => 'GET', 9117 + CURLOPT_HTTPHEADER => array( 9118 + 'Appkey: {{ONECOUNT API KEY}}' 9119 + ), 9120 +)); 2597 2597 2598 -(% class="western" %) 2599 -PUT method should be used to update an individual term given the term info. 9122 +$response = curl_exec($curl); 2600 2600 2601 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2602 -((( 2603 -(% class="western" %) 2604 -**Request** 2605 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2606 -((( 2607 -(% class="western" %) 2608 -**Type** 2609 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2610 -((( 2611 -(% class="western" %) 2612 -**Description** 2613 -))) 2614 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2615 -((( 2616 -(% class="western" %) 2617 -Terms 2618 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2619 -((( 2620 -(% class="western" %) 2621 -Term 2622 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2623 -((( 2624 -(% class="western" %) 2625 -Term details to be updated in json format to be sent with request. Id property needs to be set to identify the term to be updated. 9124 +curl_close($curl); 9125 +echo $response; 9126 +{{/code}} 2626 2626 2627 -(% class="western" %) 2628 -\\ 2629 2629 2630 -(% class="western" %) 2631 -**Example**: 9129 +(% style="color:#6b6b6b" %)Response 200 OK 2632 2632 2633 -(% class="western" %) 2634 -{"Name":"Test123","Description":Testss","Duration":10,"ProductId":17} 2635 -))) 9131 +{{code language="yml" theme="RDark" collapse="true" title="Get All Terms Response"}} 9132 + { 9133 + "result": { 9134 + "success": "1", 9135 + "error": { 9136 + "code": "", 9137 + "message": "" 9138 + } 9139 + }, 9140 + "Terms": [ 9141 + { 9142 + "Id": 26, 9143 + "Name": "Please contact me to arrange a demo", 9144 + "Description": "", 9145 + "Duration": 1, 9146 + "DurationUnit": "I", 9147 + "Price": "0", 9148 + "ProductId": 26 9149 + }, 9150 + { 9151 + "Id": 34, 9152 + "Name": "ONEcount Promotional Emails", 9153 + "Description": "ONEcount promotional emails", 9154 + "Duration": 1, 9155 + "DurationUnit": "I", 9156 + "Price": "0", 9157 + "ProductId": 34 9158 + }, 9159 + { 9160 + "Id": 42, 9161 + "Name": "ONEcount Staff List", 9162 + "Description": "List of ONEcount/GCN Media Staff", 9163 + "Duration": 1, 9164 + "DurationUnit": "I", 9165 + "Price": "0", 9166 + "ProductId": 42 9167 + }, 9168 + { 9169 + "Id": 49, 9170 + "Name": "ONEcount Medical Publishers", 9171 + "Description": "ONEcount Medical Publishers and Associations", 9172 + "Duration": 1, 9173 + "DurationUnit": "I", 9174 + "Price": "0", 9175 + "ProductId": 49 9176 + }, 9177 + { 9178 + "Id": 57, 9179 + "Name": "000 Pop-Up Term", 9180 + "Description": "", 9181 + "Duration": 1, 9182 + "DurationUnit": "I", 9183 + "Price": "0", 9184 + "ProductId": 57 9185 + }, 9186 + { 9187 + "Id": 59, 9188 + "Name": "Get it for free", 9189 + "Description": "", 9190 + "Duration": 1, 9191 + "DurationUnit": "I", 9192 + "Price": "0", 9193 + "ProductId": 67 9194 + }, 9195 + { 9196 + "Id": 67, 9197 + "Name": "DAS_freepass_00", 9198 + "Description": "", 9199 + "Duration": 30, 9200 + "DurationUnit": "D", 9201 + "Price": "0", 9202 + "ProductId": 91 9203 + }, 9204 + { 9205 + "Id": 75, 9206 + "Name": "Product123", 9207 + "Description": null, 9208 + "Duration": 0, 9209 + "DurationUnit": "", 9210 + "Price": "0", 9211 + "ProductId": 99 9212 + }, 9213 + { 9214 + "Id": 83, 9215 + "Name": "Product123", 9216 + "Description": null, 9217 + "Duration": 0, 9218 + "DurationUnit": "", 9219 + "Price": "0", 9220 + "ProductId": 107 9221 + }, 9222 + { 9223 + "Id": 91, 9224 + "Name": "Test123 update ", 9225 + "Description": "Testss updated", 9226 + "Duration": 10, 9227 + "DurationUnit": "", 9228 + "Price": "0", 9229 + "ProductId": 107 9230 + }, 9231 + { 9232 + "Id": 93, 9233 + "Name": "Enhanced Analytics Webinar", 9234 + "Description": "Check the box to register for the February 26th webinar.", 9235 + "Duration": 1, 9236 + "DurationUnit": "I", 9237 + "Price": "0", 9238 + "ProductId": 109 9239 + }, 9240 + { 9241 + "Id": 423, 9242 + "Name": "Test term for API", 9243 + "Description": null, 9244 + "Duration": 0, 9245 + "DurationUnit": "", 9246 + "Price": "0.00", 9247 + "ProductId": 591 9248 + }, 9249 + { 9250 + "Id": 431, 9251 + "Name": "Test term for API 1", 9252 + "Description": null, 9253 + "Duration": 0, 9254 + "DurationUnit": "", 9255 + "Price": "0.00", 9256 + "ProductId": 599 9257 + } 9258 + ] 9259 +} 9260 +{{/code}} 2636 2636 2637 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2638 -((( 2639 -(% class="western" %) 2640 -**Response** 2641 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2642 -((( 2643 -(% class="western" %) 2644 -**Type** 2645 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2646 -((( 2647 -(% class="western" %) 2648 -**Description** 2649 -))) 2650 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2651 -((( 2652 -(% class="western" %) 2653 -TermId 2654 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2655 -((( 2656 -(% class="western" %) 2657 -Int 2658 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2659 -((( 2660 -(% class="western" %) 2661 -term id of the updated term. 2662 -))) 2663 2663 2664 -\\ 9263 +(% id="HGETspecificTerm" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 9264 +== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)specific Term(%%) == 2665 2665 2666 -(% class="western" %) 2667 -**COMPONENT: Resources** 9266 +---- 2668 2668 9268 +{{panel bgColor="#D3D3D3" width="100%"}} 9269 + (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/terms/~{~{Term Id}} 9270 +{{/panel}} 9271 + 9272 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 9273 + 9274 +---- 9275 + 9276 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 9277 + 9278 +==== Example ==== 9279 + 9280 +---- 9281 + 9282 +(% style="color:#6b6b6b" %)Request 9283 + 9284 +{{code language="php" theme="RDark" title="Get specific Term Request"}} 9285 + <?php 9286 + 9287 +$curl = curl_init(); 9288 + 9289 +curl_setopt_array($curl, array( 9290 + CURLOPT_URL => 'https://api.onecount.net/v2/terms/{{Term Id}}', 9291 + CURLOPT_RETURNTRANSFER => true, 9292 + CURLOPT_ENCODING => '', 9293 + CURLOPT_MAXREDIRS => 10, 9294 + CURLOPT_TIMEOUT => 0, 9295 + CURLOPT_FOLLOWLOCATION => true, 9296 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 9297 + CURLOPT_CUSTOMREQUEST => 'GET', 9298 + CURLOPT_HTTPHEADER => array( 9299 + 'Appkey: {{ONECOUNT API KEY}}' 9300 + ), 9301 +)); 9302 + 9303 +$response = curl_exec($curl); 9304 + 9305 +curl_close($curl); 9306 +echo $response; 9307 +{{/code}} 9308 + 9309 + 9310 +(% style="color:#6b6b6b" %)Response 200 OK 9311 + 9312 +{{code language="yml" theme="RDark" collapse="true" title="Get specific Term Response"}} 9313 + { 9314 + "result": { 9315 + "success": "1", 9316 + "error": { 9317 + "code": "", 9318 + "message": "" 9319 + } 9320 + }, 9321 + "Terms": [ 9322 + { 9323 + "Id": 431, 9324 + "Name": "Test term for API 1", 9325 + "Description": null, 9326 + "Duration": 0, 9327 + "DurationUnit": "", 9328 + "Price": "0.00", 9329 + "ProductId": 599 9330 + } 9331 + ] 9332 +} 9333 +{{/code}} 9334 + 9335 + 9336 +(% id="HGETlookupTerm" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 9337 +== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)lookup Term(%%) == 9338 + 9339 +---- 9340 + 9341 +{{panel bgColor="#D3D3D3" width="100%"}} 9342 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/terms/lookup?Name={(%%){Term Name}} 9343 +{{/panel}} 9344 + 9345 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 9346 + 9347 +---- 9348 + 9349 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 9350 + 9351 +=== (% style="color:#212121" %)Query Params(%%) === 9352 + 9353 +---- 9354 + 9355 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Name (% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key nolink sc-fznXWL" style="color:#212121" %)~{~{Term Name}} 9356 + 9357 +==== Example ==== 9358 + 9359 +---- 9360 + 9361 +(% style="color:#6b6b6b" %)Request 9362 + 9363 +{{code language="php" theme="RDark" title="Lookup Term Request"}} 9364 + <?php 9365 + 9366 +$curl = curl_init(); 9367 + 9368 +curl_setopt_array($curl, array( 9369 + CURLOPT_URL => 'https://api.onecount.net/v2/terms/lookup?Name={{Term Name}}', 9370 + CURLOPT_RETURNTRANSFER => true, 9371 + CURLOPT_ENCODING => '', 9372 + CURLOPT_MAXREDIRS => 10, 9373 + CURLOPT_TIMEOUT => 0, 9374 + CURLOPT_FOLLOWLOCATION => true, 9375 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 9376 + CURLOPT_CUSTOMREQUEST => 'GET', 9377 + CURLOPT_HTTPHEADER => array( 9378 + 'Appkey: {{ONECOUNT API KEY}}' 9379 + ), 9380 +)); 9381 + 9382 +$response = curl_exec($curl); 9383 + 9384 +curl_close($curl); 9385 +echo $response; 9386 +{{/code}} 9387 + 9388 + 9389 +(% style="color:#6b6b6b" %)Response 200 OK 9390 + 9391 +{{code language="yml" theme="RDark" collapse="true" title="Lookup Term Response"}} 9392 +{ 9393 + "result": { 9394 + "success": "1", 9395 + "error": { 9396 + "code": "", 9397 + "message": "" 9398 + } 9399 + }, 9400 + "Terms": [ 9401 + { 9402 + "Id": 431, 9403 + "Name": "Test term for API 1", 9404 + "Description": null, 9405 + "Duration": 0, 9406 + "DurationUnit": "", 9407 + "Price": "0.00", 9408 + "ProductId": 599 9409 + } 9410 + ] 9411 +} 9412 +{{/code}} 9413 + 9414 + 9415 +(% id="HPOSTCreateTerm" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 9416 +== (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#ad7a03" %)POST(% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %) Create Term(%%) == 9417 + 9418 +---- 9419 + 9420 +{{panel bgColor="#D3D3D3" width="100%"}} 9421 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/terms 9422 +{{/panel}} 9423 + 9424 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 9425 + 9426 +---- 9427 + 9428 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 9429 + 9430 +=== (% style="color:#212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) === 9431 + 9432 +---- 9433 + 9434 +{{code language="yml" theme="RDark" title="Body"}} 9435 +{"Name":"Test API term creation","Description":"Test API term creation","Duration":10,"ProductId":599} 9436 +{{/code}} 9437 + 9438 +==== Example ==== 9439 + 9440 +---- 9441 + 9442 +(% style="color:#6b6b6b" %)Request 9443 + 9444 +{{code language="php" theme="RDark" title="Create Term Request"}} 9445 +<?php 9446 + 9447 +$curl = curl_init(); 9448 + 9449 +curl_setopt_array($curl, array( 9450 + CURLOPT_URL => 'https://api.onecount.net/v2/terms', 9451 + CURLOPT_RETURNTRANSFER => true, 9452 + CURLOPT_ENCODING => '', 9453 + CURLOPT_MAXREDIRS => 10, 9454 + CURLOPT_TIMEOUT => 0, 9455 + CURLOPT_FOLLOWLOCATION => true, 9456 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 9457 + CURLOPT_CUSTOMREQUEST => 'POST', 9458 + CURLOPT_POSTFIELDS =>'{"Name":"Test API term creation","Description":"Test API term creation","Duration":10,"ProductId":599} 9459 + 9460 +', 9461 + CURLOPT_HTTPHEADER => array( 9462 + 'Appkey: {{ONECOUNT API KEY}}' 9463 + ), 9464 +)); 9465 + 9466 +$response = curl_exec($curl); 9467 + 9468 +curl_close($curl); 9469 +echo $response; 9470 + 9471 + 9472 +{{/code}} 9473 + 9474 + 9475 +(% style="color:#6b6b6b" %)Response 200 OK 9476 + 9477 +{{code language="yml" theme="RDark" collapse="true" title="Create Term Response"}} 9478 +{ 9479 + "result": { 9480 + "success": "1", 9481 + "error": { 9482 + "code": "", 9483 + "message": "" 9484 + } 9485 + }, 9486 + "Terms": [ 9487 + { 9488 + "Id": 447 9489 + } 9490 + ] 9491 +} 9492 +{{/code}} 9493 + 9494 + 9495 +(% id="HPUTUpdateTerm" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 9496 +== (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#0053b8" %)PUT (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)Update Term(%%) == 9497 + 9498 +---- 9499 + 9500 +{{panel bgColor="#D3D3D3" width="100%"}} 9501 + (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/terms/~{~{Term Id}} 9502 +{{/panel}} 9503 + 9504 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 9505 + 9506 +---- 9507 + 9508 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 9509 + 9510 +=== (% style="color:#212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) === 9511 + 9512 +---- 9513 + 9514 +{{code language="yml" theme="RDark" title="Body"}} 9515 +{"Name":"Test API term creation update","Description":"Test API term creation update","Duration":10,"ProductId":599} 9516 +{{/code}} 9517 + 9518 +==== Example ==== 9519 + 9520 +---- 9521 + 9522 +(% style="color:#6b6b6b" %)Request 9523 + 9524 +{{code language="php" theme="RDark" title="Update Term Request"}} 9525 + <?php 9526 + 9527 +$curl = curl_init(); 9528 + 9529 +curl_setopt_array($curl, array( 9530 + CURLOPT_URL => 'https://api.onecount.net/v2/terms/{{Term Id}}', 9531 + CURLOPT_RETURNTRANSFER => true, 9532 + CURLOPT_ENCODING => '', 9533 + CURLOPT_MAXREDIRS => 10, 9534 + CURLOPT_TIMEOUT => 0, 9535 + CURLOPT_FOLLOWLOCATION => true, 9536 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 9537 + CURLOPT_CUSTOMREQUEST => 'PUT', 9538 + CURLOPT_POSTFIELDS =>'{"Name":"Test API term creation update","Description":"Test API term creation update","Duration":10,"ProductId":599}', 9539 + CURLOPT_HTTPHEADER => array( 9540 + 'Appkey: {{ONECOUNT API KEY}}' 9541 + ), 9542 +)); 9543 + 9544 +$response = curl_exec($curl); 9545 + 9546 +curl_close($curl); 9547 +echo $response; 9548 +{{/code}} 9549 + 9550 + 9551 +(% style="color:#6b6b6b" %)Response 200 OK 9552 + 9553 +{{code language="yml" theme="RDark" collapse="true" title="Update Term Response"}} 9554 + { 9555 + "result": { 9556 + "success": "1", 9557 + "error": { 9558 + "code": "", 9559 + "message": "" 9560 + } 9561 + }, 9562 + "Terms": [ 9563 + { 9564 + "Id": 447, 9565 + "Name": "Test API term creation update", 9566 + "Description": "Test API term creation update", 9567 + "Duration": 10, 9568 + "DurationUnit": "", 9569 + "Price": "0.00", 9570 + "ProductId": 599 9571 + } 9572 + ] 9573 +} 9574 +{{/code}} 9575 + 9576 + 9577 +(% id="HCOMPONENT:Resources" class="western" %) 9578 +=== **COMPONENT: Resources** === 9579 + 2669 2669 (% class="western" %) 2670 2670 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. 2671 2671 ... ... @@ -2704,880 +2704,4474 @@ 2704 2704 (% class="western" %) 2705 2705 This resource is for manipulating resources resource. A resource can be created, updated or searched. 2706 2706 2707 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 9618 +(% class="wrapped" %) 9619 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2708 2708 ((( 2709 2709 (% class="western" %) 2710 2710 **Method** 2711 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)9623 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2712 2712 ((( 2713 2713 (% class="western" %) 2714 2714 **Url** 2715 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)9627 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2716 2716 ((( 2717 2717 (% class="western" %) 2718 2718 **Action** 2719 2719 ))) 2720 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)9632 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2721 2721 ((( 2722 2722 (% class="western" %) 2723 2723 GET 2724 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)9636 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2725 2725 ((( 2726 2726 (% class="western" %) 2727 2727 /resources/5 2728 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)9640 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2729 2729 ((( 2730 2730 (% class="western" %) 2731 2731 Get resource id 5 2732 2732 ))) 2733 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)9645 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2734 2734 ((( 2735 2735 (% class="western" %) 2736 2736 GET 2737 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)9649 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2738 2738 ((( 2739 2739 (% class="western" %) 2740 2740 /resources/lookup?Name=resourcename 2741 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)9653 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2742 2742 ((( 2743 2743 (% class="western" %) 2744 2744 Lookup resources by Name 2745 2745 ))) 2746 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)9658 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2747 2747 ((( 2748 2748 (% class="western" %) 2749 2749 POST 2750 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)9662 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2751 2751 ((( 2752 2752 (% class="western" %) 2753 2753 /resources 2754 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)9666 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2755 2755 ((( 2756 2756 (% class="western" %) 2757 2757 JSON of the resources type object needs to be sent as post data. Id field should not be sent. 2758 2758 ))) 2759 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)9671 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2760 2760 ((( 2761 2761 (% class="western" %) 2762 2762 PUT 2763 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)9675 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2764 2764 ((( 2765 2765 (% class="western" %) 2766 2766 /resources/5 2767 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)9679 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2768 2768 ((( 2769 2769 (% class="western" %) 2770 2770 JSON of the resources type object needs to be sent as post data. Id field is mandatory for update. 2771 2771 ))) 2772 2772 2773 -\\ 2774 2774 2775 -(% class="western" %)2776 - **GET method should bedto lookupresources.**9686 +(% id="HGETAllResources" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 9687 +== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)All Resources(%%) == 2777 2777 2778 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2779 -((( 2780 -(% class="western" %) 2781 -**Request** 2782 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2783 -((( 2784 -(% class="western" %) 2785 -**Type** 2786 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2787 -((( 2788 -(% class="western" %) 2789 -**Description** 2790 -))) 2791 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2792 -((( 2793 -(% class="western" %) 2794 -Lookup params 2795 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2796 -((( 2797 -(% class="western" %) 2798 -String 2799 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2800 -((( 2801 -(% class="western" %) 2802 -URL encoded key value string parameter for the lookup. 9689 +---- 2803 2803 2804 -(% class="western" %) 2805 -Params: 9691 +---- 2806 2806 2807 - (%class="western")2808 - Name:Namefthe resourcefor lookup (String)2809 - )))9693 +{{panel bgColor="#D3D3D3" width="100%"}} 9694 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/resources 9695 +{{/panel}} 2810 2810 2811 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2812 -((( 2813 -(% class="western" %) 2814 -**Response** 2815 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2816 -((( 2817 -(% class="western" %) 2818 -**Type** 2819 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2820 -((( 2821 -(% class="western" %) 2822 -**Description** 2823 -))) 2824 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2825 -((( 2826 -(% class="western" %) 2827 -Resources 2828 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2829 -((( 2830 -(% class="western" %) 2831 -Resources 2832 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2833 -((( 2834 -(% class="western" %) 2835 -Returns found resource details. 2836 -))) 9697 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 2837 2837 2838 - \\9699 +---- 2839 2839 2840 -(% class="western" %) 2841 -**POST method should be used to create resources.** 9701 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 2842 2842 2843 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2844 -((( 2845 -(% class="western" %) 2846 -**Request** 2847 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2848 -((( 2849 -(% class="western" %) 2850 -**Type** 2851 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2852 -((( 2853 -(% class="western" %) 2854 -**Description** 2855 -))) 2856 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2857 -((( 2858 -(% class="western" %) 2859 -Resources 2860 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2861 -((( 2862 -(% class="western" %) 2863 -Resources 2864 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2865 -((( 2866 -(% class="western" %) 2867 -resource details in json to be sent as post data. Id should not be set. 9703 +==== Example ==== 2868 2868 2869 -(% class="western" %) 2870 -**Possible Request Params**: Name, Description, Type, Value, FreePass 9705 +---- 2871 2871 2872 -(% class="western" %) 2873 -**Example**: 9707 +(% style="color:#6b6b6b" %)Request 2874 2874 2875 - (%class="western"%)2876 - {"Name":"Test123","Description":Testss","Type":3,"Value":”/digital/”}9709 +{{code language="php" theme="RDark" title="Get All Resource Request"}} 9710 + <?php 2877 2877 2878 -(% class="western" %) 2879 -{"Name":"Test123","Description":Testss","Type":3,"Value":[”/digital/”, "/article/"]} 9712 +$curl = curl_init(); 2880 2880 2881 -(% class="western" %) 2882 -{"Name":"Test123","Description":Testss","Type":3,"Value":”/digital/”, "FreePass":1} 9714 +curl_setopt_array($curl, array( 9715 + CURLOPT_URL => 'https://api.onecount.net/v2/resources', 9716 + CURLOPT_RETURNTRANSFER => true, 9717 + CURLOPT_ENCODING => '', 9718 + CURLOPT_MAXREDIRS => 10, 9719 + CURLOPT_TIMEOUT => 0, 9720 + CURLOPT_FOLLOWLOCATION => true, 9721 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 9722 + CURLOPT_CUSTOMREQUEST => 'GET', 9723 + CURLOPT_HTTPHEADER => array( 9724 + 'Appkey: {{ONECOUNT API KEY}}' 9725 + ), 9726 +)); 2883 2883 2884 -(% class="western" %) 2885 -{"Name":"Test123","Description":Testss","Type":3,"Value":[”/digital/”, "/article/"],"FreePass":1} 2886 -))) 9728 +$response = curl_exec($curl); 2887 2887 2888 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2889 -((( 2890 -(% class="western" %) 2891 -**Response** 2892 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2893 -((( 2894 -(% class="western" %) 2895 -**Type** 2896 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2897 -((( 2898 -(% class="western" %) 2899 -**Description** 2900 -))) 2901 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2902 -((( 2903 -(% class="western" %) 2904 -ResourceId 2905 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2906 -((( 2907 -(% class="western" %) 2908 -int 2909 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2910 -((( 2911 -(% class="western" %) 2912 -Resource Id of the newly created resource. 2913 -))) 9730 +curl_close($curl); 9731 +echo $response; 9732 +{{/code}} 2914 2914 2915 -\\ 2916 2916 2917 -(% class="western" %) 2918 -PUT method should be used to update an individual resource given the resource info. 9735 +(% style="color:#6b6b6b" %)Response 200 OK 2919 2919 2920 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2921 -((( 2922 -(% class="western" %) 2923 -**Request** 2924 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2925 -((( 2926 -(% class="western" %) 2927 -**Type** 2928 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2929 -((( 2930 -(% class="western" %) 2931 -**Description** 2932 -))) 2933 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2934 -((( 2935 -(% class="western" %) 2936 -Resources 2937 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2938 -((( 2939 -(% class="western" %) 2940 -Resource 2941 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2942 -((( 2943 -(% class="western" %) 2944 -Resource details to be updated injsonformat to be sent withrequest. Id property needs to be set to identify the resource to be updated. 9737 +{{code language="yml" theme="RDark" collapse="true" title="Get All Resource Response"}} 9738 + { 9739 + "result": { 9740 + "success": "1", 9741 + "error": { 9742 + "code": "", 9743 + "message": "" 9744 + } 9745 + }, 9746 + "Resources": [ 9747 + { 9748 + "Id": 18, 9749 + "Name": "ONEcount/GCN Staff Newsletter Resource", 9750 + "Description": "ONEcount/GCN Staff Newsletter List", 9751 + "Type": "2", 9752 + "Value": "57|53|55", 9753 + "FreePass": 0 9754 + }, 9755 + { 9756 + "Id": 26, 9757 + "Name": "GCN TEST GROUP", 9758 + "Description": "THESE USER WILL GET TEST MESSAGE", 9759 + "Type": "2", 9760 + "Value": "47", 9761 + "FreePass": 0 9762 + }, 9763 + { 9764 + "Id": 98, 9765 + "Name": "ONEcount Prospects List", 9766 + "Description": "Newsletter List of ONEcount Prospects", 9767 + "Type": "2", 9768 + "Value": "55", 9769 + "FreePass": 0 9770 + }, 9771 + { 9772 + "Id": 106, 9773 + "Name": "Google Ads Form", 9774 + "Description": "", 9775 + "Type": "3", 9776 + "Value": "http://ocreg.one-count.com/onecount/reg/registerForm.cgi?form=186&brand=OC", 9777 + "FreePass": 0 9778 + }, 9779 + { 9780 + "Id": 114, 9781 + "Name": "secure files", 9782 + "Description": "", 9783 + "Type": "3", 9784 + "Value": "/download.php", 9785 + "FreePass": 0 9786 + }, 9787 + { 9788 + "Id": 130, 9789 + "Name": "REQUEST A DEMO", 9790 + "Description": "", 9791 + "Type": "3", 9792 + "Value": "http://ocreg.one-count.com/onecount/flexreg/displayform.cgi?g=0&form=34", 9793 + "FreePass": 0 9794 + }, 9795 + { 9796 + "Id": 137, 9797 + "Name": "ONEcount Medical Publishers", 9798 + "Description": "ONEcount Medical Publishers and Associations", 9799 + "Type": "2", 9800 + "Value": "61", 9801 + "FreePass": 0 9802 + }, 9803 + { 9804 + "Id": 145, 9805 + "Name": "Pop-Up Test Page", 9806 + "Description": "", 9807 + "Type": "3", 9808 + "Value": "http://omar.gcnmedia.com/projects/form/gated.html", 9809 + "FreePass": 0 9810 + }, 9811 + { 9812 + "Id": 146, 9813 + "Name": "Platform Resource", 9814 + "Description": "Test Resource", 9815 + "Type": "3", 9816 + "Value": "/Platform", 9817 + "FreePass": 0 9818 + }, 9819 + { 9820 + "Id": 153, 9821 + "Name": "Submitted", 9822 + "Description": "", 9823 + "Type": "3", 9824 + "Value": "http://gcn-reg.onecount.net/onecount/reg/tSuccessView.php?brand=oc", 9825 + "FreePass": 0 9826 + } 9827 + ] 9828 +} 9829 +{{/code}} 2945 2945 2946 -(% class="western" %) 2947 -\\ 2948 2948 2949 -(% class=" western" %)2950 - Examples:9832 +(% id="HGETspecificResource" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 9833 +== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)specific Resource(%%) == 2951 2951 2952 -(% class="western" %) 2953 -{"Name":"Test123","Description":Testss","Type":3,"Value":”/digital/”} 9835 +---- 2954 2954 2955 -(% class="western" %) 2956 -{"Name":"Test123","Description":Testss","Type":3,"Value":[”/digital/”, "/article/"]} 9837 +{{panel bgColor="#D3D3D3" width="100%"}} 9838 + (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/resources/{(%%){Resource ID}} 9839 +{{/panel}} 2957 2957 2958 -(% class="western" %) 2959 -{"Name":"Test123","Description":Testss","Type":3,"Value":”/digital/”,"FreePass":1} 9841 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 2960 2960 2961 -(% class="western" %) 2962 -{"Name":"Test123","Description":Testss","Type":3,"Value":[”/digital/”, "/article/"],"FreePass":1} 2963 -))) 9843 +---- 2964 2964 2965 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2966 -((( 2967 -(% class="western" %) 2968 -**Response** 2969 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2970 -((( 2971 -(% class="western" %) 2972 -**Type** 2973 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2974 -((( 2975 -(% class="western" %) 2976 -**Description** 2977 -))) 2978 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2979 -((( 2980 -(% class="western" %) 2981 -ResourceId 2982 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2983 -((( 2984 -(% class="western" %) 2985 -Int 2986 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 2987 -((( 2988 -(% class="western" %) 2989 -resource id of the updated resource. 2990 -))) 9845 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 2991 2991 2992 - \\9847 +==== Example ==== 2993 2993 2994 - \\9849 +---- 2995 2995 2996 -(% class="western" %) 2997 -\\ 9851 +(% style="color:#6b6b6b" %)Request 2998 2998 2999 -(% class="western" %) 3000 -**COMPONENT: Source Codes 3001 -** 9853 +{{code language="php" theme="RDark" title="Get specific Resource Request"}} 9854 + <?php 3002 3002 9856 +$curl = curl_init(); 9857 + 9858 +curl_setopt_array($curl, array( 9859 + CURLOPT_URL => 'https://api.onecount.net/v2/resources/{{Resource ID}}', 9860 + CURLOPT_RETURNTRANSFER => true, 9861 + CURLOPT_ENCODING => '', 9862 + CURLOPT_MAXREDIRS => 10, 9863 + CURLOPT_TIMEOUT => 0, 9864 + CURLOPT_FOLLOWLOCATION => true, 9865 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 9866 + CURLOPT_CUSTOMREQUEST => 'GET', 9867 + CURLOPT_HTTPHEADER => array( 9868 + 'Appkey: {{ONECOUNT API KEY}}' 9869 + ), 9870 +)); 9871 + 9872 +$response = curl_exec($curl); 9873 + 9874 +curl_close($curl); 9875 +echo $response; 9876 +{{/code}} 9877 + 9878 + 9879 +(% style="color:#6b6b6b" %)Response 200 OK 9880 + 9881 +{{code language="yml" theme="RDark" collapse="true" title="Get specific Resource Response"}} 9882 + { 9883 + "result": { 9884 + "success": "1", 9885 + "error": { 9886 + "code": "", 9887 + "message": "" 9888 + } 9889 + }, 9890 + "Resources": [ 9891 + { 9892 + "Id": 623, 9893 + "Name": "TOP 3 THINGS - NonStop Local News", 9894 + "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.", 9895 + "Type": "2", 9896 + "Value": "", 9897 + "FreePass": 0 9898 + } 9899 + ] 9900 +} 9901 +{{/code}} 9902 + 9903 + 9904 +(% id="HGETlookupResource" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 9905 +== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)lookup Resource(%%) == 9906 + 9907 +---- 9908 + 9909 +{{panel bgColor="#D3D3D3" width="100%"}} 9910 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/resources/lookup?Name={(%%){Resource Name}} 9911 +{{/panel}} 9912 + 9913 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 9914 + 9915 +---- 9916 + 9917 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 9918 + 9919 +=== (% style="color:#212121" %)Query Params(%%) === 9920 + 9921 +---- 9922 + 9923 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Name (% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key nolink sc-fznXWL" style="color:#212121" %)~{~{Resource Name}} 9924 + 9925 +==== Example ==== 9926 + 9927 +---- 9928 + 9929 +(% style="color:#6b6b6b" %)Request 9930 + 9931 +{{code language="php" theme="RDark" title="Lookup Resource Request"}} 9932 + <?php 9933 + 9934 +$curl = curl_init(); 9935 + 9936 +curl_setopt_array($curl, array( 9937 + CURLOPT_URL => 'https://api.onecount.net/v2/resources/lookup?Name={{Resource Name}}', 9938 + CURLOPT_RETURNTRANSFER => true, 9939 + CURLOPT_ENCODING => '', 9940 + CURLOPT_MAXREDIRS => 10, 9941 + CURLOPT_TIMEOUT => 0, 9942 + CURLOPT_FOLLOWLOCATION => true, 9943 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 9944 + CURLOPT_CUSTOMREQUEST => 'GET', 9945 + CURLOPT_HTTPHEADER => array( 9946 + 'Appkey: {{ONECOUNT API KEY}}' 9947 + ), 9948 +)); 9949 + 9950 +$response = curl_exec($curl); 9951 + 9952 +curl_close($curl); 9953 +echo $response; 9954 +{{/code}} 9955 + 9956 + 9957 +(% style="color:#6b6b6b" %)Response 200 OK 9958 + 9959 +{{code language="yml" theme="RDark" collapse="true" title="Lookup Resource Response"}} 9960 + { 9961 + "result": { 9962 + "success": "1", 9963 + "error": { 9964 + "code": "", 9965 + "message": "" 9966 + } 9967 + }, 9968 + "Resources": [ 9969 + { 9970 + "Id": 479, 9971 + "Name": "Virtualization Review", 9972 + "Description": "", 9973 + "Type": "0", 9974 + "Value": "", 9975 + "FreePass": 0 9976 + } 9977 + ] 9978 +} 9979 +{{/code}} 9980 + 9981 + 9982 +(% id="HPOSTCreateResource" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 9983 +== (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#ad7a03" %)POST(% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %) Create Resource(%%) == 9984 + 9985 +---- 9986 + 9987 +{{panel bgColor="#D3D3D3" width="100%"}} 9988 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/resources 9989 +{{/panel}} 9990 + 9991 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 9992 + 9993 +---- 9994 + 9995 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 9996 + 9997 +=== (% style="color:#212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) === 9998 + 9999 +---- 10000 + 10001 +{{code language="yml" theme="RDark" title="Body"}} 10002 +{"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} 10003 +{{/code}} 10004 + 10005 +==== Example ==== 10006 + 10007 +---- 10008 + 10009 +(% style="color:#6b6b6b" %)Request 10010 + 10011 +{{code language="php" theme="RDark" title="Create Resource Request"}} 10012 + <?php 10013 + 10014 +$curl = curl_init(); 10015 + 10016 +curl_setopt_array($curl, array( 10017 + CURLOPT_URL => 'https://api.onecount.net/v2/resources', 10018 + CURLOPT_RETURNTRANSFER => true, 10019 + CURLOPT_ENCODING => '', 10020 + CURLOPT_MAXREDIRS => 10, 10021 + CURLOPT_TIMEOUT => 0, 10022 + CURLOPT_FOLLOWLOCATION => true, 10023 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 10024 + CURLOPT_CUSTOMREQUEST => 'POST', 10025 + 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}', 10026 + CURLOPT_HTTPHEADER => array( 10027 + 'Appkey: {{ONECOUNT API KEY}}' 10028 + ), 10029 +)); 10030 + 10031 +$response = curl_exec($curl); 10032 + 10033 +curl_close($curl); 10034 +echo $response; 10035 +{{/code}} 10036 + 10037 + 10038 +(% style="color:#6b6b6b" %)Response 200 OK 10039 + 10040 +{{code language="yml" theme="RDark" collapse="true" title="Create Resource Response"}} 10041 + { 10042 + "result": { 10043 + "success": "1", 10044 + "error": { 10045 + "code": "", 10046 + "message": "" 10047 + } 10048 + }, 10049 + "Resources": [ 10050 + { 10051 + "Id": 871, 10052 + "Name": "Test API product creation 21", 10053 + "Description": "Test API product creation 21", 10054 + "Type": "3", 10055 + "Value": "http://one-count.com", 10056 + "FreePass": 1 10057 + } 10058 + ] 10059 +} 10060 +{{/code}} 10061 + 10062 + 10063 +(% id="HPUTUpdateResource" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 10064 +== (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#0053b8" %)PUT (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)Update Resource(%%) == 10065 + 10066 +---- 10067 + 10068 +{{panel bgColor="#D3D3D3" width="100%"}} 10069 + (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/resources/~{~{resource id}} 10070 +{{/panel}} 10071 + 10072 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 10073 + 10074 +---- 10075 + 10076 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 10077 + 10078 +=== (% style="color:#212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) === 10079 + 10080 +---- 10081 + 10082 +{{code language="yml" theme="RDark" title="Body"}} 10083 +{"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} 10084 +{{/code}} 10085 + 10086 +==== Example ==== 10087 + 10088 +---- 10089 + 10090 +(% style="color:#6b6b6b" %)Request 10091 + 10092 +{{code language="php" theme="RDark" title="Update Resource Request"}} 10093 + <?php 10094 + 10095 +$curl = curl_init(); 10096 + 10097 +curl_setopt_array($curl, array( 10098 + CURLOPT_URL => 'https://api.onecount.net/v2/resources/{{resource id}}', 10099 + CURLOPT_RETURNTRANSFER => true, 10100 + CURLOPT_ENCODING => '', 10101 + CURLOPT_MAXREDIRS => 10, 10102 + CURLOPT_TIMEOUT => 0, 10103 + CURLOPT_FOLLOWLOCATION => true, 10104 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 10105 + CURLOPT_CUSTOMREQUEST => 'PUT', 10106 + 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}', 10107 + CURLOPT_HTTPHEADER => array( 10108 + 'Appkey: {{ONECOUNT API KEY}}' 10109 + ), 10110 +)); 10111 + 10112 +$response = curl_exec($curl); 10113 + 10114 +curl_close($curl); 10115 +echo $response; 10116 +{{/code}} 10117 + 10118 + 10119 +(% style="color:#6b6b6b" %)Response 200 OK 10120 + 10121 +{{code language="yml" theme="RDark" collapse="true" title="Update Resource Response"}} 10122 + { 10123 + "result": { 10124 + "success": "1", 10125 + "error": { 10126 + "code": "", 10127 + "message": "" 10128 + } 10129 + }, 10130 + "Resources": [ 10131 + { 10132 + "Id": 903, 10133 + "Name": "Test API product creation 23", 10134 + "Description": "Test API product creation 23", 10135 + "Type": "3", 10136 + "Value": "http://one-count.com", 10137 + "FreePass": 1 10138 + }, 10139 + { 10140 + "Id": 903, 10141 + "Name": "Test API product creation 23", 10142 + "Description": "Test API product creation 23", 10143 + "Type": "3", 10144 + "Value": "onecount.net", 10145 + "FreePass": 1 10146 + } 10147 + ] 10148 +} 10149 +{{/code}} 10150 + 10151 + 10152 +(% id="HCOMPONENT:SourceCodes" class="western" %) 10153 +=== **COMPONENT: Source Codes** === 10154 + 10155 +* 10156 +** === 10157 + 3003 3003 (% class="western" %) 3004 3004 This resource is for manipulating source code for a resource. A source code can be created, updated or searched. 3005 3005 3006 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 10161 +(% class="wrapped" %) 10162 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3007 3007 ((( 3008 3008 (% class="western" %) 3009 3009 **Method** 3010 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)10166 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3011 3011 ((( 3012 3012 (% class="western" %) 3013 3013 **Url** 3014 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)10170 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3015 3015 ((( 3016 3016 (% class="western" %) 3017 3017 **Action** 3018 3018 ))) 3019 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)10175 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3020 3020 ((( 3021 3021 (% class="western" %) 3022 3022 GET 3023 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)10179 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3024 3024 ((( 3025 3025 (% class="western" %) 3026 3026 /sources/1 3027 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)10183 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3028 3028 ((( 3029 3029 (% class="western" %) 3030 3030 Get source id 1. 3031 3031 ))) 3032 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)10188 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3033 3033 ((( 3034 3034 (% class="western" %) 3035 3035 GET 3036 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)10192 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3037 3037 ((( 3038 3038 (% class="western" %) 3039 3039 /sources/lookup?Source=sourcename 3040 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)10196 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3041 3041 ((( 3042 3042 (% class="western" %) 3043 3043 Lookup sources by source. 3044 3044 ))) 3045 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)10201 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3046 3046 ((( 3047 3047 (% class="western" %) 3048 3048 POST 3049 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)10205 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3050 3050 ((( 3051 3051 (% class="western" %) 3052 3052 /sources 3053 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)10209 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3054 3054 ((( 3055 3055 (% class="western" %) 3056 3056 JSON of the Sources type object needs to be sent as post data. Id field should not be sent. 3057 3057 ))) 3058 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)10214 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3059 3059 ((( 3060 3060 (% class="western" %) 3061 3061 PUT 3062 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)10218 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3063 3063 ((( 3064 3064 (% class="western" %) 3065 3065 /sources 3066 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)10222 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3067 3067 ((( 3068 3068 (% class="western" %) 3069 3069 JSON of the Sources type object needs to be sent as post data. Id field is mandatory for update. 3070 3070 ))) 3071 3071 3072 -\\ 3073 3073 10229 +(% id="HGETAllSourcecodes" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 10230 +== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)All Source codes(%%) == 10231 + 10232 +---- 10233 + 10234 +---- 10235 + 10236 +{{panel bgColor="#D3D3D3" width="100%"}} 10237 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/sources 10238 +{{/panel}} 10239 + 10240 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 10241 + 10242 +---- 10243 + 10244 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 10245 + 10246 +==== Example ==== 10247 + 10248 +---- 10249 + 10250 +(% style="color:#6b6b6b" %)Request 10251 + 10252 +{{code language="php" theme="RDark" title="Get All Source code Request"}} 10253 + <?php 10254 + 10255 +$curl = curl_init(); 10256 + 10257 +curl_setopt_array($curl, array( 10258 + CURLOPT_URL => 'https://api.onecount.net/v2/sources', 10259 + CURLOPT_RETURNTRANSFER => true, 10260 + CURLOPT_ENCODING => '', 10261 + CURLOPT_MAXREDIRS => 10, 10262 + CURLOPT_TIMEOUT => 0, 10263 + CURLOPT_FOLLOWLOCATION => true, 10264 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 10265 + CURLOPT_CUSTOMREQUEST => 'GET', 10266 + CURLOPT_HTTPHEADER => array( 10267 + 'Appkey: {{ONECOUNT API KEY}}' 10268 + ), 10269 +)); 10270 + 10271 +$response = curl_exec($curl); 10272 + 10273 +curl_close($curl); 10274 +echo $response; 10275 +{{/code}} 10276 + 10277 + 10278 +(% style="color:#6b6b6b" %)Response 200 OK 10279 + 10280 +{{code language="yml" theme="RDark" collapse="true" title="Get All Source code Response"}} 10281 + { 10282 + "result": { 10283 + "success": "1", 10284 + "error": { 10285 + "code": "", 10286 + "message": "" 10287 + } 10288 + }, 10289 + "Sources": [ 10290 + { 10291 + "Id": 26, 10292 + "Source": "GCN-Member", 10293 + "Description": "Uploaded from Reston VA", 10294 + "Parent": 0 10295 + }, 10296 + { 10297 + "Id": 34, 10298 + "Source": "SugarID", 10299 + "Description": "Sugar IDs cleaned contacts list and cleaned leads list sent by Sean Fulton for upload.", 10300 + "Parent": 0 10301 + }, 10302 + { 10303 + "Id": 42, 10304 + "Source": "DEMOFORM", 10305 + "Description": "\"Request a Demo\" form from one-count.com", 10306 + "Parent": 0 10307 + }, 10308 + { 10309 + "Id": 50, 10310 + "Source": "ABM ANNUAL 2014", 10311 + "Description": "ABM Annual 2014 - Registration List for Sponsors", 10312 + "Parent": 0 10313 + }, 10314 + { 10315 + "Id": 58, 10316 + "Source": "BIMS REG LIST", 10317 + "Description": "BIMS Registration List for Sponsors (2013/2014)", 10318 + "Parent": 0 10319 + }, 10320 + { 10321 + "Id": 66, 10322 + "Source": "SIPA 13", 10323 + "Description": "SIPA 2013 - sponsor - attendees", 10324 + "Parent": 0 10325 + }, 10326 + { 10327 + "Id": 74, 10328 + "Source": "Google Ads", 10329 + "Description": "From Google Banner Ads", 10330 + "Parent": 0 10331 + }, 10332 + { 10333 + "Id": 82, 10334 + "Source": "EDIT PROFILE", 10335 + "Description": "FOR EDIT PROFILE FORM", 10336 + "Parent": 0 10337 + }, 10338 + { 10339 + "Id": 83, 10340 + "Source": "Test Source Code", 10341 + "Description": "", 10342 + "Parent": 0 10343 + }, 10344 + { 10345 + "Id": 91, 10346 + "Source": "NEWSLETTER", 10347 + "Description": "Newsletter", 10348 + "Parent": 0 10349 + }, 10350 + { 10351 + "Id": 99, 10352 + "Source": "INFOTANKS-comps-only_12032019", 10353 + "Description": "", 10354 + "Parent": 0 10355 + }, 10356 + { 10357 + "Id": 107, 10358 + "Source": "INFOTANKS-DMP-only_12102019", 10359 + "Description": "", 10360 + "Parent": 0 10361 + }, 10362 + { 10363 + "Id": 109, 10364 + "Source": "BMVM", 10365 + "Description": "Active Attendees", 10366 + "Parent": 0 10367 + }, 10368 + { 10369 + "Id": 115, 10370 + "Source": "USECASES", 10371 + "Description": "Use Case PDF", 10372 + "Parent": 0 10373 + }, 10374 + { 10375 + "Id": 123, 10376 + "Source": "Borrell Miami 2022", 10377 + "Description": "", 10378 + "Parent": 0 10379 + }, 10380 + { 10381 + "Id": 131, 10382 + "Source": "05092022-telemarketing", 10383 + "Description": "", 10384 + "Parent": 0 10385 + }, 10386 + { 10387 + "Id": 139, 10388 + "Source": "WEBINAR6.15.22", 10389 + "Description": "Live Webinar Series June 15, 2022", 10390 + "Parent": 0 10391 + }, 10392 + { 10393 + "Id": 147, 10394 + "Source": "LMA Show List", 10395 + "Description": "", 10396 + "Parent": 0 10397 + }, 10398 + { 10399 + "Id": 155, 10400 + "Source": "AAA", 10401 + "Description": "", 10402 + "Parent": 0 10403 + }, 10404 + { 10405 + "Id": 163, 10406 + "Source": "MGS2022", 10407 + "Description": "", 10408 + "Parent": 0 10409 + }, 10410 + { 10411 + "Id": 171, 10412 + "Source": "MGS2023", 10413 + "Description": "", 10414 + "Parent": 0 10415 + }, 10416 + { 10417 + "Id": 179, 10418 + "Source": "Sugar Leads", 10419 + "Description": "", 10420 + "Parent": 0 10421 + }, 10422 + { 10423 + "Id": 187, 10424 + "Source": "seansbox", 10425 + "Description": "", 10426 + "Parent": 0 10427 + }, 10428 + { 10429 + "Id": 191, 10430 + "Source": "SEEITLIVE", 10431 + "Description": "Lunch & Learn Webinar Series with Special Partner Guests", 10432 + "Parent": 0 10433 + }, 10434 + { 10435 + "Id": 199, 10436 + "Source": "80-percent-conversion-rates", 10437 + "Description": "", 10438 + "Parent": 0 10439 + } 10440 + ] 10441 +} 10442 +{{/code}} 10443 + 10444 + 10445 +(% id="HGETspecificSourcecode" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 10446 +== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)specific Source code(%%) == 10447 + 10448 +---- 10449 + 10450 +{{panel bgColor="#D3D3D3" width="100%"}} 10451 + (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/sources/~{~{source code id}} 10452 +{{/panel}} 10453 + 10454 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 10455 + 10456 +---- 10457 + 10458 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 10459 + 10460 +==== Example ==== 10461 + 10462 +---- 10463 + 10464 +(% style="color:#6b6b6b" %)Request 10465 + 10466 +{{code language="php" theme="RDark" title="Get specific Source Request"}} 10467 + <?php 10468 + 10469 +$curl = curl_init(); 10470 + 10471 +curl_setopt_array($curl, array( 10472 + CURLOPT_URL => 'https://api.onecount.net/v2/sources/{{source code id}}', 10473 + CURLOPT_RETURNTRANSFER => true, 10474 + CURLOPT_ENCODING => '', 10475 + CURLOPT_MAXREDIRS => 10, 10476 + CURLOPT_TIMEOUT => 0, 10477 + CURLOPT_FOLLOWLOCATION => true, 10478 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 10479 + CURLOPT_CUSTOMREQUEST => 'GET', 10480 + CURLOPT_HTTPHEADER => array( 10481 + 'Appkey: {{ONECOUNT API KEY}}' 10482 + ), 10483 +)); 10484 + 10485 +$response = curl_exec($curl); 10486 + 10487 +curl_close($curl); 10488 +echo $response; 10489 +{{/code}} 10490 + 10491 + 10492 +(% style="color:#6b6b6b" %)Response 200 OK 10493 + 10494 +{{code language="yml" theme="RDark" collapse="true" title="Get specific Source Response"}} 10495 + { 10496 + "result": { 10497 + "success": "1", 10498 + "error": { 10499 + "code": "", 10500 + "message": "" 10501 + } 10502 + }, 10503 + "Sources": [ 10504 + { 10505 + "Id": 26, 10506 + "Source": "GCN-Member", 10507 + "Description": "Uploaded from Reston VA", 10508 + "Parent": 0 10509 + } 10510 + ] 10511 +} 10512 +{{/code}} 10513 + 10514 + 10515 +(% id="HGETlookupSourcecode" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 10516 +== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)lookup Source code(%%) == 10517 + 10518 +---- 10519 + 10520 +{{panel bgColor="#D3D3D3" width="100%"}} 10521 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/sources/lookup?Source={(%%){Source code Name}} 10522 +{{/panel}} 10523 + 10524 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 10525 + 10526 +---- 10527 + 10528 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 10529 + 10530 +=== (% style="color:#212121" %)Query Params(%%) === 10531 + 10532 +---- 10533 + 10534 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Source (% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key nolink sc-fznXWL" style="color:#212121" %)~{~{Source code Name}} 10535 + 10536 +==== Example ==== 10537 + 10538 +---- 10539 + 10540 +(% style="color:#6b6b6b" %)Request 10541 + 10542 +{{code language="php" theme="RDark" title="Lookup Source code Request"}} 10543 + <?php 10544 + 10545 +$curl = curl_init(); 10546 + 10547 +curl_setopt_array($curl, array( 10548 + CURLOPT_URL => 'https://api.onecount.net/v2/sources/lookup?Source={{Source code Name}}', 10549 + CURLOPT_RETURNTRANSFER => true, 10550 + CURLOPT_ENCODING => '', 10551 + CURLOPT_MAXREDIRS => 10, 10552 + CURLOPT_TIMEOUT => 0, 10553 + CURLOPT_FOLLOWLOCATION => true, 10554 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 10555 + CURLOPT_CUSTOMREQUEST => 'GET', 10556 + CURLOPT_HTTPHEADER => array( 10557 + 'Appkey: {{ONECOUNT API KEY}}' 10558 + ), 10559 +)); 10560 + 10561 +$response = curl_exec($curl); 10562 + 10563 +curl_close($curl); 10564 +echo $response; 10565 +{{/code}} 10566 + 10567 + 10568 +(% style="color:#6b6b6b" %)Response 200 OK 10569 + 10570 +{{code language="yml" theme="RDark" collapse="true" title="Lookup Source code Response"}} 10571 + { 10572 + "result": { 10573 + "success": "1", 10574 + "error": { 10575 + "code": "", 10576 + "message": "" 10577 + } 10578 + }, 10579 + "Sources": [ 10580 + { 10581 + "Id": 26, 10582 + "Source": "GCN-Member", 10583 + "Description": "Uploaded from Reston VA", 10584 + "Parent": 0 10585 + } 10586 + ] 10587 +} 10588 +{{/code}} 10589 + 10590 + 10591 +(% id="HPOSTCreateSourcecode" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 10592 +== (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#ad7a03" %)POST(% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %) Create Source code(%%) == 10593 + 10594 +---- 10595 + 10596 +{{panel bgColor="#D3D3D3" width="100%"}} 10597 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/sources 10598 +{{/panel}} 10599 + 10600 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 10601 + 10602 +---- 10603 + 10604 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 10605 + 10606 +=== (% style="color:#212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) === 10607 + 10608 +---- 10609 + 10610 +{{code language="yml" theme="RDark" title="Body"}} 10611 +{"Source":"Test source code from API"} 10612 +{{/code}} 10613 + 10614 +==== Example ==== 10615 + 10616 +---- 10617 + 10618 +(% style="color:#6b6b6b" %)Request 10619 + 10620 +{{code language="php" theme="RDark" title="Create Source code Request"}} 10621 + <?php 10622 + 10623 +$curl = curl_init(); 10624 + 10625 +curl_setopt_array($curl, array( 10626 + CURLOPT_URL => 'https://api.onecount.net/v2/sources', 10627 + CURLOPT_RETURNTRANSFER => true, 10628 + CURLOPT_ENCODING => '', 10629 + CURLOPT_MAXREDIRS => 10, 10630 + CURLOPT_TIMEOUT => 0, 10631 + CURLOPT_FOLLOWLOCATION => true, 10632 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 10633 + CURLOPT_CUSTOMREQUEST => 'POST', 10634 + CURLOPT_POSTFIELDS =>'{"Source":"Test source code from API"}', 10635 + CURLOPT_HTTPHEADER => array( 10636 + 'Appkey: {{ONECOUNT API KEY}}' 10637 + ), 10638 +)); 10639 + 10640 +$response = curl_exec($curl); 10641 + 10642 +curl_close($curl); 10643 +echo $response; 10644 +{{/code}} 10645 + 10646 + 10647 +(% style="color:#6b6b6b" %)Response 200 OK 10648 + 10649 +{{code language="yml" theme="RDark" collapse="true" title="Create Source code Response"}} 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 +(% id="HPUTUpdateSourcecode" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 10671 +== (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#0053b8" %)PUT (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)Update Source code(%%) == 10672 + 10673 +---- 10674 + 10675 +{{panel bgColor="#D3D3D3" width="100%"}} 10676 + (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/sources/~{~{source code id}} 10677 +{{/panel}} 10678 + 10679 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 10680 + 10681 +---- 10682 + 10683 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 10684 + 10685 +=== (% style="color:#212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) === 10686 + 10687 +---- 10688 + 10689 +{{code language="yml" theme="RDark" title="Body"}} 10690 +{"Source":"Test API","Parent":215} 10691 +{{/code}} 10692 + 10693 +==== Example ==== 10694 + 10695 +---- 10696 + 10697 +(% style="color:#6b6b6b" %)Request 10698 + 10699 +{{code language="php" theme="RDark" title="Update Source code Request"}} 10700 + <?php 10701 + 10702 +$curl = curl_init(); 10703 + 10704 +curl_setopt_array($curl, array( 10705 + CURLOPT_URL => 'https://api.onecount.net/v2/sources/{{source code id}}', 10706 + CURLOPT_RETURNTRANSFER => true, 10707 + CURLOPT_ENCODING => '', 10708 + CURLOPT_MAXREDIRS => 10, 10709 + CURLOPT_TIMEOUT => 0, 10710 + CURLOPT_FOLLOWLOCATION => true, 10711 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 10712 + CURLOPT_CUSTOMREQUEST => 'PUT', 10713 + CURLOPT_POSTFIELDS =>'{"Source":"Test API","Parent":215}', 10714 + CURLOPT_HTTPHEADER => array( 10715 + 'Appkey: {{ONECOUNT API KEY}}' 10716 + ), 10717 +)); 10718 + 10719 +$response = curl_exec($curl); 10720 + 10721 +curl_close($curl); 10722 +echo $response; 10723 +{{/code}} 10724 + 10725 + 10726 +(% style="color:#6b6b6b" %)Response 200 OK 10727 + 10728 +{{code language="yml" theme="RDark" collapse="true" title="Update Source code Response"}} 10729 + { 10730 + "result": { 10731 + "success": "1", 10732 + "error": { 10733 + "code": "", 10734 + "message": "" 10735 + } 10736 + }, 10737 + "Sources": [ 10738 + { 10739 + "Id": 223, 10740 + "Source": "Test API", 10741 + "Description": "", 10742 + "Parent": 215 10743 + } 10744 + ] 10745 +} 10746 +{{/code}} 10747 + 10748 + 10749 +(% id="HCOMPONENT:Transactions" class="western" %) 10750 +=== **COMPONENT: Transactions** === 10751 + 3074 3074 (% class="western" %) 3075 - **Sourcescan be lookedupgiven thecodeorId.GETmethodshouldbeusedforlookup.**10753 +This resource is for manipulating transactions resource. A transaction can be created or searched. 3076 3076 3077 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 10755 +(% class="wrapped" %) 10756 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3078 3078 ((( 3079 3079 (% class="western" %) 3080 -** Request**3081 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)10759 +**Method** 10760 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3082 3082 ((( 3083 3083 (% class="western" %) 3084 -** Type**3085 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)10763 +**Url** 10764 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3086 3086 ((( 3087 3087 (% class="western" %) 3088 -** Description**10767 +**Action** 3089 3089 ))) 3090 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)10769 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3091 3091 ((( 3092 3092 (% class="western" %) 3093 - Lookup params3094 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)10772 +GET 10773 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3095 3095 ((( 3096 3096 (% class="western" %) 3097 - String3098 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)10776 +/transactions 10777 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3099 3099 ((( 3100 3100 (% class="western" %) 3101 -URL encoded key value string parameter for the lookup. 3102 - 3103 -(% class="western" %) 3104 -Params: 3105 - 3106 -(% class="western" %) 3107 -Source: Source value (String) 10780 +List all transactions 3108 3108 ))) 3109 - 3110 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 10782 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3111 3111 ((( 3112 3112 (% class="western" %) 3113 - **Response**3114 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)10785 +GET 10786 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3115 3115 ((( 3116 3116 (% class="western" %) 3117 - **Type**3118 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)10789 +/transactions/lookup?UserId=1 10790 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3119 3119 ((( 3120 3120 (% class="western" %) 3121 - **Description**10793 +Lookup all transaction of UserId = 1 3122 3122 ))) 3123 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)10795 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3124 3124 ((( 3125 3125 (% class="western" %) 3126 -S ources3127 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)10798 +POST 10799 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3128 3128 ((( 3129 3129 (% class="western" %) 3130 - Sources3131 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)10802 +/transactions 10803 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3132 3132 ((( 3133 3133 (% class="western" %) 3134 - Returnsfoundurcedetails.10806 +JSON of the Transactions type object needs to be sent as post data. Id field should not be sent. 3135 3135 ))) 3136 3136 3137 -\\ 3138 3138 3139 -(% class="western" %)3140 - \\10810 +(% id="HGETAllTransactions" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 10811 +== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)All Transactions(%%) == 3141 3141 10813 +---- 10814 + 10815 +---- 10816 + 10817 +{{panel bgColor="#D3D3D3" width="100%"}} 10818 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/transactions 10819 +{{/panel}} 10820 + 10821 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 10822 + 10823 +---- 10824 + 10825 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 10826 + 10827 +==== Example ==== 10828 + 10829 +---- 10830 + 10831 +(% style="color:#6b6b6b" %)Request 10832 + 10833 +{{code language="php" theme="RDark" title="Get All Transaction Request"}} 10834 + <?php 10835 + 10836 +$curl = curl_init(); 10837 + 10838 +curl_setopt_array($curl, array( 10839 + CURLOPT_URL => 'https://api.onecount.net/v2/transactions', 10840 + CURLOPT_RETURNTRANSFER => true, 10841 + CURLOPT_ENCODING => '', 10842 + CURLOPT_MAXREDIRS => 10, 10843 + CURLOPT_TIMEOUT => 0, 10844 + CURLOPT_FOLLOWLOCATION => true, 10845 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 10846 + CURLOPT_CUSTOMREQUEST => 'GET', 10847 + CURLOPT_HTTPHEADER => array( 10848 + 'Appkey: {{ONECOUNT API KEY}}' 10849 + ), 10850 +)); 10851 + 10852 +$response = curl_exec($curl); 10853 + 10854 +curl_close($curl); 10855 +echo $response; 10856 +{{/code}} 10857 + 10858 + 10859 +(% style="color:#6b6b6b" %)Response 200 OK 10860 + 10861 +{{code language="yml" theme="RDark" collapse="true" title="Get All Transaction Response"}} 10862 + { 10863 + "result": { 10864 + "success": "1", 10865 + "error": { 10866 + "code": "", 10867 + "message": "" 10868 + } 10869 + }, 10870 + "Transactions": [ 10871 + { 10872 + "Id": 10, 10873 + "UserId": 10, 10874 + "TermId": 2, 10875 + "TransactionDate": "2014-07-17", 10876 + "TransactionTime": "10:02:13", 10877 + "RequestDate": "2014-07-17", 10878 + "UserIP": "74.201.38.1", 10879 + "SubscriptionType": "n", 10880 + "ProductId": 2, 10881 + "Source": 10, 10882 + "ProductStatus": 2, 10883 + "MediaFilePath": "", 10884 + "Amount": "" 10885 + }, 10886 + { 10887 + "Id": 26, 10888 + "UserId": 10, 10889 + "TermId": 2, 10890 + "TransactionDate": "2014-07-17", 10891 + "TransactionTime": "10:41:59", 10892 + "RequestDate": "2014-07-17", 10893 + "UserIP": "74.201.38.1", 10894 + "SubscriptionType": "r", 10895 + "ProductId": 2, 10896 + "Source": 10, 10897 + "ProductStatus": 2, 10898 + "MediaFilePath": "", 10899 + "Amount": "" 10900 + }, 10901 + { 10902 + "Id": 50, 10903 + "UserId": 26, 10904 + "TermId": 2, 10905 + "TransactionDate": "2014-07-17", 10906 + "TransactionTime": "12:25:38", 10907 + "RequestDate": "2014-07-17", 10908 + "UserIP": "74.201.38.1", 10909 + "SubscriptionType": "n", 10910 + "ProductId": 2, 10911 + "Source": 10, 10912 + "ProductStatus": 2, 10913 + "MediaFilePath": "", 10914 + "Amount": "" 10915 + }, 10916 + { 10917 + "Id": 58, 10918 + "UserId": 10, 10919 + "TermId": 2, 10920 + "TransactionDate": "2014-07-17", 10921 + "TransactionTime": "12:25:43", 10922 + "RequestDate": "2014-07-17", 10923 + "UserIP": "74.201.38.1", 10924 + "SubscriptionType": "r", 10925 + "ProductId": 2, 10926 + "Source": 10, 10927 + "ProductStatus": 2, 10928 + "MediaFilePath": "", 10929 + "Amount": "" 10930 + }, 10931 + { 10932 + "Id": 66, 10933 + "UserId": 42, 10934 + "TermId": 2, 10935 + "TransactionDate": "2014-07-17", 10936 + "TransactionTime": "12:57:11", 10937 + "RequestDate": "2014-07-17", 10938 + "UserIP": "74.201.38.1", 10939 + "SubscriptionType": "n", 10940 + "ProductId": 2, 10941 + "Source": 26, 10942 + "ProductStatus": 2, 10943 + "MediaFilePath": "", 10944 + "Amount": "" 10945 + }, 10946 + { 10947 + "Id": 74, 10948 + "UserId": 50, 10949 + "TermId": 2, 10950 + "TransactionDate": "2014-07-17", 10951 + "TransactionTime": "12:57:11", 10952 + "RequestDate": "2014-07-17", 10953 + "UserIP": "74.201.38.1", 10954 + "SubscriptionType": "n", 10955 + "ProductId": 2, 10956 + "Source": 26, 10957 + "ProductStatus": 2, 10958 + "MediaFilePath": "", 10959 + "Amount": "" 10960 + }, 10961 + { 10962 + "Id": 82, 10963 + "UserId": 58, 10964 + "TermId": 2, 10965 + "TransactionDate": "2014-07-17", 10966 + "TransactionTime": "12:57:11", 10967 + "RequestDate": "2014-07-17", 10968 + "UserIP": "74.201.38.1", 10969 + "SubscriptionType": "n", 10970 + "ProductId": 2, 10971 + "Source": 26, 10972 + "ProductStatus": 2, 10973 + "MediaFilePath": "", 10974 + "Amount": "" 10975 + }, 10976 + { 10977 + "Id": 90, 10978 + "UserId": 66, 10979 + "TermId": 2, 10980 + "TransactionDate": "2014-07-17", 10981 + "TransactionTime": "12:57:11", 10982 + "RequestDate": "2014-07-17", 10983 + "UserIP": "74.201.38.1", 10984 + "SubscriptionType": "n", 10985 + "ProductId": 2, 10986 + "Source": 26, 10987 + "ProductStatus": 2, 10988 + "MediaFilePath": "", 10989 + "Amount": "" 10990 + }, 10991 + { 10992 + "Id": 98, 10993 + "UserId": 74, 10994 + "TermId": 2, 10995 + "TransactionDate": "2014-07-17", 10996 + "TransactionTime": "12:57:11", 10997 + "RequestDate": "2014-07-17", 10998 + "UserIP": "74.201.38.1", 10999 + "SubscriptionType": "n", 11000 + "ProductId": 2, 11001 + "Source": 26, 11002 + "ProductStatus": 2, 11003 + "MediaFilePath": "", 11004 + "Amount": "" 11005 + }, 11006 + { 11007 + "Id": 106, 11008 + "UserId": 82, 11009 + "TermId": 2, 11010 + "TransactionDate": "2014-07-17", 11011 + "TransactionTime": "12:57:11", 11012 + "RequestDate": "2014-07-17", 11013 + "UserIP": "74.201.38.1", 11014 + "SubscriptionType": "n", 11015 + "ProductId": 2, 11016 + "Source": 26, 11017 + "ProductStatus": 2, 11018 + "MediaFilePath": "", 11019 + "Amount": "" 11020 + }, 11021 + { 11022 + "Id": 114, 11023 + "UserId": 90, 11024 + "TermId": 2, 11025 + "TransactionDate": "2014-07-17", 11026 + "TransactionTime": "12:57:11", 11027 + "RequestDate": "2014-07-17", 11028 + "UserIP": "74.201.38.1", 11029 + "SubscriptionType": "n", 11030 + "ProductId": 2, 11031 + "Source": 26, 11032 + "ProductStatus": 2, 11033 + "MediaFilePath": "", 11034 + "Amount": "" 11035 + }, 11036 + { 11037 + "Id": 122, 11038 + "UserId": 98, 11039 + "TermId": 2, 11040 + "TransactionDate": "2014-07-17", 11041 + "TransactionTime": "12:57:11", 11042 + "RequestDate": "2014-07-17", 11043 + "UserIP": "74.201.38.1", 11044 + "SubscriptionType": "n", 11045 + "ProductId": 2, 11046 + "Source": 26, 11047 + "ProductStatus": 2, 11048 + "MediaFilePath": "", 11049 + "Amount": "" 11050 + }, 11051 + { 11052 + "Id": 130, 11053 + "UserId": 42, 11054 + "TermId": 2, 11055 + "TransactionDate": "2014-07-17", 11056 + "TransactionTime": "12:59:10", 11057 + "RequestDate": "2014-07-17", 11058 + "UserIP": "74.201.38.1", 11059 + "SubscriptionType": "r", 11060 + "ProductId": 2, 11061 + "Source": 10, 11062 + "ProductStatus": 2, 11063 + "MediaFilePath": "", 11064 + "Amount": "" 11065 + }, 11066 + { 11067 + "Id": 138, 11068 + "UserId": 50, 11069 + "TermId": 2, 11070 + "TransactionDate": "2014-07-17", 11071 + "TransactionTime": "12:59:10", 11072 + "RequestDate": "2014-07-17", 11073 + "UserIP": "74.201.38.1", 11074 + "SubscriptionType": "r", 11075 + "ProductId": 2, 11076 + "Source": 10, 11077 + "ProductStatus": 2, 11078 + "MediaFilePath": "", 11079 + "Amount": "" 11080 + }, 11081 + { 11082 + "Id": 146, 11083 + "UserId": 58, 11084 + "TermId": 2, 11085 + "TransactionDate": "2014-07-17", 11086 + "TransactionTime": "12:59:10", 11087 + "RequestDate": "2014-07-17", 11088 + "UserIP": "74.201.38.1", 11089 + "SubscriptionType": "r", 11090 + "ProductId": 2, 11091 + "Source": 10, 11092 + "ProductStatus": 2, 11093 + "MediaFilePath": "", 11094 + "Amount": "" 11095 + }, 11096 + { 11097 + "Id": 154, 11098 + "UserId": 66, 11099 + "TermId": 2, 11100 + "TransactionDate": "2014-07-17", 11101 + "TransactionTime": "12:59:10", 11102 + "RequestDate": "2014-07-17", 11103 + "UserIP": "74.201.38.1", 11104 + "SubscriptionType": "r", 11105 + "ProductId": 2, 11106 + "Source": 10, 11107 + "ProductStatus": 2, 11108 + "MediaFilePath": "", 11109 + "Amount": "" 11110 + }, 11111 + { 11112 + "Id": 162, 11113 + "UserId": 74, 11114 + "TermId": 2, 11115 + "TransactionDate": "2014-07-17", 11116 + "TransactionTime": "12:59:10", 11117 + "RequestDate": "2014-07-17", 11118 + "UserIP": "74.201.38.1", 11119 + "SubscriptionType": "r", 11120 + "ProductId": 2, 11121 + "Source": 10, 11122 + "ProductStatus": 2, 11123 + "MediaFilePath": "", 11124 + "Amount": "" 11125 + }, 11126 + { 11127 + "Id": 170, 11128 + "UserId": 82, 11129 + "TermId": 2, 11130 + "TransactionDate": "2014-07-17", 11131 + "TransactionTime": "12:59:10", 11132 + "RequestDate": "2014-07-17", 11133 + "UserIP": "74.201.38.1", 11134 + "SubscriptionType": "r", 11135 + "ProductId": 2, 11136 + "Source": 10, 11137 + "ProductStatus": 2, 11138 + "MediaFilePath": "", 11139 + "Amount": "" 11140 + }, 11141 + { 11142 + "Id": 178, 11143 + "UserId": 90, 11144 + "TermId": 2, 11145 + "TransactionDate": "2014-07-17", 11146 + "TransactionTime": "12:59:10", 11147 + "RequestDate": "2014-07-17", 11148 + "UserIP": "74.201.38.1", 11149 + "SubscriptionType": "r", 11150 + "ProductId": 2, 11151 + "Source": 10, 11152 + "ProductStatus": 2, 11153 + "MediaFilePath": "", 11154 + "Amount": "" 11155 + }, 11156 + { 11157 + "Id": 186, 11158 + "UserId": 98, 11159 + "TermId": 2, 11160 + "TransactionDate": "2014-07-17", 11161 + "TransactionTime": "12:59:10", 11162 + "RequestDate": "2014-07-17", 11163 + "UserIP": "74.201.38.1", 11164 + "SubscriptionType": "r", 11165 + "ProductId": 2, 11166 + "Source": 10, 11167 + "ProductStatus": 2, 11168 + "MediaFilePath": "", 11169 + "Amount": "" 11170 + }, 11171 + { 11172 + "Id": 194, 11173 + "UserId": 162, 11174 + "TermId": 2, 11175 + "TransactionDate": "2014-07-17", 11176 + "TransactionTime": "13:00:42", 11177 + "RequestDate": "2014-07-17", 11178 + "UserIP": "74.201.38.1", 11179 + "SubscriptionType": "n", 11180 + "ProductId": 2, 11181 + "Source": 10, 11182 + "ProductStatus": 2, 11183 + "MediaFilePath": "", 11184 + "Amount": "" 11185 + }, 11186 + { 11187 + "Id": 202, 11188 + "UserId": 170, 11189 + "TermId": 2, 11190 + "TransactionDate": "2014-07-17", 11191 + "TransactionTime": "13:00:42", 11192 + "RequestDate": "2014-07-17", 11193 + "UserIP": "74.201.38.1", 11194 + "SubscriptionType": "n", 11195 + "ProductId": 2, 11196 + "Source": 10, 11197 + "ProductStatus": 2, 11198 + "MediaFilePath": "", 11199 + "Amount": "" 11200 + }, 11201 + { 11202 + "Id": 210, 11203 + "UserId": 178, 11204 + "TermId": 2, 11205 + "TransactionDate": "2014-07-17", 11206 + "TransactionTime": "13:00:42", 11207 + "RequestDate": "2014-07-17", 11208 + "UserIP": "74.201.38.1", 11209 + "SubscriptionType": "n", 11210 + "ProductId": 2, 11211 + "Source": 10, 11212 + "ProductStatus": 2, 11213 + "MediaFilePath": "", 11214 + "Amount": "" 11215 + }, 11216 + { 11217 + "Id": 218, 11218 + "UserId": 186, 11219 + "TermId": 2, 11220 + "TransactionDate": "2014-07-17", 11221 + "TransactionTime": "13:00:42", 11222 + "RequestDate": "2014-07-17", 11223 + "UserIP": "74.201.38.1", 11224 + "SubscriptionType": "n", 11225 + "ProductId": 2, 11226 + "Source": 10, 11227 + "ProductStatus": 2, 11228 + "MediaFilePath": "", 11229 + "Amount": "" 11230 + }, 11231 + { 11232 + "Id": 226, 11233 + "UserId": 194, 11234 + "TermId": 2, 11235 + "TransactionDate": "2014-07-17", 11236 + "TransactionTime": "13:00:42", 11237 + "RequestDate": "2014-07-17", 11238 + "UserIP": "74.201.38.1", 11239 + "SubscriptionType": "n", 11240 + "ProductId": 2, 11241 + "Source": 10, 11242 + "ProductStatus": 2, 11243 + "MediaFilePath": "", 11244 + "Amount": "" 11245 + }, 11246 + { 11247 + "Id": 234, 11248 + "UserId": 202, 11249 + "TermId": 2, 11250 + "TransactionDate": "2014-07-17", 11251 + "TransactionTime": "13:00:42", 11252 + "RequestDate": "2014-07-17", 11253 + "UserIP": "74.201.38.1", 11254 + "SubscriptionType": "n", 11255 + "ProductId": 2, 11256 + "Source": 10, 11257 + "ProductStatus": 2, 11258 + "MediaFilePath": "", 11259 + "Amount": "" 11260 + }, 11261 + { 11262 + "Id": 242, 11263 + "UserId": 210, 11264 + "TermId": 2, 11265 + "TransactionDate": "2014-07-17", 11266 + "TransactionTime": "13:00:42", 11267 + "RequestDate": "2014-07-17", 11268 + "UserIP": "74.201.38.1", 11269 + "SubscriptionType": "n", 11270 + "ProductId": 2, 11271 + "Source": 10, 11272 + "ProductStatus": 2, 11273 + "MediaFilePath": "", 11274 + "Amount": "" 11275 + }, 11276 + { 11277 + "Id": 250, 11278 + "UserId": 218, 11279 + "TermId": 2, 11280 + "TransactionDate": "2014-07-17", 11281 + "TransactionTime": "13:00:42", 11282 + "RequestDate": "2014-07-17", 11283 + "UserIP": "74.201.38.1", 11284 + "SubscriptionType": "n", 11285 + "ProductId": 2, 11286 + "Source": 10, 11287 + "ProductStatus": 2, 11288 + "MediaFilePath": "", 11289 + "Amount": "" 11290 + }, 11291 + { 11292 + "Id": 258, 11293 + "UserId": 282, 11294 + "TermId": 2, 11295 + "TransactionDate": "2014-07-17", 11296 + "TransactionTime": "13:02:19", 11297 + "RequestDate": "2014-07-17", 11298 + "UserIP": "74.201.38.1", 11299 + "SubscriptionType": "n", 11300 + "ProductId": 2, 11301 + "Source": 10, 11302 + "ProductStatus": 2, 11303 + "MediaFilePath": "", 11304 + "Amount": "" 11305 + }, 11306 + { 11307 + "Id": 266, 11308 + "UserId": 290, 11309 + "TermId": 2, 11310 + "TransactionDate": "2014-07-17", 11311 + "TransactionTime": "13:02:19", 11312 + "RequestDate": "2014-07-17", 11313 + "UserIP": "74.201.38.1", 11314 + "SubscriptionType": "n", 11315 + "ProductId": 2, 11316 + "Source": 10, 11317 + "ProductStatus": 2, 11318 + "MediaFilePath": "", 11319 + "Amount": "" 11320 + }, 11321 + { 11322 + "Id": 274, 11323 + "UserId": 298, 11324 + "TermId": 2, 11325 + "TransactionDate": "2014-07-17", 11326 + "TransactionTime": "13:02:19", 11327 + "RequestDate": "2014-07-17", 11328 + "UserIP": "74.201.38.1", 11329 + "SubscriptionType": "n", 11330 + "ProductId": 2, 11331 + "Source": 10, 11332 + "ProductStatus": 2, 11333 + "MediaFilePath": "", 11334 + "Amount": "" 11335 + }, 11336 + { 11337 + "Id": 282, 11338 + "UserId": 306, 11339 + "TermId": 2, 11340 + "TransactionDate": "2014-07-17", 11341 + "TransactionTime": "13:02:19", 11342 + "RequestDate": "2014-07-17", 11343 + "UserIP": "74.201.38.1", 11344 + "SubscriptionType": "n", 11345 + "ProductId": 2, 11346 + "Source": 10, 11347 + "ProductStatus": 2, 11348 + "MediaFilePath": "", 11349 + "Amount": "" 11350 + }, 11351 + { 11352 + "Id": 290, 11353 + "UserId": 314, 11354 + "TermId": 2, 11355 + "TransactionDate": "2014-07-17", 11356 + "TransactionTime": "13:02:19", 11357 + "RequestDate": "2014-07-17", 11358 + "UserIP": "74.201.38.1", 11359 + "SubscriptionType": "n", 11360 + "ProductId": 2, 11361 + "Source": 10, 11362 + "ProductStatus": 2, 11363 + "MediaFilePath": "", 11364 + "Amount": "" 11365 + }, 11366 + { 11367 + "Id": 298, 11368 + "UserId": 322, 11369 + "TermId": 2, 11370 + "TransactionDate": "2014-07-17", 11371 + "TransactionTime": "13:02:19", 11372 + "RequestDate": "2014-07-17", 11373 + "UserIP": "74.201.38.1", 11374 + "SubscriptionType": "n", 11375 + "ProductId": 2, 11376 + "Source": 10, 11377 + "ProductStatus": 2, 11378 + "MediaFilePath": "", 11379 + "Amount": "" 11380 + }, 11381 + { 11382 + "Id": 306, 11383 + "UserId": 330, 11384 + "TermId": 2, 11385 + "TransactionDate": "2014-07-17", 11386 + "TransactionTime": "13:02:19", 11387 + "RequestDate": "2014-07-17", 11388 + "UserIP": "74.201.38.1", 11389 + "SubscriptionType": "n", 11390 + "ProductId": 2, 11391 + "Source": 10, 11392 + "ProductStatus": 2, 11393 + "MediaFilePath": "", 11394 + "Amount": "" 11395 + }, 11396 + { 11397 + "Id": 466, 11398 + "UserId": 698, 11399 + "TermId": 2, 11400 + "TransactionDate": "2014-07-17", 11401 + "TransactionTime": "13:13:06", 11402 + "RequestDate": "2014-07-17", 11403 + "UserIP": "74.201.38.1", 11404 + "SubscriptionType": "n", 11405 + "ProductId": 2, 11406 + "Source": 26, 11407 + "ProductStatus": 2, 11408 + "MediaFilePath": "", 11409 + "Amount": "" 11410 + }, 11411 + { 11412 + "Id": 474, 11413 + "UserId": 706, 11414 + "TermId": 2, 11415 + "TransactionDate": "2014-07-17", 11416 + "TransactionTime": "13:13:06", 11417 + "RequestDate": "2014-07-17", 11418 + "UserIP": "74.201.38.1", 11419 + "SubscriptionType": "n", 11420 + "ProductId": 2, 11421 + "Source": 26, 11422 + "ProductStatus": 2, 11423 + "MediaFilePath": "", 11424 + "Amount": "" 11425 + }, 11426 + { 11427 + "Id": 482, 11428 + "UserId": 714, 11429 + "TermId": 2, 11430 + "TransactionDate": "2014-07-17", 11431 + "TransactionTime": "13:13:06", 11432 + "RequestDate": "2014-07-17", 11433 + "UserIP": "74.201.38.1", 11434 + "SubscriptionType": "n", 11435 + "ProductId": 2, 11436 + "Source": 26, 11437 + "ProductStatus": 2, 11438 + "MediaFilePath": "", 11439 + "Amount": "" 11440 + }, 11441 + { 11442 + "Id": 490, 11443 + "UserId": 722, 11444 + "TermId": 2, 11445 + "TransactionDate": "2014-07-17", 11446 + "TransactionTime": "13:13:06", 11447 + "RequestDate": "2014-07-17", 11448 + "UserIP": "74.201.38.1", 11449 + "SubscriptionType": "n", 11450 + "ProductId": 2, 11451 + "Source": 26, 11452 + "ProductStatus": 2, 11453 + "MediaFilePath": "", 11454 + "Amount": "" 11455 + }, 11456 + { 11457 + "Id": 498, 11458 + "UserId": 730, 11459 + "TermId": 2, 11460 + "TransactionDate": "2014-07-17", 11461 + "TransactionTime": "13:13:06", 11462 + "RequestDate": "2014-07-17", 11463 + "UserIP": "74.201.38.1", 11464 + "SubscriptionType": "n", 11465 + "ProductId": 2, 11466 + "Source": 26, 11467 + "ProductStatus": 2, 11468 + "MediaFilePath": "", 11469 + "Amount": "" 11470 + }, 11471 + { 11472 + "Id": 506, 11473 + "UserId": 738, 11474 + "TermId": 2, 11475 + "TransactionDate": "2014-07-17", 11476 + "TransactionTime": "13:13:06", 11477 + "RequestDate": "2014-07-17", 11478 + "UserIP": "74.201.38.1", 11479 + "SubscriptionType": "n", 11480 + "ProductId": 2, 11481 + "Source": 26, 11482 + "ProductStatus": 2, 11483 + "MediaFilePath": "", 11484 + "Amount": "" 11485 + }, 11486 + { 11487 + "Id": 522, 11488 + "UserId": 754, 11489 + "TermId": 18, 11490 + "TransactionDate": "2014-08-19", 11491 + "TransactionTime": "11:18:55", 11492 + "RequestDate": "2014-08-19", 11493 + "UserIP": "74.201.38.1", 11494 + "SubscriptionType": "n", 11495 + "ProductId": 18, 11496 + "Source": 34, 11497 + "ProductStatus": 2, 11498 + "MediaFilePath": "", 11499 + "Amount": "" 11500 + }, 11501 + { 11502 + "Id": 530, 11503 + "UserId": 762, 11504 + "TermId": 18, 11505 + "TransactionDate": "2014-08-19", 11506 + "TransactionTime": "11:18:55", 11507 + "RequestDate": "2014-08-19", 11508 + "UserIP": "74.201.38.1", 11509 + "SubscriptionType": "n", 11510 + "ProductId": 18, 11511 + "Source": 34, 11512 + "ProductStatus": 2, 11513 + "MediaFilePath": "", 11514 + "Amount": "" 11515 + }, 11516 + { 11517 + "Id": 538, 11518 + "UserId": 770, 11519 + "TermId": 18, 11520 + "TransactionDate": "2014-08-19", 11521 + "TransactionTime": "11:18:55", 11522 + "RequestDate": "2014-08-19", 11523 + "UserIP": "74.201.38.1", 11524 + "SubscriptionType": "n", 11525 + "ProductId": 18, 11526 + "Source": 34, 11527 + "ProductStatus": 2, 11528 + "MediaFilePath": "", 11529 + "Amount": "" 11530 + }, 11531 + { 11532 + "Id": 546, 11533 + "UserId": 778, 11534 + "TermId": 18, 11535 + "TransactionDate": "2014-08-19", 11536 + "TransactionTime": "11:18:55", 11537 + "RequestDate": "2014-08-19", 11538 + "UserIP": "74.201.38.1", 11539 + "SubscriptionType": "n", 11540 + "ProductId": 18, 11541 + "Source": 34, 11542 + "ProductStatus": 2, 11543 + "MediaFilePath": "", 11544 + "Amount": "" 11545 + }, 11546 + { 11547 + "Id": 554, 11548 + "UserId": 786, 11549 + "TermId": 18, 11550 + "TransactionDate": "2014-08-19", 11551 + "TransactionTime": "11:18:55", 11552 + "RequestDate": "2014-08-19", 11553 + "UserIP": "74.201.38.1", 11554 + "SubscriptionType": "n", 11555 + "ProductId": 18, 11556 + "Source": 34, 11557 + "ProductStatus": 2, 11558 + "MediaFilePath": "", 11559 + "Amount": "" 11560 + }, 11561 + { 11562 + "Id": 570, 11563 + "UserId": 802, 11564 + "TermId": 18, 11565 + "TransactionDate": "2014-08-19", 11566 + "TransactionTime": "11:18:55", 11567 + "RequestDate": "2014-08-19", 11568 + "UserIP": "74.201.38.1", 11569 + "SubscriptionType": "n", 11570 + "ProductId": 18, 11571 + "Source": 34, 11572 + "ProductStatus": 2, 11573 + "MediaFilePath": "", 11574 + "Amount": "" 11575 + }, 11576 + { 11577 + "Id": 578, 11578 + "UserId": 810, 11579 + "TermId": 18, 11580 + "TransactionDate": "2014-08-19", 11581 + "TransactionTime": "11:18:55", 11582 + "RequestDate": "2014-08-19", 11583 + "UserIP": "74.201.38.1", 11584 + "SubscriptionType": "n", 11585 + "ProductId": 18, 11586 + "Source": 34, 11587 + "ProductStatus": 2, 11588 + "MediaFilePath": "", 11589 + "Amount": "" 11590 + }, 11591 + { 11592 + "Id": 586, 11593 + "UserId": 818, 11594 + "TermId": 18, 11595 + "TransactionDate": "2014-08-19", 11596 + "TransactionTime": "11:18:55", 11597 + "RequestDate": "2014-08-19", 11598 + "UserIP": "74.201.38.1", 11599 + "SubscriptionType": "n", 11600 + "ProductId": 18, 11601 + "Source": 34, 11602 + "ProductStatus": 2, 11603 + "MediaFilePath": "", 11604 + "Amount": "" 11605 + }, 11606 + { 11607 + "Id": 602, 11608 + "UserId": 834, 11609 + "TermId": 18, 11610 + "TransactionDate": "2014-08-19", 11611 + "TransactionTime": "11:18:55", 11612 + "RequestDate": "2014-08-19", 11613 + "UserIP": "74.201.38.1", 11614 + "SubscriptionType": "n", 11615 + "ProductId": 18, 11616 + "Source": 34, 11617 + "ProductStatus": 2, 11618 + "MediaFilePath": "", 11619 + "Amount": "" 11620 + }, 11621 + { 11622 + "Id": 610, 11623 + "UserId": 842, 11624 + "TermId": 18, 11625 + "TransactionDate": "2014-08-19", 11626 + "TransactionTime": "11:18:55", 11627 + "RequestDate": "2014-08-19", 11628 + "UserIP": "74.201.38.1", 11629 + "SubscriptionType": "n", 11630 + "ProductId": 18, 11631 + "Source": 34, 11632 + "ProductStatus": 2, 11633 + "MediaFilePath": "", 11634 + "Amount": "" 11635 + }, 11636 + { 11637 + "Id": 618, 11638 + "UserId": 850, 11639 + "TermId": 18, 11640 + "TransactionDate": "2014-08-19", 11641 + "TransactionTime": "11:18:55", 11642 + "RequestDate": "2014-08-19", 11643 + "UserIP": "74.201.38.1", 11644 + "SubscriptionType": "n", 11645 + "ProductId": 18, 11646 + "Source": 34, 11647 + "ProductStatus": 2, 11648 + "MediaFilePath": "", 11649 + "Amount": "" 11650 + }, 11651 + { 11652 + "Id": 626, 11653 + "UserId": 858, 11654 + "TermId": 18, 11655 + "TransactionDate": "2014-08-19", 11656 + "TransactionTime": "11:18:55", 11657 + "RequestDate": "2014-08-19", 11658 + "UserIP": "74.201.38.1", 11659 + "SubscriptionType": "n", 11660 + "ProductId": 18, 11661 + "Source": 34, 11662 + "ProductStatus": 2, 11663 + "MediaFilePath": "", 11664 + "Amount": "" 11665 + }, 11666 + { 11667 + "Id": 634, 11668 + "UserId": 866, 11669 + "TermId": 18, 11670 + "TransactionDate": "2014-08-19", 11671 + "TransactionTime": "11:18:55", 11672 + "RequestDate": "2014-08-19", 11673 + "UserIP": "74.201.38.1", 11674 + "SubscriptionType": "n", 11675 + "ProductId": 18, 11676 + "Source": 34, 11677 + "ProductStatus": 2, 11678 + "MediaFilePath": "", 11679 + "Amount": "" 11680 + }, 11681 + { 11682 + "Id": 642, 11683 + "UserId": 874, 11684 + "TermId": 18, 11685 + "TransactionDate": "2014-08-19", 11686 + "TransactionTime": "11:18:55", 11687 + "RequestDate": "2014-08-19", 11688 + "UserIP": "74.201.38.1", 11689 + "SubscriptionType": "n", 11690 + "ProductId": 18, 11691 + "Source": 34, 11692 + "ProductStatus": 2, 11693 + "MediaFilePath": "", 11694 + "Amount": "" 11695 + }, 11696 + { 11697 + "Id": 650, 11698 + "UserId": 882, 11699 + "TermId": 18, 11700 + "TransactionDate": "2014-08-19", 11701 + "TransactionTime": "11:18:55", 11702 + "RequestDate": "2014-08-19", 11703 + "UserIP": "74.201.38.1", 11704 + "SubscriptionType": "n", 11705 + "ProductId": 18, 11706 + "Source": 34, 11707 + "ProductStatus": 2, 11708 + "MediaFilePath": "", 11709 + "Amount": "" 11710 + }, 11711 + { 11712 + "Id": 658, 11713 + "UserId": 890, 11714 + "TermId": 18, 11715 + "TransactionDate": "2014-08-19", 11716 + "TransactionTime": "11:18:55", 11717 + "RequestDate": "2014-08-19", 11718 + "UserIP": "74.201.38.1", 11719 + "SubscriptionType": "n", 11720 + "ProductId": 18, 11721 + "Source": 34, 11722 + "ProductStatus": 2, 11723 + "MediaFilePath": "", 11724 + "Amount": "" 11725 + }, 11726 + { 11727 + "Id": 666, 11728 + "UserId": 898, 11729 + "TermId": 18, 11730 + "TransactionDate": "2014-08-19", 11731 + "TransactionTime": "11:18:55", 11732 + "RequestDate": "2014-08-19", 11733 + "UserIP": "74.201.38.1", 11734 + "SubscriptionType": "n", 11735 + "ProductId": 18, 11736 + "Source": 34, 11737 + "ProductStatus": 2, 11738 + "MediaFilePath": "", 11739 + "Amount": "" 11740 + }, 11741 + { 11742 + "Id": 674, 11743 + "UserId": 906, 11744 + "TermId": 18, 11745 + "TransactionDate": "2014-08-19", 11746 + "TransactionTime": "11:18:55", 11747 + "RequestDate": "2014-08-19", 11748 + "UserIP": "74.201.38.1", 11749 + "SubscriptionType": "n", 11750 + "ProductId": 18, 11751 + "Source": 34, 11752 + "ProductStatus": 2, 11753 + "MediaFilePath": "", 11754 + "Amount": "" 11755 + }, 11756 + { 11757 + "Id": 682, 11758 + "UserId": 914, 11759 + "TermId": 18, 11760 + "TransactionDate": "2014-08-19", 11761 + "TransactionTime": "11:18:55", 11762 + "RequestDate": "2014-08-19", 11763 + "UserIP": "74.201.38.1", 11764 + "SubscriptionType": "n", 11765 + "ProductId": 18, 11766 + "Source": 34, 11767 + "ProductStatus": 2, 11768 + "MediaFilePath": "", 11769 + "Amount": "" 11770 + }, 11771 + { 11772 + "Id": 690, 11773 + "UserId": 922, 11774 + "TermId": 18, 11775 + "TransactionDate": "2014-08-19", 11776 + "TransactionTime": "11:18:55", 11777 + "RequestDate": "2014-08-19", 11778 + "UserIP": "74.201.38.1", 11779 + "SubscriptionType": "n", 11780 + "ProductId": 18, 11781 + "Source": 34, 11782 + "ProductStatus": 2, 11783 + "MediaFilePath": "", 11784 + "Amount": "" 11785 + }, 11786 + { 11787 + "Id": 698, 11788 + "UserId": 930, 11789 + "TermId": 18, 11790 + "TransactionDate": "2014-08-19", 11791 + "TransactionTime": "11:18:55", 11792 + "RequestDate": "2014-08-19", 11793 + "UserIP": "74.201.38.1", 11794 + "SubscriptionType": "n", 11795 + "ProductId": 18, 11796 + "Source": 34, 11797 + "ProductStatus": 2, 11798 + "MediaFilePath": "", 11799 + "Amount": "" 11800 + }, 11801 + { 11802 + "Id": 706, 11803 + "UserId": 938, 11804 + "TermId": 18, 11805 + "TransactionDate": "2014-08-19", 11806 + "TransactionTime": "11:18:55", 11807 + "RequestDate": "2014-08-19", 11808 + "UserIP": "74.201.38.1", 11809 + "SubscriptionType": "n", 11810 + "ProductId": 18, 11811 + "Source": 34, 11812 + "ProductStatus": 2, 11813 + "MediaFilePath": "", 11814 + "Amount": "" 11815 + }, 11816 + { 11817 + "Id": 714, 11818 + "UserId": 946, 11819 + "TermId": 18, 11820 + "TransactionDate": "2014-08-19", 11821 + "TransactionTime": "11:18:55", 11822 + "RequestDate": "2014-08-19", 11823 + "UserIP": "74.201.38.1", 11824 + "SubscriptionType": "n", 11825 + "ProductId": 18, 11826 + "Source": 34, 11827 + "ProductStatus": 2, 11828 + "MediaFilePath": "", 11829 + "Amount": "" 11830 + }, 11831 + { 11832 + "Id": 722, 11833 + "UserId": 954, 11834 + "TermId": 18, 11835 + "TransactionDate": "2014-08-19", 11836 + "TransactionTime": "11:18:55", 11837 + "RequestDate": "2014-08-19", 11838 + "UserIP": "74.201.38.1", 11839 + "SubscriptionType": "n", 11840 + "ProductId": 18, 11841 + "Source": 34, 11842 + "ProductStatus": 2, 11843 + "MediaFilePath": "", 11844 + "Amount": "" 11845 + }, 11846 + { 11847 + "Id": 730, 11848 + "UserId": 962, 11849 + "TermId": 18, 11850 + "TransactionDate": "2014-08-19", 11851 + "TransactionTime": "11:18:55", 11852 + "RequestDate": "2014-08-19", 11853 + "UserIP": "74.201.38.1", 11854 + "SubscriptionType": "n", 11855 + "ProductId": 18, 11856 + "Source": 34, 11857 + "ProductStatus": 2, 11858 + "MediaFilePath": "", 11859 + "Amount": "" 11860 + }, 11861 + { 11862 + "Id": 738, 11863 + "UserId": 970, 11864 + "TermId": 18, 11865 + "TransactionDate": "2014-08-19", 11866 + "TransactionTime": "11:18:55", 11867 + "RequestDate": "2014-08-19", 11868 + "UserIP": "74.201.38.1", 11869 + "SubscriptionType": "n", 11870 + "ProductId": 18, 11871 + "Source": 34, 11872 + "ProductStatus": 2, 11873 + "MediaFilePath": "", 11874 + "Amount": "" 11875 + }, 11876 + { 11877 + "Id": 746, 11878 + "UserId": 978, 11879 + "TermId": 18, 11880 + "TransactionDate": "2014-08-19", 11881 + "TransactionTime": "11:18:55", 11882 + "RequestDate": "2014-08-19", 11883 + "UserIP": "74.201.38.1", 11884 + "SubscriptionType": "n", 11885 + "ProductId": 18, 11886 + "Source": 34, 11887 + "ProductStatus": 2, 11888 + "MediaFilePath": "", 11889 + "Amount": "" 11890 + }, 11891 + { 11892 + "Id": 754, 11893 + "UserId": 986, 11894 + "TermId": 18, 11895 + "TransactionDate": "2014-08-19", 11896 + "TransactionTime": "11:18:55", 11897 + "RequestDate": "2014-08-19", 11898 + "UserIP": "74.201.38.1", 11899 + "SubscriptionType": "n", 11900 + "ProductId": 18, 11901 + "Source": 34, 11902 + "ProductStatus": 2, 11903 + "MediaFilePath": "", 11904 + "Amount": "" 11905 + }, 11906 + { 11907 + "Id": 762, 11908 + "UserId": 994, 11909 + "TermId": 18, 11910 + "TransactionDate": "2014-08-19", 11911 + "TransactionTime": "11:18:55", 11912 + "RequestDate": "2014-08-19", 11913 + "UserIP": "74.201.38.1", 11914 + "SubscriptionType": "n", 11915 + "ProductId": 18, 11916 + "Source": 34, 11917 + "ProductStatus": 2, 11918 + "MediaFilePath": "", 11919 + "Amount": "" 11920 + }, 11921 + { 11922 + "Id": 770, 11923 + "UserId": 1002, 11924 + "TermId": 18, 11925 + "TransactionDate": "2014-08-19", 11926 + "TransactionTime": "11:18:55", 11927 + "RequestDate": "2014-08-19", 11928 + "UserIP": "74.201.38.1", 11929 + "SubscriptionType": "n", 11930 + "ProductId": 18, 11931 + "Source": 34, 11932 + "ProductStatus": 2, 11933 + "MediaFilePath": "", 11934 + "Amount": "" 11935 + }, 11936 + { 11937 + "Id": 778, 11938 + "UserId": 1010, 11939 + "TermId": 18, 11940 + "TransactionDate": "2014-08-19", 11941 + "TransactionTime": "11:18:55", 11942 + "RequestDate": "2014-08-19", 11943 + "UserIP": "74.201.38.1", 11944 + "SubscriptionType": "n", 11945 + "ProductId": 18, 11946 + "Source": 34, 11947 + "ProductStatus": 2, 11948 + "MediaFilePath": "", 11949 + "Amount": "" 11950 + }, 11951 + { 11952 + "Id": 786, 11953 + "UserId": 1018, 11954 + "TermId": 18, 11955 + "TransactionDate": "2014-08-19", 11956 + "TransactionTime": "11:18:55", 11957 + "RequestDate": "2014-08-19", 11958 + "UserIP": "74.201.38.1", 11959 + "SubscriptionType": "n", 11960 + "ProductId": 18, 11961 + "Source": 34, 11962 + "ProductStatus": 2, 11963 + "MediaFilePath": "", 11964 + "Amount": "" 11965 + }, 11966 + { 11967 + "Id": 794, 11968 + "UserId": 1026, 11969 + "TermId": 18, 11970 + "TransactionDate": "2014-08-19", 11971 + "TransactionTime": "11:18:55", 11972 + "RequestDate": "2014-08-19", 11973 + "UserIP": "74.201.38.1", 11974 + "SubscriptionType": "n", 11975 + "ProductId": 18, 11976 + "Source": 34, 11977 + "ProductStatus": 2, 11978 + "MediaFilePath": "", 11979 + "Amount": "" 11980 + }, 11981 + { 11982 + "Id": 802, 11983 + "UserId": 1034, 11984 + "TermId": 18, 11985 + "TransactionDate": "2014-08-19", 11986 + "TransactionTime": "11:18:55", 11987 + "RequestDate": "2014-08-19", 11988 + "UserIP": "74.201.38.1", 11989 + "SubscriptionType": "n", 11990 + "ProductId": 18, 11991 + "Source": 34, 11992 + "ProductStatus": 2, 11993 + "MediaFilePath": "", 11994 + "Amount": "" 11995 + }, 11996 + { 11997 + "Id": 810, 11998 + "UserId": 1042, 11999 + "TermId": 18, 12000 + "TransactionDate": "2014-08-19", 12001 + "TransactionTime": "11:18:55", 12002 + "RequestDate": "2014-08-19", 12003 + "UserIP": "74.201.38.1", 12004 + "SubscriptionType": "n", 12005 + "ProductId": 18, 12006 + "Source": 34, 12007 + "ProductStatus": 2, 12008 + "MediaFilePath": "", 12009 + "Amount": "" 12010 + }, 12011 + { 12012 + "Id": 818, 12013 + "UserId": 1050, 12014 + "TermId": 18, 12015 + "TransactionDate": "2014-08-19", 12016 + "TransactionTime": "11:18:55", 12017 + "RequestDate": "2014-08-19", 12018 + "UserIP": "74.201.38.1", 12019 + "SubscriptionType": "n", 12020 + "ProductId": 18, 12021 + "Source": 34, 12022 + "ProductStatus": 2, 12023 + "MediaFilePath": "", 12024 + "Amount": "" 12025 + }, 12026 + { 12027 + "Id": 826, 12028 + "UserId": 1058, 12029 + "TermId": 18, 12030 + "TransactionDate": "2014-08-19", 12031 + "TransactionTime": "11:18:55", 12032 + "RequestDate": "2014-08-19", 12033 + "UserIP": "74.201.38.1", 12034 + "SubscriptionType": "n", 12035 + "ProductId": 18, 12036 + "Source": 34, 12037 + "ProductStatus": 2, 12038 + "MediaFilePath": "", 12039 + "Amount": "" 12040 + }, 12041 + { 12042 + "Id": 834, 12043 + "UserId": 1066, 12044 + "TermId": 18, 12045 + "TransactionDate": "2014-08-19", 12046 + "TransactionTime": "11:18:55", 12047 + "RequestDate": "2014-08-19", 12048 + "UserIP": "74.201.38.1", 12049 + "SubscriptionType": "n", 12050 + "ProductId": 18, 12051 + "Source": 34, 12052 + "ProductStatus": 2, 12053 + "MediaFilePath": "", 12054 + "Amount": "" 12055 + }, 12056 + { 12057 + "Id": 842, 12058 + "UserId": 1074, 12059 + "TermId": 18, 12060 + "TransactionDate": "2014-08-19", 12061 + "TransactionTime": "11:18:55", 12062 + "RequestDate": "2014-08-19", 12063 + "UserIP": "74.201.38.1", 12064 + "SubscriptionType": "n", 12065 + "ProductId": 18, 12066 + "Source": 34, 12067 + "ProductStatus": 2, 12068 + "MediaFilePath": "", 12069 + "Amount": "" 12070 + }, 12071 + { 12072 + "Id": 850, 12073 + "UserId": 1082, 12074 + "TermId": 18, 12075 + "TransactionDate": "2014-08-19", 12076 + "TransactionTime": "11:18:55", 12077 + "RequestDate": "2014-08-19", 12078 + "UserIP": "74.201.38.1", 12079 + "SubscriptionType": "n", 12080 + "ProductId": 18, 12081 + "Source": 34, 12082 + "ProductStatus": 2, 12083 + "MediaFilePath": "", 12084 + "Amount": "" 12085 + }, 12086 + { 12087 + "Id": 858, 12088 + "UserId": 1090, 12089 + "TermId": 18, 12090 + "TransactionDate": "2014-08-19", 12091 + "TransactionTime": "11:18:55", 12092 + "RequestDate": "2014-08-19", 12093 + "UserIP": "74.201.38.1", 12094 + "SubscriptionType": "n", 12095 + "ProductId": 18, 12096 + "Source": 34, 12097 + "ProductStatus": 2, 12098 + "MediaFilePath": "", 12099 + "Amount": "" 12100 + }, 12101 + { 12102 + "Id": 866, 12103 + "UserId": 1098, 12104 + "TermId": 18, 12105 + "TransactionDate": "2014-08-19", 12106 + "TransactionTime": "11:18:55", 12107 + "RequestDate": "2014-08-19", 12108 + "UserIP": "74.201.38.1", 12109 + "SubscriptionType": "n", 12110 + "ProductId": 18, 12111 + "Source": 34, 12112 + "ProductStatus": 2, 12113 + "MediaFilePath": "", 12114 + "Amount": "" 12115 + }, 12116 + { 12117 + "Id": 874, 12118 + "UserId": 1106, 12119 + "TermId": 18, 12120 + "TransactionDate": "2014-08-19", 12121 + "TransactionTime": "11:18:55", 12122 + "RequestDate": "2014-08-19", 12123 + "UserIP": "74.201.38.1", 12124 + "SubscriptionType": "n", 12125 + "ProductId": 18, 12126 + "Source": 34, 12127 + "ProductStatus": 2, 12128 + "MediaFilePath": "", 12129 + "Amount": "" 12130 + }, 12131 + { 12132 + "Id": 882, 12133 + "UserId": 1114, 12134 + "TermId": 18, 12135 + "TransactionDate": "2014-08-19", 12136 + "TransactionTime": "11:18:55", 12137 + "RequestDate": "2014-08-19", 12138 + "UserIP": "74.201.38.1", 12139 + "SubscriptionType": "n", 12140 + "ProductId": 18, 12141 + "Source": 34, 12142 + "ProductStatus": 2, 12143 + "MediaFilePath": "", 12144 + "Amount": "" 12145 + }, 12146 + { 12147 + "Id": 890, 12148 + "UserId": 1122, 12149 + "TermId": 18, 12150 + "TransactionDate": "2014-08-19", 12151 + "TransactionTime": "11:18:55", 12152 + "RequestDate": "2014-08-19", 12153 + "UserIP": "74.201.38.1", 12154 + "SubscriptionType": "n", 12155 + "ProductId": 18, 12156 + "Source": 34, 12157 + "ProductStatus": 2, 12158 + "MediaFilePath": "", 12159 + "Amount": "" 12160 + }, 12161 + { 12162 + "Id": 898, 12163 + "UserId": 1130, 12164 + "TermId": 18, 12165 + "TransactionDate": "2014-08-19", 12166 + "TransactionTime": "11:18:55", 12167 + "RequestDate": "2014-08-19", 12168 + "UserIP": "74.201.38.1", 12169 + "SubscriptionType": "n", 12170 + "ProductId": 18, 12171 + "Source": 34, 12172 + "ProductStatus": 2, 12173 + "MediaFilePath": "", 12174 + "Amount": "" 12175 + }, 12176 + { 12177 + "Id": 906, 12178 + "UserId": 1138, 12179 + "TermId": 18, 12180 + "TransactionDate": "2014-08-19", 12181 + "TransactionTime": "11:18:55", 12182 + "RequestDate": "2014-08-19", 12183 + "UserIP": "74.201.38.1", 12184 + "SubscriptionType": "n", 12185 + "ProductId": 18, 12186 + "Source": 34, 12187 + "ProductStatus": 2, 12188 + "MediaFilePath": "", 12189 + "Amount": "" 12190 + }, 12191 + { 12192 + "Id": 914, 12193 + "UserId": 1146, 12194 + "TermId": 18, 12195 + "TransactionDate": "2014-08-19", 12196 + "TransactionTime": "11:18:55", 12197 + "RequestDate": "2014-08-19", 12198 + "UserIP": "74.201.38.1", 12199 + "SubscriptionType": "n", 12200 + "ProductId": 18, 12201 + "Source": 34, 12202 + "ProductStatus": 2, 12203 + "MediaFilePath": "", 12204 + "Amount": "" 12205 + }, 12206 + { 12207 + "Id": 922, 12208 + "UserId": 1154, 12209 + "TermId": 18, 12210 + "TransactionDate": "2014-08-19", 12211 + "TransactionTime": "11:18:55", 12212 + "RequestDate": "2014-08-19", 12213 + "UserIP": "74.201.38.1", 12214 + "SubscriptionType": "n", 12215 + "ProductId": 18, 12216 + "Source": 34, 12217 + "ProductStatus": 2, 12218 + "MediaFilePath": "", 12219 + "Amount": "" 12220 + }, 12221 + { 12222 + "Id": 930, 12223 + "UserId": 1162, 12224 + "TermId": 18, 12225 + "TransactionDate": "2014-08-19", 12226 + "TransactionTime": "11:18:55", 12227 + "RequestDate": "2014-08-19", 12228 + "UserIP": "74.201.38.1", 12229 + "SubscriptionType": "n", 12230 + "ProductId": 18, 12231 + "Source": 34, 12232 + "ProductStatus": 2, 12233 + "MediaFilePath": "", 12234 + "Amount": "" 12235 + }, 12236 + { 12237 + "Id": 938, 12238 + "UserId": 1170, 12239 + "TermId": 18, 12240 + "TransactionDate": "2014-08-19", 12241 + "TransactionTime": "11:18:55", 12242 + "RequestDate": "2014-08-19", 12243 + "UserIP": "74.201.38.1", 12244 + "SubscriptionType": "n", 12245 + "ProductId": 18, 12246 + "Source": 34, 12247 + "ProductStatus": 2, 12248 + "MediaFilePath": "", 12249 + "Amount": "" 12250 + }, 12251 + { 12252 + "Id": 946, 12253 + "UserId": 1178, 12254 + "TermId": 18, 12255 + "TransactionDate": "2014-08-19", 12256 + "TransactionTime": "11:18:55", 12257 + "RequestDate": "2014-08-19", 12258 + "UserIP": "74.201.38.1", 12259 + "SubscriptionType": "n", 12260 + "ProductId": 18, 12261 + "Source": 34, 12262 + "ProductStatus": 2, 12263 + "MediaFilePath": "", 12264 + "Amount": "" 12265 + }, 12266 + { 12267 + "Id": 954, 12268 + "UserId": 1186, 12269 + "TermId": 18, 12270 + "TransactionDate": "2014-08-19", 12271 + "TransactionTime": "11:18:55", 12272 + "RequestDate": "2014-08-19", 12273 + "UserIP": "74.201.38.1", 12274 + "SubscriptionType": "n", 12275 + "ProductId": 18, 12276 + "Source": 34, 12277 + "ProductStatus": 2, 12278 + "MediaFilePath": "", 12279 + "Amount": "" 12280 + }, 12281 + { 12282 + "Id": 962, 12283 + "UserId": 1194, 12284 + "TermId": 18, 12285 + "TransactionDate": "2014-08-19", 12286 + "TransactionTime": "11:18:55", 12287 + "RequestDate": "2014-08-19", 12288 + "UserIP": "74.201.38.1", 12289 + "SubscriptionType": "n", 12290 + "ProductId": 18, 12291 + "Source": 34, 12292 + "ProductStatus": 2, 12293 + "MediaFilePath": "", 12294 + "Amount": "" 12295 + }, 12296 + { 12297 + "Id": 970, 12298 + "UserId": 1202, 12299 + "TermId": 18, 12300 + "TransactionDate": "2014-08-19", 12301 + "TransactionTime": "11:18:55", 12302 + "RequestDate": "2014-08-19", 12303 + "UserIP": "74.201.38.1", 12304 + "SubscriptionType": "n", 12305 + "ProductId": 18, 12306 + "Source": 34, 12307 + "ProductStatus": 2, 12308 + "MediaFilePath": "", 12309 + "Amount": "" 12310 + }, 12311 + { 12312 + "Id": 978, 12313 + "UserId": 1210, 12314 + "TermId": 18, 12315 + "TransactionDate": "2014-08-19", 12316 + "TransactionTime": "11:18:55", 12317 + "RequestDate": "2014-08-19", 12318 + "UserIP": "74.201.38.1", 12319 + "SubscriptionType": "n", 12320 + "ProductId": 18, 12321 + "Source": 34, 12322 + "ProductStatus": 2, 12323 + "MediaFilePath": "", 12324 + "Amount": "" 12325 + }, 12326 + { 12327 + "Id": 986, 12328 + "UserId": 1218, 12329 + "TermId": 18, 12330 + "TransactionDate": "2014-08-19", 12331 + "TransactionTime": "11:18:55", 12332 + "RequestDate": "2014-08-19", 12333 + "UserIP": "74.201.38.1", 12334 + "SubscriptionType": "n", 12335 + "ProductId": 18, 12336 + "Source": 34, 12337 + "ProductStatus": 2, 12338 + "MediaFilePath": "", 12339 + "Amount": "" 12340 + }, 12341 + { 12342 + "Id": 994, 12343 + "UserId": 1226, 12344 + "TermId": 18, 12345 + "TransactionDate": "2014-08-19", 12346 + "TransactionTime": "11:18:55", 12347 + "RequestDate": "2014-08-19", 12348 + "UserIP": "74.201.38.1", 12349 + "SubscriptionType": "n", 12350 + "ProductId": 18, 12351 + "Source": 34, 12352 + "ProductStatus": 2, 12353 + "MediaFilePath": "", 12354 + "Amount": "" 12355 + }, 12356 + { 12357 + "Id": 1002, 12358 + "UserId": 1234, 12359 + "TermId": 18, 12360 + "TransactionDate": "2014-08-19", 12361 + "TransactionTime": "11:18:55", 12362 + "RequestDate": "2014-08-19", 12363 + "UserIP": "74.201.38.1", 12364 + "SubscriptionType": "n", 12365 + "ProductId": 18, 12366 + "Source": 34, 12367 + "ProductStatus": 2, 12368 + "MediaFilePath": "", 12369 + "Amount": "" 12370 + } 12371 + ] 12372 +} 12373 +{{/code}} 12374 + 12375 + 12376 +(% id="HGETspecificTransaction" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 12377 +== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)specific Transaction(%%) == 12378 + 12379 +---- 12380 + 12381 +{{panel bgColor="#D3D3D3" width="100%"}} 12382 + (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/transactions/~{~{Transaction id}} 12383 +{{/panel}} 12384 + 12385 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 12386 + 12387 +---- 12388 + 12389 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 12390 + 12391 +==== Example ==== 12392 + 12393 +---- 12394 + 12395 +(% style="color:#6b6b6b" %)Request 12396 + 12397 +{{code language="php" theme="RDark" title="Get specific Transaction Request"}} 12398 + <?php 12399 + 12400 +$curl = curl_init(); 12401 + 12402 +curl_setopt_array($curl, array( 12403 + CURLOPT_URL => 'https://api.onecount.net/v2/transactions/{{Transaction id}}', 12404 + CURLOPT_RETURNTRANSFER => true, 12405 + CURLOPT_ENCODING => '', 12406 + CURLOPT_MAXREDIRS => 10, 12407 + CURLOPT_TIMEOUT => 0, 12408 + CURLOPT_FOLLOWLOCATION => true, 12409 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 12410 + CURLOPT_CUSTOMREQUEST => 'GET', 12411 + CURLOPT_HTTPHEADER => array( 12412 + 'Appkey: {{ONECOUNT API KEY}}' 12413 + ), 12414 +)); 12415 + 12416 +$response = curl_exec($curl); 12417 + 12418 +curl_close($curl); 12419 +echo $response; 12420 +{{/code}} 12421 + 12422 + 12423 +(% style="color:#6b6b6b" %)Response 200 OK 12424 + 12425 +{{code language="yml" theme="RDark" collapse="true" title="Get specific Transaction Response"}} 12426 + { 12427 + "result": { 12428 + "success": "1", 12429 + "error": { 12430 + "code": "", 12431 + "message": "" 12432 + } 12433 + }, 12434 + "Transactions": [ 12435 + { 12436 + "Id": 1002, 12437 + "UserId": 1234, 12438 + "TermId": 18, 12439 + "TransactionDate": "2014-08-19", 12440 + "TransactionTime": "11:18:55", 12441 + "RequestDate": "2014-08-19", 12442 + "UserIP": "74.201.38.1", 12443 + "SubscriptionType": "n", 12444 + "ProductId": 18, 12445 + "Source": 34, 12446 + "ProductStatus": 2, 12447 + "MediaFilePath": "", 12448 + "Amount": "" 12449 + } 12450 + ] 12451 +} 12452 +{{/code}} 12453 + 12454 + 12455 +(% id="HGETlookupTransaction" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 12456 +== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)lookup Transaction(%%) == 12457 + 12458 +---- 12459 + 12460 +{{panel bgColor="#D3D3D3" width="100%"}} 12461 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/transactions/lookup?UserId=~{~{OCID}} 12462 +{{/panel}} 12463 + 12464 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 12465 + 12466 +---- 12467 + 12468 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 12469 + 12470 +=== (% style="color:#212121" %)Query Params(%%) === 12471 + 12472 +---- 12473 + 12474 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)UserId (% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key nolink sc-fznXWL" style="color:#212121" %)~{~{OCID}} 12475 + 12476 +==== Example ==== 12477 + 12478 +---- 12479 + 12480 +(% style="color:#6b6b6b" %)Request 12481 + 12482 +{{code language="php" theme="RDark" title="Lookup Transaction Request"}} 12483 + <?php 12484 + 12485 +$curl = curl_init(); 12486 + 12487 +curl_setopt_array($curl, array( 12488 + CURLOPT_URL => 'https://api.onecount.net/v2/transactions/lookup?UserId={{OCID}}', 12489 + CURLOPT_RETURNTRANSFER => true, 12490 + CURLOPT_ENCODING => '', 12491 + CURLOPT_MAXREDIRS => 10, 12492 + CURLOPT_TIMEOUT => 0, 12493 + CURLOPT_FOLLOWLOCATION => true, 12494 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 12495 + CURLOPT_CUSTOMREQUEST => 'GET', 12496 + CURLOPT_HTTPHEADER => array( 12497 + 'Appkey: {{ONECOUNT API KEY}}' 12498 + ), 12499 +)); 12500 + 12501 +$response = curl_exec($curl); 12502 + 12503 +curl_close($curl); 12504 +echo $response; 12505 +{{/code}} 12506 + 12507 + 12508 +(% style="color:#6b6b6b" %)Response 200 OK 12509 + 12510 +{{code language="yml" theme="RDark" collapse="true" title="Lookup Transaction Response"}} 12511 + { 12512 + "result": { 12513 + "success": "1", 12514 + "error": { 12515 + "code": "", 12516 + "message": "" 12517 + } 12518 + }, 12519 + "Transactions": [ 12520 + { 12521 + "Id": 52494786, 12522 + "UserId": 1234, 12523 + "TermId": 34, 12524 + "TransactionDate": "2016-01-19", 12525 + "TransactionTime": "15:30:04", 12526 + "RequestDate": "2016-01-19", 12527 + "UserIP": "12.226.247.2", 12528 + "SubscriptionType": "u", 12529 + "ProductId": 34, 12530 + "Source": 0, 12531 + "ProductStatus": 0, 12532 + "MediaFilePath": "", 12533 + "Amount": "" 12534 + }, 12535 + { 12536 + "Id": 42654041, 12537 + "UserId": 1234, 12538 + "TermId": 34, 12539 + "TransactionDate": "2015-09-09", 12540 + "TransactionTime": "11:20:39", 12541 + "RequestDate": "2015-09-09", 12542 + "UserIP": "24.187.236.98", 12543 + "SubscriptionType": "n", 12544 + "ProductId": 34, 12545 + "Source": 0, 12546 + "ProductStatus": 2, 12547 + "MediaFilePath": "", 12548 + "Amount": "" 12549 + }, 12550 + { 12551 + "Id": 97251022, 12552 + "UserId": 1234, 12553 + "TermId": 34, 12554 + "TransactionDate": "2015-06-04", 12555 + "TransactionTime": "14:59:42", 12556 + "RequestDate": "2015-06-04", 12557 + "UserIP": "12.226.247.2", 12558 + "SubscriptionType": "u", 12559 + "ProductId": 34, 12560 + "Source": 0, 12561 + "ProductStatus": 0, 12562 + "MediaFilePath": "", 12563 + "Amount": "" 12564 + }, 12565 + { 12566 + "Id": 55492559, 12567 + "UserId": 1234, 12568 + "TermId": 34, 12569 + "TransactionDate": "2015-04-03", 12570 + "TransactionTime": "16:32:04", 12571 + "RequestDate": "2015-04-03", 12572 + "UserIP": "24.187.236.98", 12573 + "SubscriptionType": "r", 12574 + "ProductId": 34, 12575 + "Source": 58, 12576 + "ProductStatus": 106, 12577 + "MediaFilePath": "", 12578 + "Amount": "" 12579 + }, 12580 + { 12581 + "Id": 98173391, 12582 + "UserId": 1234, 12583 + "TermId": 34, 12584 + "TransactionDate": "2015-04-03", 12585 + "TransactionTime": "15:50:45", 12586 + "RequestDate": "2014-08-19", 12587 + "UserIP": "24.187.236.98", 12588 + "SubscriptionType": "n", 12589 + "ProductId": 34, 12590 + "Source": 34, 12591 + "ProductStatus": 106, 12592 + "MediaFilePath": "", 12593 + "Amount": "" 12594 + }, 12595 + { 12596 + "Id": 91711793, 12597 + "UserId": 1234, 12598 + "TermId": 18, 12599 + "TransactionDate": "2015-04-27", 12600 + "TransactionTime": "14:24:51", 12601 + "RequestDate": "2015-04-27", 12602 + "UserIP": "24.187.236.98", 12603 + "SubscriptionType": "u", 12604 + "ProductId": 18, 12605 + "Source": 0, 12606 + "ProductStatus": 106, 12607 + "MediaFilePath": "", 12608 + "Amount": "" 12609 + }, 12610 + { 12611 + "Id": 74936400, 12612 + "UserId": 1234, 12613 + "TermId": 18, 12614 + "TransactionDate": "2015-04-27", 12615 + "TransactionTime": "12:35:18", 12616 + "RequestDate": "2015-04-27", 12617 + "UserIP": "68.196.187.74", 12618 + "SubscriptionType": "n", 12619 + "ProductId": 18, 12620 + "Source": 34, 12621 + "ProductStatus": 106, 12622 + "MediaFilePath": "", 12623 + "Amount": "" 12624 + }, 12625 + { 12626 + "Id": 21664714, 12627 + "UserId": 1234, 12628 + "TermId": 18, 12629 + "TransactionDate": "2015-04-03", 12630 + "TransactionTime": "15:50:46", 12631 + "RequestDate": "2015-04-03", 12632 + "UserIP": "24.187.236.98", 12633 + "SubscriptionType": "u", 12634 + "ProductId": 18, 12635 + "Source": 0, 12636 + "ProductStatus": 2, 12637 + "MediaFilePath": "", 12638 + "Amount": "" 12639 + }, 12640 + { 12641 + "Id": 81129263, 12642 + "UserId": 1234, 12643 + "TermId": 18, 12644 + "TransactionDate": "2014-08-19", 12645 + "TransactionTime": "11:18:55", 12646 + "RequestDate": "2014-08-19", 12647 + "UserIP": "74.201.38.1", 12648 + "SubscriptionType": "n", 12649 + "ProductId": 18, 12650 + "Source": 34, 12651 + "ProductStatus": 2, 12652 + "MediaFilePath": "", 12653 + "Amount": "" 12654 + }, 12655 + { 12656 + "Id": 30461748, 12657 + "UserId": 1234, 12658 + "ResourceId": 459, 12659 + "TransactionDate": "2023-03-15", 12660 + "TransactionTime": "12:07:55", 12661 + "RequestDate": "2023-03-15", 12662 + "UserIP": "74.201.38.12", 12663 + "SubscriptionType": "n", 12664 + "SourceCode": 0, 12665 + "ProductStatus": 0, 12666 + "MediaFilePath": "", 12667 + "Amount": "" 12668 + }, 12669 + { 12670 + "Id": 25858253, 12671 + "UserId": 1234, 12672 + "ResourceId": 451, 12673 + "TransactionDate": "2023-03-15", 12674 + "TransactionTime": "11:45:19", 12675 + "RequestDate": "2023-03-15", 12676 + "UserIP": "74.201.38.12", 12677 + "SubscriptionType": "n", 12678 + "SourceCode": 0, 12679 + "ProductStatus": 0, 12680 + "MediaFilePath": "", 12681 + "Amount": "" 12682 + }, 12683 + { 12684 + "Id": 69453260, 12685 + "UserId": 1234, 12686 + "ResourceId": 411, 12687 + "TransactionDate": "2022-06-07", 12688 + "TransactionTime": "17:03:14", 12689 + "RequestDate": "2022-06-07", 12690 + "UserIP": "74.201.38.12", 12691 + "SubscriptionType": "n", 12692 + "SourceCode": 0, 12693 + "ProductStatus": 0, 12694 + "MediaFilePath": "", 12695 + "Amount": "" 12696 + }, 12697 + { 12698 + "Id": 51354425, 12699 + "UserId": 1234, 12700 + "ResourceId": 355, 12701 + "TransactionDate": "2020-04-06", 12702 + "TransactionTime": "12:24:08", 12703 + "RequestDate": "2020-04-06", 12704 + "UserIP": "74.201.38.12", 12705 + "SubscriptionType": "n", 12706 + "SourceCode": 0, 12707 + "ProductStatus": 0, 12708 + "MediaFilePath": "", 12709 + "Amount": "" 12710 + } 12711 + ] 12712 +} 12713 +{{/code}} 12714 + 12715 + 12716 +(% id="HPOSTCreateTransaction" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 12717 +== (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#ad7a03" %)POST(% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %) Create Transaction(%%) == 12718 + 12719 +---- 12720 + 12721 +{{panel bgColor="#D3D3D3" width="100%"}} 12722 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/transactions 12723 +{{/panel}} 12724 + 12725 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 12726 + 12727 +---- 12728 + 12729 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 12730 + 12731 +=== (% style="color:#212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) === 12732 + 12733 +---- 12734 + 12735 +{{code language="yml" theme="RDark" title="Body"}} 12736 +{"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" } 12737 +{{/code}} 12738 + 12739 +==== Example ==== 12740 + 12741 +---- 12742 + 12743 +(% style="color:#6b6b6b" %)Request 12744 + 12745 +{{code language="php" theme="RDark" title="Create Transaction Request"}} 12746 + <?php 12747 + 12748 +$curl = curl_init(); 12749 + 12750 +curl_setopt_array($curl, array( 12751 + CURLOPT_URL => 'https://api.onecount.net/v2/transactions', 12752 + CURLOPT_RETURNTRANSFER => true, 12753 + CURLOPT_ENCODING => '', 12754 + CURLOPT_MAXREDIRS => 10, 12755 + CURLOPT_TIMEOUT => 0, 12756 + CURLOPT_FOLLOWLOCATION => true, 12757 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 12758 + CURLOPT_CUSTOMREQUEST => 'POST', 12759 + 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" }', 12760 + CURLOPT_HTTPHEADER => array( 12761 + 'Appkey: {{ONECOUNT API KEY}}' 12762 + ), 12763 +)); 12764 + 12765 +$response = curl_exec($curl); 12766 + 12767 +curl_close($curl); 12768 +echo $response; 12769 +{{/code}} 12770 + 12771 + 12772 +(% style="color:#6b6b6b" %)Response 200 OK 12773 + 12774 +{{code language="yml" theme="RDark" collapse="true" title="Create Transaction Response"}} 12775 + { 12776 + "result": { 12777 + "success": "1", 12778 + "error": { 12779 + "code": "", 12780 + "message": "" 12781 + } 12782 + }, 12783 + "Transactions": { 12784 + "Id": "1234", 12785 + "UserId": 1845775, 12786 + "TermId": 447, 12787 + "TransactionDate": "20231211", 12788 + "TransactionTime": "09:34:26", 12789 + "RequestDate": "20231211", 12790 + "UserIP": "192.168.0.1", 12791 + "SubscriptionType": "n", 12792 + "ProductId": 599, 12793 + "Source": 83, 12794 + "ProductStatus": 2, 12795 + "MediaFilePath": "", 12796 + "Amount": "0.00" 12797 + } 12798 +} 12799 +{{/code}} 12800 + 12801 + 12802 +=== **COMPONENT: Engagements** === 12803 + 3142 3142 (% class="western" %) 3143 - POSTmethodshouldbeusedto create anindividualsourcegiven the sourceparameters.12805 +Engagement can be added, updated and searched for using the engagements resource from the api. 3144 3144 3145 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12807 + 12808 +(% class="wrapped" %) 12809 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3146 3146 ((( 3147 3147 (% class="western" %) 3148 -** Request**3149 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)12812 +**Method** 12813 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3150 3150 ((( 3151 3151 (% class="western" %) 3152 -** Type**3153 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)12816 +**Url** 12817 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3154 3154 ((( 3155 3155 (% class="western" %) 3156 -** Description**12820 +**Action** 3157 3157 ))) 3158 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)12822 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3159 3159 ((( 3160 3160 (% class="western" %) 3161 - Sources3162 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)12825 +GET 12826 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3163 3163 ((( 3164 3164 (% class="western" %) 3165 - Sources3166 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)12829 +/(% style="color:#212121" %)engagements 12830 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3167 3167 ((( 3168 3168 (% class="western" %) 3169 - Definesthecontents thatmakes upthesource. Idparametersshould notbe set.12833 +Get engagement data limiting 25. 3170 3170 ))) 3171 - 3172 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12835 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3173 3173 ((( 3174 3174 (% class="western" %) 3175 - **Response**3176 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)12838 +GET 12839 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3177 3177 ((( 3178 3178 (% class="western" %) 3179 - **Type**3180 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)12842 +/(% style="color:#212121" %)engagements(%%)/<engagement id> 12843 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3181 3181 ((( 3182 3182 (% class="western" %) 3183 - **Description**12846 +Get data for engagement id. The engagement id is a string 3184 3184 ))) 3185 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)12848 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3186 3186 ((( 3187 3187 (% class="western" %) 3188 -S ourceId3189 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)12851 +POST 12852 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3190 3190 ((( 3191 3191 (% class="western" %) 3192 - int3193 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)12855 +/(% style="color:#212121" %)engagements 12856 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3194 3194 ((( 3195 3195 (% class="western" %) 3196 -Returns created source code id. 3197 -))) 12859 +Create a new engagement 3198 3198 3199 -\\ 3200 - 3201 3201 (% class="western" %) 3202 -**PUT method can be used to update an individual source given the id.** 3203 - 3204 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3205 -((( 3206 -(% class="western" %) 3207 -**Request** 3208 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3209 -((( 3210 -(% class="western" %) 3211 -**Type** 3212 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3213 -((( 3214 -(% class="western" %) 3215 -**Description** 12862 +Parameters required to create the engagement needs to be sent as post data in JSON format. 3216 3216 ))) 3217 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)12864 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3218 3218 ((( 3219 3219 (% class="western" %) 3220 - Sources3221 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)12867 +PUT 12868 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3222 3222 ((( 3223 3223 (% class="western" %) 3224 - Sources3225 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)12871 +/(% style="color:#212121" %)engagements(%%)/<engagement id> 12872 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3226 3226 ((( 3227 3227 (% class="western" %) 3228 -Defines the contents that makes up the source. The id parameter needs to be set which will identify the id of the source to be updated. 3229 -))) 12875 +Update engagement by engagement id. The engagement id string 3230 3230 3231 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3232 -((( 3233 3233 (% class="western" %) 3234 -**Response** 3235 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3236 -((( 3237 -(% class="western" %) 3238 -**Type** 3239 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3240 -((( 3241 -(% class="western" %) 3242 -**Description** 12878 +Parameters required to update the engagement needs to be sent as post data in JSON format. 3243 3243 ))) 3244 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)12880 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3245 3245 ((( 3246 3246 (% class="western" %) 3247 -S ourceId3248 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)12883 +POST 12884 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3249 3249 ((( 3250 3250 (% class="western" %) 3251 - int3252 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)12887 +(% style="color:#212121" %)/engagements/addUser 12888 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3253 3253 ((( 3254 3254 (% class="western" %) 3255 -Returns updated source id. 12891 +Add user to engagement 12892 + 12893 +(% class="western" %) 12894 +Parameters required to add user to the engagement needs to be sent as post data in JSON format. 3256 3256 ))) 3257 3257 3258 -\\ 3259 3259 3260 -(% class="western" %)3261 - \\12898 +(% id="HGETAllEngagements" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 12899 +== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)All Engagements(%%) == 3262 3262 3263 -(% class="western" %) 3264 -**COMPONENT: Transactions** 12901 +---- 3265 3265 12903 +---- 12904 + 12905 +{{panel bgColor="#D3D3D3" width="100%"}} 12906 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/engagements 12907 +{{/panel}} 12908 + 12909 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 12910 + 12911 +---- 12912 + 12913 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 12914 + 12915 +==== Example ==== 12916 + 12917 +---- 12918 + 12919 +(% style="color:#6b6b6b" %)Request 12920 + 12921 +{{code language="php" theme="RDark" title="Get All Engagement Request"}} 12922 +<?php 12923 + 12924 +$curl = curl_init(); 12925 + 12926 +curl_setopt_array($curl, array( 12927 + CURLOPT_URL => 'https://api.onecount.net/v2/engagements', 12928 + CURLOPT_RETURNTRANSFER => true, 12929 + CURLOPT_ENCODING => '', 12930 + CURLOPT_MAXREDIRS => 10, 12931 + CURLOPT_TIMEOUT => 0, 12932 + CURLOPT_FOLLOWLOCATION => true, 12933 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 12934 + CURLOPT_CUSTOMREQUEST => 'GET', 12935 + CURLOPT_HTTPHEADER => array( 12936 + 'Appkey: {{ONECOUNT API KEY}}' 12937 + ), 12938 +)); 12939 + 12940 +$response = curl_exec($curl); 12941 + 12942 +curl_close($curl); 12943 +echo $response; 12944 + 12945 + 12946 +{{/code}} 12947 + 12948 + 12949 +(% style="color:#6b6b6b" %)Response 200 OK 12950 + 12951 +{{code language="yml" theme="RDark" collapse="true" title="Get all engagements Response"}} 12952 + { 12953 + "result": { 12954 + "success": "1", 12955 + "error": { 12956 + "code": "", 12957 + "message": "" 12958 + } 12959 + }, 12960 + "Engagements": [ 12961 + { 12962 + "Id": "048d38e9-d6c3-432e-9671-3f31809d48b3", 12963 + "Name": "Test Engagement 1", 12964 + "Engagement Fields": [ 12965 + { 12966 + "Name": "id", 12967 + "Type": "text" 12968 + }, 12969 + { 12970 + "Name": "activity_time", 12971 + "Type": "text" 12972 + }, 12973 + { 12974 + "Name": "Name", 12975 + "Type": "text" 12976 + }, 12977 + { 12978 + "Name": "Test Field", 12979 + "Type": "select", 12980 + "Values": [ 12981 + { 12982 + "text": "Test 1", 12983 + "value": "Test1" 12984 + } 12985 + ] 12986 + } 12987 + ] 12988 + } 12989 + ] 12990 +} 12991 +{{/code}} 12992 + 12993 + 12994 +(% id="HGETSpecificEngagement" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 12995 +== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)Specific Engagement(%%) == 12996 + 12997 +---- 12998 + 12999 +---- 13000 + 13001 +{{panel bgColor="#D3D3D3" width="100%"}} 13002 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/engagements/~{~{Engagement ID}} 13003 +{{/panel}} 13004 + 13005 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 13006 + 13007 +---- 13008 + 13009 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 13010 + 13011 +==== Example ==== 13012 + 13013 +---- 13014 + 13015 +(% style="color:#6b6b6b" %)Request 13016 + 13017 +{{code language="php" theme="RDark" title="Get Specific Engagement Request"}} 13018 +<?php 13019 + 13020 +$curl = curl_init(); 13021 + 13022 +curl_setopt_array($curl, array( 13023 + CURLOPT_URL => 'https://api.onecount.net/v2/engagements/{{Engagement ID}}', 13024 + CURLOPT_RETURNTRANSFER => true, 13025 + CURLOPT_ENCODING => '', 13026 + CURLOPT_MAXREDIRS => 10, 13027 + CURLOPT_TIMEOUT => 0, 13028 + CURLOPT_FOLLOWLOCATION => true, 13029 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 13030 + CURLOPT_CUSTOMREQUEST => 'GET', 13031 + CURLOPT_HTTPHEADER => array( 13032 + 'Appkey: {{ONECOUNT API KEY}}' 13033 + ), 13034 +)); 13035 + 13036 +$response = curl_exec($curl); 13037 + 13038 +curl_close($curl); 13039 +echo $response; 13040 + 13041 + 13042 +{{/code}} 13043 + 13044 + 13045 +(% style="color:#6b6b6b" %)Response 200 OK 13046 + 13047 +{{code language="yml" theme="RDark" collapse="true" title="Get specific engagement Response"}} 13048 + { 13049 + "result": { 13050 + "success": "1", 13051 + "error": { 13052 + "code": "", 13053 + "message": "" 13054 + } 13055 + }, 13056 + "Engagements": [ 13057 + { 13058 + "Id": "048d38e9-d6c3-432e-9671-3f31809d48b3", 13059 + "Name": "Test Engagement 1", 13060 + "Engagement Fields": [ 13061 + { 13062 + "Name": "id", 13063 + "Type": "text" 13064 + }, 13065 + { 13066 + "Name": "activity_time", 13067 + "Type": "text" 13068 + }, 13069 + { 13070 + "Name": "Name", 13071 + "Type": "text" 13072 + }, 13073 + { 13074 + "Name": "Test Field", 13075 + "Type": "select", 13076 + "Values": [ 13077 + { 13078 + "text": "Test 1", 13079 + "value": "Test1" 13080 + } 13081 + ] 13082 + } 13083 + ] 13084 + } 13085 + ] 13086 +} 13087 +{{/code}} 13088 + 13089 + 13090 +(% id="HPOSTCreateEngagement" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 13091 +== (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#ad7a03" %)POST(% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %) Create Engagement(%%) == 13092 + 13093 +---- 13094 + 13095 +{{panel bgColor="#D3D3D3" width="100%"}} 13096 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/engagements 13097 +{{/panel}} 13098 + 13099 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 13100 + 13101 +---- 13102 + 13103 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 13104 + 13105 +=== (% style="color:#212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) === 13106 + 13107 +---- 13108 + 13109 +{{code language="yml" theme="RDark" title="Body"}} 13110 +{"Name":"Engagement Name", "Description":"Engagement Description", "Metrics":[ 13111 + {"Name":[{"webinar ID 1":"Webinar 1"},{"webinar ID 3":"Webinar 3"},{"webinar ID 3":"Webinar 3"}],"Type": "select"}, 13112 + {"Attendance Status":[{"attended":"Attended"},{"not_attended":"Not Attended"}],"Type": "select"}, 13113 + {"Price":[],"Type": "numeric"}, 13114 + {"Transaction Date":[],"Type": "date"} 13115 +]} 13116 +{{/code}} 13117 + 13118 +==== Example ==== 13119 + 13120 +---- 13121 + 13122 +(% style="color:#6b6b6b" %)Request 13123 + 13124 +{{code language="php" theme="RDark" title="Create Engagement Request"}} 13125 +<?php 13126 + 13127 +$curl = curl_init(); 13128 + 13129 +curl_setopt_array($curl, array( 13130 + CURLOPT_URL => 'https://api.onecount.net/v2/engagements', 13131 + CURLOPT_RETURNTRANSFER => true, 13132 + CURLOPT_ENCODING => '', 13133 + CURLOPT_MAXREDIRS => 10, 13134 + CURLOPT_TIMEOUT => 0, 13135 + CURLOPT_FOLLOWLOCATION => true, 13136 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 13137 + CURLOPT_CUSTOMREQUEST => 'POST', 13138 + CURLOPT_POSTFIELDS =>'{"Name":"Test engagement 2", "Description":"Test engagement 2", "Metrics":[ 13139 + {"Name":[{"text":"Webinar 1","value":"Webinar_1"},{"text":"Webinar 2","value":"Webinar_2"}],"Type": "select"}, 13140 + {"Attendance Status":[{"text":"Attended","value":"attended"},{"text":"Not Attended","value":"not_attended"}],"Type": "select"}, 13141 + {"Price":[],"Type": "numeric"}, 13142 + {"Transaction Date":[],"Type": "text"} 13143 +]}', 13144 + CURLOPT_HTTPHEADER => array( 13145 + 'Appkey: {{ONECOUNT API KEY}}', 13146 + 'Content-Type: application/json' 13147 + ), 13148 +)); 13149 + 13150 +$response = curl_exec($curl); 13151 + 13152 +curl_close($curl); 13153 +echo $response; 13154 + 13155 + 13156 +{{/code}} 13157 + 13158 + 13159 +(% style="color:#6b6b6b" %)Response 200 OK 13160 + 13161 +{{code language="yml" theme="RDark" collapse="true" title="Create Engagement Response"}} 13162 + { 13163 + "result": { 13164 + "success": "1", 13165 + "error": { 13166 + "code": "", 13167 + "message": "" 13168 + } 13169 + }, 13170 + "Engagements": [ 13171 + { 13172 + "Id": "71c1115f-e5bb-470a-bedf-6940f5ac8565", 13173 + "Name": "Test engagement 2", 13174 + "Metrics": [ 13175 + { 13176 + "Name": "Name", 13177 + "Type": "select", 13178 + "Values": [ 13179 + { 13180 + "text": "Webinar 1", 13181 + "value": "Webinar_1" 13182 + }, 13183 + { 13184 + "text": "Webinar 2", 13185 + "value": "Webinar_2" 13186 + } 13187 + ] 13188 + }, 13189 + { 13190 + "Name": "Attendance Status", 13191 + "Type": "select", 13192 + "Values": [ 13193 + { 13194 + "text": "Attended", 13195 + "value": "attended" 13196 + }, 13197 + { 13198 + "text": "Not Attended", 13199 + "value": "not_attended" 13200 + } 13201 + ] 13202 + }, 13203 + { 13204 + "Name": "Price", 13205 + "Type": "numeric" 13206 + }, 13207 + { 13208 + "Name": "Transaction Date", 13209 + "Type": "text" 13210 + }, 13211 + { 13212 + "Name": "id", 13213 + "Type": "text" 13214 + }, 13215 + { 13216 + "Name": "activity_time", 13217 + "Type": "text" 13218 + } 13219 + ] 13220 + } 13221 + ] 13222 +} 13223 +{{/code}} 13224 + 13225 + 13226 +(% id="HPUTUpdateEngagement" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 13227 +== (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#0053b8" %)PUT (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)Update Engagement(%%) == 13228 + 13229 +---- 13230 + 13231 +{{panel bgColor="#D3D3D3" width="100%"}} 13232 + (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/engagements/~{~{Engagement Id}} 13233 +{{/panel}} 13234 + 13235 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 13236 + 13237 +---- 13238 + 13239 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 13240 + 13241 +=== (% style="color:#212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) === 13242 + 13243 +---- 13244 + 13245 +{{code language="yml" theme="RDark" title="Body"}} 13246 +{"Name":"Test engagement 3", "Metrics":[ 13247 + {"Attendance Status":[{"text":"Attended","value":"attended"},{"text":"Not Attended","value":"not_attended"}],"Type": "select"}, 13248 + {"Price":[],"Type": "text"} 13249 + ]} 13250 +{{/code}} 13251 + 13252 +==== Example ==== 13253 + 13254 +---- 13255 + 13256 +(% style="color:#6b6b6b" %)Request 13257 + 13258 +{{code language="php" theme="RDark" title="Update Engagement Request"}} 13259 + <?php 13260 + 13261 +$curl = curl_init(); 13262 + 13263 +curl_setopt_array($curl, array( 13264 + CURLOPT_URL => 'https://api.onecount.net/v2/engagements/{{Engagement Id}}', 13265 + CURLOPT_RETURNTRANSFER => true, 13266 + CURLOPT_ENCODING => '', 13267 + CURLOPT_MAXREDIRS => 10, 13268 + CURLOPT_TIMEOUT => 0, 13269 + CURLOPT_FOLLOWLOCATION => true, 13270 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 13271 + CURLOPT_CUSTOMREQUEST => 'PUT', 13272 + CURLOPT_POSTFIELDS =>'{"Name":"Test engagement 3", "Metrics":[ 13273 + {"Attendance Status":[{"text":"Attended","value":"attended"},{"text":"Not Attended","value":"not_attended"}],"Type": "select"}, 13274 + {"Price":[],"Type": "text"} 13275 + ]}', 13276 + CURLOPT_HTTPHEADER => array( 13277 + 'Appkey: {{ONECOUNT API KEY}}', 13278 + 'Content-Type: application/json' 13279 + ), 13280 +)); 13281 + 13282 +$response = curl_exec($curl); 13283 + 13284 +curl_close($curl); 13285 +echo $response; 13286 + 13287 +{{/code}} 13288 + 13289 + 13290 +(% style="color:#6b6b6b" %)Response 200 OK 13291 + 13292 +{{code language="yml" theme="RDark" collapse="true" title="Update Engagement Response"}} 13293 +{ 13294 + "result": { 13295 + "success": "1", 13296 + "error": { 13297 + "code": "", 13298 + "message": "" 13299 + } 13300 + }, 13301 + "Engagements": [ 13302 + { 13303 + "Id": "e0e816ec-77ba-4db1-bfc0-22d340337357", 13304 + "Name": "Test engagement 3", 13305 + "Metrics": [ 13306 + { 13307 + "Name": "Attendance Status", 13308 + "Type": "select", 13309 + "Values": [ 13310 + { 13311 + "text": "Attended", 13312 + "value": "attended" 13313 + }, 13314 + { 13315 + "text": "Not Attended", 13316 + "value": "not_attended" 13317 + } 13318 + ] 13319 + }, 13320 + { 13321 + "Name": "Price", 13322 + "Type": "text" 13323 + }, 13324 + { 13325 + "Name": "Name", 13326 + "Type": "select", 13327 + "Values": [ 13328 + { 13329 + "text": "Webinar 1", 13330 + "value": "Webinar_1" 13331 + }, 13332 + { 13333 + "text": "Webinar 2", 13334 + "value": "Webinar_2" 13335 + } 13336 + ] 13337 + }, 13338 + { 13339 + "Name": "Transaction Date", 13340 + "Type": "text" 13341 + }, 13342 + { 13343 + "Name": "id", 13344 + "Type": "text" 13345 + }, 13346 + { 13347 + "Name": "activity_time", 13348 + "Type": "text" 13349 + } 13350 + ] 13351 + } 13352 + ] 13353 +} 13354 +{{/code}} 13355 + 13356 + 13357 +(% id="HPOSTAddUsertoEngagement" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 13358 +== (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#ad7a03" %)POST(% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %) Add User to Engagement(%%) == 13359 + 13360 +---- 13361 + 13362 +{{panel bgColor="#D3D3D3" width="100%"}} 13363 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/engagements/addUser 13364 +{{/panel}} 13365 + 13366 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 13367 + 13368 +---- 13369 + 13370 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 13371 + 13372 +=== (% style="color:#212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) === 13373 + 13374 +---- 13375 + 13376 +{{code language="yml" theme="RDark" title="Body"}} 13377 +{"engagement id":"e0e816ec-77ba-4db1-bfc0-22d340337357","show id":"Webinar_1","ocid":"1845775", "date":"2023-12-31 14:12:38", "data":{"price":"10","attendance_status":"not_attended"},"segment":{}} 13378 +{{/code}} 13379 + 13380 +==== Example ==== 13381 + 13382 +---- 13383 + 13384 +(% style="color:#6b6b6b" %)Request 13385 + 13386 +{{code language="php" theme="RDark" title="Add User to Engagement Request"}} 13387 + <?php 13388 + 13389 +$curl = curl_init(); 13390 + 13391 +curl_setopt_array($curl, array( 13392 + CURLOPT_URL => 'https://api.onecount.net/v2/engagements/addUser', 13393 + CURLOPT_RETURNTRANSFER => true, 13394 + CURLOPT_ENCODING => '', 13395 + CURLOPT_MAXREDIRS => 10, 13396 + CURLOPT_TIMEOUT => 0, 13397 + CURLOPT_FOLLOWLOCATION => true, 13398 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 13399 + CURLOPT_CUSTOMREQUEST => 'POST', 13400 + CURLOPT_POSTFIELDS =>'{"engagement id":"e0e816ec-77ba-4db1-bfc0-22d340337357","show id":"Webinar_1","ocid":"1845775", "date":"2023-12-31 14:12:38", "data":{"price":"10","attendance_status":"not_attended"},"segment":{}}', 13401 + CURLOPT_HTTPHEADER => array( 13402 + 'Appkey: {{ONECOUNT API KEY}}' 13403 + ), 13404 +)); 13405 + 13406 +$response = curl_exec($curl); 13407 + 13408 +curl_close($curl); 13409 +echo $response; 13410 +{{/code}} 13411 + 13412 + 13413 +(% style="color:#6b6b6b" %)Response 200 OK 13414 + 13415 +{{code language="yml" theme="RDark" collapse="true" title="Add Users to Engagement Response"}} 13416 + { 13417 + "result": { 13418 + "success": "1", 13419 + "error": { 13420 + "code": "", 13421 + "message": "" 13422 + } 13423 + }, 13424 + "Users": { 13425 + "ocid": 1845775, 13426 + "uuid": { 13427 + "type": { 13428 + "name": "uuid" 13429 + }, 13430 + "uuid": "a1425a04-4c0c-4790-bcd6-425bc7729fd7", 13431 + "version": 4 13432 + }, 13433 + "blacklisted": null, 13434 + "demo": { 13435 + "1": "rayaan@one-count.com", 13436 + "2": "user_1701788987", 13437 + "3": "5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5" 13438 + }, 13439 + "email": "rayaan@one-count.com", 13440 + "espid": null, 13441 + "known": { 13442 + "type": { 13443 + "name": "smallint" 13444 + }, 13445 + "value": "1" 13446 + }, 13447 + "ocid_hash": "57b81cf5536171c84e6e8a0b762251ee7819737b2e95f1390fed97acc11a277b", 13448 + "partners_hash": null, 13449 + "password": "5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5", 13450 + "payment_cc_exp": null, 13451 + "payment_vendor_token": null, 13452 + "products": { 13453 + "599": "447" 13454 + }, 13455 + "remarks": null, 13456 + "resources": null, 13457 + "smartlink_hash": null, 13458 + "subscription_active_resource_info": null, 13459 + "subscription_active_term_info": { 13460 + "447": "{\"renewed\":1,\"expiration_month\":202512,\"product_status\":\"2\",\"expiration_date\":20251211}" 13461 + }, 13462 + "subscription_log": { 13463 + "type": { 13464 + "valueType": { 13465 + "name": "varchar" 13466 + } 13467 + }, 13468 + "values": [ 13469 + "{\"batch_id\":\"1234\",\"__cuuid\":\"49\",\"subscription_time\":\"2023-12-11 09:09:01\",\"product_status\":\"2\",\"promo_code\":\"\",\"type\":\"term\",\"expiration_date\":20251211,\"subscription_date\":20231211,\"ocid\":1845775,\"product_uid\":\"599\",\"timestamp\":1702303741,\"amount\":0,\"quantity\":1,\"import_id\":\"83\",\"ip\":\"10.10.20.7\",\"form_id\":\"8f93834c-adce-4dc7-acd0-f3a1e0f7c63f\",\"previous_expiration_date\":20231211,\"term_uid\":\"447\",\"renewed\":1,\"request_date\":20231211,\"payment_transaction_id\":\"0\",\"subscription_type\":\"n\",\"payment_processor\":\"\",\"remarks\":\"USER SUBSCRIBED\",\"user_uid\":\"a1425a04-4c0c-4790-bcd6-425bc7729fd7\"}", 13470 + "{\"batch_id\":\"1234\",\"__cuuid\":\"49\",\"subscription_time\":\"2023-12-11 09:20:49\",\"product_status\":\"2\",\"promo_code\":\"\",\"type\":\"term\",\"expiration_date\":20251211,\"subscription_date\":20231211,\"ocid\":1845775,\"product_uid\":\"599\",\"timestamp\":1702304449,\"amount\":0,\"quantity\":1,\"import_id\":\"83\",\"ip\":\"10.10.20.7\",\"form_id\":\"8f93834c-adce-4dc7-acd0-f3a1e0f7c63f\",\"previous_expiration_date\":20231211,\"term_uid\":\"447\",\"renewed\":1,\"request_date\":20231211,\"payment_transaction_id\":\"0\",\"subscription_type\":\"n\",\"payment_processor\":\"\",\"remarks\":\"USER SUBSCRIBED\",\"user_uid\":\"a1425a04-4c0c-4790-bcd6-425bc7729fd7\"}", 13471 + "{\"batch_id\":\"1234\",\"__cuuid\":\"49\",\"subscription_time\":\"2023-12-11 09:34:26\",\"product_status\":\"2\",\"promo_code\":\"\",\"type\":\"term\",\"expiration_date\":20251211,\"subscription_date\":20231211,\"ocid\":1845775,\"product_uid\":\"599\",\"timestamp\":1702305266,\"amount\":0,\"quantity\":1,\"import_id\":\"83\",\"ip\":\"10.10.20.7\",\"form_id\":\"8f93834c-adce-4dc7-acd0-f3a1e0f7c63f\",\"previous_expiration_date\":20231211,\"term_uid\":\"447\",\"renewed\":1,\"request_date\":20231211,\"payment_transaction_id\":\"0\",\"subscription_type\":\"n\",\"payment_processor\":\"\",\"remarks\":\"USER SUBSCRIBED\",\"user_uid\":\"a1425a04-4c0c-4790-bcd6-425bc7729fd7\"}" 13472 + ] 13473 + }, 13474 + "subscription_log_by_resource": null, 13475 + "subscription_source_code": [ 13476 + "83" 13477 + ], 13478 + "targets": null, 13479 + "timestamp": { 13480 + "type": { 13481 + "name": "bigint" 13482 + }, 13483 + "value": "1701788987" 13484 + }, 13485 + "unconfirmed": null, 13486 + "update_time": null, 13487 + "username": "user_1701788987", 13488 + "vendor_blacklisted": null, 13489 + "vendor_esp": null, 13490 + "vendor_unconfirmed": null 13491 + } 13492 +} 13493 +{{/code}} 13494 + 13495 + 13496 +(% id="HCOMPONENT:Segments" class="western" %) 13497 +=== **COMPONENT: Segments** === 13498 + 13499 +* 13500 +** === 13501 + 3266 3266 (% class="western" %) 3267 -This resource is for manipulating transactionsresource. Atransaction can becreated or searched.13503 +This resource is for manipulating segment for a resource. A segment can be searched (or) add users to segment (or) get all segment for a user. 3268 3268 3269 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)13505 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3270 3270 ((( 3271 3271 (% class="western" %) 3272 3272 **Method** 3273 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)13509 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3274 3274 ((( 3275 3275 (% class="western" %) 3276 3276 **Url** 3277 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)13513 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3278 3278 ((( 3279 3279 (% class="western" %) 3280 3280 **Action** 3281 3281 ))) 3282 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)13518 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3283 3283 ((( 3284 3284 (% class="western" %) 3285 3285 GET 3286 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)13522 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3287 3287 ((( 3288 3288 (% class="western" %) 3289 -/ transactions3290 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)13525 +/(% style="color:#212121" %)segments 13526 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3291 3291 ((( 3292 3292 (% class="western" %) 3293 - List alltransactions13529 +Get all segments. 3294 3294 ))) 3295 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)13531 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3296 3296 ((( 3297 3297 (% class="western" %) 3298 3298 GET 3299 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)13535 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3300 3300 ((( 3301 3301 (% class="western" %) 3302 -/tr ansactions/lookup?UserId=13303 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)13538 +/(% style="color:#212121" %)segments(%%)/(% class="resolvedVariable" style="text-decoration:none" %)~{~{Segment id}} 13539 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3304 3304 ((( 3305 3305 (% class="western" %) 3306 - Lookup alltransaction ofUserId=113542 +Get specific segment based on segment id. 3307 3307 ))) 3308 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)13544 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3309 3309 ((( 3310 3310 (% class="western" %) 3311 3311 POST 3312 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)13548 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3313 3313 ((( 3314 3314 (% class="western" %) 3315 -/tr ansactions3316 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)13551 +/(% style="color:#212121" %)segments/addUsers 13552 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3317 3317 ((( 3318 3318 (% class="western" %) 3319 - JSONof theTransactionstypeobjectneedsto besentas post data.Id field should not be sent.13555 +Add users to segment. 3320 3320 ))) 3321 - 3322 -\\ 3323 - 3324 -(% class="western" %) 3325 -\\ 3326 - 3327 -(% class="western" %) 3328 -Transactions can be looked up using transactionId, date range, userid. Use GET method to do lookup. 3329 - 3330 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 13557 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3331 3331 ((( 3332 3332 (% class="western" %) 3333 - **Request**3334 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)13560 +GET 13561 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3335 3335 ((( 3336 3336 (% class="western" %) 3337 - **Type**3338 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)13564 +/(% style="color:#212121" %)segments/users/(% class="resolvedVariable" style="text-decoration:none" %)~{~{ocid}} 13565 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3339 3339 ((( 3340 3340 (% class="western" %) 3341 - **Description**13568 +Get all segment user has be subscribed based on user id. 3342 3342 ))) 3343 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3344 -((( 3345 -(% class="western" %) 3346 -Lookup params 3347 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3348 -((( 3349 -(% class="western" %) 3350 -String 3351 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3352 -((( 3353 -(% class="western" %) 3354 -URL encoded key value string parameter for the lookup. 3355 3355 3356 -(% class="western" %) 3357 -Params: 3358 3358 3359 -(% class=" western" %)3360 - UserId:Idof theuserwhosetransactionbeokedup(Int)13572 +(% id="HGETAllSegments" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 13573 +== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)All Segments(%%) == 3361 3361 3362 -(% class="western" %) 3363 -StartDate: Date from which the start should happen. Only valid when UserId is set. (Date) 13575 +---- 3364 3364 3365 -(% class="western" %) 3366 -EndDate: When the search should end. Only valid when UserId is set. (Date) 3367 -))) 13577 +---- 3368 3368 3369 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3370 -((( 3371 -(% class="western" %) 3372 -**Response** 3373 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3374 -((( 3375 -(% class="western" %) 3376 -**Type** 3377 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3378 -((( 3379 -(% class="western" %) 3380 -**Description** 3381 -))) 3382 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3383 -((( 3384 -(% class="western" %) 3385 -Transactions 3386 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3387 -((( 3388 -(% class="western" %) 3389 -Transactions 3390 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3391 -((( 3392 -(% class="western" %) 3393 -Returns all transaction that satisfies the search criteria. Returns all the package and product transactions of the user. Package Transactions are the one with TermId and ProductId. Product Transactions are the one with ResourceId. 3394 -))) 13579 +{{panel bgColor="#D3D3D3" width="100%"}} 13580 +(% class="nolink nolink" %)https:~/~/api.onecount.net/v2(% class="nolink" style="color:#212121" %)/segments 13581 +{{/panel}} 3395 3395 3396 - \\13583 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 3397 3397 3398 - **Sample response for /(% style="color: rgb(80,80,80);" %)transactions/lookup?UserId=25255105:(%%)**13585 +---- 3399 3399 3400 -(% class="" %)|=(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3401 -((( 3402 -(% class="content-wrapper" %) 3403 -((( 3404 -(% class="confluence-embedded-file-wrapper confluence-embedded-manual-size" %)[[image:attach:Screen Shot 2020-02-26 at 11.14.29 AM.png||width="1407"]] 3405 -))) 3406 -))) 13587 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 3407 3407 3408 - \\13589 +==== Example ==== 3409 3409 3410 -(% class="western" %) 3411 -POST method can be used to create user transaction. Transaction info needs to be sent as request and a TransactionId will be returned when the transaction is created. 13591 +---- 3412 3412 3413 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3414 -((( 3415 -(% class="western" %) 3416 -**Request** 3417 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3418 -((( 3419 -(% class="western" %) 3420 -**Type** 3421 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3422 -((( 3423 -(% class="western" %) 3424 -**Description** 3425 -))) 3426 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3427 -((( 3428 -(% class="western" %) 3429 -Transactions 3430 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3431 -((( 3432 -(% class="western" %) 3433 -Transactions 3434 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3435 -((( 3436 -(% class="western" %) 3437 -Contains fields that define a transaction. Id field should not be set. 3438 -))) 13593 +(% style="color:#6b6b6b" %)Request 3439 3439 3440 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3441 -((( 3442 -(% class="western" %) 3443 -**Response** 3444 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3445 -((( 3446 -(% class="western" %) 3447 -**Type** 3448 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3449 -((( 3450 -(% class="western" %) 3451 -**Description** 3452 -))) 3453 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3454 -((( 3455 -(% class="western" %) 3456 -TransactionId 3457 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3458 -((( 3459 -(% class="western" %) 3460 -int 3461 -)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3462 -((( 3463 -(% class="western" %) 3464 -Returns transactionId of the newly created transaction. 3465 -))) 13595 +{{code language="php" theme="RDark" title="Get All Segments Request"}} 13596 +<?php 3466 3466 3467 - \\13598 +$curl = curl_init(); 3468 3468 3469 -\\ 13600 +curl_setopt_array($curl, array( 13601 + CURLOPT_URL => 'https://api.onecount.net/v2/segments', 13602 + CURLOPT_RETURNTRANSFER => true, 13603 + CURLOPT_ENCODING => '', 13604 + CURLOPT_MAXREDIRS => 10, 13605 + CURLOPT_TIMEOUT => 0, 13606 + CURLOPT_FOLLOWLOCATION => true, 13607 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 13608 + CURLOPT_CUSTOMREQUEST => 'GET', 13609 + CURLOPT_HTTPHEADER => array( 13610 + 'Appkey: {{ONECOUNT API KEY}}' 13611 + ), 13612 +)); 3470 3470 3471 -(% class="western" %) 3472 -**COMPONENT: Leads 3473 -** 13614 +$response = curl_exec($curl); 3474 3474 3475 -(% class="western" %) 3476 -Stats resource can be used to submit any type of stat collected on the third party systems. Each type of stat will be represented by a sub-resource. So, for telemarketing it could be **/stats/telemarketing** endpoint, for videos it can be **/stats/videos**, for webinar it could be **/stats/webinars** etc. Right now we only have telemarketing sub-resource. 13616 +curl_close($curl); 13617 +echo $response; 13618 +{{/code}} 3477 3477 3478 -(% class="western" %) 3479 -\\ 3480 3480 3481 -(% class="western" %) 3482 -\\ 13621 +(% style="color:#6b6b6b" %)Response 200 OK 3483 3483 3484 -(% class="western" %) 3485 -\\ 13623 +{{code language="yml" theme="RDark" collapse="true" title="Get All Segments Response"}} 13624 + { 13625 + "result": { 13626 + "success": "1", 13627 + "error": { 13628 + "code": "", 13629 + "message": "" 13630 + } 13631 + }, 13632 + "Segments": [ 13633 + { 13634 + "Id": "891aa4b6-9e0e-4706-b08a-e7acb54e7e43", 13635 + "Name": "2022 Use Cases PDF Download" 13636 + }, 13637 + { 13638 + "Id": "a639cb1f-6509-447b-a1d7-93a8e8ef61b1", 13639 + "Name": "58-percent conversion-rate" 13640 + }, 13641 + { 13642 + "Id": "43eefdc6-89ab-4472-88c3-e16fb9619138", 13643 + "Name": "Audience Marketing Pop-Up" 13644 + }, 13645 + { 13646 + "Id": "68219b37-c155-4459-a5ce-497261286ffe", 13647 + "Name": "Bold Minds Reminders" 13648 + }, 13649 + { 13650 + "Id": "6450defc-7658-4182-9c2a-a8f8420f801e", 13651 + "Name": "Demo - Aviator's Guide - NL Popup" 13652 + }, 13653 + { 13654 + "Id": "28774f7c-9fd3-4dff-a42e-683460f437c0", 13655 + "Name": "Getting 80-Percent Conversion Rates Pop-up" 13656 + }, 13657 + { 13658 + "Id": "71b655e6-a11a-46af-bed5-b9eb1d6ac3aa", 13659 + "Name": "Holiday Special Offer - 3 mo. Pilot" 13660 + }, 13661 + { 13662 + "Id": "16305ad0-8e65-4085-942e-04d99fd39207", 13663 + "Name": "Identity Resolution Test II" 13664 + }, 13665 + { 13666 + "Id": "fcdfa9cb-baa2-4cc8-86b3-8f604471f2f3", 13667 + "Name": "Live ONEcount Popup Example Segment" 13668 + }, 13669 + { 13670 + "Id": "2463b0a3-1e22-4fd0-97b2-bbdae30e585a", 13671 + "Name": "Live webinar - June 15 - Accelerate Revenue" 13672 + }, 13673 + { 13674 + "Id": "d8d1bc9d-ede2-4c82-a747-10ab9fb979de", 13675 + "Name": "LIVE WEBINAR ONEcount BI Pop-up Campaign" 13676 + }, 13677 + { 13678 + "Id": "d883ecdb-5307-416d-9558-c196472021c9", 13679 + "Name": "New Year - Increase Revenue 30-Percent" 13680 + }, 13681 + { 13682 + "Id": "08abbc5b-aafe-4834-90f5-ac45fe025d73", 13683 + "Name": "OC Test" 13684 + }, 13685 + { 13686 + "Id": "24cf72e9-ad71-489c-89ef-b80d0c42e2e2", 13687 + "Name": "Something big" 13688 + }, 13689 + { 13690 + "Id": "0d37c79e-deb2-4287-9444-ae4812a9d8f0", 13691 + "Name": "Something No Other Platform Has" 13692 + }, 13693 + { 13694 + "Id": "5eaa0345-a825-4ba0-a787-336312a77744", 13695 + "Name": "Something Revolutionary" 13696 + }, 13697 + { 13698 + "Id": "c905d313-8d5e-45c1-aaab-7f8c8adc2bea", 13699 + "Name": "Something that will change your life" 13700 + }, 13701 + { 13702 + "Id": "1bfb1c06-4b26-4ac3-a616-eb6b225e5f0e", 13703 + "Name": "Something You Have Always Wanted" 13704 + }, 13705 + { 13706 + "Id": "28361c73-e253-49bb-a791-5481be2070a0", 13707 + "Name": "Something You Never Thought Possible" 13708 + }, 13709 + { 13710 + "Id": "86e7129a-a538-4c56-a731-7e9c08fa8814", 13711 + "Name": "Test behaviour " 13712 + }, 13713 + { 13714 + "Id": "e5e53cd4-bbd0-465b-b426-e267964fd0b4", 13715 + "Name": "Test behaviour banner segment" 13716 + }, 13717 + { 13718 + "Id": "78ffd6d7-0b40-4e5a-8f32-622a04fb5561", 13719 + "Name": "Test behaviour combo" 13720 + }, 13721 + { 13722 + "Id": "0022394d-7901-4aff-98c2-0c8c04fcb27a", 13723 + "Name": "Test behaviour content" 13724 + }, 13725 + { 13726 + "Id": "89424642-1363-476e-9842-4f0a2544151f", 13727 + "Name": "Test behaviour email" 13728 + }, 13729 + { 13730 + "Id": "ca848e53-3f3e-43c6-ae61-f331f3135c6c", 13731 + "Name": "Test demographic segments" 13732 + }, 13733 + { 13734 + "Id": "e11d11fa-7603-4dee-a361-c6e909249ecd", 13735 + "Name": "Test with unknown only selecting all filters" 13736 + } 13737 + ] 13738 +} 13739 +{{/code}} 3486 3486 3487 -(% class="western" %) 3488 -\\ 3489 3489 3490 -(% class=" western" %)3491 - \\13742 +(% id="HGETspecificSegments" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 13743 +== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)specific Segments(%%) == 3492 3492 13745 +---- 13746 + 13747 +{{panel bgColor="#D3D3D3" width="100%"}} 13748 + (% class="nolink nolink" %)https:~/~/api.onecount.net/v2(% class="nolink" style="color:#212121" %)/segments/~{~{segment id}} 13749 +{{/panel}} 13750 + 13751 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 13752 + 13753 +---- 13754 + 13755 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 13756 + 13757 +==== Example ==== 13758 + 13759 +---- 13760 + 13761 +(% style="color:#6b6b6b" %)Request 13762 + 13763 +{{code language="php" theme="RDark" title="Get specific Segment Request"}} 13764 + <?php 13765 + 13766 +$curl = curl_init(); 13767 + 13768 +curl_setopt_array($curl, array( 13769 + CURLOPT_URL => 'https://api.onecount.net/v2/segments/{{segment id}}', 13770 + CURLOPT_RETURNTRANSFER => true, 13771 + CURLOPT_ENCODING => '', 13772 + CURLOPT_MAXREDIRS => 10, 13773 + CURLOPT_TIMEOUT => 0, 13774 + CURLOPT_FOLLOWLOCATION => true, 13775 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 13776 + CURLOPT_CUSTOMREQUEST => 'GET', 13777 + CURLOPT_HTTPHEADER => array( 13778 + 'Appkey: {{ONECOUNT API KEY}}' 13779 + ), 13780 +)); 13781 + 13782 +$response = curl_exec($curl); 13783 + 13784 +curl_close($curl); 13785 +echo $response; 13786 +{{/code}} 13787 + 13788 + 13789 +(% style="color:#6b6b6b" %)Response 200 OK 13790 + 13791 +{{code language="yml" theme="RDark" collapse="true" title="Get specific Segments Response"}} 13792 + { 13793 + "result": { 13794 + "success": "1", 13795 + "error": { 13796 + "code": "", 13797 + "message": "" 13798 + } 13799 + }, 13800 + "Segments": { 13801 + "Id": "e5e53cd4-bbd0-465b-b426-e267964fd0b4", 13802 + "Demos": { 13803 + "_empty_": [], 13804 + "type": "" 13805 + }, 13806 + "Description": "", 13807 + "Action": { 13808 + "action": {} 13809 + }, 13810 + "Name": "Test behaviour banner segment", 13811 + "Behaviours": [ 13812 + { 13813 + "end_date": "05/26/2022", 13814 + "date_type": "Future", 13815 + "sub_category_values": [], 13816 + "sub_category": "clicked", 13817 + "category": "1", 13818 + "targets": [ 13819 + "all" 13820 + ], 13821 + "joining_logic": "AND", 13822 + "frequency": "1", 13823 + "start_date": "04/26/2022", 13824 + "day_count": "100" 13825 + } 13826 + ], 13827 + "Accounts": [] 13828 + } 13829 +} 13830 +{{/code}} 13831 + 13832 + 13833 +(% id="HPOSTAdduserstosegments" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 13834 +== (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#ad7a03" %)POST(% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %) Add users to segments(%%) == 13835 + 13836 +---- 13837 + 13838 +{{panel bgColor="#D3D3D3" width="100%"}} 13839 +(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/segments/addUsers 13840 +{{/panel}} 13841 + 13842 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 13843 + 13844 +---- 13845 + 13846 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 13847 + 13848 +=== (% style="color:#212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) === 13849 + 13850 +---- 13851 + 13852 +{{code language="yml" theme="RDark" title="Body"}} 13853 +{"Id":"78ffd6d7-0b40-4e5a-8f32-622a04fb5561","Users":[164499,676172,2134321]} 13854 +{{/code}} 13855 + 13856 +==== Example ==== 13857 + 13858 +---- 13859 + 13860 +(% style="color:#6b6b6b" %)Request 13861 + 13862 +{{code language="php" theme="RDark" title="Add users to Segment Request"}} 13863 +<?php 13864 + 13865 +$curl = curl_init(); 13866 + 13867 +curl_setopt_array($curl, array( 13868 + CURLOPT_URL => 'https://api.onecount.net/v2/segments/addUsers', 13869 + CURLOPT_RETURNTRANSFER => true, 13870 + CURLOPT_ENCODING => '', 13871 + CURLOPT_MAXREDIRS => 10, 13872 + CURLOPT_TIMEOUT => 0, 13873 + CURLOPT_FOLLOWLOCATION => true, 13874 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 13875 + CURLOPT_CUSTOMREQUEST => 'POST', 13876 + CURLOPT_POSTFIELDS =>'{"Id":"78ffd6d7-0b40-4e5a-8f32-622a04fb5561","Users":[164499,676172,2134321]}', 13877 + CURLOPT_HTTPHEADER => array( 13878 + 'Appkey: {{ONECOUNT API KEY}}', 13879 + 'Content-Type: application/json' 13880 + ), 13881 +)); 13882 + 13883 +$response = curl_exec($curl); 13884 + 13885 +curl_close($curl); 13886 +echo $response; 13887 +{{/code}} 13888 + 13889 + 13890 +(% style="color:#6b6b6b" %)Response 200 OK 13891 + 13892 +{{code language="yml" theme="RDark" collapse="true" title="Add users to segment Response"}} 13893 +{ 13894 + "result": { 13895 + "success": "1", 13896 + "error": { 13897 + "code": "", 13898 + "message": "" 13899 + } 13900 + }, 13901 + "Segments": { 13902 + "Error user ids": [ 13903 + 676172, 13904 + 2134321 13905 + ], 13906 + "Inserted user ids": [ 13907 + 164499 13908 + ] 13909 + } 13910 +} 13911 +{{/code}} 13912 + 13913 + 13914 +(% id="HGETallsegmentsforaUser" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 13915 +== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)all segments for a User(%%) == 13916 + 13917 +---- 13918 + 13919 +{{panel bgColor="#D3D3D3" width="100%"}} 13920 + (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/segments/users/(% class="nolink resolvedVariable" style="text-decoration:none" %)~{~{ocid}} 13921 +{{/panel}} 13922 + 13923 +=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 13924 + 13925 +---- 13926 + 13927 +(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Appkey (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color:#212121" %)~{~{ONECOUNT API KEY}} 13928 + 13929 +==== Example ==== 13930 + 13931 +---- 13932 + 13933 +(% style="color:#6b6b6b" %)Request 13934 + 13935 +{{code language="php" theme="RDark" title="Get all segments for a user Request"}} 13936 +<?php 13937 + 13938 +$curl = curl_init(); 13939 + 13940 +curl_setopt_array($curl, array( 13941 + CURLOPT_URL => 'rayaan.onecount.net/api/v2/segments/users/••••••', 13942 + CURLOPT_RETURNTRANSFER => true, 13943 + CURLOPT_ENCODING => '', 13944 + CURLOPT_MAXREDIRS => 10, 13945 + CURLOPT_TIMEOUT => 0, 13946 + CURLOPT_FOLLOWLOCATION => true, 13947 + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 13948 + CURLOPT_CUSTOMREQUEST => 'GET', 13949 + CURLOPT_HTTPHEADER => array( 13950 + 'Appkey: {{ONECOUNT API KEY}}' 13951 + ), 13952 +)); 13953 + 13954 +$response = curl_exec($curl); 13955 + 13956 +curl_close($curl); 13957 +echo $response; 13958 +{{/code}} 13959 + 13960 + 13961 +(% style="color:#6b6b6b" %)Response 200 OK 13962 + 13963 +{{code language="yml" theme="RDark" collapse="true" title="Get all Segments for a user Response"}} 13964 +{ 13965 + "result": { 13966 + "success": "1", 13967 + "error": { 13968 + "code": "", 13969 + "message": "" 13970 + } 13971 + }, 13972 + "Segments": [ 13973 + "0d37c79e-deb2-4287-9444-ae4812a9d8f0", 13974 + "1bfb1c06-4b26-4ac3-a616-eb6b225e5f0e", 13975 + "24cf72e9-ad71-489c-89ef-b80d0c42e2e2", 13976 + "28361c73-e253-49bb-a791-5481be2070a0", 13977 + "28774f7c-9fd3-4dff-a42e-683460f437c0", 13978 + "5eaa0345-a825-4ba0-a787-336312a77744", 13979 + "71b655e6-a11a-46af-bed5-b9eb1d6ac3aa", 13980 + "a639cb1f-6509-447b-a1d7-93a8e8ef61b1", 13981 + "bcb403a2-c0a1-414f-90c1-277a41009c97", 13982 + "c905d313-8d5e-45c1-aaab-7f8c8adc2bea", 13983 + "d883ecdb-5307-416d-9558-c196472021c9", 13984 + "d8d1bc9d-ede2-4c82-a747-10ab9fb979de" 13985 + ] 13986 +} 13987 +{{/code}} 13988 + 13989 + 13990 +(% id="HCOMPONENT:Leads" class="western" %) 13991 +=== **COMPONENT: Leads** === 13992 + 13993 +* 13994 +** === 13995 + 3493 3493 (% class="western" %) 3494 -**Telemarketing Leads 3495 -** 13997 +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. 3496 3496 3497 3497 (% class="western" %) 14000 +**Telemarketing Leads** 3498 3498 14002 + 3499 3499 This resource is for manipulating telemarketing stat resource. A telemarketing stat can be created or listed. 3500 3500 3501 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14005 +(% class="wrapped" %) 14006 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3502 3502 ((( 3503 3503 (% class="western" %) 3504 3504 **Method** 3505 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14010 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3506 3506 ((( 3507 3507 (% class="western" %) 3508 3508 **Url** 3509 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14014 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3510 3510 ((( 3511 3511 (% class="western" %) 3512 3512 **Action** 3513 3513 ))) 3514 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14019 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3515 3515 ((( 3516 3516 (% class="western" %) 3517 3517 GET 3518 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14023 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3519 3519 ((( 3520 3520 (% class="western" %) 3521 3521 /stats/telemarketing 3522 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14027 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3523 3523 ((( 3524 3524 (% class="western" %) 3525 3525 List telemarketing stats 3526 3526 ))) 3527 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14032 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3528 3528 ((( 3529 3529 (% class="western" %) 3530 3530 GET 3531 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14036 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3532 3532 ((( 3533 3533 (% class="western" %) 3534 3534 /stats/telemarketing/1000 3535 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14040 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3536 3536 ((( 3537 3537 (% class="western" %) 3538 3538 Get telemarketing stat whose id is 1000 in the system. 3539 3539 ))) 3540 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14045 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3541 3541 ((( 3542 3542 (% class="western" %) 3543 3543 POST 3544 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14049 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3545 3545 ((( 3546 3546 (% class="western" %) 3547 3547 /stats/telemarketing 3548 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14053 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3549 3549 ((( 3550 3550 (% class="western" %) 3551 3551 JSON of the Telemarketing type object needs to be sent as post data. Id field should not be sent. 3552 3552 ))) 3553 3553 3554 -\\ 3555 3555 3556 3556 (% class="western" %) 3557 3557 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. 3558 3558 3559 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14063 +(% class="wrapped" %) 14064 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3560 3560 ((( 3561 3561 (% class="western" %) 3562 3562 **Request** 3563 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14068 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3564 3564 ((( 3565 3565 (% class="western" %) 3566 3566 **Type** 3567 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14072 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3568 3568 ((( 3569 3569 (% class="western" %) 3570 3570 **Description** 3571 3571 ))) 3572 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14077 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3573 3573 ((( 3574 3574 (% class="western" %) 3575 3575 Telemarketing 3576 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14081 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3577 3577 ((( 3578 3578 (% class="western" %) 3579 3579 Telemarketing 3580 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14085 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3581 3581 ((( 3582 3582 (% class="western" %) 3583 3583 Contains fields that define a telemarketing stat. Id field should not be set. Refer to telemarketing object in references section. ... ... @@ -3610,7 +3610,7 @@ 3610 3610 "ResourceId":"250", 3611 3611 3612 3612 (% class="western" %) 3613 -"PageUrl": "[[http:~~/~~/www.one-count.com/detail/a.php>>url:http://www.one-count.com/detail/a.php|| style=""rel="nofollow" shape="rect" class="external-link"]]",14118 +"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"]]", 3614 3614 3615 3615 (% class="western" %) 3616 3616 "PageTitle":"tests" ... ... @@ -3624,57 +3624,49 @@ 3624 3624 (% class="western" %) 3625 3625 } 3626 3626 ))) 3627 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14132 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3628 3628 ((( 3629 3629 (% class="western" %) 3630 - \\3631 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14135 + 14136 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3632 3632 ((( 3633 3633 (% class="western" %) 3634 - \\3635 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14139 + 14140 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3636 3636 ((( 3637 3637 (% class="western" %) 3638 - \\14143 + 3639 3639 ))) 3640 3640 3641 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14146 +(% class="wrapped" %) 14147 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3642 3642 ((( 3643 3643 (% class="western" %) 3644 3644 **Response** 3645 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14151 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3646 3646 ((( 3647 3647 (% class="western" %) 3648 3648 **Type** 3649 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14155 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3650 3650 ((( 3651 3651 (% class="western" %) 3652 3652 **Description** 3653 3653 ))) 3654 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14160 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3655 3655 ((( 3656 3656 (% class="western" %) 3657 3657 Ids 3658 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14164 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3659 3659 ((( 3660 3660 (% class="western" %) 3661 3661 String 3662 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14168 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3663 3663 ((( 3664 3664 (% class="western" %) 3665 3665 Returns telemarketing ids of the newly created transaction. If multiple stats are sent, multiple ids are returned in cvs format. 3666 3666 ))) 3667 3667 3668 -\\ 3669 3669 3670 -\\ 3671 - 3672 -\\ 3673 - 3674 -\\ 3675 - 3676 -\\ 3677 - 3678 3678 (% class="western" %) 3679 3679 **API REFERENCE** 3680 3680 ... ... @@ -3681,54 +3681,55 @@ 3681 3681 (% class="western" %) 3682 3682 **Type: Questions** 3683 3683 3684 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14181 +(% class="wrapped" %) 14182 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3685 3685 ((( 3686 3686 (% class="western" %) 3687 3687 **Property Name** 3688 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14186 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3689 3689 ((( 3690 3690 (% class="western" %) 3691 3691 **Type** 3692 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14190 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3693 3693 ((( 3694 3694 (% class="western" %) 3695 3695 **Description** 3696 3696 ))) 3697 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14195 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3698 3698 ((( 3699 3699 (% class="western" %) 3700 3700 Id 3701 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14199 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3702 3702 ((( 3703 3703 (% class="western" %) 3704 3704 Int 3705 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14203 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3706 3706 ((( 3707 3707 (% class="western" %) 3708 3708 Id of the question. 3709 3709 ))) 3710 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14208 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3711 3711 ((( 3712 3712 (% class="western" %) 3713 3713 Text 3714 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14212 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3715 3715 ((( 3716 3716 (% class="western" %) 3717 3717 String 3718 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14216 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3719 3719 ((( 3720 3720 (% class="western" %) 3721 3721 Text of the question. 3722 3722 ))) 3723 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14221 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3724 3724 ((( 3725 3725 (% class="western" %) 3726 3726 Type 3727 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14225 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3728 3728 ((( 3729 3729 (% class="western" %) 3730 3730 Int 3731 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14229 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3732 3732 ((( 3733 3733 (% class="western" %) 3734 3734 Determines which type of question it is. Textbox, checkbox, select, radio. ... ... @@ -3740,757 +3740,753 @@ 3740 3740 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. 3741 3741 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. 3742 3742 ))) 3743 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14241 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3744 3744 ((( 3745 3745 (% class="western" %) 3746 3746 Choices 3747 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14245 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3748 3748 ((( 3749 3749 (% class="western" %) 3750 3750 choices 3751 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14249 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3752 3752 ((( 3753 3753 (% class="western" %) 3754 3754 If multiple choice question this field will have the choices. 3755 3755 ))) 3756 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14254 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3757 3757 ((( 3758 3758 (% class="western" %) 3759 3759 Alias 3760 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14258 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3761 3761 ((( 3762 3762 (% class="western" %) 3763 3763 String 3764 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14262 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3765 3765 ((( 3766 3766 (% class="western" %) 3767 3767 Alias for admin purpose. 3768 3768 ))) 3769 3769 3770 -(% class="western" %) 3771 -\\ 3772 3772 3773 -(% class="western" %) 3774 -\\ 3775 3775 3776 3776 (% class="western" %) 3777 3777 **Type: Choices** 3778 3778 3779 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14273 +(% class="wrapped" %) 14274 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3780 3780 ((( 3781 3781 (% class="western" %) 3782 3782 **Property Name** 3783 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14278 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3784 3784 ((( 3785 3785 (% class="western" %) 3786 3786 **Type** 3787 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14282 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3788 3788 ((( 3789 3789 (% class="western" %) 3790 3790 **Description** 3791 3791 ))) 3792 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14287 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3793 3793 ((( 3794 3794 (% class="western" %) 3795 3795 Id 3796 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14291 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3797 3797 ((( 3798 3798 (% class="western" %) 3799 3799 int 3800 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14295 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3801 3801 ((( 3802 3802 (% class="western" %) 3803 3803 Id of the choice. 3804 3804 ))) 3805 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14300 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3806 3806 ((( 3807 3807 (% class="western" %) 3808 3808 Text 3809 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14304 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3810 3810 ((( 3811 3811 (% class="western" %) 3812 3812 string 3813 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14308 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3814 3814 ((( 3815 3815 (% class="western" %) 3816 3816 Display text of choice. 3817 3817 ))) 3818 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14313 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3819 3819 ((( 3820 3820 (% class="western" %) 3821 3821 Value 3822 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14317 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3823 3823 ((( 3824 3824 (% class="western" %) 3825 3825 String 3826 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14321 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3827 3827 ((( 3828 3828 (% class="western" %) 3829 3829 Value stored in db. 3830 3830 ))) 3831 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14326 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3832 3832 ((( 3833 3833 (% class="western" %) 3834 3834 Order 3835 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14330 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3836 3836 ((( 3837 3837 (% class="western" %) 3838 3838 Int 3839 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14334 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3840 3840 ((( 3841 3841 (% class="western" %) 3842 3842 Display order. 3843 3843 ))) 3844 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14339 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3845 3845 ((( 3846 3846 (% class="western" %) 3847 3847 QuestionId 3848 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14343 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3849 3849 ((( 3850 3850 (% class="western" %) 3851 3851 Int 3852 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14347 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3853 3853 ((( 3854 3854 (% class="western" %) 3855 3855 Tied to which question id. 3856 3856 ))) 3857 3857 3858 -\\ 3859 3859 3860 3860 (% class="western" %) 3861 3861 **Type: Users** 3862 3862 3863 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14357 +(% class="wrapped" %) 14358 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3864 3864 ((( 3865 3865 (% class="western" %) 3866 3866 **Property Name** 3867 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14362 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3868 3868 ((( 3869 3869 (% class="western" %) 3870 3870 **Type** 3871 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14366 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3872 3872 ((( 3873 3873 (% class="western" %) 3874 3874 **Description** 3875 3875 ))) 3876 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14371 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3877 3877 ((( 3878 3878 (% class="western" %) 3879 3879 Id 3880 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14375 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3881 3881 ((( 3882 3882 (% class="western" %) 3883 3883 Int 3884 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14379 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3885 3885 ((( 3886 3886 (% class="western" %) 3887 3887 ID of the user in ONEcount. 3888 3888 ))) 3889 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14384 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3890 3890 ((( 3891 3891 (% class="western" %) 3892 3892 PartnerId 3893 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14388 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3894 3894 ((( 3895 3895 (% class="western" %) 3896 3896 Int 3897 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14392 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3898 3898 ((( 3899 3899 (% class="western" %) 3900 3900 ID of the user in partners system (e.g. id of your system). 3901 3901 ))) 3902 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14397 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3903 3903 ((( 3904 3904 (% class="western" %) 3905 3905 Demo 3906 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14401 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3907 3907 ((( 3908 3908 (% class="western" %) 3909 3909 Demo 3910 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14405 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3911 3911 ((( 3912 3912 (% class="western" %) 3913 3913 Object of user's demo question ids and respective response values. 3914 3914 ))) 3915 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14410 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3916 3916 ((( 3917 3917 (% class="western" %) 3918 3918 RequestDate 3919 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14414 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3920 3920 ((( 3921 3921 (% class="western" %) 3922 3922 Date 3923 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14418 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3924 3924 ((( 3925 3925 (% class="western" %) 3926 3926 Request date. 3927 3927 ))) 3928 3928 3929 -\\ 3930 3930 3931 3931 (% class="western" %) 3932 3932 **Type: Demo** 3933 3933 3934 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14428 +(% class="wrapped" %) 14429 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3935 3935 ((( 3936 3936 (% class="western" %) 3937 3937 **Property Name** 3938 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14433 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3939 3939 ((( 3940 3940 (% class="western" %) 3941 3941 **Type** 3942 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14437 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3943 3943 ((( 3944 3944 (% class="western" %) 3945 3945 **Description** 3946 3946 ))) 3947 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14442 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3948 3948 ((( 3949 3949 (% class="western" %) 3950 3950 QuestionId (e.g 6) 3951 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14446 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3952 3952 ((( 3953 3953 (% class="western" %) 3954 3954 String 3955 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14450 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3956 3956 ((( 3957 3957 (% class="western" %) 3958 3958 6 is the value of “Id” property of question resource(Text = “First Name”) 3959 3959 ))) 3960 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14455 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3961 3961 ((( 3962 3962 (% class="western" %) 3963 3963 QuestionId (e.g 7) 3964 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14459 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3965 3965 ((( 3966 3966 (% class="western" %) 3967 3967 String 3968 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14463 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3969 3969 ((( 3970 3970 (% class="western" %) 3971 3971 7 is the value of “Id” property of question resource(Text = “Last Name”) 3972 3972 ))) 3973 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14468 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3974 3974 ((( 3975 3975 (% class="western" %) 3976 3976 ... 3977 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14472 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3978 3978 ((( 3979 3979 (% class="western" %) 3980 3980 ... 3981 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14476 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3982 3982 ((( 3983 3983 (% class="western" %) 3984 3984 ... 3985 3985 ))) 3986 3986 3987 -\\ 3988 3988 3989 3989 (% class="western" %) 3990 3990 **Type: Transactions** 3991 3991 3992 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14486 +(% class="wrapped" %) 14487 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3993 3993 ((( 3994 3994 (% class="western" %) 3995 3995 **Property Name** 3996 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14491 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3997 3997 ((( 3998 3998 (% class="western" %) 3999 3999 **Type** 4000 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14495 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4001 4001 ((( 4002 4002 (% class="western" %) 4003 4003 **Description** 4004 4004 ))) 4005 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14500 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4006 4006 ((( 4007 4007 (% class="western" %) 4008 4008 Id 4009 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14504 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4010 4010 ((( 4011 4011 (% class="western" %) 4012 4012 Int 4013 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14508 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4014 4014 ((( 4015 4015 (% class="western" %) 4016 4016 ID of the transaction. 4017 4017 ))) 4018 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14513 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4019 4019 ((( 4020 4020 (% class="western" %) 4021 4021 UserId 4022 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14517 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4023 4023 ((( 4024 4024 (% class="western" %) 4025 4025 Int 4026 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14521 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4027 4027 ((( 4028 4028 (% class="western" %) 4029 4029 Id of user in ONEcount. 4030 4030 ))) 4031 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14526 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4032 4032 ((( 4033 4033 (% class="western" %) 4034 4034 TermId 4035 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14530 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4036 4036 ((( 4037 4037 (% class="western" %) 4038 4038 Int 4039 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14534 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4040 4040 ((( 4041 4041 (% class="western" %) 4042 4042 TermId in ONEcount. 4043 4043 ))) 4044 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14539 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4045 4045 ((( 4046 4046 (% class="western" %) 4047 4047 ProductStatus 4048 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14543 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4049 4049 ((( 4050 4050 (% class="western" %) 4051 4051 Int 4052 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14547 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4053 4053 ((( 4054 4054 (% class="western" %) 4055 4055 Status ID. 4056 4056 ))) 4057 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14552 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4058 4058 ((( 4059 4059 (% class="western" %) 4060 4060 SubscriptionType 4061 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14556 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4062 4062 ((( 4063 4063 (% class="western" %) 4064 4064 Char 4065 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14560 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4066 4066 ((( 4067 4067 (% class="western" %) 4068 4068 Can be n,r or u for new, renew or unsubscribe. 4069 4069 ))) 4070 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14565 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4071 4071 ((( 4072 4072 (% class="western" %) 4073 4073 TransactionDate 4074 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14569 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4075 4075 ((( 4076 4076 (% class="western" %) 4077 4077 Date 4078 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14573 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4079 4079 ((( 4080 4080 (% class="western" %) 4081 4081 Date when the transaction occurred. 4082 4082 ))) 4083 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14578 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4084 4084 ((( 4085 4085 (% class="western" %) 4086 4086 TransactionTime 4087 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14582 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4088 4088 ((( 4089 4089 (% class="western" %) 4090 4090 Time 4091 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14586 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4092 4092 ((( 4093 4093 (% class="western" %) 4094 4094 Time of transaction. 4095 4095 ))) 4096 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14591 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4097 4097 ((( 4098 4098 (% class="western" %) 4099 4099 RequestDate 4100 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14595 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4101 4101 ((( 4102 4102 (% class="western" %) 4103 4103 Date 4104 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14599 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4105 4105 ((( 4106 4106 (% class="western" %) 4107 4107 The effective request date for the transaction. 4108 4108 ))) 4109 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14604 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4110 4110 ((( 4111 4111 (% class="western" %) 4112 4112 UserIP 4113 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14608 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4114 4114 ((( 4115 4115 (% class="western" %) 4116 4116 String 4117 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14612 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4118 4118 ((( 4119 4119 (% class="western" %) 4120 4120 IP of the user. 4121 4121 ))) 4122 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14617 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4123 4123 ((( 4124 4124 (% class="western" %) 4125 4125 Source 4126 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14621 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4127 4127 ((( 4128 4128 (% class="western" %) 4129 4129 String 4130 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14625 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4131 4131 ((( 4132 4132 (% class="western" %) 4133 4133 The transaction needs to be tied to a source code this will define it. 4134 4134 ))) 4135 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14630 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4136 4136 ((( 4137 4137 (% class="western" %) 4138 4138 MediaFilePath 4139 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14634 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4140 4140 ((( 4141 4141 (% class="western" %) 4142 4142 String 4143 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14638 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4144 4144 ((( 4145 4145 (% class="western" %) 4146 4146 The url of media associated with that transaction. Eg image, audio. 4147 4147 ))) 4148 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14643 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4149 4149 ((( 4150 4150 (% class="western" %) 4151 4151 ExpireDate 4152 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14647 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4153 4153 ((( 4154 4154 (% class="western" %) 4155 4155 Date 4156 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14651 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4157 4157 ((( 4158 4158 (% class="western" %) 4159 4159 Date when the subscription expires. 4160 4160 ))) 4161 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14656 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4162 4162 ((( 4163 4163 (% class="western" %) 4164 4164 Amount 4165 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14660 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4166 4166 ((( 4167 4167 (% class="western" %) 4168 4168 Float 4169 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14664 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4170 4170 ((( 4171 4171 (% class="western" %) 4172 4172 If there is amount (USD) included in transaction. 4173 4173 ))) 4174 4174 4175 -\\ 4176 4176 4177 4177 (% class="western" %) 4178 4178 **Type: Sources** 4179 4179 4180 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14674 +(% class="wrapped" %) 14675 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4181 4181 ((( 4182 4182 (% class="western" %) 4183 4183 **Property Name** 4184 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14679 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4185 4185 ((( 4186 4186 (% class="western" %) 4187 4187 **Type** 4188 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14683 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4189 4189 ((( 4190 4190 (% class="western" %) 4191 4191 **Description** 4192 4192 ))) 4193 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14688 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4194 4194 ((( 4195 4195 (% class="western" %) 4196 4196 Id 4197 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14692 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4198 4198 ((( 4199 4199 (% class="western" %) 4200 4200 Int 4201 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14696 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4202 4202 ((( 4203 4203 (% class="western" %) 4204 4204 Id of the source. 4205 4205 ))) 4206 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14701 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4207 4207 ((( 4208 4208 (% class="western" %) 4209 4209 Source 4210 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14705 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4211 4211 ((( 4212 4212 (% class="western" %) 4213 4213 String 4214 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14709 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4215 4215 ((( 4216 4216 (% class="western" %) 4217 4217 Value of the source. 4218 4218 ))) 4219 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14714 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4220 4220 ((( 4221 4221 (% class="western" %) 4222 4222 Description 4223 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14718 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4224 4224 ((( 4225 4225 (% class="western" %) 4226 4226 Text 4227 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14722 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4228 4228 ((( 4229 4229 (% class="western" %) 4230 4230 Description of the source. 4231 4231 ))) 4232 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14727 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4233 4233 ((( 4234 4234 (% class="western" %) 4235 4235 ParentId 4236 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14731 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4237 4237 ((( 4238 4238 (% class="western" %) 4239 4239 int 4240 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14735 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4241 4241 ((( 4242 4242 (% class="western" %) 4243 4243 If this is a child source then list the parent source id. 4244 4244 ))) 4245 4245 4246 -(% class="western" %) 4247 -\\ 4248 4248 4249 4249 (% class="western" %) 4250 4250 **Type: Products** 4251 4251 4252 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14745 +(% class="wrapped" %) 14746 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4253 4253 ((( 4254 4254 (% class="western" %) 4255 4255 **Property Name** 4256 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14750 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4257 4257 ((( 4258 4258 (% class="western" %) 4259 4259 **Type** 4260 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14754 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4261 4261 ((( 4262 4262 (% class="western" %) 4263 4263 **Description** 4264 4264 ))) 4265 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14759 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4266 4266 ((( 4267 4267 (% class="western" %) 4268 4268 Id 4269 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14763 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4270 4270 ((( 4271 4271 (% class="western" %) 4272 4272 Int 4273 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14767 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4274 4274 ((( 4275 4275 (% class="western" %) 4276 4276 Specify only for update. 4277 4277 ))) 4278 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14772 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4279 4279 ((( 4280 4280 (% class="western" %) 4281 4281 Name 4282 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14776 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4283 4283 ((( 4284 4284 (% class="western" %) 4285 4285 String 4286 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14780 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4287 4287 ((( 4288 4288 (% class="western" %) 4289 4289 Name of the Product. 4290 4290 ))) 4291 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14785 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4292 4292 ((( 4293 4293 (% class="western" %) 4294 4294 Description 4295 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14789 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4296 4296 ((( 4297 4297 (% class="western" %) 4298 4298 Text 4299 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14793 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4300 4300 ((( 4301 4301 (% class="western" %) 4302 4302 Description of the product. 4303 4303 ))) 4304 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14798 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4305 4305 ((( 4306 4306 (% class="western" %) 4307 4307 Terms 4308 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14802 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4309 4309 ((( 4310 4310 (% class="western" %) 4311 4311 Terms 4312 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14806 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4313 4313 ((( 4314 4314 (% class="western" %) 4315 4315 (Array of) Terms associated with the product. 4316 4316 ))) 4317 4317 4318 -\\ 4319 4319 4320 4320 (% class="western" %) 4321 4321 **Type: Terms** 4322 4322 4323 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14816 +(% class="wrapped" %) 14817 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4324 4324 ((( 4325 4325 (% class="western" %) 4326 4326 **Property Name** 4327 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14821 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4328 4328 ((( 4329 4329 (% class="western" %) 4330 4330 **Type** 4331 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14825 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4332 4332 ((( 4333 4333 (% class="western" %) 4334 4334 **Description** 4335 4335 ))) 4336 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14830 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4337 4337 ((( 4338 4338 (% class="western" %) 4339 4339 Id 4340 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14834 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4341 4341 ((( 4342 4342 (% class="western" %) 4343 4343 int 4344 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14838 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4345 4345 ((( 4346 4346 (% class="western" %) 4347 4347 Id of the term. 4348 4348 ))) 4349 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14843 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4350 4350 ((( 4351 4351 (% class="western" %) 4352 4352 Name 4353 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14847 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4354 4354 ((( 4355 4355 (% class="western" %) 4356 4356 string 4357 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14851 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4358 4358 ((( 4359 4359 (% class="western" %) 4360 4360 Name of the Term. 4361 4361 ))) 4362 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14856 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4363 4363 ((( 4364 4364 (% class="western" %) 4365 4365 Description 4366 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14860 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4367 4367 ((( 4368 4368 (% class="western" %) 4369 4369 text 4370 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14864 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4371 4371 ((( 4372 4372 (% class="western" %) 4373 4373 Description of the term. 4374 4374 ))) 4375 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14869 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4376 4376 ((( 4377 4377 (% class="western" %) 4378 4378 Duration 4379 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14873 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4380 4380 ((( 4381 4381 (% class="western" %) 4382 4382 int 4383 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14877 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4384 4384 ((( 4385 4385 (% class="western" %) 4386 4386 Duration of term validity. 4387 4387 ))) 4388 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14882 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4389 4389 ((( 4390 4390 (% class="western" %) 4391 4391 DurationUnit 4392 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14886 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4393 4393 ((( 4394 4394 (% class="western" %) 4395 4395 sting 4396 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14890 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4397 4397 ((( 4398 4398 (% class="western" %) 4399 4399 Y (year), M (Month), D (Days). 4400 4400 ))) 4401 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14895 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4402 4402 ((( 4403 4403 (% class="western" %) 4404 4404 ProductId 4405 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14899 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4406 4406 ((( 4407 4407 (% class="western" %) 4408 4408 int 4409 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14903 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4410 4410 ((( 4411 4411 (% class="western" %) 4412 4412 Id of the product the term is tied to. 4413 4413 ))) 4414 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14908 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4415 4415 ((( 4416 4416 (% class="western" %) 4417 4417 Price 4418 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14912 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4419 4419 ((( 4420 4420 (% class="western" %) 4421 4421 float 4422 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14916 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4423 4423 ((( 4424 4424 (% class="western" %) 4425 4425 If there is price (USD) for the term. 4426 4426 ))) 4427 4427 4428 -\\ 4429 4429 4430 4430 (% class="western" %) 4431 4431 **Type: Resources** 4432 4432 4433 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14926 +(% class="wrapped" %) 14927 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4434 4434 ((( 4435 4435 (% class="western" %) 4436 4436 **Property Name** 4437 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14931 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4438 4438 ((( 4439 4439 (% class="western" %) 4440 4440 **Type** 4441 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14935 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4442 4442 ((( 4443 4443 (% class="western" %) 4444 4444 **Description** 4445 4445 ))) 4446 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14940 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4447 4447 ((( 4448 4448 (% class="western" %) 4449 4449 Id 4450 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14944 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4451 4451 ((( 4452 4452 (% class="western" %) 4453 4453 Int 4454 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14948 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4455 4455 ((( 4456 4456 (% class="western" %) 4457 4457 Specify only for update. 4458 4458 ))) 4459 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14953 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4460 4460 ((( 4461 4461 (% class="western" %) 4462 4462 Name 4463 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14957 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4464 4464 ((( 4465 4465 (% class="western" %) 4466 4466 String 4467 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14961 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4468 4468 ((( 4469 4469 (% class="western" %) 4470 4470 Name of the Resource. 4471 4471 ))) 4472 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14966 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4473 4473 ((( 4474 4474 (% class="western" %) 4475 4475 Description 4476 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14970 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4477 4477 ((( 4478 4478 (% class="western" %) 4479 4479 Text 4480 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14974 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4481 4481 ((( 4482 4482 (% class="western" %) 4483 4483 Description of the Resource. 4484 4484 ))) 4485 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)14979 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4486 4486 ((( 4487 4487 (% class="western" %) 4488 4488 Type 4489 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14983 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4490 4490 ((( 4491 4491 (% class="western" %) 4492 4492 Int 4493 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)14987 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4494 4494 ((( 4495 4495 (% class="western" %) 4496 4496 Type Options ... ... @@ -4510,11 +4510,11 @@ 4510 4510 (% class="western" %) 4511 4511 **5 : **Function 4512 4512 ))) 4513 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)15007 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4514 4514 ((( 4515 4515 (% class="western" %) 4516 4516 Value 4517 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)15011 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4518 4518 ((( 4519 4519 (% class="western" %) 4520 4520 String ... ... @@ -4524,7 +4524,7 @@ 4524 4524 4525 4525 (% class="western" %) 4526 4526 Array 4527 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)15021 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4528 4528 ((( 4529 4529 (% class="western" %) 4530 4530 Value of Resource Type: ... ... @@ -4539,115 +4539,115 @@ 4539 4539 Example : 4540 4540 4541 4541 (% class="western" %) 4542 -if the Type sent is 3 with one value then Value would be "**/digital/**" or **["/digital"/].** We recommend using the second approach of **["/digital"/]. 4543 - **if the Type sent is 3 with two values then Value would be ["**/digital/**", "**/articles/**"]15036 +if the Type sent is 3 with one value then Value would be "**/digital/**" or **["/digital"/].** We recommend using the second approach of **["/digital"/].** 15037 +if the Type sent is 3 with two values then Value would be ["**/digital/**", "**/articles/**"] 4544 4544 4545 4545 (% class="western" %) 4546 4546 For Function type resource leave it blank. 4547 4547 ))) 4548 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)15042 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4549 4549 ((( 4550 4550 (% class="western" %) 4551 4551 limit 4552 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)15046 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4553 4553 ((( 4554 4554 (% class="western" %) 4555 4555 Int 4556 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)15050 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4557 4557 ((( 4558 4558 (% class="western" %) 4559 4559 Default limit is 25 but if all the data needs to be pulled then pass limit=0. 4560 4560 ))) 4561 - (% class="" %)|(% colspan="1" style="text-align:;" %)(% colspan="1" style="text-align: left;vertical-align: top;" %)15055 +|(% colspan="1" style="text-align:left; vertical-align:top" %)(% colspan="1" style="text-align: left;vertical-align: top;" %) 4562 4562 ((( 4563 4563 FreePass 4564 -)))|(% colspan="1" style="text-align: ;" %)(% colspan="1" style="text-align: left;vertical-align: top;" %)15058 +)))|(% colspan="1" style="text-align:left; vertical-align:top" %)(% colspan="1" style="text-align: left;vertical-align: top;" %) 4565 4565 ((( 4566 4566 Int 4567 -)))|(% colspan="1" style="text-align: ;" %)(% colspan="1" style="text-align: left;vertical-align: top;" %)15061 +)))|(% colspan="1" style="text-align:left; vertical-align:top" %)(% colspan="1" style="text-align: left;vertical-align: top;" %) 4568 4568 ((( 4569 4569 Default value is 0. This parameter is used to provide access to protected content. 4570 4570 ))) 4571 4571 4572 -\\ 4573 4573 4574 4574 (% class="western" %) 4575 4575 **Type: Telemarketing** 4576 4576 4577 -(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 15070 +(% class="wrapped" %) 15071 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4578 4578 ((( 4579 4579 (% class="western" %) 4580 4580 **Property Name** 4581 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)15075 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4582 4582 ((( 4583 4583 (% class="western" %) 4584 4584 **Type** 4585 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)15079 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4586 4586 ((( 4587 4587 (% class="western" %) 4588 4588 **Description** 4589 4589 ))) 4590 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)15084 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4591 4591 ((( 4592 4592 (% class="western" %) 4593 4593 Id 4594 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)15088 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4595 4595 ((( 4596 4596 (% class="western" %) 4597 4597 int 4598 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)15092 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4599 4599 ((( 4600 4600 (% class="western" %) 4601 4601 Id of the telemarketing stat. This is autogenerated from the system and can be used to lookup the stat. 4602 4602 ))) 4603 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)15097 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4604 4604 ((( 4605 4605 (% class="western" %) 4606 4606 OCID 4607 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)15101 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4608 4608 ((( 4609 4609 (% class="western" %) 4610 4610 int 4611 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)15105 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4612 4612 ((( 4613 4613 (% class="western" %) 4614 4614 Onecount ID of the user. 4615 4615 ))) 4616 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)15110 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4617 4617 ((( 4618 4618 (% class="western" %) 4619 4619 Date 4620 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)15114 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4621 4621 ((( 4622 4622 (% class="western" %) 4623 4623 Date 4624 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)15118 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4625 4625 ((( 4626 4626 (% class="western" %) 4627 4627 Date when the stat occurred. Format: yyyy-mm-dd 4628 4628 ))) 4629 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)15123 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4630 4630 ((( 4631 4631 (% class="western" %) 4632 4632 Time 4633 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)15127 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4634 4634 ((( 4635 4635 (% class="western" %) 4636 4636 Time 4637 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)15131 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4638 4638 ((( 4639 4639 (% class="western" %) 4640 4640 Time of stat. Format: h:m:s (24 hour format) 4641 4641 ))) 4642 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)15136 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4643 4643 ((( 4644 4644 (% class="western" %) 4645 4645 ResourceId 4646 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)15140 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4647 4647 ((( 4648 4648 (% class="western" %) 4649 4649 int 4650 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)15144 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4651 4651 ((( 4652 4652 (% class="western" %) 4653 4653 Id of resource currently being sent for the sat. If the resource type is page type resource then need to send ... ... @@ -4655,37 +4655,35 @@ 4655 4655 (% class="western" %) 4656 4656 PageTitle otherwise it will follow the process described in PageTitle. 4657 4657 ))) 4658 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)15152 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4659 4659 ((( 4660 4660 (% class="western" %) 4661 4661 PageUrl 4662 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)15156 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4663 4663 ((( 4664 4664 (% class="western" %) 4665 4665 string 4666 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)15160 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4667 4667 ((( 4668 4668 (% class="western" %) 4669 4669 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. 4670 4670 ))) 4671 - (% class="" %)|(% style="text-align:;" %)(% style="text-align: left;vertical-align: top;" %)15165 +|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4672 4672 ((( 4673 4673 (% class="western" %) 4674 4674 PageTitle 4675 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)15169 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4676 4676 ((( 4677 4677 (% class="western" %) 4678 4678 string 4679 -)))|(% style="text-align: ;" %)(% style="text-align: left;vertical-align: top;" %)15173 +)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4680 4680 ((( 4681 4681 (% class="western" %) 4682 4682 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. 4683 4683 4684 -(% class="western" %) 4685 -\\ 4686 4686 4687 4687 (% class="western" %) 4688 4688 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. 4689 4689 ))) 4690 4690 4691 - \\15183 +
- Screen Shot 2020-02-26 at 11.14.29 AM.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiGuest - Size
-
... ... @@ -1,0 +1,1 @@ 1 +397.9 KB - Content
- Screen Shot 2020-02-26 at 11.15.52 AM.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiGuest - Size
-
... ... @@ -1,0 +1,1 @@ 1 +50.1 KB - Content
- Screen Shot 2020-02-26 at 11.22.13 AM.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiGuest - Size
-
... ... @@ -1,0 +1,1 @@ 1 +159.8 KB - Content
- Confluence.Code.ConfluencePageClass[0]
-
- id
-
... ... @@ -1,1 +1,1 @@ 1 -10826547 91 +108265477 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://info.onecount.net//wiki/spaces/OD/pages/10826547 9/ONEcount API Documentation1 +https://info.onecount.net//wiki/spaces/OD/pages/108265477/ONEcount API Documentation