POST api/Ticket/RetrieveTicketsWithSummary
No documentation available.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
req | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "AccountIds": [ 1, 2, 3 ], "CategoryIds": [ 1, 2, 3 ], "PriorityIds": [ 1, 2, 3 ], "StatusIds": [ 1, 2, 3 ], "TicketIds": [ 1, 2, 3 ], "IsTicketDataIncluded": true, "IsSummaryDataIncluded": true, "CreatedDateFrom": "2025-04-04T00:05:11.105066+02:00", "CreatedDateTo": "2025-04-04T00:05:11.105066+02:00", "SortOrder": 3, "Token": "sample string 4", "FreeText": "sample string 5", "GroupIds": [ 1, 2, 3 ], "FromIndex": 6, "ToIndex": 7, "IsWebCalling": true, "RequestMode": "sample string 9", "Client": "sample string 10", "AppVersion": "sample string 11", "AppOperatingSystem": "sample string 12", "AppName": "sample string 13", "MasterUserID": 14, "IsRecurringRequest": true }
text/html
Sample:
{"AccountIds":[1,2,3],"CategoryIds":[1,2,3],"PriorityIds":[1,2,3],"StatusIds":[1,2,3],"TicketIds":[1,2,3],"IsTicketDataIncluded":true,"IsSummaryDataIncluded":true,"CreatedDateFrom":"2025-04-04T00:05:11.105066+02:00","CreatedDateTo":"2025-04-04T00:05:11.105066+02:00","SortOrder":3,"Token":"sample string 4","FreeText":"sample string 5","GroupIds":[1,2,3],"FromIndex":6,"ToIndex":7,"IsWebCalling":true,"RequestMode":"sample string 9","Client":"sample string 10","AppVersion":"sample string 11","AppOperatingSystem":"sample string 12","AppName":"sample string 13","MasterUserID":14,"IsRecurringRequest":true}
application/xml, text/xml
Sample:
<APITicketWithSummaryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Model.APIModels"> <AppName xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">sample string 13</AppName> <AppOperatingSystem xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">sample string 12</AppOperatingSystem> <AppVersion xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">sample string 11</AppVersion> <Client xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">sample string 10</Client> <FreeText xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">sample string 5</FreeText> <FromIndex xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">6</FromIndex> <GroupIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> <d2p1:int>3</d2p1:int> </GroupIds> <IsRecurringRequest xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">true</IsRecurringRequest> <IsWebCalling xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">true</IsWebCalling> <MasterUserID xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">14</MasterUserID> <RequestMode xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">sample string 9</RequestMode> <ToIndex xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">7</ToIndex> <Token xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">sample string 4</Token> <AccountIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> <d2p1:int>3</d2p1:int> </AccountIds> <CategoryIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> <d2p1:int>3</d2p1:int> </CategoryIds> <CreatedDateFrom>2025-04-04T00:05:11.105066+02:00</CreatedDateFrom> <CreatedDateTo>2025-04-04T00:05:11.105066+02:00</CreatedDateTo> <IsSummaryDataIncluded>true</IsSummaryDataIncluded> <IsTicketDataIncluded>true</IsTicketDataIncluded> <PriorityIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> <d2p1:int>3</d2p1:int> </PriorityIds> <SortOrder>3</SortOrder> <StatusIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> <d2p1:int>3</d2p1:int> </StatusIds> <TicketIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> <d2p1:int>3</d2p1:int> </TicketIds> </APITicketWithSummaryRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
{ "TicketData": [ { "ID": 1, "TicketNo": "sample string 2", "AccountID": 1, "VehicleID": 1, "UserID": 1, "CategoryID": 1, "PriorityID": 1, "StatusID": 1, "DateCreated": "2025-04-04T00:05:11.1353388+02:00", "ClosedDate": "2025-04-04T00:05:11.1353388+02:00", "Notes": "sample string 4", "Description": "sample string 5", "CategoryName": "sample string 6", "PriorityName": "sample string 7", "StatusName": "sample string 8", "AccountNo": "sample string 9", "UserName": "sample string 10", "RegistrationNumber": "sample string 11", "AccessRights": { "HasRetrieveAccess": true, "HasUpdateAccess": true, "HasDeleteAccess": true, "HasCreateAccess": true } }, { "ID": 1, "TicketNo": "sample string 2", "AccountID": 1, "VehicleID": 1, "UserID": 1, "CategoryID": 1, "PriorityID": 1, "StatusID": 1, "DateCreated": "2025-04-04T00:05:11.1353388+02:00", "ClosedDate": "2025-04-04T00:05:11.1353388+02:00", "Notes": "sample string 4", "Description": "sample string 5", "CategoryName": "sample string 6", "PriorityName": "sample string 7", "StatusName": "sample string 8", "AccountNo": "sample string 9", "UserName": "sample string 10", "RegistrationNumber": "sample string 11", "AccessRights": { "HasRetrieveAccess": true, "HasUpdateAccess": true, "HasDeleteAccess": true, "HasCreateAccess": true } }, { "ID": 1, "TicketNo": "sample string 2", "AccountID": 1, "VehicleID": 1, "UserID": 1, "CategoryID": 1, "PriorityID": 1, "StatusID": 1, "DateCreated": "2025-04-04T00:05:11.1353388+02:00", "ClosedDate": "2025-04-04T00:05:11.1353388+02:00", "Notes": "sample string 4", "Description": "sample string 5", "CategoryName": "sample string 6", "PriorityName": "sample string 7", "StatusName": "sample string 8", "AccountNo": "sample string 9", "UserName": "sample string 10", "RegistrationNumber": "sample string 11", "AccessRights": { "HasRetrieveAccess": true, "HasUpdateAccess": true, "HasDeleteAccess": true, "HasCreateAccess": true } } ], "SummaryData": { "TotalTickets": 1, "OpenTickets": 2, "ClosedTickets": 3 }, "Success": true, "ErrorMessage": "sample string 2", "MenuAccessData": { "HasAccessToMap": true, "HasAccessToVehicle": true, "HasAccessToVehicleAdministration": true, "HasAccessToDriver": true, "HasAccessToPOI": true, "HasAccessToReports": true, "HasAccessToSettings": true, "HasAccessToTrips": true, "HasAccessToTranslations": true, "HasAccessToDashboard": true, "HasAccessToLogBook": true, "HasAccessToGroup": true, "HasAccessToTemplate": true, "HasAccessToUnit": true, "HasAccessToUser": true, "HasAccessToTicket": true, "HasAccessToContract": true, "HasAccessToSIM": true, "HasAccessToCommand": true, "HasAccessToUnitProfile": true, "HasAccessToProfileTrigger": true, "HasAccessToScript": true, "HasAccessToTriggerSchedule": true }, "StatusCode": 3, "ComponentFilterIds": [ 1, 2, 3 ] }
text/html
Sample:
{"TicketData":[{"ID":1,"TicketNo":"sample string 2","AccountID":1,"VehicleID":1,"UserID":1,"CategoryID":1,"PriorityID":1,"StatusID":1,"DateCreated":"2025-04-04T00:05:11.1353388+02:00","ClosedDate":"2025-04-04T00:05:11.1353388+02:00","Notes":"sample string 4","Description":"sample string 5","CategoryName":"sample string 6","PriorityName":"sample string 7","StatusName":"sample string 8","AccountNo":"sample string 9","UserName":"sample string 10","RegistrationNumber":"sample string 11","AccessRights":{"HasRetrieveAccess":true,"HasUpdateAccess":true,"HasDeleteAccess":true,"HasCreateAccess":true}},{"ID":1,"TicketNo":"sample string 2","AccountID":1,"VehicleID":1,"UserID":1,"CategoryID":1,"PriorityID":1,"StatusID":1,"DateCreated":"2025-04-04T00:05:11.1353388+02:00","ClosedDate":"2025-04-04T00:05:11.1353388+02:00","Notes":"sample string 4","Description":"sample string 5","CategoryName":"sample string 6","PriorityName":"sample string 7","StatusName":"sample string 8","AccountNo":"sample string 9","UserName":"sample string 10","RegistrationNumber":"sample string 11","AccessRights":{"HasRetrieveAccess":true,"HasUpdateAccess":true,"HasDeleteAccess":true,"HasCreateAccess":true}},{"ID":1,"TicketNo":"sample string 2","AccountID":1,"VehicleID":1,"UserID":1,"CategoryID":1,"PriorityID":1,"StatusID":1,"DateCreated":"2025-04-04T00:05:11.1353388+02:00","ClosedDate":"2025-04-04T00:05:11.1353388+02:00","Notes":"sample string 4","Description":"sample string 5","CategoryName":"sample string 6","PriorityName":"sample string 7","StatusName":"sample string 8","AccountNo":"sample string 9","UserName":"sample string 10","RegistrationNumber":"sample string 11","AccessRights":{"HasRetrieveAccess":true,"HasUpdateAccess":true,"HasDeleteAccess":true,"HasCreateAccess":true}}],"SummaryData":{"TotalTickets":1,"OpenTickets":2,"ClosedTickets":3},"Success":true,"ErrorMessage":"sample string 2","MenuAccessData":{"HasAccessToMap":true,"HasAccessToVehicle":true,"HasAccessToVehicleAdministration":true,"HasAccessToDriver":true,"HasAccessToPOI":true,"HasAccessToReports":true,"HasAccessToSettings":true,"HasAccessToTrips":true,"HasAccessToTranslations":true,"HasAccessToDashboard":true,"HasAccessToLogBook":true,"HasAccessToGroup":true,"HasAccessToTemplate":true,"HasAccessToUnit":true,"HasAccessToUser":true,"HasAccessToTicket":true,"HasAccessToContract":true,"HasAccessToSIM":true,"HasAccessToCommand":true,"HasAccessToUnitProfile":true,"HasAccessToProfileTrigger":true,"HasAccessToScript":true,"HasAccessToTriggerSchedule":true},"StatusCode":3,"ComponentFilterIds":[1,2,3]}
application/xml, text/xml
Sample:
<APITicketWithSummaryResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Model.APIModels"> <ResponseCode xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Model.Transport">Success</ResponseCode> <ComponentFilterIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> <d2p1:int>3</d2p1:int> </ComponentFilterIds> <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">sample string 2</ErrorMessage> <MenuAccessData xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels"> <HasAccessToCommand>true</HasAccessToCommand> <HasAccessToContract>true</HasAccessToContract> <HasAccessToDashboard>true</HasAccessToDashboard> <HasAccessToDriver>true</HasAccessToDriver> <HasAccessToGroup>true</HasAccessToGroup> <HasAccessToLogBook>true</HasAccessToLogBook> <HasAccessToMap>true</HasAccessToMap> <HasAccessToPOI>true</HasAccessToPOI> <HasAccessToProfileTrigger>true</HasAccessToProfileTrigger> <HasAccessToReports>true</HasAccessToReports> <HasAccessToSIM>true</HasAccessToSIM> <HasAccessToScript>true</HasAccessToScript> <HasAccessToSettings>true</HasAccessToSettings> <HasAccessToTemplate>true</HasAccessToTemplate> <HasAccessToTicket>true</HasAccessToTicket> <HasAccessToTranslations>true</HasAccessToTranslations> <HasAccessToTriggerSchedule>true</HasAccessToTriggerSchedule> <HasAccessToTrips>true</HasAccessToTrips> <HasAccessToUnit>true</HasAccessToUnit> <HasAccessToUnitProfile>true</HasAccessToUnitProfile> <HasAccessToUser>true</HasAccessToUser> <HasAccessToVehicle>true</HasAccessToVehicle> <HasAccessToVehicleAdministration>true</HasAccessToVehicleAdministration> </MenuAccessData> <StatusCode xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">3</StatusCode> <Success xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">true</Success> <SummaryData> <ClosedTickets>3</ClosedTickets> <OpenTickets>2</OpenTickets> <TotalTickets>1</TotalTickets> </SummaryData> <TicketData> <APITicketWithSummaryData> <AccessRights xmlns:d4p1="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels"> <d4p1:HasCreateAccess>true</d4p1:HasCreateAccess> <d4p1:HasDeleteAccess>true</d4p1:HasDeleteAccess> <d4p1:HasRetrieveAccess>true</d4p1:HasRetrieveAccess> <d4p1:HasUpdateAccess>true</d4p1:HasUpdateAccess> </AccessRights> <AccountID>1</AccountID> <AccountNo>sample string 9</AccountNo> <CategoryID>1</CategoryID> <CategoryName>sample string 6</CategoryName> <ClosedDate>2025-04-04T00:05:11.1353388+02:00</ClosedDate> <DateCreated>2025-04-04T00:05:11.1353388+02:00</DateCreated> <Description>sample string 5</Description> <ID>1</ID> <Notes>sample string 4</Notes> <PriorityID>1</PriorityID> <PriorityName>sample string 7</PriorityName> <RegistrationNumber>sample string 11</RegistrationNumber> <StatusID>1</StatusID> <StatusName>sample string 8</StatusName> <TicketNo>sample string 2</TicketNo> <UserID>1</UserID> <UserName>sample string 10</UserName> <VehicleID>1</VehicleID> </APITicketWithSummaryData> <APITicketWithSummaryData> <AccessRights xmlns:d4p1="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels"> <d4p1:HasCreateAccess>true</d4p1:HasCreateAccess> <d4p1:HasDeleteAccess>true</d4p1:HasDeleteAccess> <d4p1:HasRetrieveAccess>true</d4p1:HasRetrieveAccess> <d4p1:HasUpdateAccess>true</d4p1:HasUpdateAccess> </AccessRights> <AccountID>1</AccountID> <AccountNo>sample string 9</AccountNo> <CategoryID>1</CategoryID> <CategoryName>sample string 6</CategoryName> <ClosedDate>2025-04-04T00:05:11.1353388+02:00</ClosedDate> <DateCreated>2025-04-04T00:05:11.1353388+02:00</DateCreated> <Description>sample string 5</Description> <ID>1</ID> <Notes>sample string 4</Notes> <PriorityID>1</PriorityID> <PriorityName>sample string 7</PriorityName> <RegistrationNumber>sample string 11</RegistrationNumber> <StatusID>1</StatusID> <StatusName>sample string 8</StatusName> <TicketNo>sample string 2</TicketNo> <UserID>1</UserID> <UserName>sample string 10</UserName> <VehicleID>1</VehicleID> </APITicketWithSummaryData> <APITicketWithSummaryData> <AccessRights xmlns:d4p1="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels"> <d4p1:HasCreateAccess>true</d4p1:HasCreateAccess> <d4p1:HasDeleteAccess>true</d4p1:HasDeleteAccess> <d4p1:HasRetrieveAccess>true</d4p1:HasRetrieveAccess> <d4p1:HasUpdateAccess>true</d4p1:HasUpdateAccess> </AccessRights> <AccountID>1</AccountID> <AccountNo>sample string 9</AccountNo> <CategoryID>1</CategoryID> <CategoryName>sample string 6</CategoryName> <ClosedDate>2025-04-04T00:05:11.1353388+02:00</ClosedDate> <DateCreated>2025-04-04T00:05:11.1353388+02:00</DateCreated> <Description>sample string 5</Description> <ID>1</ID> <Notes>sample string 4</Notes> <PriorityID>1</PriorityID> <PriorityName>sample string 7</PriorityName> <RegistrationNumber>sample string 11</RegistrationNumber> <StatusID>1</StatusID> <StatusName>sample string 8</StatusName> <TicketNo>sample string 2</TicketNo> <UserID>1</UserID> <UserName>sample string 10</UserName> <VehicleID>1</VehicleID> </APITicketWithSummaryData> </TicketData> </APITicketWithSummaryResponse>