POST api/v1/registrations/send_contact
Request Information
URI Parameters
None.
Body Parameters
ContactLandlordName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
id_property | globally unique identifier |
None. |
|
string |
None. |
||
phone | string |
None. |
|
name | string |
None. |
|
company_name | string |
None. |
|
full_name | string |
None. |
|
looking_for | string |
None. |
|
size | string |
None. |
|
timing | string |
None. |
|
available_now | boolean |
None. |
|
message | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "id_property": "28135f8d-ceb2-471e-a4ed-b920d1d64fac", "email": "sample string 3", "phone": "sample string 4", "name": "sample string 5", "company_name": "sample string 6", "full_name": "sample string 7", "looking_for": "sample string 8", "size": "sample string 9", "timing": "sample string 10", "available_now": true, "message": "sample string 12" }
application/xml, text/xml
Sample:
<ContactLandlord xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IO.Swagger.Models"> <available_now>true</available_now> <company_name>sample string 6</company_name> <email>sample string 3</email> <full_name>sample string 7</full_name> <id>1</id> <id_property>28135f8d-ceb2-471e-a4ed-b920d1d64fac</id_property> <looking_for>sample string 8</looking_for> <message>sample string 12</message> <name>sample string 5</name> <phone>sample string 4</phone> <size>sample string 9</size> <timing>sample string 10</timing> </ContactLandlord>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultName | Description | Type | Additional information |
---|---|---|---|
messages | Collection of ResultMessage |
None. |
|
count_of_errors | integer |
None. |
|
id | Object |
None. |
|
name | string |
None. |
|
data | Object |
None. |
|
url | string |
None. |
|
text | string |
None. |
|
inner_exception | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "messages": [ { "type": 1, "code": 1, "message": "sample string 1", "field": "sample string 2" }, { "type": 1, "code": 1, "message": "sample string 1", "field": "sample string 2" } ], "count_of_errors": 1, "id": {}, "name": "sample string 3", "data": {}, "url": "sample string 5", "text": "sample string 6", "inner_exception": "sample string 7" }
application/xml, text/xml
Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UP.Core.Data"> <count_of_errors>1</count_of_errors> <data /> <id /> <inner_exception>sample string 7</inner_exception> <messages> <ResultMessage> <code>1</code> <field>sample string 2</field> <message>sample string 1</message> <type>1</type> </ResultMessage> <ResultMessage> <code>1</code> <field>sample string 2</field> <message>sample string 1</message> <type>1</type> </ResultMessage> </messages> <name>sample string 3</name> <text>sample string 6</text> <url>sample string 5</url> </Result>