POST api/Debtor/Get?apiKey={apiKey}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
apiKey

string

Required

Body Parameters

DebtorParameter
NameDescriptionTypeAdditional information
IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "IsActive": true
}

application/xml, text/xml

Sample:
<DebtorParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity.Customers">
  <IsActive>true</IsActive>
</DebtorParameter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResultWithDataOfListOfDebtor
NameDescriptionTypeAdditional information
Data

Collection of Debtor

None.

Status

ErrorCode

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "Identity": {
        "Id": "743af7f1-955c-4440-b996-883704cef977",
        "Code": "sample string 2"
      },
      "InvoiceRule": 1,
      "Name": "sample string 1",
      "MonthlyRentalPaymentTerm": 2,
      "DailyRentalPaymentTerm": 3,
      "WeeklyRentalPaymentTerm": 4,
      "TollFinePaymentTerm": 5,
      "TrafficFinePaymentTerm": 6,
      "Telephone": "sample string 7",
      "EmailId": "sample string 8",
      "Address": "sample string 9",
      "Balance": 11.0,
      "Branch": {
        "Identity": {
          "Id": "743af7f1-955c-4440-b996-883704cef977",
          "Code": "sample string 2"
        },
        "CountryState": {
          "StateCode": "sample string 2",
          "StateName": "sample string 3",
          "CountryCode": "sample string 4",
          "CountryName": "sample string 5",
          "NationalityCode": "sample string 6",
          "NationalityName": "sample string 7"
        },
        "Name": "sample string 4",
        "Address": "sample string 5",
        "ContactNo": "sample string 6",
        "TelephoneNo": "sample string 7",
        "EmailID": "sample string 8",
        "Attachment": {
          "AttachmentID": "aa1efb56-2c01-4fbb-95f0-4b0099156b82",
          "ImageString": "sample string 6",
          "AttachmentDataBase64": "sample string 7"
        },
        "Longitude": 11.1,
        "Latitude": 12.1,
        "BranchType": {
          "BranchTypeID": "38491112-31b1-48ab-bf33-7d0fea6733ee",
          "Name": "sample string 2",
          "Attachment": {
            "AttachmentID": "aa1efb56-2c01-4fbb-95f0-4b0099156b82",
            "ImageString": "sample string 6",
            "AttachmentDataBase64": "sample string 7"
          }
        },
        "HoursToGetReady": 15,
        "Description": "sample string 18",
        "Message": "sample string 19",
        "BranchOfficeTiming": {
          "BranchTimings": [
            {
              "DayString": "sample string 1",
              "Shifts": [
                "sample string 1",
                "sample string 2"
              ]
            },
            {
              "DayString": "sample string 1",
              "Shifts": [
                "sample string 1",
                "sample string 2"
              ]
            }
          ]
        },
        "GoogleLocationURL": "sample string 20"
      },
      "NoOfVehiclesAllowed": 14,
      "SalesExecutiveID": "a905f8d8-5240-44b1-94af-4a5ee3c34b1d",
      "CreditLimit": 17.0,
      "IsDeliveryPickupAllowed": true,
      "IsUpgradeAllowed": true,
      "LicenseInfo": "sample string 21",
      "TRNNo": "sample string 24",
      "DebtorTariffID": "f289668b-03c7-4b28-9e2b-467dd650e056",
      "RentalContract": {
        "GracePeriodDailyRental": 2,
        "GracePeriodWeeklyRental": 3,
        "TollAdminFees": "sample string 4",
        "TrafficAdminFees": "sample string 5",
        "OutOfOfficeCharge": 7.1,
        "ReservationTermsConditions": "sample string 9",
        "FuelSurcharge": "sample string 11"
      },
      "Discount": 29,
      "DailyInvoiceCycle": 1,
      "WeeklyInvoiceCycle": 1,
      "MonthlyInvoiceCycle": 1
    },
    {
      "Identity": {
        "Id": "743af7f1-955c-4440-b996-883704cef977",
        "Code": "sample string 2"
      },
      "InvoiceRule": 1,
      "Name": "sample string 1",
      "MonthlyRentalPaymentTerm": 2,
      "DailyRentalPaymentTerm": 3,
      "WeeklyRentalPaymentTerm": 4,
      "TollFinePaymentTerm": 5,
      "TrafficFinePaymentTerm": 6,
      "Telephone": "sample string 7",
      "EmailId": "sample string 8",
      "Address": "sample string 9",
      "Balance": 11.0,
      "Branch": {
        "Identity": {
          "Id": "743af7f1-955c-4440-b996-883704cef977",
          "Code": "sample string 2"
        },
        "CountryState": {
          "StateCode": "sample string 2",
          "StateName": "sample string 3",
          "CountryCode": "sample string 4",
          "CountryName": "sample string 5",
          "NationalityCode": "sample string 6",
          "NationalityName": "sample string 7"
        },
        "Name": "sample string 4",
        "Address": "sample string 5",
        "ContactNo": "sample string 6",
        "TelephoneNo": "sample string 7",
        "EmailID": "sample string 8",
        "Attachment": {
          "AttachmentID": "aa1efb56-2c01-4fbb-95f0-4b0099156b82",
          "ImageString": "sample string 6",
          "AttachmentDataBase64": "sample string 7"
        },
        "Longitude": 11.1,
        "Latitude": 12.1,
        "BranchType": {
          "BranchTypeID": "38491112-31b1-48ab-bf33-7d0fea6733ee",
          "Name": "sample string 2",
          "Attachment": {
            "AttachmentID": "aa1efb56-2c01-4fbb-95f0-4b0099156b82",
            "ImageString": "sample string 6",
            "AttachmentDataBase64": "sample string 7"
          }
        },
        "HoursToGetReady": 15,
        "Description": "sample string 18",
        "Message": "sample string 19",
        "BranchOfficeTiming": {
          "BranchTimings": [
            {
              "DayString": "sample string 1",
              "Shifts": [
                "sample string 1",
                "sample string 2"
              ]
            },
            {
              "DayString": "sample string 1",
              "Shifts": [
                "sample string 1",
                "sample string 2"
              ]
            }
          ]
        },
        "GoogleLocationURL": "sample string 20"
      },
      "NoOfVehiclesAllowed": 14,
      "SalesExecutiveID": "a905f8d8-5240-44b1-94af-4a5ee3c34b1d",
      "CreditLimit": 17.0,
      "IsDeliveryPickupAllowed": true,
      "IsUpgradeAllowed": true,
      "LicenseInfo": "sample string 21",
      "TRNNo": "sample string 24",
      "DebtorTariffID": "f289668b-03c7-4b28-9e2b-467dd650e056",
      "RentalContract": {
        "GracePeriodDailyRental": 2,
        "GracePeriodWeeklyRental": 3,
        "TollAdminFees": "sample string 4",
        "TrafficAdminFees": "sample string 5",
        "OutOfOfficeCharge": 7.1,
        "ReservationTermsConditions": "sample string 9",
        "FuelSurcharge": "sample string 11"
      },
      "Discount": 29,
      "DailyInvoiceCycle": 1,
      "WeeklyInvoiceCycle": 1,
      "MonthlyInvoiceCycle": 1
    }
  ],
  "Status": 1,
  "Message": "sample string 1"
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.