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. omar1 +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: ... ... @@ -249,7 +249,6 @@ 249 249 250 250 251 251 252 -(% class="wrapped" %) 253 253 |((( 254 254 (% class="western" %) 255 255 **Method** ... ... @@ -369,7 +369,6 @@ 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** ... ... @@ -401,7 +401,6 @@ 401 401 402 402 403 403 404 -(% class="wrapped" %) 405 405 |((( 406 406 (% class="western" %) 407 407 **Response** ... ... @@ -428,7 +428,6 @@ 428 428 (% class="western" %) 429 429 **POST method should be used to create users.** 430 430 431 -(% class="wrapped" %) 432 432 |((( 433 433 (% class="western" %) 434 434 **Request** ... ... @@ -480,7 +480,6 @@ 480 480 CSV of ONEcount QuestionId's requested back in Users object in response. 481 481 ))) 482 482 483 -(% class="wrapped" %) 484 484 |((( 485 485 (% class="western" %) 486 486 **Response** ... ... @@ -507,7 +507,6 @@ 507 507 (% class="western" %) 508 508 **PUT method should be used to update users.** 509 509 510 -(% class="wrapped" %) 511 511 |((( 512 512 (% class="western" %) 513 513 **Request** ... ... @@ -549,7 +549,6 @@ 549 549 RequestDate to use for the demo update. If not provided current date will be used. 550 550 ))) 551 551 552 -(% class="wrapped" %) 553 553 |((( 554 554 (% class="western" %) 555 555 **Response** ... ... @@ -942,7 +942,7 @@ 942 942 } 943 943 944 944 (% class="western" %) 945 - 938 +\\ 946 946 947 947 (% class="western" %) 948 948 **COMPONENT: Products** ... ... @@ -1116,7 +1116,7 @@ 1116 1116 Example: 1117 1117 1118 1118 (% class="western" %) 1119 -{"Title":"Test123","Description": "Testss","Terms":{"Name":"Product123"},"PrimaryFormId":10,"ResourceID":17}1112 +{"Title":"Test123","Description":Testss","Terms":{"Name":"Product123"},"PrimaryFormId":10,"ResourceID":17} 1120 1120 ))) 1121 1121 1122 1122 (% class="wrapped" %) ... ... @@ -1174,7 +1174,7 @@ 1174 1174 **Example**: 1175 1175 1176 1176 (% class="western" %) 1177 -{"Title":"Test123","Description": "Testss","Terms":{"Name":"Product123"},"PrimaryFormId":10,"ResourceID":17}1170 +{"Title":"Test123","Description":Testss","Terms":{"Name":"Product123"},"PrimaryFormId":10,"ResourceID":17} 1178 1178 ))) 1179 1179 1180 1180 (% class="wrapped" %) ... ... @@ -1615,9 +1615,6 @@ 1615 1615 1616 1616 (% class="western" %) 1617 1617 {"Name":"Test123","Description":Testss","Type":3,"Value":”/digital/”} 1618 - 1619 -(% class="western" %) 1620 -{"Name":"Test123","Description":Testss","Type":3,"Value":[”/digital/”, "/article/"]} 1621 1621 ))) 1622 1622 1623 1623 (% class="wrapped" %) ... ... @@ -1676,9 +1676,6 @@ 1676 1676 1677 1677 (% class="western" %) 1678 1678 {"Name":"Test123","Description":Testss","Type":3,"Value":”/digital/”} 1679 - 1680 -(% class="western" %) 1681 -{"Name":"Test123","Description":Testss","Type":3,"Value":[”/digital/”, "/article/"]} 1682 1682 ))) 1683 1683 1684 1684 (% class="wrapped" %) ... ... @@ -2962,30 +2962,14 @@ 2962 2962 )))|((( 2963 2963 (% class="western" %) 2964 2964 String 2965 - 2966 -(% class="western" %) 2967 -or 2968 - 2969 -(% class="western" %) 2970 -Array 2971 2971 )))|((( 2972 2972 (% class="western" %) 2973 -Value of Resource Type :2954 +Value of Resource Type. 2974 2974 2975 2975 (% class="western" %) 2976 - 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/** 2977 2977 2978 2978 (% class="western" %) 2979 -For creating/updating a resource (POST/PUT), it is highly recommended to send an array - this will handle single and multiple value requests. 2980 - 2981 -(% class="western" %) 2982 -Example : 2983 - 2984 -(% class="western" %) 2985 -if the Type sent is 3 with one value then Value would be "**/digital/**" or **["/digital"/].** We recommend using the second approach of **["/digital"/].** ** 2986 -**if the Type sent is 3 with two values then Value would be ["**/digital/**", "**/articles/**"] 2987 - 2988 -(% class="western" %) 2989 2989 For Function type resource leave it blank. 2990 2990 ))) 2991 2991 |(((
- Confluence.Code.ConfluencePageClass[0]
-
- id
-
... ... @@ -1,1 +1,1 @@ 1 -353901 91 +3539010 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://info.onecount.net//wiki/spaces/OD/pages/353901 9/ONEcount API Documentation1 +https://info.onecount.net//wiki/spaces/OD/pages/3539010/ONEcount API Documentation