POST api/Renter?apiKey={apiKey}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
apiKey

string

Required

Body Parameters

Renter
NameDescriptionTypeAdditional information
Identity

Identity

None.

TitleType

TitleType

None.

FirstName

string

None.

LastName

string

None.

ContactNo

string

None.

EmailId

string

None.

BirthDate

date

None.

Address

string

None.

CountryState

CountryState

None.

DrivingLicense

DrivingLicense

None.

Passport

Passport

None.

Balance

decimal number

None.

CreditCardDetail

Collection of CreditCardDetail

None.

AdditionalDocument

AdditionalDocument

None.

Request Formats

application/json, text/json

Sample:
{
  "Identity": {
    "Id": "6108c18a-de90-42c0-8aff-f769e7e42e9e",
    "Code": "sample string 2"
  },
  "TitleType": 0,
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "ContactNo": "sample string 4",
  "EmailId": "sample string 5",
  "BirthDate": "2024-06-14T07:46:30.6221595+04:00",
  "Address": "sample string 7",
  "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"
  },
  "DrivingLicense": {
    "LicenseNo": "sample string 1",
    "IssuedBy": "sample string 2",
    "IssuedOn": "2024-06-14T07:46:30.6221595+04:00",
    "ExpiresOn": "2024-06-14T07:46:30.6221595+04:00"
  },
  "Passport": {
    "PassportNo": "sample string 1",
    "IssuedOn": "2024-06-14T07:46:30.6221595+04:00",
    "ExpiresOn": "2024-06-14T07:46:30.6221595+04:00",
    "IssuedCountryCode": "sample string 5",
    "IssuedCountryName": "sample string 6"
  },
  "Balance": 9.0,
  "CreditCardDetail": [
    {
      "CreditCardType": "sample string 3",
      "CreditCardNo": "sample string 4",
      "ExpiryOn": "2024-06-14T07:46:30.6221595+04:00",
      "IssuedByBank": "sample string 7"
    },
    {
      "CreditCardType": "sample string 3",
      "CreditCardNo": "sample string 4",
      "ExpiryOn": "2024-06-14T07:46:30.6221595+04:00",
      "IssuedByBank": "sample string 7"
    }
  ],
  "AdditionalDocument": {
    "DocumentNo": "sample string 1",
    "IssuedBy": "sample string 2",
    "IssuedOn": "2024-06-14T07:46:30.6221595+04:00",
    "ExpiresOn": "2024-06-14T07:46:30.6221595+04:00"
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResultWithDataOfRecordResponse
NameDescriptionTypeAdditional information
Data

RecordResponse

None.

Status

ErrorCode

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "Id": "177a22bb-ea0a-46f3-aeda-6c048423d52d"
  },
  "Status": 1,
  "Message": "sample string 1"
}

application/xml, text/xml

Sample:
<ApiResultWithDataOfRecordResponsemXi9Zpx2 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>
  <Data>
    <Id>177a22bb-ea0a-46f3-aeda-6c048423d52d</Id>
  </Data>
</ApiResultWithDataOfRecordResponsemXi9Zpx2>