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.m ikef1 +XWiki.omar - Content
-
... ... @@ -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} 1119 +{"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} 1177 +{"Title":"Test123","Description": "Testss","Terms":{"Name":"Product123"},"PrimaryFormId":10,"ResourceID":17} 1178 1178 ))) 1179 1179 1180 1180 (% class="wrapped" %) ... ... @@ -1615,6 +1615,9 @@ 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/"]} 1618 1618 ))) 1619 1619 1620 1620 (% class="wrapped" %) ... ... @@ -1673,6 +1673,9 @@ 1673 1673 1674 1674 (% class="western" %) 1675 1675 {"Name":"Test123","Description":Testss","Type":3,"Value":”/digital/”} 1679 + 1680 +(% class="western" %) 1681 +{"Name":"Test123","Description":Testss","Type":3,"Value":[”/digital/”, "/article/"]} 1676 1676 ))) 1677 1677 1678 1678 (% class="wrapped" %) ... ... @@ -2956,14 +2956,30 @@ 2956 2956 )))|((( 2957 2957 (% class="western" %) 2958 2958 String 2965 + 2966 +(% class="western" %) 2967 +or 2968 + 2969 +(% class="western" %) 2970 +Array 2959 2959 )))|((( 2960 2960 (% class="western" %) 2961 -Value of Resource Type .2973 +Value of Resource Type: 2962 2962 2963 2963 (% class="western" %) 2964 - Example:ifthe Type sent is3thenValuewouldbe**/digital/**2976 +When requesting a resource (GET), you should expect a string if there is only one value. If there are multiple values, you should expect an array. 2965 2965 2966 2966 (% 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" %) 2967 2967 For Function type resource leave it blank. 2968 2968 ))) 2969 2969 |(((
- Confluence.Code.ConfluencePageClass[0]
-
- id
-
... ... @@ -1,1 +1,1 @@ 1 -353901 41 +3539019 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://info.onecount.net//wiki/spaces/OD/pages/353901 4/ONEcount API Documentation1 +https://info.onecount.net//wiki/spaces/OD/pages/3539019/ONEcount API Documentation