Last modified by Admin on 2025/06/27 12:14

From version 10.1
edited by mikef
on 2017/04/12 18:28
Change comment: There is no comment for this version
To version 8.1
edited by mikef
on 2017/04/05 14:01
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -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:
2961 +Value of Resource Type.
2974 2974  
2975 2975  (% class="western" %)
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.
2964 +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 -3539018
1 +3539014
url
... ... @@ -1,1 +1,1 @@
1 -https://info.onecount.net//wiki/spaces/OD/pages/3539018/ONEcount API Documentation
1 +https://info.onecount.net//wiki/spaces/OD/pages/3539014/ONEcount API Documentation