POST dealTransactionTables/PutdealTransactionTable/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

dealTransactionTable
NameDescriptionTypeAdditional information
amounttransactionID

integer

None.

amountTotal

decimal number

None.

amountReceived

decimal number

None.

balance

decimal number

None.

amountReceivedDate

date

None.

paymentType

integer

None.

dealid

integer

None.

clearedStatus

integer

None.

installmentId

integer

None.

dueDate

date

None.

agencyid

integer

None.

DealsTable

DealsTable

None.

InstallmentPlanTable

InstallmentPlanTable

None.

Request Formats

application/json, text/json

Sample:
{
  "amounttransactionID": 1,
  "amountTotal": 1.0,
  "amountReceived": 1.0,
  "balance": 1.0,
  "amountReceivedDate": "2025-11-21T16:51:40.2719893-08:00",
  "paymentType": 1,
  "dealid": 1,
  "clearedStatus": 1,
  "installmentId": 1,
  "dueDate": "2025-11-21T16:51:40.2719893-08:00",
  "agencyid": 1,
  "DealsTable": {
    "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:51:40.2719893-08:00",
    "note": "sample string 4",
    "address": "sample string 5",
    "dealReport": "sample string 6",
    "statusId": 1,
    "sourceId": 1,
    "agentid": 1,
    "agencyid": 1,
    "dealTransactionTables": [],
    "LeadTable": {
      "leadid": 1,
      "userid": 1,
      "propertyid": 1,
      "description": "sample string 2",
      "leadtype": 1,
      "leadTime": "2025-11-21T16:51:40.2719893-08:00",
      "leadUpdatedDate": "2025-11-21T16:51:40.2719893-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:51:40.2719893-08:00",
      "IsOverdueNotified": true,
      "DealsTables": [],
      "LeadAssigneds": [
        {
          "id": 1,
          "leadid": 1,
          "agentid": 1,
          "assigneddate": "2025-11-21T16:51:40.2719893-08:00"
        },
        {
          "id": 1,
          "leadid": 1,
          "agentid": 1,
          "assigneddate": "2025-11-21T16:51:40.2719893-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:51:40.2719893-08:00",
          "note": "sample string 6",
          "followupdate": "2025-11-21T16:51:40.2719893-08:00"
        },
        {
          "leadHistoryId": 1,
          "senderid": 2,
          "sendertype": 3,
          "leadstatusName": "sample string 4",
          "leadId": 1,
          "leadStatus": 1,
          "propertyIds": "sample string 5",
          "leadDate": "2025-11-21T16:51:40.2719893-08:00",
          "note": "sample string 6",
          "followupdate": "2025-11-21T16:51:40.2719893-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": []
      }
    }
  },
  "InstallmentPlanTable": {
    "installmentId": 1,
    "installmentPlanType": "sample string 2",
    "dealTransactionTables": []
  }
}

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 'projectalminha.Models.LeadTable' 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 'projectalminha.Models.LeadTable' 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 'dealTransactionTable'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.