POST DealsTables/PostDealsTable

Request Information

URI Parameters

None.

Body Parameters

DealsTable1
NameDescriptionTypeAdditional information
leadid

integer

None.

userid

integer

None.

propertyid

integer

None.

purchasedprice

decimal number

None.

leadStatus

integer

None.

agentPercentage

Collection of AgentPercentage

None.

agencyPercentage

integer

None.

externalAgentPercentage

Collection of ExAgentPercentage

None.

note

string

None.

address

string

None.

paymentType

integer

None.

amountReceived

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "leadid": 1,
  "userid": 1,
  "propertyid": 1,
  "purchasedprice": 1.1,
  "leadStatus": 1,
  "agentPercentage": [
    {
      "agentId": 1,
      "percentage": 2.1
    },
    {
      "agentId": 1,
      "percentage": 2.1
    }
  ],
  "agencyPercentage": 1,
  "externalAgentPercentage": [
    {
      "cName": "sample string 1",
      "percentage": 2.1
    },
    {
      "cName": "sample string 1",
      "percentage": 2.1
    }
  ],
  "note": "sample string 1",
  "address": "sample string 2",
  "paymentType": 1,
  "amountReceived": 1.1
}

application/xml, text/xml

Sample:
<DealsTable1 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/projectalminha.Classes">
  <address>sample string 2</address>
  <agencyPercentage>1</agencyPercentage>
  <agentPercentage xmlns:d2p1="http://schemas.datacontract.org/2004/07/projectalminha.Controllers">
    <d2p1:AgentPercentage>
      <d2p1:agentId>1</d2p1:agentId>
      <d2p1:percentage>2.1</d2p1:percentage>
    </d2p1:AgentPercentage>
    <d2p1:AgentPercentage>
      <d2p1:agentId>1</d2p1:agentId>
      <d2p1:percentage>2.1</d2p1:percentage>
    </d2p1:AgentPercentage>
  </agentPercentage>
  <amountReceived>1.1</amountReceived>
  <externalAgentPercentage xmlns:d2p1="http://schemas.datacontract.org/2004/07/projectalminha.Controllers">
    <d2p1:ExAgentPercentage>
      <d2p1:cName>sample string 1</d2p1:cName>
      <d2p1:percentage>2.1</d2p1:percentage>
    </d2p1:ExAgentPercentage>
    <d2p1:ExAgentPercentage>
      <d2p1:cName>sample string 1</d2p1:cName>
      <d2p1:percentage>2.1</d2p1:percentage>
    </d2p1:ExAgentPercentage>
  </externalAgentPercentage>
  <leadStatus>1</leadStatus>
  <leadid>1</leadid>
  <note>sample string 1</note>
  <paymentType>1</paymentType>
  <propertyid>1</propertyid>
  <purchasedprice>1.1</purchasedprice>
  <userid>1</userid>
</DealsTable1>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.