POST api/Debtor/Update?apiKey={apiKey}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
apiKey | string |
Required |
Body Parameters
DebtorName | Description | Type | Additional information |
---|---|---|---|
Identity | Identity |
None. |
|
InvoiceRule | InvoiceRule |
None. |
|
Name | string |
None. |
|
MonthlyRentalPaymentTerm | integer |
None. |
|
DailyRentalPaymentTerm | integer |
None. |
|
WeeklyRentalPaymentTerm | integer |
None. |
|
TollFinePaymentTerm | integer |
None. |
|
TrafficFinePaymentTerm | integer |
None. |
|
Telephone | string |
None. |
|
EmailId | string |
None. |
|
Address | string |
None. |
|
Balance | decimal number |
None. |
|
Branch | Branch |
None. |
|
NoOfVehiclesAllowed | integer |
None. |
|
SalesExecutiveID | globally unique identifier |
None. |
|
CreditLimit | decimal number |
None. |
|
IsDeliveryPickupAllowed | boolean |
None. |
|
IsUpgradeAllowed | boolean |
None. |
|
LicenseInfo | string |
None. |
|
TRNNo | string |
None. |
|
DebtorTariffID | globally unique identifier |
None. |
|
RentalContract | RentalSetting |
None. |
|
Discount | integer |
None. |
|
DailyInvoiceCycle | InvoiceCycle |
None. |
|
WeeklyInvoiceCycle | InvoiceCycle |
None. |
|
MonthlyInvoiceCycle | InvoiceCycle |
None. |
Request Formats
application/json, text/json
Sample:
{ "Identity": { "Id": "21e6904f-e702-42fc-a7cd-4aa104455477", "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": "21e6904f-e702-42fc-a7cd-4aa104455477", "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": "b2d6773e-1e25-4edc-9f84-32c77412c148", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "Longitude": 11.1, "Latitude": 12.1, "BranchType": { "BranchTypeID": "370078ee-5b5f-401f-a549-22864b564bc9", "Name": "sample string 2", "Attachment": { "AttachmentID": "b2d6773e-1e25-4edc-9f84-32c77412c148", "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": "31d89df2-8fa5-4d83-93bb-dad092a97a84", "CreditLimit": 17.0, "IsDeliveryPickupAllowed": true, "IsUpgradeAllowed": true, "LicenseInfo": "sample string 21", "TRNNo": "sample string 24", "DebtorTariffID": "abe9b31b-77be-4f06-821b-53252d721630", "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 }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResultName | Description | Type | Additional information |
---|---|---|---|
Status | ErrorCode |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": 1, "Message": "sample string 1" }
application/xml, text/xml
Sample:
<ApiResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Service.Models"> <Message>sample string 1</Message> <Status>Success</Status> </ApiResult>