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

From version 6.1
edited by Admin
on 2017/04/05 10:47
Change comment: There is no comment for this version
To version 5.1
edited by Admin
on 2017/04/05 10:32
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -21,43 +21,151 @@
21 21  )))
22 22  
23 23  (% class="western" %)
24 -Specifically, the ONEcount API provides to the following components:
24 +Specifically, the ONEcount API provides following functionalities:
25 25  
26 -1. User data
27 -11. List users
28 -11. Lookup users
29 -11. Create users
30 -11. Update users
31 -1. Transaction data
32 -11. Lookup transactions
33 -11. Create transactions
34 -\\
35 -1. Product data
36 -11. Lookup products
37 -11. Create products
38 -11. Update products
39 -1. Term Data
40 -11. Lookup terms
41 -11. Create terms
42 -11. Update terms
43 -1. Resource Data
44 -11. Lookup resources
45 -11. Create resources
46 -11. Update resources
47 -1. Questions
48 -11. Lookup questions
49 -11. List questions
50 -11. Create questions
51 -1. Source Codes
52 -11. Lookup source code
53 -11. Create source codes
54 -11. Update source codes
55 -1. Attach a resource to a product
56 -1. Leads
57 -11. Create a lead
58 -\\\\\\
26 +1. (((
27 +(% class="western" %)
28 +**Lookup**
59 59  
30 +*
31 +
60 60  (% class="western" %)
33 +User lookup
34 +
35 +*
36 +
37 +(% class="western" %)
38 +Transaction lookup
39 +
40 +*
41 +
42 +(% class="western" %)
43 +Question lookup
44 +
45 +*
46 +
47 +(% class="western" %)
48 +Source code lookup
49 +
50 +*
51 +
52 +(% class="western" %)
53 +Product lookup
54 +
55 +*
56 +
57 +(% class="western" %)
58 +Term lookup
59 +
60 +*
61 +
62 +(% class="western" %)
63 +Resource lookup
64 +)))
65 +1. (((
66 +(% class="western" %)
67 +**Create**
68 +
69 +*
70 +
71 +(% class="western" %)
72 +Add a user/demo
73 +
74 +*
75 +
76 +(% class="western" %)
77 +Add a question
78 +
79 +*
80 +
81 +(% class="western" %)
82 +Add user transaction
83 +
84 +*
85 +
86 +(% class="western" %)
87 +Add source code
88 +
89 +*
90 +
91 +(% class="western" %)
92 +Add Product
93 +
94 +*
95 +
96 +(% class="western" %)
97 +Add Term
98 +
99 +*
100 +
101 +(% class="western" %)
102 +Add Resource
103 +
104 +*
105 +
106 +(% class="western" %)
107 +Stats – Telemarketing
108 +)))
109 +1. (((
110 +(% class="western" %)
111 +**Update**
112 +
113 +*
114 +
115 +(% class="western" %)
116 +Update a user/demo
117 +
118 +*
119 +
120 +(% class="western" %)
121 +Update a question
122 +
123 +*
124 +
125 +(% class="western" %)
126 +Update source code
127 +
128 +*
129 +
130 +(% class="western" %)
131 +Update product
132 +
133 +*
134 +
135 +(% class="western" %)
136 +Update term
137 +
138 +*
139 +
140 +(% class="western" %)
141 +Update resource
142 +)))
143 +1. (((
144 +(% class="western" %)
145 +**List**
146 +
147 +*
148 +
149 +(% class="western" %)
150 +ListQuestions
151 +
152 +*
153 +
154 +(% class="western" %)
155 +ListSourceCodes
156 +)))
157 +1. **Attach**
158 +
159 +*
160 +** (((
161 +(% class="western" %)
162 +Attach resource to product
163 +)))
164 +
165 +(% class="western" %)
166 +
167 +
168 +(% class="western" %)
61 61  **Accessing API**
62 62  
63 63  (% class="western" %)
... ... @@ -94,7 +94,7 @@
94 94  
95 95  
96 96  (% class="western" %)
97 -**General API Usage**
205 +**API Usage**
98 98  
99 99  (% class="western" %)
100 100  The request data in POST (for create and update) will consist of request parameters required by each method in JSON format. Value of resource will determine which resource is being requested and the access method will determine whether you are trying to create, update or lookup that resource.
... ... @@ -236,15 +236,45 @@
236 236  **
237 237  **
238 238  
239 -
347 +(% class="western" %)
348 +**Resources**
240 240  
241 241  (% class="western" %)
242 -**RESOURCE: Questions**
351 +Resources are the available entities that can be accessed/modified via API. Each resource can be created, updated or requested by using the corresponding http method described above.
243 243  
353 +* (((
244 244  (% class="western" %)
245 -All data fields in ONEcount are made up of questions. Questions are configurable on a per-client basis, and no two customer installations will have the same question (ie., field) layout. Therefore, before querying or updating any ONEcount installation, you'll need to get an understanding of the question layout of the installation. This API segment will allow you to query ONEcount to determine the question layout for the installation. It will also allow you to create new questions within the system. This resource does not allow you to update the data for a specific user (see User section).
355 +questions
356 +)))
357 +* (((
358 +(% class="western" %)
359 +users
360 +)))
361 +* (((
362 +(% class="western" %)
363 +products
364 +)))
365 +* (((
366 +(% class="western" %)
367 +terms
368 +)))
369 +* (((
370 +(% class="western" %)
371 +resources
372 +)))
373 +* (((
374 +(% class="western" %)
375 +sources
376 +)))
377 +* (((
378 +(% class="western" %)
379 +transactions
380 +)))
246 246  
247 247  (% class="western" %)
383 +**Questions**
384 +
385 +(% class="western" %)
248 248  This resource is for manipulating questions resource. Questions in ONEcount means any question that is asked to the subscriber. It could be any questions that appears on customer forms or print forms that gets answered by a subscriber. Questions api call will allow creation, update and search of question in ONEcount. To add a new questions to the system you'll make a POST api call to the questions resource.
249 249  
250 250  (% class="western" %)
... ... @@ -589,7 +589,7 @@
589 589  
590 590  (% class="western" %)
591 591  
592 -**RESOURCE: Users**
730 +**Users**
593 593  
594 594  (% class="western" %)
595 595  Users means the customers of your system. Users can be added, updated and searched for using the users resource from the api. For lookup, If a return parameter is specified Users object will have those fields. If nothing is specified by default only UserId is returned.
... ... @@ -1665,41 +1665,9 @@
1665 1665  
1666 1666  
1667 1667  (% class="western" %)
1668 -**Resources**
1806 +
1669 1669  
1670 1670  (% class="western" %)
1671 -Resources are the available entities that can be accessed/modified via API. Each resource can be created, updated or requested by using the corresponding http method described above.
1672 -
1673 -* (((
1674 -(% class="western" %)
1675 -questions
1676 -)))
1677 -* (((
1678 -(% class="western" %)
1679 -users
1680 -)))
1681 -* (((
1682 -(% class="western" %)
1683 -products
1684 -)))
1685 -* (((
1686 -(% class="western" %)
1687 -terms
1688 -)))
1689 -* (((
1690 -(% class="western" %)
1691 -resources
1692 -)))
1693 -* (((
1694 -(% class="western" %)
1695 -sources
1696 -)))
1697 -* (((
1698 -(% class="western" %)
1699 -transactions
1700 -)))
1701 -
1702 -(% class="western" %)
1703 1703  
1704 1704  
1705 1705  (% class="western" %)
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,1 @@
1 -3539009
1 +3539007
url
... ... @@ -1,1 +1,1 @@
1 -https://info.onecount.net//wiki/spaces/OD/pages/3539009/ONEcount API Documentation
1 +https://info.onecount.net//wiki/spaces/OD/pages/3539007/ONEcount API Documentation