Changes for page ONEcount API Documentation
Last modified by Rayaan Ahmed on 2025/02/09 22:20
From version 10.1
edited by Rayaan Ahmed
on 2024/02/27 18:43
on 2024/02/27 18:43
Change comment:
There is no comment for this version
To version 1.1
edited by rayaan@one-count_com
on 2023/12/12 04:31
on 2023/12/12 04:31
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 3 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,1 +1,0 @@ 1 -System Setup Detail and Technical Information - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.rayaan 1 +XWiki.rayaan@one-count_com - Content
-
... ... @@ -7,9 +7,10 @@ 7 7 (% class="western" %) 8 8 REST takes advantage of the HTTP request methods to layer itself into the existing HTTP architecture. These operations consist of the following: 9 9 10 +1. ((( 10 10 (% class="western" %) 11 11 **GET** - Used for lookup of resources 12 - 13 +))) 13 13 1. ((( 14 14 (% class="western" %) 15 15 **PUT** - Used to update a resource ... ... @@ -53,27 +53,26 @@ 53 53 1. Attach a resource to a product 54 54 1. Leads 55 55 11. Create a lead 56 -1. Engagements 57 +1. Engagements\\ 57 57 11. Get all Engagements 58 58 11. Get specific engagement by engagement id 59 59 11. Create Engagements 60 60 11. Update Engagements 61 61 11. Add users data to Engagement 62 -1. Segments 63 -11. Get all Segments 64 -11. Get specific segment by segment id 65 -11. Add users to segment 66 -11. Get all segment ids for a user 67 67 64 +\\ 65 + 68 68 (% class="western" %) 69 69 **Accessing API** 70 70 71 71 (% class="western" %) 72 -**REST API URL: [[https:~~/~~/api.onecount.net/v2/>>url:https://api.onecount.net/v2/||rel="nofollow" shape="rect" class="external-link"]]** 70 +**REST API URL: [[https:~~/~~/api.onecount.net/v2/>>url:https://api.onecount.net/v2/||style="" rel="nofollow" shape="rect" class="external-link"]]** 73 73 74 74 (% class="western" %) 75 75 **Appkey**: THIS WILL BE PROVIDED TO YOU 76 76 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: ... ... @@ -96,6 +96,9 @@ 96 96 ))) 97 97 98 98 (% class="western" %) 99 +\\ 100 + 101 +(% class="western" %) 99 99 **General API Usage** 100 100 101 101 (% class="western" %) ... ... @@ -104,6 +104,8 @@ 104 104 (% class="western" %) 105 105 For lookup, the parameter list will be part of the request url. 106 106 110 +(% class="western" %) 111 +\\ 107 107 108 108 (% class="western" %) 109 109 **Response** ... ... @@ -111,7 +111,7 @@ 111 111 (% class="western" %) 112 112 API will output the response in a JSON format discussed below. 113 113 114 -{{code language="yml" theme="RDark" title="Response"}} 119 +{{code language="yml" theme="RDark" title="Response" collapse="true"}} 115 115 { 116 116 "result": { 117 117 "success": "1", ... ... @@ -131,10 +131,13 @@ 131 131 } 132 132 {{/code}} 133 133 139 +(% class="western" %) 140 +\\ 134 134 135 135 (% class="western" %) 136 136 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. 137 137 145 +\\ 138 138 139 139 (% class="western" %) 140 140 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. ... ... @@ -142,7 +142,7 @@ 142 142 If the value of success is 1 then the response parameters of the called method will also be output. 143 143 144 144 (% class="western" %) 145 -For (% class="StyledLeaf___StyledSpan-sc-129cvv1-0 hSAwv slate-bold" %)**GET **requests we can pass** 153 +For (% class="StyledLeaf___StyledSpan-sc-129cvv1-0 hSAwv slate-bold" %)**GET **requests we can pass** limit **as parameter in URL. 146 146 147 147 === **COMPONENT: Users** === 148 148 ... ... @@ -164,72 +164,72 @@ 164 164 (% class="western" %) 165 165 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. 166 166 175 +\\ 167 167 168 -(% class="wrapped" %) 169 -|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 177 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 170 170 ((( 171 171 (% class="western" %) 172 172 **Method** 173 -)))|(% style="text-align:left; 181 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 174 174 ((( 175 175 (% class="western" %) 176 176 **Url** 177 -)))|(% style="text-align:left; 185 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 178 178 ((( 179 179 (% class="western" %) 180 180 **Action** 181 181 ))) 182 -|(% style="text-align:left; 190 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 183 183 ((( 184 184 (% class="western" %) 185 185 GET 186 -)))|(% style="text-align:left; 194 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 187 187 ((( 188 188 (% class="western" %) 189 189 /users 190 -)))|(% style="text-align:left; 198 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 191 191 ((( 192 192 (% class="western" %) 193 193 Get users data limiting 25. 194 194 ))) 195 -|(% style="text-align:left; 203 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 196 196 ((( 197 197 (% class="western" %) 198 198 GET 199 -)))|(% style="text-align:left; 207 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 200 200 ((( 201 201 (% class="western" %) 202 202 /users/<ocid or ocid_hash> 203 -)))|(% style="text-align:left; 211 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 204 204 ((( 205 205 (% class="western" %) 206 206 Get data for user id 1. The user id can be a numeric value or a hash 207 207 ))) 208 -|(% style="text-align:left; 216 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 209 209 ((( 210 210 (% class="western" %) 211 211 GET 212 -)))|(% style="text-align:left; 220 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 213 213 ((( 214 214 (% class="western" %) 215 -/users/lookup?1=user1@email.com&return=1,2 216 -)))|(% style="text-align:left; 223 +/users/lookup?1=user1@[[email.com>>url:http://email.com/||style="" rel="nofollow" shape="rect" class="external-link"]]&return=1,2 224 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 217 217 ((( 218 218 (% class="western" %) 219 219 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. 220 220 221 221 (% class="western" %) 222 -Return parameter defines a CSVof question id that are requested back in response.230 +Return parameter defines a csv of question id that are requested back in response. 223 223 ))) 224 -|(% style="text-align:left; 232 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 225 225 ((( 226 226 (% class="western" %) 227 227 POST 228 -)))|(% style="text-align:left; 236 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 229 229 ((( 230 230 (% class="western" %) 231 231 /users 232 -)))|(% style="text-align:left; 240 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 233 233 ((( 234 234 (% class="western" %) 235 235 Create a new users ... ... @@ -237,15 +237,15 @@ 237 237 (% class="western" %) 238 238 Parameters required to create the user needs to be sent as post data in JSON format. 239 239 ))) 240 -|(% style="text-align:left; 248 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 241 241 ((( 242 242 (% class="western" %) 243 243 PUT 244 -)))|(% style="text-align:left; 252 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 245 245 ((( 246 246 (% class="western" %) 247 247 /users/1 248 -)))|(% style="text-align:left; 256 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 249 249 ((( 250 250 (% class="western" %) 251 251 Update user id 1. The user id can be a numeric value or a hash ... ... @@ -253,28 +253,28 @@ 253 253 (% class="western" %) 254 254 Parameters required to update the user needs to be sent as post data in JSON format. 255 255 ))) 256 -|(% style="text-align:left; 264 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 257 257 ((( 258 258 (% class="western" %) 259 259 GET 260 -)))|(% style="text-align:left; 268 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 261 261 ((( 262 262 (% class="western" %) 263 263 /users/1/partners/2 264 -)))|(% style="text-align:left; 272 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 265 265 ((( 266 266 (% class="western" %) 267 267 Get user id 1 and partner id 2's ONEcount hash. The user id can be a numeric value or a hash. 268 268 ))) 269 -|(% style="text-align:left; 277 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 270 270 ((( 271 271 (% class="western" %) 272 272 POST 273 -)))|(% style="text-align:left; 281 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 274 274 ((( 275 275 (% class="western" %) 276 276 /users/login 277 -)))|(% style="text-align:left; 285 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 278 278 ((( 279 279 (% class="western" %) 280 280 Check to see user exist with username/email and password. ... ... @@ -286,54 +286,54 @@ 286 286 Example: 287 287 288 288 (% class="western" %) 289 -{"u":"abc@one-count.com","e":"abc@one-count.com","p":"1234"} 297 +{"u":"[[abc@one-count.com>>mailto:abc@one-count.com||style="" rel="nofollow" shape="rect" class="external-link"]]","e":"abc@[[one-count.com>>url:http://one-count.com/||style="" rel="nofollow" shape="rect" class="external-link"]]","p":"1234"} 290 290 291 291 (% class="western" %) 292 292 OR 293 293 294 294 (% class="western" %) 295 -{"u":"abc@one-count.com","p":"1234"} 303 +{"u":"[[abc@one-count.com>>mailto:abc@one-count.com||style="" rel="nofollow" shape="rect" class="external-link"]]","p":"1234"} 296 296 297 297 (% class="western" %) 298 298 OR 299 299 300 300 (% class="western" %) 301 -{"e":"abc@one-count.com","p":"1234"} 309 +{"e":"[[abc@one-count.com>>mailto:abc@one-count.com||style="" rel="nofollow" shape="rect" class="external-link"]]","p":"1234"} 302 302 303 303 (% class="western" %) 304 304 **OUTPUT** : Should get OCID of the user if it finds it otherwise get and error with msg user not found. 305 305 ))) 306 306 307 -(% id="HGETAllUsers" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)308 -== (% class=" imuBmisc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-namejbmEtY sc-fzomuh" style="color:#212121" %)All Users(%%) ==315 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 316 +== (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)All Users(%%) == 309 309 310 310 ---- 311 311 312 ----- 320 +{{column width="100%"}} 321 + (% class="nolink" %)https:~/~/api.onecount.net/v2/users 322 +{{/column}} 313 313 314 -{{panel bgColor="#D3D3D3" width="100%"}} 315 -(% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users 316 -{{/panel}} 324 +(% style="" %) 325 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 317 317 318 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 319 - 320 320 ---- 321 321 322 -(% 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}} 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}} 323 323 324 324 ==== Example ==== 325 325 326 326 ---- 327 327 328 -(% style="color: #6b6b6b" %)Request336 +(% style="color: rgb(107,107,107);" %)Request 329 329 330 -{{code language="php" theme="RDark" title="Get All Users Request"}} 338 +{{code language="php" theme="RDark" title="Get All Users Request" collapse="true"}} 331 331 <?php 332 332 333 333 $curl = curl_init(); 334 334 335 335 curl_setopt_array($curl, array( 336 - CURLOPT_URL => ' https://api.onecount.net/v2/users',344 + CURLOPT_URL => 'rayaan.onecount.net/api/v2/users', 337 337 CURLOPT_RETURNTRANSFER => true, 338 338 CURLOPT_ENCODING => '', 339 339 CURLOPT_MAXREDIRS => 10, ... ... @@ -354,10 +354,11 @@ 354 354 355 355 {{/code}} 356 356 365 +\\ 357 357 358 -(% style="color: #6b6b6b" %)Response 200 OK367 +(% style="color: rgb(107,107,107);" %)Response 200 OK 359 359 360 -{{code language="yml" theme="RDark" collapse="true" title="Get All Users Response"}}369 +{{code language="yml" theme="RDark" title="Get All Users Response" collapse="true"}} 361 361 { 362 362 "result": { 363 363 "success": "1", ... ... @@ -843,35 +843,41 @@ 843 843 } 844 844 {{/code}} 845 845 855 +\\ 846 846 847 -(% id="HGETspecificUser" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)848 -== (% class=" imuBmisc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-namejbmEtY sc-fzomuh" style="color:#212121" %)specific User(%%) ==857 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 858 +== (% class="sc-fzoaKM imuBmi" style="color: rgb(0,127,49);" %)GET (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)specific User(%%) == 849 849 850 850 ---- 851 851 852 -{{ panel bgColor="#D3D3D3"width="100%"}}853 - (% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users/(% style="color: #212121" %)~{~{OCID}}854 -{{/ panel}}862 +{{column width="100%"}} 863 + (% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users/(% style="color: rgb(33,33,33);" %)~{~{OCID}} 864 +{{/column}} 855 855 856 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 866 +(% style="" %) 867 +~{~{OCID}} is user id which is provided by ONEcount 857 857 869 +(% style="" %) 870 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 871 + 858 858 ---- 859 859 860 -(% 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}} 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}} 861 861 862 862 ==== Example ==== 863 863 864 864 ---- 865 865 866 -(% style="color: #6b6b6b" %)Request881 +(% style="color: rgb(107,107,107);" %)Request 867 867 868 -{{code language="php" theme="RDark" title="Get specific User Request"}} 883 +{{code language="php" theme="RDark" title="Get specific User Request" collapse="true"}} 869 869 <?php 870 870 871 871 $curl = curl_init(); 872 872 873 873 curl_setopt_array($curl, array( 874 - CURLOPT_URL => ' https://api.onecount.net/v2/users/{{OCID}}',889 + CURLOPT_URL => 'rayaan.onecount.net/api/v2/users/8418', 875 875 CURLOPT_RETURNTRANSFER => true, 876 876 CURLOPT_ENCODING => '', 877 877 CURLOPT_MAXREDIRS => 10, ... ... @@ -890,10 +890,11 @@ 890 890 echo $response; 891 891 {{/code}} 892 892 908 +\\ 893 893 894 -(% style="color: #6b6b6b" %)Response 200 OK910 +(% style="color: rgb(107,107,107);" %)Response 200 OK 895 895 896 -{{code language="yml" theme="RDark" collapse="true" title="Get specific user Response"}}912 +{{code language="yml" theme="RDark" title="Get specific user Response" collapse="true"}} 897 897 { 898 898 "result": { 899 899 "success": "1", ... ... @@ -941,27 +941,33 @@ 941 941 } 942 942 {{/code}} 943 943 960 +\\ 944 944 945 -(% id="HPOSTUserLogin" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)946 -== (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#ad7a03" %)POST(% class="documentation-core-item-request-namejbmEtY sc-fzomuh" style="color:#212121" %)962 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 963 +== (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33, 33, 33); color: rgb(173, 122, 3)" %)POST(% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %) User Login(%%) == 947 947 948 948 ---- 949 949 950 -{{ panel bgColor="#D3D3D3"width="100%"}}951 - (% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users(%class="nolink" style="color:#212121" %)/login952 -{{/ panel}}967 +{{column width="100%"}} 968 + (% class="nolink" %)https:~/~/api.onecount.net/v2/users(% style="color: rgb(33,33,33);" %)/login 969 +{{/column}} 953 953 954 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 971 +(% style="" %) 972 +\\ 955 955 974 +(% style="" %) 975 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 976 + 956 956 ---- 957 957 958 -(% 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}} 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}} 959 959 960 -=== (% style="color: #212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) ===982 +=== (% style="color: rgb(33,33,33);" %)Body (% style="color: rgb(107,107,107);" %)raw (json)(%%) === 961 961 962 962 ---- 963 963 964 -{{code language="yml" theme="RDark" title="Body"}} 986 +{{code language="yml" theme="RDark" title="Body" collapse="true"}} 965 965 {"e":"rayaan@one-count.com","p":"12345"} 966 966 {{/code}} 967 967 ... ... @@ -969,15 +969,15 @@ 969 969 970 970 ---- 971 971 972 -(% style="color: #6b6b6b" %)Request994 +(% style="color: rgb(107,107,107);" %)Request 973 973 974 -{{code language="php" theme="RDark" title="User login Request"}} 996 +{{code language="php" theme="RDark" title="User login Request" collapse="true"}} 975 975 <?php 976 976 977 977 $curl = curl_init(); 978 978 979 979 curl_setopt_array($curl, array( 980 - CURLOPT_URL => ' https://api.onecount.net/v2/users/login',1002 + CURLOPT_URL => 'rayaan.onecount.net/api/v2/users/login', 981 981 CURLOPT_RETURNTRANSFER => true, 982 982 CURLOPT_ENCODING => '', 983 983 CURLOPT_MAXREDIRS => 10, ... ... @@ -997,10 +997,11 @@ 997 997 echo $response; 998 998 {{/code}} 999 999 1022 +\\ 1000 1000 1001 -(% style="color: #6b6b6b" %)Response 200 OK1024 +(% style="color: rgb(107,107,107);" %)Response 200 OK 1002 1002 1003 -{{code language="yml" theme="RDark" collapse="true" title="Login user Response"}}1026 +{{code language="yml" theme="RDark" title="Login user Response" collapse="true"}} 1004 1004 { 1005 1005 "result": { 1006 1006 "success": "1", ... ... @@ -1015,42 +1015,48 @@ 1015 1015 } 1016 1016 {{/code}} 1017 1017 1041 +\\ 1018 1018 1019 -(% id="HGETlookupUser" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)1020 -== (% class=" imuBmisc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-namejbmEtY sc-fzomuh" style="color:#212121" %)lookup User(%%) ==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 jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)lookup User(%%) == 1021 1021 1022 1022 ---- 1023 1023 1024 -{{ panel bgColor="#D3D3D3"width="100%"}}1025 -(% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users(%class="nolink" style="color:#212121" %)/lookup?2=user_242_6298&return=1,2,3,41026 -{{/ panel}}1048 +{{column width="100%"}} 1049 + (% class="nolink" %)https:~/~/api.onecount.net/v2/users(% style="color: rgb(33,33,33);" %)/lookup?2=user_242_6298&return=1,2,3,4 1050 +{{/column}} 1027 1027 1028 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 1052 +(% style="" %) 1053 +\\ 1029 1029 1055 +(% style="" %) 1056 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 1057 + 1030 1030 ---- 1031 1031 1032 -(% 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}} 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}} 1033 1033 1034 -=== (% style="color: #212121" %)Query Params(%%) ===1063 +=== (% style="color: rgb(33,33,33);" %)Query Params(%%) === 1035 1035 1036 1036 ---- 1037 1037 1038 -(% class="Text__TextContainer-sc-1kqigik-0 cEvDCPiauueYitem-keysc-fznXWL" style="color:#212121" %)2#212121" %)user_242_6298(%%)1039 -(% class="Text__TextContainer-sc-1kqigik-0 cEvDCPiauueYitem-keysc-fznXWL" style="color:#212121" %)return#212121" %)1,2,3,41067 +(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)2 (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)user_242_6298(%%) 1068 +(% class="Text__TextContainer-sc-1kqigik-0 iauueY sc-fznXWL cEvDCP item-key" style="color: rgb(33,33,33);" %)return (% class="Text__TextContainer-sc-1kqigik-0 iYynAw" style="color: rgb(33,33,33);" %)1,2,3,4 1040 1040 1041 1041 ==== Example ==== 1042 1042 1043 1043 ---- 1044 1044 1045 -(% style="color: #6b6b6b" %)Request1074 +(% style="color: rgb(107,107,107);" %)Request 1046 1046 1047 -{{code language="php" theme="RDark" title="Lookup user Request"}} 1076 +{{code language="php" theme="RDark" title="Lookup user Request" collapse="true"}} 1048 1048 <?php 1049 1049 1050 1050 $curl = curl_init(); 1051 1051 1052 1052 curl_setopt_array($curl, array( 1053 - CURLOPT_URL => ' https://api.onecount.net/v2/users/lookup?2=user_242_6298&return=1,2,3,4',1082 + CURLOPT_URL => 'rayaan.onecount.net/api/v2/users/lookup?2=user_242_6298&return=1%2C2%2C3%2C4', 1054 1054 CURLOPT_RETURNTRANSFER => true, 1055 1055 CURLOPT_ENCODING => '', 1056 1056 CURLOPT_MAXREDIRS => 10, ... ... @@ -1069,10 +1069,11 @@ 1069 1069 echo $response; 1070 1070 {{/code}} 1071 1071 1101 +\\ 1072 1072 1073 -(% style="color: #6b6b6b" %)Response 200 OK1103 +(% style="color: rgb(107,107,107);" %)Response 200 OK 1074 1074 1075 -{{code language="yml" theme="RDark" collapse="true" title="Lookup user Response"}}1105 +{{code language="yml" theme="RDark" title="Lookup user Response" collapse="true"}} 1076 1076 { 1077 1077 "result": { 1078 1078 "success": "1", ... ... @@ -1095,363 +1095,553 @@ 1095 1095 } 1096 1096 {{/code}} 1097 1097 1128 +\\ 1098 1098 1099 -(% id="HGETPartners" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)1100 -== (% class=" imuBmisc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-namejbmEtY sc-fzomuh" style="color:#212121" %)Partners(%%) ==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 jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %)Partners(%%) == 1101 1101 1102 1102 ---- 1103 1103 1104 -{{ panel bgColor="#D3D3D3"width="100%"}}1105 -(% class="nolink nolink" %)https:~/~/api.onecount.net/v2(% class="nolink" style="color:#212121" %)/users/~{~{OCID}}/partners/~{~{Partner id}}1106 -{{/ panel}}1135 +{{column width="100%"}} 1136 + (% class="nolink nolink" %)https:~/~/api.onecount.net/v2(% style="color: rgb(33,33,33);" %)/users/~{~{OCID}}/partners/~{~{Partner id}} 1137 +{{/column}} 1107 1107 1108 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 1139 +(% style="" %) 1140 +\\ 1109 1109 1142 +(% style="" %) 1143 +=== (% class="core-title" style="color: rgb(33,33,33);" %)Request Headers(%%) === 1144 + 1110 1110 ---- 1111 1111 1112 -(% 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}} 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}} 1113 1113 1114 -(% id="HPOSTCreateuser" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)1115 -== (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#ad7a03" %)POST(% class="documentation-core-item-request-namejbmEtY sc-fzomuh" style="color:#212121" %)1150 +(% style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 1151 +== (% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33, 33, 33); color: rgb(173, 122, 3)" %)POST(% class="sc-fzomuh jbmEtY documentation-core-item-request-name" style="color: rgb(33,33,33);" %) Create user(%%) == 1116 1116 1117 1117 ---- 1118 1118 1119 -{{ panel bgColor="#D3D3D3"width="100%"}}1120 -(% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users 1121 -{{/ panel}}1155 +{{column width="100%"}} 1156 + (% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users 1157 +{{/column}} 1122 1122 1159 +(% style="" %) 1160 +\\ 1123 1123 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 + 1124 1124 (% 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" %) 1125 1125 **POST method should be used to create users.** 1126 1126 1127 -(% class="wrapped" %) 1128 -|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1475 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1129 1129 ((( 1130 1130 (% class="western" %) 1131 1131 **Request** 1132 -)))|(% style="text-align:left; 1479 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1133 1133 ((( 1134 1134 (% class="western" %) 1135 1135 **Type** 1136 -)))|(% style="text-align:left; 1483 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1137 1137 ((( 1138 1138 (% class="western" %) 1139 1139 **Description** 1140 1140 ))) 1141 -|(% style="text-align:left; 1488 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1142 1142 ((( 1143 1143 (% class="western" %) 1144 1144 Users 1145 -)))|(% style="text-align:left; 1492 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1146 1146 ((( 1147 1147 (% class="western" %) 1148 1148 Users 1149 -)))|(% style="text-align:left; 1496 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1150 1150 ((( 1151 1151 (% class="western" %) 1152 1152 Users object that contains information about user to create. PartnerId Needs to be specified. 1153 1153 ))) 1154 -|(% style="text-align:left; 1501 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1155 1155 ((( 1156 1156 (% class="western" %) 1157 1157 Transactions 1158 -)))|(% style="text-align:left; 1505 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1159 1159 ((( 1160 1160 (% class="western" %) 1161 1161 Transactions 1162 -)))|(% style="text-align:left; 1509 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1163 1163 ((( 1164 1164 (% class="western" %) 1165 1165 (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. 1166 1166 ))) 1167 -|(% style="text-align:left; 1514 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1168 1168 ((( 1169 1169 (% class="western" %) 1170 1170 DedupeColumns 1171 -)))|(% style="text-align:left; 1518 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1172 1172 ((( 1173 1173 (% class="western" %) 1174 1174 String 1175 -)))|(% style="text-align:left; 1522 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1176 1176 ((( 1177 1177 (% class="western" %) 1178 1178 CSV of question id's that should be considered to find duplicate. 1179 1179 ))) 1180 -|(% style="text-align:left; 1527 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1181 1181 ((( 1182 1182 (% class="western" %) 1183 1183 Return 1184 -)))|(% style="text-align:left; 1531 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1185 1185 ((( 1186 1186 (% class="western" %) 1187 1187 String 1188 -)))|(% style="text-align:left; 1535 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1189 1189 ((( 1190 1190 (% class="western" %) 1191 1191 CSV of ONEcount QuestionId's requested back in Users object in response. 1192 1192 ))) 1193 1193 1194 -(% class="wrapped" %) 1195 -|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1541 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1196 1196 ((( 1197 1197 (% class="western" %) 1198 1198 **Response** 1199 -)))|(% style="text-align:left; 1545 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1200 1200 ((( 1201 1201 (% class="western" %) 1202 1202 **Type** 1203 -)))|(% style="text-align:left; 1549 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1204 1204 ((( 1205 1205 (% class="western" %) 1206 1206 **Description** 1207 1207 ))) 1208 -|(% style="text-align:left; 1554 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1209 1209 ((( 1210 1210 (% class="western" %) 1211 1211 Users 1212 1212 )))|=(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1213 1213 ((( 1214 -(% class="western" style="text-align:left" %)1560 +(% class="western" align="left" %) 1215 1215 Users 1216 -)))|(% style="text-align:left; 1562 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1217 1217 ((( 1218 1218 (% class="western" %) 1219 1219 Created users returned with the demo field requested in return parameter in json format. If return was not specified only UserId will be returned. 1220 1220 ))) 1221 1221 1222 - === (% class="core-title" style="color:#212121" %)Request Headers(%%) ===1568 +\\ 1223 1223 1224 ----- 1225 - 1226 -(% 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}} 1227 - 1228 -=== (% style="color:#212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) === 1229 - 1230 ----- 1231 - 1232 -{{code language="yml" theme="RDark" title="Body"}} 1233 -{"Users":{"PartnerId":1,"Demo":{"1":"testApirayaan7@onecount.net","4":"Rayaan","5":"Ahmed"}},"DedupeColumns":"1","Transactions":[]} 1234 -{{/code}} 1235 - 1236 -==== Example ==== 1237 - 1238 ----- 1239 - 1240 -(% style="color:#6b6b6b" %)Request 1241 - 1242 -{{code language="php" theme="RDark" title="Create User Request"}} 1243 -<?php 1244 - 1245 -$curl = curl_init(); 1246 - 1247 -curl_setopt_array($curl, array( 1248 - CURLOPT_URL => 'https://api.onecount.net/v2/users', 1249 - CURLOPT_RETURNTRANSFER => true, 1250 - CURLOPT_ENCODING => '', 1251 - CURLOPT_MAXREDIRS => 10, 1252 - CURLOPT_TIMEOUT => 0, 1253 - CURLOPT_FOLLOWLOCATION => true, 1254 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 1255 - CURLOPT_CUSTOMREQUEST => 'POST', 1256 - CURLOPT_POSTFIELDS =>'{"Users":{"PartnerId":1,"Demo":{"1":"testApirayaan6@onecount.net","4":"Rayaan","5":"Ahmed"}},"DedupeColumns":"1","Transactions":[]}', 1257 - CURLOPT_HTTPHEADER => array( 1258 - 'Appkey: {{ONECOUNT API KEY}}' 1259 - ), 1260 -)); 1261 - 1262 -$response = curl_exec($curl); 1263 - 1264 -curl_close($curl); 1265 -echo $response; 1266 -{{/code}} 1267 - 1268 - 1269 -(% style="color:#6b6b6b" %)Response 200 OK 1270 - 1271 -{{code language="yml" theme="RDark" collapse="true" title="Create user Response"}} 1272 -{ 1273 - "result": { 1274 - "success": "1", 1275 - "error": { 1276 - "code": "", 1277 - "message": "" 1278 - } 1279 - }, 1280 - "Users": { 1281 - "Id": 1845831 1282 - } 1283 -} 1284 -{{/code}} 1285 - 1286 - 1287 -(% id="HPUTUpdateuser" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 1288 -== (% 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(%%) == 1289 - 1290 ----- 1291 - 1292 -{{panel bgColor="#D3D3D3" width="100%"}} 1293 - (% class="nolink nolink" %)https:~/~/api.onecount.net/v2/users/~{~{OCID(% class="nolink" %)}} 1294 -{{/panel}} 1295 - 1296 - 1297 1297 (% class="western" %) 1298 1298 **PUT method should be used to update users.** 1299 1299 1300 -(% class="wrapped" %) 1301 -|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1573 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1302 1302 ((( 1303 1303 (% class="western" %) 1304 1304 **Request** 1305 -)))|(% style="text-align:left; 1577 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1306 1306 ((( 1307 1307 (% class="western" %) 1308 1308 **Type** 1309 -)))|(% style="text-align:left; 1581 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1310 1310 ((( 1311 1311 (% class="western" %) 1312 1312 **Description** 1313 1313 ))) 1314 -|(% style="text-align:left; 1586 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1315 1315 ((( 1316 1316 (% class="western" %) 1317 1317 Users 1318 -)))|(% style="text-align:left; 1590 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1319 1319 ((( 1320 1320 (% class="western" %) 1321 1321 Users 1322 -)))|(% style="text-align:left; 1594 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1323 1323 ((( 1324 1324 (% class="western" %) 1325 -Users object with update fields. Return property has CSVof questions id requested back in Users object.1597 +Users object with update fields. Return property has csv of questions id requested back in Users object. 1326 1326 ))) 1327 -|(% style="text-align:left; 1599 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1328 1328 ((( 1329 1329 (% class="western" %) 1330 1330 Return 1331 -)))|(% style="text-align:left; 1603 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1332 1332 ((( 1333 1333 (% class="western" %) 1334 1334 String 1335 -)))|(% style="text-align:left; 1607 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1336 1336 ((( 1337 1337 (% class="western" %) 1338 1338 CSV of ONEcount QuestionId's requested back in Users object in response 1339 1339 ))) 1340 -|(% style="text-align:left; 1612 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1341 1341 ((( 1342 1342 (% class="western" %) 1343 1343 RequestDate 1344 -)))|(% style="text-align:left; 1616 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1345 1345 ((( 1346 1346 (% class="western" %) 1347 1347 Date 1348 -)))|(% style="text-align:left; 1620 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1349 1349 ((( 1350 1350 (% class="western" %) 1351 1351 RequestDate to use for the demo update. If not provided current date will be used. 1352 1352 ))) 1353 1353 1354 -(% class="wrapped" %) 1355 -|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1626 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1356 1356 ((( 1357 1357 (% class="western" %) 1358 1358 **Response** 1359 -)))|(% style="text-align:left; 1630 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1360 1360 ((( 1361 1361 (% class="western" %) 1362 1362 **Type** 1363 -)))|(% style="text-align:left; 1634 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1364 1364 ((( 1365 1365 (% class="western" %) 1366 1366 **Description** 1367 1367 ))) 1368 -|(% style="text-align:left; 1639 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1369 1369 ((( 1370 1370 (% class="western" %) 1371 1371 Users 1372 1372 )))|=(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1373 1373 ((( 1374 -(% class="western" style="text-align:left" %)1645 +(% class="western" align="left" %) 1375 1375 Users 1376 -)))|(% style="text-align:left; 1647 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1377 1377 ((( 1378 1378 (% class="western" %) 1379 1379 Updated user returned with the demo field requested in return parameter in json format. 1380 1380 ))) 1381 1381 1382 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 1653 +(% class="western" %) 1654 +\\ 1383 1383 1384 ----- 1656 +(% class="western" %) 1657 +\\ 1385 1385 1386 -(% 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}} 1659 +(% class="western" %) 1660 +Create new users. Here in this example the JSON for request is passed in userFile.json file. 1387 1387 1388 - ===(%style="color:#212121"%)Body(%style="color:#6b6b6b"%)raw(json)(%%)===1662 +{{{curl -X POST -H “Appkey: xxx” -H "Content-Type: application/json" –data-binary -d '@userFile.json' https://api.onecount.net/v2/users}}} 1389 1389 1390 ----- 1664 +(% class="western" %) 1665 +**~ ** 1391 1391 1392 -{{code language="yml" theme="RDark" title="Body"}} 1393 -{"Users":{"Demo":{"6":"title1"}}} 1394 -{{/code}} 1667 +(% class="western" %) 1668 +**~ ** 1395 1395 1396 - ==== Example ====1670 +\\ 1397 1397 1398 ----- 1672 +(% class="western" %) 1673 +**COMPONENT: Questions** 1399 1399 1400 -(% style="color:#6b6b6b" %)Request 1401 - 1402 -{{code language="php" theme="RDark" title="Update User Request"}} 1403 -<?php 1404 - 1405 -$curl = curl_init(); 1406 - 1407 -curl_setopt_array($curl, array( 1408 - CURLOPT_URL => 'https://api.onecount.net/v2/users/{{OCID}}', 1409 - CURLOPT_RETURNTRANSFER => true, 1410 - CURLOPT_ENCODING => '', 1411 - CURLOPT_MAXREDIRS => 10, 1412 - CURLOPT_TIMEOUT => 0, 1413 - CURLOPT_FOLLOWLOCATION => true, 1414 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 1415 - CURLOPT_CUSTOMREQUEST => 'PUT', 1416 - CURLOPT_POSTFIELDS =>'{"Users":{"Demo":{"6":"title"}}}', 1417 - CURLOPT_HTTPHEADER => array( 1418 - 'Appkey: {{ONECOUNT API KEY}}' 1419 - ), 1420 -)); 1421 - 1422 -$response = curl_exec($curl); 1423 - 1424 -curl_close($curl); 1425 -echo $response; 1426 - 1427 - 1428 -{{/code}} 1429 - 1430 - 1431 -(% style="color:#6b6b6b" %)Response 200 OK 1432 - 1433 -{{code language="yml" theme="RDark" collapse="true" title="Update user Response"}} 1434 -{ 1435 - "result": { 1436 - "success": "1", 1437 - "error": { 1438 - "code": "", 1439 - "message": "" 1440 - } 1441 - }, 1442 - "Users": [ 1443 - { 1444 - "Id": 1845823, 1445 - "OCID_HASH": "fccaa8dc7afadccc5882528d47b27c2bb53e2788dd0ac1fe170abef77a9c4d5b" 1446 - } 1447 - ] 1448 -} 1449 -{{/code}} 1450 - 1451 - 1452 -(% id="HCOMPONENT:Questions" class="western" %) 1453 -=== **COMPONENT: Questions** === 1454 - 1455 1455 (% class="western" %) 1456 1456 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). 1457 1457 ... ... @@ -1464,141 +1464,131 @@ 1464 1464 (% class="western" %) 1465 1465 There can be 6 types of questions: 1466 1466 1467 -(% class="wrapped" %) 1468 -|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1687 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1469 1469 ((( 1470 -(% class="western" style="text-align:center" %)1689 +(% class="western" align="center" %) 1471 1471 **Type** 1472 -)))|(% style="text-align:left; 1691 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1473 1473 ((( 1474 1474 (% class="western" %) 1475 1475 **Description** 1476 1476 ))) 1477 -|(% style="text-align:left; 1696 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1478 1478 ((( 1479 -(% class="western" style="text-align:center" %)1480 - 01481 -)))|(% style="text-align:left; 1698 +(% class="western" align="center" %) 1699 +1 1700 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1482 1482 ((( 1483 1483 (% class="western" %) 1484 -Text type questions or short response type question. The response length needs to be less than 255 characters. 1703 +Textbox type questions or short response type question. The response length needs to be less than 255 characters. 1485 1485 ))) 1486 -|(% style="text-align:left; 1705 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1487 1487 ((( 1488 -(% class="western" style="text-align:center" %)1489 - 11490 -)))|(% style="text-align:left; 1707 +(% class="western" align="center" %) 1708 +2 1709 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1491 1491 ((( 1492 1492 (% class="western" %) 1493 1493 Textarea type question or long response type question. 1494 1494 ))) 1495 -|(% style="text-align:left; vertical-align:top" %)((( 1496 -(% style="text-align: left;vertical-align: top;" %) 1714 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1497 1497 ((( 1498 -(% class="western" style="text-align:center" %) 1499 -2 1500 -))) 1501 - 1716 +(% class="western" align="center" %) 1717 +3 1718 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1502 1502 ((( 1503 - 1504 -))) 1505 -)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1506 -((( 1507 1507 (% class="western" %) 1508 1508 Password type question. This is basically same as type 1 but when displayed in ONEcount frontend forms typed characters appears as *. 1509 1509 ))) 1510 -|(% style="text-align:left; vertical-align:top" %) 3|(% style="text-align:left; vertical-align:top" %)Numeric type question. 1511 -|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1723 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1512 1512 ((( 1513 -(% class="western" style="text-align:center" %)1725 +(% class="western" align="center" %) 1514 1514 4 1515 -)))|(% style="text-align:left; 1727 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1516 1516 ((( 1517 1517 (% class="western" %) 1518 1518 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. 1519 1519 ))) 1520 -|(% style="text-align:left; 1732 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1521 1521 ((( 1522 -(% class="western" style="text-align:center" %)1734 +(% class="western" align="center" %) 1523 1523 5 1524 -)))|(% style="text-align:left; 1736 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1525 1525 ((( 1526 1526 (% class="western" %) 1527 1527 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. 1528 1528 ))) 1529 -|(% style="text-align:left; 1741 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1530 1530 ((( 1531 -(% class="western" style="text-align:center" %)1743 +(% class="western" align="center" %) 1532 1532 6 1533 -)))|(% style="text-align:left; 1745 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1534 1534 ((( 1535 1535 (% class="western" %) 1536 1536 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. 1537 1537 ))) 1538 -|(% style="text-align:left; vertical-align:top" %) 7 |(% style="text-align:left; vertical-align:top" %)Date type question. 1539 1539 1540 -(% class="wrapped" %) 1541 -|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 1751 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1542 1542 ((( 1543 1543 (% class="western" %) 1544 1544 **Method** 1545 -)))|(% style="text-align:left; 1755 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1546 1546 ((( 1547 1547 (% class="western" %) 1548 1548 **Url** 1549 -)))|(% style="text-align:left; 1759 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1550 1550 ((( 1551 1551 (% class="western" %) 1552 1552 **Action** 1553 1553 ))) 1554 -|(% style="text-align:left; 1764 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1555 1555 ((( 1556 1556 (% class="western" %) 1557 1557 GET 1558 -)))|(% style="text-align:left; 1768 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1559 1559 ((( 1560 1560 (% class="western" %) 1561 1561 /questions 1562 -)))|(% style="text-align:left; 1772 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1563 1563 ((( 1564 1564 (% class="western" %) 1565 1565 List all questions 1566 1566 ))) 1567 -|(% style="text-align:left; 1777 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1568 1568 ((( 1569 1569 (% class="western" %) 1570 1570 GET 1571 -)))|(% style="text-align:left; 1781 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1572 1572 ((( 1573 1573 (% class="western" %) 1574 1574 /questions/1 1575 -)))|(% style="text-align:left; 1785 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1576 1576 ((( 1577 1577 (% class="western" %) 1578 1578 Returns question id 1 1579 1579 ))) 1580 -|(% style="text-align:left; 1790 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1581 1581 ((( 1582 1582 (% class="western" %) 1583 1583 GET 1584 -)))|(% style="text-align:left; 1794 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1585 1585 ((( 1586 1586 (% class="western" %) 1587 1587 /questions/lookup?Text=Email 1588 -)))|(% style="text-align:left; 1798 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1589 1589 ((( 1590 1590 (% class="western" %) 1591 1591 Returns all questions with “Email" in question text 1592 1592 ))) 1593 -|(% style="text-align:left; 1803 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1594 1594 ((( 1595 1595 (% class="western" %) 1596 1596 POST 1597 -)))|(% style="text-align:left; 1807 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1598 1598 ((( 1599 1599 (% class="western" %) 1600 1600 /questions 1601 -)))|(% style="text-align:left; 1811 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1602 1602 ((( 1603 1603 (% class="western" %) 1604 1604 Create a new question ... ... @@ -1606,15 +1606,15 @@ 1606 1606 (% class="western" %) 1607 1607 JSON of the Questions type object needs to be sent as post data. Id field should not be sent. 1608 1608 ))) 1609 -|(% style="text-align:left; 1819 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1610 1610 ((( 1611 1611 (% class="western" %) 1612 1612 PUT 1613 -)))|(% style="text-align:left; 1823 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1614 1614 ((( 1615 1615 (% class="western" %) 1616 1616 /questions 1617 -)))|(% style="text-align:left; 1827 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 1618 1618 ((( 1619 1619 (% class="western" %) 1620 1620 Update a question ... ... @@ -1623,6688 +1623,347 @@ 1623 1623 JSON of the Questions type object needs to be sent as post data. Id field is mandatory for update. 1624 1624 ))) 1625 1625 1626 -(% id="HGETAllQuestions" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 1627 -== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)All Questions(%%) == 1836 +\\ 1628 1628 1629 ----- 1838 +(% class="western" %) 1839 +**GET method can be used to lookup questions.** 1630 1630 1631 ----- 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 1632 1633 -{{panel bgColor="#D3D3D3" width="100%"}} 1634 -(% class="nolink nolink" %)https:~/~/api.onecount.net/v2/(% style="color:#212121" %)questions 1635 -{{/panel}} 1867 +(% class="western" %) 1868 +Params: 1636 1636 1637 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 1870 +(% class="western" %) 1871 +Text: Word or phrase that should be present in the question text (String) 1638 1638 1639 ----- 1873 +(% class="western" %) 1874 +Type: Look up the question type. 1875 +))) 1640 1640 1641 -(% 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}} 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 1642 1643 - ==== Example ====1904 +\\ 1644 1644 1645 ----- 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 1646 1647 -(% style="color:#6b6b6b" %)Request 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 1648 1649 -{{code language="php" theme="RDark" title="Get All Questions Request"}} 1650 -<?php 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 +))) 1651 1651 1652 - $curl = curl_init();1963 +\\ 1653 1653 1654 -curl_setopt_array($curl, array( 1655 - CURLOPT_URL => 'https://api.onecount.net/v2/questions', 1656 - CURLOPT_RETURNTRANSFER => true, 1657 - CURLOPT_ENCODING => '', 1658 - CURLOPT_MAXREDIRS => 10, 1659 - CURLOPT_TIMEOUT => 0, 1660 - CURLOPT_FOLLOWLOCATION => true, 1661 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 1662 - CURLOPT_CUSTOMREQUEST => 'GET', 1663 - CURLOPT_HTTPHEADER => array( 1664 - 'Appkey: 70856f83422599c8e36191098f1536ae06e7bbcd' 1665 - ), 1666 -)); 1965 +(% class="western" %) 1966 +PUT method should be used to update question. 1667 1667 1668 -$response = curl_exec($curl); 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 +))) 1669 1669 1670 -curl_close($curl); 1671 -echo $response; 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 +))) 1672 1672 2022 +(% class="western" %) 2023 +\\ 1673 1673 2025 +(% class="western" %) 2026 +Example: Get list of questions from api which has FirstName in text 1674 1674 1675 -{{/co de}}2028 +{{{curl -X GET -H “Appkey: xxx” https://api.onecount.net/v2/questions/lookup?Text=FirstName}}} 1676 1676 1677 - 1678 -(% style="color:#6b6b6b" %)Response 200 OK 1679 - 1680 -{{code language="yml" theme="RDark" collapse="true" title="Get All Questions Response"}} 2030 +(% class="western" %) 1681 1681 { 1682 - "result": { 1683 - "success": "1", 1684 - "error": { 1685 - "code": "", 1686 - "message": "" 1687 - } 1688 - }, 1689 - "Questions": [ 1690 - { 1691 - "Id": 1, 1692 - "Text": "Email", 1693 - "Type": "0", 1694 - "Alias": "Email" 1695 - }, 1696 - { 1697 - "Id": 2, 1698 - "Text": "Username", 1699 - "Type": "0", 1700 - "Alias": "Username" 1701 - }, 1702 - { 1703 - "Id": 3, 1704 - "Text": "Password", 1705 - "Type": "2", 1706 - "Alias": "Password" 1707 - }, 1708 - { 1709 - "Id": 4, 1710 - "Text": "First Name", 1711 - "Type": "0", 1712 - "Alias": "First Name" 1713 - }, 1714 - { 1715 - "Id": 5, 1716 - "Text": "Last Name", 1717 - "Type": "0", 1718 - "Alias": "Last Name" 1719 - }, 1720 - { 1721 - "Id": 6, 1722 - "Text": "Title", 1723 - "Type": "0", 1724 - "Alias": "Title" 1725 - }, 1726 - { 1727 - "Id": 7, 1728 - "Text": "Company Name", 1729 - "Type": "0", 1730 - "Alias": "Company Name" 1731 - }, 1732 - { 1733 - "Id": 8, 1734 - "Text": "Company Address", 1735 - "Type": "0", 1736 - "Alias": "Company Address" 1737 - }, 1738 - { 1739 - "Id": 9, 1740 - "Text": "Address2", 1741 - "Type": "0", 1742 - "Alias": "Address2" 1743 - }, 1744 - { 1745 - "Id": 10, 1746 - "Text": "City", 1747 - "Type": "0", 1748 - "Alias": "City" 1749 - }, 1750 - { 1751 - "Id": 11, 1752 - "Text": "State/Province", 1753 - "Type": "4", 1754 - "Alias": "State/Province", 1755 - "Choices": [ 1756 - { 1757 - "Id": 1554, 1758 - "QuestionId": 11, 1759 - "Text": "Select One", 1760 - "Value": "", 1761 - "Order": 1 1762 - }, 1763 - { 1764 - "Id": 1562, 1765 - "QuestionId": 11, 1766 - "Text": "Alabama", 1767 - "Value": "AL", 1768 - "Order": 2 1769 - }, 1770 - { 1771 - "Id": 1570, 1772 - "QuestionId": 11, 1773 - "Text": "Alaska", 1774 - "Value": "AK", 1775 - "Order": 3 1776 - }, 1777 - { 1778 - "Id": 1578, 1779 - "QuestionId": 11, 1780 - "Text": "Arizona", 1781 - "Value": "AZ", 1782 - "Order": 4 1783 - }, 1784 - { 1785 - "Id": 1586, 1786 - "QuestionId": 11, 1787 - "Text": "Arkansas", 1788 - "Value": "AR", 1789 - "Order": 5 1790 - }, 1791 - { 1792 - "Id": 1594, 1793 - "QuestionId": 11, 1794 - "Text": "California", 1795 - "Value": "CA", 1796 - "Order": 6 1797 - }, 1798 - { 1799 - "Id": 1602, 1800 - "QuestionId": 11, 1801 - "Text": "Colorado", 1802 - "Value": "CO", 1803 - "Order": 7 1804 - }, 1805 - { 1806 - "Id": 1610, 1807 - "QuestionId": 11, 1808 - "Text": "Connecticut", 1809 - "Value": "CT", 1810 - "Order": 8 1811 - }, 1812 - { 1813 - "Id": 1618, 1814 - "QuestionId": 11, 1815 - "Text": "Delaware", 1816 - "Value": "DE", 1817 - "Order": 9 1818 - }, 1819 - { 1820 - "Id": 1626, 1821 - "QuestionId": 11, 1822 - "Text": "District of Columbia", 1823 - "Value": "DC", 1824 - "Order": 10 1825 - }, 1826 - { 1827 - "Id": 1634, 1828 - "QuestionId": 11, 1829 - "Text": "Florida", 1830 - "Value": "FL", 1831 - "Order": 11 1832 - }, 1833 - { 1834 - "Id": 1642, 1835 - "QuestionId": 11, 1836 - "Text": "Georgia", 1837 - "Value": "GA", 1838 - "Order": 12 1839 - }, 1840 - { 1841 - "Id": 1650, 1842 - "QuestionId": 11, 1843 - "Text": "Hawaii", 1844 - "Value": "HI", 1845 - "Order": 13 1846 - }, 1847 - { 1848 - "Id": 1658, 1849 - "QuestionId": 11, 1850 - "Text": "Idaho", 1851 - "Value": "ID", 1852 - "Order": 14 1853 - }, 1854 - { 1855 - "Id": 1666, 1856 - "QuestionId": 11, 1857 - "Text": "Illinois", 1858 - "Value": "IL", 1859 - "Order": 15 1860 - }, 1861 - { 1862 - "Id": 1674, 1863 - "QuestionId": 11, 1864 - "Text": "Indiana", 1865 - "Value": "IN", 1866 - "Order": 16 1867 - }, 1868 - { 1869 - "Id": 1682, 1870 - "QuestionId": 11, 1871 - "Text": "Iowa", 1872 - "Value": "IA", 1873 - "Order": 17 1874 - }, 1875 - { 1876 - "Id": 1690, 1877 - "QuestionId": 11, 1878 - "Text": "Kansas", 1879 - "Value": "KS", 1880 - "Order": 18 1881 - }, 1882 - { 1883 - "Id": 1698, 1884 - "QuestionId": 11, 1885 - "Text": "Kentucky", 1886 - "Value": "KY", 1887 - "Order": 19 1888 - }, 1889 - { 1890 - "Id": 1706, 1891 - "QuestionId": 11, 1892 - "Text": "Louisiana", 1893 - "Value": "LA", 1894 - "Order": 20 1895 - }, 1896 - { 1897 - "Id": 1714, 1898 - "QuestionId": 11, 1899 - "Text": "Maine", 1900 - "Value": "ME", 1901 - "Order": 21 1902 - }, 1903 - { 1904 - "Id": 1722, 1905 - "QuestionId": 11, 1906 - "Text": "Maryland", 1907 - "Value": "MD", 1908 - "Order": 22 1909 - }, 1910 - { 1911 - "Id": 1730, 1912 - "QuestionId": 11, 1913 - "Text": "Massachusetts", 1914 - "Value": "MA", 1915 - "Order": 23 1916 - }, 1917 - { 1918 - "Id": 1738, 1919 - "QuestionId": 11, 1920 - "Text": "Michigan", 1921 - "Value": "MI", 1922 - "Order": 24 1923 - }, 1924 - { 1925 - "Id": 1746, 1926 - "QuestionId": 11, 1927 - "Text": "Minnesota", 1928 - "Value": "MN", 1929 - "Order": 25 1930 - }, 1931 - { 1932 - "Id": 1754, 1933 - "QuestionId": 11, 1934 - "Text": "Mississippi", 1935 - "Value": "MS", 1936 - "Order": 26 1937 - }, 1938 - { 1939 - "Id": 1762, 1940 - "QuestionId": 11, 1941 - "Text": "Missouri", 1942 - "Value": "MO", 1943 - "Order": 27 1944 - }, 1945 - { 1946 - "Id": 1770, 1947 - "QuestionId": 11, 1948 - "Text": "Montana", 1949 - "Value": "MT", 1950 - "Order": 28 1951 - }, 1952 - { 1953 - "Id": 1778, 1954 - "QuestionId": 11, 1955 - "Text": "Nebraska", 1956 - "Value": "NE", 1957 - "Order": 29 1958 - }, 1959 - { 1960 - "Id": 1786, 1961 - "QuestionId": 11, 1962 - "Text": "Nevada", 1963 - "Value": "NV", 1964 - "Order": 30 1965 - }, 1966 - { 1967 - "Id": 1794, 1968 - "QuestionId": 11, 1969 - "Text": "New Hampshire", 1970 - "Value": "NH", 1971 - "Order": 31 1972 - }, 1973 - { 1974 - "Id": 1802, 1975 - "QuestionId": 11, 1976 - "Text": "New Jersey", 1977 - "Value": "NJ", 1978 - "Order": 32 1979 - }, 1980 - { 1981 - "Id": 1810, 1982 - "QuestionId": 11, 1983 - "Text": "New Mexico", 1984 - "Value": "NM", 1985 - "Order": 33 1986 - }, 1987 - { 1988 - "Id": 1818, 1989 - "QuestionId": 11, 1990 - "Text": "New York", 1991 - "Value": "NY", 1992 - "Order": 34 1993 - }, 1994 - { 1995 - "Id": 1826, 1996 - "QuestionId": 11, 1997 - "Text": "North Carolina", 1998 - "Value": "NC", 1999 - "Order": 35 2000 - }, 2001 - { 2002 - "Id": 1834, 2003 - "QuestionId": 11, 2004 - "Text": "Ohio", 2005 - "Value": "OH", 2006 - "Order": 37 2007 - }, 2008 - { 2009 - "Id": 1842, 2010 - "QuestionId": 11, 2011 - "Text": "Oklahoma", 2012 - "Value": "OK", 2013 - "Order": 38 2014 - }, 2015 - { 2016 - "Id": 1850, 2017 - "QuestionId": 11, 2018 - "Text": "Oregon", 2019 - "Value": "OR", 2020 - "Order": 39 2021 - }, 2022 - { 2023 - "Id": 1858, 2024 - "QuestionId": 11, 2025 - "Text": "Pennsylvania", 2026 - "Value": "PA", 2027 - "Order": 40 2028 - }, 2029 - { 2030 - "Id": 1866, 2031 - "QuestionId": 11, 2032 - "Text": "Rhode Island", 2033 - "Value": "RI", 2034 - "Order": 41 2035 - }, 2036 - { 2037 - "Id": 1874, 2038 - "QuestionId": 11, 2039 - "Text": "South Carolina", 2040 - "Value": "SC", 2041 - "Order": 42 2042 - }, 2043 - { 2044 - "Id": 1882, 2045 - "QuestionId": 11, 2046 - "Text": "South Dakota", 2047 - "Value": "SD", 2048 - "Order": 43 2049 - }, 2050 - { 2051 - "Id": 1890, 2052 - "QuestionId": 11, 2053 - "Text": "Tennessee", 2054 - "Value": "TN", 2055 - "Order": 44 2056 - }, 2057 - { 2058 - "Id": 1898, 2059 - "QuestionId": 11, 2060 - "Text": "Texas", 2061 - "Value": "TX", 2062 - "Order": 45 2063 - }, 2064 - { 2065 - "Id": 1906, 2066 - "QuestionId": 11, 2067 - "Text": "Utah", 2068 - "Value": "UT", 2069 - "Order": 46 2070 - }, 2071 - { 2072 - "Id": 1914, 2073 - "QuestionId": 11, 2074 - "Text": "Vermont", 2075 - "Value": "VT", 2076 - "Order": 47 2077 - }, 2078 - { 2079 - "Id": 1922, 2080 - "QuestionId": 11, 2081 - "Text": "Virginia", 2082 - "Value": "VA", 2083 - "Order": 48 2084 - }, 2085 - { 2086 - "Id": 1930, 2087 - "QuestionId": 11, 2088 - "Text": "Washington", 2089 - "Value": "WA", 2090 - "Order": 49 2091 - }, 2092 - { 2093 - "Id": 1938, 2094 - "QuestionId": 11, 2095 - "Text": "West Virginia", 2096 - "Value": "WV", 2097 - "Order": 50 2098 - }, 2099 - { 2100 - "Id": 1946, 2101 - "QuestionId": 11, 2102 - "Text": "Wisconsin", 2103 - "Value": "WI", 2104 - "Order": 51 2105 - }, 2106 - { 2107 - "Id": 1954, 2108 - "QuestionId": 11, 2109 - "Text": "Wyoming", 2110 - "Value": "WY", 2111 - "Order": 52 2112 - }, 2113 - { 2114 - "Id": 1962, 2115 - "QuestionId": 11, 2116 - "Text": "American Samoa", 2117 - "Value": "AS", 2118 - "Order": 53 2119 - }, 2120 - { 2121 - "Id": 1970, 2122 - "QuestionId": 11, 2123 - "Text": "North Dakota", 2124 - "Value": "ND", 2125 - "Order": 36 2126 - }, 2127 - { 2128 - "Id": 1978, 2129 - "QuestionId": 11, 2130 - "Text": "Federated States of Micronesia", 2131 - "Value": "FM", 2132 - "Order": 54 2133 - }, 2134 - { 2135 - "Id": 1986, 2136 - "QuestionId": 11, 2137 - "Text": "Guam", 2138 - "Value": "GU", 2139 - "Order": 55 2140 - }, 2141 - { 2142 - "Id": 1994, 2143 - "QuestionId": 11, 2144 - "Text": "Marshall Islands", 2145 - "Value": "MH", 2146 - "Order": 56 2147 - }, 2148 - { 2149 - "Id": 2002, 2150 - "QuestionId": 11, 2151 - "Text": "Northern Mariana Islands", 2152 - "Value": "MP", 2153 - "Order": 57 2154 - }, 2155 - { 2156 - "Id": 2010, 2157 - "QuestionId": 11, 2158 - "Text": "Palau", 2159 - "Value": "PW", 2160 - "Order": 58 2161 - }, 2162 - { 2163 - "Id": 2018, 2164 - "QuestionId": 11, 2165 - "Text": "Puerto Rico", 2166 - "Value": "PR", 2167 - "Order": 59 2168 - }, 2169 - { 2170 - "Id": 2026, 2171 - "QuestionId": 11, 2172 - "Text": "U.S. Virgin Islands", 2173 - "Value": "VI", 2174 - "Order": 60 2175 - }, 2176 - { 2177 - "Id": 2034, 2178 - "QuestionId": 11, 2179 - "Text": "Armed Forces Africa", 2180 - "Value": "AE", 2181 - "Order": 61 2182 - }, 2183 - { 2184 - "Id": 2042, 2185 - "QuestionId": 11, 2186 - "Text": "Armed Forces Americas (except Canada)", 2187 - "Value": "AA", 2188 - "Order": 62 2189 - }, 2190 - { 2191 - "Id": 2050, 2192 - "QuestionId": 11, 2193 - "Text": "Armed Forces Canada", 2194 - "Value": "AE", 2195 - "Order": 63 2196 - }, 2197 - { 2198 - "Id": 2058, 2199 - "QuestionId": 11, 2200 - "Text": "Armed Forces Europe", 2201 - "Value": "AE", 2202 - "Order": 64 2203 - }, 2204 - { 2205 - "Id": 2066, 2206 - "QuestionId": 11, 2207 - "Text": "Armed Forces Middle East", 2208 - "Value": "AE", 2209 - "Order": 65 2210 - }, 2211 - { 2212 - "Id": 2074, 2213 - "QuestionId": 11, 2214 - "Text": "Armed Forces Pacific", 2215 - "Value": "AP", 2216 - "Order": 66 2217 - }, 2218 - { 2219 - "Id": 2082, 2220 - "QuestionId": 11, 2221 - "Text": "Non-US/Not Applicable", 2222 - "Value": "Non-US/Not Applicable", 2223 - "Order": 67 2224 - }, 2225 - { 2226 - "Id": 2090, 2227 - "QuestionId": 11, 2228 - "Text": "Ontario", 2229 - "Value": "Ontario", 2230 - "Order": 68 2231 - }, 2232 - { 2233 - "Id": 2098, 2234 - "QuestionId": 11, 2235 - "Text": "Quebec", 2236 - "Value": "Quebec", 2237 - "Order": 69 2238 - }, 2239 - { 2240 - "Id": 2106, 2241 - "QuestionId": 11, 2242 - "Text": "Nova Scotia", 2243 - "Value": "Nova Scotia", 2244 - "Order": 70 2245 - }, 2246 - { 2247 - "Id": 2114, 2248 - "QuestionId": 11, 2249 - "Text": "New Brunswick", 2250 - "Value": "New Brunswick", 2251 - "Order": 71 2252 - }, 2253 - { 2254 - "Id": 2122, 2255 - "QuestionId": 11, 2256 - "Text": "Manitoba", 2257 - "Value": "Manitoba", 2258 - "Order": 72 2259 - }, 2260 - { 2261 - "Id": 2130, 2262 - "QuestionId": 11, 2263 - "Text": "Brittish Columbia", 2264 - "Value": "Brittish Columbia", 2265 - "Order": 73 2266 - }, 2267 - { 2268 - "Id": 2138, 2269 - "QuestionId": 11, 2270 - "Text": "Prince Edward Island", 2271 - "Value": "Prince Edward Island", 2272 - "Order": 74 2273 - }, 2274 - { 2275 - "Id": 2146, 2276 - "QuestionId": 11, 2277 - "Text": "Saskatchewan", 2278 - "Value": "Saskatchewan", 2279 - "Order": 75 2280 - }, 2281 - { 2282 - "Id": 2154, 2283 - "QuestionId": 11, 2284 - "Text": "Alberta", 2285 - "Value": "Alberta", 2286 - "Order": 76 2287 - }, 2288 - { 2289 - "Id": 2162, 2290 - "QuestionId": 11, 2291 - "Text": "Newfoundland and Labrador", 2292 - "Value": "Newfoundland and Labrador", 2293 - "Order": 77 2294 - }, 2295 - { 2296 - "Id": 2170, 2297 - "QuestionId": 11, 2298 - "Text": "British Columbia", 2299 - "Value": "British Columbia", 2300 - "Order": 78 2301 - }, 2302 - { 2303 - "Id": 2178, 2304 - "QuestionId": 11, 2305 - "Text": "Ontario", 2306 - "Value": "ON", 2307 - "Order": 79 2308 - } 2309 - ] 2310 - }, 2311 - { 2312 - "Id": 12, 2313 - "Text": "Zip/Postal Code", 2314 - "Type": "0", 2315 - "Alias": "Zip/Postal Code" 2316 - }, 2317 - { 2318 - "Id": 13, 2319 - "Text": "Country", 2320 - "Type": "4", 2321 - "Alias": "Country", 2322 - "Choices": [ 2323 - { 2324 - "Id": 2, 2325 - "QuestionId": 13, 2326 - "Text": "Select One", 2327 - "Value": "", 2328 - "Order": 1 2329 - }, 2330 - { 2331 - "Id": 10, 2332 - "QuestionId": 13, 2333 - "Text": "Afghanistan", 2334 - "Value": "Afghanistan", 2335 - "Order": 3 2336 - }, 2337 - { 2338 - "Id": 18, 2339 - "QuestionId": 13, 2340 - "Text": "Albania", 2341 - "Value": "Albania", 2342 - "Order": 4 2343 - }, 2344 - { 2345 - "Id": 26, 2346 - "QuestionId": 13, 2347 - "Text": "Algeria", 2348 - "Value": "Algeria", 2349 - "Order": 5 2350 - }, 2351 - { 2352 - "Id": 34, 2353 - "QuestionId": 13, 2354 - "Text": "Andorra", 2355 - "Value": "Andorra", 2356 - "Order": 6 2357 - }, 2358 - { 2359 - "Id": 42, 2360 - "QuestionId": 13, 2361 - "Text": "Angola", 2362 - "Value": "Angola", 2363 - "Order": 7 2364 - }, 2365 - { 2366 - "Id": 50, 2367 - "QuestionId": 13, 2368 - "Text": "Antigua and Barbuda", 2369 - "Value": "Antigua and Barbuda", 2370 - "Order": 8 2371 - }, 2372 - { 2373 - "Id": 58, 2374 - "QuestionId": 13, 2375 - "Text": "Argentina", 2376 - "Value": "Argentina", 2377 - "Order": 9 2378 - }, 2379 - { 2380 - "Id": 66, 2381 - "QuestionId": 13, 2382 - "Text": "Armenia", 2383 - "Value": "Armenia", 2384 - "Order": 10 2385 - }, 2386 - { 2387 - "Id": 74, 2388 - "QuestionId": 13, 2389 - "Text": "Australia", 2390 - "Value": "Australia", 2391 - "Order": 11 2392 - }, 2393 - { 2394 - "Id": 82, 2395 - "QuestionId": 13, 2396 - "Text": "Austria", 2397 - "Value": "Austria", 2398 - "Order": 12 2399 - }, 2400 - { 2401 - "Id": 90, 2402 - "QuestionId": 13, 2403 - "Text": "Azerbaijan", 2404 - "Value": "Azerbaijan", 2405 - "Order": 13 2406 - }, 2407 - { 2408 - "Id": 98, 2409 - "QuestionId": 13, 2410 - "Text": "Bahamas", 2411 - "Value": "Bahamas", 2412 - "Order": 14 2413 - }, 2414 - { 2415 - "Id": 106, 2416 - "QuestionId": 13, 2417 - "Text": "Bahrain", 2418 - "Value": "Bahrain", 2419 - "Order": 15 2420 - }, 2421 - { 2422 - "Id": 114, 2423 - "QuestionId": 13, 2424 - "Text": "Bangladesh", 2425 - "Value": "Bangladesh", 2426 - "Order": 16 2427 - }, 2428 - { 2429 - "Id": 122, 2430 - "QuestionId": 13, 2431 - "Text": "Barbados", 2432 - "Value": "Barbados", 2433 - "Order": 17 2434 - }, 2435 - { 2436 - "Id": 130, 2437 - "QuestionId": 13, 2438 - "Text": "Belarus", 2439 - "Value": "Belarus", 2440 - "Order": 18 2441 - }, 2442 - { 2443 - "Id": 138, 2444 - "QuestionId": 13, 2445 - "Text": "Belgium", 2446 - "Value": "Belgium", 2447 - "Order": 19 2448 - }, 2449 - { 2450 - "Id": 146, 2451 - "QuestionId": 13, 2452 - "Text": "Belize", 2453 - "Value": "Belize", 2454 - "Order": 20 2455 - }, 2456 - { 2457 - "Id": 154, 2458 - "QuestionId": 13, 2459 - "Text": "Benin", 2460 - "Value": "Benin", 2461 - "Order": 21 2462 - }, 2463 - { 2464 - "Id": 162, 2465 - "QuestionId": 13, 2466 - "Text": "Bhutan", 2467 - "Value": "Bhutan", 2468 - "Order": 22 2469 - }, 2470 - { 2471 - "Id": 170, 2472 - "QuestionId": 13, 2473 - "Text": "Bolivia", 2474 - "Value": "Bolivia", 2475 - "Order": 23 2476 - }, 2477 - { 2478 - "Id": 178, 2479 - "QuestionId": 13, 2480 - "Text": "Bosnia and Herzegovina", 2481 - "Value": "Bosnia and Herzegovina", 2482 - "Order": 24 2483 - }, 2484 - { 2485 - "Id": 186, 2486 - "QuestionId": 13, 2487 - "Text": "Botswana", 2488 - "Value": "Botswana", 2489 - "Order": 25 2490 - }, 2491 - { 2492 - "Id": 194, 2493 - "QuestionId": 13, 2494 - "Text": "Brazil", 2495 - "Value": "Brazil", 2496 - "Order": 26 2497 - }, 2498 - { 2499 - "Id": 202, 2500 - "QuestionId": 13, 2501 - "Text": "Brunei", 2502 - "Value": "Brunei", 2503 - "Order": 27 2504 - }, 2505 - { 2506 - "Id": 210, 2507 - "QuestionId": 13, 2508 - "Text": "Bulgaria", 2509 - "Value": "Bulgaria", 2510 - "Order": 28 2511 - }, 2512 - { 2513 - "Id": 218, 2514 - "QuestionId": 13, 2515 - "Text": "Burkina Faso", 2516 - "Value": "Burkina Faso", 2517 - "Order": 29 2518 - }, 2519 - { 2520 - "Id": 226, 2521 - "QuestionId": 13, 2522 - "Text": "Burundi", 2523 - "Value": "Burundi", 2524 - "Order": 30 2525 - }, 2526 - { 2527 - "Id": 234, 2528 - "QuestionId": 13, 2529 - "Text": "Cambodia", 2530 - "Value": "Cambodia", 2531 - "Order": 31 2532 - }, 2533 - { 2534 - "Id": 242, 2535 - "QuestionId": 13, 2536 - "Text": "Cameroon", 2537 - "Value": "Cameroon", 2538 - "Order": 32 2539 - }, 2540 - { 2541 - "Id": 250, 2542 - "QuestionId": 13, 2543 - "Text": "Canada", 2544 - "Value": "Canada", 2545 - "Order": 33 2546 - }, 2547 - { 2548 - "Id": 258, 2549 - "QuestionId": 13, 2550 - "Text": "Cape Verde", 2551 - "Value": "Cape Verde", 2552 - "Order": 34 2553 - }, 2554 - { 2555 - "Id": 266, 2556 - "QuestionId": 13, 2557 - "Text": "Central African Republic", 2558 - "Value": "Central African Republic", 2559 - "Order": 35 2560 - }, 2561 - { 2562 - "Id": 274, 2563 - "QuestionId": 13, 2564 - "Text": "Chad", 2565 - "Value": "Chad", 2566 - "Order": 36 2567 - }, 2568 - { 2569 - "Id": 282, 2570 - "QuestionId": 13, 2571 - "Text": "Chile", 2572 - "Value": "Chile", 2573 - "Order": 37 2574 - }, 2575 - { 2576 - "Id": 290, 2577 - "QuestionId": 13, 2578 - "Text": "China", 2579 - "Value": "China", 2580 - "Order": 38 2581 - }, 2582 - { 2583 - "Id": 298, 2584 - "QuestionId": 13, 2585 - "Text": "Colombia", 2586 - "Value": "Colombia", 2587 - "Order": 39 2588 - }, 2589 - { 2590 - "Id": 306, 2591 - "QuestionId": 13, 2592 - "Text": "Comoros", 2593 - "Value": "Comoros", 2594 - "Order": 40 2595 - }, 2596 - { 2597 - "Id": 314, 2598 - "QuestionId": 13, 2599 - "Text": "Congo (Brazzaville)", 2600 - "Value": "Congo (Brazzaville)", 2601 - "Order": 41 2602 - }, 2603 - { 2604 - "Id": 322, 2605 - "QuestionId": 13, 2606 - "Text": "Congo", 2607 - "Value": "Congo", 2608 - "Order": 42 2609 - }, 2610 - { 2611 - "Id": 330, 2612 - "QuestionId": 13, 2613 - "Text": "Costa Rica", 2614 - "Value": "Costa Rica", 2615 - "Order": 43 2616 - }, 2617 - { 2618 - "Id": 338, 2619 - "QuestionId": 13, 2620 - "Text": "Cote d'Ivoire", 2621 - "Value": "Cote d'Ivoire", 2622 - "Order": 44 2623 - }, 2624 - { 2625 - "Id": 346, 2626 - "QuestionId": 13, 2627 - "Text": "Croatia", 2628 - "Value": "Croatia", 2629 - "Order": 45 2630 - }, 2631 - { 2632 - "Id": 354, 2633 - "QuestionId": 13, 2634 - "Text": "Cuba", 2635 - "Value": "Cuba", 2636 - "Order": 46 2637 - }, 2638 - { 2639 - "Id": 362, 2640 - "QuestionId": 13, 2641 - "Text": "Cyprus", 2642 - "Value": "Cyprus", 2643 - "Order": 47 2644 - }, 2645 - { 2646 - "Id": 370, 2647 - "QuestionId": 13, 2648 - "Text": "Czech Republic", 2649 - "Value": "Czech Republic", 2650 - "Order": 48 2651 - }, 2652 - { 2653 - "Id": 378, 2654 - "QuestionId": 13, 2655 - "Text": "Denmark", 2656 - "Value": "Denmark", 2657 - "Order": 49 2658 - }, 2659 - { 2660 - "Id": 386, 2661 - "QuestionId": 13, 2662 - "Text": "Djibouti", 2663 - "Value": "Djibouti", 2664 - "Order": 50 2665 - }, 2666 - { 2667 - "Id": 394, 2668 - "QuestionId": 13, 2669 - "Text": "Dominica", 2670 - "Value": "Dominica", 2671 - "Order": 51 2672 - }, 2673 - { 2674 - "Id": 402, 2675 - "QuestionId": 13, 2676 - "Text": "Dominican Republic", 2677 - "Value": "Dominican Republic", 2678 - "Order": 52 2679 - }, 2680 - { 2681 - "Id": 410, 2682 - "QuestionId": 13, 2683 - "Text": "East Timor", 2684 - "Value": "East Timor", 2685 - "Order": 53 2686 - }, 2687 - { 2688 - "Id": 418, 2689 - "QuestionId": 13, 2690 - "Text": "Ecuador", 2691 - "Value": "Ecuador", 2692 - "Order": 54 2693 - }, 2694 - { 2695 - "Id": 426, 2696 - "QuestionId": 13, 2697 - "Text": "Egypt", 2698 - "Value": "Egypt", 2699 - "Order": 55 2700 - }, 2701 - { 2702 - "Id": 434, 2703 - "QuestionId": 13, 2704 - "Text": "El Salvador", 2705 - "Value": "El Salvador", 2706 - "Order": 56 2707 - }, 2708 - { 2709 - "Id": 442, 2710 - "QuestionId": 13, 2711 - "Text": "Equatorial Guinea", 2712 - "Value": "Equatorial Guinea", 2713 - "Order": 57 2714 - }, 2715 - { 2716 - "Id": 450, 2717 - "QuestionId": 13, 2718 - "Text": "Eritrea", 2719 - "Value": "Eritrea", 2720 - "Order": 58 2721 - }, 2722 - { 2723 - "Id": 458, 2724 - "QuestionId": 13, 2725 - "Text": "Estonia", 2726 - "Value": "Estonia", 2727 - "Order": 59 2728 - }, 2729 - { 2730 - "Id": 466, 2731 - "QuestionId": 13, 2732 - "Text": "Ethiopia", 2733 - "Value": "Ethiopia", 2734 - "Order": 60 2735 - }, 2736 - { 2737 - "Id": 474, 2738 - "QuestionId": 13, 2739 - "Text": "Fiji", 2740 - "Value": "Fiji", 2741 - "Order": 61 2742 - }, 2743 - { 2744 - "Id": 482, 2745 - "QuestionId": 13, 2746 - "Text": "Finland", 2747 - "Value": "Finland", 2748 - "Order": 62 2749 - }, 2750 - { 2751 - "Id": 490, 2752 - "QuestionId": 13, 2753 - "Text": "France", 2754 - "Value": "France", 2755 - "Order": 63 2756 - }, 2757 - { 2758 - "Id": 498, 2759 - "QuestionId": 13, 2760 - "Text": "Gabon", 2761 - "Value": "Gabon", 2762 - "Order": 64 2763 - }, 2764 - { 2765 - "Id": 506, 2766 - "QuestionId": 13, 2767 - "Text": "Gambia, The", 2768 - "Value": "Gambia, The", 2769 - "Order": 65 2770 - }, 2771 - { 2772 - "Id": 514, 2773 - "QuestionId": 13, 2774 - "Text": "Georgia", 2775 - "Value": "Georgia", 2776 - "Order": 66 2777 - }, 2778 - { 2779 - "Id": 522, 2780 - "QuestionId": 13, 2781 - "Text": "Germany", 2782 - "Value": "Germany", 2783 - "Order": 67 2784 - }, 2785 - { 2786 - "Id": 530, 2787 - "QuestionId": 13, 2788 - "Text": "Ghana", 2789 - "Value": "Ghana", 2790 - "Order": 68 2791 - }, 2792 - { 2793 - "Id": 538, 2794 - "QuestionId": 13, 2795 - "Text": "Greece", 2796 - "Value": "Greece", 2797 - "Order": 69 2798 - }, 2799 - { 2800 - "Id": 546, 2801 - "QuestionId": 13, 2802 - "Text": "Grenada", 2803 - "Value": "Grenada", 2804 - "Order": 70 2805 - }, 2806 - { 2807 - "Id": 554, 2808 - "QuestionId": 13, 2809 - "Text": "Guatemala", 2810 - "Value": "Guatemala", 2811 - "Order": 71 2812 - }, 2813 - { 2814 - "Id": 562, 2815 - "QuestionId": 13, 2816 - "Text": "Guinea", 2817 - "Value": "Guinea", 2818 - "Order": 72 2819 - }, 2820 - { 2821 - "Id": 570, 2822 - "QuestionId": 13, 2823 - "Text": "Guinea-Bissau", 2824 - "Value": "Guinea-Bissau", 2825 - "Order": 73 2826 - }, 2827 - { 2828 - "Id": 578, 2829 - "QuestionId": 13, 2830 - "Text": "Guyana", 2831 - "Value": "Guyana", 2832 - "Order": 74 2833 - }, 2834 - { 2835 - "Id": 586, 2836 - "QuestionId": 13, 2837 - "Text": "Haiti", 2838 - "Value": "Haiti", 2839 - "Order": 75 2840 - }, 2841 - { 2842 - "Id": 594, 2843 - "QuestionId": 13, 2844 - "Text": "Honduras", 2845 - "Value": "Honduras", 2846 - "Order": 76 2847 - }, 2848 - { 2849 - "Id": 602, 2850 - "QuestionId": 13, 2851 - "Text": "Hungary", 2852 - "Value": "Hungary", 2853 - "Order": 77 2854 - }, 2855 - { 2856 - "Id": 610, 2857 - "QuestionId": 13, 2858 - "Text": "Iceland", 2859 - "Value": "Iceland", 2860 - "Order": 78 2861 - }, 2862 - { 2863 - "Id": 618, 2864 - "QuestionId": 13, 2865 - "Text": "India", 2866 - "Value": "India", 2867 - "Order": 79 2868 - }, 2869 - { 2870 - "Id": 626, 2871 - "QuestionId": 13, 2872 - "Text": "Indonesia", 2873 - "Value": "Indonesia", 2874 - "Order": 80 2875 - }, 2876 - { 2877 - "Id": 634, 2878 - "QuestionId": 13, 2879 - "Text": "Iran", 2880 - "Value": "Iran", 2881 - "Order": 81 2882 - }, 2883 - { 2884 - "Id": 642, 2885 - "QuestionId": 13, 2886 - "Text": "Iraq", 2887 - "Value": "Iraq", 2888 - "Order": 82 2889 - }, 2890 - { 2891 - "Id": 650, 2892 - "QuestionId": 13, 2893 - "Text": "Ireland", 2894 - "Value": "Ireland", 2895 - "Order": 83 2896 - }, 2897 - { 2898 - "Id": 658, 2899 - "QuestionId": 13, 2900 - "Text": "Israel", 2901 - "Value": "Israel", 2902 - "Order": 84 2903 - }, 2904 - { 2905 - "Id": 666, 2906 - "QuestionId": 13, 2907 - "Text": "Italy", 2908 - "Value": "Italy", 2909 - "Order": 85 2910 - }, 2911 - { 2912 - "Id": 674, 2913 - "QuestionId": 13, 2914 - "Text": "Jamaica", 2915 - "Value": "Jamaica", 2916 - "Order": 86 2917 - }, 2918 - { 2919 - "Id": 682, 2920 - "QuestionId": 13, 2921 - "Text": "Japan", 2922 - "Value": "Japan", 2923 - "Order": 87 2924 - }, 2925 - { 2926 - "Id": 690, 2927 - "QuestionId": 13, 2928 - "Text": "Jordan", 2929 - "Value": "Jordan", 2930 - "Order": 88 2931 - }, 2932 - { 2933 - "Id": 698, 2934 - "QuestionId": 13, 2935 - "Text": "Kazakhstan", 2936 - "Value": "Kazakhstan", 2937 - "Order": 89 2938 - }, 2939 - { 2940 - "Id": 706, 2941 - "QuestionId": 13, 2942 - "Text": "Kenya", 2943 - "Value": "Kenya", 2944 - "Order": 90 2945 - }, 2946 - { 2947 - "Id": 714, 2948 - "QuestionId": 13, 2949 - "Text": "Kiribati", 2950 - "Value": "Kiribati", 2951 - "Order": 91 2952 - }, 2953 - { 2954 - "Id": 722, 2955 - "QuestionId": 13, 2956 - "Text": "Korea, North", 2957 - "Value": "Korea, North", 2958 - "Order": 92 2959 - }, 2960 - { 2961 - "Id": 730, 2962 - "QuestionId": 13, 2963 - "Text": "Korea, South", 2964 - "Value": "Korea, South", 2965 - "Order": 93 2966 - }, 2967 - { 2968 - "Id": 738, 2969 - "QuestionId": 13, 2970 - "Text": "Kuwait", 2971 - "Value": "Kuwait", 2972 - "Order": 94 2973 - }, 2974 - { 2975 - "Id": 746, 2976 - "QuestionId": 13, 2977 - "Text": "Kyrgyzstan", 2978 - "Value": "Kyrgyzstan", 2979 - "Order": 95 2980 - }, 2981 - { 2982 - "Id": 754, 2983 - "QuestionId": 13, 2984 - "Text": "Laos", 2985 - "Value": "Laos", 2986 - "Order": 96 2987 - }, 2988 - { 2989 - "Id": 762, 2990 - "QuestionId": 13, 2991 - "Text": "Latvia", 2992 - "Value": "Latvia", 2993 - "Order": 97 2994 - }, 2995 - { 2996 - "Id": 770, 2997 - "QuestionId": 13, 2998 - "Text": "Lebanon", 2999 - "Value": "Lebanon", 3000 - "Order": 98 3001 - }, 3002 - { 3003 - "Id": 778, 3004 - "QuestionId": 13, 3005 - "Text": "Lesotho", 3006 - "Value": "Lesotho", 3007 - "Order": 99 3008 - }, 3009 - { 3010 - "Id": 786, 3011 - "QuestionId": 13, 3012 - "Text": "Liberia", 3013 - "Value": "Liberia", 3014 - "Order": 100 3015 - }, 3016 - { 3017 - "Id": 794, 3018 - "QuestionId": 13, 3019 - "Text": "Libya", 3020 - "Value": "Libya", 3021 - "Order": 101 3022 - }, 3023 - { 3024 - "Id": 802, 3025 - "QuestionId": 13, 3026 - "Text": "Liechtenstein", 3027 - "Value": "Liechtenstein", 3028 - "Order": 102 3029 - }, 3030 - { 3031 - "Id": 810, 3032 - "QuestionId": 13, 3033 - "Text": "Lithuania", 3034 - "Value": "Lithuania", 3035 - "Order": 103 3036 - }, 3037 - { 3038 - "Id": 818, 3039 - "QuestionId": 13, 3040 - "Text": "Luxembourg", 3041 - "Value": "Luxembourg", 3042 - "Order": 104 3043 - }, 3044 - { 3045 - "Id": 826, 3046 - "QuestionId": 13, 3047 - "Text": "Macedonia", 3048 - "Value": "Macedonia", 3049 - "Order": 105 3050 - }, 3051 - { 3052 - "Id": 834, 3053 - "QuestionId": 13, 3054 - "Text": "Madagascar", 3055 - "Value": "Madagascar", 3056 - "Order": 106 3057 - }, 3058 - { 3059 - "Id": 842, 3060 - "QuestionId": 13, 3061 - "Text": "Malawi", 3062 - "Value": "Malawi", 3063 - "Order": 107 3064 - }, 3065 - { 3066 - "Id": 850, 3067 - "QuestionId": 13, 3068 - "Text": "Malaysia", 3069 - "Value": "Malaysia", 3070 - "Order": 108 3071 - }, 3072 - { 3073 - "Id": 858, 3074 - "QuestionId": 13, 3075 - "Text": "Maldives", 3076 - "Value": "Maldives", 3077 - "Order": 109 3078 - }, 3079 - { 3080 - "Id": 866, 3081 - "QuestionId": 13, 3082 - "Text": "Mali", 3083 - "Value": "Mali", 3084 - "Order": 110 3085 - }, 3086 - { 3087 - "Id": 874, 3088 - "QuestionId": 13, 3089 - "Text": "Malta", 3090 - "Value": "Malta", 3091 - "Order": 111 3092 - }, 3093 - { 3094 - "Id": 882, 3095 - "QuestionId": 13, 3096 - "Text": "Marshall Islands", 3097 - "Value": "Marshall Islands", 3098 - "Order": 112 3099 - }, 3100 - { 3101 - "Id": 890, 3102 - "QuestionId": 13, 3103 - "Text": "Mauritania", 3104 - "Value": "Mauritania", 3105 - "Order": 113 3106 - }, 3107 - { 3108 - "Id": 898, 3109 - "QuestionId": 13, 3110 - "Text": "Mauritius", 3111 - "Value": "Mauritius", 3112 - "Order": 114 3113 - }, 3114 - { 3115 - "Id": 906, 3116 - "QuestionId": 13, 3117 - "Text": "Mexico", 3118 - "Value": "Mexico", 3119 - "Order": 115 3120 - }, 3121 - { 3122 - "Id": 914, 3123 - "QuestionId": 13, 3124 - "Text": "Micronesia", 3125 - "Value": "Micronesia", 3126 - "Order": 116 3127 - }, 3128 - { 3129 - "Id": 922, 3130 - "QuestionId": 13, 3131 - "Text": "Moldova", 3132 - "Value": "Moldova", 3133 - "Order": 117 3134 - }, 3135 - { 3136 - "Id": 930, 3137 - "QuestionId": 13, 3138 - "Text": "Monaco", 3139 - "Value": "Monaco", 3140 - "Order": 118 3141 - }, 3142 - { 3143 - "Id": 938, 3144 - "QuestionId": 13, 3145 - "Text": "Mongolia", 3146 - "Value": "Mongolia", 3147 - "Order": 119 3148 - }, 3149 - { 3150 - "Id": 946, 3151 - "QuestionId": 13, 3152 - "Text": "Morocco", 3153 - "Value": "Morocco", 3154 - "Order": 120 3155 - }, 3156 - { 3157 - "Id": 954, 3158 - "QuestionId": 13, 3159 - "Text": "Mozambique", 3160 - "Value": "Mozambique", 3161 - "Order": 121 3162 - }, 3163 - { 3164 - "Id": 962, 3165 - "QuestionId": 13, 3166 - "Text": "Myanmar", 3167 - "Value": "Myanmar", 3168 - "Order": 122 3169 - }, 3170 - { 3171 - "Id": 970, 3172 - "QuestionId": 13, 3173 - "Text": "Namibia", 3174 - "Value": "Namibia", 3175 - "Order": 123 3176 - }, 3177 - { 3178 - "Id": 978, 3179 - "QuestionId": 13, 3180 - "Text": "Nauru", 3181 - "Value": "Nauru", 3182 - "Order": 124 3183 - }, 3184 - { 3185 - "Id": 986, 3186 - "QuestionId": 13, 3187 - "Text": "Nepa", 3188 - "Value": "Nepa", 3189 - "Order": 125 3190 - }, 3191 - { 3192 - "Id": 994, 3193 - "QuestionId": 13, 3194 - "Text": "Netherlands", 3195 - "Value": "Netherlands", 3196 - "Order": 126 3197 - }, 3198 - { 3199 - "Id": 1002, 3200 - "QuestionId": 13, 3201 - "Text": "New Zealand", 3202 - "Value": "New Zealand", 3203 - "Order": 127 3204 - }, 3205 - { 3206 - "Id": 1010, 3207 - "QuestionId": 13, 3208 - "Text": "Nicaragua", 3209 - "Value": "Nicaragua", 3210 - "Order": 128 3211 - }, 3212 - { 3213 - "Id": 1018, 3214 - "QuestionId": 13, 3215 - "Text": "Niger", 3216 - "Value": "Niger", 3217 - "Order": 129 3218 - }, 3219 - { 3220 - "Id": 1026, 3221 - "QuestionId": 13, 3222 - "Text": "Nigeria", 3223 - "Value": "Nigeria", 3224 - "Order": 130 3225 - }, 3226 - { 3227 - "Id": 1034, 3228 - "QuestionId": 13, 3229 - "Text": "Norway", 3230 - "Value": "Norway", 3231 - "Order": 131 3232 - }, 3233 - { 3234 - "Id": 1042, 3235 - "QuestionId": 13, 3236 - "Text": "Oman", 3237 - "Value": "Oman", 3238 - "Order": 132 3239 - }, 3240 - { 3241 - "Id": 1050, 3242 - "QuestionId": 13, 3243 - "Text": "Pakistan", 3244 - "Value": "Pakistan", 3245 - "Order": 133 3246 - }, 3247 - { 3248 - "Id": 1058, 3249 - "QuestionId": 13, 3250 - "Text": "Palau", 3251 - "Value": "Palau", 3252 - "Order": 134 3253 - }, 3254 - { 3255 - "Id": 1066, 3256 - "QuestionId": 13, 3257 - "Text": "Panama", 3258 - "Value": "Panama", 3259 - "Order": 135 3260 - }, 3261 - { 3262 - "Id": 1074, 3263 - "QuestionId": 13, 3264 - "Text": "Papua New Guinea", 3265 - "Value": "Papua New Guinea", 3266 - "Order": 136 3267 - }, 3268 - { 3269 - "Id": 1082, 3270 - "QuestionId": 13, 3271 - "Text": "Paraguay", 3272 - "Value": "Paraguay", 3273 - "Order": 137 3274 - }, 3275 - { 3276 - "Id": 1090, 3277 - "QuestionId": 13, 3278 - "Text": "Peru", 3279 - "Value": "Peru", 3280 - "Order": 138 3281 - }, 3282 - { 3283 - "Id": 1098, 3284 - "QuestionId": 13, 3285 - "Text": "Philippines", 3286 - "Value": "Philippines", 3287 - "Order": 139 3288 - }, 3289 - { 3290 - "Id": 1106, 3291 - "QuestionId": 13, 3292 - "Text": "Poland", 3293 - "Value": "Poland", 3294 - "Order": 140 3295 - }, 3296 - { 3297 - "Id": 1114, 3298 - "QuestionId": 13, 3299 - "Text": "Portugal", 3300 - "Value": "Portugal", 3301 - "Order": 141 3302 - }, 3303 - { 3304 - "Id": 1122, 3305 - "QuestionId": 13, 3306 - "Text": "Qatar", 3307 - "Value": "Qatar", 3308 - "Order": 142 3309 - }, 3310 - { 3311 - "Id": 1130, 3312 - "QuestionId": 13, 3313 - "Text": "Romania", 3314 - "Value": "Romania", 3315 - "Order": 143 3316 - }, 3317 - { 3318 - "Id": 1138, 3319 - "QuestionId": 13, 3320 - "Text": "Russia", 3321 - "Value": "Russia", 3322 - "Order": 144 3323 - }, 3324 - { 3325 - "Id": 1146, 3326 - "QuestionId": 13, 3327 - "Text": "Rwanda", 3328 - "Value": "Rwanda", 3329 - "Order": 145 3330 - }, 3331 - { 3332 - "Id": 1154, 3333 - "QuestionId": 13, 3334 - "Text": "Saint Kitts and Nevis", 3335 - "Value": "Saint Kitts and Nevis", 3336 - "Order": 146 3337 - }, 3338 - { 3339 - "Id": 1162, 3340 - "QuestionId": 13, 3341 - "Text": "Saint Lucia", 3342 - "Value": "Saint Lucia", 3343 - "Order": 147 3344 - }, 3345 - { 3346 - "Id": 1170, 3347 - "QuestionId": 13, 3348 - "Text": "Saint Vincent", 3349 - "Value": "Saint Vincent", 3350 - "Order": 148 3351 - }, 3352 - { 3353 - "Id": 1178, 3354 - "QuestionId": 13, 3355 - "Text": "Samoa", 3356 - "Value": "Samoa", 3357 - "Order": 149 3358 - }, 3359 - { 3360 - "Id": 1186, 3361 - "QuestionId": 13, 3362 - "Text": "San Marino", 3363 - "Value": "San Marino", 3364 - "Order": 150 3365 - }, 3366 - { 3367 - "Id": 1194, 3368 - "QuestionId": 13, 3369 - "Text": "Sao Tome and Principe", 3370 - "Value": "Sao Tome and Principe", 3371 - "Order": 151 3372 - }, 3373 - { 3374 - "Id": 1202, 3375 - "QuestionId": 13, 3376 - "Text": "Saudi Arabia", 3377 - "Value": "Saudi Arabia", 3378 - "Order": 152 3379 - }, 3380 - { 3381 - "Id": 1210, 3382 - "QuestionId": 13, 3383 - "Text": "Senegal", 3384 - "Value": "Senegal", 3385 - "Order": 153 3386 - }, 3387 - { 3388 - "Id": 1218, 3389 - "QuestionId": 13, 3390 - "Text": "Serbia and Montenegro", 3391 - "Value": "Serbia and Montenegro", 3392 - "Order": 154 3393 - }, 3394 - { 3395 - "Id": 1226, 3396 - "QuestionId": 13, 3397 - "Text": "Seychelles", 3398 - "Value": "Seychelles", 3399 - "Order": 155 3400 - }, 3401 - { 3402 - "Id": 1234, 3403 - "QuestionId": 13, 3404 - "Text": "Sierra Leone", 3405 - "Value": "Sierra Leone", 3406 - "Order": 156 3407 - }, 3408 - { 3409 - "Id": 1242, 3410 - "QuestionId": 13, 3411 - "Text": "Singapore", 3412 - "Value": "Singapore", 3413 - "Order": 157 3414 - }, 3415 - { 3416 - "Id": 1250, 3417 - "QuestionId": 13, 3418 - "Text": "Slovakia", 3419 - "Value": "Slovakia", 3420 - "Order": 158 3421 - }, 3422 - { 3423 - "Id": 1258, 3424 - "QuestionId": 13, 3425 - "Text": "Slovenia", 3426 - "Value": "Slovenia", 3427 - "Order": 159 3428 - }, 3429 - { 3430 - "Id": 1266, 3431 - "QuestionId": 13, 3432 - "Text": "Solomon Islands", 3433 - "Value": "Solomon Islands", 3434 - "Order": 160 3435 - }, 3436 - { 3437 - "Id": 1274, 3438 - "QuestionId": 13, 3439 - "Text": "Somalia", 3440 - "Value": "Somalia", 3441 - "Order": 161 3442 - }, 3443 - { 3444 - "Id": 1282, 3445 - "QuestionId": 13, 3446 - "Text": "South Africa", 3447 - "Value": "South Africa", 3448 - "Order": 162 3449 - }, 3450 - { 3451 - "Id": 1290, 3452 - "QuestionId": 13, 3453 - "Text": "Spain", 3454 - "Value": "Spain", 3455 - "Order": 163 3456 - }, 3457 - { 3458 - "Id": 1298, 3459 - "QuestionId": 13, 3460 - "Text": "Sri Lanka", 3461 - "Value": "Sri Lanka", 3462 - "Order": 164 3463 - }, 3464 - { 3465 - "Id": 1306, 3466 - "QuestionId": 13, 3467 - "Text": "Sudan", 3468 - "Value": "Sudan", 3469 - "Order": 165 3470 - }, 3471 - { 3472 - "Id": 1314, 3473 - "QuestionId": 13, 3474 - "Text": "Suriname", 3475 - "Value": "Suriname", 3476 - "Order": 166 3477 - }, 3478 - { 3479 - "Id": 1322, 3480 - "QuestionId": 13, 3481 - "Text": "Swaziland", 3482 - "Value": "Swaziland", 3483 - "Order": 167 3484 - }, 3485 - { 3486 - "Id": 1330, 3487 - "QuestionId": 13, 3488 - "Text": "Sweden", 3489 - "Value": "Sweden", 3490 - "Order": 168 3491 - }, 3492 - { 3493 - "Id": 1338, 3494 - "QuestionId": 13, 3495 - "Text": "Switzerland", 3496 - "Value": "Switzerland", 3497 - "Order": 169 3498 - }, 3499 - { 3500 - "Id": 1346, 3501 - "QuestionId": 13, 3502 - "Text": "Syria", 3503 - "Value": "Syria", 3504 - "Order": 170 3505 - }, 3506 - { 3507 - "Id": 1354, 3508 - "QuestionId": 13, 3509 - "Text": "Taiwan", 3510 - "Value": "Taiwan", 3511 - "Order": 171 3512 - }, 3513 - { 3514 - "Id": 1362, 3515 - "QuestionId": 13, 3516 - "Text": "Tajikistan", 3517 - "Value": "Tajikistan", 3518 - "Order": 172 3519 - }, 3520 - { 3521 - "Id": 1370, 3522 - "QuestionId": 13, 3523 - "Text": "Tanzania", 3524 - "Value": "Tanzania", 3525 - "Order": 173 3526 - }, 3527 - { 3528 - "Id": 1378, 3529 - "QuestionId": 13, 3530 - "Text": "Thailand", 3531 - "Value": "Thailand", 3532 - "Order": 174 3533 - }, 3534 - { 3535 - "Id": 1386, 3536 - "QuestionId": 13, 3537 - "Text": "Togo", 3538 - "Value": "Togo", 3539 - "Order": 175 3540 - }, 3541 - { 3542 - "Id": 1394, 3543 - "QuestionId": 13, 3544 - "Text": "Tonga", 3545 - "Value": "Tonga", 3546 - "Order": 176 3547 - }, 3548 - { 3549 - "Id": 1402, 3550 - "QuestionId": 13, 3551 - "Text": "Trinidad and Tobago", 3552 - "Value": "Trinidad and Tobago", 3553 - "Order": 177 3554 - }, 3555 - { 3556 - "Id": 1410, 3557 - "QuestionId": 13, 3558 - "Text": "Tunisia", 3559 - "Value": "Tunisia", 3560 - "Order": 178 3561 - }, 3562 - { 3563 - "Id": 1418, 3564 - "QuestionId": 13, 3565 - "Text": "Turkey", 3566 - "Value": "Turkey", 3567 - "Order": 179 3568 - }, 3569 - { 3570 - "Id": 1426, 3571 - "QuestionId": 13, 3572 - "Text": "Turkmenistan", 3573 - "Value": "Turkmenistan", 3574 - "Order": 180 3575 - }, 3576 - { 3577 - "Id": 1434, 3578 - "QuestionId": 13, 3579 - "Text": "Tuvalu", 3580 - "Value": "Tuvalu", 3581 - "Order": 181 3582 - }, 3583 - { 3584 - "Id": 1442, 3585 - "QuestionId": 13, 3586 - "Text": "Uganda", 3587 - "Value": "Uganda", 3588 - "Order": 182 3589 - }, 3590 - { 3591 - "Id": 1450, 3592 - "QuestionId": 13, 3593 - "Text": "Ukraine", 3594 - "Value": "Ukraine", 3595 - "Order": 183 3596 - }, 3597 - { 3598 - "Id": 1458, 3599 - "QuestionId": 13, 3600 - "Text": "United Arab Emirates", 3601 - "Value": "United Arab Emirates", 3602 - "Order": 184 3603 - }, 3604 - { 3605 - "Id": 1466, 3606 - "QuestionId": 13, 3607 - "Text": "United Kingdom", 3608 - "Value": "United Kingdom", 3609 - "Order": 185 3610 - }, 3611 - { 3612 - "Id": 1474, 3613 - "QuestionId": 13, 3614 - "Text": "United States", 3615 - "Value": "United States", 3616 - "Order": 2 3617 - }, 3618 - { 3619 - "Id": 1482, 3620 - "QuestionId": 13, 3621 - "Text": "Uruguay", 3622 - "Value": "Uruguay", 3623 - "Order": 186 3624 - }, 3625 - { 3626 - "Id": 1490, 3627 - "QuestionId": 13, 3628 - "Text": "Uzbekistan", 3629 - "Value": "Uzbekistan", 3630 - "Order": 187 3631 - }, 3632 - { 3633 - "Id": 1498, 3634 - "QuestionId": 13, 3635 - "Text": "Vanuatu", 3636 - "Value": "Vanuatu", 3637 - "Order": 188 3638 - }, 3639 - { 3640 - "Id": 1506, 3641 - "QuestionId": 13, 3642 - "Text": "Vatican City", 3643 - "Value": "Vatican City", 3644 - "Order": 189 3645 - }, 3646 - { 3647 - "Id": 1514, 3648 - "QuestionId": 13, 3649 - "Text": "Venezuela", 3650 - "Value": "Venezuela", 3651 - "Order": 190 3652 - }, 3653 - { 3654 - "Id": 1522, 3655 - "QuestionId": 13, 3656 - "Text": "Vietnam", 3657 - "Value": "Vietnam", 3658 - "Order": 191 3659 - }, 3660 - { 3661 - "Id": 1530, 3662 - "QuestionId": 13, 3663 - "Text": "Yemen", 3664 - "Value": "Yemen", 3665 - "Order": 192 3666 - }, 3667 - { 3668 - "Id": 1538, 3669 - "QuestionId": 13, 3670 - "Text": "Zambia", 3671 - "Value": "Zambia", 3672 - "Order": 193 3673 - }, 3674 - { 3675 - "Id": 1546, 3676 - "QuestionId": 13, 3677 - "Text": "Zimbabwe", 3678 - "Value": "Zimbabwe", 3679 - "Order": 194 3680 - }, 3681 - { 3682 - "Id": 2186, 3683 - "QuestionId": 13, 3684 - "Text": "British Columbia", 3685 - "Value": "British Columbia", 3686 - "Order": 195 3687 - } 3688 - ] 3689 - }, 3690 - { 3691 - "Id": 14, 3692 - "Text": "Phone", 3693 - "Type": "0", 3694 - "Alias": "Phone" 3695 - }, 3696 - { 3697 - "Id": 15, 3698 - "Text": "Fax", 3699 - "Type": "0", 3700 - "Alias": "Fax" 3701 - }, 3702 - { 3703 - "Id": 18, 3704 - "Text": " NEW QUESTION", 3705 - "Type": "0", 3706 - "Alias": "" 3707 - }, 3708 - { 3709 - "Id": 26, 3710 - "Text": " NEW QUESTION", 3711 - "Type": "0", 3712 - "Alias": "" 3713 - }, 3714 - { 3715 - "Id": 34, 3716 - "Text": " NEW QUESTION", 3717 - "Type": "0", 3718 - "Alias": "" 3719 - }, 3720 - { 3721 - "Id": 42, 3722 - "Text": " NEW QUESTION", 3723 - "Type": "0", 3724 - "Alias": "" 3725 - }, 3726 - { 3727 - "Id": 50, 3728 - "Text": " NEW QUESTION", 3729 - "Type": "0", 3730 - "Alias": "" 3731 - }, 3732 - { 3733 - "Id": 58, 3734 - "Text": " NEW QUESTION", 3735 - "Type": "0", 3736 - "Alias": "" 3737 - }, 3738 - { 3739 - "Id": 66, 3740 - "Text": " NEW QUESTION", 3741 - "Type": "0", 3742 - "Alias": "" 3743 - }, 3744 - { 3745 - "Id": 74, 3746 - "Text": " NEW QUESTION", 3747 - "Type": "0", 3748 - "Alias": "" 3749 - }, 3750 - { 3751 - "Id": 82, 3752 - "Text": " NEW QUESTION", 3753 - "Type": "0", 3754 - "Alias": "" 3755 - }, 3756 - { 3757 - "Id": 90, 3758 - "Text": " NEW QUESTION", 3759 - "Type": "0", 3760 - "Alias": "" 3761 - } 3762 - ] 3763 -} 3764 -{{/code}} 3765 3765 2033 +(% class="western" %) 2034 +"result": { 3766 3766 3767 -(% id="HGETspecificQuestion" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)3768 - == (% class="imuBmisc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtYsc-fzomuh"style="color:#212121"%)specific Question(%%) ==2036 +(% class="western" %) 2037 +"success": "1", 3769 3769 3770 ----- 2039 +(% class="western" %) 2040 +"error": { 3771 3771 3772 -{{panel bgColor="#D3D3D3" width="100%"}} 3773 - (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/questions/~{~{QUESTION ID}} 3774 -{{/panel}} 2042 +(% class="western" %) 2043 +"code": "0", 3775 3775 3776 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 2045 +(% class="western" %) 2046 +"message": "" 3777 3777 3778 ----- 3779 - 3780 -(% 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}} 3781 - 3782 -==== Example ==== 3783 - 3784 ----- 3785 - 3786 -(% style="color:#6b6b6b" %)Request 3787 - 3788 -{{code language="php" theme="RDark" title="Get specific Question Request"}} 3789 -<?php 3790 - 3791 -$curl = curl_init(); 3792 - 3793 -curl_setopt_array($curl, array( 3794 - CURLOPT_URL => 'https://api.onecount.net/v2/questions/{{QUESTION ID}}', 3795 - CURLOPT_RETURNTRANSFER => true, 3796 - CURLOPT_ENCODING => '', 3797 - CURLOPT_MAXREDIRS => 10, 3798 - CURLOPT_TIMEOUT => 0, 3799 - CURLOPT_FOLLOWLOCATION => true, 3800 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 3801 - CURLOPT_CUSTOMREQUEST => 'GET', 3802 - CURLOPT_HTTPHEADER => array( 3803 - 'Appkey: {{ONECOUNT API KEY}}' 3804 - ), 3805 -)); 3806 - 3807 -$response = curl_exec($curl); 3808 - 3809 -curl_close($curl); 3810 -echo $response; 3811 -{{/code}} 3812 - 3813 - 3814 -(% style="color:#6b6b6b" %)Response 200 OK 3815 - 3816 -{{code language="yml" theme="RDark" collapse="true" title="Get specific question Response"}} 3817 -{ 3818 - "result": { 3819 - "success": "1", 3820 - "error": { 3821 - "code": "", 3822 - "message": "" 3823 - } 3824 - }, 3825 - "Questions": [ 3826 - { 3827 - "Id": 3, 3828 - "Text": "Password", 3829 - "Type": "2", 3830 - "Alias": "Password" 3831 - } 3832 - ] 2048 +(% class="western" %) 3833 3833 } 3834 -{{/code}} 3835 3835 2051 +(% class="western" %) 2052 +}, 3836 3836 3837 -(% id="HGETlookupquestionbytext" style="margin-left: 0.0px;"class="sc-fznLPX cxTVKx" %)3838 - == (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh"style="color:#212121"%)lookup question by text(%%) ==2054 +(% class="western" %) 2055 +"Questions": [ 3839 3839 3840 ----- 3841 - 3842 -{{panel bgColor="#D3D3D3" width="100%"}} 3843 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/questions/lookup?Text=COUNTRY 3844 -{{/panel}} 3845 - 3846 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 3847 - 3848 ----- 3849 - 3850 -(% 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}} 3851 - 3852 -=== (% style="color:#212121" %)Query Params(%%) === 3853 - 3854 ----- 3855 - 3856 -(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Text COUNTRY(%%) 3857 - 3858 - 3859 -==== Example ==== 3860 - 3861 ----- 3862 - 3863 -(% style="color:#6b6b6b" %)Request 3864 - 3865 -{{code language="php" theme="RDark" title="Lookup question by text Request"}} 3866 -<?php 3867 - 3868 -$curl = curl_init(); 3869 - 3870 -curl_setopt_array($curl, array( 3871 - CURLOPT_URL => 'https://api.onecount.net/v2/questions/lookup?Text=COUNTRY', 3872 - CURLOPT_RETURNTRANSFER => true, 3873 - CURLOPT_ENCODING => '', 3874 - CURLOPT_MAXREDIRS => 10, 3875 - CURLOPT_TIMEOUT => 0, 3876 - CURLOPT_FOLLOWLOCATION => true, 3877 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 3878 - CURLOPT_CUSTOMREQUEST => 'GET', 3879 - CURLOPT_HTTPHEADER => array( 3880 - 'Appkey: {{ONECOUNT API KEY}}' 3881 - ), 3882 -)); 3883 - 3884 -$response = curl_exec($curl); 3885 - 3886 -curl_close($curl); 3887 -echo $response; 3888 -{{/code}} 3889 - 3890 - 3891 -(% style="color:#6b6b6b" %)Response 200 OK 3892 - 3893 -{{code language="yml" theme="RDark" collapse="true" title="Lookup question by title Response"}} 2057 +(% class="western" %) 3894 3894 { 3895 - "result": { 3896 - "success": "1", 3897 - "error": { 3898 - "code": "", 3899 - "message": "" 3900 - } 3901 - }, 3902 - "Questions": [ 3903 - { 3904 - "Id": 13, 3905 - "Text": "Country", 3906 - "Type": "4", 3907 - "Alias": "Country", 3908 - "Choices": [ 3909 - { 3910 - "Id": 2, 3911 - "QuestionId": 13, 3912 - "Text": "Select One", 3913 - "Value": "", 3914 - "Order": 1 3915 - }, 3916 - { 3917 - "Id": 10, 3918 - "QuestionId": 13, 3919 - "Text": "Afghanistan", 3920 - "Value": "Afghanistan", 3921 - "Order": 3 3922 - }, 3923 - { 3924 - "Id": 18, 3925 - "QuestionId": 13, 3926 - "Text": "Albania", 3927 - "Value": "Albania", 3928 - "Order": 4 3929 - }, 3930 - { 3931 - "Id": 26, 3932 - "QuestionId": 13, 3933 - "Text": "Algeria", 3934 - "Value": "Algeria", 3935 - "Order": 5 3936 - }, 3937 - { 3938 - "Id": 34, 3939 - "QuestionId": 13, 3940 - "Text": "Andorra", 3941 - "Value": "Andorra", 3942 - "Order": 6 3943 - }, 3944 - { 3945 - "Id": 42, 3946 - "QuestionId": 13, 3947 - "Text": "Angola", 3948 - "Value": "Angola", 3949 - "Order": 7 3950 - }, 3951 - { 3952 - "Id": 50, 3953 - "QuestionId": 13, 3954 - "Text": "Antigua and Barbuda", 3955 - "Value": "Antigua and Barbuda", 3956 - "Order": 8 3957 - }, 3958 - { 3959 - "Id": 58, 3960 - "QuestionId": 13, 3961 - "Text": "Argentina", 3962 - "Value": "Argentina", 3963 - "Order": 9 3964 - }, 3965 - { 3966 - "Id": 66, 3967 - "QuestionId": 13, 3968 - "Text": "Armenia", 3969 - "Value": "Armenia", 3970 - "Order": 10 3971 - }, 3972 - { 3973 - "Id": 74, 3974 - "QuestionId": 13, 3975 - "Text": "Australia", 3976 - "Value": "Australia", 3977 - "Order": 11 3978 - }, 3979 - { 3980 - "Id": 82, 3981 - "QuestionId": 13, 3982 - "Text": "Austria", 3983 - "Value": "Austria", 3984 - "Order": 12 3985 - }, 3986 - { 3987 - "Id": 90, 3988 - "QuestionId": 13, 3989 - "Text": "Azerbaijan", 3990 - "Value": "Azerbaijan", 3991 - "Order": 13 3992 - }, 3993 - { 3994 - "Id": 98, 3995 - "QuestionId": 13, 3996 - "Text": "Bahamas", 3997 - "Value": "Bahamas", 3998 - "Order": 14 3999 - }, 4000 - { 4001 - "Id": 106, 4002 - "QuestionId": 13, 4003 - "Text": "Bahrain", 4004 - "Value": "Bahrain", 4005 - "Order": 15 4006 - }, 4007 - { 4008 - "Id": 114, 4009 - "QuestionId": 13, 4010 - "Text": "Bangladesh", 4011 - "Value": "Bangladesh", 4012 - "Order": 16 4013 - }, 4014 - { 4015 - "Id": 122, 4016 - "QuestionId": 13, 4017 - "Text": "Barbados", 4018 - "Value": "Barbados", 4019 - "Order": 17 4020 - }, 4021 - { 4022 - "Id": 130, 4023 - "QuestionId": 13, 4024 - "Text": "Belarus", 4025 - "Value": "Belarus", 4026 - "Order": 18 4027 - }, 4028 - { 4029 - "Id": 138, 4030 - "QuestionId": 13, 4031 - "Text": "Belgium", 4032 - "Value": "Belgium", 4033 - "Order": 19 4034 - }, 4035 - { 4036 - "Id": 146, 4037 - "QuestionId": 13, 4038 - "Text": "Belize", 4039 - "Value": "Belize", 4040 - "Order": 20 4041 - }, 4042 - { 4043 - "Id": 154, 4044 - "QuestionId": 13, 4045 - "Text": "Benin", 4046 - "Value": "Benin", 4047 - "Order": 21 4048 - }, 4049 - { 4050 - "Id": 162, 4051 - "QuestionId": 13, 4052 - "Text": "Bhutan", 4053 - "Value": "Bhutan", 4054 - "Order": 22 4055 - }, 4056 - { 4057 - "Id": 170, 4058 - "QuestionId": 13, 4059 - "Text": "Bolivia", 4060 - "Value": "Bolivia", 4061 - "Order": 23 4062 - }, 4063 - { 4064 - "Id": 178, 4065 - "QuestionId": 13, 4066 - "Text": "Bosnia and Herzegovina", 4067 - "Value": "Bosnia and Herzegovina", 4068 - "Order": 24 4069 - }, 4070 - { 4071 - "Id": 186, 4072 - "QuestionId": 13, 4073 - "Text": "Botswana", 4074 - "Value": "Botswana", 4075 - "Order": 25 4076 - }, 4077 - { 4078 - "Id": 194, 4079 - "QuestionId": 13, 4080 - "Text": "Brazil", 4081 - "Value": "Brazil", 4082 - "Order": 26 4083 - }, 4084 - { 4085 - "Id": 202, 4086 - "QuestionId": 13, 4087 - "Text": "Brunei", 4088 - "Value": "Brunei", 4089 - "Order": 27 4090 - }, 4091 - { 4092 - "Id": 210, 4093 - "QuestionId": 13, 4094 - "Text": "Bulgaria", 4095 - "Value": "Bulgaria", 4096 - "Order": 28 4097 - }, 4098 - { 4099 - "Id": 218, 4100 - "QuestionId": 13, 4101 - "Text": "Burkina Faso", 4102 - "Value": "Burkina Faso", 4103 - "Order": 29 4104 - }, 4105 - { 4106 - "Id": 226, 4107 - "QuestionId": 13, 4108 - "Text": "Burundi", 4109 - "Value": "Burundi", 4110 - "Order": 30 4111 - }, 4112 - { 4113 - "Id": 234, 4114 - "QuestionId": 13, 4115 - "Text": "Cambodia", 4116 - "Value": "Cambodia", 4117 - "Order": 31 4118 - }, 4119 - { 4120 - "Id": 242, 4121 - "QuestionId": 13, 4122 - "Text": "Cameroon", 4123 - "Value": "Cameroon", 4124 - "Order": 32 4125 - }, 4126 - { 4127 - "Id": 250, 4128 - "QuestionId": 13, 4129 - "Text": "Canada", 4130 - "Value": "Canada", 4131 - "Order": 33 4132 - }, 4133 - { 4134 - "Id": 258, 4135 - "QuestionId": 13, 4136 - "Text": "Cape Verde", 4137 - "Value": "Cape Verde", 4138 - "Order": 34 4139 - }, 4140 - { 4141 - "Id": 266, 4142 - "QuestionId": 13, 4143 - "Text": "Central African Republic", 4144 - "Value": "Central African Republic", 4145 - "Order": 35 4146 - }, 4147 - { 4148 - "Id": 274, 4149 - "QuestionId": 13, 4150 - "Text": "Chad", 4151 - "Value": "Chad", 4152 - "Order": 36 4153 - }, 4154 - { 4155 - "Id": 282, 4156 - "QuestionId": 13, 4157 - "Text": "Chile", 4158 - "Value": "Chile", 4159 - "Order": 37 4160 - }, 4161 - { 4162 - "Id": 290, 4163 - "QuestionId": 13, 4164 - "Text": "China", 4165 - "Value": "China", 4166 - "Order": 38 4167 - }, 4168 - { 4169 - "Id": 298, 4170 - "QuestionId": 13, 4171 - "Text": "Colombia", 4172 - "Value": "Colombia", 4173 - "Order": 39 4174 - }, 4175 - { 4176 - "Id": 306, 4177 - "QuestionId": 13, 4178 - "Text": "Comoros", 4179 - "Value": "Comoros", 4180 - "Order": 40 4181 - }, 4182 - { 4183 - "Id": 314, 4184 - "QuestionId": 13, 4185 - "Text": "Congo (Brazzaville)", 4186 - "Value": "Congo (Brazzaville)", 4187 - "Order": 41 4188 - }, 4189 - { 4190 - "Id": 322, 4191 - "QuestionId": 13, 4192 - "Text": "Congo", 4193 - "Value": "Congo", 4194 - "Order": 42 4195 - }, 4196 - { 4197 - "Id": 330, 4198 - "QuestionId": 13, 4199 - "Text": "Costa Rica", 4200 - "Value": "Costa Rica", 4201 - "Order": 43 4202 - }, 4203 - { 4204 - "Id": 338, 4205 - "QuestionId": 13, 4206 - "Text": "Cote d'Ivoire", 4207 - "Value": "Cote d'Ivoire", 4208 - "Order": 44 4209 - }, 4210 - { 4211 - "Id": 346, 4212 - "QuestionId": 13, 4213 - "Text": "Croatia", 4214 - "Value": "Croatia", 4215 - "Order": 45 4216 - }, 4217 - { 4218 - "Id": 354, 4219 - "QuestionId": 13, 4220 - "Text": "Cuba", 4221 - "Value": "Cuba", 4222 - "Order": 46 4223 - }, 4224 - { 4225 - "Id": 362, 4226 - "QuestionId": 13, 4227 - "Text": "Cyprus", 4228 - "Value": "Cyprus", 4229 - "Order": 47 4230 - }, 4231 - { 4232 - "Id": 370, 4233 - "QuestionId": 13, 4234 - "Text": "Czech Republic", 4235 - "Value": "Czech Republic", 4236 - "Order": 48 4237 - }, 4238 - { 4239 - "Id": 378, 4240 - "QuestionId": 13, 4241 - "Text": "Denmark", 4242 - "Value": "Denmark", 4243 - "Order": 49 4244 - }, 4245 - { 4246 - "Id": 386, 4247 - "QuestionId": 13, 4248 - "Text": "Djibouti", 4249 - "Value": "Djibouti", 4250 - "Order": 50 4251 - }, 4252 - { 4253 - "Id": 394, 4254 - "QuestionId": 13, 4255 - "Text": "Dominica", 4256 - "Value": "Dominica", 4257 - "Order": 51 4258 - }, 4259 - { 4260 - "Id": 402, 4261 - "QuestionId": 13, 4262 - "Text": "Dominican Republic", 4263 - "Value": "Dominican Republic", 4264 - "Order": 52 4265 - }, 4266 - { 4267 - "Id": 410, 4268 - "QuestionId": 13, 4269 - "Text": "East Timor", 4270 - "Value": "East Timor", 4271 - "Order": 53 4272 - }, 4273 - { 4274 - "Id": 418, 4275 - "QuestionId": 13, 4276 - "Text": "Ecuador", 4277 - "Value": "Ecuador", 4278 - "Order": 54 4279 - }, 4280 - { 4281 - "Id": 426, 4282 - "QuestionId": 13, 4283 - "Text": "Egypt", 4284 - "Value": "Egypt", 4285 - "Order": 55 4286 - }, 4287 - { 4288 - "Id": 434, 4289 - "QuestionId": 13, 4290 - "Text": "El Salvador", 4291 - "Value": "El Salvador", 4292 - "Order": 56 4293 - }, 4294 - { 4295 - "Id": 442, 4296 - "QuestionId": 13, 4297 - "Text": "Equatorial Guinea", 4298 - "Value": "Equatorial Guinea", 4299 - "Order": 57 4300 - }, 4301 - { 4302 - "Id": 450, 4303 - "QuestionId": 13, 4304 - "Text": "Eritrea", 4305 - "Value": "Eritrea", 4306 - "Order": 58 4307 - }, 4308 - { 4309 - "Id": 458, 4310 - "QuestionId": 13, 4311 - "Text": "Estonia", 4312 - "Value": "Estonia", 4313 - "Order": 59 4314 - }, 4315 - { 4316 - "Id": 466, 4317 - "QuestionId": 13, 4318 - "Text": "Ethiopia", 4319 - "Value": "Ethiopia", 4320 - "Order": 60 4321 - }, 4322 - { 4323 - "Id": 474, 4324 - "QuestionId": 13, 4325 - "Text": "Fiji", 4326 - "Value": "Fiji", 4327 - "Order": 61 4328 - }, 4329 - { 4330 - "Id": 482, 4331 - "QuestionId": 13, 4332 - "Text": "Finland", 4333 - "Value": "Finland", 4334 - "Order": 62 4335 - }, 4336 - { 4337 - "Id": 490, 4338 - "QuestionId": 13, 4339 - "Text": "France", 4340 - "Value": "France", 4341 - "Order": 63 4342 - }, 4343 - { 4344 - "Id": 498, 4345 - "QuestionId": 13, 4346 - "Text": "Gabon", 4347 - "Value": "Gabon", 4348 - "Order": 64 4349 - }, 4350 - { 4351 - "Id": 506, 4352 - "QuestionId": 13, 4353 - "Text": "Gambia, The", 4354 - "Value": "Gambia, The", 4355 - "Order": 65 4356 - }, 4357 - { 4358 - "Id": 514, 4359 - "QuestionId": 13, 4360 - "Text": "Georgia", 4361 - "Value": "Georgia", 4362 - "Order": 66 4363 - }, 4364 - { 4365 - "Id": 522, 4366 - "QuestionId": 13, 4367 - "Text": "Germany", 4368 - "Value": "Germany", 4369 - "Order": 67 4370 - }, 4371 - { 4372 - "Id": 530, 4373 - "QuestionId": 13, 4374 - "Text": "Ghana", 4375 - "Value": "Ghana", 4376 - "Order": 68 4377 - }, 4378 - { 4379 - "Id": 538, 4380 - "QuestionId": 13, 4381 - "Text": "Greece", 4382 - "Value": "Greece", 4383 - "Order": 69 4384 - }, 4385 - { 4386 - "Id": 546, 4387 - "QuestionId": 13, 4388 - "Text": "Grenada", 4389 - "Value": "Grenada", 4390 - "Order": 70 4391 - }, 4392 - { 4393 - "Id": 554, 4394 - "QuestionId": 13, 4395 - "Text": "Guatemala", 4396 - "Value": "Guatemala", 4397 - "Order": 71 4398 - }, 4399 - { 4400 - "Id": 562, 4401 - "QuestionId": 13, 4402 - "Text": "Guinea", 4403 - "Value": "Guinea", 4404 - "Order": 72 4405 - }, 4406 - { 4407 - "Id": 570, 4408 - "QuestionId": 13, 4409 - "Text": "Guinea-Bissau", 4410 - "Value": "Guinea-Bissau", 4411 - "Order": 73 4412 - }, 4413 - { 4414 - "Id": 578, 4415 - "QuestionId": 13, 4416 - "Text": "Guyana", 4417 - "Value": "Guyana", 4418 - "Order": 74 4419 - }, 4420 - { 4421 - "Id": 586, 4422 - "QuestionId": 13, 4423 - "Text": "Haiti", 4424 - "Value": "Haiti", 4425 - "Order": 75 4426 - }, 4427 - { 4428 - "Id": 594, 4429 - "QuestionId": 13, 4430 - "Text": "Honduras", 4431 - "Value": "Honduras", 4432 - "Order": 76 4433 - }, 4434 - { 4435 - "Id": 602, 4436 - "QuestionId": 13, 4437 - "Text": "Hungary", 4438 - "Value": "Hungary", 4439 - "Order": 77 4440 - }, 4441 - { 4442 - "Id": 610, 4443 - "QuestionId": 13, 4444 - "Text": "Iceland", 4445 - "Value": "Iceland", 4446 - "Order": 78 4447 - }, 4448 - { 4449 - "Id": 618, 4450 - "QuestionId": 13, 4451 - "Text": "India", 4452 - "Value": "India", 4453 - "Order": 79 4454 - }, 4455 - { 4456 - "Id": 626, 4457 - "QuestionId": 13, 4458 - "Text": "Indonesia", 4459 - "Value": "Indonesia", 4460 - "Order": 80 4461 - }, 4462 - { 4463 - "Id": 634, 4464 - "QuestionId": 13, 4465 - "Text": "Iran", 4466 - "Value": "Iran", 4467 - "Order": 81 4468 - }, 4469 - { 4470 - "Id": 642, 4471 - "QuestionId": 13, 4472 - "Text": "Iraq", 4473 - "Value": "Iraq", 4474 - "Order": 82 4475 - }, 4476 - { 4477 - "Id": 650, 4478 - "QuestionId": 13, 4479 - "Text": "Ireland", 4480 - "Value": "Ireland", 4481 - "Order": 83 4482 - }, 4483 - { 4484 - "Id": 658, 4485 - "QuestionId": 13, 4486 - "Text": "Israel", 4487 - "Value": "Israel", 4488 - "Order": 84 4489 - }, 4490 - { 4491 - "Id": 666, 4492 - "QuestionId": 13, 4493 - "Text": "Italy", 4494 - "Value": "Italy", 4495 - "Order": 85 4496 - }, 4497 - { 4498 - "Id": 674, 4499 - "QuestionId": 13, 4500 - "Text": "Jamaica", 4501 - "Value": "Jamaica", 4502 - "Order": 86 4503 - }, 4504 - { 4505 - "Id": 682, 4506 - "QuestionId": 13, 4507 - "Text": "Japan", 4508 - "Value": "Japan", 4509 - "Order": 87 4510 - }, 4511 - { 4512 - "Id": 690, 4513 - "QuestionId": 13, 4514 - "Text": "Jordan", 4515 - "Value": "Jordan", 4516 - "Order": 88 4517 - }, 4518 - { 4519 - "Id": 698, 4520 - "QuestionId": 13, 4521 - "Text": "Kazakhstan", 4522 - "Value": "Kazakhstan", 4523 - "Order": 89 4524 - }, 4525 - { 4526 - "Id": 706, 4527 - "QuestionId": 13, 4528 - "Text": "Kenya", 4529 - "Value": "Kenya", 4530 - "Order": 90 4531 - }, 4532 - { 4533 - "Id": 714, 4534 - "QuestionId": 13, 4535 - "Text": "Kiribati", 4536 - "Value": "Kiribati", 4537 - "Order": 91 4538 - }, 4539 - { 4540 - "Id": 722, 4541 - "QuestionId": 13, 4542 - "Text": "Korea, North", 4543 - "Value": "Korea, North", 4544 - "Order": 92 4545 - }, 4546 - { 4547 - "Id": 730, 4548 - "QuestionId": 13, 4549 - "Text": "Korea, South", 4550 - "Value": "Korea, South", 4551 - "Order": 93 4552 - }, 4553 - { 4554 - "Id": 738, 4555 - "QuestionId": 13, 4556 - "Text": "Kuwait", 4557 - "Value": "Kuwait", 4558 - "Order": 94 4559 - }, 4560 - { 4561 - "Id": 746, 4562 - "QuestionId": 13, 4563 - "Text": "Kyrgyzstan", 4564 - "Value": "Kyrgyzstan", 4565 - "Order": 95 4566 - }, 4567 - { 4568 - "Id": 754, 4569 - "QuestionId": 13, 4570 - "Text": "Laos", 4571 - "Value": "Laos", 4572 - "Order": 96 4573 - }, 4574 - { 4575 - "Id": 762, 4576 - "QuestionId": 13, 4577 - "Text": "Latvia", 4578 - "Value": "Latvia", 4579 - "Order": 97 4580 - }, 4581 - { 4582 - "Id": 770, 4583 - "QuestionId": 13, 4584 - "Text": "Lebanon", 4585 - "Value": "Lebanon", 4586 - "Order": 98 4587 - }, 4588 - { 4589 - "Id": 778, 4590 - "QuestionId": 13, 4591 - "Text": "Lesotho", 4592 - "Value": "Lesotho", 4593 - "Order": 99 4594 - }, 4595 - { 4596 - "Id": 786, 4597 - "QuestionId": 13, 4598 - "Text": "Liberia", 4599 - "Value": "Liberia", 4600 - "Order": 100 4601 - }, 4602 - { 4603 - "Id": 794, 4604 - "QuestionId": 13, 4605 - "Text": "Libya", 4606 - "Value": "Libya", 4607 - "Order": 101 4608 - }, 4609 - { 4610 - "Id": 802, 4611 - "QuestionId": 13, 4612 - "Text": "Liechtenstein", 4613 - "Value": "Liechtenstein", 4614 - "Order": 102 4615 - }, 4616 - { 4617 - "Id": 810, 4618 - "QuestionId": 13, 4619 - "Text": "Lithuania", 4620 - "Value": "Lithuania", 4621 - "Order": 103 4622 - }, 4623 - { 4624 - "Id": 818, 4625 - "QuestionId": 13, 4626 - "Text": "Luxembourg", 4627 - "Value": "Luxembourg", 4628 - "Order": 104 4629 - }, 4630 - { 4631 - "Id": 826, 4632 - "QuestionId": 13, 4633 - "Text": "Macedonia", 4634 - "Value": "Macedonia", 4635 - "Order": 105 4636 - }, 4637 - { 4638 - "Id": 834, 4639 - "QuestionId": 13, 4640 - "Text": "Madagascar", 4641 - "Value": "Madagascar", 4642 - "Order": 106 4643 - }, 4644 - { 4645 - "Id": 842, 4646 - "QuestionId": 13, 4647 - "Text": "Malawi", 4648 - "Value": "Malawi", 4649 - "Order": 107 4650 - }, 4651 - { 4652 - "Id": 850, 4653 - "QuestionId": 13, 4654 - "Text": "Malaysia", 4655 - "Value": "Malaysia", 4656 - "Order": 108 4657 - }, 4658 - { 4659 - "Id": 858, 4660 - "QuestionId": 13, 4661 - "Text": "Maldives", 4662 - "Value": "Maldives", 4663 - "Order": 109 4664 - }, 4665 - { 4666 - "Id": 866, 4667 - "QuestionId": 13, 4668 - "Text": "Mali", 4669 - "Value": "Mali", 4670 - "Order": 110 4671 - }, 4672 - { 4673 - "Id": 874, 4674 - "QuestionId": 13, 4675 - "Text": "Malta", 4676 - "Value": "Malta", 4677 - "Order": 111 4678 - }, 4679 - { 4680 - "Id": 882, 4681 - "QuestionId": 13, 4682 - "Text": "Marshall Islands", 4683 - "Value": "Marshall Islands", 4684 - "Order": 112 4685 - }, 4686 - { 4687 - "Id": 890, 4688 - "QuestionId": 13, 4689 - "Text": "Mauritania", 4690 - "Value": "Mauritania", 4691 - "Order": 113 4692 - }, 4693 - { 4694 - "Id": 898, 4695 - "QuestionId": 13, 4696 - "Text": "Mauritius", 4697 - "Value": "Mauritius", 4698 - "Order": 114 4699 - }, 4700 - { 4701 - "Id": 906, 4702 - "QuestionId": 13, 4703 - "Text": "Mexico", 4704 - "Value": "Mexico", 4705 - "Order": 115 4706 - }, 4707 - { 4708 - "Id": 914, 4709 - "QuestionId": 13, 4710 - "Text": "Micronesia", 4711 - "Value": "Micronesia", 4712 - "Order": 116 4713 - }, 4714 - { 4715 - "Id": 922, 4716 - "QuestionId": 13, 4717 - "Text": "Moldova", 4718 - "Value": "Moldova", 4719 - "Order": 117 4720 - }, 4721 - { 4722 - "Id": 930, 4723 - "QuestionId": 13, 4724 - "Text": "Monaco", 4725 - "Value": "Monaco", 4726 - "Order": 118 4727 - }, 4728 - { 4729 - "Id": 938, 4730 - "QuestionId": 13, 4731 - "Text": "Mongolia", 4732 - "Value": "Mongolia", 4733 - "Order": 119 4734 - }, 4735 - { 4736 - "Id": 946, 4737 - "QuestionId": 13, 4738 - "Text": "Morocco", 4739 - "Value": "Morocco", 4740 - "Order": 120 4741 - }, 4742 - { 4743 - "Id": 954, 4744 - "QuestionId": 13, 4745 - "Text": "Mozambique", 4746 - "Value": "Mozambique", 4747 - "Order": 121 4748 - }, 4749 - { 4750 - "Id": 962, 4751 - "QuestionId": 13, 4752 - "Text": "Myanmar", 4753 - "Value": "Myanmar", 4754 - "Order": 122 4755 - }, 4756 - { 4757 - "Id": 970, 4758 - "QuestionId": 13, 4759 - "Text": "Namibia", 4760 - "Value": "Namibia", 4761 - "Order": 123 4762 - }, 4763 - { 4764 - "Id": 978, 4765 - "QuestionId": 13, 4766 - "Text": "Nauru", 4767 - "Value": "Nauru", 4768 - "Order": 124 4769 - }, 4770 - { 4771 - "Id": 986, 4772 - "QuestionId": 13, 4773 - "Text": "Nepa", 4774 - "Value": "Nepa", 4775 - "Order": 125 4776 - }, 4777 - { 4778 - "Id": 994, 4779 - "QuestionId": 13, 4780 - "Text": "Netherlands", 4781 - "Value": "Netherlands", 4782 - "Order": 126 4783 - }, 4784 - { 4785 - "Id": 1002, 4786 - "QuestionId": 13, 4787 - "Text": "New Zealand", 4788 - "Value": "New Zealand", 4789 - "Order": 127 4790 - }, 4791 - { 4792 - "Id": 1010, 4793 - "QuestionId": 13, 4794 - "Text": "Nicaragua", 4795 - "Value": "Nicaragua", 4796 - "Order": 128 4797 - }, 4798 - { 4799 - "Id": 1018, 4800 - "QuestionId": 13, 4801 - "Text": "Niger", 4802 - "Value": "Niger", 4803 - "Order": 129 4804 - }, 4805 - { 4806 - "Id": 1026, 4807 - "QuestionId": 13, 4808 - "Text": "Nigeria", 4809 - "Value": "Nigeria", 4810 - "Order": 130 4811 - }, 4812 - { 4813 - "Id": 1034, 4814 - "QuestionId": 13, 4815 - "Text": "Norway", 4816 - "Value": "Norway", 4817 - "Order": 131 4818 - }, 4819 - { 4820 - "Id": 1042, 4821 - "QuestionId": 13, 4822 - "Text": "Oman", 4823 - "Value": "Oman", 4824 - "Order": 132 4825 - }, 4826 - { 4827 - "Id": 1050, 4828 - "QuestionId": 13, 4829 - "Text": "Pakistan", 4830 - "Value": "Pakistan", 4831 - "Order": 133 4832 - }, 4833 - { 4834 - "Id": 1058, 4835 - "QuestionId": 13, 4836 - "Text": "Palau", 4837 - "Value": "Palau", 4838 - "Order": 134 4839 - }, 4840 - { 4841 - "Id": 1066, 4842 - "QuestionId": 13, 4843 - "Text": "Panama", 4844 - "Value": "Panama", 4845 - "Order": 135 4846 - }, 4847 - { 4848 - "Id": 1074, 4849 - "QuestionId": 13, 4850 - "Text": "Papua New Guinea", 4851 - "Value": "Papua New Guinea", 4852 - "Order": 136 4853 - }, 4854 - { 4855 - "Id": 1082, 4856 - "QuestionId": 13, 4857 - "Text": "Paraguay", 4858 - "Value": "Paraguay", 4859 - "Order": 137 4860 - }, 4861 - { 4862 - "Id": 1090, 4863 - "QuestionId": 13, 4864 - "Text": "Peru", 4865 - "Value": "Peru", 4866 - "Order": 138 4867 - }, 4868 - { 4869 - "Id": 1098, 4870 - "QuestionId": 13, 4871 - "Text": "Philippines", 4872 - "Value": "Philippines", 4873 - "Order": 139 4874 - }, 4875 - { 4876 - "Id": 1106, 4877 - "QuestionId": 13, 4878 - "Text": "Poland", 4879 - "Value": "Poland", 4880 - "Order": 140 4881 - }, 4882 - { 4883 - "Id": 1114, 4884 - "QuestionId": 13, 4885 - "Text": "Portugal", 4886 - "Value": "Portugal", 4887 - "Order": 141 4888 - }, 4889 - { 4890 - "Id": 1122, 4891 - "QuestionId": 13, 4892 - "Text": "Qatar", 4893 - "Value": "Qatar", 4894 - "Order": 142 4895 - }, 4896 - { 4897 - "Id": 1130, 4898 - "QuestionId": 13, 4899 - "Text": "Romania", 4900 - "Value": "Romania", 4901 - "Order": 143 4902 - }, 4903 - { 4904 - "Id": 1138, 4905 - "QuestionId": 13, 4906 - "Text": "Russia", 4907 - "Value": "Russia", 4908 - "Order": 144 4909 - }, 4910 - { 4911 - "Id": 1146, 4912 - "QuestionId": 13, 4913 - "Text": "Rwanda", 4914 - "Value": "Rwanda", 4915 - "Order": 145 4916 - }, 4917 - { 4918 - "Id": 1154, 4919 - "QuestionId": 13, 4920 - "Text": "Saint Kitts and Nevis", 4921 - "Value": "Saint Kitts and Nevis", 4922 - "Order": 146 4923 - }, 4924 - { 4925 - "Id": 1162, 4926 - "QuestionId": 13, 4927 - "Text": "Saint Lucia", 4928 - "Value": "Saint Lucia", 4929 - "Order": 147 4930 - }, 4931 - { 4932 - "Id": 1170, 4933 - "QuestionId": 13, 4934 - "Text": "Saint Vincent", 4935 - "Value": "Saint Vincent", 4936 - "Order": 148 4937 - }, 4938 - { 4939 - "Id": 1178, 4940 - "QuestionId": 13, 4941 - "Text": "Samoa", 4942 - "Value": "Samoa", 4943 - "Order": 149 4944 - }, 4945 - { 4946 - "Id": 1186, 4947 - "QuestionId": 13, 4948 - "Text": "San Marino", 4949 - "Value": "San Marino", 4950 - "Order": 150 4951 - }, 4952 - { 4953 - "Id": 1194, 4954 - "QuestionId": 13, 4955 - "Text": "Sao Tome and Principe", 4956 - "Value": "Sao Tome and Principe", 4957 - "Order": 151 4958 - }, 4959 - { 4960 - "Id": 1202, 4961 - "QuestionId": 13, 4962 - "Text": "Saudi Arabia", 4963 - "Value": "Saudi Arabia", 4964 - "Order": 152 4965 - }, 4966 - { 4967 - "Id": 1210, 4968 - "QuestionId": 13, 4969 - "Text": "Senegal", 4970 - "Value": "Senegal", 4971 - "Order": 153 4972 - }, 4973 - { 4974 - "Id": 1218, 4975 - "QuestionId": 13, 4976 - "Text": "Serbia and Montenegro", 4977 - "Value": "Serbia and Montenegro", 4978 - "Order": 154 4979 - }, 4980 - { 4981 - "Id": 1226, 4982 - "QuestionId": 13, 4983 - "Text": "Seychelles", 4984 - "Value": "Seychelles", 4985 - "Order": 155 4986 - }, 4987 - { 4988 - "Id": 1234, 4989 - "QuestionId": 13, 4990 - "Text": "Sierra Leone", 4991 - "Value": "Sierra Leone", 4992 - "Order": 156 4993 - }, 4994 - { 4995 - "Id": 1242, 4996 - "QuestionId": 13, 4997 - "Text": "Singapore", 4998 - "Value": "Singapore", 4999 - "Order": 157 5000 - }, 5001 - { 5002 - "Id": 1250, 5003 - "QuestionId": 13, 5004 - "Text": "Slovakia", 5005 - "Value": "Slovakia", 5006 - "Order": 158 5007 - }, 5008 - { 5009 - "Id": 1258, 5010 - "QuestionId": 13, 5011 - "Text": "Slovenia", 5012 - "Value": "Slovenia", 5013 - "Order": 159 5014 - }, 5015 - { 5016 - "Id": 1266, 5017 - "QuestionId": 13, 5018 - "Text": "Solomon Islands", 5019 - "Value": "Solomon Islands", 5020 - "Order": 160 5021 - }, 5022 - { 5023 - "Id": 1274, 5024 - "QuestionId": 13, 5025 - "Text": "Somalia", 5026 - "Value": "Somalia", 5027 - "Order": 161 5028 - }, 5029 - { 5030 - "Id": 1282, 5031 - "QuestionId": 13, 5032 - "Text": "South Africa", 5033 - "Value": "South Africa", 5034 - "Order": 162 5035 - }, 5036 - { 5037 - "Id": 1290, 5038 - "QuestionId": 13, 5039 - "Text": "Spain", 5040 - "Value": "Spain", 5041 - "Order": 163 5042 - }, 5043 - { 5044 - "Id": 1298, 5045 - "QuestionId": 13, 5046 - "Text": "Sri Lanka", 5047 - "Value": "Sri Lanka", 5048 - "Order": 164 5049 - }, 5050 - { 5051 - "Id": 1306, 5052 - "QuestionId": 13, 5053 - "Text": "Sudan", 5054 - "Value": "Sudan", 5055 - "Order": 165 5056 - }, 5057 - { 5058 - "Id": 1314, 5059 - "QuestionId": 13, 5060 - "Text": "Suriname", 5061 - "Value": "Suriname", 5062 - "Order": 166 5063 - }, 5064 - { 5065 - "Id": 1322, 5066 - "QuestionId": 13, 5067 - "Text": "Swaziland", 5068 - "Value": "Swaziland", 5069 - "Order": 167 5070 - }, 5071 - { 5072 - "Id": 1330, 5073 - "QuestionId": 13, 5074 - "Text": "Sweden", 5075 - "Value": "Sweden", 5076 - "Order": 168 5077 - }, 5078 - { 5079 - "Id": 1338, 5080 - "QuestionId": 13, 5081 - "Text": "Switzerland", 5082 - "Value": "Switzerland", 5083 - "Order": 169 5084 - }, 5085 - { 5086 - "Id": 1346, 5087 - "QuestionId": 13, 5088 - "Text": "Syria", 5089 - "Value": "Syria", 5090 - "Order": 170 5091 - }, 5092 - { 5093 - "Id": 1354, 5094 - "QuestionId": 13, 5095 - "Text": "Taiwan", 5096 - "Value": "Taiwan", 5097 - "Order": 171 5098 - }, 5099 - { 5100 - "Id": 1362, 5101 - "QuestionId": 13, 5102 - "Text": "Tajikistan", 5103 - "Value": "Tajikistan", 5104 - "Order": 172 5105 - }, 5106 - { 5107 - "Id": 1370, 5108 - "QuestionId": 13, 5109 - "Text": "Tanzania", 5110 - "Value": "Tanzania", 5111 - "Order": 173 5112 - }, 5113 - { 5114 - "Id": 1378, 5115 - "QuestionId": 13, 5116 - "Text": "Thailand", 5117 - "Value": "Thailand", 5118 - "Order": 174 5119 - }, 5120 - { 5121 - "Id": 1386, 5122 - "QuestionId": 13, 5123 - "Text": "Togo", 5124 - "Value": "Togo", 5125 - "Order": 175 5126 - }, 5127 - { 5128 - "Id": 1394, 5129 - "QuestionId": 13, 5130 - "Text": "Tonga", 5131 - "Value": "Tonga", 5132 - "Order": 176 5133 - }, 5134 - { 5135 - "Id": 1402, 5136 - "QuestionId": 13, 5137 - "Text": "Trinidad and Tobago", 5138 - "Value": "Trinidad and Tobago", 5139 - "Order": 177 5140 - }, 5141 - { 5142 - "Id": 1410, 5143 - "QuestionId": 13, 5144 - "Text": "Tunisia", 5145 - "Value": "Tunisia", 5146 - "Order": 178 5147 - }, 5148 - { 5149 - "Id": 1418, 5150 - "QuestionId": 13, 5151 - "Text": "Turkey", 5152 - "Value": "Turkey", 5153 - "Order": 179 5154 - }, 5155 - { 5156 - "Id": 1426, 5157 - "QuestionId": 13, 5158 - "Text": "Turkmenistan", 5159 - "Value": "Turkmenistan", 5160 - "Order": 180 5161 - }, 5162 - { 5163 - "Id": 1434, 5164 - "QuestionId": 13, 5165 - "Text": "Tuvalu", 5166 - "Value": "Tuvalu", 5167 - "Order": 181 5168 - }, 5169 - { 5170 - "Id": 1442, 5171 - "QuestionId": 13, 5172 - "Text": "Uganda", 5173 - "Value": "Uganda", 5174 - "Order": 182 5175 - }, 5176 - { 5177 - "Id": 1450, 5178 - "QuestionId": 13, 5179 - "Text": "Ukraine", 5180 - "Value": "Ukraine", 5181 - "Order": 183 5182 - }, 5183 - { 5184 - "Id": 1458, 5185 - "QuestionId": 13, 5186 - "Text": "United Arab Emirates", 5187 - "Value": "United Arab Emirates", 5188 - "Order": 184 5189 - }, 5190 - { 5191 - "Id": 1466, 5192 - "QuestionId": 13, 5193 - "Text": "United Kingdom", 5194 - "Value": "United Kingdom", 5195 - "Order": 185 5196 - }, 5197 - { 5198 - "Id": 1474, 5199 - "QuestionId": 13, 5200 - "Text": "United States", 5201 - "Value": "United States", 5202 - "Order": 2 5203 - }, 5204 - { 5205 - "Id": 1482, 5206 - "QuestionId": 13, 5207 - "Text": "Uruguay", 5208 - "Value": "Uruguay", 5209 - "Order": 186 5210 - }, 5211 - { 5212 - "Id": 1490, 5213 - "QuestionId": 13, 5214 - "Text": "Uzbekistan", 5215 - "Value": "Uzbekistan", 5216 - "Order": 187 5217 - }, 5218 - { 5219 - "Id": 1498, 5220 - "QuestionId": 13, 5221 - "Text": "Vanuatu", 5222 - "Value": "Vanuatu", 5223 - "Order": 188 5224 - }, 5225 - { 5226 - "Id": 1506, 5227 - "QuestionId": 13, 5228 - "Text": "Vatican City", 5229 - "Value": "Vatican City", 5230 - "Order": 189 5231 - }, 5232 - { 5233 - "Id": 1514, 5234 - "QuestionId": 13, 5235 - "Text": "Venezuela", 5236 - "Value": "Venezuela", 5237 - "Order": 190 5238 - }, 5239 - { 5240 - "Id": 1522, 5241 - "QuestionId": 13, 5242 - "Text": "Vietnam", 5243 - "Value": "Vietnam", 5244 - "Order": 191 5245 - }, 5246 - { 5247 - "Id": 1530, 5248 - "QuestionId": 13, 5249 - "Text": "Yemen", 5250 - "Value": "Yemen", 5251 - "Order": 192 5252 - }, 5253 - { 5254 - "Id": 1538, 5255 - "QuestionId": 13, 5256 - "Text": "Zambia", 5257 - "Value": "Zambia", 5258 - "Order": 193 5259 - }, 5260 - { 5261 - "Id": 1546, 5262 - "QuestionId": 13, 5263 - "Text": "Zimbabwe", 5264 - "Value": "Zimbabwe", 5265 - "Order": 194 5266 - }, 5267 - { 5268 - "Id": 2186, 5269 - "QuestionId": 13, 5270 - "Text": "British Columbia", 5271 - "Value": "British Columbia", 5272 - "Order": 195 5273 - } 5274 - ] 5275 - } 5276 - ] 5277 -} 5278 -{{/code}} 5279 5279 2060 +(% class="western" %) 2061 +"Id": "6", 5280 5280 5281 -(% id="HGETlookupquestionbyType" style="margin-left: 0.0px;"class="sc-fznLPX cxTVKx" %)5282 - == (% class="imuBmi sc-fzoaKM" style="color:#007f31"%)GET (% class="documentation-core-item-request-namejbmEtY sc-fzomuh"style="color:#212121" %)lookup question by Type(%%) ==2063 +(% class="western" %) 2064 +"Text": "FirstName", 5283 5283 5284 ----- 2066 +(% class="western" %) 2067 +"Type": "1", 5285 5285 5286 -{{panel bgColor="#D3D3D3" width="100%"}} 5287 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/questions/lookup?Type=4 5288 -{{/panel}} 2069 +(% class="western" %) 2070 +"Alias": "FName" 5289 5289 5290 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 5291 - 5292 ----- 5293 - 5294 -(% 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}} 5295 - 5296 -=== (% style="color:#212121" %)Query Params(%%) === 5297 - 5298 ----- 5299 - 5300 -(% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueY item-key sc-fznXWL" style="color:#212121" %)Type 4(%%) 5301 - 5302 - 5303 -==== Example ==== 5304 - 5305 ----- 5306 - 5307 -(% style="color:#6b6b6b" %)Request 5308 - 5309 -{{code language="php" theme="RDark" title="Lookup question by Type Request"}} 5310 -<?php 5311 - 5312 -$curl = curl_init(); 5313 - 5314 -curl_setopt_array($curl, array( 5315 - CURLOPT_URL => 'https://api.onecount.net/v2/questions/lookup?Type=4', 5316 - CURLOPT_RETURNTRANSFER => true, 5317 - CURLOPT_ENCODING => '', 5318 - CURLOPT_MAXREDIRS => 10, 5319 - CURLOPT_TIMEOUT => 0, 5320 - CURLOPT_FOLLOWLOCATION => true, 5321 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 5322 - CURLOPT_CUSTOMREQUEST => 'GET', 5323 - CURLOPT_HTTPHEADER => array( 5324 - 'Appkey: {{ONECOUNT API KEY}}' 5325 - ), 5326 -)); 5327 - 5328 -$response = curl_exec($curl); 5329 - 5330 -curl_close($curl); 5331 -echo $response; 5332 -{{/code}} 5333 - 5334 - 5335 -(% style="color:#6b6b6b" %)Response 200 OK 5336 - 5337 -{{code language="yml" theme="RDark" collapse="true" title="Lookup question by type Response"}} 5338 -{ 5339 - "result": { 5340 - "success": "1", 5341 - "error": { 5342 - "code": "", 5343 - "message": "" 5344 - } 5345 - }, 5346 - "Questions": [ 5347 - { 5348 - "Id": 11, 5349 - "Text": "State/Province", 5350 - "Type": "4", 5351 - "Alias": "State/Province", 5352 - "Choices": [ 5353 - { 5354 - "Id": 1554, 5355 - "QuestionId": 11, 5356 - "Text": "Select One", 5357 - "Value": "", 5358 - "Order": 1 5359 - }, 5360 - { 5361 - "Id": 1562, 5362 - "QuestionId": 11, 5363 - "Text": "Alabama", 5364 - "Value": "AL", 5365 - "Order": 2 5366 - }, 5367 - { 5368 - "Id": 1570, 5369 - "QuestionId": 11, 5370 - "Text": "Alaska", 5371 - "Value": "AK", 5372 - "Order": 3 5373 - }, 5374 - { 5375 - "Id": 1578, 5376 - "QuestionId": 11, 5377 - "Text": "Arizona", 5378 - "Value": "AZ", 5379 - "Order": 4 5380 - }, 5381 - { 5382 - "Id": 1586, 5383 - "QuestionId": 11, 5384 - "Text": "Arkansas", 5385 - "Value": "AR", 5386 - "Order": 5 5387 - }, 5388 - { 5389 - "Id": 1594, 5390 - "QuestionId": 11, 5391 - "Text": "California", 5392 - "Value": "CA", 5393 - "Order": 6 5394 - }, 5395 - { 5396 - "Id": 1602, 5397 - "QuestionId": 11, 5398 - "Text": "Colorado", 5399 - "Value": "CO", 5400 - "Order": 7 5401 - }, 5402 - { 5403 - "Id": 1610, 5404 - "QuestionId": 11, 5405 - "Text": "Connecticut", 5406 - "Value": "CT", 5407 - "Order": 8 5408 - }, 5409 - { 5410 - "Id": 1618, 5411 - "QuestionId": 11, 5412 - "Text": "Delaware", 5413 - "Value": "DE", 5414 - "Order": 9 5415 - }, 5416 - { 5417 - "Id": 1626, 5418 - "QuestionId": 11, 5419 - "Text": "District of Columbia", 5420 - "Value": "DC", 5421 - "Order": 10 5422 - }, 5423 - { 5424 - "Id": 1634, 5425 - "QuestionId": 11, 5426 - "Text": "Florida", 5427 - "Value": "FL", 5428 - "Order": 11 5429 - }, 5430 - { 5431 - "Id": 1642, 5432 - "QuestionId": 11, 5433 - "Text": "Georgia", 5434 - "Value": "GA", 5435 - "Order": 12 5436 - }, 5437 - { 5438 - "Id": 1650, 5439 - "QuestionId": 11, 5440 - "Text": "Hawaii", 5441 - "Value": "HI", 5442 - "Order": 13 5443 - }, 5444 - { 5445 - "Id": 1658, 5446 - "QuestionId": 11, 5447 - "Text": "Idaho", 5448 - "Value": "ID", 5449 - "Order": 14 5450 - }, 5451 - { 5452 - "Id": 1666, 5453 - "QuestionId": 11, 5454 - "Text": "Illinois", 5455 - "Value": "IL", 5456 - "Order": 15 5457 - }, 5458 - { 5459 - "Id": 1674, 5460 - "QuestionId": 11, 5461 - "Text": "Indiana", 5462 - "Value": "IN", 5463 - "Order": 16 5464 - }, 5465 - { 5466 - "Id": 1682, 5467 - "QuestionId": 11, 5468 - "Text": "Iowa", 5469 - "Value": "IA", 5470 - "Order": 17 5471 - }, 5472 - { 5473 - "Id": 1690, 5474 - "QuestionId": 11, 5475 - "Text": "Kansas", 5476 - "Value": "KS", 5477 - "Order": 18 5478 - }, 5479 - { 5480 - "Id": 1698, 5481 - "QuestionId": 11, 5482 - "Text": "Kentucky", 5483 - "Value": "KY", 5484 - "Order": 19 5485 - }, 5486 - { 5487 - "Id": 1706, 5488 - "QuestionId": 11, 5489 - "Text": "Louisiana", 5490 - "Value": "LA", 5491 - "Order": 20 5492 - }, 5493 - { 5494 - "Id": 1714, 5495 - "QuestionId": 11, 5496 - "Text": "Maine", 5497 - "Value": "ME", 5498 - "Order": 21 5499 - }, 5500 - { 5501 - "Id": 1722, 5502 - "QuestionId": 11, 5503 - "Text": "Maryland", 5504 - "Value": "MD", 5505 - "Order": 22 5506 - }, 5507 - { 5508 - "Id": 1730, 5509 - "QuestionId": 11, 5510 - "Text": "Massachusetts", 5511 - "Value": "MA", 5512 - "Order": 23 5513 - }, 5514 - { 5515 - "Id": 1738, 5516 - "QuestionId": 11, 5517 - "Text": "Michigan", 5518 - "Value": "MI", 5519 - "Order": 24 5520 - }, 5521 - { 5522 - "Id": 1746, 5523 - "QuestionId": 11, 5524 - "Text": "Minnesota", 5525 - "Value": "MN", 5526 - "Order": 25 5527 - }, 5528 - { 5529 - "Id": 1754, 5530 - "QuestionId": 11, 5531 - "Text": "Mississippi", 5532 - "Value": "MS", 5533 - "Order": 26 5534 - }, 5535 - { 5536 - "Id": 1762, 5537 - "QuestionId": 11, 5538 - "Text": "Missouri", 5539 - "Value": "MO", 5540 - "Order": 27 5541 - }, 5542 - { 5543 - "Id": 1770, 5544 - "QuestionId": 11, 5545 - "Text": "Montana", 5546 - "Value": "MT", 5547 - "Order": 28 5548 - }, 5549 - { 5550 - "Id": 1778, 5551 - "QuestionId": 11, 5552 - "Text": "Nebraska", 5553 - "Value": "NE", 5554 - "Order": 29 5555 - }, 5556 - { 5557 - "Id": 1786, 5558 - "QuestionId": 11, 5559 - "Text": "Nevada", 5560 - "Value": "NV", 5561 - "Order": 30 5562 - }, 5563 - { 5564 - "Id": 1794, 5565 - "QuestionId": 11, 5566 - "Text": "New Hampshire", 5567 - "Value": "NH", 5568 - "Order": 31 5569 - }, 5570 - { 5571 - "Id": 1802, 5572 - "QuestionId": 11, 5573 - "Text": "New Jersey", 5574 - "Value": "NJ", 5575 - "Order": 32 5576 - }, 5577 - { 5578 - "Id": 1810, 5579 - "QuestionId": 11, 5580 - "Text": "New Mexico", 5581 - "Value": "NM", 5582 - "Order": 33 5583 - }, 5584 - { 5585 - "Id": 1818, 5586 - "QuestionId": 11, 5587 - "Text": "New York", 5588 - "Value": "NY", 5589 - "Order": 34 5590 - }, 5591 - { 5592 - "Id": 1826, 5593 - "QuestionId": 11, 5594 - "Text": "North Carolina", 5595 - "Value": "NC", 5596 - "Order": 35 5597 - }, 5598 - { 5599 - "Id": 1834, 5600 - "QuestionId": 11, 5601 - "Text": "Ohio", 5602 - "Value": "OH", 5603 - "Order": 37 5604 - }, 5605 - { 5606 - "Id": 1842, 5607 - "QuestionId": 11, 5608 - "Text": "Oklahoma", 5609 - "Value": "OK", 5610 - "Order": 38 5611 - }, 5612 - { 5613 - "Id": 1850, 5614 - "QuestionId": 11, 5615 - "Text": "Oregon", 5616 - "Value": "OR", 5617 - "Order": 39 5618 - }, 5619 - { 5620 - "Id": 1858, 5621 - "QuestionId": 11, 5622 - "Text": "Pennsylvania", 5623 - "Value": "PA", 5624 - "Order": 40 5625 - }, 5626 - { 5627 - "Id": 1866, 5628 - "QuestionId": 11, 5629 - "Text": "Rhode Island", 5630 - "Value": "RI", 5631 - "Order": 41 5632 - }, 5633 - { 5634 - "Id": 1874, 5635 - "QuestionId": 11, 5636 - "Text": "South Carolina", 5637 - "Value": "SC", 5638 - "Order": 42 5639 - }, 5640 - { 5641 - "Id": 1882, 5642 - "QuestionId": 11, 5643 - "Text": "South Dakota", 5644 - "Value": "SD", 5645 - "Order": 43 5646 - }, 5647 - { 5648 - "Id": 1890, 5649 - "QuestionId": 11, 5650 - "Text": "Tennessee", 5651 - "Value": "TN", 5652 - "Order": 44 5653 - }, 5654 - { 5655 - "Id": 1898, 5656 - "QuestionId": 11, 5657 - "Text": "Texas", 5658 - "Value": "TX", 5659 - "Order": 45 5660 - }, 5661 - { 5662 - "Id": 1906, 5663 - "QuestionId": 11, 5664 - "Text": "Utah", 5665 - "Value": "UT", 5666 - "Order": 46 5667 - }, 5668 - { 5669 - "Id": 1914, 5670 - "QuestionId": 11, 5671 - "Text": "Vermont", 5672 - "Value": "VT", 5673 - "Order": 47 5674 - }, 5675 - { 5676 - "Id": 1922, 5677 - "QuestionId": 11, 5678 - "Text": "Virginia", 5679 - "Value": "VA", 5680 - "Order": 48 5681 - }, 5682 - { 5683 - "Id": 1930, 5684 - "QuestionId": 11, 5685 - "Text": "Washington", 5686 - "Value": "WA", 5687 - "Order": 49 5688 - }, 5689 - { 5690 - "Id": 1938, 5691 - "QuestionId": 11, 5692 - "Text": "West Virginia", 5693 - "Value": "WV", 5694 - "Order": 50 5695 - }, 5696 - { 5697 - "Id": 1946, 5698 - "QuestionId": 11, 5699 - "Text": "Wisconsin", 5700 - "Value": "WI", 5701 - "Order": 51 5702 - }, 5703 - { 5704 - "Id": 1954, 5705 - "QuestionId": 11, 5706 - "Text": "Wyoming", 5707 - "Value": "WY", 5708 - "Order": 52 5709 - }, 5710 - { 5711 - "Id": 1962, 5712 - "QuestionId": 11, 5713 - "Text": "American Samoa", 5714 - "Value": "AS", 5715 - "Order": 53 5716 - }, 5717 - { 5718 - "Id": 1970, 5719 - "QuestionId": 11, 5720 - "Text": "North Dakota", 5721 - "Value": "ND", 5722 - "Order": 36 5723 - }, 5724 - { 5725 - "Id": 1978, 5726 - "QuestionId": 11, 5727 - "Text": "Federated States of Micronesia", 5728 - "Value": "FM", 5729 - "Order": 54 5730 - }, 5731 - { 5732 - "Id": 1986, 5733 - "QuestionId": 11, 5734 - "Text": "Guam", 5735 - "Value": "GU", 5736 - "Order": 55 5737 - }, 5738 - { 5739 - "Id": 1994, 5740 - "QuestionId": 11, 5741 - "Text": "Marshall Islands", 5742 - "Value": "MH", 5743 - "Order": 56 5744 - }, 5745 - { 5746 - "Id": 2002, 5747 - "QuestionId": 11, 5748 - "Text": "Northern Mariana Islands", 5749 - "Value": "MP", 5750 - "Order": 57 5751 - }, 5752 - { 5753 - "Id": 2010, 5754 - "QuestionId": 11, 5755 - "Text": "Palau", 5756 - "Value": "PW", 5757 - "Order": 58 5758 - }, 5759 - { 5760 - "Id": 2018, 5761 - "QuestionId": 11, 5762 - "Text": "Puerto Rico", 5763 - "Value": "PR", 5764 - "Order": 59 5765 - }, 5766 - { 5767 - "Id": 2026, 5768 - "QuestionId": 11, 5769 - "Text": "U.S. Virgin Islands", 5770 - "Value": "VI", 5771 - "Order": 60 5772 - }, 5773 - { 5774 - "Id": 2034, 5775 - "QuestionId": 11, 5776 - "Text": "Armed Forces Africa", 5777 - "Value": "AE", 5778 - "Order": 61 5779 - }, 5780 - { 5781 - "Id": 2042, 5782 - "QuestionId": 11, 5783 - "Text": "Armed Forces Americas (except Canada)", 5784 - "Value": "AA", 5785 - "Order": 62 5786 - }, 5787 - { 5788 - "Id": 2050, 5789 - "QuestionId": 11, 5790 - "Text": "Armed Forces Canada", 5791 - "Value": "AE", 5792 - "Order": 63 5793 - }, 5794 - { 5795 - "Id": 2058, 5796 - "QuestionId": 11, 5797 - "Text": "Armed Forces Europe", 5798 - "Value": "AE", 5799 - "Order": 64 5800 - }, 5801 - { 5802 - "Id": 2066, 5803 - "QuestionId": 11, 5804 - "Text": "Armed Forces Middle East", 5805 - "Value": "AE", 5806 - "Order": 65 5807 - }, 5808 - { 5809 - "Id": 2074, 5810 - "QuestionId": 11, 5811 - "Text": "Armed Forces Pacific", 5812 - "Value": "AP", 5813 - "Order": 66 5814 - }, 5815 - { 5816 - "Id": 2082, 5817 - "QuestionId": 11, 5818 - "Text": "Non-US/Not Applicable", 5819 - "Value": "Non-US/Not Applicable", 5820 - "Order": 67 5821 - }, 5822 - { 5823 - "Id": 2090, 5824 - "QuestionId": 11, 5825 - "Text": "Ontario", 5826 - "Value": "Ontario", 5827 - "Order": 68 5828 - }, 5829 - { 5830 - "Id": 2098, 5831 - "QuestionId": 11, 5832 - "Text": "Quebec", 5833 - "Value": "Quebec", 5834 - "Order": 69 5835 - }, 5836 - { 5837 - "Id": 2106, 5838 - "QuestionId": 11, 5839 - "Text": "Nova Scotia", 5840 - "Value": "Nova Scotia", 5841 - "Order": 70 5842 - }, 5843 - { 5844 - "Id": 2114, 5845 - "QuestionId": 11, 5846 - "Text": "New Brunswick", 5847 - "Value": "New Brunswick", 5848 - "Order": 71 5849 - }, 5850 - { 5851 - "Id": 2122, 5852 - "QuestionId": 11, 5853 - "Text": "Manitoba", 5854 - "Value": "Manitoba", 5855 - "Order": 72 5856 - }, 5857 - { 5858 - "Id": 2130, 5859 - "QuestionId": 11, 5860 - "Text": "Brittish Columbia", 5861 - "Value": "Brittish Columbia", 5862 - "Order": 73 5863 - }, 5864 - { 5865 - "Id": 2138, 5866 - "QuestionId": 11, 5867 - "Text": "Prince Edward Island", 5868 - "Value": "Prince Edward Island", 5869 - "Order": 74 5870 - }, 5871 - { 5872 - "Id": 2146, 5873 - "QuestionId": 11, 5874 - "Text": "Saskatchewan", 5875 - "Value": "Saskatchewan", 5876 - "Order": 75 5877 - }, 5878 - { 5879 - "Id": 2154, 5880 - "QuestionId": 11, 5881 - "Text": "Alberta", 5882 - "Value": "Alberta", 5883 - "Order": 76 5884 - }, 5885 - { 5886 - "Id": 2162, 5887 - "QuestionId": 11, 5888 - "Text": "Newfoundland and Labrador", 5889 - "Value": "Newfoundland and Labrador", 5890 - "Order": 77 5891 - }, 5892 - { 5893 - "Id": 2170, 5894 - "QuestionId": 11, 5895 - "Text": "British Columbia", 5896 - "Value": "British Columbia", 5897 - "Order": 78 5898 - }, 5899 - { 5900 - "Id": 2178, 5901 - "QuestionId": 11, 5902 - "Text": "Ontario", 5903 - "Value": "ON", 5904 - "Order": 79 5905 - } 5906 - ] 5907 - }, 5908 - { 5909 - "Id": 13, 5910 - "Text": "Country", 5911 - "Type": "4", 5912 - "Alias": "Country", 5913 - "Choices": [ 5914 - { 5915 - "Id": 2, 5916 - "QuestionId": 13, 5917 - "Text": "Select One", 5918 - "Value": "", 5919 - "Order": 1 5920 - }, 5921 - { 5922 - "Id": 10, 5923 - "QuestionId": 13, 5924 - "Text": "Afghanistan", 5925 - "Value": "Afghanistan", 5926 - "Order": 3 5927 - }, 5928 - { 5929 - "Id": 18, 5930 - "QuestionId": 13, 5931 - "Text": "Albania", 5932 - "Value": "Albania", 5933 - "Order": 4 5934 - }, 5935 - { 5936 - "Id": 26, 5937 - "QuestionId": 13, 5938 - "Text": "Algeria", 5939 - "Value": "Algeria", 5940 - "Order": 5 5941 - }, 5942 - { 5943 - "Id": 34, 5944 - "QuestionId": 13, 5945 - "Text": "Andorra", 5946 - "Value": "Andorra", 5947 - "Order": 6 5948 - }, 5949 - { 5950 - "Id": 42, 5951 - "QuestionId": 13, 5952 - "Text": "Angola", 5953 - "Value": "Angola", 5954 - "Order": 7 5955 - }, 5956 - { 5957 - "Id": 50, 5958 - "QuestionId": 13, 5959 - "Text": "Antigua and Barbuda", 5960 - "Value": "Antigua and Barbuda", 5961 - "Order": 8 5962 - }, 5963 - { 5964 - "Id": 58, 5965 - "QuestionId": 13, 5966 - "Text": "Argentina", 5967 - "Value": "Argentina", 5968 - "Order": 9 5969 - }, 5970 - { 5971 - "Id": 66, 5972 - "QuestionId": 13, 5973 - "Text": "Armenia", 5974 - "Value": "Armenia", 5975 - "Order": 10 5976 - }, 5977 - { 5978 - "Id": 74, 5979 - "QuestionId": 13, 5980 - "Text": "Australia", 5981 - "Value": "Australia", 5982 - "Order": 11 5983 - }, 5984 - { 5985 - "Id": 82, 5986 - "QuestionId": 13, 5987 - "Text": "Austria", 5988 - "Value": "Austria", 5989 - "Order": 12 5990 - }, 5991 - { 5992 - "Id": 90, 5993 - "QuestionId": 13, 5994 - "Text": "Azerbaijan", 5995 - "Value": "Azerbaijan", 5996 - "Order": 13 5997 - }, 5998 - { 5999 - "Id": 98, 6000 - "QuestionId": 13, 6001 - "Text": "Bahamas", 6002 - "Value": "Bahamas", 6003 - "Order": 14 6004 - }, 6005 - { 6006 - "Id": 106, 6007 - "QuestionId": 13, 6008 - "Text": "Bahrain", 6009 - "Value": "Bahrain", 6010 - "Order": 15 6011 - }, 6012 - { 6013 - "Id": 114, 6014 - "QuestionId": 13, 6015 - "Text": "Bangladesh", 6016 - "Value": "Bangladesh", 6017 - "Order": 16 6018 - }, 6019 - { 6020 - "Id": 122, 6021 - "QuestionId": 13, 6022 - "Text": "Barbados", 6023 - "Value": "Barbados", 6024 - "Order": 17 6025 - }, 6026 - { 6027 - "Id": 130, 6028 - "QuestionId": 13, 6029 - "Text": "Belarus", 6030 - "Value": "Belarus", 6031 - "Order": 18 6032 - }, 6033 - { 6034 - "Id": 138, 6035 - "QuestionId": 13, 6036 - "Text": "Belgium", 6037 - "Value": "Belgium", 6038 - "Order": 19 6039 - }, 6040 - { 6041 - "Id": 146, 6042 - "QuestionId": 13, 6043 - "Text": "Belize", 6044 - "Value": "Belize", 6045 - "Order": 20 6046 - }, 6047 - { 6048 - "Id": 154, 6049 - "QuestionId": 13, 6050 - "Text": "Benin", 6051 - "Value": "Benin", 6052 - "Order": 21 6053 - }, 6054 - { 6055 - "Id": 162, 6056 - "QuestionId": 13, 6057 - "Text": "Bhutan", 6058 - "Value": "Bhutan", 6059 - "Order": 22 6060 - }, 6061 - { 6062 - "Id": 170, 6063 - "QuestionId": 13, 6064 - "Text": "Bolivia", 6065 - "Value": "Bolivia", 6066 - "Order": 23 6067 - }, 6068 - { 6069 - "Id": 178, 6070 - "QuestionId": 13, 6071 - "Text": "Bosnia and Herzegovina", 6072 - "Value": "Bosnia and Herzegovina", 6073 - "Order": 24 6074 - }, 6075 - { 6076 - "Id": 186, 6077 - "QuestionId": 13, 6078 - "Text": "Botswana", 6079 - "Value": "Botswana", 6080 - "Order": 25 6081 - }, 6082 - { 6083 - "Id": 194, 6084 - "QuestionId": 13, 6085 - "Text": "Brazil", 6086 - "Value": "Brazil", 6087 - "Order": 26 6088 - }, 6089 - { 6090 - "Id": 202, 6091 - "QuestionId": 13, 6092 - "Text": "Brunei", 6093 - "Value": "Brunei", 6094 - "Order": 27 6095 - }, 6096 - { 6097 - "Id": 210, 6098 - "QuestionId": 13, 6099 - "Text": "Bulgaria", 6100 - "Value": "Bulgaria", 6101 - "Order": 28 6102 - }, 6103 - { 6104 - "Id": 218, 6105 - "QuestionId": 13, 6106 - "Text": "Burkina Faso", 6107 - "Value": "Burkina Faso", 6108 - "Order": 29 6109 - }, 6110 - { 6111 - "Id": 226, 6112 - "QuestionId": 13, 6113 - "Text": "Burundi", 6114 - "Value": "Burundi", 6115 - "Order": 30 6116 - }, 6117 - { 6118 - "Id": 234, 6119 - "QuestionId": 13, 6120 - "Text": "Cambodia", 6121 - "Value": "Cambodia", 6122 - "Order": 31 6123 - }, 6124 - { 6125 - "Id": 242, 6126 - "QuestionId": 13, 6127 - "Text": "Cameroon", 6128 - "Value": "Cameroon", 6129 - "Order": 32 6130 - }, 6131 - { 6132 - "Id": 250, 6133 - "QuestionId": 13, 6134 - "Text": "Canada", 6135 - "Value": "Canada", 6136 - "Order": 33 6137 - }, 6138 - { 6139 - "Id": 258, 6140 - "QuestionId": 13, 6141 - "Text": "Cape Verde", 6142 - "Value": "Cape Verde", 6143 - "Order": 34 6144 - }, 6145 - { 6146 - "Id": 266, 6147 - "QuestionId": 13, 6148 - "Text": "Central African Republic", 6149 - "Value": "Central African Republic", 6150 - "Order": 35 6151 - }, 6152 - { 6153 - "Id": 274, 6154 - "QuestionId": 13, 6155 - "Text": "Chad", 6156 - "Value": "Chad", 6157 - "Order": 36 6158 - }, 6159 - { 6160 - "Id": 282, 6161 - "QuestionId": 13, 6162 - "Text": "Chile", 6163 - "Value": "Chile", 6164 - "Order": 37 6165 - }, 6166 - { 6167 - "Id": 290, 6168 - "QuestionId": 13, 6169 - "Text": "China", 6170 - "Value": "China", 6171 - "Order": 38 6172 - }, 6173 - { 6174 - "Id": 298, 6175 - "QuestionId": 13, 6176 - "Text": "Colombia", 6177 - "Value": "Colombia", 6178 - "Order": 39 6179 - }, 6180 - { 6181 - "Id": 306, 6182 - "QuestionId": 13, 6183 - "Text": "Comoros", 6184 - "Value": "Comoros", 6185 - "Order": 40 6186 - }, 6187 - { 6188 - "Id": 314, 6189 - "QuestionId": 13, 6190 - "Text": "Congo (Brazzaville)", 6191 - "Value": "Congo (Brazzaville)", 6192 - "Order": 41 6193 - }, 6194 - { 6195 - "Id": 322, 6196 - "QuestionId": 13, 6197 - "Text": "Congo", 6198 - "Value": "Congo", 6199 - "Order": 42 6200 - }, 6201 - { 6202 - "Id": 330, 6203 - "QuestionId": 13, 6204 - "Text": "Costa Rica", 6205 - "Value": "Costa Rica", 6206 - "Order": 43 6207 - }, 6208 - { 6209 - "Id": 338, 6210 - "QuestionId": 13, 6211 - "Text": "Cote d'Ivoire", 6212 - "Value": "Cote d'Ivoire", 6213 - "Order": 44 6214 - }, 6215 - { 6216 - "Id": 346, 6217 - "QuestionId": 13, 6218 - "Text": "Croatia", 6219 - "Value": "Croatia", 6220 - "Order": 45 6221 - }, 6222 - { 6223 - "Id": 354, 6224 - "QuestionId": 13, 6225 - "Text": "Cuba", 6226 - "Value": "Cuba", 6227 - "Order": 46 6228 - }, 6229 - { 6230 - "Id": 362, 6231 - "QuestionId": 13, 6232 - "Text": "Cyprus", 6233 - "Value": "Cyprus", 6234 - "Order": 47 6235 - }, 6236 - { 6237 - "Id": 370, 6238 - "QuestionId": 13, 6239 - "Text": "Czech Republic", 6240 - "Value": "Czech Republic", 6241 - "Order": 48 6242 - }, 6243 - { 6244 - "Id": 378, 6245 - "QuestionId": 13, 6246 - "Text": "Denmark", 6247 - "Value": "Denmark", 6248 - "Order": 49 6249 - }, 6250 - { 6251 - "Id": 386, 6252 - "QuestionId": 13, 6253 - "Text": "Djibouti", 6254 - "Value": "Djibouti", 6255 - "Order": 50 6256 - }, 6257 - { 6258 - "Id": 394, 6259 - "QuestionId": 13, 6260 - "Text": "Dominica", 6261 - "Value": "Dominica", 6262 - "Order": 51 6263 - }, 6264 - { 6265 - "Id": 402, 6266 - "QuestionId": 13, 6267 - "Text": "Dominican Republic", 6268 - "Value": "Dominican Republic", 6269 - "Order": 52 6270 - }, 6271 - { 6272 - "Id": 410, 6273 - "QuestionId": 13, 6274 - "Text": "East Timor", 6275 - "Value": "East Timor", 6276 - "Order": 53 6277 - }, 6278 - { 6279 - "Id": 418, 6280 - "QuestionId": 13, 6281 - "Text": "Ecuador", 6282 - "Value": "Ecuador", 6283 - "Order": 54 6284 - }, 6285 - { 6286 - "Id": 426, 6287 - "QuestionId": 13, 6288 - "Text": "Egypt", 6289 - "Value": "Egypt", 6290 - "Order": 55 6291 - }, 6292 - { 6293 - "Id": 434, 6294 - "QuestionId": 13, 6295 - "Text": "El Salvador", 6296 - "Value": "El Salvador", 6297 - "Order": 56 6298 - }, 6299 - { 6300 - "Id": 442, 6301 - "QuestionId": 13, 6302 - "Text": "Equatorial Guinea", 6303 - "Value": "Equatorial Guinea", 6304 - "Order": 57 6305 - }, 6306 - { 6307 - "Id": 450, 6308 - "QuestionId": 13, 6309 - "Text": "Eritrea", 6310 - "Value": "Eritrea", 6311 - "Order": 58 6312 - }, 6313 - { 6314 - "Id": 458, 6315 - "QuestionId": 13, 6316 - "Text": "Estonia", 6317 - "Value": "Estonia", 6318 - "Order": 59 6319 - }, 6320 - { 6321 - "Id": 466, 6322 - "QuestionId": 13, 6323 - "Text": "Ethiopia", 6324 - "Value": "Ethiopia", 6325 - "Order": 60 6326 - }, 6327 - { 6328 - "Id": 474, 6329 - "QuestionId": 13, 6330 - "Text": "Fiji", 6331 - "Value": "Fiji", 6332 - "Order": 61 6333 - }, 6334 - { 6335 - "Id": 482, 6336 - "QuestionId": 13, 6337 - "Text": "Finland", 6338 - "Value": "Finland", 6339 - "Order": 62 6340 - }, 6341 - { 6342 - "Id": 490, 6343 - "QuestionId": 13, 6344 - "Text": "France", 6345 - "Value": "France", 6346 - "Order": 63 6347 - }, 6348 - { 6349 - "Id": 498, 6350 - "QuestionId": 13, 6351 - "Text": "Gabon", 6352 - "Value": "Gabon", 6353 - "Order": 64 6354 - }, 6355 - { 6356 - "Id": 506, 6357 - "QuestionId": 13, 6358 - "Text": "Gambia, The", 6359 - "Value": "Gambia, The", 6360 - "Order": 65 6361 - }, 6362 - { 6363 - "Id": 514, 6364 - "QuestionId": 13, 6365 - "Text": "Georgia", 6366 - "Value": "Georgia", 6367 - "Order": 66 6368 - }, 6369 - { 6370 - "Id": 522, 6371 - "QuestionId": 13, 6372 - "Text": "Germany", 6373 - "Value": "Germany", 6374 - "Order": 67 6375 - }, 6376 - { 6377 - "Id": 530, 6378 - "QuestionId": 13, 6379 - "Text": "Ghana", 6380 - "Value": "Ghana", 6381 - "Order": 68 6382 - }, 6383 - { 6384 - "Id": 538, 6385 - "QuestionId": 13, 6386 - "Text": "Greece", 6387 - "Value": "Greece", 6388 - "Order": 69 6389 - }, 6390 - { 6391 - "Id": 546, 6392 - "QuestionId": 13, 6393 - "Text": "Grenada", 6394 - "Value": "Grenada", 6395 - "Order": 70 6396 - }, 6397 - { 6398 - "Id": 554, 6399 - "QuestionId": 13, 6400 - "Text": "Guatemala", 6401 - "Value": "Guatemala", 6402 - "Order": 71 6403 - }, 6404 - { 6405 - "Id": 562, 6406 - "QuestionId": 13, 6407 - "Text": "Guinea", 6408 - "Value": "Guinea", 6409 - "Order": 72 6410 - }, 6411 - { 6412 - "Id": 570, 6413 - "QuestionId": 13, 6414 - "Text": "Guinea-Bissau", 6415 - "Value": "Guinea-Bissau", 6416 - "Order": 73 6417 - }, 6418 - { 6419 - "Id": 578, 6420 - "QuestionId": 13, 6421 - "Text": "Guyana", 6422 - "Value": "Guyana", 6423 - "Order": 74 6424 - }, 6425 - { 6426 - "Id": 586, 6427 - "QuestionId": 13, 6428 - "Text": "Haiti", 6429 - "Value": "Haiti", 6430 - "Order": 75 6431 - }, 6432 - { 6433 - "Id": 594, 6434 - "QuestionId": 13, 6435 - "Text": "Honduras", 6436 - "Value": "Honduras", 6437 - "Order": 76 6438 - }, 6439 - { 6440 - "Id": 602, 6441 - "QuestionId": 13, 6442 - "Text": "Hungary", 6443 - "Value": "Hungary", 6444 - "Order": 77 6445 - }, 6446 - { 6447 - "Id": 610, 6448 - "QuestionId": 13, 6449 - "Text": "Iceland", 6450 - "Value": "Iceland", 6451 - "Order": 78 6452 - }, 6453 - { 6454 - "Id": 618, 6455 - "QuestionId": 13, 6456 - "Text": "India", 6457 - "Value": "India", 6458 - "Order": 79 6459 - }, 6460 - { 6461 - "Id": 626, 6462 - "QuestionId": 13, 6463 - "Text": "Indonesia", 6464 - "Value": "Indonesia", 6465 - "Order": 80 6466 - }, 6467 - { 6468 - "Id": 634, 6469 - "QuestionId": 13, 6470 - "Text": "Iran", 6471 - "Value": "Iran", 6472 - "Order": 81 6473 - }, 6474 - { 6475 - "Id": 642, 6476 - "QuestionId": 13, 6477 - "Text": "Iraq", 6478 - "Value": "Iraq", 6479 - "Order": 82 6480 - }, 6481 - { 6482 - "Id": 650, 6483 - "QuestionId": 13, 6484 - "Text": "Ireland", 6485 - "Value": "Ireland", 6486 - "Order": 83 6487 - }, 6488 - { 6489 - "Id": 658, 6490 - "QuestionId": 13, 6491 - "Text": "Israel", 6492 - "Value": "Israel", 6493 - "Order": 84 6494 - }, 6495 - { 6496 - "Id": 666, 6497 - "QuestionId": 13, 6498 - "Text": "Italy", 6499 - "Value": "Italy", 6500 - "Order": 85 6501 - }, 6502 - { 6503 - "Id": 674, 6504 - "QuestionId": 13, 6505 - "Text": "Jamaica", 6506 - "Value": "Jamaica", 6507 - "Order": 86 6508 - }, 6509 - { 6510 - "Id": 682, 6511 - "QuestionId": 13, 6512 - "Text": "Japan", 6513 - "Value": "Japan", 6514 - "Order": 87 6515 - }, 6516 - { 6517 - "Id": 690, 6518 - "QuestionId": 13, 6519 - "Text": "Jordan", 6520 - "Value": "Jordan", 6521 - "Order": 88 6522 - }, 6523 - { 6524 - "Id": 698, 6525 - "QuestionId": 13, 6526 - "Text": "Kazakhstan", 6527 - "Value": "Kazakhstan", 6528 - "Order": 89 6529 - }, 6530 - { 6531 - "Id": 706, 6532 - "QuestionId": 13, 6533 - "Text": "Kenya", 6534 - "Value": "Kenya", 6535 - "Order": 90 6536 - }, 6537 - { 6538 - "Id": 714, 6539 - "QuestionId": 13, 6540 - "Text": "Kiribati", 6541 - "Value": "Kiribati", 6542 - "Order": 91 6543 - }, 6544 - { 6545 - "Id": 722, 6546 - "QuestionId": 13, 6547 - "Text": "Korea, North", 6548 - "Value": "Korea, North", 6549 - "Order": 92 6550 - }, 6551 - { 6552 - "Id": 730, 6553 - "QuestionId": 13, 6554 - "Text": "Korea, South", 6555 - "Value": "Korea, South", 6556 - "Order": 93 6557 - }, 6558 - { 6559 - "Id": 738, 6560 - "QuestionId": 13, 6561 - "Text": "Kuwait", 6562 - "Value": "Kuwait", 6563 - "Order": 94 6564 - }, 6565 - { 6566 - "Id": 746, 6567 - "QuestionId": 13, 6568 - "Text": "Kyrgyzstan", 6569 - "Value": "Kyrgyzstan", 6570 - "Order": 95 6571 - }, 6572 - { 6573 - "Id": 754, 6574 - "QuestionId": 13, 6575 - "Text": "Laos", 6576 - "Value": "Laos", 6577 - "Order": 96 6578 - }, 6579 - { 6580 - "Id": 762, 6581 - "QuestionId": 13, 6582 - "Text": "Latvia", 6583 - "Value": "Latvia", 6584 - "Order": 97 6585 - }, 6586 - { 6587 - "Id": 770, 6588 - "QuestionId": 13, 6589 - "Text": "Lebanon", 6590 - "Value": "Lebanon", 6591 - "Order": 98 6592 - }, 6593 - { 6594 - "Id": 778, 6595 - "QuestionId": 13, 6596 - "Text": "Lesotho", 6597 - "Value": "Lesotho", 6598 - "Order": 99 6599 - }, 6600 - { 6601 - "Id": 786, 6602 - "QuestionId": 13, 6603 - "Text": "Liberia", 6604 - "Value": "Liberia", 6605 - "Order": 100 6606 - }, 6607 - { 6608 - "Id": 794, 6609 - "QuestionId": 13, 6610 - "Text": "Libya", 6611 - "Value": "Libya", 6612 - "Order": 101 6613 - }, 6614 - { 6615 - "Id": 802, 6616 - "QuestionId": 13, 6617 - "Text": "Liechtenstein", 6618 - "Value": "Liechtenstein", 6619 - "Order": 102 6620 - }, 6621 - { 6622 - "Id": 810, 6623 - "QuestionId": 13, 6624 - "Text": "Lithuania", 6625 - "Value": "Lithuania", 6626 - "Order": 103 6627 - }, 6628 - { 6629 - "Id": 818, 6630 - "QuestionId": 13, 6631 - "Text": "Luxembourg", 6632 - "Value": "Luxembourg", 6633 - "Order": 104 6634 - }, 6635 - { 6636 - "Id": 826, 6637 - "QuestionId": 13, 6638 - "Text": "Macedonia", 6639 - "Value": "Macedonia", 6640 - "Order": 105 6641 - }, 6642 - { 6643 - "Id": 834, 6644 - "QuestionId": 13, 6645 - "Text": "Madagascar", 6646 - "Value": "Madagascar", 6647 - "Order": 106 6648 - }, 6649 - { 6650 - "Id": 842, 6651 - "QuestionId": 13, 6652 - "Text": "Malawi", 6653 - "Value": "Malawi", 6654 - "Order": 107 6655 - }, 6656 - { 6657 - "Id": 850, 6658 - "QuestionId": 13, 6659 - "Text": "Malaysia", 6660 - "Value": "Malaysia", 6661 - "Order": 108 6662 - }, 6663 - { 6664 - "Id": 858, 6665 - "QuestionId": 13, 6666 - "Text": "Maldives", 6667 - "Value": "Maldives", 6668 - "Order": 109 6669 - }, 6670 - { 6671 - "Id": 866, 6672 - "QuestionId": 13, 6673 - "Text": "Mali", 6674 - "Value": "Mali", 6675 - "Order": 110 6676 - }, 6677 - { 6678 - "Id": 874, 6679 - "QuestionId": 13, 6680 - "Text": "Malta", 6681 - "Value": "Malta", 6682 - "Order": 111 6683 - }, 6684 - { 6685 - "Id": 882, 6686 - "QuestionId": 13, 6687 - "Text": "Marshall Islands", 6688 - "Value": "Marshall Islands", 6689 - "Order": 112 6690 - }, 6691 - { 6692 - "Id": 890, 6693 - "QuestionId": 13, 6694 - "Text": "Mauritania", 6695 - "Value": "Mauritania", 6696 - "Order": 113 6697 - }, 6698 - { 6699 - "Id": 898, 6700 - "QuestionId": 13, 6701 - "Text": "Mauritius", 6702 - "Value": "Mauritius", 6703 - "Order": 114 6704 - }, 6705 - { 6706 - "Id": 906, 6707 - "QuestionId": 13, 6708 - "Text": "Mexico", 6709 - "Value": "Mexico", 6710 - "Order": 115 6711 - }, 6712 - { 6713 - "Id": 914, 6714 - "QuestionId": 13, 6715 - "Text": "Micronesia", 6716 - "Value": "Micronesia", 6717 - "Order": 116 6718 - }, 6719 - { 6720 - "Id": 922, 6721 - "QuestionId": 13, 6722 - "Text": "Moldova", 6723 - "Value": "Moldova", 6724 - "Order": 117 6725 - }, 6726 - { 6727 - "Id": 930, 6728 - "QuestionId": 13, 6729 - "Text": "Monaco", 6730 - "Value": "Monaco", 6731 - "Order": 118 6732 - }, 6733 - { 6734 - "Id": 938, 6735 - "QuestionId": 13, 6736 - "Text": "Mongolia", 6737 - "Value": "Mongolia", 6738 - "Order": 119 6739 - }, 6740 - { 6741 - "Id": 946, 6742 - "QuestionId": 13, 6743 - "Text": "Morocco", 6744 - "Value": "Morocco", 6745 - "Order": 120 6746 - }, 6747 - { 6748 - "Id": 954, 6749 - "QuestionId": 13, 6750 - "Text": "Mozambique", 6751 - "Value": "Mozambique", 6752 - "Order": 121 6753 - }, 6754 - { 6755 - "Id": 962, 6756 - "QuestionId": 13, 6757 - "Text": "Myanmar", 6758 - "Value": "Myanmar", 6759 - "Order": 122 6760 - }, 6761 - { 6762 - "Id": 970, 6763 - "QuestionId": 13, 6764 - "Text": "Namibia", 6765 - "Value": "Namibia", 6766 - "Order": 123 6767 - }, 6768 - { 6769 - "Id": 978, 6770 - "QuestionId": 13, 6771 - "Text": "Nauru", 6772 - "Value": "Nauru", 6773 - "Order": 124 6774 - }, 6775 - { 6776 - "Id": 986, 6777 - "QuestionId": 13, 6778 - "Text": "Nepa", 6779 - "Value": "Nepa", 6780 - "Order": 125 6781 - }, 6782 - { 6783 - "Id": 994, 6784 - "QuestionId": 13, 6785 - "Text": "Netherlands", 6786 - "Value": "Netherlands", 6787 - "Order": 126 6788 - }, 6789 - { 6790 - "Id": 1002, 6791 - "QuestionId": 13, 6792 - "Text": "New Zealand", 6793 - "Value": "New Zealand", 6794 - "Order": 127 6795 - }, 6796 - { 6797 - "Id": 1010, 6798 - "QuestionId": 13, 6799 - "Text": "Nicaragua", 6800 - "Value": "Nicaragua", 6801 - "Order": 128 6802 - }, 6803 - { 6804 - "Id": 1018, 6805 - "QuestionId": 13, 6806 - "Text": "Niger", 6807 - "Value": "Niger", 6808 - "Order": 129 6809 - }, 6810 - { 6811 - "Id": 1026, 6812 - "QuestionId": 13, 6813 - "Text": "Nigeria", 6814 - "Value": "Nigeria", 6815 - "Order": 130 6816 - }, 6817 - { 6818 - "Id": 1034, 6819 - "QuestionId": 13, 6820 - "Text": "Norway", 6821 - "Value": "Norway", 6822 - "Order": 131 6823 - }, 6824 - { 6825 - "Id": 1042, 6826 - "QuestionId": 13, 6827 - "Text": "Oman", 6828 - "Value": "Oman", 6829 - "Order": 132 6830 - }, 6831 - { 6832 - "Id": 1050, 6833 - "QuestionId": 13, 6834 - "Text": "Pakistan", 6835 - "Value": "Pakistan", 6836 - "Order": 133 6837 - }, 6838 - { 6839 - "Id": 1058, 6840 - "QuestionId": 13, 6841 - "Text": "Palau", 6842 - "Value": "Palau", 6843 - "Order": 134 6844 - }, 6845 - { 6846 - "Id": 1066, 6847 - "QuestionId": 13, 6848 - "Text": "Panama", 6849 - "Value": "Panama", 6850 - "Order": 135 6851 - }, 6852 - { 6853 - "Id": 1074, 6854 - "QuestionId": 13, 6855 - "Text": "Papua New Guinea", 6856 - "Value": "Papua New Guinea", 6857 - "Order": 136 6858 - }, 6859 - { 6860 - "Id": 1082, 6861 - "QuestionId": 13, 6862 - "Text": "Paraguay", 6863 - "Value": "Paraguay", 6864 - "Order": 137 6865 - }, 6866 - { 6867 - "Id": 1090, 6868 - "QuestionId": 13, 6869 - "Text": "Peru", 6870 - "Value": "Peru", 6871 - "Order": 138 6872 - }, 6873 - { 6874 - "Id": 1098, 6875 - "QuestionId": 13, 6876 - "Text": "Philippines", 6877 - "Value": "Philippines", 6878 - "Order": 139 6879 - }, 6880 - { 6881 - "Id": 1106, 6882 - "QuestionId": 13, 6883 - "Text": "Poland", 6884 - "Value": "Poland", 6885 - "Order": 140 6886 - }, 6887 - { 6888 - "Id": 1114, 6889 - "QuestionId": 13, 6890 - "Text": "Portugal", 6891 - "Value": "Portugal", 6892 - "Order": 141 6893 - }, 6894 - { 6895 - "Id": 1122, 6896 - "QuestionId": 13, 6897 - "Text": "Qatar", 6898 - "Value": "Qatar", 6899 - "Order": 142 6900 - }, 6901 - { 6902 - "Id": 1130, 6903 - "QuestionId": 13, 6904 - "Text": "Romania", 6905 - "Value": "Romania", 6906 - "Order": 143 6907 - }, 6908 - { 6909 - "Id": 1138, 6910 - "QuestionId": 13, 6911 - "Text": "Russia", 6912 - "Value": "Russia", 6913 - "Order": 144 6914 - }, 6915 - { 6916 - "Id": 1146, 6917 - "QuestionId": 13, 6918 - "Text": "Rwanda", 6919 - "Value": "Rwanda", 6920 - "Order": 145 6921 - }, 6922 - { 6923 - "Id": 1154, 6924 - "QuestionId": 13, 6925 - "Text": "Saint Kitts and Nevis", 6926 - "Value": "Saint Kitts and Nevis", 6927 - "Order": 146 6928 - }, 6929 - { 6930 - "Id": 1162, 6931 - "QuestionId": 13, 6932 - "Text": "Saint Lucia", 6933 - "Value": "Saint Lucia", 6934 - "Order": 147 6935 - }, 6936 - { 6937 - "Id": 1170, 6938 - "QuestionId": 13, 6939 - "Text": "Saint Vincent", 6940 - "Value": "Saint Vincent", 6941 - "Order": 148 6942 - }, 6943 - { 6944 - "Id": 1178, 6945 - "QuestionId": 13, 6946 - "Text": "Samoa", 6947 - "Value": "Samoa", 6948 - "Order": 149 6949 - }, 6950 - { 6951 - "Id": 1186, 6952 - "QuestionId": 13, 6953 - "Text": "San Marino", 6954 - "Value": "San Marino", 6955 - "Order": 150 6956 - }, 6957 - { 6958 - "Id": 1194, 6959 - "QuestionId": 13, 6960 - "Text": "Sao Tome and Principe", 6961 - "Value": "Sao Tome and Principe", 6962 - "Order": 151 6963 - }, 6964 - { 6965 - "Id": 1202, 6966 - "QuestionId": 13, 6967 - "Text": "Saudi Arabia", 6968 - "Value": "Saudi Arabia", 6969 - "Order": 152 6970 - }, 6971 - { 6972 - "Id": 1210, 6973 - "QuestionId": 13, 6974 - "Text": "Senegal", 6975 - "Value": "Senegal", 6976 - "Order": 153 6977 - }, 6978 - { 6979 - "Id": 1218, 6980 - "QuestionId": 13, 6981 - "Text": "Serbia and Montenegro", 6982 - "Value": "Serbia and Montenegro", 6983 - "Order": 154 6984 - }, 6985 - { 6986 - "Id": 1226, 6987 - "QuestionId": 13, 6988 - "Text": "Seychelles", 6989 - "Value": "Seychelles", 6990 - "Order": 155 6991 - }, 6992 - { 6993 - "Id": 1234, 6994 - "QuestionId": 13, 6995 - "Text": "Sierra Leone", 6996 - "Value": "Sierra Leone", 6997 - "Order": 156 6998 - }, 6999 - { 7000 - "Id": 1242, 7001 - "QuestionId": 13, 7002 - "Text": "Singapore", 7003 - "Value": "Singapore", 7004 - "Order": 157 7005 - }, 7006 - { 7007 - "Id": 1250, 7008 - "QuestionId": 13, 7009 - "Text": "Slovakia", 7010 - "Value": "Slovakia", 7011 - "Order": 158 7012 - }, 7013 - { 7014 - "Id": 1258, 7015 - "QuestionId": 13, 7016 - "Text": "Slovenia", 7017 - "Value": "Slovenia", 7018 - "Order": 159 7019 - }, 7020 - { 7021 - "Id": 1266, 7022 - "QuestionId": 13, 7023 - "Text": "Solomon Islands", 7024 - "Value": "Solomon Islands", 7025 - "Order": 160 7026 - }, 7027 - { 7028 - "Id": 1274, 7029 - "QuestionId": 13, 7030 - "Text": "Somalia", 7031 - "Value": "Somalia", 7032 - "Order": 161 7033 - }, 7034 - { 7035 - "Id": 1282, 7036 - "QuestionId": 13, 7037 - "Text": "South Africa", 7038 - "Value": "South Africa", 7039 - "Order": 162 7040 - }, 7041 - { 7042 - "Id": 1290, 7043 - "QuestionId": 13, 7044 - "Text": "Spain", 7045 - "Value": "Spain", 7046 - "Order": 163 7047 - }, 7048 - { 7049 - "Id": 1298, 7050 - "QuestionId": 13, 7051 - "Text": "Sri Lanka", 7052 - "Value": "Sri Lanka", 7053 - "Order": 164 7054 - }, 7055 - { 7056 - "Id": 1306, 7057 - "QuestionId": 13, 7058 - "Text": "Sudan", 7059 - "Value": "Sudan", 7060 - "Order": 165 7061 - }, 7062 - { 7063 - "Id": 1314, 7064 - "QuestionId": 13, 7065 - "Text": "Suriname", 7066 - "Value": "Suriname", 7067 - "Order": 166 7068 - }, 7069 - { 7070 - "Id": 1322, 7071 - "QuestionId": 13, 7072 - "Text": "Swaziland", 7073 - "Value": "Swaziland", 7074 - "Order": 167 7075 - }, 7076 - { 7077 - "Id": 1330, 7078 - "QuestionId": 13, 7079 - "Text": "Sweden", 7080 - "Value": "Sweden", 7081 - "Order": 168 7082 - }, 7083 - { 7084 - "Id": 1338, 7085 - "QuestionId": 13, 7086 - "Text": "Switzerland", 7087 - "Value": "Switzerland", 7088 - "Order": 169 7089 - }, 7090 - { 7091 - "Id": 1346, 7092 - "QuestionId": 13, 7093 - "Text": "Syria", 7094 - "Value": "Syria", 7095 - "Order": 170 7096 - }, 7097 - { 7098 - "Id": 1354, 7099 - "QuestionId": 13, 7100 - "Text": "Taiwan", 7101 - "Value": "Taiwan", 7102 - "Order": 171 7103 - }, 7104 - { 7105 - "Id": 1362, 7106 - "QuestionId": 13, 7107 - "Text": "Tajikistan", 7108 - "Value": "Tajikistan", 7109 - "Order": 172 7110 - }, 7111 - { 7112 - "Id": 1370, 7113 - "QuestionId": 13, 7114 - "Text": "Tanzania", 7115 - "Value": "Tanzania", 7116 - "Order": 173 7117 - }, 7118 - { 7119 - "Id": 1378, 7120 - "QuestionId": 13, 7121 - "Text": "Thailand", 7122 - "Value": "Thailand", 7123 - "Order": 174 7124 - }, 7125 - { 7126 - "Id": 1386, 7127 - "QuestionId": 13, 7128 - "Text": "Togo", 7129 - "Value": "Togo", 7130 - "Order": 175 7131 - }, 7132 - { 7133 - "Id": 1394, 7134 - "QuestionId": 13, 7135 - "Text": "Tonga", 7136 - "Value": "Tonga", 7137 - "Order": 176 7138 - }, 7139 - { 7140 - "Id": 1402, 7141 - "QuestionId": 13, 7142 - "Text": "Trinidad and Tobago", 7143 - "Value": "Trinidad and Tobago", 7144 - "Order": 177 7145 - }, 7146 - { 7147 - "Id": 1410, 7148 - "QuestionId": 13, 7149 - "Text": "Tunisia", 7150 - "Value": "Tunisia", 7151 - "Order": 178 7152 - }, 7153 - { 7154 - "Id": 1418, 7155 - "QuestionId": 13, 7156 - "Text": "Turkey", 7157 - "Value": "Turkey", 7158 - "Order": 179 7159 - }, 7160 - { 7161 - "Id": 1426, 7162 - "QuestionId": 13, 7163 - "Text": "Turkmenistan", 7164 - "Value": "Turkmenistan", 7165 - "Order": 180 7166 - }, 7167 - { 7168 - "Id": 1434, 7169 - "QuestionId": 13, 7170 - "Text": "Tuvalu", 7171 - "Value": "Tuvalu", 7172 - "Order": 181 7173 - }, 7174 - { 7175 - "Id": 1442, 7176 - "QuestionId": 13, 7177 - "Text": "Uganda", 7178 - "Value": "Uganda", 7179 - "Order": 182 7180 - }, 7181 - { 7182 - "Id": 1450, 7183 - "QuestionId": 13, 7184 - "Text": "Ukraine", 7185 - "Value": "Ukraine", 7186 - "Order": 183 7187 - }, 7188 - { 7189 - "Id": 1458, 7190 - "QuestionId": 13, 7191 - "Text": "United Arab Emirates", 7192 - "Value": "United Arab Emirates", 7193 - "Order": 184 7194 - }, 7195 - { 7196 - "Id": 1466, 7197 - "QuestionId": 13, 7198 - "Text": "United Kingdom", 7199 - "Value": "United Kingdom", 7200 - "Order": 185 7201 - }, 7202 - { 7203 - "Id": 1474, 7204 - "QuestionId": 13, 7205 - "Text": "United States", 7206 - "Value": "United States", 7207 - "Order": 2 7208 - }, 7209 - { 7210 - "Id": 1482, 7211 - "QuestionId": 13, 7212 - "Text": "Uruguay", 7213 - "Value": "Uruguay", 7214 - "Order": 186 7215 - }, 7216 - { 7217 - "Id": 1490, 7218 - "QuestionId": 13, 7219 - "Text": "Uzbekistan", 7220 - "Value": "Uzbekistan", 7221 - "Order": 187 7222 - }, 7223 - { 7224 - "Id": 1498, 7225 - "QuestionId": 13, 7226 - "Text": "Vanuatu", 7227 - "Value": "Vanuatu", 7228 - "Order": 188 7229 - }, 7230 - { 7231 - "Id": 1506, 7232 - "QuestionId": 13, 7233 - "Text": "Vatican City", 7234 - "Value": "Vatican City", 7235 - "Order": 189 7236 - }, 7237 - { 7238 - "Id": 1514, 7239 - "QuestionId": 13, 7240 - "Text": "Venezuela", 7241 - "Value": "Venezuela", 7242 - "Order": 190 7243 - }, 7244 - { 7245 - "Id": 1522, 7246 - "QuestionId": 13, 7247 - "Text": "Vietnam", 7248 - "Value": "Vietnam", 7249 - "Order": 191 7250 - }, 7251 - { 7252 - "Id": 1530, 7253 - "QuestionId": 13, 7254 - "Text": "Yemen", 7255 - "Value": "Yemen", 7256 - "Order": 192 7257 - }, 7258 - { 7259 - "Id": 1538, 7260 - "QuestionId": 13, 7261 - "Text": "Zambia", 7262 - "Value": "Zambia", 7263 - "Order": 193 7264 - }, 7265 - { 7266 - "Id": 1546, 7267 - "QuestionId": 13, 7268 - "Text": "Zimbabwe", 7269 - "Value": "Zimbabwe", 7270 - "Order": 194 7271 - }, 7272 - { 7273 - "Id": 2186, 7274 - "QuestionId": 13, 7275 - "Text": "British Columbia", 7276 - "Value": "British Columbia", 7277 - "Order": 195 7278 - } 7279 - ] 7280 - }, 7281 - { 7282 - "Id": 178, 7283 - "Text": "Job Function", 7284 - "Type": "4", 7285 - "Alias": "Job Function", 7286 - "Choices": [ 7287 - { 7288 - "Id": 2266, 7289 - "QuestionId": 178, 7290 - "Text": "Select One", 7291 - "Value": "", 7292 - "Order": 1 7293 - }, 7294 - { 7295 - "Id": 2274, 7296 - "QuestionId": 178, 7297 - "Text": "Sales", 7298 - "Value": "Sales", 7299 - "Order": 2 7300 - }, 7301 - { 7302 - "Id": 2282, 7303 - "QuestionId": 178, 7304 - "Text": "Marketing", 7305 - "Value": "Marketing", 7306 - "Order": 3 7307 - }, 7308 - { 7309 - "Id": 2290, 7310 - "QuestionId": 178, 7311 - "Text": "New Media", 7312 - "Value": "New Media", 7313 - "Order": 4 7314 - }, 7315 - { 7316 - "Id": 2298, 7317 - "QuestionId": 178, 7318 - "Text": "Audience Development", 7319 - "Value": "Audience Development", 7320 - "Order": 5 7321 - }, 7322 - { 7323 - "Id": 2306, 7324 - "QuestionId": 178, 7325 - "Text": "Editorial", 7326 - "Value": "Editorial", 7327 - "Order": 6 7328 - }, 7329 - { 7330 - "Id": 2314, 7331 - "QuestionId": 178, 7332 - "Text": "Information Technology", 7333 - "Value": "IT", 7334 - "Order": 7 7335 - }, 7336 - { 7337 - "Id": 2322, 7338 - "QuestionId": 178, 7339 - "Text": "Corporate", 7340 - "Value": "Corporate", 7341 - "Order": 8 7342 - }, 7343 - { 7344 - "Id": 2418, 7345 - "QuestionId": 178, 7346 - "Text": "Other", 7347 - "Value": "Other", 7348 - "Order": 9 7349 - } 7350 - ] 7351 - }, 7352 - { 7353 - "Id": 202, 7354 - "Text": "Type of Publication", 7355 - "Type": "4", 7356 - "Alias": "Type of Publication", 7357 - "Choices": [ 7358 - { 7359 - "Id": 2330, 7360 - "QuestionId": 202, 7361 - "Text": "Select One", 7362 - "Value": "", 7363 - "Order": 1 7364 - }, 7365 - { 7366 - "Id": 2338, 7367 - "QuestionId": 202, 7368 - "Text": "Magazine", 7369 - "Value": "Magazine", 7370 - "Order": 2 7371 - }, 7372 - { 7373 - "Id": 2346, 7374 - "QuestionId": 202, 7375 - "Text": "Newspaper", 7376 - "Value": "Newspaper", 7377 - "Order": 3 7378 - }, 7379 - { 7380 - "Id": 2354, 7381 - "QuestionId": 202, 7382 - "Text": "Digital Publisher", 7383 - "Value": "Digital Publisher", 7384 - "Order": 4 7385 - }, 7386 - { 7387 - "Id": 2362, 7388 - "QuestionId": 202, 7389 - "Text": "Book Publisher", 7390 - "Value": "Book Publisher", 7391 - "Order": 5 7392 - }, 7393 - { 7394 - "Id": 2370, 7395 - "QuestionId": 202, 7396 - "Text": "Newsletter/Email", 7397 - "Value": "Newsletter/Email", 7398 - "Order": 6 7399 - } 7400 - ] 7401 - }, 7402 - { 7403 - "Id": 226, 7404 - "Text": "What is your time frame for deployment?", 7405 - "Type": "4", 7406 - "Alias": "What is your time frame for deployment?", 7407 - "Choices": [ 7408 - { 7409 - "Id": 2378, 7410 - "QuestionId": 226, 7411 - "Text": "Select One", 7412 - "Value": "", 7413 - "Order": 1 7414 - }, 7415 - { 7416 - "Id": 2386, 7417 - "QuestionId": 226, 7418 - "Text": "0-3 months", 7419 - "Value": "0-3", 7420 - "Order": 2 7421 - }, 7422 - { 7423 - "Id": 2394, 7424 - "QuestionId": 226, 7425 - "Text": "3-6 months", 7426 - "Value": "3-6", 7427 - "Order": 3 7428 - }, 7429 - { 7430 - "Id": 2402, 7431 - "QuestionId": 226, 7432 - "Text": "6-12 months", 7433 - "Value": "6-12", 7434 - "Order": 4 7435 - }, 7436 - { 7437 - "Id": 2410, 7438 - "QuestionId": 226, 7439 - "Text": "No Formal Plans", 7440 - "Value": "No Formal Plans", 7441 - "Order": 5 7442 - } 7443 - ] 7444 - }, 7445 - { 7446 - "Id": 250, 7447 - "Text": "Industry", 7448 - "Type": "4", 7449 - "Alias": "Industry", 7450 - "Choices": [ 7451 - { 7452 - "Id": 2426, 7453 - "QuestionId": 250, 7454 - "Text": "Agency", 7455 - "Value": "Agency", 7456 - "Order": 2 7457 - }, 7458 - { 7459 - "Id": 2434, 7460 - "QuestionId": 250, 7461 - "Text": "Association", 7462 - "Value": "Association", 7463 - "Order": 3 7464 - }, 7465 - { 7466 - "Id": 2442, 7467 - "QuestionId": 250, 7468 - "Text": "Direct Marketing", 7469 - "Value": "Direct Marketing", 7470 - "Order": 4 7471 - }, 7472 - { 7473 - "Id": 2450, 7474 - "QuestionId": 250, 7475 - "Text": "Publisher", 7476 - "Value": "Publisher", 7477 - "Order": 5 7478 - }, 7479 - { 7480 - "Id": 2458, 7481 - "QuestionId": 250, 7482 - "Text": "Service Bureau", 7483 - "Value": "Service Bureau", 7484 - "Order": 6 7485 - }, 7486 - { 7487 - "Id": 2466, 7488 - "QuestionId": 250, 7489 - "Text": "Select One", 7490 - "Value": "Government", 7491 - "Order": 1 7492 - }, 7493 - { 7494 - "Id": 2737, 7495 - "QuestionId": 250, 7496 - "Text": "Other", 7497 - "Value": "Other", 7498 - "Order": 7 7499 - }, 7500 - { 7501 - "Id": 3051, 7502 - "QuestionId": 250, 7503 - "Text": "Business Services", 7504 - "Value": "Business Services", 7505 - "Order": 8 7506 - }, 7507 - { 7508 - "Id": 3059, 7509 - "QuestionId": 250, 7510 - "Text": "Business Services, Media & Internet", 7511 - "Value": "Business Services, Media & Internet", 7512 - "Order": 9 7513 - }, 7514 - { 7515 - "Id": 3067, 7516 - "QuestionId": 250, 7517 - "Text": "Business Services,Consumer Services", 7518 - "Value": "Business Services,Consumer Services", 7519 - "Order": 10 7520 - }, 7521 - { 7522 - "Id": 3075, 7523 - "QuestionId": 250, 7524 - "Text": "Business Services,Finance", 7525 - "Value": "Business Services,Finance", 7526 - "Order": 11 7527 - }, 7528 - { 7529 - "Id": 3083, 7530 - "QuestionId": 250, 7531 - "Text": "Business Services,Retail,Media & Internet", 7532 - "Value": "Business Services,Retail,Media & Internet", 7533 - "Order": 12 7534 - }, 7535 - { 7536 - "Id": 3091, 7537 - "QuestionId": 250, 7538 - "Text": "Business Services,Telecommunications", 7539 - "Value": "Business Services,Telecommunications", 7540 - "Order": 13 7541 - }, 7542 - { 7543 - "Id": 3099, 7544 - "QuestionId": 250, 7545 - "Text": "Energy, Utilities & Waste Treatment", 7546 - "Value": "Energy, Utilities & Waste Treatment", 7547 - "Order": 14 7548 - }, 7549 - { 7550 - "Id": 3107, 7551 - "QuestionId": 250, 7552 - "Text": "Finance", 7553 - "Value": "Finance", 7554 - "Order": 15 7555 - }, 7556 - { 7557 - "Id": 3115, 7558 - "QuestionId": 250, 7559 - "Text": "Hospitality", 7560 - "Value": "Hospitality", 7561 - "Order": 16 7562 - }, 7563 - { 7564 - "Id": 3123, 7565 - "QuestionId": 250, 7566 - "Text": "Hospitality,Media & Internet", 7567 - "Value": "Hospitality,Media & Internet", 7568 - "Order": 17 7569 - }, 7570 - { 7571 - "Id": 3131, 7572 - "QuestionId": 250, 7573 - "Text": "Insurance", 7574 - "Value": "Insurance", 7575 - "Order": 18 7576 - }, 7577 - { 7578 - "Id": 3139, 7579 - "QuestionId": 250, 7580 - "Text": "Insurance, Finance", 7581 - "Value": "Insurance, Finance", 7582 - "Order": 19 7583 - }, 7584 - { 7585 - "Id": 3147, 7586 - "QuestionId": 250, 7587 - "Text": "Manufacturing", 7588 - "Value": "Manufacturing", 7589 - "Order": 20 7590 - }, 7591 - { 7592 - "Id": 3155, 7593 - "QuestionId": 250, 7594 - "Text": "Manufacturing,Business Services", 7595 - "Value": "Manufacturing,Business Services", 7596 - "Order": 21 7597 - }, 7598 - { 7599 - "Id": 3163, 7600 - "QuestionId": 250, 7601 - "Text": "Manufacturing,Retail,Healthcare", 7602 - "Value": "Manufacturing,Retail,Healthcare", 7603 - "Order": 22 7604 - }, 7605 - { 7606 - "Id": 3171, 7607 - "QuestionId": 250, 7608 - "Text": "Media & Internet", 7609 - "Value": "Media & Internet", 7610 - "Order": 23 7611 - }, 7612 - { 7613 - "Id": 3179, 7614 - "QuestionId": 250, 7615 - "Text": "Media & Internet,Business Services", 7616 - "Value": "Media & Internet,Business Services", 7617 - "Order": 24 7618 - }, 7619 - { 7620 - "Id": 3187, 7621 - "QuestionId": 250, 7622 - "Text": "Organizations", 7623 - "Value": "Organizations", 7624 - "Order": 25 7625 - }, 7626 - { 7627 - "Id": 3195, 7628 - "QuestionId": 250, 7629 - "Text": "Real Estate", 7630 - "Value": "Real Estate", 7631 - "Order": 26 7632 - }, 7633 - { 7634 - "Id": 3203, 7635 - "QuestionId": 250, 7636 - "Text": "Retail", 7637 - "Value": "Retail", 7638 - "Order": 27 7639 - }, 7640 - { 7641 - "Id": 3211, 7642 - "QuestionId": 250, 7643 - "Text": "Retail,Software,Consumer Services", 7644 - "Value": "Retail,Software,Consumer Services", 7645 - "Order": 28 7646 - }, 7647 - { 7648 - "Id": 3219, 7649 - "QuestionId": 250, 7650 - "Text": "Software", 7651 - "Value": "Software", 7652 - "Order": 29 7653 - }, 7654 - { 7655 - "Id": 3227, 7656 - "QuestionId": 250, 7657 - "Text": "Retail, Manufacturing", 7658 - "Value": "Retail, Manufacturing", 7659 - "Order": 30 7660 - }, 7661 - { 7662 - "Id": 3235, 7663 - "QuestionId": 250, 7664 - "Text": "Software,Manufacturing,Retail", 7665 - "Value": "Software,Manufacturing,Retail", 7666 - "Order": 31 7667 - }, 7668 - { 7669 - "Id": 3243, 7670 - "QuestionId": 250, 7671 - "Text": "Business Services,Media & Internet", 7672 - "Value": "Business Services,Media & Internet", 7673 - "Order": 32 7674 - }, 7675 - { 7676 - "Id": 3251, 7677 - "QuestionId": 250, 7678 - "Text": "Telecommunications", 7679 - "Value": "Telecommunications", 7680 - "Order": 33 7681 - } 7682 - ] 7683 - }, 7684 - { 7685 - "Id": 274, 7686 - "Text": "How many employees work at your company?_Copy", 7687 - "Type": "4", 7688 - "Alias": "ALL", 7689 - "Choices": [ 7690 - { 7691 - "Id": 2698, 7692 - "QuestionId": 274, 7693 - "Text": "1-25", 7694 - "Value": "01", 7695 - "Order": 1 7696 - }, 7697 - { 7698 - "Id": 2706, 7699 - "QuestionId": 274, 7700 - "Text": "26-100", 7701 - "Value": "02", 7702 - "Order": 2 7703 - }, 7704 - { 7705 - "Id": 2714, 7706 - "QuestionId": 274, 7707 - "Text": "101-250", 7708 - "Value": "03", 7709 - "Order": 3 7710 - }, 7711 - { 7712 - "Id": 2722, 7713 - "QuestionId": 274, 7714 - "Text": "251-500", 7715 - "Value": "04", 7716 - "Order": 4 7717 - }, 7718 - { 7719 - "Id": 2730, 7720 - "QuestionId": 274, 7721 - "Text": "500+", 7722 - "Value": "05", 7723 - "Order": 5 7724 - } 7725 - ] 7726 - }, 7727 - { 7728 - "Id": 281, 7729 - "Text": "How many employees work at your company?_Copy", 7730 - "Type": "4", 7731 - "Alias": "How many employees work at your company?_Copy", 7732 - "Choices": [ 7733 - { 7734 - "Id": 2745, 7735 - "QuestionId": 281, 7736 - "Text": "1-25", 7737 - "Value": "01", 7738 - "Order": 1 7739 - }, 7740 - { 7741 - "Id": 2753, 7742 - "QuestionId": 281, 7743 - "Text": "26-100", 7744 - "Value": "02", 7745 - "Order": 2 7746 - }, 7747 - { 7748 - "Id": 2761, 7749 - "QuestionId": 281, 7750 - "Text": "101-250", 7751 - "Value": "03", 7752 - "Order": 3 7753 - }, 7754 - { 7755 - "Id": 2769, 7756 - "QuestionId": 281, 7757 - "Text": "251-500", 7758 - "Value": "04", 7759 - "Order": 4 7760 - }, 7761 - { 7762 - "Id": 2777, 7763 - "QuestionId": 281, 7764 - "Text": "500+", 7765 - "Value": "05", 7766 - "Order": 5 7767 - } 7768 - ] 7769 - }, 7770 - { 7771 - "Id": 291, 7772 - "Text": "DAS Question Update", 7773 - "Type": "4", 7774 - "Alias": "DAS Question Update", 7775 - "Choices": [ 7776 - { 7777 - "Id": 2859, 7778 - "QuestionId": 291, 7779 - "Text": "Choice a Update", 7780 - "Value": "a Update", 7781 - "Order": 1 7782 - }, 7783 - { 7784 - "Id": 2867, 7785 - "QuestionId": 291, 7786 - "Text": "Choice b Update", 7787 - "Value": "b Update", 7788 - "Order": 2 7789 - } 7790 - ] 7791 - }, 7792 - { 7793 - "Id": 363, 7794 - "Text": "Group Size", 7795 - "Type": "4", 7796 - "Alias": "Group Size", 7797 - "Choices": [ 7798 - { 7799 - "Id": 3027, 7800 - "QuestionId": 363, 7801 - "Text": "NA", 7802 - "Value": "NA", 7803 - "Order": 1 7804 - }, 7805 - { 7806 - "Id": 3035, 7807 - "QuestionId": 363, 7808 - "Text": "0-10", 7809 - "Value": "0-10", 7810 - "Order": 2 7811 - }, 7812 - { 7813 - "Id": 3043, 7814 - "QuestionId": 363, 7815 - "Text": "10-25", 7816 - "Value": "10-25", 7817 - "Order": 3 7818 - } 7819 - ] 7820 - }, 7821 - { 7822 - "Id": 399, 7823 - "Text": "What best describes your job title?", 7824 - "Type": "4", 7825 - "Alias": "1105-title", 7826 - "Choices": [ 7827 - { 7828 - "Id": 3255, 7829 - "QuestionId": 399, 7830 - "Text": "CIO, CTO, CKO, Technical/VP", 7831 - "Value": "CIO", 7832 - "Order": 1 7833 - }, 7834 - { 7835 - "Id": 3263, 7836 - "QuestionId": 399, 7837 - "Text": "Corporate Management", 7838 - "Value": "corporate", 7839 - "Order": 2 7840 - }, 7841 - { 7842 - "Id": 3271, 7843 - "QuestionId": 399, 7844 - "Text": "IS/IT Director/Manager", 7845 - "Value": "it", 7846 - "Order": 3 7847 - }, 7848 - { 7849 - "Id": 3279, 7850 - "QuestionId": 399, 7851 - "Text": "Director of Softare Development", 7852 - "Value": "software director", 7853 - "Order": 4 7854 - }, 7855 - { 7856 - "Id": 3287, 7857 - "QuestionId": 399, 7858 - "Text": "Application Development Manager", 7859 - "Value": "ADM", 7860 - "Order": 5 7861 - } 7862 - ] 7863 - }, 7864 - { 7865 - "Id": 407, 7866 - "Text": "What is your organization's (or largest client, if you are a consultant) primary business at this location?", 7867 - "Type": "4", 7868 - "Alias": "1105 largest client", 7869 - "Choices": [ 7870 - { 7871 - "Id": 3295, 7872 - "QuestionId": 407, 7873 - "Text": "Aerospace", 7874 - "Value": "aerospace", 7875 - "Order": 1 7876 - }, 7877 - { 7878 - "Id": 3303, 7879 - "QuestionId": 407, 7880 - "Text": "Agriculture/Mining/Gas/Oil", 7881 - "Value": "ag", 7882 - "Order": 2 7883 - }, 7884 - { 7885 - "Id": 3311, 7886 - "QuestionId": 407, 7887 - "Text": "Business Services/Consultants", 7888 - "Value": "bs", 7889 - "Order": 3 7890 - }, 7891 - { 7892 - "Id": 3319, 7893 - "QuestionId": 407, 7894 - "Text": "Construction/Architecture/Engineering", 7895 - "Value": "construction", 7896 - "Order": 4 7897 - }, 7898 - { 7899 - "Id": 3327, 7900 - "QuestionId": 407, 7901 - "Text": "Education/Training", 7902 - "Value": "education", 7903 - "Order": 5 7904 - } 7905 - ] 7906 - }, 7907 - { 7908 - "Id": 415, 7909 - "Text": "What is the total number of employees in your entire organzation?", 7910 - "Type": "4", 7911 - "Alias": "1105 num employees", 7912 - "Choices": [ 7913 - { 7914 - "Id": 3335, 7915 - "QuestionId": 415, 7916 - "Text": "10,000 or more", 7917 - "Value": "10000", 7918 - "Order": 1 7919 - }, 7920 - { 7921 - "Id": 3343, 7922 - "QuestionId": 415, 7923 - "Text": "5,000 - 9,999", 7924 - "Value": "5000", 7925 - "Order": 2 7926 - }, 7927 - { 7928 - "Id": 3351, 7929 - "QuestionId": 415, 7930 - "Text": "1,000 - 4,999", 7931 - "Value": "1000", 7932 - "Order": 3 7933 - }, 7934 - { 7935 - "Id": 3359, 7936 - "QuestionId": 415, 7937 - "Text": "500 - 999", 7938 - "Value": "500", 7939 - "Order": 4 7940 - }, 7941 - { 7942 - "Id": 3367, 7943 - "QuestionId": 415, 7944 - "Text": "100 - 499", 7945 - "Value": "100", 7946 - "Order": 5 7947 - }, 7948 - { 7949 - "Id": 3375, 7950 - "QuestionId": 415, 7951 - "Text": "Under 100", 7952 - "Value": "Under 100", 7953 - "Order": 6 7954 - } 7955 - ] 7956 - }, 7957 - { 7958 - "Id": 423, 7959 - "Text": "saaa", 7960 - "Type": "4", 7961 - "Alias": "test", 7962 - "Choices": [ 7963 - { 7964 - "Id": 3383, 7965 - "QuestionId": 423, 7966 - "Text": "1", 7967 - "Value": "1", 7968 - "Order": 1 7969 - }, 7970 - { 7971 - "Id": 3391, 7972 - "QuestionId": 423, 7973 - "Text": "3", 7974 - "Value": "3", 7975 - "Order": 2 7976 - } 7977 - ] 7978 - } 7979 - ] 2072 +(% class="western" %) 7980 7980 } 7981 -{{/code}} 7982 7982 2075 +(% class="western" %) 2076 +] 7983 7983 7984 -(% id="HPOSTCreatequestiontypenumeric2Ctext2Cpassword2Ctextareaanddate" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 7985 -== (% 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(%%) == 7986 - 7987 ----- 7988 - 7989 -{{panel bgColor="#D3D3D3" width="100%"}} 7990 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/questions 7991 -{{/panel}} 7992 - 7993 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 7994 - 7995 ----- 7996 - 7997 -(% 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}} 7998 - 7999 -=== (% style="color:#212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) === 8000 - 8001 ----- 8002 - 8003 -{{code language="yml" theme="RDark" title="Body"}} 8004 -{"Text":"Test from API 3","Type":0,"Alias":"Test from API 3"} 8005 -{{/code}} 8006 - 8007 -==== Example ==== 8008 - 8009 ----- 8010 - 8011 -(% style="color:#6b6b6b" %)Request 8012 - 8013 -{{code language="php" theme="RDark" title="Create Question Request"}} 8014 -<?php 8015 - 8016 -$curl = curl_init(); 8017 - 8018 -curl_setopt_array($curl, array( 8019 - CURLOPT_URL => 'https://api.onecount.net/v2/questions', 8020 - CURLOPT_RETURNTRANSFER => true, 8021 - CURLOPT_ENCODING => '', 8022 - CURLOPT_MAXREDIRS => 10, 8023 - CURLOPT_TIMEOUT => 0, 8024 - CURLOPT_FOLLOWLOCATION => true, 8025 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 8026 - CURLOPT_CUSTOMREQUEST => 'POST', 8027 - CURLOPT_POSTFIELDS =>'{"Text":"Test from API 3","Type":0,"Alias":"Test from API 3"}', 8028 - CURLOPT_HTTPHEADER => array( 8029 - 'Appkey: {{ONECOUNT API KEY}}' 8030 - ), 8031 -)); 8032 - 8033 -$response = curl_exec($curl); 8034 - 8035 -curl_close($curl); 8036 -echo $response; 8037 -{{/code}} 8038 - 8039 - 8040 -(% style="color:#6b6b6b" %)Response 200 OK 8041 - 8042 -{{code language="yml" theme="RDark" collapse="true" title="Create question Response"}} 8043 -{ 8044 - "result": { 8045 - "success": "1", 8046 - "error": { 8047 - "code": "", 8048 - "message": "" 8049 - } 8050 - }, 8051 - "Questions": [ 8052 - { 8053 - "Id": 455 8054 - } 8055 - ] 2078 +(% class="western" %) 8056 8056 } 8057 -{{/code}} 8058 8058 2081 +(% class="western" %) 2082 +\\ 8059 8059 8060 -(% id="HPOSTCreatequestiontypeselect2Cradioandcheckbox"yle="margin-left: 0.0px;"class="sc-fznLPX cxTVKx"%)8061 - == (% 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(%%) ==2084 +(% class="western" %) 2085 +**COMPONENT: Products** 8062 8062 8063 ----- 8064 - 8065 -{{panel bgColor="#D3D3D3" width="100%"}} 8066 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/questions 8067 -{{/panel}} 8068 - 8069 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 8070 - 8071 ----- 8072 - 8073 -(% 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}} 8074 - 8075 -=== (% style="color:#212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) === 8076 - 8077 ----- 8078 - 8079 -{{code language="yml" theme="RDark" title="Body"}} 8080 -{"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"}]} 8081 -{{/code}} 8082 - 8083 -==== Example ==== 8084 - 8085 ----- 8086 - 8087 -(% style="color:#6b6b6b" %)Request 8088 - 8089 -{{code language="php" theme="RDark" title="Create Question Request"}} 8090 -<?php 8091 - 8092 -$curl = curl_init(); 8093 - 8094 -curl_setopt_array($curl, array( 8095 - CURLOPT_URL => 'https://api.onecount.net/v2/questions', 8096 - CURLOPT_RETURNTRANSFER => true, 8097 - CURLOPT_ENCODING => '', 8098 - CURLOPT_MAXREDIRS => 10, 8099 - CURLOPT_TIMEOUT => 0, 8100 - CURLOPT_FOLLOWLOCATION => true, 8101 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 8102 - CURLOPT_CUSTOMREQUEST => 'POST', 8103 - 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"}]}', 8104 - CURLOPT_HTTPHEADER => array( 8105 - 'Appkey: {{ONECOUNT API KEY}}' 8106 - ), 8107 -)); 8108 - 8109 -$response = curl_exec($curl); 8110 - 8111 -curl_close($curl); 8112 -echo $response; 8113 -{{/code}} 8114 - 8115 - 8116 -(% style="color:#6b6b6b" %)Response 200 OK 8117 - 8118 -{{code language="yml" theme="RDark" collapse="true" title="Create question Response"}} 8119 -{ 8120 - "result": { 8121 - "success": "1", 8122 - "error": { 8123 - "code": "", 8124 - "message": "" 8125 - } 8126 - }, 8127 - "Questions": [ 8128 - { 8129 - "Id": 495 8130 - } 8131 - ] 8132 -} 8133 -{{/code}} 8134 - 8135 - 8136 -(% id="HPUTUpdatequestion" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 8137 -== (% 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(%%) == 8138 - 8139 ----- 8140 - 8141 -{{panel bgColor="#D3D3D3" width="100%"}} 8142 - (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/questions/~{~{QUESTION ID}} 8143 -{{/panel}} 8144 - 8145 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 8146 - 8147 ----- 8148 - 8149 -(% 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}} 8150 - 8151 -=== (% style="color:#212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) === 8152 - 8153 ----- 8154 - 8155 -{{code language="yml" theme="RDark" title="Body"}} 8156 -{"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"}]} 8157 -{{/code}} 8158 - 8159 -==== Example ==== 8160 - 8161 ----- 8162 - 8163 -(% style="color:#6b6b6b" %)Request 8164 - 8165 -{{code language="php" theme="RDark" title="Update Question Request"}} 8166 -<?php 8167 - 8168 -$curl = curl_init(); 8169 - 8170 -curl_setopt_array($curl, array( 8171 - CURLOPT_URL => 'https://api.onecount.net/v2/questions/{{QUESTION ID}}', 8172 - CURLOPT_RETURNTRANSFER => true, 8173 - CURLOPT_ENCODING => '', 8174 - CURLOPT_MAXREDIRS => 10, 8175 - CURLOPT_TIMEOUT => 0, 8176 - CURLOPT_FOLLOWLOCATION => true, 8177 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 8178 - CURLOPT_CUSTOMREQUEST => 'PUT', 8179 - 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"}]}', 8180 - CURLOPT_HTTPHEADER => array( 8181 - 'Appkey: {{ONECOUNT API KEY}}' 8182 - ), 8183 -)); 8184 - 8185 -$response = curl_exec($curl); 8186 - 8187 -curl_close($curl); 8188 -echo $response; 8189 - 8190 - 8191 -{{/code}} 8192 - 8193 - 8194 -(% style="color:#6b6b6b" %)Response 200 OK 8195 - 8196 -{{code language="yml" theme="RDark" collapse="true" title="Update Question Response"}} 8197 -{ 8198 - "result": { 8199 - "success": "1", 8200 - "error": { 8201 - "code": "", 8202 - "message": "" 8203 - } 8204 - }, 8205 - "Questions": [ 8206 - { 8207 - "Id": 503 8208 - } 8209 - ] 8210 -} 8211 -{{/code}} 8212 - 8213 - 8214 -(% id="HCOMPONENT:Products" class="western" %) 8215 -=== **COMPONENT: Products** === 8216 - 8217 8217 (% class="western" %) 8218 8218 This resource is for manipulating products resource. A product can be created, updated or searched. 8219 8219 8220 -(% class="wrapped" %) 8221 -|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2090 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 8222 8222 ((( 8223 8223 (% class="western" %) 8224 8224 **Method** 8225 -)))|(% style="text-align:left; 2094 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 8226 8226 ((( 8227 8227 (% class="western" %) 8228 8228 **Url** 8229 -)))|(% style="text-align:left; 2098 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 8230 8230 ((( 8231 8231 (% class="western" %) 8232 8232 **Action** 8233 8233 ))) 8234 -|(% style="text-align:left; 2103 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 8235 8235 ((( 8236 8236 (% class="western" %) 8237 8237 GET 8238 -)))|(% style="text-align:left; 2107 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 8239 8239 ((( 8240 8240 (% class="western" %) 8241 8241 /products 8242 -)))|(% style="text-align:left; 2111 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 8243 8243 ((( 8244 8244 (% class="western" %) 8245 8245 Get all product details 8246 8246 ))) 8247 -|(% style="text-align:left; 2116 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 8248 8248 ((( 8249 8249 (% class="western" %) 8250 8250 GET 8251 -)))|(% style="text-align:left; 2120 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 8252 8252 ((( 8253 8253 (% class="western" %) 8254 8254 /products/5 8255 -)))|(% style="text-align:left; 2124 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 8256 8256 ((( 8257 8257 (% class="western" %) 8258 8258 Get product id 5 8259 8259 ))) 8260 -|(% style="text-align:left; 2129 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 8261 8261 ((( 8262 8262 (% class="western" %) 8263 8263 GET 8264 -)))|(% style="text-align:left; 2133 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 8265 8265 ((( 8266 8266 (% class="western" %) 8267 8267 /products/lookup?Title=productname 8268 -)))|(% style="text-align:left; 2137 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 8269 8269 ((( 8270 8270 (% class="western" %) 8271 8271 Lookup products by Title 8272 8272 ))) 8273 -|(% style="text-align:left; 2142 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 8274 8274 ((( 8275 8275 (% class="western" %) 8276 8276 POST 8277 -)))|(% style="text-align:left; 2146 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 8278 8278 ((( 8279 8279 (% class="western" %) 8280 8280 /products 8281 -)))|(% style="text-align:left; 2150 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 8282 8282 ((( 8283 8283 (% class="western" %) 8284 8284 JSON of the Products type object needs to be sent as post data. Id field should not be sent. 8285 8285 ))) 8286 -|(% style="text-align:left; 2155 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 8287 8287 ((( 8288 8288 (% class="western" %) 8289 8289 PUT 8290 -)))|(% style="text-align:left; 2159 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 8291 8291 ((( 8292 8292 (% class="western" %) 8293 8293 /products/5 8294 -)))|(% style="text-align:left; 2163 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 8295 8295 ((( 8296 8296 (% class="western" %) 8297 8297 JSON of the Products type object needs to be sent as post data. Id field is mandatory for update. 8298 8298 ))) 8299 -|(% style="text-align:left; 2168 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 8300 8300 ((( 8301 8301 (% class="western" %) 8302 8302 POST 8303 -)))|(% style="text-align:left; 2172 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 8304 8304 ((( 8305 8305 (% class="western" %) 8306 8306 /products/attachResource 8307 -)))|(% style="text-align:left; 2176 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 8308 8308 ((( 8309 8309 (% class="western" %) 8310 8310 JSON of the Product and Resource ids to be sent as post data. ... ... @@ -8319,1259 +8319,484 @@ 8319 8319 {"ProductID":"65","ResourceID":”121"} 8320 8320 ))) 8321 8321 8322 -(% id="HGETAllProducts" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 8323 -== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)All Products(%%) == 2191 +\\ 8324 8324 8325 ----- 2193 +(% class="western" %) 2194 +**GET method should be used to lookup products.** 8326 8326 8327 ----- 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. 8328 8328 8329 -{{panel bgColor="#D3D3D3" width="100%"}} 8330 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/products 8331 -{{/panel}} 2222 +(% class="western" %) 2223 +Params: 8332 8332 8333 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 2225 +(% class="western" %) 2226 +Name: Name of the Product for lookup (String) 2227 +))) 8334 8334 8335 ----- 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 +))) 8336 8336 8337 - (% 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}}2256 +\\ 8338 8338 8339 -==== Example ==== 2258 +(% class="western" %) 2259 +**POST method should be used to create products.** 8340 8340 8341 ----- 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. 8342 8342 8343 -(% style="color:#6b6b6b" %)Request 2287 +(% class="western" %) 2288 +Example: 8344 8344 8345 -{{code language="php" theme="RDark" title="Get All Products Request"}} 8346 -<?php 2290 +(% class="western" %) 2291 +{"Title":"Test123","Description": "Testss","Terms":{"Name":"Product123"},"PrimaryFormId":10,"ResourceID":17} 2292 +))) 8347 8347 8348 -$curl = curl_init(); 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 8349 8350 -curl_setopt_array($curl, array( 8351 - CURLOPT_URL => 'https://api.onecount.net/v2/products', 8352 - CURLOPT_RETURNTRANSFER => true, 8353 - CURLOPT_ENCODING => '', 8354 - CURLOPT_MAXREDIRS => 10, 8355 - CURLOPT_TIMEOUT => 0, 8356 - CURLOPT_FOLLOWLOCATION => true, 8357 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 8358 - CURLOPT_CUSTOMREQUEST => 'GET', 8359 - CURLOPT_HTTPHEADER => array( 8360 - 'Appkey: {{ONECOUNT API KEY}}' 8361 - ), 8362 -)); 2321 +\\ 8363 8363 8364 -$response = curl_exec($curl); 2323 +(% class="western" %) 2324 +PUT method should be used to update an individual product given the product info. 8365 8365 8366 -curl_close($curl); 8367 -echo $response; 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 8368 2352 +(% class="western" %) 2353 +**Possible Request Params**: Title, Description, PrimaryFormId, ResourceID 8369 8369 8370 -{{/code}} 2355 +(% class="western" %) 2356 +**Example**: 8371 8371 2358 +(% class="western" %) 2359 +{"Title":"Test123","Description": "Testss","PrimaryFormId":10,"ResourceID":17} 2360 +))) 8372 8372 8373 -(% style="color:#6b6b6b" %)Response 200 OK 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 +))) 8374 8374 8375 -{{code language="yml" theme="RDark" collapse="true" title="Get All Products Response"}} 8376 - { 8377 - "result": { 8378 - "success": "1", 8379 - "error": { 8380 - "code": "", 8381 - "message": "" 8382 - } 8383 - }, 8384 - "Products": [ 8385 - { 8386 - "ProductId": 26, 8387 - "Title": "ONEcount Product Demo", 8388 - "Description": "", 8389 - "ResourceIDs": [], 8390 - "PrimaryFormID": [ 8391 - "307", 8392 - "34" 8393 - ], 8394 - "Terms": { 8395 - "Id": 26, 8396 - "Name": "Please contact me to arrange a demo", 8397 - "Description": "", 8398 - "Duration": 1, 8399 - "DurationUnit": "I", 8400 - "Price": "0", 8401 - "ProductId": 26 8402 - } 8403 - }, 8404 - { 8405 - "ProductId": 34, 8406 - "Title": "ONEcount Promotional Emails", 8407 - "Description": "Master List of ONEcount prospects to receive promotional emails, etc.", 8408 - "ResourceIDs": [ 8409 - 98, 8410 - 114 8411 - ], 8412 - "PrimaryFormID": [ 8413 - "194" 8414 - ], 8415 - "Terms": { 8416 - "Id": 34, 8417 - "Name": "ONEcount Promotional Emails", 8418 - "Description": "ONEcount promotional emails", 8419 - "Duration": 1, 8420 - "DurationUnit": "I", 8421 - "Price": "0", 8422 - "ProductId": 34 8423 - } 8424 - }, 8425 - { 8426 - "ProductId": 42, 8427 - "Title": "ONEcount Staff", 8428 - "Description": "ONEcount/GCN Media Staff", 8429 - "ResourceIDs": [ 8430 - 18 8431 - ], 8432 - "PrimaryFormID": [ 8433 - "186" 8434 - ], 8435 - "Terms": { 8436 - "Id": 42, 8437 - "Name": "ONEcount Staff List", 8438 - "Description": "List of ONEcount/GCN Media Staff", 8439 - "Duration": 1, 8440 - "DurationUnit": "I", 8441 - "Price": "0", 8442 - "ProductId": 42 8443 - } 8444 - }, 8445 - { 8446 - "ProductId": 49, 8447 - "Title": "ONEcount Medical Publishers", 8448 - "Description": "For blasts to medical publishers and associations", 8449 - "ResourceIDs": [ 8450 - 137 8451 - ], 8452 - "PrimaryFormID": [ 8453 - "170" 8454 - ], 8455 - "Terms": { 8456 - "Id": 49, 8457 - "Name": "ONEcount Medical Publishers", 8458 - "Description": "ONEcount Medical Publishers and Associations", 8459 - "Duration": 1, 8460 - "DurationUnit": "I", 8461 - "Price": "0", 8462 - "ProductId": 49 8463 - } 8464 - }, 8465 - { 8466 - "ProductId": 57, 8467 - "Title": "000 Pop-Up Form", 8468 - "Description": "", 8469 - "ResourceIDs": [ 8470 - 145 8471 - ], 8472 - "PrimaryFormID": [ 8473 - "170" 8474 - ], 8475 - "Terms": { 8476 - "Id": 57, 8477 - "Name": "000 Pop-Up Term", 8478 - "Description": "", 8479 - "Duration": 1, 8480 - "DurationUnit": "I", 8481 - "Price": "0", 8482 - "ProductId": 57 8483 - } 8484 - }, 8485 - { 8486 - "ProductId": 65, 8487 - "Title": "TEST", 8488 - "Description": "", 8489 - "ResourceIDs": [], 8490 - "PrimaryFormID": [ 8491 - "194" 8492 - ], 8493 - "Terms": {} 8494 - }, 8495 - { 8496 - "ProductId": 67, 8497 - "Title": "Gated Product Example PKG", 8498 - "Description": "", 8499 - "ResourceIDs": [], 8500 - "PrimaryFormID": [ 8501 - "195" 8502 - ], 8503 - "Terms": { 8504 - "Id": 59, 8505 - "Name": "Get it for free", 8506 - "Description": "", 8507 - "Duration": 1, 8508 - "DurationUnit": "I", 8509 - "Price": "0", 8510 - "ProductId": 67 8511 - } 8512 - }, 8513 - { 8514 - "ProductId": 75, 8515 - "Title": "SB: Apple Moves To Limit Tracking in Safari: Prove", 8516 - "Description": "", 8517 - "ResourceIDs": [], 8518 - "PrimaryFormID": [], 8519 - "Terms": {} 8520 - }, 8521 - { 8522 - "ProductId": 83, 8523 - "Title": "SB: Audience Extension: Turning Identity Into Cash", 8524 - "Description": "", 8525 - "ResourceIDs": [], 8526 - "PrimaryFormID": [], 8527 - "Terms": {} 8528 - }, 8529 - { 8530 - "ProductId": 91, 8531 - "Title": "DAS_freepass_00", 8532 - "Description": "", 8533 - "ResourceIDs": [ 8534 - 187 8535 - ], 8536 - "PrimaryFormID": [ 8537 - "267" 8538 - ], 8539 - "Terms": { 8540 - "Id": 67, 8541 - "Name": "DAS_freepass_00", 8542 - "Description": "", 8543 - "Duration": 30, 8544 - "DurationUnit": "D", 8545 - "Price": "0", 8546 - "ProductId": 91 8547 - } 8548 - }, 8549 - { 8550 - "ProductId": 99, 8551 - "Title": "Test12311111", 8552 - "Description": "Testss", 8553 - "ResourceIDs": [], 8554 - "PrimaryFormID": [ 8555 - "10" 8556 - ], 8557 - "Terms": { 8558 - "Id": 75, 8559 - "Name": "Product123", 8560 - "Description": null, 8561 - "Duration": 0, 8562 - "DurationUnit": "", 8563 - "Price": "0", 8564 - "ProductId": 99 8565 - } 8566 - }, 8567 - { 8568 - "ProductId": 107, 8569 - "Title": "Test123-456", 8570 - "Description": "Testss updated", 8571 - "ResourceIDs": [ 8572 - 98 8573 - ], 8574 - "PrimaryFormID": [ 8575 - "10" 8576 - ], 8577 - "Terms": { 8578 - "Id": 83, 8579 - "Name": "Product123", 8580 - "Description": null, 8581 - "Duration": 0, 8582 - "DurationUnit": "", 8583 - "Price": "0", 8584 - "ProductId": 107 8585 - } 8586 - }, 8587 - { 8588 - "ProductId": 109, 8589 - "Title": "Webinar: Enhanced Analytics 2-26-2019 at 1 PM", 8590 - "Description": "", 8591 - "ResourceIDs": [ 8592 - 197 8593 - ], 8594 - "PrimaryFormID": [], 8595 - "Terms": { 8596 - "Id": 93, 8597 - "Name": "Enhanced Analytics Webinar", 8598 - "Description": "Check the box to register for the February 26th webinar.", 8599 - "Duration": 1, 8600 - "DurationUnit": "I", 8601 - "Price": "0", 8602 - "ProductId": 109 8603 - } 8604 - } 8605 - ] 8606 -} 8607 -{{/code}} 2389 +\\ 8608 8608 2391 +(% class="western" %) 2392 +**COMPONENT: Terms** 8609 8609 8610 -(% id="HGETspecificProduct" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 8611 -== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)specific Product(%%) == 8612 - 8613 ----- 8614 - 8615 -{{panel bgColor="#D3D3D3" width="100%"}} 8616 - (% class="nolink" %)https:~/~/api.onecount.net/v2/users(% style="color:#212121" %)/products/~{~{product id}} 8617 -{{/panel}} 8618 - 8619 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 8620 - 8621 ----- 8622 - 8623 -(% 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}} 8624 - 8625 -==== Example ==== 8626 - 8627 ----- 8628 - 8629 -(% style="color:#6b6b6b" %)Request 8630 - 8631 -{{code language="php" theme="RDark" title="Get specific Product Request"}} 8632 - <?php 8633 - 8634 -$curl = curl_init(); 8635 - 8636 -curl_setopt_array($curl, array( 8637 - CURLOPT_URL => 'https://api.onecount.net/v2/users/products/{{product id}}', 8638 - CURLOPT_RETURNTRANSFER => true, 8639 - CURLOPT_ENCODING => '', 8640 - CURLOPT_MAXREDIRS => 10, 8641 - CURLOPT_TIMEOUT => 0, 8642 - CURLOPT_FOLLOWLOCATION => true, 8643 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 8644 - CURLOPT_CUSTOMREQUEST => 'GET', 8645 - CURLOPT_HTTPHEADER => array( 8646 - 'Appkey: {{ONECOUNT API KEY}}' 8647 - ), 8648 -)); 8649 - 8650 -$response = curl_exec($curl); 8651 - 8652 -curl_close($curl); 8653 -echo $response; 8654 -{{/code}} 8655 - 8656 - 8657 -(% style="color:#6b6b6b" %)Response 200 OK 8658 - 8659 -{{code language="yml" theme="RDark" collapse="true" title="Get specific Product Response"}} 8660 - { 8661 - "result": { 8662 - "success": "1", 8663 - "error": { 8664 - "code": "", 8665 - "message": "" 8666 - } 8667 - }, 8668 - "Products": [ 8669 - { 8670 - "ProductId": 109, 8671 - "Title": "Webinar: Enhanced Analytics 2-26-2019 at 1 PM", 8672 - "Description": "", 8673 - "ResourceIDs": [ 8674 - 197 8675 - ], 8676 - "PrimaryFormID": [], 8677 - "Terms": { 8678 - "Id": 93, 8679 - "Name": "Enhanced Analytics Webinar", 8680 - "Description": "Check the box to register for the February 26th webinar.", 8681 - "Duration": 1, 8682 - "DurationUnit": "I", 8683 - "Price": "0", 8684 - "ProductId": 109 8685 - } 8686 - } 8687 - ] 8688 -} 8689 -{{/code}} 8690 - 8691 - 8692 -(% id="HGETlookupProduct" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 8693 -== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)lookup Product(%%) == 8694 - 8695 ----- 8696 - 8697 -{{panel bgColor="#D3D3D3" width="100%"}} 8698 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/products/lookup?Title=~{~{Product Name}} 8699 -{{/panel}} 8700 - 8701 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 8702 - 8703 ----- 8704 - 8705 -(% 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}} 8706 - 8707 -=== (% style="color:#212121" %)Query Params(%%) === 8708 - 8709 ----- 8710 - 8711 -(% 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" %) 8712 - 8713 -==== Example ==== 8714 - 8715 ----- 8716 - 8717 -(% style="color:#6b6b6b" %)Request 8718 - 8719 -{{code language="php" theme="RDark" title="Lookup Product Request"}} 8720 - <?php 8721 - 8722 -$curl = curl_init(); 8723 - 8724 -curl_setopt_array($curl, array( 8725 - CURLOPT_URL => 'https://api.onecount.net/v2/products/lookup?Title={{Product Name}}', 8726 - CURLOPT_RETURNTRANSFER => true, 8727 - CURLOPT_ENCODING => '', 8728 - CURLOPT_MAXREDIRS => 10, 8729 - CURLOPT_TIMEOUT => 0, 8730 - CURLOPT_FOLLOWLOCATION => true, 8731 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 8732 - CURLOPT_CUSTOMREQUEST => 'GET', 8733 - CURLOPT_HTTPHEADER => array( 8734 - 'Appkey: {{ONECOUNT API KEY}}' 8735 - ), 8736 -)); 8737 - 8738 -$response = curl_exec($curl); 8739 - 8740 -curl_close($curl); 8741 -echo $response; 8742 -{{/code}} 8743 - 8744 - 8745 -(% style="color:#6b6b6b" %)Response 200 OK 8746 - 8747 -{{code language="yml" theme="RDark" collapse="true" title="Lookup Product Response"}} 8748 - { 8749 - "result": { 8750 - "success": "1", 8751 - "error": { 8752 - "code": "", 8753 - "message": "" 8754 - } 8755 - }, 8756 - "Products": [ 8757 - { 8758 - "ProductId": 107, 8759 - "Title": "Test123-456", 8760 - "Description": "Testss updated", 8761 - "Terms": { 8762 - "Id": 83, 8763 - "Name": "Product123", 8764 - "Description": null, 8765 - "Duration": 0, 8766 - "DurationUnit": "", 8767 - "Price": "0", 8768 - "ProductId": 107 8769 - } 8770 - } 8771 - ] 8772 -} 8773 -{{/code}} 8774 - 8775 - 8776 -(% id="HPOSTCreateProduct" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 8777 -== (% 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(%%) == 8778 - 8779 ----- 8780 - 8781 -{{panel bgColor="#D3D3D3" width="100%"}} 8782 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/products 8783 -{{/panel}} 8784 - 8785 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 8786 - 8787 ----- 8788 - 8789 -(% 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}} 8790 - 8791 -=== (% style="color:#212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) === 8792 - 8793 ----- 8794 - 8795 -{{code language="yml" theme="RDark" title="Body"}} 8796 -{"Title":"Test API package creation 2","Description": "Test API package creation 2","Terms":{"Name":"Test term for API 2"},"PrimaryFormId":0} 8797 -{{/code}} 8798 - 8799 -==== Example ==== 8800 - 8801 ----- 8802 - 8803 -(% style="color:#6b6b6b" %)Request 8804 - 8805 -{{code language="php" theme="RDark" title="Create Product Request"}} 8806 - <?php 8807 - 8808 -$curl = curl_init(); 8809 - 8810 -curl_setopt_array($curl, array( 8811 - CURLOPT_URL => 'https://api.onecount.net/v2/products', 8812 - CURLOPT_RETURNTRANSFER => true, 8813 - CURLOPT_ENCODING => '', 8814 - CURLOPT_MAXREDIRS => 10, 8815 - CURLOPT_TIMEOUT => 0, 8816 - CURLOPT_FOLLOWLOCATION => true, 8817 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 8818 - CURLOPT_CUSTOMREQUEST => 'POST', 8819 - CURLOPT_POSTFIELDS =>'{"Title":"Test API package creation 1","Description": "Test API package creation 1","Terms":{"Name":"Test term for API 1"},"PrimaryFormId":0}', 8820 - CURLOPT_HTTPHEADER => array( 8821 - 'Appkey: {{ONECOUNT API KEY}}' 8822 - ), 8823 -)); 8824 - 8825 -$response = curl_exec($curl); 8826 - 8827 -curl_close($curl); 8828 -echo $response; 8829 -{{/code}} 8830 - 8831 - 8832 -(% style="color:#6b6b6b" %)Response 200 OK 8833 - 8834 -{{code language="yml" theme="RDark" collapse="true" title="Create Product Response"}} 8835 - { 8836 - "result": { 8837 - "success": "1", 8838 - "error": { 8839 - "code": "", 8840 - "message": "" 8841 - } 8842 - }, 8843 - "Products": [ 8844 - { 8845 - "ProductId": 599 8846 - } 8847 - ] 8848 -} 8849 -{{/code}} 8850 - 8851 - 8852 -(% id="HPUTUpdateProduct" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 8853 -== (% 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(%%) == 8854 - 8855 ----- 8856 - 8857 -{{panel bgColor="#D3D3D3" width="100%"}} 8858 - (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/products/~{~{Product id}} 8859 -{{/panel}} 8860 - 8861 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 8862 - 8863 ----- 8864 - 8865 -(% 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}} 8866 - 8867 -=== (% style="color:#212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) === 8868 - 8869 ----- 8870 - 8871 -{{code language="yml" theme="RDark" title="Body"}} 8872 -{"Title":"Test API package 23","Description": "Test API package 23","PrimaryFormId":0} 8873 -{{/code}} 8874 - 8875 -==== Example ==== 8876 - 8877 ----- 8878 - 8879 -(% style="color:#6b6b6b" %)Request 8880 - 8881 -{{code language="php" theme="RDark" title="Update Product Request"}} 8882 -<?php 8883 - 8884 -$curl = curl_init(); 8885 - 8886 -curl_setopt_array($curl, array( 8887 - CURLOPT_URL => 'https://api.onecount.net/v2/products/{{Product id}}', 8888 - CURLOPT_RETURNTRANSFER => true, 8889 - CURLOPT_ENCODING => '', 8890 - CURLOPT_MAXREDIRS => 10, 8891 - CURLOPT_TIMEOUT => 0, 8892 - CURLOPT_FOLLOWLOCATION => true, 8893 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 8894 - CURLOPT_CUSTOMREQUEST => 'PUT', 8895 - CURLOPT_POSTFIELDS =>'{"Title":"Test API package 1","Description": "Test API package 1","PrimaryFormId":0}', 8896 - CURLOPT_HTTPHEADER => array( 8897 - 'Appkey: {{ONECOUNT API KEY}}' 8898 - ), 8899 -)); 8900 - 8901 -$response = curl_exec($curl); 8902 - 8903 -curl_close($curl); 8904 -echo $response; 8905 - 8906 -{{/code}} 8907 - 8908 - 8909 -(% style="color:#6b6b6b" %)Response 200 OK 8910 - 8911 -{{code language="yml" theme="RDark" collapse="true" title="Update Product Response"}} 8912 - { 8913 - "result": { 8914 - "success": "1", 8915 - "error": { 8916 - "code": "", 8917 - "message": "" 8918 - } 8919 - }, 8920 - "Products": [ 8921 - { 8922 - "ProductId": 599, 8923 - "Title": "Test API package 1", 8924 - "Description": "Test API package 1" 8925 - } 8926 - ] 8927 -} 8928 -{{/code}} 8929 - 8930 - 8931 -(% id="HPOSTAttachResourcetoProduct" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 8932 -== (% 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(%%) == 8933 - 8934 ----- 8935 - 8936 -{{panel bgColor="#D3D3D3" width="100%"}} 8937 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/products/attachResource 8938 -{{/panel}} 8939 - 8940 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 8941 - 8942 ----- 8943 - 8944 -(% 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}} 8945 - 8946 -=== (% style="color:#212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) === 8947 - 8948 ----- 8949 - 8950 -{{code language="yml" theme="RDark" title="Body"}} 8951 -{"ProductID":"599","ResourceID":"903"} 8952 -{{/code}} 8953 - 8954 -==== Example ==== 8955 - 8956 ----- 8957 - 8958 -(% style="color:#6b6b6b" %)Request 8959 - 8960 -{{code language="php" theme="RDark" title="Attach Resource to Product Request"}} 8961 - <?php 8962 - 8963 -$curl = curl_init(); 8964 - 8965 -curl_setopt_array($curl, array( 8966 - CURLOPT_URL => 'https://api.onecount.net/v2/products/attachResource', 8967 - CURLOPT_RETURNTRANSFER => true, 8968 - CURLOPT_ENCODING => '', 8969 - CURLOPT_MAXREDIRS => 10, 8970 - CURLOPT_TIMEOUT => 0, 8971 - CURLOPT_FOLLOWLOCATION => true, 8972 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 8973 - CURLOPT_CUSTOMREQUEST => 'POST', 8974 - CURLOPT_POSTFIELDS =>'{"ProductID":"599","ResourceID":"903"}', 8975 - CURLOPT_HTTPHEADER => array( 8976 - 'Appkey: {{ONECOUNT API KEY}}' 8977 - ), 8978 -)); 8979 - 8980 -$response = curl_exec($curl); 8981 - 8982 -curl_close($curl); 8983 -echo $response; 8984 -{{/code}} 8985 - 8986 - 8987 -(% style="color:#6b6b6b" %)Response 200 OK 8988 - 8989 -{{code language="yml" theme="RDark" collapse="true" title="Create Product Response"}} 8990 - { 8991 - "result": { 8992 - "success": "1", 8993 - "error": { 8994 - "code": "", 8995 - "message": "" 8996 - } 8997 - }, 8998 - "Products": "599" 8999 -} 9000 -{{/code}} 9001 - 9002 -(% id="HCOMPONENT:Terms" class="western" %) 9003 -=== **COMPONENT: Terms** === 9004 - 9005 9005 (% class="western" %) 9006 9006 This resource is for manipulating terms resource. A term can be created, updated or searched. 9007 9007 9008 -(% class="wrapped" %) 9009 -|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2397 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 9010 9010 ((( 9011 9011 (% class="western" %) 9012 9012 **Method** 9013 -)))|(% style="text-align:left; 2401 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 9014 9014 ((( 9015 9015 (% class="western" %) 9016 9016 **Url** 9017 -)))|(% style="text-align:left; 2405 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 9018 9018 ((( 9019 9019 (% class="western" %) 9020 9020 **Action** 9021 9021 ))) 9022 -|(% style="text-align:left; 2410 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 9023 9023 ((( 9024 9024 (% class="western" %) 9025 9025 GET 9026 -)))|(% style="text-align:left; 2414 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 9027 9027 ((( 9028 9028 (% class="western" %) 9029 9029 /terms/5 9030 -)))|(% style="text-align:left; 2418 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 9031 9031 ((( 9032 9032 (% class="western" %) 9033 9033 Get term id 5 9034 9034 ))) 9035 -|(% style="text-align:left; 2423 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 9036 9036 ((( 9037 9037 (% class="western" %) 9038 9038 GET 9039 -)))|(% style="text-align:left; 2427 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 9040 9040 ((( 9041 9041 (% class="western" %) 9042 9042 /terms/lookup?Name=termname 9043 -)))|(% style="text-align:left; 2431 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 9044 9044 ((( 9045 9045 (% class="western" %) 9046 9046 Lookup terms by Name 9047 9047 ))) 9048 -|(% style="text-align:left; 2436 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 9049 9049 ((( 9050 9050 (% class="western" %) 9051 9051 POST 9052 -)))|(% style="text-align:left; 2440 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 9053 9053 ((( 9054 9054 (% class="western" %) 9055 9055 /terms 9056 -)))|(% style="text-align:left; 2444 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 9057 9057 ((( 9058 9058 (% class="western" %) 9059 9059 JSON of the terms type object needs to be sent as post data. Id field should not be sent. 9060 9060 ))) 9061 -|(% style="text-align:left; 2449 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 9062 9062 ((( 9063 9063 (% class="western" %) 9064 9064 PUT 9065 -)))|(% style="text-align:left; 2453 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 9066 9066 ((( 9067 9067 (% class="western" %) 9068 9068 /terms/5 9069 -)))|(% style="text-align:left; 2457 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 9070 9070 ((( 9071 9071 (% class="western" %) 9072 9072 JSON of the terms type object needs to be sent as post data. Id field is mandatory for update. 9073 9073 ))) 9074 9074 9075 -(% id="HGETAllTerms" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 9076 -== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)All Terms(%%) == 2463 +\\ 9077 9077 9078 ----- 2465 +(% class="western" %) 2466 +**GET method should be used to lookup products.** 9079 9079 9080 ----- 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. 9081 9081 9082 -{{panel bgColor="#D3D3D3" width="100%"}} 9083 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/terms 9084 -{{/panel}} 2494 +(% class="western" %) 2495 +Params: 9085 9085 9086 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 2497 +(% class="western" %) 2498 +Name: Name of the term for lookup (String) 2499 +))) 9087 9087 9088 ----- 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 +))) 9089 9089 9090 - (% 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}}2528 +\\ 9091 9091 9092 -==== Example ==== 2530 +(% class="western" %) 2531 +**POST method should be used to create products.** 9093 9093 9094 ----- 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. 9095 9095 9096 -(% style="color:#6b6b6b" %)Request 2559 +(% class="western" %) 2560 +**Possible Request Params**: Name, Description, Duration, DurationUnit, Price, ProductId, Active, ProductStatusId, Quantity, QuantityTxt 9097 9097 9098 - {{codelanguage="php" theme="RDark"title="Get All Terms Request"}}9099 - <?php2562 +(% class="western" %) 2563 +**Example**: 9100 9100 9101 -$curl = curl_init(); 2565 +(% class="western" %) 2566 +{"Name":"Test123","Description":Testss","Duration":10,"ProductId":17} 2567 +))) 9102 9102 9103 -curl_setopt_array($curl, array( 9104 - CURLOPT_URL => 'https://api.onecount.net/v2/terms', 9105 - CURLOPT_RETURNTRANSFER => true, 9106 - CURLOPT_ENCODING => '', 9107 - CURLOPT_MAXREDIRS => 10, 9108 - CURLOPT_TIMEOUT => 0, 9109 - CURLOPT_FOLLOWLOCATION => true, 9110 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 9111 - CURLOPT_CUSTOMREQUEST => 'GET', 9112 - CURLOPT_HTTPHEADER => array( 9113 - 'Appkey: {{ONECOUNT API KEY}}' 9114 - ), 9115 -)); 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 +))) 9116 9116 9117 - $response = curl_exec($curl);2596 +\\ 9118 9118 9119 -curl_close($curl); 9120 -echo $response; 9121 -{{/code}} 2598 +(% class="western" %) 2599 +PUT method should be used to update an individual term given the term info. 9122 9122 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. 9123 9123 9124 -(% style="color:#6b6b6b" %)Response 200 OK 2627 +(% class="western" %) 2628 +\\ 9125 9125 9126 -{{code language="yml" theme="RDark" collapse="true" title="Get All Terms Response"}} 9127 - { 9128 - "result": { 9129 - "success": "1", 9130 - "error": { 9131 - "code": "", 9132 - "message": "" 9133 - } 9134 - }, 9135 - "Terms": [ 9136 - { 9137 - "Id": 26, 9138 - "Name": "Please contact me to arrange a demo", 9139 - "Description": "", 9140 - "Duration": 1, 9141 - "DurationUnit": "I", 9142 - "Price": "0", 9143 - "ProductId": 26 9144 - }, 9145 - { 9146 - "Id": 34, 9147 - "Name": "ONEcount Promotional Emails", 9148 - "Description": "ONEcount promotional emails", 9149 - "Duration": 1, 9150 - "DurationUnit": "I", 9151 - "Price": "0", 9152 - "ProductId": 34 9153 - }, 9154 - { 9155 - "Id": 42, 9156 - "Name": "ONEcount Staff List", 9157 - "Description": "List of ONEcount/GCN Media Staff", 9158 - "Duration": 1, 9159 - "DurationUnit": "I", 9160 - "Price": "0", 9161 - "ProductId": 42 9162 - }, 9163 - { 9164 - "Id": 49, 9165 - "Name": "ONEcount Medical Publishers", 9166 - "Description": "ONEcount Medical Publishers and Associations", 9167 - "Duration": 1, 9168 - "DurationUnit": "I", 9169 - "Price": "0", 9170 - "ProductId": 49 9171 - }, 9172 - { 9173 - "Id": 57, 9174 - "Name": "000 Pop-Up Term", 9175 - "Description": "", 9176 - "Duration": 1, 9177 - "DurationUnit": "I", 9178 - "Price": "0", 9179 - "ProductId": 57 9180 - }, 9181 - { 9182 - "Id": 59, 9183 - "Name": "Get it for free", 9184 - "Description": "", 9185 - "Duration": 1, 9186 - "DurationUnit": "I", 9187 - "Price": "0", 9188 - "ProductId": 67 9189 - }, 9190 - { 9191 - "Id": 67, 9192 - "Name": "DAS_freepass_00", 9193 - "Description": "", 9194 - "Duration": 30, 9195 - "DurationUnit": "D", 9196 - "Price": "0", 9197 - "ProductId": 91 9198 - }, 9199 - { 9200 - "Id": 75, 9201 - "Name": "Product123", 9202 - "Description": null, 9203 - "Duration": 0, 9204 - "DurationUnit": "", 9205 - "Price": "0", 9206 - "ProductId": 99 9207 - }, 9208 - { 9209 - "Id": 83, 9210 - "Name": "Product123", 9211 - "Description": null, 9212 - "Duration": 0, 9213 - "DurationUnit": "", 9214 - "Price": "0", 9215 - "ProductId": 107 9216 - }, 9217 - { 9218 - "Id": 91, 9219 - "Name": "Test123 update ", 9220 - "Description": "Testss updated", 9221 - "Duration": 10, 9222 - "DurationUnit": "", 9223 - "Price": "0", 9224 - "ProductId": 107 9225 - }, 9226 - { 9227 - "Id": 93, 9228 - "Name": "Enhanced Analytics Webinar", 9229 - "Description": "Check the box to register for the February 26th webinar.", 9230 - "Duration": 1, 9231 - "DurationUnit": "I", 9232 - "Price": "0", 9233 - "ProductId": 109 9234 - }, 9235 - { 9236 - "Id": 423, 9237 - "Name": "Test term for API", 9238 - "Description": null, 9239 - "Duration": 0, 9240 - "DurationUnit": "", 9241 - "Price": "0.00", 9242 - "ProductId": 591 9243 - }, 9244 - { 9245 - "Id": 431, 9246 - "Name": "Test term for API 1", 9247 - "Description": null, 9248 - "Duration": 0, 9249 - "DurationUnit": "", 9250 - "Price": "0.00", 9251 - "ProductId": 599 9252 - } 9253 - ] 9254 -} 9255 -{{/code}} 2630 +(% class="western" %) 2631 +**Example**: 9256 9256 2633 +(% class="western" %) 2634 +{"Name":"Test123","Description":Testss","Duration":10,"ProductId":17} 2635 +))) 9257 9257 9258 -(% id="HGETspecificTerm" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 9259 -== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)specific Term(%%) == 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 +))) 9260 9260 9261 - ----2664 +\\ 9262 9262 9263 -{{panel bgColor="#D3D3D3" width="100%"}} 9264 - (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/terms/~{~{Term Id}} 9265 -{{/panel}} 2666 +(% class="western" %) 2667 +**COMPONENT: Resources** 9266 9266 9267 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 9268 - 9269 ----- 9270 - 9271 -(% 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}} 9272 - 9273 -==== Example ==== 9274 - 9275 ----- 9276 - 9277 -(% style="color:#6b6b6b" %)Request 9278 - 9279 -{{code language="php" theme="RDark" title="Get specific Term Request"}} 9280 - <?php 9281 - 9282 -$curl = curl_init(); 9283 - 9284 -curl_setopt_array($curl, array( 9285 - CURLOPT_URL => 'https://api.onecount.net/v2/terms/{{Term Id}}', 9286 - CURLOPT_RETURNTRANSFER => true, 9287 - CURLOPT_ENCODING => '', 9288 - CURLOPT_MAXREDIRS => 10, 9289 - CURLOPT_TIMEOUT => 0, 9290 - CURLOPT_FOLLOWLOCATION => true, 9291 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 9292 - CURLOPT_CUSTOMREQUEST => 'GET', 9293 - CURLOPT_HTTPHEADER => array( 9294 - 'Appkey: {{ONECOUNT API KEY}}' 9295 - ), 9296 -)); 9297 - 9298 -$response = curl_exec($curl); 9299 - 9300 -curl_close($curl); 9301 -echo $response; 9302 -{{/code}} 9303 - 9304 - 9305 -(% style="color:#6b6b6b" %)Response 200 OK 9306 - 9307 -{{code language="yml" theme="RDark" collapse="true" title="Get specific Term Response"}} 9308 - { 9309 - "result": { 9310 - "success": "1", 9311 - "error": { 9312 - "code": "", 9313 - "message": "" 9314 - } 9315 - }, 9316 - "Terms": [ 9317 - { 9318 - "Id": 431, 9319 - "Name": "Test term for API 1", 9320 - "Description": null, 9321 - "Duration": 0, 9322 - "DurationUnit": "", 9323 - "Price": "0.00", 9324 - "ProductId": 599 9325 - } 9326 - ] 9327 -} 9328 -{{/code}} 9329 - 9330 - 9331 -(% id="HGETlookupTerm" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 9332 -== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)lookup Term(%%) == 9333 - 9334 ----- 9335 - 9336 -{{panel bgColor="#D3D3D3" width="100%"}} 9337 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/terms/lookup?Name={(%%){Term Name}} 9338 -{{/panel}} 9339 - 9340 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 9341 - 9342 ----- 9343 - 9344 -(% 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}} 9345 - 9346 -=== (% style="color:#212121" %)Query Params(%%) === 9347 - 9348 ----- 9349 - 9350 -(% 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}} 9351 - 9352 -==== Example ==== 9353 - 9354 ----- 9355 - 9356 -(% style="color:#6b6b6b" %)Request 9357 - 9358 -{{code language="php" theme="RDark" title="Lookup Term Request"}} 9359 - <?php 9360 - 9361 -$curl = curl_init(); 9362 - 9363 -curl_setopt_array($curl, array( 9364 - CURLOPT_URL => 'https://api.onecount.net/v2/terms/lookup?Name={{Term Name}}', 9365 - CURLOPT_RETURNTRANSFER => true, 9366 - CURLOPT_ENCODING => '', 9367 - CURLOPT_MAXREDIRS => 10, 9368 - CURLOPT_TIMEOUT => 0, 9369 - CURLOPT_FOLLOWLOCATION => true, 9370 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 9371 - CURLOPT_CUSTOMREQUEST => 'GET', 9372 - CURLOPT_HTTPHEADER => array( 9373 - 'Appkey: {{ONECOUNT API KEY}}' 9374 - ), 9375 -)); 9376 - 9377 -$response = curl_exec($curl); 9378 - 9379 -curl_close($curl); 9380 -echo $response; 9381 -{{/code}} 9382 - 9383 - 9384 -(% style="color:#6b6b6b" %)Response 200 OK 9385 - 9386 -{{code language="yml" theme="RDark" collapse="true" title="Lookup Term Response"}} 9387 -{ 9388 - "result": { 9389 - "success": "1", 9390 - "error": { 9391 - "code": "", 9392 - "message": "" 9393 - } 9394 - }, 9395 - "Terms": [ 9396 - { 9397 - "Id": 431, 9398 - "Name": "Test term for API 1", 9399 - "Description": null, 9400 - "Duration": 0, 9401 - "DurationUnit": "", 9402 - "Price": "0.00", 9403 - "ProductId": 599 9404 - } 9405 - ] 9406 -} 9407 -{{/code}} 9408 - 9409 - 9410 -(% id="HPOSTCreateTerm" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 9411 -== (% 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(%%) == 9412 - 9413 ----- 9414 - 9415 -{{panel bgColor="#D3D3D3" width="100%"}} 9416 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/terms 9417 -{{/panel}} 9418 - 9419 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 9420 - 9421 ----- 9422 - 9423 -(% 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}} 9424 - 9425 -=== (% style="color:#212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) === 9426 - 9427 ----- 9428 - 9429 -{{code language="yml" theme="RDark" title="Body"}} 9430 -{"Name":"Test API term creation","Description":"Test API term creation","Duration":10,"ProductId":599} 9431 -{{/code}} 9432 - 9433 -==== Example ==== 9434 - 9435 ----- 9436 - 9437 -(% style="color:#6b6b6b" %)Request 9438 - 9439 -{{code language="php" theme="RDark" title="Create Term Request"}} 9440 -<?php 9441 - 9442 -$curl = curl_init(); 9443 - 9444 -curl_setopt_array($curl, array( 9445 - CURLOPT_URL => 'https://api.onecount.net/v2/terms', 9446 - CURLOPT_RETURNTRANSFER => true, 9447 - CURLOPT_ENCODING => '', 9448 - CURLOPT_MAXREDIRS => 10, 9449 - CURLOPT_TIMEOUT => 0, 9450 - CURLOPT_FOLLOWLOCATION => true, 9451 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 9452 - CURLOPT_CUSTOMREQUEST => 'POST', 9453 - CURLOPT_POSTFIELDS =>'{"Name":"Test API term creation","Description":"Test API term creation","Duration":10,"ProductId":599} 9454 - 9455 -', 9456 - CURLOPT_HTTPHEADER => array( 9457 - 'Appkey: {{ONECOUNT API KEY}}' 9458 - ), 9459 -)); 9460 - 9461 -$response = curl_exec($curl); 9462 - 9463 -curl_close($curl); 9464 -echo $response; 9465 - 9466 - 9467 -{{/code}} 9468 - 9469 - 9470 -(% style="color:#6b6b6b" %)Response 200 OK 9471 - 9472 -{{code language="yml" theme="RDark" collapse="true" title="Create Term Response"}} 9473 -{ 9474 - "result": { 9475 - "success": "1", 9476 - "error": { 9477 - "code": "", 9478 - "message": "" 9479 - } 9480 - }, 9481 - "Terms": [ 9482 - { 9483 - "Id": 447 9484 - } 9485 - ] 9486 -} 9487 -{{/code}} 9488 - 9489 - 9490 -(% id="HPUTUpdateTerm" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 9491 -== (% 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(%%) == 9492 - 9493 ----- 9494 - 9495 -{{panel bgColor="#D3D3D3" width="100%"}} 9496 - (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/terms/~{~{Term Id}} 9497 -{{/panel}} 9498 - 9499 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 9500 - 9501 ----- 9502 - 9503 -(% 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}} 9504 - 9505 -=== (% style="color:#212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) === 9506 - 9507 ----- 9508 - 9509 -{{code language="yml" theme="RDark" title="Body"}} 9510 -{"Name":"Test API term creation update","Description":"Test API term creation update","Duration":10,"ProductId":599} 9511 -{{/code}} 9512 - 9513 -==== Example ==== 9514 - 9515 ----- 9516 - 9517 -(% style="color:#6b6b6b" %)Request 9518 - 9519 -{{code language="php" theme="RDark" title="Update Term Request"}} 9520 - <?php 9521 - 9522 -$curl = curl_init(); 9523 - 9524 -curl_setopt_array($curl, array( 9525 - CURLOPT_URL => 'https://api.onecount.net/v2/terms/{{Term Id}}', 9526 - CURLOPT_RETURNTRANSFER => true, 9527 - CURLOPT_ENCODING => '', 9528 - CURLOPT_MAXREDIRS => 10, 9529 - CURLOPT_TIMEOUT => 0, 9530 - CURLOPT_FOLLOWLOCATION => true, 9531 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 9532 - CURLOPT_CUSTOMREQUEST => 'PUT', 9533 - CURLOPT_POSTFIELDS =>'{"Name":"Test API term creation update","Description":"Test API term creation update","Duration":10,"ProductId":599}', 9534 - CURLOPT_HTTPHEADER => array( 9535 - 'Appkey: {{ONECOUNT API KEY}}' 9536 - ), 9537 -)); 9538 - 9539 -$response = curl_exec($curl); 9540 - 9541 -curl_close($curl); 9542 -echo $response; 9543 -{{/code}} 9544 - 9545 - 9546 -(% style="color:#6b6b6b" %)Response 200 OK 9547 - 9548 -{{code language="yml" theme="RDark" collapse="true" title="Update Term Response"}} 9549 - { 9550 - "result": { 9551 - "success": "1", 9552 - "error": { 9553 - "code": "", 9554 - "message": "" 9555 - } 9556 - }, 9557 - "Terms": [ 9558 - { 9559 - "Id": 447, 9560 - "Name": "Test API term creation update", 9561 - "Description": "Test API term creation update", 9562 - "Duration": 10, 9563 - "DurationUnit": "", 9564 - "Price": "0.00", 9565 - "ProductId": 599 9566 - } 9567 - ] 9568 -} 9569 -{{/code}} 9570 - 9571 - 9572 -(% id="HCOMPONENT:Resources" class="western" %) 9573 -=== **COMPONENT: Resources** === 9574 - 9575 9575 (% class="western" %) 9576 9576 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. 9577 9577 ... ... @@ -9610,4468 +9610,880 @@ 9610 9610 (% class="western" %) 9611 9611 This resource is for manipulating resources resource. A resource can be created, updated or searched. 9612 9612 9613 -(% class="wrapped" %) 9614 -|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 2707 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 9615 9615 ((( 9616 9616 (% class="western" %) 9617 9617 **Method** 9618 -)))|(% style="text-align:left; 2711 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 9619 9619 ((( 9620 9620 (% class="western" %) 9621 9621 **Url** 9622 -)))|(% style="text-align:left; 2715 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 9623 9623 ((( 9624 9624 (% class="western" %) 9625 9625 **Action** 9626 9626 ))) 9627 -|(% style="text-align:left; 2720 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 9628 9628 ((( 9629 9629 (% class="western" %) 9630 9630 GET 9631 -)))|(% style="text-align:left; 2724 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 9632 9632 ((( 9633 9633 (% class="western" %) 9634 9634 /resources/5 9635 -)))|(% style="text-align:left; 2728 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 9636 9636 ((( 9637 9637 (% class="western" %) 9638 9638 Get resource id 5 9639 9639 ))) 9640 -|(% style="text-align:left; 2733 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 9641 9641 ((( 9642 9642 (% class="western" %) 9643 9643 GET 9644 -)))|(% style="text-align:left; 2737 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 9645 9645 ((( 9646 9646 (% class="western" %) 9647 9647 /resources/lookup?Name=resourcename 9648 -)))|(% style="text-align:left; 2741 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 9649 9649 ((( 9650 9650 (% class="western" %) 9651 9651 Lookup resources by Name 9652 9652 ))) 9653 -|(% style="text-align:left; 2746 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 9654 9654 ((( 9655 9655 (% class="western" %) 9656 9656 POST 9657 -)))|(% style="text-align:left; 2750 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 9658 9658 ((( 9659 9659 (% class="western" %) 9660 9660 /resources 9661 -)))|(% style="text-align:left; 2754 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 9662 9662 ((( 9663 9663 (% class="western" %) 9664 9664 JSON of the resources type object needs to be sent as post data. Id field should not be sent. 9665 9665 ))) 9666 -|(% style="text-align:left; 2759 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 9667 9667 ((( 9668 9668 (% class="western" %) 9669 9669 PUT 9670 -)))|(% style="text-align:left; 2763 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 9671 9671 ((( 9672 9672 (% class="western" %) 9673 9673 /resources/5 9674 -)))|(% style="text-align:left; 2767 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 9675 9675 ((( 9676 9676 (% class="western" %) 9677 9677 JSON of the resources type object needs to be sent as post data. Id field is mandatory for update. 9678 9678 ))) 9679 9679 9680 -(% id="HGETAllResources" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 9681 -== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)All Resources(%%) == 2773 +\\ 9682 9682 9683 ----- 2775 +(% class="western" %) 2776 +**GET method should be used to lookup resources.** 9684 9684 9685 ----- 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. 9686 9686 9687 -{{panel bgColor="#D3D3D3" width="100%"}} 9688 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/resources 9689 -{{/panel}} 2804 +(% class="western" %) 2805 +Params: 9690 9690 9691 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 2807 +(% class="western" %) 2808 +Name: Name of the resource for lookup (String) 2809 +))) 9692 9692 9693 ----- 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 +))) 9694 9694 9695 - (% 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}}2838 +\\ 9696 9696 9697 -==== Example ==== 2840 +(% class="western" %) 2841 +**POST method should be used to create resources.** 9698 9698 9699 ----- 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. 9700 9700 9701 -(% style="color:#6b6b6b" %)Request 2869 +(% class="western" %) 2870 +**Possible Request Params**: Name, Description, Type, Value, FreePass 9702 9702 9703 - {{codelanguage="php" theme="RDark"title="Get All Resource Request"}}9704 - <?php2872 +(% class="western" %) 2873 +**Example**: 9705 9705 9706 -$curl = curl_init(); 2875 +(% class="western" %) 2876 +{"Name":"Test123","Description":Testss","Type":3,"Value":”/digital/”} 9707 9707 9708 -curl_setopt_array($curl, array( 9709 - CURLOPT_URL => 'https://api.onecount.net/v2/resources', 9710 - CURLOPT_RETURNTRANSFER => true, 9711 - CURLOPT_ENCODING => '', 9712 - CURLOPT_MAXREDIRS => 10, 9713 - CURLOPT_TIMEOUT => 0, 9714 - CURLOPT_FOLLOWLOCATION => true, 9715 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 9716 - CURLOPT_CUSTOMREQUEST => 'GET', 9717 - CURLOPT_HTTPHEADER => array( 9718 - 'Appkey: {{ONECOUNT API KEY}}' 9719 - ), 9720 -)); 2878 +(% class="western" %) 2879 +{"Name":"Test123","Description":Testss","Type":3,"Value":[”/digital/”, "/article/"]} 9721 9721 9722 -$response = curl_exec($curl); 2881 +(% class="western" %) 2882 +{"Name":"Test123","Description":Testss","Type":3,"Value":”/digital/”, "FreePass":1} 9723 9723 9724 -c url_close($curl);9725 -e cho $response;9726 - {{/code}}2884 +(% class="western" %) 2885 +{"Name":"Test123","Description":Testss","Type":3,"Value":[”/digital/”, "/article/"],"FreePass":1} 2886 +))) 9727 9727 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 +))) 9728 9728 9729 - (% style="color:#6b6b6b" %)Response 200 OK2915 +\\ 9730 9730 9731 -{{code language="yml" theme="RDark" collapse="true" title="Get All Resource Response"}} 9732 - { 9733 - "result": { 9734 - "success": "1", 9735 - "error": { 9736 - "code": "", 9737 - "message": "" 9738 - } 9739 - }, 9740 - "Resources": [ 9741 - { 9742 - "Id": 18, 9743 - "Name": "ONEcount/GCN Staff Newsletter Resource", 9744 - "Description": "ONEcount/GCN Staff Newsletter List", 9745 - "Type": "2", 9746 - "Value": "57|53|55", 9747 - "FreePass": 0 9748 - }, 9749 - { 9750 - "Id": 26, 9751 - "Name": "GCN TEST GROUP", 9752 - "Description": "THESE USER WILL GET TEST MESSAGE", 9753 - "Type": "2", 9754 - "Value": "47", 9755 - "FreePass": 0 9756 - }, 9757 - { 9758 - "Id": 98, 9759 - "Name": "ONEcount Prospects List", 9760 - "Description": "Newsletter List of ONEcount Prospects", 9761 - "Type": "2", 9762 - "Value": "55", 9763 - "FreePass": 0 9764 - }, 9765 - { 9766 - "Id": 106, 9767 - "Name": "Google Ads Form", 9768 - "Description": "", 9769 - "Type": "3", 9770 - "Value": "http://ocreg.one-count.com/onecount/reg/registerForm.cgi?form=186&brand=OC", 9771 - "FreePass": 0 9772 - }, 9773 - { 9774 - "Id": 114, 9775 - "Name": "secure files", 9776 - "Description": "", 9777 - "Type": "3", 9778 - "Value": "/download.php", 9779 - "FreePass": 0 9780 - }, 9781 - { 9782 - "Id": 130, 9783 - "Name": "REQUEST A DEMO", 9784 - "Description": "", 9785 - "Type": "3", 9786 - "Value": "http://ocreg.one-count.com/onecount/flexreg/displayform.cgi?g=0&form=34", 9787 - "FreePass": 0 9788 - }, 9789 - { 9790 - "Id": 137, 9791 - "Name": "ONEcount Medical Publishers", 9792 - "Description": "ONEcount Medical Publishers and Associations", 9793 - "Type": "2", 9794 - "Value": "61", 9795 - "FreePass": 0 9796 - }, 9797 - { 9798 - "Id": 145, 9799 - "Name": "Pop-Up Test Page", 9800 - "Description": "", 9801 - "Type": "3", 9802 - "Value": "http://omar.gcnmedia.com/projects/form/gated.html", 9803 - "FreePass": 0 9804 - }, 9805 - { 9806 - "Id": 146, 9807 - "Name": "Platform Resource", 9808 - "Description": "Test Resource", 9809 - "Type": "3", 9810 - "Value": "/Platform", 9811 - "FreePass": 0 9812 - }, 9813 - { 9814 - "Id": 153, 9815 - "Name": "Submitted", 9816 - "Description": "", 9817 - "Type": "3", 9818 - "Value": "http://gcn-reg.onecount.net/onecount/reg/tSuccessView.php?brand=oc", 9819 - "FreePass": 0 9820 - } 9821 - ] 9822 -} 9823 -{{/code}} 2917 +(% class="western" %) 2918 +PUT method should be used to update an individual resource given the resource info. 9824 9824 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. 9825 9825 9826 -(% id="HGETspecificResource" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)9827 - == (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)specific Resource(%%) ==2946 +(% class="western" %) 2947 +\\ 9828 9828 9829 ----- 2949 +(% class="western" %) 2950 +Examples: 9830 9830 9831 -{{panel bgColor="#D3D3D3" width="100%"}} 9832 - (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/resources/{(%%){Resource ID}} 9833 -{{/panel}} 2952 +(% class="western" %) 2953 +{"Name":"Test123","Description":Testss","Type":3,"Value":”/digital/”} 9834 9834 9835 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 2955 +(% class="western" %) 2956 +{"Name":"Test123","Description":Testss","Type":3,"Value":[”/digital/”, "/article/"]} 9836 9836 9837 ----- 2958 +(% class="western" %) 2959 +{"Name":"Test123","Description":Testss","Type":3,"Value":”/digital/”,"FreePass":1} 9838 9838 9839 -(% 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}} 2961 +(% class="western" %) 2962 +{"Name":"Test123","Description":Testss","Type":3,"Value":[”/digital/”, "/article/"],"FreePass":1} 2963 +))) 9840 9840 9841 -==== Example ==== 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 +))) 9842 9842 9843 - ----2992 +\\ 9844 9844 9845 - (% style="color:#6b6b6b" %)Request2994 +\\ 9846 9846 9847 - {{codelanguage="php" theme="RDark"title="Get specific Resource Request"}}9848 - <?php2996 +(% class="western" %) 2997 +\\ 9849 9849 9850 -$curl = curl_init(); 2999 +(% class="western" %) 3000 +**COMPONENT: Source Codes 3001 +** 9851 9851 9852 -curl_setopt_array($curl, array( 9853 - CURLOPT_URL => 'https://api.onecount.net/v2/resources/{{Resource ID}}', 9854 - CURLOPT_RETURNTRANSFER => true, 9855 - CURLOPT_ENCODING => '', 9856 - CURLOPT_MAXREDIRS => 10, 9857 - CURLOPT_TIMEOUT => 0, 9858 - CURLOPT_FOLLOWLOCATION => true, 9859 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 9860 - CURLOPT_CUSTOMREQUEST => 'GET', 9861 - CURLOPT_HTTPHEADER => array( 9862 - 'Appkey: {{ONECOUNT API KEY}}' 9863 - ), 9864 -)); 9865 - 9866 -$response = curl_exec($curl); 9867 - 9868 -curl_close($curl); 9869 -echo $response; 9870 -{{/code}} 9871 - 9872 - 9873 -(% style="color:#6b6b6b" %)Response 200 OK 9874 - 9875 -{{code language="yml" theme="RDark" collapse="true" title="Get specific Resource Response"}} 9876 - { 9877 - "result": { 9878 - "success": "1", 9879 - "error": { 9880 - "code": "", 9881 - "message": "" 9882 - } 9883 - }, 9884 - "Resources": [ 9885 - { 9886 - "Id": 623, 9887 - "Name": "TOP 3 THINGS - NonStop Local News", 9888 - "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.", 9889 - "Type": "2", 9890 - "Value": "", 9891 - "FreePass": 0 9892 - } 9893 - ] 9894 -} 9895 -{{/code}} 9896 - 9897 - 9898 -(% id="HGETlookupResource" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 9899 -== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)lookup Resource(%%) == 9900 - 9901 ----- 9902 - 9903 -{{panel bgColor="#D3D3D3" width="100%"}} 9904 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/resources/lookup?Name={(%%){Resource Name}} 9905 -{{/panel}} 9906 - 9907 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 9908 - 9909 ----- 9910 - 9911 -(% 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}} 9912 - 9913 -=== (% style="color:#212121" %)Query Params(%%) === 9914 - 9915 ----- 9916 - 9917 -(% 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}} 9918 - 9919 -==== Example ==== 9920 - 9921 ----- 9922 - 9923 -(% style="color:#6b6b6b" %)Request 9924 - 9925 -{{code language="php" theme="RDark" title="Lookup Resource Request"}} 9926 - <?php 9927 - 9928 -$curl = curl_init(); 9929 - 9930 -curl_setopt_array($curl, array( 9931 - CURLOPT_URL => 'https://api.onecount.net/v2/resources/lookup?Name={{Resource Name}}', 9932 - CURLOPT_RETURNTRANSFER => true, 9933 - CURLOPT_ENCODING => '', 9934 - CURLOPT_MAXREDIRS => 10, 9935 - CURLOPT_TIMEOUT => 0, 9936 - CURLOPT_FOLLOWLOCATION => true, 9937 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 9938 - CURLOPT_CUSTOMREQUEST => 'GET', 9939 - CURLOPT_HTTPHEADER => array( 9940 - 'Appkey: {{ONECOUNT API KEY}}' 9941 - ), 9942 -)); 9943 - 9944 -$response = curl_exec($curl); 9945 - 9946 -curl_close($curl); 9947 -echo $response; 9948 -{{/code}} 9949 - 9950 - 9951 -(% style="color:#6b6b6b" %)Response 200 OK 9952 - 9953 -{{code language="yml" theme="RDark" collapse="true" title="Lookup Resource Response"}} 9954 - { 9955 - "result": { 9956 - "success": "1", 9957 - "error": { 9958 - "code": "", 9959 - "message": "" 9960 - } 9961 - }, 9962 - "Resources": [ 9963 - { 9964 - "Id": 479, 9965 - "Name": "Virtualization Review", 9966 - "Description": "", 9967 - "Type": "0", 9968 - "Value": "", 9969 - "FreePass": 0 9970 - } 9971 - ] 9972 -} 9973 -{{/code}} 9974 - 9975 - 9976 -(% id="HPOSTCreateResource" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 9977 -== (% 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(%%) == 9978 - 9979 ----- 9980 - 9981 -{{panel bgColor="#D3D3D3" width="100%"}} 9982 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/resources 9983 -{{/panel}} 9984 - 9985 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 9986 - 9987 ----- 9988 - 9989 -(% 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}} 9990 - 9991 -=== (% style="color:#212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) === 9992 - 9993 ----- 9994 - 9995 -{{code language="yml" theme="RDark" title="Body"}} 9996 -{"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} 9997 -{{/code}} 9998 - 9999 -==== Example ==== 10000 - 10001 ----- 10002 - 10003 -(% style="color:#6b6b6b" %)Request 10004 - 10005 -{{code language="php" theme="RDark" title="Create Resource Request"}} 10006 - <?php 10007 - 10008 -$curl = curl_init(); 10009 - 10010 -curl_setopt_array($curl, array( 10011 - CURLOPT_URL => 'https://api.onecount.net/v2/resources', 10012 - CURLOPT_RETURNTRANSFER => true, 10013 - CURLOPT_ENCODING => '', 10014 - CURLOPT_MAXREDIRS => 10, 10015 - CURLOPT_TIMEOUT => 0, 10016 - CURLOPT_FOLLOWLOCATION => true, 10017 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 10018 - CURLOPT_CUSTOMREQUEST => 'POST', 10019 - 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}', 10020 - CURLOPT_HTTPHEADER => array( 10021 - 'Appkey: {{ONECOUNT API KEY}}' 10022 - ), 10023 -)); 10024 - 10025 -$response = curl_exec($curl); 10026 - 10027 -curl_close($curl); 10028 -echo $response; 10029 -{{/code}} 10030 - 10031 - 10032 -(% style="color:#6b6b6b" %)Response 200 OK 10033 - 10034 -{{code language="yml" theme="RDark" collapse="true" title="Create Resource Response"}} 10035 - { 10036 - "result": { 10037 - "success": "1", 10038 - "error": { 10039 - "code": "", 10040 - "message": "" 10041 - } 10042 - }, 10043 - "Resources": [ 10044 - { 10045 - "Id": 871, 10046 - "Name": "Test API product creation 21", 10047 - "Description": "Test API product creation 21", 10048 - "Type": "3", 10049 - "Value": "http://one-count.com", 10050 - "FreePass": 1 10051 - } 10052 - ] 10053 -} 10054 -{{/code}} 10055 - 10056 - 10057 -(% id="HPUTUpdateResource" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 10058 -== (% 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(%%) == 10059 - 10060 ----- 10061 - 10062 -{{panel bgColor="#D3D3D3" width="100%"}} 10063 - (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/resources/~{~{resource id}} 10064 -{{/panel}} 10065 - 10066 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 10067 - 10068 ----- 10069 - 10070 -(% 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}} 10071 - 10072 -=== (% style="color:#212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) === 10073 - 10074 ----- 10075 - 10076 -{{code language="yml" theme="RDark" title="Body"}} 10077 -{"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} 10078 -{{/code}} 10079 - 10080 -==== Example ==== 10081 - 10082 ----- 10083 - 10084 -(% style="color:#6b6b6b" %)Request 10085 - 10086 -{{code language="php" theme="RDark" title="Update Resource Request"}} 10087 - <?php 10088 - 10089 -$curl = curl_init(); 10090 - 10091 -curl_setopt_array($curl, array( 10092 - CURLOPT_URL => 'https://api.onecount.net/v2/resources/{{resource id}}', 10093 - CURLOPT_RETURNTRANSFER => true, 10094 - CURLOPT_ENCODING => '', 10095 - CURLOPT_MAXREDIRS => 10, 10096 - CURLOPT_TIMEOUT => 0, 10097 - CURLOPT_FOLLOWLOCATION => true, 10098 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 10099 - CURLOPT_CUSTOMREQUEST => 'PUT', 10100 - 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}', 10101 - CURLOPT_HTTPHEADER => array( 10102 - 'Appkey: {{ONECOUNT API KEY}}' 10103 - ), 10104 -)); 10105 - 10106 -$response = curl_exec($curl); 10107 - 10108 -curl_close($curl); 10109 -echo $response; 10110 -{{/code}} 10111 - 10112 - 10113 -(% style="color:#6b6b6b" %)Response 200 OK 10114 - 10115 -{{code language="yml" theme="RDark" collapse="true" title="Update Resource Response"}} 10116 - { 10117 - "result": { 10118 - "success": "1", 10119 - "error": { 10120 - "code": "", 10121 - "message": "" 10122 - } 10123 - }, 10124 - "Resources": [ 10125 - { 10126 - "Id": 903, 10127 - "Name": "Test API product creation 23", 10128 - "Description": "Test API product creation 23", 10129 - "Type": "3", 10130 - "Value": "http://one-count.com", 10131 - "FreePass": 1 10132 - }, 10133 - { 10134 - "Id": 903, 10135 - "Name": "Test API product creation 23", 10136 - "Description": "Test API product creation 23", 10137 - "Type": "3", 10138 - "Value": "onecount.net", 10139 - "FreePass": 1 10140 - } 10141 - ] 10142 -} 10143 -{{/code}} 10144 - 10145 - 10146 -(% id="HCOMPONENT:SourceCodes" class="western" %) 10147 -=== **COMPONENT: Source Codes** === 10148 - 10149 -* 10150 -** === 10151 - 10152 10152 (% class="western" %) 10153 10153 This resource is for manipulating source code for a resource. A source code can be created, updated or searched. 10154 10154 10155 -(% class="wrapped" %) 10156 -|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3006 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 10157 10157 ((( 10158 10158 (% class="western" %) 10159 10159 **Method** 10160 -)))|(% style="text-align:left; 3010 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 10161 10161 ((( 10162 10162 (% class="western" %) 10163 10163 **Url** 10164 -)))|(% style="text-align:left; 3014 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 10165 10165 ((( 10166 10166 (% class="western" %) 10167 10167 **Action** 10168 10168 ))) 10169 -|(% style="text-align:left; 3019 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 10170 10170 ((( 10171 10171 (% class="western" %) 10172 10172 GET 10173 -)))|(% style="text-align:left; 3023 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 10174 10174 ((( 10175 10175 (% class="western" %) 10176 10176 /sources/1 10177 -)))|(% style="text-align:left; 3027 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 10178 10178 ((( 10179 10179 (% class="western" %) 10180 10180 Get source id 1. 10181 10181 ))) 10182 -|(% style="text-align:left; 3032 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 10183 10183 ((( 10184 10184 (% class="western" %) 10185 10185 GET 10186 -)))|(% style="text-align:left; 3036 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 10187 10187 ((( 10188 10188 (% class="western" %) 10189 10189 /sources/lookup?Source=sourcename 10190 -)))|(% style="text-align:left; 3040 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 10191 10191 ((( 10192 10192 (% class="western" %) 10193 10193 Lookup sources by source. 10194 10194 ))) 10195 -|(% style="text-align:left; 3045 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 10196 10196 ((( 10197 10197 (% class="western" %) 10198 10198 POST 10199 -)))|(% style="text-align:left; 3049 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 10200 10200 ((( 10201 10201 (% class="western" %) 10202 10202 /sources 10203 -)))|(% style="text-align:left; 3053 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 10204 10204 ((( 10205 10205 (% class="western" %) 10206 10206 JSON of the Sources type object needs to be sent as post data. Id field should not be sent. 10207 10207 ))) 10208 -|(% style="text-align:left; 3058 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 10209 10209 ((( 10210 10210 (% class="western" %) 10211 10211 PUT 10212 -)))|(% style="text-align:left; 3062 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 10213 10213 ((( 10214 10214 (% class="western" %) 10215 10215 /sources 10216 -)))|(% style="text-align:left; 3066 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 10217 10217 ((( 10218 10218 (% class="western" %) 10219 10219 JSON of the Sources type object needs to be sent as post data. Id field is mandatory for update. 10220 10220 ))) 10221 10221 10222 -(% id="HGETAllSourcecodes" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 10223 -== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)All Source codes(%%) == 3072 +\\ 10224 10224 10225 ----- 10226 - 10227 ----- 10228 - 10229 -{{panel bgColor="#D3D3D3" width="100%"}} 10230 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/sources 10231 -{{/panel}} 10232 - 10233 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 10234 - 10235 ----- 10236 - 10237 -(% 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}} 10238 - 10239 -==== Example ==== 10240 - 10241 ----- 10242 - 10243 -(% style="color:#6b6b6b" %)Request 10244 - 10245 -{{code language="php" theme="RDark" title="Get All Source code Request"}} 10246 - <?php 10247 - 10248 -$curl = curl_init(); 10249 - 10250 -curl_setopt_array($curl, array( 10251 - CURLOPT_URL => 'https://api.onecount.net/v2/sources', 10252 - CURLOPT_RETURNTRANSFER => true, 10253 - CURLOPT_ENCODING => '', 10254 - CURLOPT_MAXREDIRS => 10, 10255 - CURLOPT_TIMEOUT => 0, 10256 - CURLOPT_FOLLOWLOCATION => true, 10257 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 10258 - CURLOPT_CUSTOMREQUEST => 'GET', 10259 - CURLOPT_HTTPHEADER => array( 10260 - 'Appkey: {{ONECOUNT API KEY}}' 10261 - ), 10262 -)); 10263 - 10264 -$response = curl_exec($curl); 10265 - 10266 -curl_close($curl); 10267 -echo $response; 10268 -{{/code}} 10269 - 10270 - 10271 -(% style="color:#6b6b6b" %)Response 200 OK 10272 - 10273 -{{code language="yml" theme="RDark" collapse="true" title="Get All Source code Response"}} 10274 - { 10275 - "result": { 10276 - "success": "1", 10277 - "error": { 10278 - "code": "", 10279 - "message": "" 10280 - } 10281 - }, 10282 - "Sources": [ 10283 - { 10284 - "Id": 26, 10285 - "Source": "GCN-Member", 10286 - "Description": "Uploaded from Reston VA", 10287 - "Parent": 0 10288 - }, 10289 - { 10290 - "Id": 34, 10291 - "Source": "SugarID", 10292 - "Description": "Sugar IDs cleaned contacts list and cleaned leads list sent by Sean Fulton for upload.", 10293 - "Parent": 0 10294 - }, 10295 - { 10296 - "Id": 42, 10297 - "Source": "DEMOFORM", 10298 - "Description": "\"Request a Demo\" form from one-count.com", 10299 - "Parent": 0 10300 - }, 10301 - { 10302 - "Id": 50, 10303 - "Source": "ABM ANNUAL 2014", 10304 - "Description": "ABM Annual 2014 - Registration List for Sponsors", 10305 - "Parent": 0 10306 - }, 10307 - { 10308 - "Id": 58, 10309 - "Source": "BIMS REG LIST", 10310 - "Description": "BIMS Registration List for Sponsors (2013/2014)", 10311 - "Parent": 0 10312 - }, 10313 - { 10314 - "Id": 66, 10315 - "Source": "SIPA 13", 10316 - "Description": "SIPA 2013 - sponsor - attendees", 10317 - "Parent": 0 10318 - }, 10319 - { 10320 - "Id": 74, 10321 - "Source": "Google Ads", 10322 - "Description": "From Google Banner Ads", 10323 - "Parent": 0 10324 - }, 10325 - { 10326 - "Id": 82, 10327 - "Source": "EDIT PROFILE", 10328 - "Description": "FOR EDIT PROFILE FORM", 10329 - "Parent": 0 10330 - }, 10331 - { 10332 - "Id": 83, 10333 - "Source": "Test Source Code", 10334 - "Description": "", 10335 - "Parent": 0 10336 - }, 10337 - { 10338 - "Id": 91, 10339 - "Source": "NEWSLETTER", 10340 - "Description": "Newsletter", 10341 - "Parent": 0 10342 - }, 10343 - { 10344 - "Id": 99, 10345 - "Source": "INFOTANKS-comps-only_12032019", 10346 - "Description": "", 10347 - "Parent": 0 10348 - }, 10349 - { 10350 - "Id": 107, 10351 - "Source": "INFOTANKS-DMP-only_12102019", 10352 - "Description": "", 10353 - "Parent": 0 10354 - }, 10355 - { 10356 - "Id": 109, 10357 - "Source": "BMVM", 10358 - "Description": "Active Attendees", 10359 - "Parent": 0 10360 - }, 10361 - { 10362 - "Id": 115, 10363 - "Source": "USECASES", 10364 - "Description": "Use Case PDF", 10365 - "Parent": 0 10366 - }, 10367 - { 10368 - "Id": 123, 10369 - "Source": "Borrell Miami 2022", 10370 - "Description": "", 10371 - "Parent": 0 10372 - }, 10373 - { 10374 - "Id": 131, 10375 - "Source": "05092022-telemarketing", 10376 - "Description": "", 10377 - "Parent": 0 10378 - }, 10379 - { 10380 - "Id": 139, 10381 - "Source": "WEBINAR6.15.22", 10382 - "Description": "Live Webinar Series June 15, 2022", 10383 - "Parent": 0 10384 - }, 10385 - { 10386 - "Id": 147, 10387 - "Source": "LMA Show List", 10388 - "Description": "", 10389 - "Parent": 0 10390 - }, 10391 - { 10392 - "Id": 155, 10393 - "Source": "AAA", 10394 - "Description": "", 10395 - "Parent": 0 10396 - }, 10397 - { 10398 - "Id": 163, 10399 - "Source": "MGS2022", 10400 - "Description": "", 10401 - "Parent": 0 10402 - }, 10403 - { 10404 - "Id": 171, 10405 - "Source": "MGS2023", 10406 - "Description": "", 10407 - "Parent": 0 10408 - }, 10409 - { 10410 - "Id": 179, 10411 - "Source": "Sugar Leads", 10412 - "Description": "", 10413 - "Parent": 0 10414 - }, 10415 - { 10416 - "Id": 187, 10417 - "Source": "seansbox", 10418 - "Description": "", 10419 - "Parent": 0 10420 - }, 10421 - { 10422 - "Id": 191, 10423 - "Source": "SEEITLIVE", 10424 - "Description": "Lunch & Learn Webinar Series with Special Partner Guests", 10425 - "Parent": 0 10426 - }, 10427 - { 10428 - "Id": 199, 10429 - "Source": "80-percent-conversion-rates", 10430 - "Description": "", 10431 - "Parent": 0 10432 - } 10433 - ] 10434 -} 10435 -{{/code}} 10436 - 10437 - 10438 -(% id="HGETspecificSourcecode" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 10439 -== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)specific Source code(%%) == 10440 - 10441 ----- 10442 - 10443 -{{panel bgColor="#D3D3D3" width="100%"}} 10444 - (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/sources/~{~{source code id}} 10445 -{{/panel}} 10446 - 10447 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 10448 - 10449 ----- 10450 - 10451 -(% 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}} 10452 - 10453 -==== Example ==== 10454 - 10455 ----- 10456 - 10457 -(% style="color:#6b6b6b" %)Request 10458 - 10459 -{{code language="php" theme="RDark" title="Get specific Source Request"}} 10460 - <?php 10461 - 10462 -$curl = curl_init(); 10463 - 10464 -curl_setopt_array($curl, array( 10465 - CURLOPT_URL => 'https://api.onecount.net/v2/sources/{{source code id}}', 10466 - CURLOPT_RETURNTRANSFER => true, 10467 - CURLOPT_ENCODING => '', 10468 - CURLOPT_MAXREDIRS => 10, 10469 - CURLOPT_TIMEOUT => 0, 10470 - CURLOPT_FOLLOWLOCATION => true, 10471 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 10472 - CURLOPT_CUSTOMREQUEST => 'GET', 10473 - CURLOPT_HTTPHEADER => array( 10474 - 'Appkey: {{ONECOUNT API KEY}}' 10475 - ), 10476 -)); 10477 - 10478 -$response = curl_exec($curl); 10479 - 10480 -curl_close($curl); 10481 -echo $response; 10482 -{{/code}} 10483 - 10484 - 10485 -(% style="color:#6b6b6b" %)Response 200 OK 10486 - 10487 -{{code language="yml" theme="RDark" collapse="true" title="Get specific Source Response"}} 10488 - { 10489 - "result": { 10490 - "success": "1", 10491 - "error": { 10492 - "code": "", 10493 - "message": "" 10494 - } 10495 - }, 10496 - "Sources": [ 10497 - { 10498 - "Id": 26, 10499 - "Source": "GCN-Member", 10500 - "Description": "Uploaded from Reston VA", 10501 - "Parent": 0 10502 - } 10503 - ] 10504 -} 10505 -{{/code}} 10506 - 10507 - 10508 -(% id="HGETlookupSourcecode" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 10509 -== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)lookup Source code(%%) == 10510 - 10511 ----- 10512 - 10513 -{{panel bgColor="#D3D3D3" width="100%"}} 10514 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/sources/lookup?Source={(%%){Source code Name}} 10515 -{{/panel}} 10516 - 10517 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 10518 - 10519 ----- 10520 - 10521 -(% 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}} 10522 - 10523 -=== (% style="color:#212121" %)Query Params(%%) === 10524 - 10525 ----- 10526 - 10527 -(% 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}} 10528 - 10529 -==== Example ==== 10530 - 10531 ----- 10532 - 10533 -(% style="color:#6b6b6b" %)Request 10534 - 10535 -{{code language="php" theme="RDark" title="Lookup Source code Request"}} 10536 - <?php 10537 - 10538 -$curl = curl_init(); 10539 - 10540 -curl_setopt_array($curl, array( 10541 - CURLOPT_URL => 'https://api.onecount.net/v2/sources/lookup?Source={{Source code Name}}', 10542 - CURLOPT_RETURNTRANSFER => true, 10543 - CURLOPT_ENCODING => '', 10544 - CURLOPT_MAXREDIRS => 10, 10545 - CURLOPT_TIMEOUT => 0, 10546 - CURLOPT_FOLLOWLOCATION => true, 10547 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 10548 - CURLOPT_CUSTOMREQUEST => 'GET', 10549 - CURLOPT_HTTPHEADER => array( 10550 - 'Appkey: {{ONECOUNT API KEY}}' 10551 - ), 10552 -)); 10553 - 10554 -$response = curl_exec($curl); 10555 - 10556 -curl_close($curl); 10557 -echo $response; 10558 -{{/code}} 10559 - 10560 - 10561 -(% style="color:#6b6b6b" %)Response 200 OK 10562 - 10563 -{{code language="yml" theme="RDark" collapse="true" title="Lookup Source code Response"}} 10564 - { 10565 - "result": { 10566 - "success": "1", 10567 - "error": { 10568 - "code": "", 10569 - "message": "" 10570 - } 10571 - }, 10572 - "Sources": [ 10573 - { 10574 - "Id": 26, 10575 - "Source": "GCN-Member", 10576 - "Description": "Uploaded from Reston VA", 10577 - "Parent": 0 10578 - } 10579 - ] 10580 -} 10581 -{{/code}} 10582 - 10583 - 10584 -(% id="HPOSTCreateSourcecode" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 10585 -== (% 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(%%) == 10586 - 10587 ----- 10588 - 10589 -{{panel bgColor="#D3D3D3" width="100%"}} 10590 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/sources 10591 -{{/panel}} 10592 - 10593 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 10594 - 10595 ----- 10596 - 10597 -(% 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}} 10598 - 10599 -=== (% style="color:#212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) === 10600 - 10601 ----- 10602 - 10603 -{{code language="yml" theme="RDark" title="Body"}} 10604 -{"Source":"Test source code from API"} 10605 -{{/code}} 10606 - 10607 -==== Example ==== 10608 - 10609 ----- 10610 - 10611 -(% style="color:#6b6b6b" %)Request 10612 - 10613 -{{code language="php" theme="RDark" title="Create Source code Request"}} 10614 - <?php 10615 - 10616 -$curl = curl_init(); 10617 - 10618 -curl_setopt_array($curl, array( 10619 - CURLOPT_URL => 'https://api.onecount.net/v2/sources', 10620 - CURLOPT_RETURNTRANSFER => true, 10621 - CURLOPT_ENCODING => '', 10622 - CURLOPT_MAXREDIRS => 10, 10623 - CURLOPT_TIMEOUT => 0, 10624 - CURLOPT_FOLLOWLOCATION => true, 10625 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 10626 - CURLOPT_CUSTOMREQUEST => 'POST', 10627 - CURLOPT_POSTFIELDS =>'{"Source":"Test source code from API"}', 10628 - CURLOPT_HTTPHEADER => array( 10629 - 'Appkey: {{ONECOUNT API KEY}}' 10630 - ), 10631 -)); 10632 - 10633 -$response = curl_exec($curl); 10634 - 10635 -curl_close($curl); 10636 -echo $response; 10637 -{{/code}} 10638 - 10639 - 10640 -(% style="color:#6b6b6b" %)Response 200 OK 10641 - 10642 -{{code language="yml" theme="RDark" collapse="true" title="Create Source code Response"}} 10643 - { 10644 - "result": { 10645 - "success": "1", 10646 - "error": { 10647 - "code": "", 10648 - "message": "" 10649 - } 10650 - }, 10651 - "Sources": [ 10652 - { 10653 - "Id": 223, 10654 - "Source": "Test source code from API", 10655 - "Description": "", 10656 - "Parent": 0 10657 - } 10658 - ] 10659 -} 10660 -{{/code}} 10661 - 10662 - 10663 -(% id="HPUTUpdateSourcecode" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 10664 -== (% 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(%%) == 10665 - 10666 ----- 10667 - 10668 -{{panel bgColor="#D3D3D3" width="100%"}} 10669 - (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/sources/~{~{source code id}} 10670 -{{/panel}} 10671 - 10672 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 10673 - 10674 ----- 10675 - 10676 -(% 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}} 10677 - 10678 -=== (% style="color:#212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) === 10679 - 10680 ----- 10681 - 10682 -{{code language="yml" theme="RDark" title="Body"}} 10683 -{"Source":"Test API","Parent":215} 10684 -{{/code}} 10685 - 10686 -==== Example ==== 10687 - 10688 ----- 10689 - 10690 -(% style="color:#6b6b6b" %)Request 10691 - 10692 -{{code language="php" theme="RDark" title="Update Source code Request"}} 10693 - <?php 10694 - 10695 -$curl = curl_init(); 10696 - 10697 -curl_setopt_array($curl, array( 10698 - CURLOPT_URL => 'https://api.onecount.net/v2/sources/{{source code id}}', 10699 - CURLOPT_RETURNTRANSFER => true, 10700 - CURLOPT_ENCODING => '', 10701 - CURLOPT_MAXREDIRS => 10, 10702 - CURLOPT_TIMEOUT => 0, 10703 - CURLOPT_FOLLOWLOCATION => true, 10704 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 10705 - CURLOPT_CUSTOMREQUEST => 'PUT', 10706 - CURLOPT_POSTFIELDS =>'{"Source":"Test API","Parent":215}', 10707 - CURLOPT_HTTPHEADER => array( 10708 - 'Appkey: {{ONECOUNT API KEY}}' 10709 - ), 10710 -)); 10711 - 10712 -$response = curl_exec($curl); 10713 - 10714 -curl_close($curl); 10715 -echo $response; 10716 -{{/code}} 10717 - 10718 - 10719 -(% style="color:#6b6b6b" %)Response 200 OK 10720 - 10721 -{{code language="yml" theme="RDark" collapse="true" title="Update Source code Response"}} 10722 - { 10723 - "result": { 10724 - "success": "1", 10725 - "error": { 10726 - "code": "", 10727 - "message": "" 10728 - } 10729 - }, 10730 - "Sources": [ 10731 - { 10732 - "Id": 223, 10733 - "Source": "Test API", 10734 - "Description": "", 10735 - "Parent": 215 10736 - } 10737 - ] 10738 -} 10739 -{{/code}} 10740 - 10741 - 10742 -(% id="HCOMPONENT:Transactions" class="western" %) 10743 -=== **COMPONENT: Transactions** === 10744 - 10745 10745 (% class="western" %) 10746 - This resourceisfor manipulatingtransactions resource.Atransactioncanbecreated orsearched.3075 +**Sources can be looked up given the code or Id. GET method should be used for lookup.** 10747 10747 10748 -(% class="wrapped" %) 10749 -|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3077 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 10750 10750 ((( 10751 10751 (% class="western" %) 10752 -** Method**10753 -)))|(% style="text-align:left; 3080 +**Request** 3081 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 10754 10754 ((( 10755 10755 (% class="western" %) 10756 -** Url**10757 -)))|(% style="text-align:left; 3084 +**Type** 3085 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 10758 10758 ((( 10759 10759 (% class="western" %) 10760 -** Action**3088 +**Description** 10761 10761 ))) 10762 -|(% style="text-align:left; 3090 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 10763 10763 ((( 10764 10764 (% class="western" %) 10765 - GET10766 -)))|(% style="text-align:left; 3093 +Lookup params 3094 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 10767 10767 ((( 10768 10768 (% class="western" %) 10769 - /transactions10770 -)))|(% style="text-align:left; 3097 +String 3098 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 10771 10771 ((( 10772 10772 (% class="western" %) 10773 -List all transactions 3101 +URL encoded key value string parameter for the lookup. 3102 + 3103 +(% class="western" %) 3104 +Params: 3105 + 3106 +(% class="western" %) 3107 +Source: Source value (String) 10774 10774 ))) 10775 -|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3109 + 3110 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 10776 10776 ((( 10777 10777 (% class="western" %) 10778 - GET10779 -)))|(% style="text-align:left; 3113 +**Response** 3114 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 10780 10780 ((( 10781 10781 (% class="western" %) 10782 - /transactions/lookup?UserId=110783 -)))|(% style="text-align:left; 3117 +**Type** 3118 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 10784 10784 ((( 10785 10785 (% class="western" %) 10786 - Lookup all transactionof UserId = 13121 +**Description** 10787 10787 ))) 10788 -|(% style="text-align:left; 3123 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 10789 10789 ((( 10790 10790 (% class="western" %) 10791 - POST10792 -)))|(% style="text-align:left; 3126 +Sources 3127 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 10793 10793 ((( 10794 10794 (% class="western" %) 10795 - /transactions10796 -)))|(% style="text-align:left; 3130 +Sources 3131 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 10797 10797 ((( 10798 10798 (% class="western" %) 10799 - JSON of theTransactionstypeobjectneedstobesents post data. Id fieldshould not be sent.3134 +Returns found source details. 10800 10800 ))) 10801 10801 10802 -(% id="HGETAllTransactions" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 10803 -== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)All Transactions(%%) == 3137 +\\ 10804 10804 10805 ----- 3139 +(% class="western" %) 3140 +\\ 10806 10806 10807 ----- 10808 - 10809 -{{panel bgColor="#D3D3D3" width="100%"}} 10810 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/transactions 10811 -{{/panel}} 10812 - 10813 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 10814 - 10815 ----- 10816 - 10817 -(% 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}} 10818 - 10819 -==== Example ==== 10820 - 10821 ----- 10822 - 10823 -(% style="color:#6b6b6b" %)Request 10824 - 10825 -{{code language="php" theme="RDark" title="Get All Transaction Request"}} 10826 - <?php 10827 - 10828 -$curl = curl_init(); 10829 - 10830 -curl_setopt_array($curl, array( 10831 - CURLOPT_URL => 'https://api.onecount.net/v2/transactions', 10832 - CURLOPT_RETURNTRANSFER => true, 10833 - CURLOPT_ENCODING => '', 10834 - CURLOPT_MAXREDIRS => 10, 10835 - CURLOPT_TIMEOUT => 0, 10836 - CURLOPT_FOLLOWLOCATION => true, 10837 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 10838 - CURLOPT_CUSTOMREQUEST => 'GET', 10839 - CURLOPT_HTTPHEADER => array( 10840 - 'Appkey: {{ONECOUNT API KEY}}' 10841 - ), 10842 -)); 10843 - 10844 -$response = curl_exec($curl); 10845 - 10846 -curl_close($curl); 10847 -echo $response; 10848 -{{/code}} 10849 - 10850 - 10851 -(% style="color:#6b6b6b" %)Response 200 OK 10852 - 10853 -{{code language="yml" theme="RDark" collapse="true" title="Get All Transaction Response"}} 10854 - { 10855 - "result": { 10856 - "success": "1", 10857 - "error": { 10858 - "code": "", 10859 - "message": "" 10860 - } 10861 - }, 10862 - "Transactions": [ 10863 - { 10864 - "Id": 10, 10865 - "UserId": 10, 10866 - "TermId": 2, 10867 - "TransactionDate": "2014-07-17", 10868 - "TransactionTime": "10:02:13", 10869 - "RequestDate": "2014-07-17", 10870 - "UserIP": "74.201.38.1", 10871 - "SubscriptionType": "n", 10872 - "ProductId": 2, 10873 - "Source": 10, 10874 - "ProductStatus": 2, 10875 - "MediaFilePath": "", 10876 - "Amount": "" 10877 - }, 10878 - { 10879 - "Id": 26, 10880 - "UserId": 10, 10881 - "TermId": 2, 10882 - "TransactionDate": "2014-07-17", 10883 - "TransactionTime": "10:41:59", 10884 - "RequestDate": "2014-07-17", 10885 - "UserIP": "74.201.38.1", 10886 - "SubscriptionType": "r", 10887 - "ProductId": 2, 10888 - "Source": 10, 10889 - "ProductStatus": 2, 10890 - "MediaFilePath": "", 10891 - "Amount": "" 10892 - }, 10893 - { 10894 - "Id": 50, 10895 - "UserId": 26, 10896 - "TermId": 2, 10897 - "TransactionDate": "2014-07-17", 10898 - "TransactionTime": "12:25:38", 10899 - "RequestDate": "2014-07-17", 10900 - "UserIP": "74.201.38.1", 10901 - "SubscriptionType": "n", 10902 - "ProductId": 2, 10903 - "Source": 10, 10904 - "ProductStatus": 2, 10905 - "MediaFilePath": "", 10906 - "Amount": "" 10907 - }, 10908 - { 10909 - "Id": 58, 10910 - "UserId": 10, 10911 - "TermId": 2, 10912 - "TransactionDate": "2014-07-17", 10913 - "TransactionTime": "12:25:43", 10914 - "RequestDate": "2014-07-17", 10915 - "UserIP": "74.201.38.1", 10916 - "SubscriptionType": "r", 10917 - "ProductId": 2, 10918 - "Source": 10, 10919 - "ProductStatus": 2, 10920 - "MediaFilePath": "", 10921 - "Amount": "" 10922 - }, 10923 - { 10924 - "Id": 66, 10925 - "UserId": 42, 10926 - "TermId": 2, 10927 - "TransactionDate": "2014-07-17", 10928 - "TransactionTime": "12:57:11", 10929 - "RequestDate": "2014-07-17", 10930 - "UserIP": "74.201.38.1", 10931 - "SubscriptionType": "n", 10932 - "ProductId": 2, 10933 - "Source": 26, 10934 - "ProductStatus": 2, 10935 - "MediaFilePath": "", 10936 - "Amount": "" 10937 - }, 10938 - { 10939 - "Id": 74, 10940 - "UserId": 50, 10941 - "TermId": 2, 10942 - "TransactionDate": "2014-07-17", 10943 - "TransactionTime": "12:57:11", 10944 - "RequestDate": "2014-07-17", 10945 - "UserIP": "74.201.38.1", 10946 - "SubscriptionType": "n", 10947 - "ProductId": 2, 10948 - "Source": 26, 10949 - "ProductStatus": 2, 10950 - "MediaFilePath": "", 10951 - "Amount": "" 10952 - }, 10953 - { 10954 - "Id": 82, 10955 - "UserId": 58, 10956 - "TermId": 2, 10957 - "TransactionDate": "2014-07-17", 10958 - "TransactionTime": "12:57:11", 10959 - "RequestDate": "2014-07-17", 10960 - "UserIP": "74.201.38.1", 10961 - "SubscriptionType": "n", 10962 - "ProductId": 2, 10963 - "Source": 26, 10964 - "ProductStatus": 2, 10965 - "MediaFilePath": "", 10966 - "Amount": "" 10967 - }, 10968 - { 10969 - "Id": 90, 10970 - "UserId": 66, 10971 - "TermId": 2, 10972 - "TransactionDate": "2014-07-17", 10973 - "TransactionTime": "12:57:11", 10974 - "RequestDate": "2014-07-17", 10975 - "UserIP": "74.201.38.1", 10976 - "SubscriptionType": "n", 10977 - "ProductId": 2, 10978 - "Source": 26, 10979 - "ProductStatus": 2, 10980 - "MediaFilePath": "", 10981 - "Amount": "" 10982 - }, 10983 - { 10984 - "Id": 98, 10985 - "UserId": 74, 10986 - "TermId": 2, 10987 - "TransactionDate": "2014-07-17", 10988 - "TransactionTime": "12:57:11", 10989 - "RequestDate": "2014-07-17", 10990 - "UserIP": "74.201.38.1", 10991 - "SubscriptionType": "n", 10992 - "ProductId": 2, 10993 - "Source": 26, 10994 - "ProductStatus": 2, 10995 - "MediaFilePath": "", 10996 - "Amount": "" 10997 - }, 10998 - { 10999 - "Id": 106, 11000 - "UserId": 82, 11001 - "TermId": 2, 11002 - "TransactionDate": "2014-07-17", 11003 - "TransactionTime": "12:57:11", 11004 - "RequestDate": "2014-07-17", 11005 - "UserIP": "74.201.38.1", 11006 - "SubscriptionType": "n", 11007 - "ProductId": 2, 11008 - "Source": 26, 11009 - "ProductStatus": 2, 11010 - "MediaFilePath": "", 11011 - "Amount": "" 11012 - }, 11013 - { 11014 - "Id": 114, 11015 - "UserId": 90, 11016 - "TermId": 2, 11017 - "TransactionDate": "2014-07-17", 11018 - "TransactionTime": "12:57:11", 11019 - "RequestDate": "2014-07-17", 11020 - "UserIP": "74.201.38.1", 11021 - "SubscriptionType": "n", 11022 - "ProductId": 2, 11023 - "Source": 26, 11024 - "ProductStatus": 2, 11025 - "MediaFilePath": "", 11026 - "Amount": "" 11027 - }, 11028 - { 11029 - "Id": 122, 11030 - "UserId": 98, 11031 - "TermId": 2, 11032 - "TransactionDate": "2014-07-17", 11033 - "TransactionTime": "12:57:11", 11034 - "RequestDate": "2014-07-17", 11035 - "UserIP": "74.201.38.1", 11036 - "SubscriptionType": "n", 11037 - "ProductId": 2, 11038 - "Source": 26, 11039 - "ProductStatus": 2, 11040 - "MediaFilePath": "", 11041 - "Amount": "" 11042 - }, 11043 - { 11044 - "Id": 130, 11045 - "UserId": 42, 11046 - "TermId": 2, 11047 - "TransactionDate": "2014-07-17", 11048 - "TransactionTime": "12:59:10", 11049 - "RequestDate": "2014-07-17", 11050 - "UserIP": "74.201.38.1", 11051 - "SubscriptionType": "r", 11052 - "ProductId": 2, 11053 - "Source": 10, 11054 - "ProductStatus": 2, 11055 - "MediaFilePath": "", 11056 - "Amount": "" 11057 - }, 11058 - { 11059 - "Id": 138, 11060 - "UserId": 50, 11061 - "TermId": 2, 11062 - "TransactionDate": "2014-07-17", 11063 - "TransactionTime": "12:59:10", 11064 - "RequestDate": "2014-07-17", 11065 - "UserIP": "74.201.38.1", 11066 - "SubscriptionType": "r", 11067 - "ProductId": 2, 11068 - "Source": 10, 11069 - "ProductStatus": 2, 11070 - "MediaFilePath": "", 11071 - "Amount": "" 11072 - }, 11073 - { 11074 - "Id": 146, 11075 - "UserId": 58, 11076 - "TermId": 2, 11077 - "TransactionDate": "2014-07-17", 11078 - "TransactionTime": "12:59:10", 11079 - "RequestDate": "2014-07-17", 11080 - "UserIP": "74.201.38.1", 11081 - "SubscriptionType": "r", 11082 - "ProductId": 2, 11083 - "Source": 10, 11084 - "ProductStatus": 2, 11085 - "MediaFilePath": "", 11086 - "Amount": "" 11087 - }, 11088 - { 11089 - "Id": 154, 11090 - "UserId": 66, 11091 - "TermId": 2, 11092 - "TransactionDate": "2014-07-17", 11093 - "TransactionTime": "12:59:10", 11094 - "RequestDate": "2014-07-17", 11095 - "UserIP": "74.201.38.1", 11096 - "SubscriptionType": "r", 11097 - "ProductId": 2, 11098 - "Source": 10, 11099 - "ProductStatus": 2, 11100 - "MediaFilePath": "", 11101 - "Amount": "" 11102 - }, 11103 - { 11104 - "Id": 162, 11105 - "UserId": 74, 11106 - "TermId": 2, 11107 - "TransactionDate": "2014-07-17", 11108 - "TransactionTime": "12:59:10", 11109 - "RequestDate": "2014-07-17", 11110 - "UserIP": "74.201.38.1", 11111 - "SubscriptionType": "r", 11112 - "ProductId": 2, 11113 - "Source": 10, 11114 - "ProductStatus": 2, 11115 - "MediaFilePath": "", 11116 - "Amount": "" 11117 - }, 11118 - { 11119 - "Id": 170, 11120 - "UserId": 82, 11121 - "TermId": 2, 11122 - "TransactionDate": "2014-07-17", 11123 - "TransactionTime": "12:59:10", 11124 - "RequestDate": "2014-07-17", 11125 - "UserIP": "74.201.38.1", 11126 - "SubscriptionType": "r", 11127 - "ProductId": 2, 11128 - "Source": 10, 11129 - "ProductStatus": 2, 11130 - "MediaFilePath": "", 11131 - "Amount": "" 11132 - }, 11133 - { 11134 - "Id": 178, 11135 - "UserId": 90, 11136 - "TermId": 2, 11137 - "TransactionDate": "2014-07-17", 11138 - "TransactionTime": "12:59:10", 11139 - "RequestDate": "2014-07-17", 11140 - "UserIP": "74.201.38.1", 11141 - "SubscriptionType": "r", 11142 - "ProductId": 2, 11143 - "Source": 10, 11144 - "ProductStatus": 2, 11145 - "MediaFilePath": "", 11146 - "Amount": "" 11147 - }, 11148 - { 11149 - "Id": 186, 11150 - "UserId": 98, 11151 - "TermId": 2, 11152 - "TransactionDate": "2014-07-17", 11153 - "TransactionTime": "12:59:10", 11154 - "RequestDate": "2014-07-17", 11155 - "UserIP": "74.201.38.1", 11156 - "SubscriptionType": "r", 11157 - "ProductId": 2, 11158 - "Source": 10, 11159 - "ProductStatus": 2, 11160 - "MediaFilePath": "", 11161 - "Amount": "" 11162 - }, 11163 - { 11164 - "Id": 194, 11165 - "UserId": 162, 11166 - "TermId": 2, 11167 - "TransactionDate": "2014-07-17", 11168 - "TransactionTime": "13:00:42", 11169 - "RequestDate": "2014-07-17", 11170 - "UserIP": "74.201.38.1", 11171 - "SubscriptionType": "n", 11172 - "ProductId": 2, 11173 - "Source": 10, 11174 - "ProductStatus": 2, 11175 - "MediaFilePath": "", 11176 - "Amount": "" 11177 - }, 11178 - { 11179 - "Id": 202, 11180 - "UserId": 170, 11181 - "TermId": 2, 11182 - "TransactionDate": "2014-07-17", 11183 - "TransactionTime": "13:00:42", 11184 - "RequestDate": "2014-07-17", 11185 - "UserIP": "74.201.38.1", 11186 - "SubscriptionType": "n", 11187 - "ProductId": 2, 11188 - "Source": 10, 11189 - "ProductStatus": 2, 11190 - "MediaFilePath": "", 11191 - "Amount": "" 11192 - }, 11193 - { 11194 - "Id": 210, 11195 - "UserId": 178, 11196 - "TermId": 2, 11197 - "TransactionDate": "2014-07-17", 11198 - "TransactionTime": "13:00:42", 11199 - "RequestDate": "2014-07-17", 11200 - "UserIP": "74.201.38.1", 11201 - "SubscriptionType": "n", 11202 - "ProductId": 2, 11203 - "Source": 10, 11204 - "ProductStatus": 2, 11205 - "MediaFilePath": "", 11206 - "Amount": "" 11207 - }, 11208 - { 11209 - "Id": 218, 11210 - "UserId": 186, 11211 - "TermId": 2, 11212 - "TransactionDate": "2014-07-17", 11213 - "TransactionTime": "13:00:42", 11214 - "RequestDate": "2014-07-17", 11215 - "UserIP": "74.201.38.1", 11216 - "SubscriptionType": "n", 11217 - "ProductId": 2, 11218 - "Source": 10, 11219 - "ProductStatus": 2, 11220 - "MediaFilePath": "", 11221 - "Amount": "" 11222 - }, 11223 - { 11224 - "Id": 226, 11225 - "UserId": 194, 11226 - "TermId": 2, 11227 - "TransactionDate": "2014-07-17", 11228 - "TransactionTime": "13:00:42", 11229 - "RequestDate": "2014-07-17", 11230 - "UserIP": "74.201.38.1", 11231 - "SubscriptionType": "n", 11232 - "ProductId": 2, 11233 - "Source": 10, 11234 - "ProductStatus": 2, 11235 - "MediaFilePath": "", 11236 - "Amount": "" 11237 - }, 11238 - { 11239 - "Id": 234, 11240 - "UserId": 202, 11241 - "TermId": 2, 11242 - "TransactionDate": "2014-07-17", 11243 - "TransactionTime": "13:00:42", 11244 - "RequestDate": "2014-07-17", 11245 - "UserIP": "74.201.38.1", 11246 - "SubscriptionType": "n", 11247 - "ProductId": 2, 11248 - "Source": 10, 11249 - "ProductStatus": 2, 11250 - "MediaFilePath": "", 11251 - "Amount": "" 11252 - }, 11253 - { 11254 - "Id": 242, 11255 - "UserId": 210, 11256 - "TermId": 2, 11257 - "TransactionDate": "2014-07-17", 11258 - "TransactionTime": "13:00:42", 11259 - "RequestDate": "2014-07-17", 11260 - "UserIP": "74.201.38.1", 11261 - "SubscriptionType": "n", 11262 - "ProductId": 2, 11263 - "Source": 10, 11264 - "ProductStatus": 2, 11265 - "MediaFilePath": "", 11266 - "Amount": "" 11267 - }, 11268 - { 11269 - "Id": 250, 11270 - "UserId": 218, 11271 - "TermId": 2, 11272 - "TransactionDate": "2014-07-17", 11273 - "TransactionTime": "13:00:42", 11274 - "RequestDate": "2014-07-17", 11275 - "UserIP": "74.201.38.1", 11276 - "SubscriptionType": "n", 11277 - "ProductId": 2, 11278 - "Source": 10, 11279 - "ProductStatus": 2, 11280 - "MediaFilePath": "", 11281 - "Amount": "" 11282 - }, 11283 - { 11284 - "Id": 258, 11285 - "UserId": 282, 11286 - "TermId": 2, 11287 - "TransactionDate": "2014-07-17", 11288 - "TransactionTime": "13:02:19", 11289 - "RequestDate": "2014-07-17", 11290 - "UserIP": "74.201.38.1", 11291 - "SubscriptionType": "n", 11292 - "ProductId": 2, 11293 - "Source": 10, 11294 - "ProductStatus": 2, 11295 - "MediaFilePath": "", 11296 - "Amount": "" 11297 - }, 11298 - { 11299 - "Id": 266, 11300 - "UserId": 290, 11301 - "TermId": 2, 11302 - "TransactionDate": "2014-07-17", 11303 - "TransactionTime": "13:02:19", 11304 - "RequestDate": "2014-07-17", 11305 - "UserIP": "74.201.38.1", 11306 - "SubscriptionType": "n", 11307 - "ProductId": 2, 11308 - "Source": 10, 11309 - "ProductStatus": 2, 11310 - "MediaFilePath": "", 11311 - "Amount": "" 11312 - }, 11313 - { 11314 - "Id": 274, 11315 - "UserId": 298, 11316 - "TermId": 2, 11317 - "TransactionDate": "2014-07-17", 11318 - "TransactionTime": "13:02:19", 11319 - "RequestDate": "2014-07-17", 11320 - "UserIP": "74.201.38.1", 11321 - "SubscriptionType": "n", 11322 - "ProductId": 2, 11323 - "Source": 10, 11324 - "ProductStatus": 2, 11325 - "MediaFilePath": "", 11326 - "Amount": "" 11327 - }, 11328 - { 11329 - "Id": 282, 11330 - "UserId": 306, 11331 - "TermId": 2, 11332 - "TransactionDate": "2014-07-17", 11333 - "TransactionTime": "13:02:19", 11334 - "RequestDate": "2014-07-17", 11335 - "UserIP": "74.201.38.1", 11336 - "SubscriptionType": "n", 11337 - "ProductId": 2, 11338 - "Source": 10, 11339 - "ProductStatus": 2, 11340 - "MediaFilePath": "", 11341 - "Amount": "" 11342 - }, 11343 - { 11344 - "Id": 290, 11345 - "UserId": 314, 11346 - "TermId": 2, 11347 - "TransactionDate": "2014-07-17", 11348 - "TransactionTime": "13:02:19", 11349 - "RequestDate": "2014-07-17", 11350 - "UserIP": "74.201.38.1", 11351 - "SubscriptionType": "n", 11352 - "ProductId": 2, 11353 - "Source": 10, 11354 - "ProductStatus": 2, 11355 - "MediaFilePath": "", 11356 - "Amount": "" 11357 - }, 11358 - { 11359 - "Id": 298, 11360 - "UserId": 322, 11361 - "TermId": 2, 11362 - "TransactionDate": "2014-07-17", 11363 - "TransactionTime": "13:02:19", 11364 - "RequestDate": "2014-07-17", 11365 - "UserIP": "74.201.38.1", 11366 - "SubscriptionType": "n", 11367 - "ProductId": 2, 11368 - "Source": 10, 11369 - "ProductStatus": 2, 11370 - "MediaFilePath": "", 11371 - "Amount": "" 11372 - }, 11373 - { 11374 - "Id": 306, 11375 - "UserId": 330, 11376 - "TermId": 2, 11377 - "TransactionDate": "2014-07-17", 11378 - "TransactionTime": "13:02:19", 11379 - "RequestDate": "2014-07-17", 11380 - "UserIP": "74.201.38.1", 11381 - "SubscriptionType": "n", 11382 - "ProductId": 2, 11383 - "Source": 10, 11384 - "ProductStatus": 2, 11385 - "MediaFilePath": "", 11386 - "Amount": "" 11387 - }, 11388 - { 11389 - "Id": 466, 11390 - "UserId": 698, 11391 - "TermId": 2, 11392 - "TransactionDate": "2014-07-17", 11393 - "TransactionTime": "13:13:06", 11394 - "RequestDate": "2014-07-17", 11395 - "UserIP": "74.201.38.1", 11396 - "SubscriptionType": "n", 11397 - "ProductId": 2, 11398 - "Source": 26, 11399 - "ProductStatus": 2, 11400 - "MediaFilePath": "", 11401 - "Amount": "" 11402 - }, 11403 - { 11404 - "Id": 474, 11405 - "UserId": 706, 11406 - "TermId": 2, 11407 - "TransactionDate": "2014-07-17", 11408 - "TransactionTime": "13:13:06", 11409 - "RequestDate": "2014-07-17", 11410 - "UserIP": "74.201.38.1", 11411 - "SubscriptionType": "n", 11412 - "ProductId": 2, 11413 - "Source": 26, 11414 - "ProductStatus": 2, 11415 - "MediaFilePath": "", 11416 - "Amount": "" 11417 - }, 11418 - { 11419 - "Id": 482, 11420 - "UserId": 714, 11421 - "TermId": 2, 11422 - "TransactionDate": "2014-07-17", 11423 - "TransactionTime": "13:13:06", 11424 - "RequestDate": "2014-07-17", 11425 - "UserIP": "74.201.38.1", 11426 - "SubscriptionType": "n", 11427 - "ProductId": 2, 11428 - "Source": 26, 11429 - "ProductStatus": 2, 11430 - "MediaFilePath": "", 11431 - "Amount": "" 11432 - }, 11433 - { 11434 - "Id": 490, 11435 - "UserId": 722, 11436 - "TermId": 2, 11437 - "TransactionDate": "2014-07-17", 11438 - "TransactionTime": "13:13:06", 11439 - "RequestDate": "2014-07-17", 11440 - "UserIP": "74.201.38.1", 11441 - "SubscriptionType": "n", 11442 - "ProductId": 2, 11443 - "Source": 26, 11444 - "ProductStatus": 2, 11445 - "MediaFilePath": "", 11446 - "Amount": "" 11447 - }, 11448 - { 11449 - "Id": 498, 11450 - "UserId": 730, 11451 - "TermId": 2, 11452 - "TransactionDate": "2014-07-17", 11453 - "TransactionTime": "13:13:06", 11454 - "RequestDate": "2014-07-17", 11455 - "UserIP": "74.201.38.1", 11456 - "SubscriptionType": "n", 11457 - "ProductId": 2, 11458 - "Source": 26, 11459 - "ProductStatus": 2, 11460 - "MediaFilePath": "", 11461 - "Amount": "" 11462 - }, 11463 - { 11464 - "Id": 506, 11465 - "UserId": 738, 11466 - "TermId": 2, 11467 - "TransactionDate": "2014-07-17", 11468 - "TransactionTime": "13:13:06", 11469 - "RequestDate": "2014-07-17", 11470 - "UserIP": "74.201.38.1", 11471 - "SubscriptionType": "n", 11472 - "ProductId": 2, 11473 - "Source": 26, 11474 - "ProductStatus": 2, 11475 - "MediaFilePath": "", 11476 - "Amount": "" 11477 - }, 11478 - { 11479 - "Id": 522, 11480 - "UserId": 754, 11481 - "TermId": 18, 11482 - "TransactionDate": "2014-08-19", 11483 - "TransactionTime": "11:18:55", 11484 - "RequestDate": "2014-08-19", 11485 - "UserIP": "74.201.38.1", 11486 - "SubscriptionType": "n", 11487 - "ProductId": 18, 11488 - "Source": 34, 11489 - "ProductStatus": 2, 11490 - "MediaFilePath": "", 11491 - "Amount": "" 11492 - }, 11493 - { 11494 - "Id": 530, 11495 - "UserId": 762, 11496 - "TermId": 18, 11497 - "TransactionDate": "2014-08-19", 11498 - "TransactionTime": "11:18:55", 11499 - "RequestDate": "2014-08-19", 11500 - "UserIP": "74.201.38.1", 11501 - "SubscriptionType": "n", 11502 - "ProductId": 18, 11503 - "Source": 34, 11504 - "ProductStatus": 2, 11505 - "MediaFilePath": "", 11506 - "Amount": "" 11507 - }, 11508 - { 11509 - "Id": 538, 11510 - "UserId": 770, 11511 - "TermId": 18, 11512 - "TransactionDate": "2014-08-19", 11513 - "TransactionTime": "11:18:55", 11514 - "RequestDate": "2014-08-19", 11515 - "UserIP": "74.201.38.1", 11516 - "SubscriptionType": "n", 11517 - "ProductId": 18, 11518 - "Source": 34, 11519 - "ProductStatus": 2, 11520 - "MediaFilePath": "", 11521 - "Amount": "" 11522 - }, 11523 - { 11524 - "Id": 546, 11525 - "UserId": 778, 11526 - "TermId": 18, 11527 - "TransactionDate": "2014-08-19", 11528 - "TransactionTime": "11:18:55", 11529 - "RequestDate": "2014-08-19", 11530 - "UserIP": "74.201.38.1", 11531 - "SubscriptionType": "n", 11532 - "ProductId": 18, 11533 - "Source": 34, 11534 - "ProductStatus": 2, 11535 - "MediaFilePath": "", 11536 - "Amount": "" 11537 - }, 11538 - { 11539 - "Id": 554, 11540 - "UserId": 786, 11541 - "TermId": 18, 11542 - "TransactionDate": "2014-08-19", 11543 - "TransactionTime": "11:18:55", 11544 - "RequestDate": "2014-08-19", 11545 - "UserIP": "74.201.38.1", 11546 - "SubscriptionType": "n", 11547 - "ProductId": 18, 11548 - "Source": 34, 11549 - "ProductStatus": 2, 11550 - "MediaFilePath": "", 11551 - "Amount": "" 11552 - }, 11553 - { 11554 - "Id": 570, 11555 - "UserId": 802, 11556 - "TermId": 18, 11557 - "TransactionDate": "2014-08-19", 11558 - "TransactionTime": "11:18:55", 11559 - "RequestDate": "2014-08-19", 11560 - "UserIP": "74.201.38.1", 11561 - "SubscriptionType": "n", 11562 - "ProductId": 18, 11563 - "Source": 34, 11564 - "ProductStatus": 2, 11565 - "MediaFilePath": "", 11566 - "Amount": "" 11567 - }, 11568 - { 11569 - "Id": 578, 11570 - "UserId": 810, 11571 - "TermId": 18, 11572 - "TransactionDate": "2014-08-19", 11573 - "TransactionTime": "11:18:55", 11574 - "RequestDate": "2014-08-19", 11575 - "UserIP": "74.201.38.1", 11576 - "SubscriptionType": "n", 11577 - "ProductId": 18, 11578 - "Source": 34, 11579 - "ProductStatus": 2, 11580 - "MediaFilePath": "", 11581 - "Amount": "" 11582 - }, 11583 - { 11584 - "Id": 586, 11585 - "UserId": 818, 11586 - "TermId": 18, 11587 - "TransactionDate": "2014-08-19", 11588 - "TransactionTime": "11:18:55", 11589 - "RequestDate": "2014-08-19", 11590 - "UserIP": "74.201.38.1", 11591 - "SubscriptionType": "n", 11592 - "ProductId": 18, 11593 - "Source": 34, 11594 - "ProductStatus": 2, 11595 - "MediaFilePath": "", 11596 - "Amount": "" 11597 - }, 11598 - { 11599 - "Id": 602, 11600 - "UserId": 834, 11601 - "TermId": 18, 11602 - "TransactionDate": "2014-08-19", 11603 - "TransactionTime": "11:18:55", 11604 - "RequestDate": "2014-08-19", 11605 - "UserIP": "74.201.38.1", 11606 - "SubscriptionType": "n", 11607 - "ProductId": 18, 11608 - "Source": 34, 11609 - "ProductStatus": 2, 11610 - "MediaFilePath": "", 11611 - "Amount": "" 11612 - }, 11613 - { 11614 - "Id": 610, 11615 - "UserId": 842, 11616 - "TermId": 18, 11617 - "TransactionDate": "2014-08-19", 11618 - "TransactionTime": "11:18:55", 11619 - "RequestDate": "2014-08-19", 11620 - "UserIP": "74.201.38.1", 11621 - "SubscriptionType": "n", 11622 - "ProductId": 18, 11623 - "Source": 34, 11624 - "ProductStatus": 2, 11625 - "MediaFilePath": "", 11626 - "Amount": "" 11627 - }, 11628 - { 11629 - "Id": 618, 11630 - "UserId": 850, 11631 - "TermId": 18, 11632 - "TransactionDate": "2014-08-19", 11633 - "TransactionTime": "11:18:55", 11634 - "RequestDate": "2014-08-19", 11635 - "UserIP": "74.201.38.1", 11636 - "SubscriptionType": "n", 11637 - "ProductId": 18, 11638 - "Source": 34, 11639 - "ProductStatus": 2, 11640 - "MediaFilePath": "", 11641 - "Amount": "" 11642 - }, 11643 - { 11644 - "Id": 626, 11645 - "UserId": 858, 11646 - "TermId": 18, 11647 - "TransactionDate": "2014-08-19", 11648 - "TransactionTime": "11:18:55", 11649 - "RequestDate": "2014-08-19", 11650 - "UserIP": "74.201.38.1", 11651 - "SubscriptionType": "n", 11652 - "ProductId": 18, 11653 - "Source": 34, 11654 - "ProductStatus": 2, 11655 - "MediaFilePath": "", 11656 - "Amount": "" 11657 - }, 11658 - { 11659 - "Id": 634, 11660 - "UserId": 866, 11661 - "TermId": 18, 11662 - "TransactionDate": "2014-08-19", 11663 - "TransactionTime": "11:18:55", 11664 - "RequestDate": "2014-08-19", 11665 - "UserIP": "74.201.38.1", 11666 - "SubscriptionType": "n", 11667 - "ProductId": 18, 11668 - "Source": 34, 11669 - "ProductStatus": 2, 11670 - "MediaFilePath": "", 11671 - "Amount": "" 11672 - }, 11673 - { 11674 - "Id": 642, 11675 - "UserId": 874, 11676 - "TermId": 18, 11677 - "TransactionDate": "2014-08-19", 11678 - "TransactionTime": "11:18:55", 11679 - "RequestDate": "2014-08-19", 11680 - "UserIP": "74.201.38.1", 11681 - "SubscriptionType": "n", 11682 - "ProductId": 18, 11683 - "Source": 34, 11684 - "ProductStatus": 2, 11685 - "MediaFilePath": "", 11686 - "Amount": "" 11687 - }, 11688 - { 11689 - "Id": 650, 11690 - "UserId": 882, 11691 - "TermId": 18, 11692 - "TransactionDate": "2014-08-19", 11693 - "TransactionTime": "11:18:55", 11694 - "RequestDate": "2014-08-19", 11695 - "UserIP": "74.201.38.1", 11696 - "SubscriptionType": "n", 11697 - "ProductId": 18, 11698 - "Source": 34, 11699 - "ProductStatus": 2, 11700 - "MediaFilePath": "", 11701 - "Amount": "" 11702 - }, 11703 - { 11704 - "Id": 658, 11705 - "UserId": 890, 11706 - "TermId": 18, 11707 - "TransactionDate": "2014-08-19", 11708 - "TransactionTime": "11:18:55", 11709 - "RequestDate": "2014-08-19", 11710 - "UserIP": "74.201.38.1", 11711 - "SubscriptionType": "n", 11712 - "ProductId": 18, 11713 - "Source": 34, 11714 - "ProductStatus": 2, 11715 - "MediaFilePath": "", 11716 - "Amount": "" 11717 - }, 11718 - { 11719 - "Id": 666, 11720 - "UserId": 898, 11721 - "TermId": 18, 11722 - "TransactionDate": "2014-08-19", 11723 - "TransactionTime": "11:18:55", 11724 - "RequestDate": "2014-08-19", 11725 - "UserIP": "74.201.38.1", 11726 - "SubscriptionType": "n", 11727 - "ProductId": 18, 11728 - "Source": 34, 11729 - "ProductStatus": 2, 11730 - "MediaFilePath": "", 11731 - "Amount": "" 11732 - }, 11733 - { 11734 - "Id": 674, 11735 - "UserId": 906, 11736 - "TermId": 18, 11737 - "TransactionDate": "2014-08-19", 11738 - "TransactionTime": "11:18:55", 11739 - "RequestDate": "2014-08-19", 11740 - "UserIP": "74.201.38.1", 11741 - "SubscriptionType": "n", 11742 - "ProductId": 18, 11743 - "Source": 34, 11744 - "ProductStatus": 2, 11745 - "MediaFilePath": "", 11746 - "Amount": "" 11747 - }, 11748 - { 11749 - "Id": 682, 11750 - "UserId": 914, 11751 - "TermId": 18, 11752 - "TransactionDate": "2014-08-19", 11753 - "TransactionTime": "11:18:55", 11754 - "RequestDate": "2014-08-19", 11755 - "UserIP": "74.201.38.1", 11756 - "SubscriptionType": "n", 11757 - "ProductId": 18, 11758 - "Source": 34, 11759 - "ProductStatus": 2, 11760 - "MediaFilePath": "", 11761 - "Amount": "" 11762 - }, 11763 - { 11764 - "Id": 690, 11765 - "UserId": 922, 11766 - "TermId": 18, 11767 - "TransactionDate": "2014-08-19", 11768 - "TransactionTime": "11:18:55", 11769 - "RequestDate": "2014-08-19", 11770 - "UserIP": "74.201.38.1", 11771 - "SubscriptionType": "n", 11772 - "ProductId": 18, 11773 - "Source": 34, 11774 - "ProductStatus": 2, 11775 - "MediaFilePath": "", 11776 - "Amount": "" 11777 - }, 11778 - { 11779 - "Id": 698, 11780 - "UserId": 930, 11781 - "TermId": 18, 11782 - "TransactionDate": "2014-08-19", 11783 - "TransactionTime": "11:18:55", 11784 - "RequestDate": "2014-08-19", 11785 - "UserIP": "74.201.38.1", 11786 - "SubscriptionType": "n", 11787 - "ProductId": 18, 11788 - "Source": 34, 11789 - "ProductStatus": 2, 11790 - "MediaFilePath": "", 11791 - "Amount": "" 11792 - }, 11793 - { 11794 - "Id": 706, 11795 - "UserId": 938, 11796 - "TermId": 18, 11797 - "TransactionDate": "2014-08-19", 11798 - "TransactionTime": "11:18:55", 11799 - "RequestDate": "2014-08-19", 11800 - "UserIP": "74.201.38.1", 11801 - "SubscriptionType": "n", 11802 - "ProductId": 18, 11803 - "Source": 34, 11804 - "ProductStatus": 2, 11805 - "MediaFilePath": "", 11806 - "Amount": "" 11807 - }, 11808 - { 11809 - "Id": 714, 11810 - "UserId": 946, 11811 - "TermId": 18, 11812 - "TransactionDate": "2014-08-19", 11813 - "TransactionTime": "11:18:55", 11814 - "RequestDate": "2014-08-19", 11815 - "UserIP": "74.201.38.1", 11816 - "SubscriptionType": "n", 11817 - "ProductId": 18, 11818 - "Source": 34, 11819 - "ProductStatus": 2, 11820 - "MediaFilePath": "", 11821 - "Amount": "" 11822 - }, 11823 - { 11824 - "Id": 722, 11825 - "UserId": 954, 11826 - "TermId": 18, 11827 - "TransactionDate": "2014-08-19", 11828 - "TransactionTime": "11:18:55", 11829 - "RequestDate": "2014-08-19", 11830 - "UserIP": "74.201.38.1", 11831 - "SubscriptionType": "n", 11832 - "ProductId": 18, 11833 - "Source": 34, 11834 - "ProductStatus": 2, 11835 - "MediaFilePath": "", 11836 - "Amount": "" 11837 - }, 11838 - { 11839 - "Id": 730, 11840 - "UserId": 962, 11841 - "TermId": 18, 11842 - "TransactionDate": "2014-08-19", 11843 - "TransactionTime": "11:18:55", 11844 - "RequestDate": "2014-08-19", 11845 - "UserIP": "74.201.38.1", 11846 - "SubscriptionType": "n", 11847 - "ProductId": 18, 11848 - "Source": 34, 11849 - "ProductStatus": 2, 11850 - "MediaFilePath": "", 11851 - "Amount": "" 11852 - }, 11853 - { 11854 - "Id": 738, 11855 - "UserId": 970, 11856 - "TermId": 18, 11857 - "TransactionDate": "2014-08-19", 11858 - "TransactionTime": "11:18:55", 11859 - "RequestDate": "2014-08-19", 11860 - "UserIP": "74.201.38.1", 11861 - "SubscriptionType": "n", 11862 - "ProductId": 18, 11863 - "Source": 34, 11864 - "ProductStatus": 2, 11865 - "MediaFilePath": "", 11866 - "Amount": "" 11867 - }, 11868 - { 11869 - "Id": 746, 11870 - "UserId": 978, 11871 - "TermId": 18, 11872 - "TransactionDate": "2014-08-19", 11873 - "TransactionTime": "11:18:55", 11874 - "RequestDate": "2014-08-19", 11875 - "UserIP": "74.201.38.1", 11876 - "SubscriptionType": "n", 11877 - "ProductId": 18, 11878 - "Source": 34, 11879 - "ProductStatus": 2, 11880 - "MediaFilePath": "", 11881 - "Amount": "" 11882 - }, 11883 - { 11884 - "Id": 754, 11885 - "UserId": 986, 11886 - "TermId": 18, 11887 - "TransactionDate": "2014-08-19", 11888 - "TransactionTime": "11:18:55", 11889 - "RequestDate": "2014-08-19", 11890 - "UserIP": "74.201.38.1", 11891 - "SubscriptionType": "n", 11892 - "ProductId": 18, 11893 - "Source": 34, 11894 - "ProductStatus": 2, 11895 - "MediaFilePath": "", 11896 - "Amount": "" 11897 - }, 11898 - { 11899 - "Id": 762, 11900 - "UserId": 994, 11901 - "TermId": 18, 11902 - "TransactionDate": "2014-08-19", 11903 - "TransactionTime": "11:18:55", 11904 - "RequestDate": "2014-08-19", 11905 - "UserIP": "74.201.38.1", 11906 - "SubscriptionType": "n", 11907 - "ProductId": 18, 11908 - "Source": 34, 11909 - "ProductStatus": 2, 11910 - "MediaFilePath": "", 11911 - "Amount": "" 11912 - }, 11913 - { 11914 - "Id": 770, 11915 - "UserId": 1002, 11916 - "TermId": 18, 11917 - "TransactionDate": "2014-08-19", 11918 - "TransactionTime": "11:18:55", 11919 - "RequestDate": "2014-08-19", 11920 - "UserIP": "74.201.38.1", 11921 - "SubscriptionType": "n", 11922 - "ProductId": 18, 11923 - "Source": 34, 11924 - "ProductStatus": 2, 11925 - "MediaFilePath": "", 11926 - "Amount": "" 11927 - }, 11928 - { 11929 - "Id": 778, 11930 - "UserId": 1010, 11931 - "TermId": 18, 11932 - "TransactionDate": "2014-08-19", 11933 - "TransactionTime": "11:18:55", 11934 - "RequestDate": "2014-08-19", 11935 - "UserIP": "74.201.38.1", 11936 - "SubscriptionType": "n", 11937 - "ProductId": 18, 11938 - "Source": 34, 11939 - "ProductStatus": 2, 11940 - "MediaFilePath": "", 11941 - "Amount": "" 11942 - }, 11943 - { 11944 - "Id": 786, 11945 - "UserId": 1018, 11946 - "TermId": 18, 11947 - "TransactionDate": "2014-08-19", 11948 - "TransactionTime": "11:18:55", 11949 - "RequestDate": "2014-08-19", 11950 - "UserIP": "74.201.38.1", 11951 - "SubscriptionType": "n", 11952 - "ProductId": 18, 11953 - "Source": 34, 11954 - "ProductStatus": 2, 11955 - "MediaFilePath": "", 11956 - "Amount": "" 11957 - }, 11958 - { 11959 - "Id": 794, 11960 - "UserId": 1026, 11961 - "TermId": 18, 11962 - "TransactionDate": "2014-08-19", 11963 - "TransactionTime": "11:18:55", 11964 - "RequestDate": "2014-08-19", 11965 - "UserIP": "74.201.38.1", 11966 - "SubscriptionType": "n", 11967 - "ProductId": 18, 11968 - "Source": 34, 11969 - "ProductStatus": 2, 11970 - "MediaFilePath": "", 11971 - "Amount": "" 11972 - }, 11973 - { 11974 - "Id": 802, 11975 - "UserId": 1034, 11976 - "TermId": 18, 11977 - "TransactionDate": "2014-08-19", 11978 - "TransactionTime": "11:18:55", 11979 - "RequestDate": "2014-08-19", 11980 - "UserIP": "74.201.38.1", 11981 - "SubscriptionType": "n", 11982 - "ProductId": 18, 11983 - "Source": 34, 11984 - "ProductStatus": 2, 11985 - "MediaFilePath": "", 11986 - "Amount": "" 11987 - }, 11988 - { 11989 - "Id": 810, 11990 - "UserId": 1042, 11991 - "TermId": 18, 11992 - "TransactionDate": "2014-08-19", 11993 - "TransactionTime": "11:18:55", 11994 - "RequestDate": "2014-08-19", 11995 - "UserIP": "74.201.38.1", 11996 - "SubscriptionType": "n", 11997 - "ProductId": 18, 11998 - "Source": 34, 11999 - "ProductStatus": 2, 12000 - "MediaFilePath": "", 12001 - "Amount": "" 12002 - }, 12003 - { 12004 - "Id": 818, 12005 - "UserId": 1050, 12006 - "TermId": 18, 12007 - "TransactionDate": "2014-08-19", 12008 - "TransactionTime": "11:18:55", 12009 - "RequestDate": "2014-08-19", 12010 - "UserIP": "74.201.38.1", 12011 - "SubscriptionType": "n", 12012 - "ProductId": 18, 12013 - "Source": 34, 12014 - "ProductStatus": 2, 12015 - "MediaFilePath": "", 12016 - "Amount": "" 12017 - }, 12018 - { 12019 - "Id": 826, 12020 - "UserId": 1058, 12021 - "TermId": 18, 12022 - "TransactionDate": "2014-08-19", 12023 - "TransactionTime": "11:18:55", 12024 - "RequestDate": "2014-08-19", 12025 - "UserIP": "74.201.38.1", 12026 - "SubscriptionType": "n", 12027 - "ProductId": 18, 12028 - "Source": 34, 12029 - "ProductStatus": 2, 12030 - "MediaFilePath": "", 12031 - "Amount": "" 12032 - }, 12033 - { 12034 - "Id": 834, 12035 - "UserId": 1066, 12036 - "TermId": 18, 12037 - "TransactionDate": "2014-08-19", 12038 - "TransactionTime": "11:18:55", 12039 - "RequestDate": "2014-08-19", 12040 - "UserIP": "74.201.38.1", 12041 - "SubscriptionType": "n", 12042 - "ProductId": 18, 12043 - "Source": 34, 12044 - "ProductStatus": 2, 12045 - "MediaFilePath": "", 12046 - "Amount": "" 12047 - }, 12048 - { 12049 - "Id": 842, 12050 - "UserId": 1074, 12051 - "TermId": 18, 12052 - "TransactionDate": "2014-08-19", 12053 - "TransactionTime": "11:18:55", 12054 - "RequestDate": "2014-08-19", 12055 - "UserIP": "74.201.38.1", 12056 - "SubscriptionType": "n", 12057 - "ProductId": 18, 12058 - "Source": 34, 12059 - "ProductStatus": 2, 12060 - "MediaFilePath": "", 12061 - "Amount": "" 12062 - }, 12063 - { 12064 - "Id": 850, 12065 - "UserId": 1082, 12066 - "TermId": 18, 12067 - "TransactionDate": "2014-08-19", 12068 - "TransactionTime": "11:18:55", 12069 - "RequestDate": "2014-08-19", 12070 - "UserIP": "74.201.38.1", 12071 - "SubscriptionType": "n", 12072 - "ProductId": 18, 12073 - "Source": 34, 12074 - "ProductStatus": 2, 12075 - "MediaFilePath": "", 12076 - "Amount": "" 12077 - }, 12078 - { 12079 - "Id": 858, 12080 - "UserId": 1090, 12081 - "TermId": 18, 12082 - "TransactionDate": "2014-08-19", 12083 - "TransactionTime": "11:18:55", 12084 - "RequestDate": "2014-08-19", 12085 - "UserIP": "74.201.38.1", 12086 - "SubscriptionType": "n", 12087 - "ProductId": 18, 12088 - "Source": 34, 12089 - "ProductStatus": 2, 12090 - "MediaFilePath": "", 12091 - "Amount": "" 12092 - }, 12093 - { 12094 - "Id": 866, 12095 - "UserId": 1098, 12096 - "TermId": 18, 12097 - "TransactionDate": "2014-08-19", 12098 - "TransactionTime": "11:18:55", 12099 - "RequestDate": "2014-08-19", 12100 - "UserIP": "74.201.38.1", 12101 - "SubscriptionType": "n", 12102 - "ProductId": 18, 12103 - "Source": 34, 12104 - "ProductStatus": 2, 12105 - "MediaFilePath": "", 12106 - "Amount": "" 12107 - }, 12108 - { 12109 - "Id": 874, 12110 - "UserId": 1106, 12111 - "TermId": 18, 12112 - "TransactionDate": "2014-08-19", 12113 - "TransactionTime": "11:18:55", 12114 - "RequestDate": "2014-08-19", 12115 - "UserIP": "74.201.38.1", 12116 - "SubscriptionType": "n", 12117 - "ProductId": 18, 12118 - "Source": 34, 12119 - "ProductStatus": 2, 12120 - "MediaFilePath": "", 12121 - "Amount": "" 12122 - }, 12123 - { 12124 - "Id": 882, 12125 - "UserId": 1114, 12126 - "TermId": 18, 12127 - "TransactionDate": "2014-08-19", 12128 - "TransactionTime": "11:18:55", 12129 - "RequestDate": "2014-08-19", 12130 - "UserIP": "74.201.38.1", 12131 - "SubscriptionType": "n", 12132 - "ProductId": 18, 12133 - "Source": 34, 12134 - "ProductStatus": 2, 12135 - "MediaFilePath": "", 12136 - "Amount": "" 12137 - }, 12138 - { 12139 - "Id": 890, 12140 - "UserId": 1122, 12141 - "TermId": 18, 12142 - "TransactionDate": "2014-08-19", 12143 - "TransactionTime": "11:18:55", 12144 - "RequestDate": "2014-08-19", 12145 - "UserIP": "74.201.38.1", 12146 - "SubscriptionType": "n", 12147 - "ProductId": 18, 12148 - "Source": 34, 12149 - "ProductStatus": 2, 12150 - "MediaFilePath": "", 12151 - "Amount": "" 12152 - }, 12153 - { 12154 - "Id": 898, 12155 - "UserId": 1130, 12156 - "TermId": 18, 12157 - "TransactionDate": "2014-08-19", 12158 - "TransactionTime": "11:18:55", 12159 - "RequestDate": "2014-08-19", 12160 - "UserIP": "74.201.38.1", 12161 - "SubscriptionType": "n", 12162 - "ProductId": 18, 12163 - "Source": 34, 12164 - "ProductStatus": 2, 12165 - "MediaFilePath": "", 12166 - "Amount": "" 12167 - }, 12168 - { 12169 - "Id": 906, 12170 - "UserId": 1138, 12171 - "TermId": 18, 12172 - "TransactionDate": "2014-08-19", 12173 - "TransactionTime": "11:18:55", 12174 - "RequestDate": "2014-08-19", 12175 - "UserIP": "74.201.38.1", 12176 - "SubscriptionType": "n", 12177 - "ProductId": 18, 12178 - "Source": 34, 12179 - "ProductStatus": 2, 12180 - "MediaFilePath": "", 12181 - "Amount": "" 12182 - }, 12183 - { 12184 - "Id": 914, 12185 - "UserId": 1146, 12186 - "TermId": 18, 12187 - "TransactionDate": "2014-08-19", 12188 - "TransactionTime": "11:18:55", 12189 - "RequestDate": "2014-08-19", 12190 - "UserIP": "74.201.38.1", 12191 - "SubscriptionType": "n", 12192 - "ProductId": 18, 12193 - "Source": 34, 12194 - "ProductStatus": 2, 12195 - "MediaFilePath": "", 12196 - "Amount": "" 12197 - }, 12198 - { 12199 - "Id": 922, 12200 - "UserId": 1154, 12201 - "TermId": 18, 12202 - "TransactionDate": "2014-08-19", 12203 - "TransactionTime": "11:18:55", 12204 - "RequestDate": "2014-08-19", 12205 - "UserIP": "74.201.38.1", 12206 - "SubscriptionType": "n", 12207 - "ProductId": 18, 12208 - "Source": 34, 12209 - "ProductStatus": 2, 12210 - "MediaFilePath": "", 12211 - "Amount": "" 12212 - }, 12213 - { 12214 - "Id": 930, 12215 - "UserId": 1162, 12216 - "TermId": 18, 12217 - "TransactionDate": "2014-08-19", 12218 - "TransactionTime": "11:18:55", 12219 - "RequestDate": "2014-08-19", 12220 - "UserIP": "74.201.38.1", 12221 - "SubscriptionType": "n", 12222 - "ProductId": 18, 12223 - "Source": 34, 12224 - "ProductStatus": 2, 12225 - "MediaFilePath": "", 12226 - "Amount": "" 12227 - }, 12228 - { 12229 - "Id": 938, 12230 - "UserId": 1170, 12231 - "TermId": 18, 12232 - "TransactionDate": "2014-08-19", 12233 - "TransactionTime": "11:18:55", 12234 - "RequestDate": "2014-08-19", 12235 - "UserIP": "74.201.38.1", 12236 - "SubscriptionType": "n", 12237 - "ProductId": 18, 12238 - "Source": 34, 12239 - "ProductStatus": 2, 12240 - "MediaFilePath": "", 12241 - "Amount": "" 12242 - }, 12243 - { 12244 - "Id": 946, 12245 - "UserId": 1178, 12246 - "TermId": 18, 12247 - "TransactionDate": "2014-08-19", 12248 - "TransactionTime": "11:18:55", 12249 - "RequestDate": "2014-08-19", 12250 - "UserIP": "74.201.38.1", 12251 - "SubscriptionType": "n", 12252 - "ProductId": 18, 12253 - "Source": 34, 12254 - "ProductStatus": 2, 12255 - "MediaFilePath": "", 12256 - "Amount": "" 12257 - }, 12258 - { 12259 - "Id": 954, 12260 - "UserId": 1186, 12261 - "TermId": 18, 12262 - "TransactionDate": "2014-08-19", 12263 - "TransactionTime": "11:18:55", 12264 - "RequestDate": "2014-08-19", 12265 - "UserIP": "74.201.38.1", 12266 - "SubscriptionType": "n", 12267 - "ProductId": 18, 12268 - "Source": 34, 12269 - "ProductStatus": 2, 12270 - "MediaFilePath": "", 12271 - "Amount": "" 12272 - }, 12273 - { 12274 - "Id": 962, 12275 - "UserId": 1194, 12276 - "TermId": 18, 12277 - "TransactionDate": "2014-08-19", 12278 - "TransactionTime": "11:18:55", 12279 - "RequestDate": "2014-08-19", 12280 - "UserIP": "74.201.38.1", 12281 - "SubscriptionType": "n", 12282 - "ProductId": 18, 12283 - "Source": 34, 12284 - "ProductStatus": 2, 12285 - "MediaFilePath": "", 12286 - "Amount": "" 12287 - }, 12288 - { 12289 - "Id": 970, 12290 - "UserId": 1202, 12291 - "TermId": 18, 12292 - "TransactionDate": "2014-08-19", 12293 - "TransactionTime": "11:18:55", 12294 - "RequestDate": "2014-08-19", 12295 - "UserIP": "74.201.38.1", 12296 - "SubscriptionType": "n", 12297 - "ProductId": 18, 12298 - "Source": 34, 12299 - "ProductStatus": 2, 12300 - "MediaFilePath": "", 12301 - "Amount": "" 12302 - }, 12303 - { 12304 - "Id": 978, 12305 - "UserId": 1210, 12306 - "TermId": 18, 12307 - "TransactionDate": "2014-08-19", 12308 - "TransactionTime": "11:18:55", 12309 - "RequestDate": "2014-08-19", 12310 - "UserIP": "74.201.38.1", 12311 - "SubscriptionType": "n", 12312 - "ProductId": 18, 12313 - "Source": 34, 12314 - "ProductStatus": 2, 12315 - "MediaFilePath": "", 12316 - "Amount": "" 12317 - }, 12318 - { 12319 - "Id": 986, 12320 - "UserId": 1218, 12321 - "TermId": 18, 12322 - "TransactionDate": "2014-08-19", 12323 - "TransactionTime": "11:18:55", 12324 - "RequestDate": "2014-08-19", 12325 - "UserIP": "74.201.38.1", 12326 - "SubscriptionType": "n", 12327 - "ProductId": 18, 12328 - "Source": 34, 12329 - "ProductStatus": 2, 12330 - "MediaFilePath": "", 12331 - "Amount": "" 12332 - }, 12333 - { 12334 - "Id": 994, 12335 - "UserId": 1226, 12336 - "TermId": 18, 12337 - "TransactionDate": "2014-08-19", 12338 - "TransactionTime": "11:18:55", 12339 - "RequestDate": "2014-08-19", 12340 - "UserIP": "74.201.38.1", 12341 - "SubscriptionType": "n", 12342 - "ProductId": 18, 12343 - "Source": 34, 12344 - "ProductStatus": 2, 12345 - "MediaFilePath": "", 12346 - "Amount": "" 12347 - }, 12348 - { 12349 - "Id": 1002, 12350 - "UserId": 1234, 12351 - "TermId": 18, 12352 - "TransactionDate": "2014-08-19", 12353 - "TransactionTime": "11:18:55", 12354 - "RequestDate": "2014-08-19", 12355 - "UserIP": "74.201.38.1", 12356 - "SubscriptionType": "n", 12357 - "ProductId": 18, 12358 - "Source": 34, 12359 - "ProductStatus": 2, 12360 - "MediaFilePath": "", 12361 - "Amount": "" 12362 - } 12363 - ] 12364 -} 12365 -{{/code}} 12366 - 12367 - 12368 -(% id="HGETspecificTransaction" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 12369 -== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)specific Transaction(%%) == 12370 - 12371 ----- 12372 - 12373 -{{panel bgColor="#D3D3D3" width="100%"}} 12374 - (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/transactions/~{~{Transaction id}} 12375 -{{/panel}} 12376 - 12377 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 12378 - 12379 ----- 12380 - 12381 -(% 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}} 12382 - 12383 -==== Example ==== 12384 - 12385 ----- 12386 - 12387 -(% style="color:#6b6b6b" %)Request 12388 - 12389 -{{code language="php" theme="RDark" title="Get specific Transaction Request"}} 12390 - <?php 12391 - 12392 -$curl = curl_init(); 12393 - 12394 -curl_setopt_array($curl, array( 12395 - CURLOPT_URL => 'https://api.onecount.net/v2/transactions/{{Transaction id}}', 12396 - CURLOPT_RETURNTRANSFER => true, 12397 - CURLOPT_ENCODING => '', 12398 - CURLOPT_MAXREDIRS => 10, 12399 - CURLOPT_TIMEOUT => 0, 12400 - CURLOPT_FOLLOWLOCATION => true, 12401 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 12402 - CURLOPT_CUSTOMREQUEST => 'GET', 12403 - CURLOPT_HTTPHEADER => array( 12404 - 'Appkey: {{ONECOUNT API KEY}}' 12405 - ), 12406 -)); 12407 - 12408 -$response = curl_exec($curl); 12409 - 12410 -curl_close($curl); 12411 -echo $response; 12412 -{{/code}} 12413 - 12414 - 12415 -(% style="color:#6b6b6b" %)Response 200 OK 12416 - 12417 -{{code language="yml" theme="RDark" collapse="true" title="Get specific Transaction Response"}} 12418 - { 12419 - "result": { 12420 - "success": "1", 12421 - "error": { 12422 - "code": "", 12423 - "message": "" 12424 - } 12425 - }, 12426 - "Transactions": [ 12427 - { 12428 - "Id": 1002, 12429 - "UserId": 1234, 12430 - "TermId": 18, 12431 - "TransactionDate": "2014-08-19", 12432 - "TransactionTime": "11:18:55", 12433 - "RequestDate": "2014-08-19", 12434 - "UserIP": "74.201.38.1", 12435 - "SubscriptionType": "n", 12436 - "ProductId": 18, 12437 - "Source": 34, 12438 - "ProductStatus": 2, 12439 - "MediaFilePath": "", 12440 - "Amount": "" 12441 - } 12442 - ] 12443 -} 12444 -{{/code}} 12445 - 12446 - 12447 -(% id="HGETlookupTransaction" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 12448 -== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)lookup Transaction(%%) == 12449 - 12450 ----- 12451 - 12452 -{{panel bgColor="#D3D3D3" width="100%"}} 12453 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/transactions/lookup?UserId=~{~{OCID}} 12454 -{{/panel}} 12455 - 12456 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 12457 - 12458 ----- 12459 - 12460 -(% 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}} 12461 - 12462 -=== (% style="color:#212121" %)Query Params(%%) === 12463 - 12464 ----- 12465 - 12466 -(% 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}} 12467 - 12468 -==== Example ==== 12469 - 12470 ----- 12471 - 12472 -(% style="color:#6b6b6b" %)Request 12473 - 12474 -{{code language="php" theme="RDark" title="Lookup Transaction Request"}} 12475 - <?php 12476 - 12477 -$curl = curl_init(); 12478 - 12479 -curl_setopt_array($curl, array( 12480 - CURLOPT_URL => 'https://api.onecount.net/v2/transactions/lookup?UserId={{OCID}}', 12481 - CURLOPT_RETURNTRANSFER => true, 12482 - CURLOPT_ENCODING => '', 12483 - CURLOPT_MAXREDIRS => 10, 12484 - CURLOPT_TIMEOUT => 0, 12485 - CURLOPT_FOLLOWLOCATION => true, 12486 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 12487 - CURLOPT_CUSTOMREQUEST => 'GET', 12488 - CURLOPT_HTTPHEADER => array( 12489 - 'Appkey: {{ONECOUNT API KEY}}' 12490 - ), 12491 -)); 12492 - 12493 -$response = curl_exec($curl); 12494 - 12495 -curl_close($curl); 12496 -echo $response; 12497 -{{/code}} 12498 - 12499 - 12500 -(% style="color:#6b6b6b" %)Response 200 OK 12501 - 12502 -{{code language="yml" theme="RDark" collapse="true" title="Lookup Transaction Response"}} 12503 - { 12504 - "result": { 12505 - "success": "1", 12506 - "error": { 12507 - "code": "", 12508 - "message": "" 12509 - } 12510 - }, 12511 - "Transactions": [ 12512 - { 12513 - "Id": 52494786, 12514 - "UserId": 1234, 12515 - "TermId": 34, 12516 - "TransactionDate": "2016-01-19", 12517 - "TransactionTime": "15:30:04", 12518 - "RequestDate": "2016-01-19", 12519 - "UserIP": "12.226.247.2", 12520 - "SubscriptionType": "u", 12521 - "ProductId": 34, 12522 - "Source": 0, 12523 - "ProductStatus": 0, 12524 - "MediaFilePath": "", 12525 - "Amount": "" 12526 - }, 12527 - { 12528 - "Id": 42654041, 12529 - "UserId": 1234, 12530 - "TermId": 34, 12531 - "TransactionDate": "2015-09-09", 12532 - "TransactionTime": "11:20:39", 12533 - "RequestDate": "2015-09-09", 12534 - "UserIP": "24.187.236.98", 12535 - "SubscriptionType": "n", 12536 - "ProductId": 34, 12537 - "Source": 0, 12538 - "ProductStatus": 2, 12539 - "MediaFilePath": "", 12540 - "Amount": "" 12541 - }, 12542 - { 12543 - "Id": 97251022, 12544 - "UserId": 1234, 12545 - "TermId": 34, 12546 - "TransactionDate": "2015-06-04", 12547 - "TransactionTime": "14:59:42", 12548 - "RequestDate": "2015-06-04", 12549 - "UserIP": "12.226.247.2", 12550 - "SubscriptionType": "u", 12551 - "ProductId": 34, 12552 - "Source": 0, 12553 - "ProductStatus": 0, 12554 - "MediaFilePath": "", 12555 - "Amount": "" 12556 - }, 12557 - { 12558 - "Id": 55492559, 12559 - "UserId": 1234, 12560 - "TermId": 34, 12561 - "TransactionDate": "2015-04-03", 12562 - "TransactionTime": "16:32:04", 12563 - "RequestDate": "2015-04-03", 12564 - "UserIP": "24.187.236.98", 12565 - "SubscriptionType": "r", 12566 - "ProductId": 34, 12567 - "Source": 58, 12568 - "ProductStatus": 106, 12569 - "MediaFilePath": "", 12570 - "Amount": "" 12571 - }, 12572 - { 12573 - "Id": 98173391, 12574 - "UserId": 1234, 12575 - "TermId": 34, 12576 - "TransactionDate": "2015-04-03", 12577 - "TransactionTime": "15:50:45", 12578 - "RequestDate": "2014-08-19", 12579 - "UserIP": "24.187.236.98", 12580 - "SubscriptionType": "n", 12581 - "ProductId": 34, 12582 - "Source": 34, 12583 - "ProductStatus": 106, 12584 - "MediaFilePath": "", 12585 - "Amount": "" 12586 - }, 12587 - { 12588 - "Id": 91711793, 12589 - "UserId": 1234, 12590 - "TermId": 18, 12591 - "TransactionDate": "2015-04-27", 12592 - "TransactionTime": "14:24:51", 12593 - "RequestDate": "2015-04-27", 12594 - "UserIP": "24.187.236.98", 12595 - "SubscriptionType": "u", 12596 - "ProductId": 18, 12597 - "Source": 0, 12598 - "ProductStatus": 106, 12599 - "MediaFilePath": "", 12600 - "Amount": "" 12601 - }, 12602 - { 12603 - "Id": 74936400, 12604 - "UserId": 1234, 12605 - "TermId": 18, 12606 - "TransactionDate": "2015-04-27", 12607 - "TransactionTime": "12:35:18", 12608 - "RequestDate": "2015-04-27", 12609 - "UserIP": "68.196.187.74", 12610 - "SubscriptionType": "n", 12611 - "ProductId": 18, 12612 - "Source": 34, 12613 - "ProductStatus": 106, 12614 - "MediaFilePath": "", 12615 - "Amount": "" 12616 - }, 12617 - { 12618 - "Id": 21664714, 12619 - "UserId": 1234, 12620 - "TermId": 18, 12621 - "TransactionDate": "2015-04-03", 12622 - "TransactionTime": "15:50:46", 12623 - "RequestDate": "2015-04-03", 12624 - "UserIP": "24.187.236.98", 12625 - "SubscriptionType": "u", 12626 - "ProductId": 18, 12627 - "Source": 0, 12628 - "ProductStatus": 2, 12629 - "MediaFilePath": "", 12630 - "Amount": "" 12631 - }, 12632 - { 12633 - "Id": 81129263, 12634 - "UserId": 1234, 12635 - "TermId": 18, 12636 - "TransactionDate": "2014-08-19", 12637 - "TransactionTime": "11:18:55", 12638 - "RequestDate": "2014-08-19", 12639 - "UserIP": "74.201.38.1", 12640 - "SubscriptionType": "n", 12641 - "ProductId": 18, 12642 - "Source": 34, 12643 - "ProductStatus": 2, 12644 - "MediaFilePath": "", 12645 - "Amount": "" 12646 - }, 12647 - { 12648 - "Id": 30461748, 12649 - "UserId": 1234, 12650 - "ResourceId": 459, 12651 - "TransactionDate": "2023-03-15", 12652 - "TransactionTime": "12:07:55", 12653 - "RequestDate": "2023-03-15", 12654 - "UserIP": "74.201.38.12", 12655 - "SubscriptionType": "n", 12656 - "SourceCode": 0, 12657 - "ProductStatus": 0, 12658 - "MediaFilePath": "", 12659 - "Amount": "" 12660 - }, 12661 - { 12662 - "Id": 25858253, 12663 - "UserId": 1234, 12664 - "ResourceId": 451, 12665 - "TransactionDate": "2023-03-15", 12666 - "TransactionTime": "11:45:19", 12667 - "RequestDate": "2023-03-15", 12668 - "UserIP": "74.201.38.12", 12669 - "SubscriptionType": "n", 12670 - "SourceCode": 0, 12671 - "ProductStatus": 0, 12672 - "MediaFilePath": "", 12673 - "Amount": "" 12674 - }, 12675 - { 12676 - "Id": 69453260, 12677 - "UserId": 1234, 12678 - "ResourceId": 411, 12679 - "TransactionDate": "2022-06-07", 12680 - "TransactionTime": "17:03:14", 12681 - "RequestDate": "2022-06-07", 12682 - "UserIP": "74.201.38.12", 12683 - "SubscriptionType": "n", 12684 - "SourceCode": 0, 12685 - "ProductStatus": 0, 12686 - "MediaFilePath": "", 12687 - "Amount": "" 12688 - }, 12689 - { 12690 - "Id": 51354425, 12691 - "UserId": 1234, 12692 - "ResourceId": 355, 12693 - "TransactionDate": "2020-04-06", 12694 - "TransactionTime": "12:24:08", 12695 - "RequestDate": "2020-04-06", 12696 - "UserIP": "74.201.38.12", 12697 - "SubscriptionType": "n", 12698 - "SourceCode": 0, 12699 - "ProductStatus": 0, 12700 - "MediaFilePath": "", 12701 - "Amount": "" 12702 - } 12703 - ] 12704 -} 12705 -{{/code}} 12706 - 12707 - 12708 -(% id="HPOSTCreateTransaction" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 12709 -== (% 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(%%) == 12710 - 12711 ----- 12712 - 12713 -{{panel bgColor="#D3D3D3" width="100%"}} 12714 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/transactions 12715 -{{/panel}} 12716 - 12717 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 12718 - 12719 ----- 12720 - 12721 -(% 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}} 12722 - 12723 -=== (% style="color:#212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) === 12724 - 12725 ----- 12726 - 12727 -{{code language="yml" theme="RDark" title="Body"}} 12728 -{"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" } 12729 -{{/code}} 12730 - 12731 -==== Example ==== 12732 - 12733 ----- 12734 - 12735 -(% style="color:#6b6b6b" %)Request 12736 - 12737 -{{code language="php" theme="RDark" title="Create Transaction Request"}} 12738 - <?php 12739 - 12740 -$curl = curl_init(); 12741 - 12742 -curl_setopt_array($curl, array( 12743 - CURLOPT_URL => 'https://api.onecount.net/v2/transactions', 12744 - CURLOPT_RETURNTRANSFER => true, 12745 - CURLOPT_ENCODING => '', 12746 - CURLOPT_MAXREDIRS => 10, 12747 - CURLOPT_TIMEOUT => 0, 12748 - CURLOPT_FOLLOWLOCATION => true, 12749 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 12750 - CURLOPT_CUSTOMREQUEST => 'POST', 12751 - 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" }', 12752 - CURLOPT_HTTPHEADER => array( 12753 - 'Appkey: {{ONECOUNT API KEY}}' 12754 - ), 12755 -)); 12756 - 12757 -$response = curl_exec($curl); 12758 - 12759 -curl_close($curl); 12760 -echo $response; 12761 -{{/code}} 12762 - 12763 - 12764 -(% style="color:#6b6b6b" %)Response 200 OK 12765 - 12766 -{{code language="yml" theme="RDark" collapse="true" title="Create Transaction Response"}} 12767 - { 12768 - "result": { 12769 - "success": "1", 12770 - "error": { 12771 - "code": "", 12772 - "message": "" 12773 - } 12774 - }, 12775 - "Transactions": { 12776 - "Id": "1234", 12777 - "UserId": 1845775, 12778 - "TermId": 447, 12779 - "TransactionDate": "20231211", 12780 - "TransactionTime": "09:34:26", 12781 - "RequestDate": "20231211", 12782 - "UserIP": "192.168.0.1", 12783 - "SubscriptionType": "n", 12784 - "ProductId": 599, 12785 - "Source": 83, 12786 - "ProductStatus": 2, 12787 - "MediaFilePath": "", 12788 - "Amount": "0.00" 12789 - } 12790 -} 12791 -{{/code}} 12792 - 12793 - 12794 -=== **COMPONENT: Engagements** === 12795 - 12796 12796 (% class="western" %) 12797 - Engagementcanbeadded,updatedand searchedfor usingtheengagementsresourcefromheapi.3143 +POST method should be used to create an individual source given the source parameters. 12798 12798 12799 - 12800 -(% class="wrapped" %) 12801 -|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3145 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12802 12802 ((( 12803 12803 (% class="western" %) 12804 -** Method**12805 -)))|(% style="text-align:left; 3148 +**Request** 3149 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12806 12806 ((( 12807 12807 (% class="western" %) 12808 -** Url**12809 -)))|(% style="text-align:left; 3152 +**Type** 3153 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12810 12810 ((( 12811 12811 (% class="western" %) 12812 -** Action**3156 +**Description** 12813 12813 ))) 12814 -|(% style="text-align:left; 3158 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12815 12815 ((( 12816 12816 (% class="western" %) 12817 - GET12818 -)))|(% style="text-align:left; 3161 +Sources 3162 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12819 12819 ((( 12820 12820 (% class="western" %) 12821 - /(% style="color:#212121" %)engagements12822 -)))|(% style="text-align:left; 3165 +Sources 3166 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12823 12823 ((( 12824 12824 (% class="western" %) 12825 - Get engagement datalimiting25.3169 +Defines the contents that makes up the source. Id parameters should not be set. 12826 12826 ))) 12827 -|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3171 + 3172 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12828 12828 ((( 12829 12829 (% class="western" %) 12830 - GET12831 -)))|(% style="text-align:left; 3175 +**Response** 3176 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12832 12832 ((( 12833 12833 (% class="western" %) 12834 - /(% style="color:#212121" %)engagements(%%)/<engagement id>12835 -)))|(% style="text-align:left; 3179 +**Type** 3180 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12836 12836 ((( 12837 12837 (% class="western" %) 12838 - Get data forengagementid. The engagementd is a string3183 +**Description** 12839 12839 ))) 12840 -|(% style="text-align:left; 3185 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12841 12841 ((( 12842 12842 (% class="western" %) 12843 - POST12844 -)))|(% style="text-align:left; 3188 +SourceId 3189 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12845 12845 ((( 12846 12846 (% class="western" %) 12847 - /(% style="color:#212121" %)engagements12848 -)))|(% style="text-align:left; 3192 +int 3193 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12849 12849 ((( 12850 12850 (% class="western" %) 12851 -Create a new engagement 3196 +Returns created source code id. 3197 +))) 12852 12852 3199 +\\ 3200 + 12853 12853 (% class="western" %) 12854 -Parameters required to create the engagement needs to be sent as post data in JSON format. 3202 +**PUT method can be used to update an individual source given the id.** 3203 + 3204 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3205 +((( 3206 +(% class="western" %) 3207 +**Request** 3208 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3209 +((( 3210 +(% class="western" %) 3211 +**Type** 3212 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3213 +((( 3214 +(% class="western" %) 3215 +**Description** 12855 12855 ))) 12856 -|(% style="text-align:left; 3217 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12857 12857 ((( 12858 12858 (% class="western" %) 12859 - PUT12860 -)))|(% style="text-align:left; 3220 +Sources 3221 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12861 12861 ((( 12862 12862 (% class="western" %) 12863 - /(% style="color:#212121" %)engagements(%%)/<engagement id>12864 -)))|(% style="text-align:left; 3224 +Sources 3225 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12865 12865 ((( 12866 12866 (% class="western" %) 12867 -Update engagement by engagement id. The engagement id string 3228 +Defines the contents that makes up the source. The id parameter needs to be set which will identify the id of the source to be updated. 3229 +))) 12868 12868 3231 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3232 +((( 12869 12869 (% class="western" %) 12870 -Parameters required to update the engagement needs to be sent as post data in JSON format. 12871 -))) 12872 -|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3234 +**Response** 3235 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12873 12873 ((( 12874 12874 (% class="western" %) 12875 - POST12876 -)))|(% style="text-align:left; 3238 +**Type** 3239 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12877 12877 ((( 12878 12878 (% class="western" %) 12879 -(% style="color:#212121" %)/engagements/addUser 12880 -)))|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3242 +**Description** 3243 +))) 3244 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 12881 12881 ((( 12882 12882 (% class="western" %) 12883 -Add user to engagement 12884 - 3247 +SourceId 3248 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3249 +((( 12885 12885 (% class="western" %) 12886 -Parameters required to add user to the engagement needs to be sent as post data in JSON format. 3251 +int 3252 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3253 +((( 3254 +(% class="western" %) 3255 +Returns updated source id. 12887 12887 ))) 12888 12888 12889 -(% id="HGETAllEngagements" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 12890 -== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)All Engagements(%%) == 3258 +\\ 12891 12891 12892 ----- 3260 +(% class="western" %) 3261 +\\ 12893 12893 12894 ----- 3263 +(% class="western" %) 3264 +**COMPONENT: Transactions** 12895 12895 12896 -{{panel bgColor="#D3D3D3" width="100%"}} 12897 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/engagements 12898 -{{/panel}} 12899 - 12900 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 12901 - 12902 ----- 12903 - 12904 -(% 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}} 12905 - 12906 -==== Example ==== 12907 - 12908 ----- 12909 - 12910 -(% style="color:#6b6b6b" %)Request 12911 - 12912 -{{code language="php" theme="RDark" title="Get All Engagement Request"}} 12913 -<?php 12914 - 12915 -$curl = curl_init(); 12916 - 12917 -curl_setopt_array($curl, array( 12918 - CURLOPT_URL => 'https://api.onecount.net/v2/engagements', 12919 - CURLOPT_RETURNTRANSFER => true, 12920 - CURLOPT_ENCODING => '', 12921 - CURLOPT_MAXREDIRS => 10, 12922 - CURLOPT_TIMEOUT => 0, 12923 - CURLOPT_FOLLOWLOCATION => true, 12924 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 12925 - CURLOPT_CUSTOMREQUEST => 'GET', 12926 - CURLOPT_HTTPHEADER => array( 12927 - 'Appkey: {{ONECOUNT API KEY}}' 12928 - ), 12929 -)); 12930 - 12931 -$response = curl_exec($curl); 12932 - 12933 -curl_close($curl); 12934 -echo $response; 12935 - 12936 - 12937 -{{/code}} 12938 - 12939 - 12940 -(% style="color:#6b6b6b" %)Response 200 OK 12941 - 12942 -{{code language="yml" theme="RDark" collapse="true" title="Get all engagements Response"}} 12943 - { 12944 - "result": { 12945 - "success": "1", 12946 - "error": { 12947 - "code": "", 12948 - "message": "" 12949 - } 12950 - }, 12951 - "Engagements": [ 12952 - { 12953 - "Id": "048d38e9-d6c3-432e-9671-3f31809d48b3", 12954 - "Name": "Test Engagement 1", 12955 - "Engagement Fields": [ 12956 - { 12957 - "Name": "id", 12958 - "Type": "text" 12959 - }, 12960 - { 12961 - "Name": "activity_time", 12962 - "Type": "text" 12963 - }, 12964 - { 12965 - "Name": "Name", 12966 - "Type": "text" 12967 - }, 12968 - { 12969 - "Name": "Test Field", 12970 - "Type": "select", 12971 - "Values": [ 12972 - { 12973 - "text": "Test 1", 12974 - "value": "Test1" 12975 - } 12976 - ] 12977 - } 12978 - ] 12979 - } 12980 - ] 12981 -} 12982 -{{/code}} 12983 - 12984 - 12985 -(% id="HGETSpecificEngagement" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 12986 -== (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)Specific Engagement(%%) == 12987 - 12988 ----- 12989 - 12990 ----- 12991 - 12992 -{{panel bgColor="#D3D3D3" width="100%"}} 12993 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/engagements/~{~{Engagement ID}} 12994 -{{/panel}} 12995 - 12996 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 12997 - 12998 ----- 12999 - 13000 -(% 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}} 13001 - 13002 -==== Example ==== 13003 - 13004 ----- 13005 - 13006 -(% style="color:#6b6b6b" %)Request 13007 - 13008 -{{code language="php" theme="RDark" title="Get Specific Engagement Request"}} 13009 -<?php 13010 - 13011 -$curl = curl_init(); 13012 - 13013 -curl_setopt_array($curl, array( 13014 - CURLOPT_URL => 'https://api.onecount.net/v2/engagements/{{Engagement ID}}', 13015 - CURLOPT_RETURNTRANSFER => true, 13016 - CURLOPT_ENCODING => '', 13017 - CURLOPT_MAXREDIRS => 10, 13018 - CURLOPT_TIMEOUT => 0, 13019 - CURLOPT_FOLLOWLOCATION => true, 13020 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 13021 - CURLOPT_CUSTOMREQUEST => 'GET', 13022 - CURLOPT_HTTPHEADER => array( 13023 - 'Appkey: {{ONECOUNT API KEY}}' 13024 - ), 13025 -)); 13026 - 13027 -$response = curl_exec($curl); 13028 - 13029 -curl_close($curl); 13030 -echo $response; 13031 - 13032 - 13033 -{{/code}} 13034 - 13035 - 13036 -(% style="color:#6b6b6b" %)Response 200 OK 13037 - 13038 -{{code language="yml" theme="RDark" collapse="true" title="Get specific engagement Response"}} 13039 - { 13040 - "result": { 13041 - "success": "1", 13042 - "error": { 13043 - "code": "", 13044 - "message": "" 13045 - } 13046 - }, 13047 - "Engagements": [ 13048 - { 13049 - "Id": "048d38e9-d6c3-432e-9671-3f31809d48b3", 13050 - "Name": "Test Engagement 1", 13051 - "Engagement Fields": [ 13052 - { 13053 - "Name": "id", 13054 - "Type": "text" 13055 - }, 13056 - { 13057 - "Name": "activity_time", 13058 - "Type": "text" 13059 - }, 13060 - { 13061 - "Name": "Name", 13062 - "Type": "text" 13063 - }, 13064 - { 13065 - "Name": "Test Field", 13066 - "Type": "select", 13067 - "Values": [ 13068 - { 13069 - "text": "Test 1", 13070 - "value": "Test1" 13071 - } 13072 - ] 13073 - } 13074 - ] 13075 - } 13076 - ] 13077 -} 13078 -{{/code}} 13079 - 13080 - 13081 -(% id="HPOSTCreateEngagement" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 13082 -== (% 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(%%) == 13083 - 13084 ----- 13085 - 13086 -{{panel bgColor="#D3D3D3" width="100%"}} 13087 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/engagements 13088 -{{/panel}} 13089 - 13090 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 13091 - 13092 ----- 13093 - 13094 -(% 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}} 13095 - 13096 -=== (% style="color:#212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) === 13097 - 13098 ----- 13099 - 13100 -{{code language="yml" theme="RDark" title="Body"}} 13101 -{"Name":"Engagement Name", "Description":"Engagement Description", "Metrics":[ 13102 - {"Name":[{"webinar ID 1":"Webinar 1"},{"webinar ID 3":"Webinar 3"},{"webinar ID 3":"Webinar 3"}],"Type": "select"}, 13103 - {"Attendance Status":[{"attended":"Attended"},{"not_attended":"Not Attended"}],"Type": "select"}, 13104 - {"Price":[],"Type": "numeric"}, 13105 - {"Transaction Date":[],"Type": "date"} 13106 -]} 13107 -{{/code}} 13108 - 13109 -==== Example ==== 13110 - 13111 ----- 13112 - 13113 -(% style="color:#6b6b6b" %)Request 13114 - 13115 -{{code language="php" theme="RDark" title="Create Engagement Request"}} 13116 -<?php 13117 - 13118 -$curl = curl_init(); 13119 - 13120 -curl_setopt_array($curl, array( 13121 - CURLOPT_URL => 'https://api.onecount.net/v2/engagements', 13122 - CURLOPT_RETURNTRANSFER => true, 13123 - CURLOPT_ENCODING => '', 13124 - CURLOPT_MAXREDIRS => 10, 13125 - CURLOPT_TIMEOUT => 0, 13126 - CURLOPT_FOLLOWLOCATION => true, 13127 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 13128 - CURLOPT_CUSTOMREQUEST => 'POST', 13129 - CURLOPT_POSTFIELDS =>'{"Name":"Test engagement 2", "Description":"Test engagement 2", "Metrics":[ 13130 - {"Name":[{"text":"Webinar 1","value":"Webinar_1"},{"text":"Webinar 2","value":"Webinar_2"}],"Type": "select"}, 13131 - {"Attendance Status":[{"text":"Attended","value":"attended"},{"text":"Not Attended","value":"not_attended"}],"Type": "select"}, 13132 - {"Price":[],"Type": "numeric"}, 13133 - {"Transaction Date":[],"Type": "text"} 13134 -]}', 13135 - CURLOPT_HTTPHEADER => array( 13136 - 'Appkey: {{ONECOUNT API KEY}}', 13137 - 'Content-Type: application/json' 13138 - ), 13139 -)); 13140 - 13141 -$response = curl_exec($curl); 13142 - 13143 -curl_close($curl); 13144 -echo $response; 13145 - 13146 - 13147 -{{/code}} 13148 - 13149 - 13150 -(% style="color:#6b6b6b" %)Response 200 OK 13151 - 13152 -{{code language="yml" theme="RDark" collapse="true" title="Create Engagement Response"}} 13153 - { 13154 - "result": { 13155 - "success": "1", 13156 - "error": { 13157 - "code": "", 13158 - "message": "" 13159 - } 13160 - }, 13161 - "Engagements": [ 13162 - { 13163 - "Id": "71c1115f-e5bb-470a-bedf-6940f5ac8565", 13164 - "Name": "Test engagement 2", 13165 - "Metrics": [ 13166 - { 13167 - "Name": "Name", 13168 - "Type": "select", 13169 - "Values": [ 13170 - { 13171 - "text": "Webinar 1", 13172 - "value": "Webinar_1" 13173 - }, 13174 - { 13175 - "text": "Webinar 2", 13176 - "value": "Webinar_2" 13177 - } 13178 - ] 13179 - }, 13180 - { 13181 - "Name": "Attendance Status", 13182 - "Type": "select", 13183 - "Values": [ 13184 - { 13185 - "text": "Attended", 13186 - "value": "attended" 13187 - }, 13188 - { 13189 - "text": "Not Attended", 13190 - "value": "not_attended" 13191 - } 13192 - ] 13193 - }, 13194 - { 13195 - "Name": "Price", 13196 - "Type": "numeric" 13197 - }, 13198 - { 13199 - "Name": "Transaction Date", 13200 - "Type": "text" 13201 - }, 13202 - { 13203 - "Name": "id", 13204 - "Type": "text" 13205 - }, 13206 - { 13207 - "Name": "activity_time", 13208 - "Type": "text" 13209 - } 13210 - ] 13211 - } 13212 - ] 13213 -} 13214 -{{/code}} 13215 - 13216 - 13217 -(% id="HPUTUpdateEngagement" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 13218 -== (% 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(%%) == 13219 - 13220 ----- 13221 - 13222 -{{panel bgColor="#D3D3D3" width="100%"}} 13223 - (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/engagements/~{~{Engagement Id}} 13224 -{{/panel}} 13225 - 13226 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 13227 - 13228 ----- 13229 - 13230 -(% 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}} 13231 - 13232 -=== (% style="color:#212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) === 13233 - 13234 ----- 13235 - 13236 -{{code language="yml" theme="RDark" title="Body"}} 13237 -{"Name":"Test engagement 3", "Metrics":[ 13238 - {"Attendance Status":[{"text":"Attended","value":"attended"},{"text":"Not Attended","value":"not_attended"}],"Type": "select"}, 13239 - {"Price":[],"Type": "text"} 13240 - ]} 13241 -{{/code}} 13242 - 13243 -==== Example ==== 13244 - 13245 ----- 13246 - 13247 -(% style="color:#6b6b6b" %)Request 13248 - 13249 -{{code language="php" theme="RDark" title="Update Engagement Request"}} 13250 - <?php 13251 - 13252 -$curl = curl_init(); 13253 - 13254 -curl_setopt_array($curl, array( 13255 - CURLOPT_URL => 'https://api.onecount.net/v2/engagements/{{Engagement Id}}', 13256 - CURLOPT_RETURNTRANSFER => true, 13257 - CURLOPT_ENCODING => '', 13258 - CURLOPT_MAXREDIRS => 10, 13259 - CURLOPT_TIMEOUT => 0, 13260 - CURLOPT_FOLLOWLOCATION => true, 13261 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 13262 - CURLOPT_CUSTOMREQUEST => 'PUT', 13263 - CURLOPT_POSTFIELDS =>'{"Name":"Test engagement 3", "Metrics":[ 13264 - {"Attendance Status":[{"text":"Attended","value":"attended"},{"text":"Not Attended","value":"not_attended"}],"Type": "select"}, 13265 - {"Price":[],"Type": "text"} 13266 - ]}', 13267 - CURLOPT_HTTPHEADER => array( 13268 - 'Appkey: {{ONECOUNT API KEY}}', 13269 - 'Content-Type: application/json' 13270 - ), 13271 -)); 13272 - 13273 -$response = curl_exec($curl); 13274 - 13275 -curl_close($curl); 13276 -echo $response; 13277 - 13278 -{{/code}} 13279 - 13280 - 13281 -(% style="color:#6b6b6b" %)Response 200 OK 13282 - 13283 -{{code language="yml" theme="RDark" collapse="true" title="Update Engagement Response"}} 13284 -{ 13285 - "result": { 13286 - "success": "1", 13287 - "error": { 13288 - "code": "", 13289 - "message": "" 13290 - } 13291 - }, 13292 - "Engagements": [ 13293 - { 13294 - "Id": "e0e816ec-77ba-4db1-bfc0-22d340337357", 13295 - "Name": "Test engagement 3", 13296 - "Metrics": [ 13297 - { 13298 - "Name": "Attendance Status", 13299 - "Type": "select", 13300 - "Values": [ 13301 - { 13302 - "text": "Attended", 13303 - "value": "attended" 13304 - }, 13305 - { 13306 - "text": "Not Attended", 13307 - "value": "not_attended" 13308 - } 13309 - ] 13310 - }, 13311 - { 13312 - "Name": "Price", 13313 - "Type": "text" 13314 - }, 13315 - { 13316 - "Name": "Name", 13317 - "Type": "select", 13318 - "Values": [ 13319 - { 13320 - "text": "Webinar 1", 13321 - "value": "Webinar_1" 13322 - }, 13323 - { 13324 - "text": "Webinar 2", 13325 - "value": "Webinar_2" 13326 - } 13327 - ] 13328 - }, 13329 - { 13330 - "Name": "Transaction Date", 13331 - "Type": "text" 13332 - }, 13333 - { 13334 - "Name": "id", 13335 - "Type": "text" 13336 - }, 13337 - { 13338 - "Name": "activity_time", 13339 - "Type": "text" 13340 - } 13341 - ] 13342 - } 13343 - ] 13344 -} 13345 -{{/code}} 13346 - 13347 - 13348 -(% id="HPOSTAddUsertoEngagement" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 13349 -== (% 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(%%) == 13350 - 13351 ----- 13352 - 13353 -{{panel bgColor="#D3D3D3" width="100%"}} 13354 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/engagements/addUser 13355 -{{/panel}} 13356 - 13357 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 13358 - 13359 ----- 13360 - 13361 -(% 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}} 13362 - 13363 -=== (% style="color:#212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) === 13364 - 13365 ----- 13366 - 13367 -{{code language="yml" title="Body"}} 13368 -{"engagement id":"e0e816ec-77ba-4db1-bfc0-22d340337357","name":"Webinar_1","ocid":"1845775", "date":"2023-12-31 14:12:38", "data":{"price":"10","attendance_status":"not_attended"},"segment":{}} 13369 -{{/code}} 13370 - 13371 -==== Example ==== 13372 - 13373 ----- 13374 - 13375 -(% style="color:#6b6b6b" %)Request 13376 - 13377 -{{code language="php" title="Add User to Engagement Request"}} 13378 - <?php 13379 - 13380 -$curl = curl_init(); 13381 - 13382 -curl_setopt_array($curl, array( 13383 - CURLOPT_URL => 'https://api.onecount.net/v2/engagements/addUser', 13384 - CURLOPT_RETURNTRANSFER => true, 13385 - CURLOPT_ENCODING => '', 13386 - CURLOPT_MAXREDIRS => 10, 13387 - CURLOPT_TIMEOUT => 0, 13388 - CURLOPT_FOLLOWLOCATION => true, 13389 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 13390 - CURLOPT_CUSTOMREQUEST => 'POST', 13391 - CURLOPT_POSTFIELDS =>'{"engagement id":"e0e816ec-77ba-4db1-bfc0-22d340337357","name":"Webinar_1","ocid":"1845775", "date":"2023-12-31 14:12:38", "data":{"price":"10","attendance_status":"not_attended"},"segment":{}}', 13392 - CURLOPT_HTTPHEADER => array( 13393 - 'Appkey: {{ONECOUNT API KEY}}' 13394 - ), 13395 -)); 13396 - 13397 -$response = curl_exec($curl); 13398 - 13399 -curl_close($curl); 13400 -echo $response; 13401 -{{/code}} 13402 - 13403 - 13404 -(% style="color:#6b6b6b" %)Response 200 OK 13405 - 13406 -{{code language="yml" theme="RDark" collapse="true" title="Add Users to Engagement Response"}} 13407 - { 13408 - "result": { 13409 - "success": "1", 13410 - "error": { 13411 - "code": "", 13412 - "message": "" 13413 - } 13414 - }, 13415 - "Users": { 13416 - "ocid": 1845775, 13417 - "uuid": { 13418 - "type": { 13419 - "name": "uuid" 13420 - }, 13421 - "uuid": "a1425a04-4c0c-4790-bcd6-425bc7729fd7", 13422 - "version": 4 13423 - }, 13424 - "blacklisted": null, 13425 - "demo": { 13426 - "1": "rayaan@one-count.com", 13427 - "2": "user_1701788987", 13428 - "3": "5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5" 13429 - }, 13430 - "email": "rayaan@one-count.com", 13431 - "espid": null, 13432 - "known": { 13433 - "type": { 13434 - "name": "smallint" 13435 - }, 13436 - "value": "1" 13437 - }, 13438 - "ocid_hash": "57b81cf5536171c84e6e8a0b762251ee7819737b2e95f1390fed97acc11a277b", 13439 - "partners_hash": null, 13440 - "password": "5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5", 13441 - "payment_cc_exp": null, 13442 - "payment_vendor_token": null, 13443 - "products": { 13444 - "599": "447" 13445 - }, 13446 - "remarks": null, 13447 - "resources": null, 13448 - "smartlink_hash": null, 13449 - "subscription_active_resource_info": null, 13450 - "subscription_active_term_info": { 13451 - "447": "{\"renewed\":1,\"expiration_month\":202512,\"product_status\":\"2\",\"expiration_date\":20251211}" 13452 - }, 13453 - "subscription_log": { 13454 - "type": { 13455 - "valueType": { 13456 - "name": "varchar" 13457 - } 13458 - }, 13459 - "values": [ 13460 - "{\"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\"}", 13461 - "{\"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\"}", 13462 - "{\"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\"}" 13463 - ] 13464 - }, 13465 - "subscription_log_by_resource": null, 13466 - "subscription_source_code": [ 13467 - "83" 13468 - ], 13469 - "targets": null, 13470 - "timestamp": { 13471 - "type": { 13472 - "name": "bigint" 13473 - }, 13474 - "value": "1701788987" 13475 - }, 13476 - "unconfirmed": null, 13477 - "update_time": null, 13478 - "username": "user_1701788987", 13479 - "vendor_blacklisted": null, 13480 - "vendor_esp": null, 13481 - "vendor_unconfirmed": null 13482 - } 13483 -} 13484 -{{/code}} 13485 - 13486 - 13487 -(% id="HCOMPONENT:Segments" class="western" %) 13488 -=== **COMPONENT: Segments** === 13489 - 13490 -* 13491 -** === 13492 - 13493 13493 (% class="western" %) 13494 -This resource is for manipulating segmentforaresource. Asegmentcanbesearched (or)addusersto segment (or) getall segmentfora user.3267 +This resource is for manipulating transactions resource. A transaction can be created or searched. 13495 13495 13496 -|(% style="text-align:left; 3269 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 13497 13497 ((( 13498 13498 (% class="western" %) 13499 13499 **Method** 13500 -)))|(% style="text-align:left; 3273 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 13501 13501 ((( 13502 13502 (% class="western" %) 13503 13503 **Url** 13504 -)))|(% style="text-align:left; 3277 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 13505 13505 ((( 13506 13506 (% class="western" %) 13507 13507 **Action** 13508 13508 ))) 13509 -|(% style="text-align:left; 3282 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 13510 13510 ((( 13511 13511 (% class="western" %) 13512 13512 GET 13513 -)))|(% style="text-align:left; 3286 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 13514 13514 ((( 13515 13515 (% class="western" %) 13516 -/ (% style="color:#212121" %)segments13517 -)))|(% style="text-align:left; 3289 +/transactions 3290 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 13518 13518 ((( 13519 13519 (% class="western" %) 13520 - Get allsegments.3293 +List all transactions 13521 13521 ))) 13522 -|(% style="text-align:left; 3295 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 13523 13523 ((( 13524 13524 (% class="western" %) 13525 13525 GET 13526 -)))|(% style="text-align:left; 3299 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 13527 13527 ((( 13528 13528 (% class="western" %) 13529 -/ (% style="color:#212121" %)segments(%%)/(% class="resolvedVariable" style="text-decoration:none" %)~{~{Segment id}}13530 -)))|(% style="text-align:left; 3302 +/transactions/lookup?UserId=1 3303 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 13531 13531 ((( 13532 13532 (% class="western" %) 13533 - Get specificsegmentbasedon segment id.3306 +Lookup all transaction of UserId = 1 13534 13534 ))) 13535 -|(% style="text-align:left; 3308 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 13536 13536 ((( 13537 13537 (% class="western" %) 13538 13538 POST 13539 -)))|(% style="text-align:left; 3312 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 13540 13540 ((( 13541 13541 (% class="western" %) 13542 -/ (% style="color:#212121" %)segments/addUsers13543 -)))|(% style="text-align:left; 3315 +/transactions 3316 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 13544 13544 ((( 13545 13545 (% class="western" %) 13546 - Addusers to segment.3319 +JSON of the Transactions type object needs to be sent as post data. Id field should not be sent. 13547 13547 ))) 13548 -|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 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;" %) 13549 13549 ((( 13550 13550 (% class="western" %) 13551 - GET13552 -)))|(% style="text-align:left; 3333 +**Request** 3334 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 13553 13553 ((( 13554 13554 (% class="western" %) 13555 - /(% style="color:#212121" %)segments/users/(% class="resolvedVariable" style="text-decoration:none" %)~{~{ocid}}13556 -)))|(% style="text-align:left; 3337 +**Type** 3338 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 13557 13557 ((( 13558 13558 (% class="western" %) 13559 - Get allsegment user has be subscribed basedonuser id.3341 +**Description** 13560 13560 ))) 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. 13561 13561 13562 -(% id="HGETAllSegments" style="margin-left: 0.0px;"class="sc-fznLPX cxTVKx" %)13563 - == (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)All Segments(%%) ==3356 +(% class="western" %) 3357 +Params: 13564 13564 13565 ----- 3359 +(% class="western" %) 3360 +UserId: Id of the user whose transaction is to be looked up (Int) 13566 13566 13567 ----- 3362 +(% class="western" %) 3363 +StartDate: Date from which the start should happen. Only valid when UserId is set. (Date) 13568 13568 13569 - {{panelbgColor="#D3D3D3"width="100%"}}13570 - (% class="nolinknolink"%)https:~/~/api.onecount.net/v2(%class="nolink"style="color:#212121"%)/segments13571 - {{/panel}}3365 +(% class="western" %) 3366 +EndDate: When the search should end. Only valid when UserId is set. (Date) 3367 +))) 13572 13572 13573 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 3369 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3370 +((( 3371 +(% class="western" %) 3372 +**Response** 3373 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3374 +((( 3375 +(% class="western" %) 3376 +**Type** 3377 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3378 +((( 3379 +(% class="western" %) 3380 +**Description** 3381 +))) 3382 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3383 +((( 3384 +(% class="western" %) 3385 +Transactions 3386 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3387 +((( 3388 +(% class="western" %) 3389 +Transactions 3390 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 3391 +((( 3392 +(% class="western" %) 3393 +Returns all transaction that satisfies the search criteria. Returns all the package and product transactions of the user. Package Transactions are the one with TermId and ProductId. Product Transactions are the one with ResourceId. 3394 +))) 13574 13574 13575 - ----3396 +\\ 13576 13576 13577 - (% class="Text__TextContainer-sc-1kqigik-0 cEvDCP iauueYitem-key sc-fznXWL"style="color:#212121"%)Appkey(%class="Text__TextContainer-sc-1kqigik-0 iYynAw"style="color:#212121"%)~{~{ONECOUNT API KEY}}3398 +**Sample response for /(% style="color: rgb(80,80,80);" %)transactions/lookup?UserId=25255105:(%%)** 13578 13578 13579 -==== Example ==== 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 +))) 13580 13580 13581 - ----3408 +\\ 13582 13582 13583 -(% style="color:#6b6b6b" %)Request 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. 13584 13584 13585 -{{code language="php" theme="RDark" title="Get All Segments Request"}} 13586 -<?php 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 +))) 13587 13587 13588 -$curl = curl_init(); 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 +))) 13589 13589 13590 -curl_setopt_array($curl, array( 13591 - CURLOPT_URL => 'https://api.onecount.net/v2/segments', 13592 - CURLOPT_RETURNTRANSFER => true, 13593 - CURLOPT_ENCODING => '', 13594 - CURLOPT_MAXREDIRS => 10, 13595 - CURLOPT_TIMEOUT => 0, 13596 - CURLOPT_FOLLOWLOCATION => true, 13597 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 13598 - CURLOPT_CUSTOMREQUEST => 'GET', 13599 - CURLOPT_HTTPHEADER => array( 13600 - 'Appkey: {{ONECOUNT API KEY}}' 13601 - ), 13602 -)); 3467 +\\ 13603 13603 13604 - $response = curl_exec($curl);3469 +\\ 13605 13605 13606 -c url_close($curl);13607 - echo$response;13608 - {{/code}}3471 +(% class="western" %) 3472 +**COMPONENT: Leads 3473 +** 13609 13609 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. 13610 13610 13611 -(% style="color:#6b6b6b" %)Response 200 OK 3478 +(% class="western" %) 3479 +\\ 13612 13612 13613 -{{code language="yml" theme="RDark" collapse="true" title="Get All Segments Response"}} 13614 - { 13615 - "result": { 13616 - "success": "1", 13617 - "error": { 13618 - "code": "", 13619 - "message": "" 13620 - } 13621 - }, 13622 - "Segments": [ 13623 - { 13624 - "Id": "891aa4b6-9e0e-4706-b08a-e7acb54e7e43", 13625 - "Name": "2022 Use Cases PDF Download" 13626 - }, 13627 - { 13628 - "Id": "a639cb1f-6509-447b-a1d7-93a8e8ef61b1", 13629 - "Name": "58-percent conversion-rate" 13630 - }, 13631 - { 13632 - "Id": "43eefdc6-89ab-4472-88c3-e16fb9619138", 13633 - "Name": "Audience Marketing Pop-Up" 13634 - }, 13635 - { 13636 - "Id": "68219b37-c155-4459-a5ce-497261286ffe", 13637 - "Name": "Bold Minds Reminders" 13638 - }, 13639 - { 13640 - "Id": "6450defc-7658-4182-9c2a-a8f8420f801e", 13641 - "Name": "Demo - Aviator's Guide - NL Popup" 13642 - }, 13643 - { 13644 - "Id": "28774f7c-9fd3-4dff-a42e-683460f437c0", 13645 - "Name": "Getting 80-Percent Conversion Rates Pop-up" 13646 - }, 13647 - { 13648 - "Id": "71b655e6-a11a-46af-bed5-b9eb1d6ac3aa", 13649 - "Name": "Holiday Special Offer - 3 mo. Pilot" 13650 - }, 13651 - { 13652 - "Id": "16305ad0-8e65-4085-942e-04d99fd39207", 13653 - "Name": "Identity Resolution Test II" 13654 - }, 13655 - { 13656 - "Id": "fcdfa9cb-baa2-4cc8-86b3-8f604471f2f3", 13657 - "Name": "Live ONEcount Popup Example Segment" 13658 - }, 13659 - { 13660 - "Id": "2463b0a3-1e22-4fd0-97b2-bbdae30e585a", 13661 - "Name": "Live webinar - June 15 - Accelerate Revenue" 13662 - }, 13663 - { 13664 - "Id": "d8d1bc9d-ede2-4c82-a747-10ab9fb979de", 13665 - "Name": "LIVE WEBINAR ONEcount BI Pop-up Campaign" 13666 - }, 13667 - { 13668 - "Id": "d883ecdb-5307-416d-9558-c196472021c9", 13669 - "Name": "New Year - Increase Revenue 30-Percent" 13670 - }, 13671 - { 13672 - "Id": "08abbc5b-aafe-4834-90f5-ac45fe025d73", 13673 - "Name": "OC Test" 13674 - }, 13675 - { 13676 - "Id": "24cf72e9-ad71-489c-89ef-b80d0c42e2e2", 13677 - "Name": "Something big" 13678 - }, 13679 - { 13680 - "Id": "0d37c79e-deb2-4287-9444-ae4812a9d8f0", 13681 - "Name": "Something No Other Platform Has" 13682 - }, 13683 - { 13684 - "Id": "5eaa0345-a825-4ba0-a787-336312a77744", 13685 - "Name": "Something Revolutionary" 13686 - }, 13687 - { 13688 - "Id": "c905d313-8d5e-45c1-aaab-7f8c8adc2bea", 13689 - "Name": "Something that will change your life" 13690 - }, 13691 - { 13692 - "Id": "1bfb1c06-4b26-4ac3-a616-eb6b225e5f0e", 13693 - "Name": "Something You Have Always Wanted" 13694 - }, 13695 - { 13696 - "Id": "28361c73-e253-49bb-a791-5481be2070a0", 13697 - "Name": "Something You Never Thought Possible" 13698 - }, 13699 - { 13700 - "Id": "86e7129a-a538-4c56-a731-7e9c08fa8814", 13701 - "Name": "Test behaviour " 13702 - }, 13703 - { 13704 - "Id": "e5e53cd4-bbd0-465b-b426-e267964fd0b4", 13705 - "Name": "Test behaviour banner segment" 13706 - }, 13707 - { 13708 - "Id": "78ffd6d7-0b40-4e5a-8f32-622a04fb5561", 13709 - "Name": "Test behaviour combo" 13710 - }, 13711 - { 13712 - "Id": "0022394d-7901-4aff-98c2-0c8c04fcb27a", 13713 - "Name": "Test behaviour content" 13714 - }, 13715 - { 13716 - "Id": "89424642-1363-476e-9842-4f0a2544151f", 13717 - "Name": "Test behaviour email" 13718 - }, 13719 - { 13720 - "Id": "ca848e53-3f3e-43c6-ae61-f331f3135c6c", 13721 - "Name": "Test demographic segments" 13722 - }, 13723 - { 13724 - "Id": "e11d11fa-7603-4dee-a361-c6e909249ecd", 13725 - "Name": "Test with unknown only selecting all filters" 13726 - } 13727 - ] 13728 -} 13729 -{{/code}} 3481 +(% class="western" %) 3482 +\\ 13730 13730 3484 +(% class="western" %) 3485 +\\ 13731 13731 13732 -(% id="HGETspecificSegments" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %)13733 - == (% class="imuBmi sc-fzoaKM" style="color:#007f31" %)GET (% class="documentation-core-item-request-name jbmEtY sc-fzomuh" style="color:#212121" %)specific Segments(%%) ==3487 +(% class="western" %) 3488 +\\ 13734 13734 13735 ----- 3490 +(% class="western" %) 3491 +\\ 13736 13736 13737 -{{panel bgColor="#D3D3D3" width="100%"}} 13738 - (% class="nolink nolink" %)https:~/~/api.onecount.net/v2(% class="nolink" style="color:#212121" %)/segments/~{~{segment id}} 13739 -{{/panel}} 13740 - 13741 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 13742 - 13743 ----- 13744 - 13745 -(% 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}} 13746 - 13747 -==== Example ==== 13748 - 13749 ----- 13750 - 13751 -(% style="color:#6b6b6b" %)Request 13752 - 13753 -{{code language="php" theme="RDark" title="Get specific Segment Request"}} 13754 - <?php 13755 - 13756 -$curl = curl_init(); 13757 - 13758 -curl_setopt_array($curl, array( 13759 - CURLOPT_URL => 'https://api.onecount.net/v2/segments/{{segment id}}', 13760 - CURLOPT_RETURNTRANSFER => true, 13761 - CURLOPT_ENCODING => '', 13762 - CURLOPT_MAXREDIRS => 10, 13763 - CURLOPT_TIMEOUT => 0, 13764 - CURLOPT_FOLLOWLOCATION => true, 13765 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 13766 - CURLOPT_CUSTOMREQUEST => 'GET', 13767 - CURLOPT_HTTPHEADER => array( 13768 - 'Appkey: {{ONECOUNT API KEY}}' 13769 - ), 13770 -)); 13771 - 13772 -$response = curl_exec($curl); 13773 - 13774 -curl_close($curl); 13775 -echo $response; 13776 -{{/code}} 13777 - 13778 - 13779 -(% style="color:#6b6b6b" %)Response 200 OK 13780 - 13781 -{{code language="yml" theme="RDark" collapse="true" title="Get specific Segments Response"}} 13782 - { 13783 - "result": { 13784 - "success": "1", 13785 - "error": { 13786 - "code": "", 13787 - "message": "" 13788 - } 13789 - }, 13790 - "Segments": { 13791 - "Id": "e5e53cd4-bbd0-465b-b426-e267964fd0b4", 13792 - "Demos": { 13793 - "_empty_": [], 13794 - "type": "" 13795 - }, 13796 - "Description": "", 13797 - "Action": { 13798 - "action": {} 13799 - }, 13800 - "Name": "Test behaviour banner segment", 13801 - "Behaviours": [ 13802 - { 13803 - "end_date": "05/26/2022", 13804 - "date_type": "Future", 13805 - "sub_category_values": [], 13806 - "sub_category": "clicked", 13807 - "category": "1", 13808 - "targets": [ 13809 - "all" 13810 - ], 13811 - "joining_logic": "AND", 13812 - "frequency": "1", 13813 - "start_date": "04/26/2022", 13814 - "day_count": "100" 13815 - } 13816 - ], 13817 - "Accounts": [] 13818 - } 13819 -} 13820 -{{/code}} 13821 - 13822 - 13823 -(% id="HPOSTAdduserstosegments" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 13824 -== (% 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(%%) == 13825 - 13826 ----- 13827 - 13828 -{{panel bgColor="#D3D3D3" width="100%"}} 13829 -(% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/segments/addUsers 13830 -{{/panel}} 13831 - 13832 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 13833 - 13834 ----- 13835 - 13836 -(% 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}} 13837 - 13838 -=== (% style="color:#212121" %)Body (% style="color:#6b6b6b" %)raw (json)(%%) === 13839 - 13840 ----- 13841 - 13842 -{{code language="yml" theme="RDark" title="Body"}} 13843 -{"Id":"78ffd6d7-0b40-4e5a-8f32-622a04fb5561","Users":[164499,676172,2134321]} 13844 -{{/code}} 13845 - 13846 -==== Example ==== 13847 - 13848 ----- 13849 - 13850 -(% style="color:#6b6b6b" %)Request 13851 - 13852 -{{code language="php" theme="RDark" title="Add users to Segment Request"}} 13853 -<?php 13854 - 13855 -$curl = curl_init(); 13856 - 13857 -curl_setopt_array($curl, array( 13858 - CURLOPT_URL => 'https://api.onecount.net/v2/segments/addUsers', 13859 - CURLOPT_RETURNTRANSFER => true, 13860 - CURLOPT_ENCODING => '', 13861 - CURLOPT_MAXREDIRS => 10, 13862 - CURLOPT_TIMEOUT => 0, 13863 - CURLOPT_FOLLOWLOCATION => true, 13864 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 13865 - CURLOPT_CUSTOMREQUEST => 'POST', 13866 - CURLOPT_POSTFIELDS =>'{"Id":"78ffd6d7-0b40-4e5a-8f32-622a04fb5561","Users":[164499,676172,2134321]}', 13867 - CURLOPT_HTTPHEADER => array( 13868 - 'Appkey: {{ONECOUNT API KEY}}', 13869 - 'Content-Type: application/json' 13870 - ), 13871 -)); 13872 - 13873 -$response = curl_exec($curl); 13874 - 13875 -curl_close($curl); 13876 -echo $response; 13877 -{{/code}} 13878 - 13879 - 13880 -(% style="color:#6b6b6b" %)Response 200 OK 13881 - 13882 -{{code language="yml" theme="RDark" collapse="true" title="Add users to segment Response"}} 13883 -{ 13884 - "result": { 13885 - "success": "1", 13886 - "error": { 13887 - "code": "", 13888 - "message": "" 13889 - } 13890 - }, 13891 - "Segments": { 13892 - "Error user ids": [ 13893 - 676172, 13894 - 2134321 13895 - ], 13896 - "Inserted user ids": [ 13897 - 164499 13898 - ] 13899 - } 13900 -} 13901 -{{/code}} 13902 - 13903 - 13904 -(% id="HGETallsegmentsforaUser" style="margin-left: 0.0px;" class="sc-fznLPX cxTVKx" %) 13905 -== (% 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(%%) == 13906 - 13907 ----- 13908 - 13909 -{{panel bgColor="#D3D3D3" width="100%"}} 13910 - (% class="nolink" %)https:~/~/api.onecount.net/v2(% style="color:#212121" %)/segments/users/(% class="nolink resolvedVariable" style="text-decoration:none" %)~{~{ocid}} 13911 -{{/panel}} 13912 - 13913 -=== (% class="core-title" style="color:#212121" %)Request Headers(%%) === 13914 - 13915 ----- 13916 - 13917 -(% 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}} 13918 - 13919 -==== Example ==== 13920 - 13921 ----- 13922 - 13923 -(% style="color:#6b6b6b" %)Request 13924 - 13925 -{{code language="php" theme="RDark" title="Get all segments for a user Request"}} 13926 -<?php 13927 - 13928 -$curl = curl_init(); 13929 - 13930 -curl_setopt_array($curl, array( 13931 - CURLOPT_URL => 'rayaan.onecount.net/api/v2/segments/users/••••••', 13932 - CURLOPT_RETURNTRANSFER => true, 13933 - CURLOPT_ENCODING => '', 13934 - CURLOPT_MAXREDIRS => 10, 13935 - CURLOPT_TIMEOUT => 0, 13936 - CURLOPT_FOLLOWLOCATION => true, 13937 - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 13938 - CURLOPT_CUSTOMREQUEST => 'GET', 13939 - CURLOPT_HTTPHEADER => array( 13940 - 'Appkey: {{ONECOUNT API KEY}}' 13941 - ), 13942 -)); 13943 - 13944 -$response = curl_exec($curl); 13945 - 13946 -curl_close($curl); 13947 -echo $response; 13948 -{{/code}} 13949 - 13950 - 13951 -(% style="color:#6b6b6b" %)Response 200 OK 13952 - 13953 -{{code language="yml" theme="RDark" collapse="true" title="Get all Segments for a user Response"}} 13954 -{ 13955 - "result": { 13956 - "success": "1", 13957 - "error": { 13958 - "code": "", 13959 - "message": "" 13960 - } 13961 - }, 13962 - "Segments": [ 13963 - "0d37c79e-deb2-4287-9444-ae4812a9d8f0", 13964 - "1bfb1c06-4b26-4ac3-a616-eb6b225e5f0e", 13965 - "24cf72e9-ad71-489c-89ef-b80d0c42e2e2", 13966 - "28361c73-e253-49bb-a791-5481be2070a0", 13967 - "28774f7c-9fd3-4dff-a42e-683460f437c0", 13968 - "5eaa0345-a825-4ba0-a787-336312a77744", 13969 - "71b655e6-a11a-46af-bed5-b9eb1d6ac3aa", 13970 - "a639cb1f-6509-447b-a1d7-93a8e8ef61b1", 13971 - "bcb403a2-c0a1-414f-90c1-277a41009c97", 13972 - "c905d313-8d5e-45c1-aaab-7f8c8adc2bea", 13973 - "d883ecdb-5307-416d-9558-c196472021c9", 13974 - "d8d1bc9d-ede2-4c82-a747-10ab9fb979de" 13975 - ] 13976 -} 13977 -{{/code}} 13978 - 13979 - 13980 -(% id="HCOMPONENT:Leads" class="western" %) 13981 -=== **COMPONENT: Leads** === 13982 - 13983 -* 13984 -** === 13985 - 13986 13986 (% class="western" %) 13987 -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. 3494 +**Telemarketing Leads 3495 +** 13988 13988 13989 13989 (% class="western" %) 13990 -**Telemarketing Leads** 13991 13991 13992 - 13993 13993 This resource is for manipulating telemarketing stat resource. A telemarketing stat can be created or listed. 13994 13994 13995 -(% class="wrapped" %) 13996 -|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3501 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 13997 13997 ((( 13998 13998 (% class="western" %) 13999 13999 **Method** 14000 -)))|(% style="text-align:left; 3505 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14001 14001 ((( 14002 14002 (% class="western" %) 14003 14003 **Url** 14004 -)))|(% style="text-align:left; 3509 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14005 14005 ((( 14006 14006 (% class="western" %) 14007 14007 **Action** 14008 14008 ))) 14009 -|(% style="text-align:left; 3514 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14010 14010 ((( 14011 14011 (% class="western" %) 14012 14012 GET 14013 -)))|(% style="text-align:left; 3518 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14014 14014 ((( 14015 14015 (% class="western" %) 14016 14016 /stats/telemarketing 14017 -)))|(% style="text-align:left; 3522 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14018 14018 ((( 14019 14019 (% class="western" %) 14020 14020 List telemarketing stats 14021 14021 ))) 14022 -|(% style="text-align:left; 3527 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14023 14023 ((( 14024 14024 (% class="western" %) 14025 14025 GET 14026 -)))|(% style="text-align:left; 3531 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14027 14027 ((( 14028 14028 (% class="western" %) 14029 14029 /stats/telemarketing/1000 14030 -)))|(% style="text-align:left; 3535 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14031 14031 ((( 14032 14032 (% class="western" %) 14033 14033 Get telemarketing stat whose id is 1000 in the system. 14034 14034 ))) 14035 -|(% style="text-align:left; 3540 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14036 14036 ((( 14037 14037 (% class="western" %) 14038 14038 POST 14039 -)))|(% style="text-align:left; 3544 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14040 14040 ((( 14041 14041 (% class="western" %) 14042 14042 /stats/telemarketing 14043 -)))|(% style="text-align:left; 3548 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14044 14044 ((( 14045 14045 (% class="western" %) 14046 14046 JSON of the Telemarketing type object needs to be sent as post data. Id field should not be sent. 14047 14047 ))) 14048 14048 3554 +\\ 3555 + 14049 14049 (% class="western" %) 14050 14050 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. 14051 14051 14052 -(% class="wrapped" %) 14053 -|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3559 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14054 14054 ((( 14055 14055 (% class="western" %) 14056 14056 **Request** 14057 -)))|(% style="text-align:left; 3563 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14058 14058 ((( 14059 14059 (% class="western" %) 14060 14060 **Type** 14061 -)))|(% style="text-align:left; 3567 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14062 14062 ((( 14063 14063 (% class="western" %) 14064 14064 **Description** 14065 14065 ))) 14066 -|(% style="text-align:left; 3572 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14067 14067 ((( 14068 14068 (% class="western" %) 14069 14069 Telemarketing 14070 -)))|(% style="text-align:left; 3576 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14071 14071 ((( 14072 14072 (% class="western" %) 14073 14073 Telemarketing 14074 -)))|(% style="text-align:left; 3580 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14075 14075 ((( 14076 14076 (% class="western" %) 14077 14077 Contains fields that define a telemarketing stat. Id field should not be set. Refer to telemarketing object in references section. ... ... @@ -14104,7 +14104,7 @@ 14104 14104 "ResourceId":"250", 14105 14105 14106 14106 (% class="western" %) 14107 -"PageUrl": "[[http:~~/~~/www.one-count.com/detail/a.php>>url:http://www.one-count.com/detail/a.php||rel="nofollow" shape="rect" class="external-link"]]", 3613 +"PageUrl": "[[http:~~/~~/www.one-count.com/detail/a.php>>url:http://www.one-count.com/detail/a.php||style="" rel="nofollow" shape="rect" class="external-link"]]", 14108 14108 14109 14109 (% class="western" %) 14110 14110 "PageTitle":"tests" ... ... @@ -14118,48 +14118,57 @@ 14118 14118 (% class="western" %) 14119 14119 } 14120 14120 ))) 14121 -|(% style="text-align:left; 3627 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14122 14122 ((( 14123 14123 (% class="western" %) 14124 - 14125 -)))|(% style="text-align:left; 3630 +\\ 3631 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14126 14126 ((( 14127 14127 (% class="western" %) 14128 - 14129 -)))|(% style="text-align:left; 3634 +\\ 3635 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14130 14130 ((( 14131 14131 (% class="western" %) 14132 - 3638 +\\ 14133 14133 ))) 14134 14134 14135 -(% class="wrapped" %) 14136 -|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3641 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14137 14137 ((( 14138 14138 (% class="western" %) 14139 14139 **Response** 14140 -)))|(% style="text-align:left; 3645 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14141 14141 ((( 14142 14142 (% class="western" %) 14143 14143 **Type** 14144 -)))|(% style="text-align:left; 3649 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14145 14145 ((( 14146 14146 (% class="western" %) 14147 14147 **Description** 14148 14148 ))) 14149 -|(% style="text-align:left; 3654 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14150 14150 ((( 14151 14151 (% class="western" %) 14152 14152 Ids 14153 -)))|(% style="text-align:left; 3658 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14154 14154 ((( 14155 14155 (% class="western" %) 14156 14156 String 14157 -)))|(% style="text-align:left; 3662 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14158 14158 ((( 14159 14159 (% class="western" %) 14160 14160 Returns telemarketing ids of the newly created transaction. If multiple stats are sent, multiple ids are returned in cvs format. 14161 14161 ))) 14162 14162 3668 +\\ 3669 + 3670 +\\ 3671 + 3672 +\\ 3673 + 3674 +\\ 3675 + 3676 +\\ 3677 + 14163 14163 (% class="western" %) 14164 14164 **API REFERENCE** 14165 14165 ... ... @@ -14166,55 +14166,54 @@ 14166 14166 (% class="western" %) 14167 14167 **Type: Questions** 14168 14168 14169 -(% class="wrapped" %) 14170 -|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3684 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14171 14171 ((( 14172 14172 (% class="western" %) 14173 14173 **Property Name** 14174 -)))|(% style="text-align:left; 3688 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14175 14175 ((( 14176 14176 (% class="western" %) 14177 14177 **Type** 14178 -)))|(% style="text-align:left; 3692 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14179 14179 ((( 14180 14180 (% class="western" %) 14181 14181 **Description** 14182 14182 ))) 14183 -|(% style="text-align:left; 3697 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14184 14184 ((( 14185 14185 (% class="western" %) 14186 14186 Id 14187 -)))|(% style="text-align:left; 3701 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14188 14188 ((( 14189 14189 (% class="western" %) 14190 14190 Int 14191 -)))|(% style="text-align:left; 3705 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14192 14192 ((( 14193 14193 (% class="western" %) 14194 14194 Id of the question. 14195 14195 ))) 14196 -|(% style="text-align:left; 3710 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14197 14197 ((( 14198 14198 (% class="western" %) 14199 14199 Text 14200 -)))|(% style="text-align:left; 3714 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14201 14201 ((( 14202 14202 (% class="western" %) 14203 14203 String 14204 -)))|(% style="text-align:left; 3718 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14205 14205 ((( 14206 14206 (% class="western" %) 14207 14207 Text of the question. 14208 14208 ))) 14209 -|(% style="text-align:left; 3723 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14210 14210 ((( 14211 14211 (% class="western" %) 14212 14212 Type 14213 -)))|(% style="text-align:left; 3727 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14214 14214 ((( 14215 14215 (% class="western" %) 14216 14216 Int 14217 -)))|(% style="text-align:left; 3731 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14218 14218 ((( 14219 14219 (% class="western" %) 14220 14220 Determines which type of question it is. Textbox, checkbox, select, radio. ... ... @@ -14226,496 +14226,504 @@ 14226 14226 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. 14227 14227 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. 14228 14228 ))) 14229 -|(% style="text-align:left; 3743 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14230 14230 ((( 14231 14231 (% class="western" %) 14232 14232 Choices 14233 -)))|(% style="text-align:left; 3747 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14234 14234 ((( 14235 14235 (% class="western" %) 14236 14236 choices 14237 -)))|(% style="text-align:left; 3751 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14238 14238 ((( 14239 14239 (% class="western" %) 14240 14240 If multiple choice question this field will have the choices. 14241 14241 ))) 14242 -|(% style="text-align:left; 3756 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14243 14243 ((( 14244 14244 (% class="western" %) 14245 14245 Alias 14246 -)))|(% style="text-align:left; 3760 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14247 14247 ((( 14248 14248 (% class="western" %) 14249 14249 String 14250 -)))|(% style="text-align:left; 3764 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14251 14251 ((( 14252 14252 (% class="western" %) 14253 14253 Alias for admin purpose. 14254 14254 ))) 14255 14255 3770 +(% class="western" %) 3771 +\\ 14256 14256 14257 14257 (% class="western" %) 3774 +\\ 3775 + 3776 +(% class="western" %) 14258 14258 **Type: Choices** 14259 14259 14260 -(% class="wrapped" %) 14261 -|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3779 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14262 14262 ((( 14263 14263 (% class="western" %) 14264 14264 **Property Name** 14265 -)))|(% style="text-align:left; 3783 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14266 14266 ((( 14267 14267 (% class="western" %) 14268 14268 **Type** 14269 -)))|(% style="text-align:left; 3787 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14270 14270 ((( 14271 14271 (% class="western" %) 14272 14272 **Description** 14273 14273 ))) 14274 -|(% style="text-align:left; 3792 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14275 14275 ((( 14276 14276 (% class="western" %) 14277 14277 Id 14278 -)))|(% style="text-align:left; 3796 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14279 14279 ((( 14280 14280 (% class="western" %) 14281 14281 int 14282 -)))|(% style="text-align:left; 3800 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14283 14283 ((( 14284 14284 (% class="western" %) 14285 14285 Id of the choice. 14286 14286 ))) 14287 -|(% style="text-align:left; 3805 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14288 14288 ((( 14289 14289 (% class="western" %) 14290 14290 Text 14291 -)))|(% style="text-align:left; 3809 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14292 14292 ((( 14293 14293 (% class="western" %) 14294 14294 string 14295 -)))|(% style="text-align:left; 3813 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14296 14296 ((( 14297 14297 (% class="western" %) 14298 14298 Display text of choice. 14299 14299 ))) 14300 -|(% style="text-align:left; 3818 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14301 14301 ((( 14302 14302 (% class="western" %) 14303 14303 Value 14304 -)))|(% style="text-align:left; 3822 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14305 14305 ((( 14306 14306 (% class="western" %) 14307 14307 String 14308 -)))|(% style="text-align:left; 3826 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14309 14309 ((( 14310 14310 (% class="western" %) 14311 14311 Value stored in db. 14312 14312 ))) 14313 -|(% style="text-align:left; 3831 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14314 14314 ((( 14315 14315 (% class="western" %) 14316 14316 Order 14317 -)))|(% style="text-align:left; 3835 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14318 14318 ((( 14319 14319 (% class="western" %) 14320 14320 Int 14321 -)))|(% style="text-align:left; 3839 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14322 14322 ((( 14323 14323 (% class="western" %) 14324 14324 Display order. 14325 14325 ))) 14326 -|(% style="text-align:left; 3844 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14327 14327 ((( 14328 14328 (% class="western" %) 14329 14329 QuestionId 14330 -)))|(% style="text-align:left; 3848 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14331 14331 ((( 14332 14332 (% class="western" %) 14333 14333 Int 14334 -)))|(% style="text-align:left; 3852 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14335 14335 ((( 14336 14336 (% class="western" %) 14337 14337 Tied to which question id. 14338 14338 ))) 14339 14339 3858 +\\ 3859 + 14340 14340 (% class="western" %) 14341 14341 **Type: Users** 14342 14342 14343 -(% class="wrapped" %) 14344 -|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3863 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14345 14345 ((( 14346 14346 (% class="western" %) 14347 14347 **Property Name** 14348 -)))|(% style="text-align:left; 3867 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14349 14349 ((( 14350 14350 (% class="western" %) 14351 14351 **Type** 14352 -)))|(% style="text-align:left; 3871 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14353 14353 ((( 14354 14354 (% class="western" %) 14355 14355 **Description** 14356 14356 ))) 14357 -|(% style="text-align:left; 3876 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14358 14358 ((( 14359 14359 (% class="western" %) 14360 14360 Id 14361 -)))|(% style="text-align:left; 3880 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14362 14362 ((( 14363 14363 (% class="western" %) 14364 14364 Int 14365 -)))|(% style="text-align:left; 3884 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14366 14366 ((( 14367 14367 (% class="western" %) 14368 14368 ID of the user in ONEcount. 14369 14369 ))) 14370 -|(% style="text-align:left; 3889 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14371 14371 ((( 14372 14372 (% class="western" %) 14373 14373 PartnerId 14374 -)))|(% style="text-align:left; 3893 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14375 14375 ((( 14376 14376 (% class="western" %) 14377 14377 Int 14378 -)))|(% style="text-align:left; 3897 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14379 14379 ((( 14380 14380 (% class="western" %) 14381 14381 ID of the user in partners system (e.g. id of your system). 14382 14382 ))) 14383 -|(% style="text-align:left; 3902 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14384 14384 ((( 14385 14385 (% class="western" %) 14386 14386 Demo 14387 -)))|(% style="text-align:left; 3906 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14388 14388 ((( 14389 14389 (% class="western" %) 14390 14390 Demo 14391 -)))|(% style="text-align:left; 3910 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14392 14392 ((( 14393 14393 (% class="western" %) 14394 14394 Object of user's demo question ids and respective response values. 14395 14395 ))) 14396 -|(% style="text-align:left; 3915 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14397 14397 ((( 14398 14398 (% class="western" %) 14399 14399 RequestDate 14400 -)))|(% style="text-align:left; 3919 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14401 14401 ((( 14402 14402 (% class="western" %) 14403 14403 Date 14404 -)))|(% style="text-align:left; 3923 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14405 14405 ((( 14406 14406 (% class="western" %) 14407 14407 Request date. 14408 14408 ))) 14409 14409 3929 +\\ 3930 + 14410 14410 (% class="western" %) 14411 14411 **Type: Demo** 14412 14412 14413 -(% class="wrapped" %) 14414 -|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3934 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14415 14415 ((( 14416 14416 (% class="western" %) 14417 14417 **Property Name** 14418 -)))|(% style="text-align:left; 3938 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14419 14419 ((( 14420 14420 (% class="western" %) 14421 14421 **Type** 14422 -)))|(% style="text-align:left; 3942 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14423 14423 ((( 14424 14424 (% class="western" %) 14425 14425 **Description** 14426 14426 ))) 14427 -|(% style="text-align:left; 3947 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14428 14428 ((( 14429 14429 (% class="western" %) 14430 14430 QuestionId (e.g 6) 14431 -)))|(% style="text-align:left; 3951 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14432 14432 ((( 14433 14433 (% class="western" %) 14434 14434 String 14435 -)))|(% style="text-align:left; 3955 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14436 14436 ((( 14437 14437 (% class="western" %) 14438 14438 6 is the value of “Id” property of question resource(Text = “First Name”) 14439 14439 ))) 14440 -|(% style="text-align:left; 3960 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14441 14441 ((( 14442 14442 (% class="western" %) 14443 14443 QuestionId (e.g 7) 14444 -)))|(% style="text-align:left; 3964 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14445 14445 ((( 14446 14446 (% class="western" %) 14447 14447 String 14448 -)))|(% style="text-align:left; 3968 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14449 14449 ((( 14450 14450 (% class="western" %) 14451 14451 7 is the value of “Id” property of question resource(Text = “Last Name”) 14452 14452 ))) 14453 -|(% style="text-align:left; 3973 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14454 14454 ((( 14455 14455 (% class="western" %) 14456 14456 ... 14457 -)))|(% style="text-align:left; 3977 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14458 14458 ((( 14459 14459 (% class="western" %) 14460 14460 ... 14461 -)))|(% style="text-align:left; 3981 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14462 14462 ((( 14463 14463 (% class="western" %) 14464 14464 ... 14465 14465 ))) 14466 14466 3987 +\\ 3988 + 14467 14467 (% class="western" %) 14468 14468 **Type: Transactions** 14469 14469 14470 -(% class="wrapped" %) 14471 -|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 3992 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14472 14472 ((( 14473 14473 (% class="western" %) 14474 14474 **Property Name** 14475 -)))|(% style="text-align:left; 3996 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14476 14476 ((( 14477 14477 (% class="western" %) 14478 14478 **Type** 14479 -)))|(% style="text-align:left; 4000 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14480 14480 ((( 14481 14481 (% class="western" %) 14482 14482 **Description** 14483 14483 ))) 14484 -|(% style="text-align:left; 4005 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14485 14485 ((( 14486 14486 (% class="western" %) 14487 14487 Id 14488 -)))|(% style="text-align:left; 4009 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14489 14489 ((( 14490 14490 (% class="western" %) 14491 14491 Int 14492 -)))|(% style="text-align:left; 4013 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14493 14493 ((( 14494 14494 (% class="western" %) 14495 14495 ID of the transaction. 14496 14496 ))) 14497 -|(% style="text-align:left; 4018 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14498 14498 ((( 14499 14499 (% class="western" %) 14500 14500 UserId 14501 -)))|(% style="text-align:left; 4022 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14502 14502 ((( 14503 14503 (% class="western" %) 14504 14504 Int 14505 -)))|(% style="text-align:left; 4026 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14506 14506 ((( 14507 14507 (% class="western" %) 14508 14508 Id of user in ONEcount. 14509 14509 ))) 14510 -|(% style="text-align:left; 4031 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14511 14511 ((( 14512 14512 (% class="western" %) 14513 14513 TermId 14514 -)))|(% style="text-align:left; 4035 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14515 14515 ((( 14516 14516 (% class="western" %) 14517 14517 Int 14518 -)))|(% style="text-align:left; 4039 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14519 14519 ((( 14520 14520 (% class="western" %) 14521 14521 TermId in ONEcount. 14522 14522 ))) 14523 -|(% style="text-align:left; 4044 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14524 14524 ((( 14525 14525 (% class="western" %) 14526 14526 ProductStatus 14527 -)))|(% style="text-align:left; 4048 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14528 14528 ((( 14529 14529 (% class="western" %) 14530 14530 Int 14531 -)))|(% style="text-align:left; 4052 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14532 14532 ((( 14533 14533 (% class="western" %) 14534 14534 Status ID. 14535 14535 ))) 14536 -|(% style="text-align:left; 4057 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14537 14537 ((( 14538 14538 (% class="western" %) 14539 14539 SubscriptionType 14540 -)))|(% style="text-align:left; 4061 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14541 14541 ((( 14542 14542 (% class="western" %) 14543 14543 Char 14544 -)))|(% style="text-align:left; 4065 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14545 14545 ((( 14546 14546 (% class="western" %) 14547 14547 Can be n,r or u for new, renew or unsubscribe. 14548 14548 ))) 14549 -|(% style="text-align:left; 4070 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14550 14550 ((( 14551 14551 (% class="western" %) 14552 14552 TransactionDate 14553 -)))|(% style="text-align:left; 4074 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14554 14554 ((( 14555 14555 (% class="western" %) 14556 14556 Date 14557 -)))|(% style="text-align:left; 4078 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14558 14558 ((( 14559 14559 (% class="western" %) 14560 14560 Date when the transaction occurred. 14561 14561 ))) 14562 -|(% style="text-align:left; 4083 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14563 14563 ((( 14564 14564 (% class="western" %) 14565 14565 TransactionTime 14566 -)))|(% style="text-align:left; 4087 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14567 14567 ((( 14568 14568 (% class="western" %) 14569 14569 Time 14570 -)))|(% style="text-align:left; 4091 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14571 14571 ((( 14572 14572 (% class="western" %) 14573 14573 Time of transaction. 14574 14574 ))) 14575 -|(% style="text-align:left; 4096 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14576 14576 ((( 14577 14577 (% class="western" %) 14578 14578 RequestDate 14579 -)))|(% style="text-align:left; 4100 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14580 14580 ((( 14581 14581 (% class="western" %) 14582 14582 Date 14583 -)))|(% style="text-align:left; 4104 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14584 14584 ((( 14585 14585 (% class="western" %) 14586 14586 The effective request date for the transaction. 14587 14587 ))) 14588 -|(% style="text-align:left; 4109 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14589 14589 ((( 14590 14590 (% class="western" %) 14591 14591 UserIP 14592 -)))|(% style="text-align:left; 4113 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14593 14593 ((( 14594 14594 (% class="western" %) 14595 14595 String 14596 -)))|(% style="text-align:left; 4117 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14597 14597 ((( 14598 14598 (% class="western" %) 14599 14599 IP of the user. 14600 14600 ))) 14601 -|(% style="text-align:left; 4122 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14602 14602 ((( 14603 14603 (% class="western" %) 14604 14604 Source 14605 -)))|(% style="text-align:left; 4126 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14606 14606 ((( 14607 14607 (% class="western" %) 14608 14608 String 14609 -)))|(% style="text-align:left; 4130 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14610 14610 ((( 14611 14611 (% class="western" %) 14612 14612 The transaction needs to be tied to a source code this will define it. 14613 14613 ))) 14614 -|(% style="text-align:left; 4135 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14615 14615 ((( 14616 14616 (% class="western" %) 14617 14617 MediaFilePath 14618 -)))|(% style="text-align:left; 4139 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14619 14619 ((( 14620 14620 (% class="western" %) 14621 14621 String 14622 -)))|(% style="text-align:left; 4143 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14623 14623 ((( 14624 14624 (% class="western" %) 14625 14625 The url of media associated with that transaction. Eg image, audio. 14626 14626 ))) 14627 -|(% style="text-align:left; 4148 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14628 14628 ((( 14629 14629 (% class="western" %) 14630 14630 ExpireDate 14631 -)))|(% style="text-align:left; 4152 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14632 14632 ((( 14633 14633 (% class="western" %) 14634 14634 Date 14635 -)))|(% style="text-align:left; 4156 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14636 14636 ((( 14637 14637 (% class="western" %) 14638 14638 Date when the subscription expires. 14639 14639 ))) 14640 -|(% style="text-align:left; 4161 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14641 14641 ((( 14642 14642 (% class="western" %) 14643 14643 Amount 14644 -)))|(% style="text-align:left; 4165 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14645 14645 ((( 14646 14646 (% class="western" %) 14647 14647 Float 14648 -)))|(% style="text-align:left; 4169 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14649 14649 ((( 14650 14650 (% class="western" %) 14651 14651 If there is amount (USD) included in transaction. 14652 14652 ))) 14653 14653 4175 +\\ 4176 + 14654 14654 (% class="western" %) 14655 14655 **Type: Sources** 14656 14656 14657 -(% class="wrapped" %) 14658 -|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4180 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14659 14659 ((( 14660 14660 (% class="western" %) 14661 14661 **Property Name** 14662 -)))|(% style="text-align:left; 4184 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14663 14663 ((( 14664 14664 (% class="western" %) 14665 14665 **Type** 14666 -)))|(% style="text-align:left; 4188 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14667 14667 ((( 14668 14668 (% class="western" %) 14669 14669 **Description** 14670 14670 ))) 14671 -|(% style="text-align:left; 4193 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14672 14672 ((( 14673 14673 (% class="western" %) 14674 14674 Id 14675 -)))|(% style="text-align:left; 4197 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14676 14676 ((( 14677 14677 (% class="western" %) 14678 14678 Int 14679 -)))|(% style="text-align:left; 4201 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14680 14680 ((( 14681 14681 (% class="western" %) 14682 14682 Id of the source. 14683 14683 ))) 14684 -|(% style="text-align:left; 4206 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14685 14685 ((( 14686 14686 (% class="western" %) 14687 14687 Source 14688 -)))|(% style="text-align:left; 4210 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14689 14689 ((( 14690 14690 (% class="western" %) 14691 14691 String 14692 -)))|(% style="text-align:left; 4214 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14693 14693 ((( 14694 14694 (% class="western" %) 14695 14695 Value of the source. 14696 14696 ))) 14697 -|(% style="text-align:left; 4219 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14698 14698 ((( 14699 14699 (% class="western" %) 14700 14700 Description 14701 -)))|(% style="text-align:left; 4223 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14702 14702 ((( 14703 14703 (% class="western" %) 14704 14704 Text 14705 -)))|(% style="text-align:left; 4227 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14706 14706 ((( 14707 14707 (% class="western" %) 14708 14708 Description of the source. 14709 14709 ))) 14710 -|(% style="text-align:left; 4232 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14711 14711 ((( 14712 14712 (% class="western" %) 14713 14713 ParentId 14714 -)))|(% style="text-align:left; 4236 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14715 14715 ((( 14716 14716 (% class="western" %) 14717 14717 int 14718 -)))|(% style="text-align:left; 4240 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14719 14719 ((( 14720 14720 (% class="western" %) 14721 14721 If this is a child source then list the parent source id. ... ... @@ -14722,249 +14722,253 @@ 14722 14722 ))) 14723 14723 14724 14724 (% class="western" %) 4247 +\\ 4248 + 4249 +(% class="western" %) 14725 14725 **Type: Products** 14726 14726 14727 -(% class="wrapped" %) 14728 -|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4252 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14729 14729 ((( 14730 14730 (% class="western" %) 14731 14731 **Property Name** 14732 -)))|(% style="text-align:left; 4256 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14733 14733 ((( 14734 14734 (% class="western" %) 14735 14735 **Type** 14736 -)))|(% style="text-align:left; 4260 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14737 14737 ((( 14738 14738 (% class="western" %) 14739 14739 **Description** 14740 14740 ))) 14741 -|(% style="text-align:left; 4265 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14742 14742 ((( 14743 14743 (% class="western" %) 14744 14744 Id 14745 -)))|(% style="text-align:left; 4269 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14746 14746 ((( 14747 14747 (% class="western" %) 14748 14748 Int 14749 -)))|(% style="text-align:left; 4273 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14750 14750 ((( 14751 14751 (% class="western" %) 14752 14752 Specify only for update. 14753 14753 ))) 14754 -|(% style="text-align:left; 4278 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14755 14755 ((( 14756 14756 (% class="western" %) 14757 14757 Name 14758 -)))|(% style="text-align:left; 4282 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14759 14759 ((( 14760 14760 (% class="western" %) 14761 14761 String 14762 -)))|(% style="text-align:left; 4286 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14763 14763 ((( 14764 14764 (% class="western" %) 14765 14765 Name of the Product. 14766 14766 ))) 14767 -|(% style="text-align:left; 4291 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14768 14768 ((( 14769 14769 (% class="western" %) 14770 14770 Description 14771 -)))|(% style="text-align:left; 4295 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14772 14772 ((( 14773 14773 (% class="western" %) 14774 14774 Text 14775 -)))|(% style="text-align:left; 4299 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14776 14776 ((( 14777 14777 (% class="western" %) 14778 14778 Description of the product. 14779 14779 ))) 14780 -|(% style="text-align:left; 4304 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14781 14781 ((( 14782 14782 (% class="western" %) 14783 14783 Terms 14784 -)))|(% style="text-align:left; 4308 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14785 14785 ((( 14786 14786 (% class="western" %) 14787 14787 Terms 14788 -)))|(% style="text-align:left; 4312 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14789 14789 ((( 14790 14790 (% class="western" %) 14791 14791 (Array of) Terms associated with the product. 14792 14792 ))) 14793 14793 4318 +\\ 4319 + 14794 14794 (% class="western" %) 14795 14795 **Type: Terms** 14796 14796 14797 -(% class="wrapped" %) 14798 -|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4323 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14799 14799 ((( 14800 14800 (% class="western" %) 14801 14801 **Property Name** 14802 -)))|(% style="text-align:left; 4327 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14803 14803 ((( 14804 14804 (% class="western" %) 14805 14805 **Type** 14806 -)))|(% style="text-align:left; 4331 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14807 14807 ((( 14808 14808 (% class="western" %) 14809 14809 **Description** 14810 14810 ))) 14811 -|(% style="text-align:left; 4336 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14812 14812 ((( 14813 14813 (% class="western" %) 14814 14814 Id 14815 -)))|(% style="text-align:left; 4340 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14816 14816 ((( 14817 14817 (% class="western" %) 14818 14818 int 14819 -)))|(% style="text-align:left; 4344 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14820 14820 ((( 14821 14821 (% class="western" %) 14822 14822 Id of the term. 14823 14823 ))) 14824 -|(% style="text-align:left; 4349 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14825 14825 ((( 14826 14826 (% class="western" %) 14827 14827 Name 14828 -)))|(% style="text-align:left; 4353 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14829 14829 ((( 14830 14830 (% class="western" %) 14831 14831 string 14832 -)))|(% style="text-align:left; 4357 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14833 14833 ((( 14834 14834 (% class="western" %) 14835 14835 Name of the Term. 14836 14836 ))) 14837 -|(% style="text-align:left; 4362 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14838 14838 ((( 14839 14839 (% class="western" %) 14840 14840 Description 14841 -)))|(% style="text-align:left; 4366 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14842 14842 ((( 14843 14843 (% class="western" %) 14844 14844 text 14845 -)))|(% style="text-align:left; 4370 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14846 14846 ((( 14847 14847 (% class="western" %) 14848 14848 Description of the term. 14849 14849 ))) 14850 -|(% style="text-align:left; 4375 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14851 14851 ((( 14852 14852 (% class="western" %) 14853 14853 Duration 14854 -)))|(% style="text-align:left; 4379 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14855 14855 ((( 14856 14856 (% class="western" %) 14857 14857 int 14858 -)))|(% style="text-align:left; 4383 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14859 14859 ((( 14860 14860 (% class="western" %) 14861 14861 Duration of term validity. 14862 14862 ))) 14863 -|(% style="text-align:left; 4388 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14864 14864 ((( 14865 14865 (% class="western" %) 14866 14866 DurationUnit 14867 -)))|(% style="text-align:left; 4392 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14868 14868 ((( 14869 14869 (% class="western" %) 14870 14870 sting 14871 -)))|(% style="text-align:left; 4396 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14872 14872 ((( 14873 14873 (% class="western" %) 14874 14874 Y (year), M (Month), D (Days). 14875 14875 ))) 14876 -|(% style="text-align:left; 4401 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14877 14877 ((( 14878 14878 (% class="western" %) 14879 14879 ProductId 14880 -)))|(% style="text-align:left; 4405 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14881 14881 ((( 14882 14882 (% class="western" %) 14883 14883 int 14884 -)))|(% style="text-align:left; 4409 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14885 14885 ((( 14886 14886 (% class="western" %) 14887 14887 Id of the product the term is tied to. 14888 14888 ))) 14889 -|(% style="text-align:left; 4414 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14890 14890 ((( 14891 14891 (% class="western" %) 14892 14892 Price 14893 -)))|(% style="text-align:left; 4418 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14894 14894 ((( 14895 14895 (% class="western" %) 14896 14896 float 14897 -)))|(% style="text-align:left; 4422 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14898 14898 ((( 14899 14899 (% class="western" %) 14900 14900 If there is price (USD) for the term. 14901 14901 ))) 14902 14902 4428 +\\ 4429 + 14903 14903 (% class="western" %) 14904 14904 **Type: Resources** 14905 14905 14906 -(% class="wrapped" %) 14907 -|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4433 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14908 14908 ((( 14909 14909 (% class="western" %) 14910 14910 **Property Name** 14911 -)))|(% style="text-align:left; 4437 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14912 14912 ((( 14913 14913 (% class="western" %) 14914 14914 **Type** 14915 -)))|(% style="text-align:left; 4441 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14916 14916 ((( 14917 14917 (% class="western" %) 14918 14918 **Description** 14919 14919 ))) 14920 -|(% style="text-align:left; 4446 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14921 14921 ((( 14922 14922 (% class="western" %) 14923 14923 Id 14924 -)))|(% style="text-align:left; 4450 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14925 14925 ((( 14926 14926 (% class="western" %) 14927 14927 Int 14928 -)))|(% style="text-align:left; 4454 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14929 14929 ((( 14930 14930 (% class="western" %) 14931 14931 Specify only for update. 14932 14932 ))) 14933 -|(% style="text-align:left; 4459 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14934 14934 ((( 14935 14935 (% class="western" %) 14936 14936 Name 14937 -)))|(% style="text-align:left; 4463 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14938 14938 ((( 14939 14939 (% class="western" %) 14940 14940 String 14941 -)))|(% style="text-align:left; 4467 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14942 14942 ((( 14943 14943 (% class="western" %) 14944 14944 Name of the Resource. 14945 14945 ))) 14946 -|(% style="text-align:left; 4472 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14947 14947 ((( 14948 14948 (% class="western" %) 14949 14949 Description 14950 -)))|(% style="text-align:left; 4476 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14951 14951 ((( 14952 14952 (% class="western" %) 14953 14953 Text 14954 -)))|(% style="text-align:left; 4480 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14955 14955 ((( 14956 14956 (% class="western" %) 14957 14957 Description of the Resource. 14958 14958 ))) 14959 -|(% style="text-align:left; 4485 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14960 14960 ((( 14961 14961 (% class="western" %) 14962 14962 Type 14963 -)))|(% style="text-align:left; 4489 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14964 14964 ((( 14965 14965 (% class="western" %) 14966 14966 Int 14967 -)))|(% style="text-align:left; 4493 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14968 14968 ((( 14969 14969 (% class="western" %) 14970 14970 Type Options ... ... @@ -14984,11 +14984,11 @@ 14984 14984 (% class="western" %) 14985 14985 **5 : **Function 14986 14986 ))) 14987 -|(% style="text-align:left; 4513 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14988 14988 ((( 14989 14989 (% class="western" %) 14990 14990 Value 14991 -)))|(% style="text-align:left; 4517 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 14992 14992 ((( 14993 14993 (% class="western" %) 14994 14994 String ... ... @@ -14998,7 +14998,7 @@ 14998 14998 14999 14999 (% class="western" %) 15000 15000 Array 15001 -)))|(% style="text-align:left; 4527 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 15002 15002 ((( 15003 15003 (% class="western" %) 15004 15004 Value of Resource Type: ... ... @@ -15013,114 +15013,115 @@ 15013 15013 Example : 15014 15014 15015 15015 (% class="western" %) 15016 -if the Type sent is 3 with one value then Value would be "**/digital/**" or **["/digital"/].** We recommend using the second approach of **["/digital"/]. **15017 -if the Type sent is 3 with two values then Value would be ["**/digital/**", "**/articles/**"] 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/**"] 15018 15018 15019 15019 (% class="western" %) 15020 15020 For Function type resource leave it blank. 15021 15021 ))) 15022 -|(% style="text-align:left; 4548 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 15023 15023 ((( 15024 15024 (% class="western" %) 15025 15025 limit 15026 -)))|(% style="text-align:left; 4552 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 15027 15027 ((( 15028 15028 (% class="western" %) 15029 15029 Int 15030 -)))|(% style="text-align:left; 4556 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 15031 15031 ((( 15032 15032 (% class="western" %) 15033 15033 Default limit is 25 but if all the data needs to be pulled then pass limit=0. 15034 15034 ))) 15035 -|(% colspan="1" style="text-align:left; 4561 +(% class="" %)|(% colspan="1" style="text-align: left;vertical-align: top;" %)(% colspan="1" style="text-align: left;vertical-align: top;" %) 15036 15036 ((( 15037 15037 FreePass 15038 -)))|(% colspan="1" style="text-align:left; 4564 +)))|(% colspan="1" style="text-align: left;vertical-align: top;" %)(% colspan="1" style="text-align: left;vertical-align: top;" %) 15039 15039 ((( 15040 15040 Int 15041 -)))|(% colspan="1" style="text-align:left; 4567 +)))|(% colspan="1" style="text-align: left;vertical-align: top;" %)(% colspan="1" style="text-align: left;vertical-align: top;" %) 15042 15042 ((( 15043 15043 Default value is 0. This parameter is used to provide access to protected content. 15044 15044 ))) 15045 15045 4572 +\\ 4573 + 15046 15046 (% class="western" %) 15047 15047 **Type: Telemarketing** 15048 15048 15049 -(% class="wrapped" %) 15050 -|(% style="text-align:left; vertical-align:top" %)(% style="text-align: left;vertical-align: top;" %) 4577 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 15051 15051 ((( 15052 15052 (% class="western" %) 15053 15053 **Property Name** 15054 -)))|(% style="text-align:left; 4581 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 15055 15055 ((( 15056 15056 (% class="western" %) 15057 15057 **Type** 15058 -)))|(% style="text-align:left; 4585 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 15059 15059 ((( 15060 15060 (% class="western" %) 15061 15061 **Description** 15062 15062 ))) 15063 -|(% style="text-align:left; 4590 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 15064 15064 ((( 15065 15065 (% class="western" %) 15066 15066 Id 15067 -)))|(% style="text-align:left; 4594 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 15068 15068 ((( 15069 15069 (% class="western" %) 15070 15070 int 15071 -)))|(% style="text-align:left; 4598 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 15072 15072 ((( 15073 15073 (% class="western" %) 15074 15074 Id of the telemarketing stat. This is autogenerated from the system and can be used to lookup the stat. 15075 15075 ))) 15076 -|(% style="text-align:left; 4603 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 15077 15077 ((( 15078 15078 (% class="western" %) 15079 15079 OCID 15080 -)))|(% style="text-align:left; 4607 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 15081 15081 ((( 15082 15082 (% class="western" %) 15083 15083 int 15084 -)))|(% style="text-align:left; 4611 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 15085 15085 ((( 15086 15086 (% class="western" %) 15087 15087 Onecount ID of the user. 15088 15088 ))) 15089 -|(% style="text-align:left; 4616 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 15090 15090 ((( 15091 15091 (% class="western" %) 15092 15092 Date 15093 -)))|(% style="text-align:left; 4620 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 15094 15094 ((( 15095 15095 (% class="western" %) 15096 15096 Date 15097 -)))|(% style="text-align:left; 4624 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 15098 15098 ((( 15099 15099 (% class="western" %) 15100 15100 Date when the stat occurred. Format: yyyy-mm-dd 15101 15101 ))) 15102 -|(% style="text-align:left; 4629 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 15103 15103 ((( 15104 15104 (% class="western" %) 15105 15105 Time 15106 -)))|(% style="text-align:left; 4633 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 15107 15107 ((( 15108 15108 (% class="western" %) 15109 15109 Time 15110 -)))|(% style="text-align:left; 4637 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 15111 15111 ((( 15112 15112 (% class="western" %) 15113 15113 Time of stat. Format: h:m:s (24 hour format) 15114 15114 ))) 15115 -|(% style="text-align:left; 4642 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 15116 15116 ((( 15117 15117 (% class="western" %) 15118 15118 ResourceId 15119 -)))|(% style="text-align:left; 4646 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 15120 15120 ((( 15121 15121 (% class="western" %) 15122 15122 int 15123 -)))|(% style="text-align:left; 4650 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 15124 15124 ((( 15125 15125 (% class="western" %) 15126 15126 Id of resource currently being sent for the sat. If the resource type is page type resource then need to send ... ... @@ -15128,34 +15128,37 @@ 15128 15128 (% class="western" %) 15129 15129 PageTitle otherwise it will follow the process described in PageTitle. 15130 15130 ))) 15131 -|(% style="text-align:left; 4658 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 15132 15132 ((( 15133 15133 (% class="western" %) 15134 15134 PageUrl 15135 -)))|(% style="text-align:left; 4662 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 15136 15136 ((( 15137 15137 (% class="western" %) 15138 15138 string 15139 -)))|(% style="text-align:left; 4666 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 15140 15140 ((( 15141 15141 (% class="western" %) 15142 15142 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. 15143 15143 ))) 15144 -|(% style="text-align:left; 4671 +(% class="" %)|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 15145 15145 ((( 15146 15146 (% class="western" %) 15147 15147 PageTitle 15148 -)))|(% style="text-align:left; 4675 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 15149 15149 ((( 15150 15150 (% class="western" %) 15151 15151 string 15152 -)))|(% style="text-align:left; 4679 +)))|(% style="text-align: left;vertical-align: top;" %)(% style="text-align: left;vertical-align: top;" %) 15153 15153 ((( 15154 15154 (% class="western" %) 15155 15155 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. 15156 15156 4684 +(% class="western" %) 4685 +\\ 15157 15157 15158 15158 (% class="western" %) 15159 15159 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. 15160 15160 ))) 15161 15161 4691 +\\
- Screen Shot 2020-02-26 at 11.14.29 AM.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.XWikiGuest - Size
-
... ... @@ -1,1 +1,0 @@ 1 -397.9 KB - Content
- Screen Shot 2020-02-26 at 11.15.52 AM.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.XWikiGuest - Size
-
... ... @@ -1,1 +1,0 @@ 1 -50.1 KB - Content
- Screen Shot 2020-02-26 at 11.22.13 AM.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.XWikiGuest - Size
-
... ... @@ -1,1 +1,0 @@ 1 -159.8 KB - Content
- Confluence.Code.ConfluencePageClass[0]
-
- id
-
... ... @@ -1,1 +1,1 @@ 1 -10826547 71 +108265479 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://info.onecount.net//wiki/spaces/OD/pages/10826547 7/ONEcount API Documentation1 +https://info.onecount.net//wiki/spaces/OD/pages/108265479/ONEcount API Documentation