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": "b6da4e28-3f71-4382-b0f9-73977d4d4190",
        "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": "b6da4e28-3f71-4382-b0f9-73977d4d4190",
          "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": "1fcbb026-2764-45a2-91e5-e23b22e24177",
          "ImageString": "sample string 6",
          "AttachmentDataBase64": "sample string 7"
        },
        "Longitude": 11.1,
        "Latitude": 12.1,
        "BranchType": {
          "BranchTypeID": "c9244fb3-e8b1-4462-b991-cb602df42085",
          "Name": "sample string 2",
          "Attachment": {
            "AttachmentID": "1fcbb026-2764-45a2-91e5-e23b22e24177",
            "ImageString": "sample string 6",
            "AttachmentDataBase64": "sample string 7"
          }
        },
        "HoursToGetReady": 15,
        "Description": "sample string 18",
        "Message": "sample string 19",
        "BranchOfficeTiming": {},
        "GoogleLocationURL": "sample string 20"
      },
      "NoOfVehiclesAllowed": 14,
      "SalesExecutiveID": "fe827d71-5e31-4260-8f8e-ccfffa264c95",
      "CreditLimit": 17.0,
      "IsDeliveryPickupAllowed": true,
      "IsUpgradeAllowed": true,
      "LicenseInfo": "sample string 21",
      "TRNNo": "sample string 24",
      "DebtorTariffID": "6913d712-f533-4739-8aec-94ea1d4741c2",
      "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": "b6da4e28-3f71-4382-b0f9-73977d4d4190",
        "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": "b6da4e28-3f71-4382-b0f9-73977d4d4190",
          "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": "1fcbb026-2764-45a2-91e5-e23b22e24177",
          "ImageString": "sample string 6",
          "AttachmentDataBase64": "sample string 7"
        },
        "Longitude": 11.1,
        "Latitude": 12.1,
        "BranchType": {
          "BranchTypeID": "c9244fb3-e8b1-4462-b991-cb602df42085",
          "Name": "sample string 2",
          "Attachment": {
            "AttachmentID": "1fcbb026-2764-45a2-91e5-e23b22e24177",
            "ImageString": "sample string 6",
            "AttachmentDataBase64": "sample string 7"
          }
        },
        "HoursToGetReady": 15,
        "Description": "sample string 18",
        "Message": "sample string 19",
        "BranchOfficeTiming": {},
        "GoogleLocationURL": "sample string 20"
      },
      "NoOfVehiclesAllowed": 14,
      "SalesExecutiveID": "fe827d71-5e31-4260-8f8e-ccfffa264c95",
      "CreditLimit": 17.0,
      "IsDeliveryPickupAllowed": true,
      "IsUpgradeAllowed": true,
      "LicenseInfo": "sample string 21",
      "TRNNo": "sample string 24",
      "DebtorTariffID": "6913d712-f533-4739-8aec-94ea1d4741c2",
      "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.