API Forum
Using our API? Please let us know if you have any questions or suggestions, as our technical support team will gladly help.
-
Token = Admin data access token or Employee App token?
Their are two types of Data Access Tokens:
1 - An admin data access token that provides access to all information in the database.
or
2 - An employee data access token for apps that provides access to only information that employee has access too.So how do you figure out which token is entered?
>>>>>>>>>>>>>
The following is some C# code for requesting the User's Employee ID and checking to see if it's the admin token or not.
The code leverages the .NET common library found here (can just download the dll and reference that directly – don’t need… more
1 vote -
Calculate estimated Client Costs
Estimated client cost is the calculated amount used for billing clients (or for charge back) for tasks or projects.
For each task assignment, the factors used in calculating estimated client costs are:
Estimated hours: The estimated number of hours required by an employee to finish the task.
Task Prorating: A multiplier assigned to the task. Used when you charge clients more (or less) for time spent on specific tasks. This is initially set using the value in the task's prorating field.
Rate charged: The hourly rate charged (billable rate) for the employee assigned to the task.
Estimated client cost =… more
1 vote -
Calculate estimated Company Costs
Estimated company cost is the calculated amount used to determine your company's estimated cost to accomplish a task or project.
For each task assignment, the factors used in calculating estimated company costs are:
Estimated hours: The estimated number of hours required by an employee to finish the task.
Rate of wages: The hourly wage rate (pay rate) for the employee assigned to the task.
Estimated company cost = estimate hours x rate of wages
More info: http://www.dovico.com/help/dpt3/management_tools/misc_info/client_and_company_costs.htm
1 vote -
Calculate actual Client Costs
Client cost is the calculated amount used for billing clients (or charge back) for tasks or projects.
For each approved time entry, the factors used in calculating client costs are:
Billable Hours worked: The number of billable hours worked by an employee on the task.
Task Prorating: A multiplier assigned to the task. Used when you charge clients more (or less) for time spent on specific tasks. This is initially set using the value in the task's prorating field.
Rate charged: The hourly rate charged (billable rate) for the employee assigned to the task.
Overtime (OT) charge prorating: An overtime… more
1 vote -
Calculate actual Company Costs
To figure out Client Costs use the following formula:
Actual company cost is the calculated amount used to determine your company's cost to accomplish a task or project.
For each approved time entry, the factors used in calculating company costs are:
Hours worked: The number of hours worked by an employee on the task.
Rate of wages: The hourly wage rate (pay rate) for the employee assigned to the task.
Overtime (OT) wage prorating: An overtime multiplier assigned to the employee's rate of wages value. This multiplier is initially set using the prorating field in the overtime rates view.
Company… more
1 vote -
Use Assignments?
How do Assignments work?
I'm wanting to get the estimated hours like the Budgeted Time & Cost screen.I can get the projects.
Then the time entries for the project.
Then the tasks for each time entry.
But this only gives time actually entered.It looks like assignments are the thing that links project, tasks and employee together because the ItemId can be of many different types. But with only having:
<GetAssignmentsURI>*</GetAssignmentsURI>
<GetItemURI>*</GetItemURI>I can't see how we are supposed to use these to get the relationships.
Can anyone help please?
1 vote -
Curl in Linux format as API Help docs show only Win32 examples.
Within the API help documentation Curl syntax is based on the win32 version of curl. But the syntax is slightly different in Linux; escape characters for the double quotes in the header change to backslashes instead of double quotes.
So try this command syntax,
curl -H "Authorization: WRAP access_token=\"client=ConsumerSecret&user_token=UserToken\"" -k https://api.dovico.com/employees/?version=1
1 vote -
WhiteSpace handled badly
After struggling with many 400 Bad Requests, I discovered that the web service handles white space badly.
For example, sending
<Projects>
<Project>
<Name>Test Project</Name>
</Project>
</Projects>Which is valid and well formed XML, will always fail went send to the web service with 400 bad Request.
<Projects><Project><Name>Test Project</Name></Project></Projects>
with no whitespace, will suceed.
This may be a pitfall other developers should be aware of.
1 voteunder review ·
AdminMartin
(Forum Admin, DOVICO Software)
responded
Dec 19 2011 – We will review this item within the architecture of the API as well. Thanks Chris for pointing this out to developers.
-
Implement an API call for Expense Attachments
I would like the ability to make an api call for attachments to a particular expense.
5 votes