POST api/legal/referrals

Request Information

URI Parameters

None.

Body Parameters

ReferralDataContract
NameDescriptionTypeAdditional information
Contact

PeppermintContact

None.

Contact1

PeppermintContact

None.

EstateAgent

PeppermintContact

None.

Properties

Collection of PeppermintProperty

None.

ReferringAgent

PeppermintContact

None.

ReferringNegotiator

PeppermintContact

None.

ReferredSolicitor

PeppermintContact

None.

Request Formats

application/json, text/json

Sample:
{
  "Contact": {
    "BusinessPhone": "sample string 1",
    "CompanyName": "sample string 2",
    "ContactMethodDoNotBulkEmail": true,
    "ContactMethodDoNotEmail": true,
    "ContactMethodDoNotFax": true,
    "ContactMethodDoNotMail": true,
    "ContactMethodDoNotPhone": true,
    "Country": "sample string 8",
    "DezrezAgentID": 9,
    "DezrezBranchID": 10,
    "DezrezContactID": 11,
    "DezrezNegotiatorID": 12,
    "DezrezGroupID": 13,
    "Email": "sample string 14",
    "Fax": "sample string 15",
    "FirstName": "sample string 16",
    "HomePhone": "sample string 17",
    "LastName": "sample string 18",
    "MobilePhone": "sample string 19",
    "PostCode": "sample string 20",
    "PreferredMethodOfContact": 1,
    "ReferralNotes": "sample string 21",
    "Salutation": "sample string 22",
    "StreetAddress1": "sample string 23",
    "StreetAddress2": "sample string 24",
    "Town": "sample string 25",
    "WebSite": "sample string 26"
  },
  "Contact1": {
    "BusinessPhone": "sample string 1",
    "CompanyName": "sample string 2",
    "ContactMethodDoNotBulkEmail": true,
    "ContactMethodDoNotEmail": true,
    "ContactMethodDoNotFax": true,
    "ContactMethodDoNotMail": true,
    "ContactMethodDoNotPhone": true,
    "Country": "sample string 8",
    "DezrezAgentID": 9,
    "DezrezBranchID": 10,
    "DezrezContactID": 11,
    "DezrezNegotiatorID": 12,
    "DezrezGroupID": 13,
    "Email": "sample string 14",
    "Fax": "sample string 15",
    "FirstName": "sample string 16",
    "HomePhone": "sample string 17",
    "LastName": "sample string 18",
    "MobilePhone": "sample string 19",
    "PostCode": "sample string 20",
    "PreferredMethodOfContact": 1,
    "ReferralNotes": "sample string 21",
    "Salutation": "sample string 22",
    "StreetAddress1": "sample string 23",
    "StreetAddress2": "sample string 24",
    "Town": "sample string 25",
    "WebSite": "sample string 26"
  },
  "EstateAgent": {
    "BusinessPhone": "sample string 1",
    "CompanyName": "sample string 2",
    "ContactMethodDoNotBulkEmail": true,
    "ContactMethodDoNotEmail": true,
    "ContactMethodDoNotFax": true,
    "ContactMethodDoNotMail": true,
    "ContactMethodDoNotPhone": true,
    "Country": "sample string 8",
    "DezrezAgentID": 9,
    "DezrezBranchID": 10,
    "DezrezContactID": 11,
    "DezrezNegotiatorID": 12,
    "DezrezGroupID": 13,
    "Email": "sample string 14",
    "Fax": "sample string 15",
    "FirstName": "sample string 16",
    "HomePhone": "sample string 17",
    "LastName": "sample string 18",
    "MobilePhone": "sample string 19",
    "PostCode": "sample string 20",
    "PreferredMethodOfContact": 1,
    "ReferralNotes": "sample string 21",
    "Salutation": "sample string 22",
    "StreetAddress1": "sample string 23",
    "StreetAddress2": "sample string 24",
    "Town": "sample string 25",
    "WebSite": "sample string 26"
  },
  "Properties": [
    {
      "ContactsRelationshipWithThisProperty": 0,
      "DezrezPropertyID": 1,
      "DezrezPropertyRoleID": 2,
      "PanelReference": "sample string 3",
      "Postcode": "sample string 4",
      "Price": 5.0,
      "StreetAddress1": "sample string 6",
      "StreetAddress2": "sample string 7",
      "Tenure": 956690000,
      "Town": "sample string 8"
    },
    {
      "ContactsRelationshipWithThisProperty": 0,
      "DezrezPropertyID": 1,
      "DezrezPropertyRoleID": 2,
      "PanelReference": "sample string 3",
      "Postcode": "sample string 4",
      "Price": 5.0,
      "StreetAddress1": "sample string 6",
      "StreetAddress2": "sample string 7",
      "Tenure": 956690000,
      "Town": "sample string 8"
    }
  ],
  "ReferringAgent": {
    "BusinessPhone": "sample string 1",
    "CompanyName": "sample string 2",
    "ContactMethodDoNotBulkEmail": true,
    "ContactMethodDoNotEmail": true,
    "ContactMethodDoNotFax": true,
    "ContactMethodDoNotMail": true,
    "ContactMethodDoNotPhone": true,
    "Country": "sample string 8",
    "DezrezAgentID": 9,
    "DezrezBranchID": 10,
    "DezrezContactID": 11,
    "DezrezNegotiatorID": 12,
    "DezrezGroupID": 13,
    "Email": "sample string 14",
    "Fax": "sample string 15",
    "FirstName": "sample string 16",
    "HomePhone": "sample string 17",
    "LastName": "sample string 18",
    "MobilePhone": "sample string 19",
    "PostCode": "sample string 20",
    "PreferredMethodOfContact": 1,
    "ReferralNotes": "sample string 21",
    "Salutation": "sample string 22",
    "StreetAddress1": "sample string 23",
    "StreetAddress2": "sample string 24",
    "Town": "sample string 25",
    "WebSite": "sample string 26"
  },
  "ReferringNegotiator": {
    "BusinessPhone": "sample string 1",
    "CompanyName": "sample string 2",
    "ContactMethodDoNotBulkEmail": true,
    "ContactMethodDoNotEmail": true,
    "ContactMethodDoNotFax": true,
    "ContactMethodDoNotMail": true,
    "ContactMethodDoNotPhone": true,
    "Country": "sample string 8",
    "DezrezAgentID": 9,
    "DezrezBranchID": 10,
    "DezrezContactID": 11,
    "DezrezNegotiatorID": 12,
    "DezrezGroupID": 13,
    "Email": "sample string 14",
    "Fax": "sample string 15",
    "FirstName": "sample string 16",
    "HomePhone": "sample string 17",
    "LastName": "sample string 18",
    "MobilePhone": "sample string 19",
    "PostCode": "sample string 20",
    "PreferredMethodOfContact": 1,
    "ReferralNotes": "sample string 21",
    "Salutation": "sample string 22",
    "StreetAddress1": "sample string 23",
    "StreetAddress2": "sample string 24",
    "Town": "sample string 25",
    "WebSite": "sample string 26"
  },
  "ReferredSolicitor": {
    "BusinessPhone": "sample string 1",
    "CompanyName": "sample string 2",
    "ContactMethodDoNotBulkEmail": true,
    "ContactMethodDoNotEmail": true,
    "ContactMethodDoNotFax": true,
    "ContactMethodDoNotMail": true,
    "ContactMethodDoNotPhone": true,
    "Country": "sample string 8",
    "DezrezAgentID": 9,
    "DezrezBranchID": 10,
    "DezrezContactID": 11,
    "DezrezNegotiatorID": 12,
    "DezrezGroupID": 13,
    "Email": "sample string 14",
    "Fax": "sample string 15",
    "FirstName": "sample string 16",
    "HomePhone": "sample string 17",
    "LastName": "sample string 18",
    "MobilePhone": "sample string 19",
    "PostCode": "sample string 20",
    "PreferredMethodOfContact": 1,
    "ReferralNotes": "sample string 21",
    "Salutation": "sample string 22",
    "StreetAddress1": "sample string 23",
    "StreetAddress2": "sample string 24",
    "Town": "sample string 25",
    "WebSite": "sample string 26"
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.