POST api/Peppermint
Submits a referral to dezrez legal
Request Information
URI Parameters
None.
Body Parameters
Dezrez.Core.DataContracts.External.Api.Peppermint.Command.ReferralDataContractName | Description | Type | Additional information |
---|---|---|---|
Contact | Dezrez.Core.DataContracts.External.Api.Peppermint.Command.PeppermintContact |
None. |
|
Contact1 | Dezrez.Core.DataContracts.External.Api.Peppermint.Command.PeppermintContact |
None. |
|
EstateAgent | Dezrez.Core.DataContracts.External.Api.Peppermint.Command.PeppermintContact |
None. |
|
Properties | Collection of Dezrez.Core.DataContracts.External.Api.Peppermint.Command.PeppermintProperty |
None. |
|
ReferringAgent | Dezrez.Core.DataContracts.External.Api.Peppermint.Command.PeppermintContact |
None. |
|
ReferringNegotiator | Dezrez.Core.DataContracts.External.Api.Peppermint.Command.PeppermintContact |
None. |
|
ReferredSolicitor | Dezrez.Core.DataContracts.External.Api.Peppermint.Command.PeppermintContact |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
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" } }
Response Information
Resource Description
Dezrez.Core.DataContracts.External.Api.Peppermint.Query.ReferralResponseDataContractName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "ErrorMessage": "sample string 2" }