POST api/Trips/RetrieveTripAttestStatus
Retrieves trip attestation history month wise
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
req |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "Mode": "sample string 1", "VehicleIDs": [ 1, 2, 3 ], "DriverIDs": [ 1, 2, 3 ], "TripIDs": [ 1, 2, 3 ], "CreatedDateFrom": "2025-04-04T00:00:29.0083585+02:00", "CreatedDateTo": "2025-04-04T00:00:29.0083585+02:00", "SortOrder": 2, "StartDate": "2025-04-04T00:00:29.0083585+02:00", "TripMode": "sample string 3", "TripType": 4, "AttestedStatus": 5, "RequestedFromPage": "sample string 6", "RequestForExportToExcel": true, "ShowDeletedTripsAlso": 8, "IsRequestFromFooter": true, "Token": "sample string 10", "FreeText": "sample string 11", "GroupIds": [ 1, 2, 3 ], "FromIndex": 12, "ToIndex": 13, "IsWebCalling": true, "RequestMode": "sample string 15", "Client": "sample string 16", "AppVersion": "sample string 17", "AppOperatingSystem": "sample string 18", "AppName": "sample string 19", "MasterUserID": 20, "IsRecurringRequest": true }
text/html
Sample:
{"Mode":"sample string 1","VehicleIDs":[1,2,3],"DriverIDs":[1,2,3],"TripIDs":[1,2,3],"CreatedDateFrom":"2025-04-04T00:00:29.0083585+02:00","CreatedDateTo":"2025-04-04T00:00:29.0083585+02:00","SortOrder":2,"StartDate":"2025-04-04T00:00:29.0083585+02:00","TripMode":"sample string 3","TripType":4,"AttestedStatus":5,"RequestedFromPage":"sample string 6","RequestForExportToExcel":true,"ShowDeletedTripsAlso":8,"IsRequestFromFooter":true,"Token":"sample string 10","FreeText":"sample string 11","GroupIds":[1,2,3],"FromIndex":12,"ToIndex":13,"IsWebCalling":true,"RequestMode":"sample string 15","Client":"sample string 16","AppVersion":"sample string 17","AppOperatingSystem":"sample string 18","AppName":"sample string 19","MasterUserID":20,"IsRecurringRequest":true}
application/xml, text/xml
Sample:
<APITripsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels"> <AppName>sample string 19</AppName> <AppOperatingSystem>sample string 18</AppOperatingSystem> <AppVersion>sample string 17</AppVersion> <Client>sample string 16</Client> <FreeText>sample string 11</FreeText> <FromIndex>12</FromIndex> <GroupIds 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> </GroupIds> <IsRecurringRequest>true</IsRecurringRequest> <IsWebCalling>true</IsWebCalling> <MasterUserID>20</MasterUserID> <RequestMode>sample string 15</RequestMode> <ToIndex>13</ToIndex> <Token>sample string 10</Token> <AttestedStatus>5</AttestedStatus> <CreatedDateFrom>2025-04-04T00:00:29.0083585+02:00</CreatedDateFrom> <CreatedDateTo>2025-04-04T00:00:29.0083585+02:00</CreatedDateTo> <DriverIDs 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> </DriverIDs> <IsRequestFromFooter>true</IsRequestFromFooter> <Mode>sample string 1</Mode> <RequestForExportToExcel>true</RequestForExportToExcel> <RequestedFromPage>sample string 6</RequestedFromPage> <ShowDeletedTripsAlso>8</ShowDeletedTripsAlso> <SortOrder>2</SortOrder> <StartDate>2025-04-04T00:00:29.0083585+02:00</StartDate> <TripIDs 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> </TripIDs> <TripMode>sample string 3</TripMode> <TripType>4</TripType> <VehicleIDs 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> </VehicleIDs> </APITripsRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response body formats
application/json, text/json
Sample:
{ "TripAttestStatusData": [ { "ID": 1, "ComponentID": 2, "EntityID": 3, "Month": 4, "Year": 5, "TripStatus": 6 }, { "ID": 1, "ComponentID": 2, "EntityID": 3, "Month": 4, "Year": 5, "TripStatus": 6 }, { "ID": 1, "ComponentID": 2, "EntityID": 3, "Month": 4, "Year": 5, "TripStatus": 6 } ], "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:
{"TripAttestStatusData":[{"ID":1,"ComponentID":2,"EntityID":3,"Month":4,"Year":5,"TripStatus":6},{"ID":1,"ComponentID":2,"EntityID":3,"Month":4,"Year":5,"TripStatus":6},{"ID":1,"ComponentID":2,"EntityID":3,"Month":4,"Year":5,"TripStatus":6}],"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:
<APITripAttestStatusResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.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"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> <d2p1:int>3</d2p1:int> </ComponentFilterIds> <ErrorMessage>sample string 2</ErrorMessage> <MenuAccessData> <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>3</StatusCode> <Success>true</Success> <TripAttestStatusData> <APITripAttestStatusData> <ComponentID>2</ComponentID> <EntityID>3</EntityID> <ID>1</ID> <Month>4</Month> <TripStatus>6</TripStatus> <Year>5</Year> </APITripAttestStatusData> <APITripAttestStatusData> <ComponentID>2</ComponentID> <EntityID>3</EntityID> <ID>1</ID> <Month>4</Month> <TripStatus>6</TripStatus> <Year>5</Year> </APITripAttestStatusData> <APITripAttestStatusData> <ComponentID>2</ComponentID> <EntityID>3</EntityID> <ID>1</ID> <Month>4</Month> <TripStatus>6</TripStatus> <Year>5</Year> </APITripAttestStatusData> </TripAttestStatusData> </APITripAttestStatusResponse>