POST api/Debtor/GetByID?apiKey={apiKey}&debtorID={debtorID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
apiKey

string

Required

debtorID

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

ApiResultWithDataOfDebtor
NameDescriptionTypeAdditional information
Data

Debtor

None.

Status

ErrorCode

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "Identity": {
      "Id": "a5431092-4f1b-4615-bebb-d6201e71b126",
      "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": "a5431092-4f1b-4615-bebb-d6201e71b126",
        "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": "ee3d01d2-6ae3-4445-a1bc-972942bac41f",
        "ImageString": "sample string 6",
        "AttachmentDataBase64": "sample string 7"
      },
      "Longitude": 11.1,
      "Latitude": 12.1,
      "BranchType": {
        "BranchTypeID": "1a8d1bf2-0f35-4b7c-8cf0-00b1053b5ef2",
        "Name": "sample string 2",
        "Attachment": {
          "AttachmentID": "ee3d01d2-6ae3-4445-a1bc-972942bac41f",
          "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": "af9a5406-d370-4cd7-8da6-566713977392",
    "CreditLimit": 17.0,
    "IsDeliveryPickupAllowed": true,
    "IsUpgradeAllowed": true,
    "LicenseInfo": "sample string 21",
    "TRNNo": "sample string 24",
    "DebtorTariffID": "716394b4-23af-4051-bb31-e87c98d51663",
    "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.