POST api/crmconnect/property
Get a property from the old crm as a AddPropertyCommandDataContract so that it can be added to rezi
Request Information
URI Parameters
None.
Body Parameters
A value usable to identify the item in the crm, this key is generated by the selected domain service
ObjectNone.
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{}
Response Information
Resource Description
Dezrez.Core.DataContracts.External.Api.Property.Command.AddProperty.AddPropertyCommandDataContractName | Description | Type | Additional information |
---|---|---|---|
Property | Dezrez.Core.DataContracts.External.Api.Property.Command.AddProperty.PropertyCommandDataContract |
None. |
|
AmenityDescription | Dezrez.Core.DataContracts.External.Api.Property.Command.BookValuation.Descriptions.BookValuationAmenityDescriptionCommandDataContract |
None. |
|
RoomCountDescription | Dezrez.Core.DataContracts.External.Api.Property.Command.BookValuation.Descriptions.BookValuationRoomCountDescriptionCommandDataContract |
None. |
|
StyleAgeDescription | Dezrez.Core.DataContracts.External.Api.Property.Command.BookValuation.Descriptions.BookValuationStyleAgeDescriptionCommandDataContract |
None. |
Response Formats
application/json, text/json
Sample:
{ "Property": { "Address": { "Latitude": 1.1, "Longitude": 2.1, "AddressSource": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "SourceId": "sample string 3", "OrganizationName": "sample string 4", "Number": "sample string 5", "BuildingName": "sample string 6", "Street": "sample string 7", "Town": "sample string 8", "Locality": "sample string 9", "County": "sample string 10", "Postcode": "sample string 11", "CreatedDate": "2024-11-21T09:36:42.6171283Z", "CreatedBy": { "Initials": "sample string 1", "ContactName": "sample string 2", "Gender": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "Title": "sample string 3", "FirstName": "sample string 4", "LastName": "sample string 5", "PrimaryTelephone": { "Type": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "Value": "sample string 1", "Notes": "sample string 2", "ContactOrder": 3, "AllowContact": true, "MarketingContactStatus": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "Name": "sample string 5", "Id": 6 }, "PrimaryEmail": { "Type": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "Value": "sample string 1", "Notes": "sample string 2", "ContactOrder": 3, "AllowContact": true, "MarketingContactStatus": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "Name": "sample string 5", "Id": 6 }, "JobTitle": "sample string 6", "Id": 7 }, "Id": 13 }, "Id": 1 }, "AmenityDescription": { "Gardens": 1, "ParkingSpaces": 2, "ParkingTypes": [ { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" } ], "Garages": 3, "FixturesFittings": "sample string 4", "Acreage": 5.1, "AcreageMeasurementUnitType": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "AccessibilityTypes": [ { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" } ], "HeatingSources": [ { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" } ], "ElectricitySupply": [ { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" } ], "WaterSupply": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "Sewerage": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "BroadbandConnectionTypes": [ { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" } ], "Name": "sample string 6", "Id": 7 }, "RoomCountDescription": { "Bedrooms": 1, "Bathrooms": 2, "Receptions": 3, "Others": 4, "Conservatories": 5, "Extensions": 6, "Name": "sample string 7", "Id": 8 }, "StyleAgeDescription": { "PropertyType": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "StyleType": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "LeaseType": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "AgeType": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "Name": "sample string 1", "Id": 2 } }