GET Api/Renewal/GetRenewalHistory?param={param}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
param

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of VehicleRenewal
NameDescriptionTypeAdditional information
VehicleRenewalID

globally unique identifier

None.

Vehicle

VehicleBase

None.

RenewalType

RenewalType

None.

DueDate

date

None.

ExpiryDate

date

None.

RenewalDoneOn

date

None.

IsOverdue

boolean

None.

OverdueReason

string

None.

UsersToNotify

user_alert_setting

None.

AmountSpent

decimal number

None.

Note

string

None.

Days

integer

None.

ReminderBeforeDays

integer

None.

DueDetail

string

None.

Attachment

Attachment

None.

Id

globally unique identifier

None.

UserName

string

None.

UserID

globally unique identifier

None.

CreatedBy

string

None.

CreatedOn

date

None.

ClientID

globally unique identifier

None.

ClientName

string

None.

PartnerID

globally unique identifier

None.

PartnerName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "VehicleRenewalID": "15b08c5f-51ed-4de6-8ae3-f6286261dca4",
    "Vehicle": {
      "VehicleID": "a52c0511-ebed-4cf3-bf4d-0c80c07c110f",
      "Name": "sample string 2",
      "VehicleNo": "sample string 3",
      "Odometer": 4,
      "ModelName": "sample string 5",
      "DriverID": "6f79e2f3-439a-4ea2-9d19-1eaf2fe99b76",
      "DriverName": "sample string 7",
      "DriverContactNo": "sample string 8",
      "IMEINo": "sample string 9",
      "ClientID": "3cba502a-d7e1-4735-a29b-0f052c02fad4",
      "PartnerID": "78fb885c-a073-46e6-be95-cb9a22b64839"
    },
    "RenewalType": {
      "RenewalTypeID": "e5d99ce6-de9e-47e5-a1ff-2758cf93e0a2",
      "Name": "sample string 2",
      "FrequencyDays": 3,
      "Description": "sample string 4",
      "Id": "aea1a59d-0903-460c-a92d-d10eb0e6edd9",
      "UserName": "sample string 6",
      "UserID": "883eb38e-4740-45d3-9a53-a83c2f5b0577",
      "CreatedBy": "sample string 8",
      "CreatedOn": "2025-05-20T23:29:56.2199137+04:00",
      "ClientID": "59f787b8-0697-4f0a-b42c-50a8a97da5b2",
      "ClientName": "sample string 11",
      "PartnerID": "7ecfd1e3-482e-4530-8c6b-1e848a9a3a94",
      "PartnerName": "sample string 13"
    },
    "DueDate": "2025-05-20T23:29:56.2199137+04:00",
    "ExpiryDate": "2025-05-20T23:29:56.2199137+04:00",
    "RenewalDoneOn": "2025-05-20T23:29:56.2199137+04:00",
    "IsOverdue": true,
    "OverdueReason": "sample string 6",
    "UsersToNotify": {
      "Users": [
        {
          "m_Item1": "sample string 1",
          "m_Item2": "sample string 2"
        },
        {
          "m_Item1": "sample string 1",
          "m_Item2": "sample string 2"
        }
      ],
      "BusinessHoursID": "5125fbe7-6522-4c12-9409-ff049789fc0c",
      "IsNotifyUsingSms": true,
      "IsNotifyUsingEmail": true,
      "IsNotifyUsingPortal": true,
      "IsNotifyUsingMobileApp": true,
      "UserEmailIds": [
        "sample string 1",
        "sample string 2"
      ],
      "IsNotifyDriverUsingSms": true,
      "IsNotifyDriverUsingEmail": true,
      "IsNotifyDriverUsingMobileApp": true
    },
    "AmountSpent": 7.0,
    "Note": "sample string 8",
    "Days": 9,
    "ReminderBeforeDays": 10,
    "DueDetail": "sample string 11",
    "Attachment": {
      "AttachmentID": "71188ff0-b17b-49c5-adf6-afa143afbbb5",
      "AttachmentData": "QEA=",
      "AttachmentDataBase64": "sample string 2",
      "ContentType": "sample string 3",
      "FileName": "sample string 4",
      "ImageString": "sample string 5",
      "IsDeleted": true
    },
    "Id": "541475e3-01d5-4376-8739-10e6fa9a2ec4",
    "UserName": "sample string 13",
    "UserID": "f877549d-820f-46b5-8aa8-318e690ab741",
    "CreatedBy": "sample string 15",
    "CreatedOn": "2025-05-20T23:29:56.2199137+04:00",
    "ClientID": "c1a77dc1-3876-41f7-bbfd-7b1b72ad364d",
    "ClientName": "sample string 18",
    "PartnerID": "a176f1c2-a6ed-423a-9284-4f7fd852b1d0",
    "PartnerName": "sample string 20"
  },
  {
    "VehicleRenewalID": "15b08c5f-51ed-4de6-8ae3-f6286261dca4",
    "Vehicle": {
      "VehicleID": "a52c0511-ebed-4cf3-bf4d-0c80c07c110f",
      "Name": "sample string 2",
      "VehicleNo": "sample string 3",
      "Odometer": 4,
      "ModelName": "sample string 5",
      "DriverID": "6f79e2f3-439a-4ea2-9d19-1eaf2fe99b76",
      "DriverName": "sample string 7",
      "DriverContactNo": "sample string 8",
      "IMEINo": "sample string 9",
      "ClientID": "3cba502a-d7e1-4735-a29b-0f052c02fad4",
      "PartnerID": "78fb885c-a073-46e6-be95-cb9a22b64839"
    },
    "RenewalType": {
      "RenewalTypeID": "e5d99ce6-de9e-47e5-a1ff-2758cf93e0a2",
      "Name": "sample string 2",
      "FrequencyDays": 3,
      "Description": "sample string 4",
      "Id": "aea1a59d-0903-460c-a92d-d10eb0e6edd9",
      "UserName": "sample string 6",
      "UserID": "883eb38e-4740-45d3-9a53-a83c2f5b0577",
      "CreatedBy": "sample string 8",
      "CreatedOn": "2025-05-20T23:29:56.2199137+04:00",
      "ClientID": "59f787b8-0697-4f0a-b42c-50a8a97da5b2",
      "ClientName": "sample string 11",
      "PartnerID": "7ecfd1e3-482e-4530-8c6b-1e848a9a3a94",
      "PartnerName": "sample string 13"
    },
    "DueDate": "2025-05-20T23:29:56.2199137+04:00",
    "ExpiryDate": "2025-05-20T23:29:56.2199137+04:00",
    "RenewalDoneOn": "2025-05-20T23:29:56.2199137+04:00",
    "IsOverdue": true,
    "OverdueReason": "sample string 6",
    "UsersToNotify": {
      "Users": [
        {
          "m_Item1": "sample string 1",
          "m_Item2": "sample string 2"
        },
        {
          "m_Item1": "sample string 1",
          "m_Item2": "sample string 2"
        }
      ],
      "BusinessHoursID": "5125fbe7-6522-4c12-9409-ff049789fc0c",
      "IsNotifyUsingSms": true,
      "IsNotifyUsingEmail": true,
      "IsNotifyUsingPortal": true,
      "IsNotifyUsingMobileApp": true,
      "UserEmailIds": [
        "sample string 1",
        "sample string 2"
      ],
      "IsNotifyDriverUsingSms": true,
      "IsNotifyDriverUsingEmail": true,
      "IsNotifyDriverUsingMobileApp": true
    },
    "AmountSpent": 7.0,
    "Note": "sample string 8",
    "Days": 9,
    "ReminderBeforeDays": 10,
    "DueDetail": "sample string 11",
    "Attachment": {
      "AttachmentID": "71188ff0-b17b-49c5-adf6-afa143afbbb5",
      "AttachmentData": "QEA=",
      "AttachmentDataBase64": "sample string 2",
      "ContentType": "sample string 3",
      "FileName": "sample string 4",
      "ImageString": "sample string 5",
      "IsDeleted": true
    },
    "Id": "541475e3-01d5-4376-8739-10e6fa9a2ec4",
    "UserName": "sample string 13",
    "UserID": "f877549d-820f-46b5-8aa8-318e690ab741",
    "CreatedBy": "sample string 15",
    "CreatedOn": "2025-05-20T23:29:56.2199137+04:00",
    "ClientID": "c1a77dc1-3876-41f7-bbfd-7b1b72ad364d",
    "ClientName": "sample string 18",
    "PartnerID": "a176f1c2-a6ed-423a-9284-4f7fd852b1d0",
    "PartnerName": "sample string 20"
  }
]

application/xml, text/xml

Sample:
<ArrayOfVehicleRenewal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
  <VehicleRenewal>
    <ClientID>c1a77dc1-3876-41f7-bbfd-7b1b72ad364d</ClientID>
    <ClientName>sample string 18</ClientName>
    <CreatedBy>sample string 15</CreatedBy>
    <CreatedOn>2025-05-20T23:29:56.2199137+04:00</CreatedOn>
    <Id>541475e3-01d5-4376-8739-10e6fa9a2ec4</Id>
    <PartnerID>a176f1c2-a6ed-423a-9284-4f7fd852b1d0</PartnerID>
    <PartnerName>sample string 20</PartnerName>
    <UserID>f877549d-820f-46b5-8aa8-318e690ab741</UserID>
    <UserName>sample string 13</UserName>
    <AmountSpent>7</AmountSpent>
    <Attachment>
      <AttachmentData>QEA=</AttachmentData>
      <AttachmentDataBase64>sample string 2</AttachmentDataBase64>
      <AttachmentID>71188ff0-b17b-49c5-adf6-afa143afbbb5</AttachmentID>
      <ContentType>sample string 3</ContentType>
      <FileName>sample string 4</FileName>
      <ImageString>sample string 5</ImageString>
      <IsDeleted>true</IsDeleted>
    </Attachment>
    <Days>9</Days>
    <DueDate>2025-05-20T23:29:56.2199137+04:00</DueDate>
    <DueDetail>sample string 11</DueDetail>
    <ExpiryDate>2025-05-20T23:29:56.2199137+04:00</ExpiryDate>
    <IsOverdue>true</IsOverdue>
    <Note>sample string 8</Note>
    <OverdueReason>sample string 6</OverdueReason>
    <ReminderBeforeDays>10</ReminderBeforeDays>
    <RenewalDoneOn>2025-05-20T23:29:56.2199137+04:00</RenewalDoneOn>
    <RenewalType>
      <ClientID>59f787b8-0697-4f0a-b42c-50a8a97da5b2</ClientID>
      <ClientName>sample string 11</ClientName>
      <CreatedBy>sample string 8</CreatedBy>
      <CreatedOn>2025-05-20T23:29:56.2199137+04:00</CreatedOn>
      <Id>aea1a59d-0903-460c-a92d-d10eb0e6edd9</Id>
      <PartnerID>7ecfd1e3-482e-4530-8c6b-1e848a9a3a94</PartnerID>
      <PartnerName>sample string 13</PartnerName>
      <UserID>883eb38e-4740-45d3-9a53-a83c2f5b0577</UserID>
      <UserName>sample string 6</UserName>
      <Description>sample string 4</Description>
      <FrequencyDays>3</FrequencyDays>
      <Name>sample string 2</Name>
      <RenewalTypeID>e5d99ce6-de9e-47e5-a1ff-2758cf93e0a2</RenewalTypeID>
    </RenewalType>
    <UsersToNotify>
      <BusinessHoursID>5125fbe7-6522-4c12-9409-ff049789fc0c</BusinessHoursID>
      <IsNotifyDriverUsingEmail>true</IsNotifyDriverUsingEmail>
      <IsNotifyDriverUsingMobileApp>true</IsNotifyDriverUsingMobileApp>
      <IsNotifyDriverUsingSms>true</IsNotifyDriverUsingSms>
      <IsNotifyUsingEmail>true</IsNotifyUsingEmail>
      <IsNotifyUsingMobileApp>true</IsNotifyUsingMobileApp>
      <IsNotifyUsingPortal>true</IsNotifyUsingPortal>
      <IsNotifyUsingSms>true</IsNotifyUsingSms>
      <UserEmailIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </UserEmailIds>
      <Users xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
        <d4p1:TupleOfstringstring>
          <d4p1:m_Item1>sample string 1</d4p1:m_Item1>
          <d4p1:m_Item2>sample string 2</d4p1:m_Item2>
        </d4p1:TupleOfstringstring>
        <d4p1:TupleOfstringstring>
          <d4p1:m_Item1>sample string 1</d4p1:m_Item1>
          <d4p1:m_Item2>sample string 2</d4p1:m_Item2>
        </d4p1:TupleOfstringstring>
      </Users>
    </UsersToNotify>
    <Vehicle>
      <ClientID>3cba502a-d7e1-4735-a29b-0f052c02fad4</ClientID>
      <DriverContactNo>sample string 8</DriverContactNo>
      <DriverID>6f79e2f3-439a-4ea2-9d19-1eaf2fe99b76</DriverID>
      <DriverName>sample string 7</DriverName>
      <IMEINo>sample string 9</IMEINo>
      <ModelName>sample string 5</ModelName>
      <Name>sample string 2</Name>
      <Odometer>4</Odometer>
      <PartnerID>78fb885c-a073-46e6-be95-cb9a22b64839</PartnerID>
      <VehicleID>a52c0511-ebed-4cf3-bf4d-0c80c07c110f</VehicleID>
      <VehicleNo>sample string 3</VehicleNo>
    </Vehicle>
    <VehicleRenewalID>15b08c5f-51ed-4de6-8ae3-f6286261dca4</VehicleRenewalID>
  </VehicleRenewal>
  <VehicleRenewal>
    <ClientID>c1a77dc1-3876-41f7-bbfd-7b1b72ad364d</ClientID>
    <ClientName>sample string 18</ClientName>
    <CreatedBy>sample string 15</CreatedBy>
    <CreatedOn>2025-05-20T23:29:56.2199137+04:00</CreatedOn>
    <Id>541475e3-01d5-4376-8739-10e6fa9a2ec4</Id>
    <PartnerID>a176f1c2-a6ed-423a-9284-4f7fd852b1d0</PartnerID>
    <PartnerName>sample string 20</PartnerName>
    <UserID>f877549d-820f-46b5-8aa8-318e690ab741</UserID>
    <UserName>sample string 13</UserName>
    <AmountSpent>7</AmountSpent>
    <Attachment>
      <AttachmentData>QEA=</AttachmentData>
      <AttachmentDataBase64>sample string 2</AttachmentDataBase64>
      <AttachmentID>71188ff0-b17b-49c5-adf6-afa143afbbb5</AttachmentID>
      <ContentType>sample string 3</ContentType>
      <FileName>sample string 4</FileName>
      <ImageString>sample string 5</ImageString>
      <IsDeleted>true</IsDeleted>
    </Attachment>
    <Days>9</Days>
    <DueDate>2025-05-20T23:29:56.2199137+04:00</DueDate>
    <DueDetail>sample string 11</DueDetail>
    <ExpiryDate>2025-05-20T23:29:56.2199137+04:00</ExpiryDate>
    <IsOverdue>true</IsOverdue>
    <Note>sample string 8</Note>
    <OverdueReason>sample string 6</OverdueReason>
    <ReminderBeforeDays>10</ReminderBeforeDays>
    <RenewalDoneOn>2025-05-20T23:29:56.2199137+04:00</RenewalDoneOn>
    <RenewalType>
      <ClientID>59f787b8-0697-4f0a-b42c-50a8a97da5b2</ClientID>
      <ClientName>sample string 11</ClientName>
      <CreatedBy>sample string 8</CreatedBy>
      <CreatedOn>2025-05-20T23:29:56.2199137+04:00</CreatedOn>
      <Id>aea1a59d-0903-460c-a92d-d10eb0e6edd9</Id>
      <PartnerID>7ecfd1e3-482e-4530-8c6b-1e848a9a3a94</PartnerID>
      <PartnerName>sample string 13</PartnerName>
      <UserID>883eb38e-4740-45d3-9a53-a83c2f5b0577</UserID>
      <UserName>sample string 6</UserName>
      <Description>sample string 4</Description>
      <FrequencyDays>3</FrequencyDays>
      <Name>sample string 2</Name>
      <RenewalTypeID>e5d99ce6-de9e-47e5-a1ff-2758cf93e0a2</RenewalTypeID>
    </RenewalType>
    <UsersToNotify>
      <BusinessHoursID>5125fbe7-6522-4c12-9409-ff049789fc0c</BusinessHoursID>
      <IsNotifyDriverUsingEmail>true</IsNotifyDriverUsingEmail>
      <IsNotifyDriverUsingMobileApp>true</IsNotifyDriverUsingMobileApp>
      <IsNotifyDriverUsingSms>true</IsNotifyDriverUsingSms>
      <IsNotifyUsingEmail>true</IsNotifyUsingEmail>
      <IsNotifyUsingMobileApp>true</IsNotifyUsingMobileApp>
      <IsNotifyUsingPortal>true</IsNotifyUsingPortal>
      <IsNotifyUsingSms>true</IsNotifyUsingSms>
      <UserEmailIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </UserEmailIds>
      <Users xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
        <d4p1:TupleOfstringstring>
          <d4p1:m_Item1>sample string 1</d4p1:m_Item1>
          <d4p1:m_Item2>sample string 2</d4p1:m_Item2>
        </d4p1:TupleOfstringstring>
        <d4p1:TupleOfstringstring>
          <d4p1:m_Item1>sample string 1</d4p1:m_Item1>
          <d4p1:m_Item2>sample string 2</d4p1:m_Item2>
        </d4p1:TupleOfstringstring>
      </Users>
    </UsersToNotify>
    <Vehicle>
      <ClientID>3cba502a-d7e1-4735-a29b-0f052c02fad4</ClientID>
      <DriverContactNo>sample string 8</DriverContactNo>
      <DriverID>6f79e2f3-439a-4ea2-9d19-1eaf2fe99b76</DriverID>
      <DriverName>sample string 7</DriverName>
      <IMEINo>sample string 9</IMEINo>
      <ModelName>sample string 5</ModelName>
      <Name>sample string 2</Name>
      <Odometer>4</Odometer>
      <PartnerID>78fb885c-a073-46e6-be95-cb9a22b64839</PartnerID>
      <VehicleID>a52c0511-ebed-4cf3-bf4d-0c80c07c110f</VehicleID>
      <VehicleNo>sample string 3</VehicleNo>
    </Vehicle>
    <VehicleRenewalID>15b08c5f-51ed-4de6-8ae3-f6286261dca4</VehicleRenewalID>
  </VehicleRenewal>
</ArrayOfVehicleRenewal>