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

From version 3.1
edited by sonish
on 2017/04/03 16:44
Change comment: There is no comment for this version
To version 4.1
edited by sonish
on 2017/04/03 16:45
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -sonish-APIDocument-230317-1008-18
1 +OC-API-04032017
Content
... ... @@ -441,6 +441,7 @@
441 441  (% class="western" %)
442 442  There can be 6 types of questions:
443 443  
444 +(% class="wrapped" %)
444 444  |(((
445 445  (% class="western" align="center" %)
446 446  **Type**
... ... @@ -491,6 +491,7 @@
491 491  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.
492 492  )))
493 493  
495 +(% class="wrapped" %)
494 494  |(((
495 495  (% class="western" %)
496 496  **Method**
... ... @@ -563,6 +563,7 @@
563 563  (% class="western" %)
564 564  **GET method can be used to lookup questions.**
565 565  
568 +(% class="wrapped" %)
566 566  |(((
567 567  (% class="western" %)
568 568  **Request**
... ... @@ -593,6 +593,7 @@
593 593  Type: Look up the question type.
594 594  )))
595 595  
599 +(% class="wrapped" %)
596 596  |(((
597 597  (% class="western" %)
598 598  **Response**
... ... @@ -619,6 +619,7 @@
619 619  (% class="western" %)
620 620  **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).**
621 621  
626 +(% class="wrapped" %)
622 622  |(((
623 623  (% class="western" %)
624 624  **Request**
... ... @@ -640,6 +640,7 @@
640 640  This defines the question contents and possible responses.
641 641  )))
642 642  
648 +(% class="wrapped" %)
643 643  |(((
644 644  (% class="western" %)
645 645  **Response**
... ... @@ -666,6 +666,7 @@
666 666  (% class="western" %)
667 667  PUT method should be used to update question.
668 668  
675 +(% class="wrapped" %)
669 669  |(((
670 670  (% class="western" %)
671 671  **Request**
... ... @@ -687,6 +687,7 @@
687 687  This defines the question contents and responses.
688 688  )))
689 689  
697 +(% class="wrapped" %)
690 690  |(((
691 691  (% class="western" %)
692 692  **Response**
... ... @@ -792,6 +792,7 @@
792 792  (% class="western" %)
793 793  
794 794  
803 +(% class="wrapped" %)
795 795  |(((
796 796  (% class="western" %)
797 797  **Method**
... ... @@ -911,6 +911,7 @@
911 911  (% class="western" %)
912 912  **GET method should be used to lookup users.**
913 913  
923 +(% class="wrapped" %)
914 914  |(((
915 915  (% class="western" %)
916 916  **Request**
... ... @@ -942,6 +942,7 @@
942 942  
943 943  
944 944  
955 +(% class="wrapped" %)
945 945  |(((
946 946  (% class="western" %)
947 947  **Response**
... ... @@ -968,6 +968,7 @@
968 968  (% class="western" %)
969 969  **POST method should be used to create users.**
970 970  
982 +(% class="wrapped" %)
971 971  |(((
972 972  (% class="western" %)
973 973  **Request**
... ... @@ -1019,6 +1019,7 @@
1019 1019  CSV of ONEcount QuestionId's requested back in Users object in response.
1020 1020  )))
1021 1021  
1034 +(% class="wrapped" %)
1022 1022  |(((
1023 1023  (% class="western" %)
1024 1024  **Response**
... ... @@ -1045,6 +1045,7 @@
1045 1045  (% class="western" %)
1046 1046  **PUT method should be used to update users.**
1047 1047  
1061 +(% class="wrapped" %)
1048 1048  |(((
1049 1049  (% class="western" %)
1050 1050  **Request**
... ... @@ -1086,6 +1086,7 @@
1086 1086  RequestDate to use for the demo update. If not provided current date will be used.
1087 1087  )))
1088 1088  
1103 +(% class="wrapped" %)
1089 1089  |(((
1090 1090  (% class="western" %)
1091 1091  **Response**
... ... @@ -1124,6 +1124,7 @@
1124 1124  (% class="western" %)
1125 1125  This resource is for manipulating products resource. A product can be created, updated or searched.
1126 1126  
1142 +(% class="wrapped" %)
1127 1127  |(((
1128 1128  (% class="western" %)
1129 1129  **Method**
... ... @@ -1209,6 +1209,7 @@
1209 1209  (% class="western" %)
1210 1210  **GET method should be used to lookup products.**
1211 1211  
1228 +(% class="wrapped" %)
1212 1212  |(((
1213 1213  (% class="western" %)
1214 1214  **Request**
... ... @@ -1236,6 +1236,7 @@
1236 1236  Name: Name of the Product for lookup (String)
1237 1237  )))
1238 1238  
1256 +(% class="wrapped" %)
1239 1239  |(((
1240 1240  (% class="western" %)
1241 1241  **Response**
... ... @@ -1262,6 +1262,7 @@
1262 1262  (% class="western" %)
1263 1263  **POST method should be used to create products.**
1264 1264  
1283 +(% class="wrapped" %)
1265 1265  |(((
1266 1266  (% class="western" %)
1267 1267  **Request**
... ... @@ -1289,6 +1289,7 @@
1289 1289  {"Title":"Test123","Description":Testss","Terms":{"Name":"Product123"},"PrimaryFormId":10,"ResourceID":17}
1290 1290  )))
1291 1291  
1311 +(% class="wrapped" %)
1292 1292  |(((
1293 1293  (% class="western" %)
1294 1294  **Response**
... ... @@ -1315,6 +1315,7 @@
1315 1315  (% class="western" %)
1316 1316  PUT method should be used to update an individual product given the product info.
1317 1317  
1338 +(% class="wrapped" %)
1318 1318  |(((
1319 1319  (% class="western" %)
1320 1320  **Request**
... ... @@ -1345,6 +1345,7 @@
1345 1345  {"Title":"Test123","Description":Testss","Terms":{"Name":"Product123"},"PrimaryFormId":10,"ResourceID":17}
1346 1346  )))
1347 1347  
1369 +(% class="wrapped" %)
1348 1348  |(((
1349 1349  (% class="western" %)
1350 1350  **Response**
... ... @@ -1374,6 +1374,7 @@
1374 1374  (% class="western" %)
1375 1375  This resource is for manipulating terms resource. A term can be created, updated or searched.
1376 1376  
1399 +(% class="wrapped" %)
1377 1377  |(((
1378 1378  (% class="western" %)
1379 1379  **Method**
... ... @@ -1430,6 +1430,7 @@
1430 1430  (% class="western" %)
1431 1431  **GET method should be used to lookup products.**
1432 1432  
1456 +(% class="wrapped" %)
1433 1433  |(((
1434 1434  (% class="western" %)
1435 1435  **Request**
... ... @@ -1457,6 +1457,7 @@
1457 1457  Name: Name of the term for lookup (String)
1458 1458  )))
1459 1459  
1484 +(% class="wrapped" %)
1460 1460  |(((
1461 1461  (% class="western" %)
1462 1462  **Response**
... ... @@ -1483,6 +1483,7 @@
1483 1483  (% class="western" %)
1484 1484  **POST method should be used to create products.**
1485 1485  
1511 +(% class="wrapped" %)
1486 1486  |(((
1487 1487  (% class="western" %)
1488 1488  **Request**
... ... @@ -1513,6 +1513,7 @@
1513 1513  {"Name":"Test123","Description":Testss","Duration":10,"ProductId":17}
1514 1514  )))
1515 1515  
1542 +(% class="wrapped" %)
1516 1516  |(((
1517 1517  (% class="western" %)
1518 1518  **Response**
... ... @@ -1539,6 +1539,7 @@
1539 1539  (% class="western" %)
1540 1540  PUT method should be used to update an individual term given the term info.
1541 1541  
1569 +(% class="wrapped" %)
1542 1542  |(((
1543 1543  (% class="western" %)
1544 1544  **Request**
... ... @@ -1569,6 +1569,7 @@
1569 1569  {"Name":"Test123","Description":Testss","Duration":10,"ProductId":17}
1570 1570  )))
1571 1571  
1600 +(% class="wrapped" %)
1572 1572  |(((
1573 1573  (% class="western" %)
1574 1574  **Response**
... ... @@ -1598,6 +1598,7 @@
1598 1598  (% class="western" %)
1599 1599  This resource is for manipulating resources resource. A resource can be created, updated or searched.
1600 1600  
1630 +(% class="wrapped" %)
1601 1601  |(((
1602 1602  (% class="western" %)
1603 1603  **Method**
... ... @@ -1654,6 +1654,7 @@
1654 1654  (% class="western" %)
1655 1655  **GET method should be used to lookup products.**
1656 1656  
1687 +(% class="wrapped" %)
1657 1657  |(((
1658 1658  (% class="western" %)
1659 1659  **Request**
... ... @@ -1681,6 +1681,7 @@
1681 1681  Name: Name of the resource for lookup (String)
1682 1682  )))
1683 1683  
1715 +(% class="wrapped" %)
1684 1684  |(((
1685 1685  (% class="western" %)
1686 1686  **Response**
... ... @@ -1707,6 +1707,7 @@
1707 1707  (% class="western" %)
1708 1708  **POST method should be used to create products.**
1709 1709  
1742 +(% class="wrapped" %)
1710 1710  |(((
1711 1711  (% class="western" %)
1712 1712  **Request**
... ... @@ -1737,6 +1737,7 @@
1737 1737  {"Name":"Test123","Description":Testss","Type":3,"Value":”/digital/”}
1738 1738  )))
1739 1739  
1773 +(% class="wrapped" %)
1740 1740  |(((
1741 1741  (% class="western" %)
1742 1742  **Response**
... ... @@ -1763,6 +1763,7 @@
1763 1763  (% class="western" %)
1764 1764  PUT method should be used to update an individual resource given the resource info.
1765 1765  
1800 +(% class="wrapped" %)
1766 1766  |(((
1767 1767  (% class="western" %)
1768 1768  **Request**
... ... @@ -1793,6 +1793,7 @@
1793 1793  {"Name":"Test123","Description":Testss","Type":3,"Value":”/digital/”}
1794 1794  )))
1795 1795  
1831 +(% class="wrapped" %)
1796 1796  |(((
1797 1797  (% class="western" %)
1798 1798  **Response**
... ... @@ -1828,6 +1828,7 @@
1828 1828  (% class="western" %)
1829 1829  This resource is for manipulating sources resource. A source can be created, updated or searched.
1830 1830  
1867 +(% class="wrapped" %)
1831 1831  |(((
1832 1832  (% class="western" %)
1833 1833  **Method**
... ... @@ -1884,6 +1884,7 @@
1884 1884  (% class="western" %)
1885 1885  **Sources can be looked up given the code or Id. GET method should be used for lookup.**
1886 1886  
1924 +(% class="wrapped" %)
1887 1887  |(((
1888 1888  (% class="western" %)
1889 1889  **Request**
... ... @@ -1911,6 +1911,7 @@
1911 1911  Source: Source value (String)
1912 1912  )))
1913 1913  
1952 +(% class="wrapped" %)
1914 1914  |(((
1915 1915  (% class="western" %)
1916 1916  **Response**
... ... @@ -1940,6 +1940,7 @@
1940 1940  (% class="western" %)
1941 1941  POST method should be used to create an individual source given the source parameters.
1942 1942  
1982 +(% class="wrapped" %)
1943 1943  |(((
1944 1944  (% class="western" %)
1945 1945  **Request**
... ... @@ -1961,6 +1961,7 @@
1961 1961  Defines the contents that makes up the source. Id parameters should not be set.
1962 1962  )))
1963 1963  
2004 +(% class="wrapped" %)
1964 1964  |(((
1965 1965  (% class="western" %)
1966 1966  **Response**
... ... @@ -1987,6 +1987,7 @@
1987 1987  (% class="western" %)
1988 1988  **PUT method can be used to update an individual source given the id.**
1989 1989  
2031 +(% class="wrapped" %)
1990 1990  |(((
1991 1991  (% class="western" %)
1992 1992  **Request**
... ... @@ -2008,6 +2008,7 @@
2008 2008  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.
2009 2009  )))
2010 2010  
2053 +(% class="wrapped" %)
2011 2011  |(((
2012 2012  (% class="western" %)
2013 2013  **Response**
... ... @@ -2040,6 +2040,7 @@
2040 2040  (% class="western" %)
2041 2041  This resource is for manipulating transactions resource. A transaction can be created or searched.
2042 2042  
2086 +(% class="wrapped" %)
2043 2043  |(((
2044 2044  (% class="western" %)
2045 2045  **Method**
... ... @@ -2089,6 +2089,7 @@
2089 2089  (% class="western" %)
2090 2090  Transactions can be looked up using transactionId, date range, userid. Use GET method to do lookup.
2091 2091  
2136 +(% class="wrapped" %)
2092 2092  |(((
2093 2093  (% class="western" %)
2094 2094  **Request**
... ... @@ -2126,6 +2126,7 @@
2126 2126  
2127 2127  
2128 2128  
2174 +(% class="wrapped" %)
2129 2129  |(((
2130 2130  (% class="western" %)
2131 2131  **Response**
... ... @@ -2152,6 +2152,7 @@
2152 2152  (% class="western" %)
2153 2153  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.
2154 2154  
2201 +(% class="wrapped" %)
2155 2155  |(((
2156 2156  (% class="western" %)
2157 2157  **Request**
... ... @@ -2173,6 +2173,7 @@
2173 2173  Contains fields that define a transaction. Id field should not be set.
2174 2174  )))
2175 2175  
2223 +(% class="wrapped" %)
2176 2176  |(((
2177 2177  (% class="western" %)
2178 2178  **Response**
... ... @@ -2224,6 +2224,7 @@
2224 2224  
2225 2225  This resource is for manipulating telemarketing stat resource. A telemarketing stat can be created or listed.
2226 2226  
2275 +(% class="wrapped" %)
2227 2227  |(((
2228 2228  (% class="western" %)
2229 2229  **Method**
... ... @@ -2270,6 +2270,7 @@
2270 2270  (% class="western" %)
2271 2271  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.
2272 2272  
2322 +(% class="wrapped" %)
2273 2273  |(((
2274 2274  (% class="western" %)
2275 2275  **Request**
... ... @@ -2343,6 +2343,7 @@
2343 2343  
2344 2344  )))
2345 2345  
2396 +(% class="wrapped" %)
2346 2346  |(((
2347 2347  (% class="western" %)
2348 2348  **Response**
... ... @@ -2372,6 +2372,7 @@
2372 2372  (% class="western" %)
2373 2373  **Type: Questions**
2374 2374  
2426 +(% class="wrapped" %)
2375 2375  |(((
2376 2376  (% class="western" %)
2377 2377  **Property Name**
... ... @@ -2451,6 +2451,7 @@
2451 2451  (% class="western" %)
2452 2452  **Type: Choices**
2453 2453  
2506 +(% class="wrapped" %)
2454 2454  |(((
2455 2455  (% class="western" %)
2456 2456  **Property Name**
... ... @@ -2517,6 +2517,7 @@
2517 2517  (% class="western" %)
2518 2518  **Type: Users**
2519 2519  
2573 +(% class="wrapped" %)
2520 2520  |(((
2521 2521  (% class="western" %)
2522 2522  **Property Name**
... ... @@ -2573,6 +2573,7 @@
2573 2573  (% class="western" %)
2574 2574  **Type: Demo**
2575 2575  
2630 +(% class="wrapped" %)
2576 2576  |(((
2577 2577  (% class="western" %)
2578 2578  **Property Name**
... ... @@ -2619,6 +2619,7 @@
2619 2619  (% class="western" %)
2620 2620  **Type: Transactions**
2621 2621  
2677 +(% class="wrapped" %)
2622 2622  |(((
2623 2623  (% class="western" %)
2624 2624  **Property Name**
... ... @@ -2765,6 +2765,7 @@
2765 2765  (% class="western" %)
2766 2766  **Type: Sources**
2767 2767  
2824 +(% class="wrapped" %)
2768 2768  |(((
2769 2769  (% class="western" %)
2770 2770  **Property Name**
... ... @@ -2824,6 +2824,7 @@
2824 2824  (% class="western" %)
2825 2825  **Type: Products**
2826 2826  
2884 +(% class="wrapped" %)
2827 2827  |(((
2828 2828  (% class="western" %)
2829 2829  **Property Name**
... ... @@ -2880,6 +2880,7 @@
2880 2880  (% class="western" %)
2881 2881  **Type: Terms**
2882 2882  
2941 +(% class="wrapped" %)
2883 2883  |(((
2884 2884  (% class="western" %)
2885 2885  **Property Name**
... ... @@ -2966,6 +2966,7 @@
2966 2966  (% class="western" %)
2967 2967  **Type: Resources**
2968 2968  
3028 +(% class="wrapped" %)
2969 2969  |(((
2970 2970  (% class="western" %)
2971 2971  **Property Name**
... ... @@ -3063,6 +3063,7 @@
3063 3063  (% class="western" %)
3064 3064  **Type: Telemarketing**
3065 3065  
3126 +(% class="wrapped" %)
3066 3066  |(((
3067 3067  (% class="western" %)
3068 3068  **Property Name**
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,1 @@
1 -3538998
1 +3539005
url
... ... @@ -1,1 +1,1 @@
1 -https://info.onecount.net//wiki/spaces/OD/pages/3538998/sonish-APIDocument-230317-1008-18
1 +https://info.onecount.net//wiki/spaces/OD/pages/3539005/OC-API-04032017