Read Ticket
Retrieves the details of a Ticket object that has been previously created.
Parameters
Path Params | |
---|---|
yourCompany: | string |
Query Params | |
---|---|
filter: | string
https://xyzcompany.agiliron.net/agiliron/api-40/Ticket?filter=Title,eq,New ticket;Test CheckBox,eq,no&key=xyzkey
https://xyzcompany.agiliron.net/agiliron/api-40/Ticket?filter=CreatedTime,bt,01-15-2020 | 01-31-2020&key=xyzkey
https://xyzcompany.agiliron.net/agiliron/api-40/Ticket?filter=CreatedTime,bt,01-15-2020 01:03:10| 01-31-2020 20:00:00&key=xyzkey
https://xyzcompany.agiliron.net/agiliron/api-40/Ticket?filter=Status,eq,Open OR In Progress&key=xyzkey
https://xyzcompany.agiliron.net/agiliron/api-40/Ticket?filter=TicketId,eq,3422&key=xyzkey List of condition abbrevations to be used: |
Header Params | |
---|---|
key: | string |
Query Auth | |
---|---|
key: | string |
Header Auth | |
---|---|
apiKey: | string |
Sample Code
{
"Tickets": {
"Ticket": [{
"TicketId": "200562",
"Title": "Test New ticket",
"AssignedTo": "User",
"AssignedToName": "admin",
"RelatedToType": "Accounts",
"RelatedToValue": "Joh doe",
"ProductName": "",
"ProductCode": "",
"Priority": "Low",
"Severity": "Minor",
"Status": "Open",
"Category": "Big Problem",
"CreatedTime": "12-11-2020 05:51:13",
"CreatedTimeUTC": "01-24-2020 15:01:35",
"ModifiedTime": "12-11-2020 05:55:29",
"ModifiedTimeUTC": "01-24-2020 15:05:56",
"Description": "",
"Solution": "",
"Comments": "",
"TicketCustomFields": {
"CustomField": [{
"Name": "CustomFied1",
"Value": "Custom info 1"
},
{
"Name": "CustomFied2",
"Value": "Custom info 2"
}
]
}
}],
"TotalRecords": "1",
"CurrentPage": "1",
"TotalPages": "1",
"PageSize": "50"
}
}
<Tickets>
<Ticket>
<TicketId>200562</TicketId>
<Title>Test New ticket</Title>
<AssignedTo>User</AssignedTo>
<AssignedToName>admin</AssignedToName>
<RelatedToType>Accounts</RelatedToType>
<RelatedToValue>Joh doe</RelatedToValue>
<ProductName></ProductName>
<ProductCode></ProductCode>
<Priority>Low</Priority>
<Severity>Minor</Severity>
<Status>Open</Status>
<Category>Big Problem</Category>
<CreatedTime>12-11-2020 05:51:13</CreatedTime>
<CreatedTimeUTC>01-24-2020 15:01:35</CreatedTimeUTC>
<ModifiedTime>12-11-2020 05:55:29</ModifiedTime>
<ModifiedTimeUTC>01-24-2020 15:05:56</ModifiedTimeUTC>
<Description></Description>
<Solution></Solution>
<Comments></Comments>
<TicketCustomFields>
<CustomField>
<Name>CustomFied1</Name>
<Value>Custom info 1</Value>
</CustomField>
<CustomField>
<Name>CustomFied2</Name>
<Value>Custom info 2</Value>
</CustomField>
</TicketCustomFields>
</Ticket>
<TotalRecords>1</TotalRecords>
<CurrentPage>1</CurrentPage>
<TotalPages>1</TotalPages>
<PageSize>50</PageSize>
</Tickets>
WADL
<?xml version="1.0" encoding="utf-8"?>
<application>
<resources base="https://{yourCompany}.agiliron.net/agiliron/api-40/">
<resource path="Ticket">
<method name="GET">
<request>
<param name="key" type="xsd:string" style="query" required="true"/>
<param name="Filter" type="xsd:string" style="query"/>
</request>
<response status="200">
<representation mediaType="application/xml" element="yn:ResultSet"/>
</response>
<response status="400">
<representation mediaType="application/xml" element="ya:Error"/>
</response>
</method>
</resource>
</resources>
</application>
Updated about 21 hours ago