POST LeadHistoryTables/PostLeadHistoryTable

Request Information

URI Parameters

None.

Body Parameters

LeadHistoryTable
NameDescriptionTypeAdditional information
leadHistoryId

integer

None.

senderid

integer

None.

sendertype

integer

None.

leadstatusName

string

None.

leadId

integer

None.

leadStatus

integer

None.

propertyIds

string

None.

leadDate

date

None.

note

string

None.

followupdate

date

None.

LeadTable

LeadTable

None.

Request Formats

application/json, text/json

Sample:
{
  "leadHistoryId": 1,
  "senderid": 2,
  "sendertype": 3,
  "leadstatusName": "sample string 4",
  "leadId": 1,
  "leadStatus": 1,
  "propertyIds": "sample string 5",
  "leadDate": "2025-11-21T16:50:06.8724187-08:00",
  "note": "sample string 6",
  "followupdate": "2025-11-21T16:50:06.8724187-08:00",
  "LeadTable": {
    "leadid": 1,
    "userid": 1,
    "propertyid": 1,
    "description": "sample string 2",
    "leadtype": 1,
    "leadTime": "2025-11-21T16:50:06.8724187-08:00",
    "leadUpdatedDate": "2025-11-21T16:50:06.8724187-08:00",
    "agentid": 1,
    "agencyid": 1,
    "leadTag": 1,
    "leadStatus": 1,
    "priorityId": 1,
    "sourceId": 1,
    "mediumId": 1,
    "companyName": "sample string 3",
    "designation": "sample string 4",
    "budget": 1.1,
    "location": "sample string 5",
    "leadSerialNo": 1,
    "propertyRefNo": "sample string 6",
    "societyName": "sample string 7",
    "fileNo": "sample string 8",
    "block": "sample string 9",
    "plotNo": "sample string 10",
    "plotSize": 1.1,
    "propertyType": 1,
    "additionalNo": "sample string 11",
    "email": "sample string 12",
    "whatsappNo": "sample string 13",
    "moreinfo": "sample string 14",
    "membershipId": "sample string 15",
    "type": "sample string 16",
    "followupdate": "2025-11-21T16:50:06.8724187-08:00",
    "IsOverdueNotified": true,
    "DealsTables": [
      {
        "dealId": 1,
        "leadid": 1,
        "userid": 1,
        "propertyid": 1,
        "purchasedprice": 1.0,
        "agentPercentage": "sample string 2",
        "agencyPercentage": 1,
        "externalAgentPercentage": "sample string 3",
        "dealDate": "2025-11-21T16:50:06.8724187-08:00",
        "note": "sample string 4",
        "address": "sample string 5",
        "dealReport": "sample string 6",
        "statusId": 1,
        "sourceId": 1,
        "agentid": 1,
        "agencyid": 1,
        "dealTransactionTables": [
          {
            "amounttransactionID": 1,
            "amountTotal": 1.0,
            "amountReceived": 1.0,
            "balance": 1.0,
            "amountReceivedDate": "2025-11-21T16:50:06.8724187-08:00",
            "paymentType": 1,
            "dealid": 1,
            "clearedStatus": 1,
            "installmentId": 1,
            "dueDate": "2025-11-21T16:50:06.8724187-08:00",
            "agencyid": 1,
            "InstallmentPlanTable": {
              "installmentId": 1,
              "installmentPlanType": "sample string 2",
              "dealTransactionTables": []
            }
          },
          {
            "amounttransactionID": 1,
            "amountTotal": 1.0,
            "amountReceived": 1.0,
            "balance": 1.0,
            "amountReceivedDate": "2025-11-21T16:50:06.8724187-08:00",
            "paymentType": 1,
            "dealid": 1,
            "clearedStatus": 1,
            "installmentId": 1,
            "dueDate": "2025-11-21T16:50:06.8724187-08:00",
            "agencyid": 1,
            "InstallmentPlanTable": {
              "installmentId": 1,
              "installmentPlanType": "sample string 2",
              "dealTransactionTables": []
            }
          }
        ]
      },
      {
        "dealId": 1,
        "leadid": 1,
        "userid": 1,
        "propertyid": 1,
        "purchasedprice": 1.0,
        "agentPercentage": "sample string 2",
        "agencyPercentage": 1,
        "externalAgentPercentage": "sample string 3",
        "dealDate": "2025-11-21T16:50:06.8724187-08:00",
        "note": "sample string 4",
        "address": "sample string 5",
        "dealReport": "sample string 6",
        "statusId": 1,
        "sourceId": 1,
        "agentid": 1,
        "agencyid": 1,
        "dealTransactionTables": [
          {
            "amounttransactionID": 1,
            "amountTotal": 1.0,
            "amountReceived": 1.0,
            "balance": 1.0,
            "amountReceivedDate": "2025-11-21T16:50:06.8724187-08:00",
            "paymentType": 1,
            "dealid": 1,
            "clearedStatus": 1,
            "installmentId": 1,
            "dueDate": "2025-11-21T16:50:06.8724187-08:00",
            "agencyid": 1,
            "InstallmentPlanTable": {
              "installmentId": 1,
              "installmentPlanType": "sample string 2",
              "dealTransactionTables": []
            }
          },
          {
            "amounttransactionID": 1,
            "amountTotal": 1.0,
            "amountReceived": 1.0,
            "balance": 1.0,
            "amountReceivedDate": "2025-11-21T16:50:06.8724187-08:00",
            "paymentType": 1,
            "dealid": 1,
            "clearedStatus": 1,
            "installmentId": 1,
            "dueDate": "2025-11-21T16:50:06.8724187-08:00",
            "agencyid": 1,
            "InstallmentPlanTable": {
              "installmentId": 1,
              "installmentPlanType": "sample string 2",
              "dealTransactionTables": []
            }
          }
        ]
      }
    ],
    "LeadAssigneds": [
      {
        "id": 1,
        "leadid": 1,
        "agentid": 1,
        "assigneddate": "2025-11-21T16:50:06.8724187-08:00"
      },
      {
        "id": 1,
        "leadid": 1,
        "agentid": 1,
        "assigneddate": "2025-11-21T16:50:06.8724187-08:00"
      }
    ],
    "LeadHistoryTables": [],
    "LeadTypeTable": {
      "leadTypeId": 1,
      "leadTypeName": "sample string 2",
      "LeadTables": []
    },
    "MediumTable": {
      "mediumId": 1,
      "mediumName": "sample string 2",
      "LeadTables": []
    },
    "PriorityTable": {
      "priorityId": 1,
      "priorityName": "sample string 2",
      "LeadTables": []
    },
    "SourceTable": {
      "sourceId": 1,
      "sourceName": "sample string 2",
      "LeadTables": []
    },
    "StatusTable": {
      "statusId": 1,
      "statusName": "sample string 2",
      "LeadTables": []
    }
  }
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[projectalminha.Models.DealsTable, projectalminha, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[projectalminha.Models.DealsTable, projectalminha, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'LeadHistoryTable'.

Response Information

Resource Description

LeadHistoryTable
NameDescriptionTypeAdditional information
leadHistoryId

integer

None.

senderid

integer

None.

sendertype

integer

None.

leadstatusName

string

None.

leadId

integer

None.

leadStatus

integer

None.

propertyIds

string

None.

leadDate

date

None.

note

string

None.

followupdate

date

None.

LeadTable

LeadTable

None.

Response Formats

application/json, text/json

Sample:
{
  "leadHistoryId": 1,
  "senderid": 2,
  "sendertype": 3,
  "leadstatusName": "sample string 4",
  "leadId": 1,
  "leadStatus": 1,
  "propertyIds": "sample string 5",
  "leadDate": "2025-11-21T16:50:06.9299657-08:00",
  "note": "sample string 6",
  "followupdate": "2025-11-21T16:50:06.9299657-08:00",
  "LeadTable": {
    "leadid": 1,
    "userid": 1,
    "propertyid": 1,
    "description": "sample string 2",
    "leadtype": 1,
    "leadTime": "2025-11-21T16:50:06.9299657-08:00",
    "leadUpdatedDate": "2025-11-21T16:50:06.9299657-08:00",
    "agentid": 1,
    "agencyid": 1,
    "leadTag": 1,
    "leadStatus": 1,
    "priorityId": 1,
    "sourceId": 1,
    "mediumId": 1,
    "companyName": "sample string 3",
    "designation": "sample string 4",
    "budget": 1.1,
    "location": "sample string 5",
    "leadSerialNo": 1,
    "propertyRefNo": "sample string 6",
    "societyName": "sample string 7",
    "fileNo": "sample string 8",
    "block": "sample string 9",
    "plotNo": "sample string 10",
    "plotSize": 1.1,
    "propertyType": 1,
    "additionalNo": "sample string 11",
    "email": "sample string 12",
    "whatsappNo": "sample string 13",
    "moreinfo": "sample string 14",
    "membershipId": "sample string 15",
    "type": "sample string 16",
    "followupdate": "2025-11-21T16:50:06.9299657-08:00",
    "IsOverdueNotified": true,
    "DealsTables": [
      {
        "dealId": 1,
        "leadid": 1,
        "userid": 1,
        "propertyid": 1,
        "purchasedprice": 1.0,
        "agentPercentage": "sample string 2",
        "agencyPercentage": 1,
        "externalAgentPercentage": "sample string 3",
        "dealDate": "2025-11-21T16:50:06.9299657-08:00",
        "note": "sample string 4",
        "address": "sample string 5",
        "dealReport": "sample string 6",
        "statusId": 1,
        "sourceId": 1,
        "agentid": 1,
        "agencyid": 1,
        "dealTransactionTables": [
          {
            "amounttransactionID": 1,
            "amountTotal": 1.0,
            "amountReceived": 1.0,
            "balance": 1.0,
            "amountReceivedDate": "2025-11-21T16:50:06.9299657-08:00",
            "paymentType": 1,
            "dealid": 1,
            "clearedStatus": 1,
            "installmentId": 1,
            "dueDate": "2025-11-21T16:50:06.9299657-08:00",
            "agencyid": 1,
            "InstallmentPlanTable": {
              "installmentId": 1,
              "installmentPlanType": "sample string 2",
              "dealTransactionTables": []
            }
          },
          {
            "amounttransactionID": 1,
            "amountTotal": 1.0,
            "amountReceived": 1.0,
            "balance": 1.0,
            "amountReceivedDate": "2025-11-21T16:50:06.9299657-08:00",
            "paymentType": 1,
            "dealid": 1,
            "clearedStatus": 1,
            "installmentId": 1,
            "dueDate": "2025-11-21T16:50:06.9299657-08:00",
            "agencyid": 1,
            "InstallmentPlanTable": {
              "installmentId": 1,
              "installmentPlanType": "sample string 2",
              "dealTransactionTables": []
            }
          }
        ]
      },
      {
        "dealId": 1,
        "leadid": 1,
        "userid": 1,
        "propertyid": 1,
        "purchasedprice": 1.0,
        "agentPercentage": "sample string 2",
        "agencyPercentage": 1,
        "externalAgentPercentage": "sample string 3",
        "dealDate": "2025-11-21T16:50:06.9299657-08:00",
        "note": "sample string 4",
        "address": "sample string 5",
        "dealReport": "sample string 6",
        "statusId": 1,
        "sourceId": 1,
        "agentid": 1,
        "agencyid": 1,
        "dealTransactionTables": [
          {
            "amounttransactionID": 1,
            "amountTotal": 1.0,
            "amountReceived": 1.0,
            "balance": 1.0,
            "amountReceivedDate": "2025-11-21T16:50:06.9299657-08:00",
            "paymentType": 1,
            "dealid": 1,
            "clearedStatus": 1,
            "installmentId": 1,
            "dueDate": "2025-11-21T16:50:06.9299657-08:00",
            "agencyid": 1,
            "InstallmentPlanTable": {
              "installmentId": 1,
              "installmentPlanType": "sample string 2",
              "dealTransactionTables": []
            }
          },
          {
            "amounttransactionID": 1,
            "amountTotal": 1.0,
            "amountReceived": 1.0,
            "balance": 1.0,
            "amountReceivedDate": "2025-11-21T16:50:06.9299657-08:00",
            "paymentType": 1,
            "dealid": 1,
            "clearedStatus": 1,
            "installmentId": 1,
            "dueDate": "2025-11-21T16:50:06.9299657-08:00",
            "agencyid": 1,
            "InstallmentPlanTable": {
              "installmentId": 1,
              "installmentPlanType": "sample string 2",
              "dealTransactionTables": []
            }
          }
        ]
      }
    ],
    "LeadAssigneds": [
      {
        "id": 1,
        "leadid": 1,
        "agentid": 1,
        "assigneddate": "2025-11-21T16:50:06.9299657-08:00"
      },
      {
        "id": 1,
        "leadid": 1,
        "agentid": 1,
        "assigneddate": "2025-11-21T16:50:06.9299657-08:00"
      }
    ],
    "LeadHistoryTables": [],
    "LeadTypeTable": {
      "leadTypeId": 1,
      "leadTypeName": "sample string 2",
      "LeadTables": []
    },
    "MediumTable": {
      "mediumId": 1,
      "mediumName": "sample string 2",
      "LeadTables": []
    },
    "PriorityTable": {
      "priorityId": 1,
      "priorityName": "sample string 2",
      "LeadTables": []
    },
    "SourceTable": {
      "sourceId": 1,
      "sourceName": "sample string 2",
      "LeadTables": []
    },
    "StatusTable": {
      "statusId": 1,
      "statusName": "sample string 2",
      "LeadTables": []
    }
  }
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[projectalminha.Models.DealsTable, projectalminha, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[projectalminha.Models.DealsTable, projectalminha, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.