POST api/Ticket/UpdateMultiple
Updates a Ticket.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
req |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "TicketIDs": [ 1, 2, 3 ], "TicketID": 1, "TicketNo": "sample string 1", "AccountID": 2, "UserID": 1, "VehicleID": 1, "CategoryID": 1, "PriorityID": 1, "StatusID": 1, "Description": "sample string 3", "Notes": "sample string 4", "Token": "sample string 5", "FreeText": "sample string 6", "GroupIds": [ 1, 2, 3 ], "FromIndex": 7, "ToIndex": 8, "IsWebCalling": true, "RequestMode": "sample string 10", "Client": "sample string 11", "AppVersion": "sample string 12", "AppOperatingSystem": "sample string 13", "AppName": "sample string 14", "MasterUserID": 15, "IsRecurringRequest": true }
text/html
Sample:
{"TicketIDs":[1,2,3],"TicketID":1,"TicketNo":"sample string 1","AccountID":2,"UserID":1,"VehicleID":1,"CategoryID":1,"PriorityID":1,"StatusID":1,"Description":"sample string 3","Notes":"sample string 4","Token":"sample string 5","FreeText":"sample string 6","GroupIds":[1,2,3],"FromIndex":7,"ToIndex":8,"IsWebCalling":true,"RequestMode":"sample string 10","Client":"sample string 11","AppVersion":"sample string 12","AppOperatingSystem":"sample string 13","AppName":"sample string 14","MasterUserID":15,"IsRecurringRequest":true}
application/xml, text/xml
Sample:
<APITicketAddUpdateRequest 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 14</AppName> <AppOperatingSystem xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">sample string 13</AppOperatingSystem> <AppVersion xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">sample string 12</AppVersion> <Client xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">sample string 11</Client> <FreeText xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">sample string 6</FreeText> <FromIndex xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">7</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">15</MasterUserID> <RequestMode xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">sample string 10</RequestMode> <ToIndex xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">8</ToIndex> <Token xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">sample string 5</Token> <AccountID>2</AccountID> <CategoryID>1</CategoryID> <Description>sample string 3</Description> <Notes>sample string 4</Notes> <PriorityID>1</PriorityID> <StatusID>1</StatusID> <TicketID>1</TicketID> <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> <TicketNo>sample string 1</TicketNo> <UserID>1</UserID> <VehicleID>1</VehicleID> </APITicketAddUpdateRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
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-03T11:23:03.4484889+02:00", "ClosedDate": "2025-04-03T11:23:03.4484889+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-03T11:23:03.4484889+02:00", "ClosedDate": "2025-04-03T11:23:03.4484889+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-03T11:23:03.4484889+02:00", "ClosedDate": "2025-04-03T11:23:03.4484889+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 } } ], "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-03T11:23:03.4484889+02:00","ClosedDate":"2025-04-03T11:23:03.4484889+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-03T11:23:03.4484889+02:00","ClosedDate":"2025-04-03T11:23:03.4484889+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-03T11:23:03.4484889+02:00","ClosedDate":"2025-04-03T11:23:03.4484889+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}}],"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:
<APITicketAddUpdateResponse 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> <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-03T11:23:03.4484889+02:00</ClosedDate> <DateCreated>2025-04-03T11:23:03.4484889+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-03T11:23:03.4484889+02:00</ClosedDate> <DateCreated>2025-04-03T11:23:03.4484889+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-03T11:23:03.4484889+02:00</ClosedDate> <DateCreated>2025-04-03T11:23:03.4484889+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> </APITicketAddUpdateResponse>