PUT DealsTables/PutDealsTable/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

DealsTable
NameDescriptionTypeAdditional information
dealId

integer

None.

leadid

integer

None.

userid

integer

None.

propertyid

integer

None.

purchasedprice

decimal number

None.

agentPercentage

string

None.

agencyPercentage

integer

None.

externalAgentPercentage

string

None.

dealDate

date

None.

note

string

None.

address

string

None.

dealReport

string

None.

statusId

integer

None.

sourceId

integer

None.

agentid

integer

None.

agencyid

integer

None.

dealTransactionTables

Collection of dealTransactionTable

None.

LeadTable

LeadTable

None.

Request Formats

application/json, text/json

Sample:
{
  "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:52:10.9736659-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:52:10.9747485-08:00",
      "paymentType": 1,
      "dealid": 1,
      "clearedStatus": 1,
      "installmentId": 1,
      "dueDate": "2025-11-21T16:52:10.9747485-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:52:10.9747485-08:00",
      "paymentType": 1,
      "dealid": 1,
      "clearedStatus": 1,
      "installmentId": 1,
      "dueDate": "2025-11-21T16:52:10.9747485-08:00",
      "agencyid": 1,
      "InstallmentPlanTable": {
        "installmentId": 1,
        "installmentPlanType": "sample string 2",
        "dealTransactionTables": []
      }
    }
  ],
  "LeadTable": {
    "leadid": 1,
    "userid": 1,
    "propertyid": 1,
    "description": "sample string 2",
    "leadtype": 1,
    "leadTime": "2025-11-21T16:52:10.9747485-08:00",
    "leadUpdatedDate": "2025-11-21T16:52:10.9747485-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:52:10.9747485-08:00",
    "IsOverdueNotified": true,
    "DealsTables": [],
    "LeadAssigneds": [
      {
        "id": 1,
        "leadid": 1,
        "agentid": 1,
        "assigneddate": "2025-11-21T16:52:10.9747485-08:00"
      },
      {
        "id": 1,
        "leadid": 1,
        "agentid": 1,
        "assigneddate": "2025-11-21T16:52:10.9747485-08:00"
      }
    ],
    "LeadHistoryTables": [
      {
        "leadHistoryId": 1,
        "senderid": 2,
        "sendertype": 3,
        "leadstatusName": "sample string 4",
        "leadId": 1,
        "leadStatus": 1,
        "propertyIds": "sample string 5",
        "leadDate": "2025-11-21T16:52:10.9747485-08:00",
        "note": "sample string 6",
        "followupdate": "2025-11-21T16:52:10.9747485-08:00"
      },
      {
        "leadHistoryId": 1,
        "senderid": 2,
        "sendertype": 3,
        "leadstatusName": "sample string 4",
        "leadId": 1,
        "leadStatus": 1,
        "propertyIds": "sample string 5",
        "leadDate": "2025-11-21T16:52:10.9747485-08:00",
        "note": "sample string 6",
        "followupdate": "2025-11-21T16:52:10.9747485-08:00"
      }
    ],
    "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 'DealsTable'.

Response Information

Resource Description

None.