Comments (9)
You want to query all tickets?
Like this?
sb.Append ("<queryxml><entity>Ticket</entity>").Append (System.Environment.NewLine);
sb.Append ("<query><field>id<expression op=\"greaterthan\">0</expression></field></query>").Append (System.Environment.NewLine);
sb.Append ("</queryxml>").Append (System.Environment.NewLine);
from autotask-samples.
Yes, you can do multiple queries "conditions" together.
QueryXML:
<queryxml> <entity>contact</entity>
<query> <condition>
<field>firstname
<expression op=”equals”>Joe</expression>
</field> </condition>
<condition> <field>lastname
<expression op=”equals”>Smith</expression> </field>
</condition> </query>
</queryxml>
Just review whatever entity you want to query and then you can query on any of the fields that it supports.
from autotask-samples.
Thanks mate.
When i used the query u give me. It only shows the dates from 2012 not the current year.
We currenlty using Autotask, Did i missed something?
Does the query have limit, it seems the length is only 500 queries?
Thank you.
from autotask-samples.
Yes that is true, You have to page through the results for each 500 entries.
You could also change the query to something like createDateTime greaterThan some date.
Have you seen the API Docs about creating queries?
from autotask-samples.
Thank you so much
from autotask-samples.
How to i make this as queryxml?
"SELECT * from Ticket where CreatedDate >= 'Whole day ex.YYYY-MM-DD, will get all tickets within that day' AND 'select all ticket who have not been completed' "
Thank you
from autotask-samples.
Thank you very much.
from autotask-samples.
Hi Mate,
How can i retrieve the ticket history of a ticket and how would i get the task of a ticket?
from autotask-samples.
@abon22 have you looked at the Web Services API Documentation? It basically outlines all these questions. You usually have to get the Service Call, or Resource and then track down through associations to get this information.
from autotask-samples.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autotask-samples.