Changes for page OLD-ONEcount API Documentation
Last modified by Admin on 2025/06/27 12:14
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. shravya@one-count_com1 +XWiki.Admin - Content
-
... ... @@ -2,7 +2,7 @@ 2 2 **Introduction** 3 3 4 4 (% class="western" %) 5 -ONEcount REST API is designed to allow you to directly manipulate the underlying data within the ONEcount application. This API can be used to lookup, create and update different ONEcount data components which are listed below. 5 +ONEcount REST API is designed to allow you to directly manipulate the underlying data within the ONEcount application. This API can be used to lookup, create and updated different ONEcount data components which are listed below. 6 6 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,7 +9,7 @@ 9 9 10 10 1. ((( 11 11 (% class="western" %) 12 -**GET** - Used for lookup of resources resources12 +**GET** - Used for lookup of resources 13 13 ))) 14 14 1. ((( 15 15 (% class="western" %) ... ... @@ -90,7 +90,7 @@ 90 90 ))) 91 91 92 92 (% class="western" %) 93 - \\93 + 94 94 95 95 (% class="western" %) 96 96 **General API Usage** ... ... @@ -102,7 +102,7 @@ 102 102 For lookup, the parameter list will be part of the request url. 103 103 104 104 (% class="western" %) 105 - \\105 + 106 106 107 107 (% class="western" %) 108 108 **Response** ... ... @@ -165,7 +165,7 @@ 165 165 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. 166 166 167 167 (% class="western" %) 168 - \\168 + 169 169 170 170 (% class="western" %) 171 171 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. ... ... @@ -221,7 +221,7 @@ 221 221 ]}]}}}} 222 222 223 223 (% class="western" %) 224 - \\224 + 225 225 226 226 (% class="western" %) 227 227 ** ... ... @@ -247,9 +247,8 @@ 247 247 (% class="western" %) 248 248 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. 249 249 250 - \\250 + 251 251 252 -(% class="wrapped" %) 253 253 |((( 254 254 (% class="western" %) 255 255 **Method** ... ... @@ -364,12 +364,11 @@ 364 364 **OUTPUT** : Should get ocid of the user if it finds it otherwise get and error with msg user not found. 365 365 ))) 366 366 367 - \\366 + 368 368 369 369 (% class="western" %) 370 370 **GET method should be used to lookup users.** 371 371 372 -(% class="wrapped" %) 373 373 |((( 374 374 (% class="western" %) 375 375 **Request** ... ... @@ -395,16 +395,12 @@ 395 395 396 396 (% class="western" %) 397 397 return: csv of question id that is requested back. The Users object returned will only have these properties plus UserId (String) 398 - 399 -(% class="western" %) 400 -If return is not provided, all the demographics will be returned. 401 401 ))) 402 402 403 - \\398 + 404 404 405 - \\400 + 406 406 407 -(% class="wrapped" %) 408 408 |((( 409 409 (% class="western" %) 410 410 **Response** ... ... @@ -426,35 +426,11 @@ 426 426 Found users returned with the demo field requested in return parameter in json format. 427 427 ))) 428 428 429 - \\423 + 430 430 431 -**Sample response for /users/(% style="color: rgb(80,80,80);" %)25255449(%%)** 432 - 433 -(% class="relative-table" style="width: 100.0%;" %) 434 -|=((( 435 -(% class="content-wrapper" %) 436 -((( 437 -[[image:attach:Screen Shot 2020-02-26 at 11.15.52 AM.png||width="1407"]] 438 -))) 439 -))) 440 - 441 -\\ 442 - 443 -**Sample response for /users/lookup?(% style="color: rgb(80,80,80);" %)11=santosh@[[one-count.com>>url:http://one-count.com||shape="rect"]]&return=2,3(%%)** 444 - 445 -|=((( 446 -(% class="content-wrapper" %) 447 -((( 448 -[[image:attach:Screen Shot 2020-02-26 at 11.22.13 AM.png||height="250"]] 449 -))) 450 -))) 451 - 452 -\\ 453 - 454 454 (% class="western" %) 455 455 **POST method should be used to create users.** 456 456 457 -(% class="wrapped" %) 458 458 |((( 459 459 (% class="western" %) 460 460 **Request** ... ... @@ -506,7 +506,6 @@ 506 506 CSV of ONEcount QuestionId's requested back in Users object in response. 507 507 ))) 508 508 509 -(% class="wrapped" %) 510 510 |((( 511 511 (% class="western" %) 512 512 **Response** ... ... @@ -528,12 +528,11 @@ 528 528 Created users returned with the demo field requested in return parameter in json format. If return was not specified only UserId will be returned. 529 529 ))) 530 530 531 - \\500 + 532 532 533 533 (% class="western" %) 534 534 **PUT method should be used to update users.** 535 535 536 -(% class="wrapped" %) 537 537 |((( 538 538 (% class="western" %) 539 539 **Request** ... ... @@ -575,7 +575,6 @@ 575 575 RequestDate to use for the demo update. If not provided current date will be used. 576 576 ))) 577 577 578 -(% class="wrapped" %) 579 579 |((( 580 580 (% class="western" %) 581 581 **Response** ... ... @@ -598,10 +598,10 @@ 598 598 ))) 599 599 600 600 (% class="western" %) 601 - \\568 + 602 602 603 603 (% class="western" %) 604 - \\571 + 605 605 606 606 (% class="western" %) 607 607 Create new users. Here in this example the JSON for request is passed in userFile.json file. ... ... @@ -616,7 +616,7 @@ 616 616 ** 617 617 ** 618 618 619 - \\586 + 620 620 621 621 (% class="western" %) 622 622 **COMPONENT: Questions** ... ... @@ -752,7 +752,7 @@ 752 752 JSON of the Questions type object needs to be sent as post data. Id field is mandatory for update. 753 753 ))) 754 754 755 - \\722 + 756 756 757 757 (% class="western" %) 758 758 **GET method can be used to lookup questions.** ... ... @@ -810,7 +810,7 @@ 810 810 Returns found question details. 811 811 ))) 812 812 813 - \\780 + 814 814 815 815 (% class="western" %) 816 816 **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).** ... ... @@ -859,7 +859,7 @@ 859 859 Returns ONEcount question id on successful creation of the question. 860 860 ))) 861 861 862 - \\829 + 863 863 864 864 (% class="western" %) 865 865 PUT method should be used to update question. ... ... @@ -909,7 +909,7 @@ 909 909 ))) 910 910 911 911 (% class="western" %) 912 - \\879 + 913 913 914 914 (% class="western" %) 915 915 Example: Get list of questions from api which has FirstName in text ... ... @@ -1057,7 +1057,7 @@ 1057 1057 {"ProductID":"65","ResourceID":”121"} 1058 1058 ))) 1059 1059 1060 - \\1027 + 1061 1061 1062 1062 (% class="western" %) 1063 1063 **GET method should be used to lookup products.** ... ... @@ -1112,7 +1112,7 @@ 1112 1112 Returns found product details. 1113 1113 ))) 1114 1114 1115 - \\1082 + 1116 1116 1117 1117 (% class="western" %) 1118 1118 **POST method should be used to create products.** ... ... @@ -1142,7 +1142,7 @@ 1142 1142 Example: 1143 1143 1144 1144 (% class="western" %) 1145 -{"Title":"Test123","Description": "Testss","Terms":{"Name":"Product123"},"PrimaryFormId":10,"ResourceID":17}1112 +{"Title":"Test123","Description":Testss","Terms":{"Name":"Product123"},"PrimaryFormId":10,"ResourceID":17} 1146 1146 ))) 1147 1147 1148 1148 (% class="wrapped" %) ... ... @@ -1167,7 +1167,7 @@ 1167 1167 Product Id of the newly created product. 1168 1168 ))) 1169 1169 1170 - \\1137 + 1171 1171 1172 1172 (% class="western" %) 1173 1173 PUT method should be used to update an individual product given the product info. ... ... @@ -1200,7 +1200,7 @@ 1200 1200 **Example**: 1201 1201 1202 1202 (% class="western" %) 1203 -{"Title":"Test123","Description": "Testss","PrimaryFormId":10,"ResourceID":17}1170 +{"Title":"Test123","Description":Testss","Terms":{"Name":"Product123"},"PrimaryFormId":10,"ResourceID":17} 1204 1204 ))) 1205 1205 1206 1206 (% class="wrapped" %) ... ... @@ -1225,7 +1225,7 @@ 1225 1225 Product id of the updated product. 1226 1226 ))) 1227 1227 1228 - \\1195 + 1229 1229 1230 1230 (% class="western" %) 1231 1231 **COMPONENT: Terms** ... ... @@ -1285,7 +1285,7 @@ 1285 1285 JSON of the terms type object needs to be sent as post data. Id field is mandatory for update. 1286 1286 ))) 1287 1287 1288 - \\1255 + 1289 1289 1290 1290 (% class="western" %) 1291 1291 **GET method should be used to lookup products.** ... ... @@ -1340,7 +1340,7 @@ 1340 1340 Returns found term details. 1341 1341 ))) 1342 1342 1343 - \\1310 + 1344 1344 1345 1345 (% class="western" %) 1346 1346 **POST method should be used to create products.** ... ... @@ -1398,7 +1398,7 @@ 1398 1398 Term Id of the newly created term. 1399 1399 ))) 1400 1400 1401 - \\1368 + 1402 1402 1403 1403 (% class="western" %) 1404 1404 PUT method should be used to update an individual term given the term info. ... ... @@ -1425,7 +1425,7 @@ 1425 1425 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. 1426 1426 1427 1427 (% class="western" %) 1428 - \\1395 + 1429 1429 1430 1430 (% class="western" %) 1431 1431 **Example**: ... ... @@ -1456,7 +1456,7 @@ 1456 1456 term id of the updated term. 1457 1457 ))) 1458 1458 1459 - \\1426 + 1460 1460 1461 1461 (% class="western" %) 1462 1462 **COMPONENT: Resources** ... ... @@ -1552,7 +1552,7 @@ 1552 1552 JSON of the resources type object needs to be sent as post data. Id field is mandatory for update. 1553 1553 ))) 1554 1554 1555 - \\1522 + 1556 1556 1557 1557 (% class="western" %) 1558 1558 **GET method should be used to lookup resources.** ... ... @@ -1607,7 +1607,7 @@ 1607 1607 Returns found resource details. 1608 1608 ))) 1609 1609 1610 - \\1577 + 1611 1611 1612 1612 (% class="western" %) 1613 1613 **POST method should be used to create resources.** ... ... @@ -1634,7 +1634,7 @@ 1634 1634 resource details in json to be sent as post data. Id should not be set. 1635 1635 1636 1636 (% class="western" %) 1637 -**Possible Request Params**: Name, Description, Type, Value , FreePass1604 +**Possible Request Params**: Name, Description, Type, Value 1638 1638 1639 1639 (% class="western" %) 1640 1640 **Example**: ... ... @@ -1641,15 +1641,6 @@ 1641 1641 1642 1642 (% class="western" %) 1643 1643 {"Name":"Test123","Description":Testss","Type":3,"Value":”/digital/”} 1644 - 1645 -(% class="western" %) 1646 -{"Name":"Test123","Description":Testss","Type":3,"Value":[”/digital/”, "/article/"]} 1647 - 1648 -(% class="western" %) 1649 -{"Name":"Test123","Description":Testss","Type":3,"Value":”/digital/”, "FreePass":1} 1650 - 1651 -(% class="western" %) 1652 -{"Name":"Test123","Description":Testss","Type":3,"Value":[”/digital/”, "/article/"],"FreePass":1} 1653 1653 ))) 1654 1654 1655 1655 (% class="wrapped" %) ... ... @@ -1674,7 +1674,7 @@ 1674 1674 Resource Id of the newly created resource. 1675 1675 ))) 1676 1676 1677 - \\1635 + 1678 1678 1679 1679 (% class="western" %) 1680 1680 PUT method should be used to update an individual resource given the resource info. ... ... @@ -1698,25 +1698,16 @@ 1698 1698 Resource 1699 1699 )))|((( 1700 1700 (% class="western" %) 1701 -Resource details to be updated injsonformat to be sent withrequest. Id property needs to be set to identify the resource to be updated. 1659 +Resource details to be updated in json format to be sent with request. Id property needs to be set to identify the resource to be updated. 1702 1702 1703 1703 (% class="western" %) 1704 - \\1662 + 1705 1705 1706 1706 (% class="western" %) 1707 -Example s:1665 +Example: 1708 1708 1709 1709 (% class="western" %) 1710 1710 {"Name":"Test123","Description":Testss","Type":3,"Value":”/digital/”} 1711 - 1712 -(% class="western" %) 1713 -{"Name":"Test123","Description":Testss","Type":3,"Value":[”/digital/”, "/article/"]} 1714 - 1715 -(% class="western" %) 1716 -{"Name":"Test123","Description":Testss","Type":3,"Value":”/digital/”,"FreePass":1} 1717 - 1718 -(% class="western" %) 1719 -{"Name":"Test123","Description":Testss","Type":3,"Value":[”/digital/”, "/article/"],"FreePass":1} 1720 1720 ))) 1721 1721 1722 1722 (% class="wrapped" %) ... ... @@ -1741,12 +1741,12 @@ 1741 1741 resource id of the updated resource. 1742 1742 ))) 1743 1743 1744 - \\1693 + 1745 1745 1746 - \\1695 + 1747 1747 1748 1748 (% class="western" %) 1749 - \\1698 + 1750 1750 1751 1751 (% class="western" %) 1752 1752 **COMPONENT: Source Codes ... ... @@ -1807,7 +1807,7 @@ 1807 1807 JSON of the Sources type object needs to be sent as post data. Id field is mandatory for update. 1808 1808 ))) 1809 1809 1810 - \\1759 + 1811 1811 1812 1812 (% class="western" %) 1813 1813 **Sources can be looked up given the code or Id. GET method should be used for lookup.** ... ... @@ -1862,10 +1862,10 @@ 1862 1862 Returns found source details. 1863 1863 ))) 1864 1864 1865 - \\1814 + 1866 1866 1867 1867 (% class="western" %) 1868 - \\1817 + 1869 1869 1870 1870 (% class="western" %) 1871 1871 POST method should be used to create an individual source given the source parameters. ... ... @@ -1914,7 +1914,7 @@ 1914 1914 Returns created source code id. 1915 1915 ))) 1916 1916 1917 - \\1866 + 1918 1918 1919 1919 (% class="western" %) 1920 1920 **PUT method can be used to update an individual source given the id.** ... ... @@ -1963,10 +1963,10 @@ 1963 1963 Returns updated source id. 1964 1964 ))) 1965 1965 1966 - \\1915 + 1967 1967 1968 1968 (% class="western" %) 1969 - \\1918 + 1970 1970 1971 1971 (% class="western" %) 1972 1972 **COMPONENT: Transactions** ... ... @@ -2016,10 +2016,10 @@ 2016 2016 JSON of the Transactions type object needs to be sent as post data. Id field should not be sent. 2017 2017 ))) 2018 2018 2019 - \\1968 + 2020 2020 2021 2021 (% class="western" %) 2022 - \\1971 + 2023 2023 2024 2024 (% class="western" %) 2025 2025 Transactions can be looked up using transactionId, date range, userid. Use GET method to do lookup. ... ... @@ -2058,7 +2058,11 @@ 2058 2058 EndDate: When the search should end. Only valid when UserId is set. (Date) 2059 2059 ))) 2060 2060 2061 -(% class="wrapped" style="letter-spacing: 0.0px;" %) 2010 + 2011 + 2012 + 2013 + 2014 +(% class="wrapped" %) 2062 2062 |((( 2063 2063 (% class="western" %) 2064 2064 **Response** ... ... @@ -2077,22 +2077,11 @@ 2077 2077 Transactions 2078 2078 )))|((( 2079 2079 (% class="western" %) 2080 -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.2033 +Returns all transaction that satisfies the search criteria. 2081 2081 ))) 2082 2082 2083 - \\2036 + 2084 2084 2085 -**Sample response for /(% style="color: rgb(80,80,80);" %)transactions/lookup?UserId=25255105:(%%)** 2086 - 2087 -|=((( 2088 -(% class="content-wrapper" %) 2089 -((( 2090 -[[image:attach:Screen Shot 2020-02-26 at 11.14.29 AM.png||width="1407"]] 2091 -))) 2092 -))) 2093 - 2094 -\\ 2095 - 2096 2096 (% class="western" %) 2097 2097 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. 2098 2098 ... ... @@ -2140,9 +2140,9 @@ 2140 2140 Returns transactionId of the newly created transaction. 2141 2141 ))) 2142 2142 2143 - \\2085 + 2144 2144 2145 - \\2087 + 2146 2146 2147 2147 (% class="western" %) 2148 2148 **COMPONENT: Leads ... ... @@ -2152,19 +2152,19 @@ 2152 2152 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. 2153 2153 2154 2154 (% class="western" %) 2155 - \\2097 + 2156 2156 2157 2157 (% class="western" %) 2158 - \\2100 + 2159 2159 2160 2160 (% class="western" %) 2161 - \\2103 + 2162 2162 2163 2163 (% class="western" %) 2164 - \\2106 + 2165 2165 2166 2166 (% class="western" %) 2167 - \\2109 + 2168 2168 2169 2169 (% class="western" %) 2170 2170 **Telemarketing Leads ... ... @@ -2216,7 +2216,7 @@ 2216 2216 JSON of the Telemarketing type object needs to be sent as post data. Id field should not be sent. 2217 2217 ))) 2218 2218 2219 - \\2161 + 2220 2220 2221 2221 (% class="western" %) 2222 2222 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. ... ... @@ -2286,13 +2286,13 @@ 2286 2286 ))) 2287 2287 |((( 2288 2288 (% class="western" %) 2289 - \\2231 + 2290 2290 )))|((( 2291 2291 (% class="western" %) 2292 - \\2234 + 2293 2293 )))|((( 2294 2294 (% class="western" %) 2295 - \\2237 + 2296 2296 ))) 2297 2297 2298 2298 (% class="wrapped" %) ... ... @@ -2317,15 +2317,15 @@ 2317 2317 Returns telemarketing ids of the newly created transaction. If multiple stats are sent, multiple ids are returned in cvs format. 2318 2318 ))) 2319 2319 2320 - \\2262 + 2321 2321 2322 - \\2264 + 2323 2323 2324 - \\2266 + 2325 2325 2326 - \\2268 + 2327 2327 2328 - \\2270 + 2329 2329 2330 2330 (% class="western" %) 2331 2331 **API REFERENCE** ... ... @@ -2374,12 +2374,12 @@ 2374 2374 (% class="western" %) 2375 2375 Determines which type of question it is. Textbox, checkbox, select, radio. 2376 2376 There can be 6 types of questions. 2377 -type=1 means textbox type questions or short response type question. The response length needs to be less than 255 characters. 2378 -type=2 means textarea type question or long response type question. 2379 -type=3 means password type question. This is basically same as type 1 but when displayed in ONEcount frontend forms typed characters appears as * 2380 -type = 4 means select or dropdown type questions. This is a multiple choice, 1 response type question. When creating this type of question the choices block also needs to be part of the questions object that will hold the possible choices of the select question. 2381 -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. 2382 -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. 2319 + type=1 means textbox type questions or short response type question. The response length needs to be less than 255 characters. 2320 + type=2 means textarea type question or long response type question. 2321 + type=3 means password type question. This is basically same as type 1 but when displayed in ONEcount frontend forms typed characters appears as * 2322 + type = 4 means select or dropdown type questions. This is a multiple choice, 1 response type question. When creating this type of question the choices block also needs to be part of the questions object that will hold the possible choices of the select question. 2323 + 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. 2324 + 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. 2383 2383 ))) 2384 2384 |((( 2385 2385 (% class="western" %) ... ... @@ -2402,13 +2402,13 @@ 2402 2402 Alias for admin purpose. 2403 2403 ))) 2404 2404 2405 - \\2347 + 2406 2406 2407 2407 (% class="western" %) 2408 - \\2350 + 2409 2409 2410 2410 (% class="western" %) 2411 - \\2353 + 2412 2412 2413 2413 (% class="western" %) 2414 2414 **Type: Choices** ... ... @@ -2475,7 +2475,7 @@ 2475 2475 Tied to which question id. 2476 2476 ))) 2477 2477 2478 - \\2420 + 2479 2479 2480 2480 (% class="western" %) 2481 2481 **Type: Users** ... ... @@ -2532,7 +2532,7 @@ 2532 2532 Request date. 2533 2533 ))) 2534 2534 2535 - \\2477 + 2536 2536 2537 2537 (% class="western" %) 2538 2538 **Type: Demo** ... ... @@ -2579,7 +2579,7 @@ 2579 2579 ... 2580 2580 ))) 2581 2581 2582 - \\2524 + 2583 2583 2584 2584 (% class="western" %) 2585 2585 **Type: Transactions** ... ... @@ -2726,7 +2726,7 @@ 2726 2726 If there is amount (USD) included in transaction. 2727 2727 ))) 2728 2728 2729 - \\2671 + 2730 2730 2731 2731 (% class="western" %) 2732 2732 **Type: Sources** ... ... @@ -2783,10 +2783,10 @@ 2783 2783 If this is a child source then list the parent source id. 2784 2784 ))) 2785 2785 2786 - \\2728 + 2787 2787 2788 2788 (% class="western" %) 2789 - \\2731 + 2790 2790 2791 2791 (% class="western" %) 2792 2792 **Type: Products** ... ... @@ -2843,7 +2843,7 @@ 2843 2843 (Array of) Terms associated with the product. 2844 2844 ))) 2845 2845 2846 - \\2788 + 2847 2847 2848 2848 (% class="western" %) 2849 2849 **Type: Terms** ... ... @@ -2930,7 +2930,7 @@ 2930 2930 If there is price (USD) for the term. 2931 2931 ))) 2932 2932 2933 - \\2875 + 2934 2934 2935 2935 (% class="western" %) 2936 2936 **Type: Resources** ... ... @@ -3007,30 +3007,14 @@ 3007 3007 )))|((( 3008 3008 (% class="western" %) 3009 3009 String 3010 - 3011 -(% class="western" %) 3012 -or 3013 - 3014 -(% class="western" %) 3015 -Array 3016 3016 )))|((( 3017 3017 (% class="western" %) 3018 -Value of Resource Type :2954 +Value of Resource Type. 3019 3019 3020 3020 (% class="western" %) 3021 - When requesting a resource (GET), you should expectastring if thereis onlyonevalue.Ifthereare multiple values,youshould expectan array.2957 +Example : if the Type sent is 3 then Value would be **/digital/** 3022 3022 3023 3023 (% class="western" %) 3024 -For creating/updating a resource (POST/PUT), it is highly recommended to send an array - this will handle single and multiple value requests. 3025 - 3026 -(% class="western" %) 3027 -Example : 3028 - 3029 -(% class="western" %) 3030 -if the Type sent is 3 with one value then Value would be "**/digital/**" or **["/digital"/].** We recommend using the second approach of **["/digital"/].** ** 3031 -**if the Type sent is 3 with two values then Value would be ["**/digital/**", "**/articles/**"] 3032 - 3033 -(% class="western" %) 3034 3034 For Function type resource leave it blank. 3035 3035 ))) 3036 3036 |((( ... ... @@ -3041,20 +3041,10 @@ 3041 3041 Int 3042 3042 )))|((( 3043 3043 (% class="western" %) 3044 -Default limit is 25 but ifall the data needs to be pulled then pass limit=0.2970 +Default limit is 25 but all the data needs to be pulled then pass limit=0. 3045 3045 ))) 3046 -|(% colspan="1" %)(% colspan="1" %) 3047 -((( 3048 -FreePass 3049 -)))|(% colspan="1" %)(% colspan="1" %) 3050 -((( 3051 -Int 3052 -)))|(% colspan="1" %)(% colspan="1" %) 3053 -((( 3054 -Default value is 0. This parameter is used to provide access to protected content. 3055 -))) 3056 3056 3057 - \\2973 + 3058 3058 3059 3059 (% class="western" %) 3060 3060 **Type: Telemarketing** ... ... @@ -3144,12 +3144,8 @@ 3144 3144 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. 3145 3145 3146 3146 (% class="western" %) 3147 - \\3063 + 3148 3148 3149 3149 (% class="western" %) 3150 3150 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. 3151 3151 ))) 3152 - 3153 -\\ 3154 - 3155 -\\
- Confluence.Code.ConfluencePageClass[0]
-
- id
-
... ... @@ -1,1 +1,1 @@ 1 - 233318131 +3539010 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://info.onecount.net//wiki/spaces/OD/pages/ 23331813/ONEcount API Documentation1 +https://info.onecount.net//wiki/spaces/OD/pages/3539010/ONEcount API Documentation