POST api/viewing/bookviewing

Request Information

URI Parameters

None.

Body Parameters

SaveAppointmentCommandDataContract
NameDescriptionTypeAdditional information
Name

string

None.

Description

string

None.

PropertyId

integer

None.

RoleId

integer

None.

AppointmentDetail

AppointmentDetailCommandDataContract

None.

EventType

string

None.

ReasonOfCancellation

string

None.

IsCalculated

boolean

None.

IsEditSeries

boolean

None.

OriginalDate

date

None.

Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Description": "sample string 2",
  "PropertyId": 3,
  "RoleId": 4,
  "AppointmentDetail": {
    "Name": "sample string 1",
    "Description": "sample string 2",
    "AllDayEvent": true,
    "StartDate": "2018-11-14T15:06:27.2721798Z",
    "EndDate": "2018-11-14T15:06:27.2721798Z",
    "Schedule": {
      "Frequency": 1,
      "StartDate": "2018-11-14T15:06:27.2721798Z",
      "DaysOfWeek": [
        1,
        1
      ],
      "DayOfMonth": 1,
      "Interval": 2,
      "AnniversaryDay": 3,
      "AnniversaryMonth": 4
    },
    "EventStatus": {
      "Id": 1,
      "Name": "sample string 2",
      "SystemName": "sample string 3"
    },
    "MeetingPlaceId": 5,
    "TeamId": 6,
    "EventCategory": {
      "Id": 1,
      "Name": "sample string 2",
      "SystemName": "sample string 3"
    },
    "EventType": {
      "Id": 1,
      "Name": "sample string 2",
      "SystemName": "sample string 3"
    },
    "NegotiatorIds": [
      1,
      2
    ],
    "AttendingGroups": [
      {
        "Type": {
          "Id": 1,
          "Name": "sample string 2",
          "SystemName": "sample string 3"
        },
        "Group": {
          "Name": "sample string 1",
          "Description": "sample string 2",
          "Members": [
            {
              "Person": {
                "PersonId": 1,
                "Gender": {
                  "Id": 1,
                  "Name": "sample string 2",
                  "SystemName": "sample string 3"
                },
                "Title": "sample string 1",
                "FirstName": "sample string 2",
                "LastName": "sample string 3",
                "Addresses": [
                  {
                    "ContactOrder": 1,
                    "AddressType": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "Latitude": 2.1,
                    "Longitude": 3.1,
                    "AddressSource": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "SourceId": "sample string 4",
                    "OrganizationName": "sample string 5",
                    "Number": "sample string 6",
                    "BuildingName": "sample string 7",
                    "Street": "sample string 8",
                    "Town": "sample string 9",
                    "Locality": "sample string 10",
                    "County": "sample string 11",
                    "Postcode": "sample string 12",
                    "CreatedDate": "2018-11-14T15:06:27.9908972Z",
                    "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": 14
                  },
                  {
                    "ContactOrder": 1,
                    "AddressType": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "Latitude": 2.1,
                    "Longitude": 3.1,
                    "AddressSource": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "SourceId": "sample string 4",
                    "OrganizationName": "sample string 5",
                    "Number": "sample string 6",
                    "BuildingName": "sample string 7",
                    "Street": "sample string 8",
                    "Town": "sample string 9",
                    "Locality": "sample string 10",
                    "County": "sample string 11",
                    "Postcode": "sample string 12",
                    "CreatedDate": "2018-11-14T15:06:27.9908972Z",
                    "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": 14
                  }
                ],
                "ContactItems": [
                  {
                    "Id": 1,
                    "Type": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "Value": "sample string 2",
                    "Notes": "sample string 3",
                    "ContactOrder": 4,
                    "AllowContact": true,
                    "MarketingContactStatus": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "NormalisedRegionCode": "sample string 5"
                  },
                  {
                    "Id": 1,
                    "Type": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "Value": "sample string 2",
                    "Notes": "sample string 3",
                    "ContactOrder": 4,
                    "AllowContact": true,
                    "MarketingContactStatus": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "NormalisedRegionCode": "sample string 5"
                  }
                ],
                "ServiceTypes": [
                  {
                    "Service": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "Referral": true
                  },
                  {
                    "Service": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "Referral": true
                  }
                ],
                "Id": 4
              },
              "RelationshipType": {
                "Id": 1,
                "Name": "sample string 2",
                "SystemName": "sample string 3"
              },
              "Id": 1
            },
            {
              "Person": {
                "PersonId": 1,
                "Gender": {
                  "Id": 1,
                  "Name": "sample string 2",
                  "SystemName": "sample string 3"
                },
                "Title": "sample string 1",
                "FirstName": "sample string 2",
                "LastName": "sample string 3",
                "Addresses": [
                  {
                    "ContactOrder": 1,
                    "AddressType": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "Latitude": 2.1,
                    "Longitude": 3.1,
                    "AddressSource": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "SourceId": "sample string 4",
                    "OrganizationName": "sample string 5",
                    "Number": "sample string 6",
                    "BuildingName": "sample string 7",
                    "Street": "sample string 8",
                    "Town": "sample string 9",
                    "Locality": "sample string 10",
                    "County": "sample string 11",
                    "Postcode": "sample string 12",
                    "CreatedDate": "2018-11-14T15:06:27.9908972Z",
                    "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": 14
                  },
                  {
                    "ContactOrder": 1,
                    "AddressType": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "Latitude": 2.1,
                    "Longitude": 3.1,
                    "AddressSource": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "SourceId": "sample string 4",
                    "OrganizationName": "sample string 5",
                    "Number": "sample string 6",
                    "BuildingName": "sample string 7",
                    "Street": "sample string 8",
                    "Town": "sample string 9",
                    "Locality": "sample string 10",
                    "County": "sample string 11",
                    "Postcode": "sample string 12",
                    "CreatedDate": "2018-11-14T15:06:27.9908972Z",
                    "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": 14
                  }
                ],
                "ContactItems": [
                  {
                    "Id": 1,
                    "Type": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "Value": "sample string 2",
                    "Notes": "sample string 3",
                    "ContactOrder": 4,
                    "AllowContact": true,
                    "MarketingContactStatus": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "NormalisedRegionCode": "sample string 5"
                  },
                  {
                    "Id": 1,
                    "Type": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "Value": "sample string 2",
                    "Notes": "sample string 3",
                    "ContactOrder": 4,
                    "AllowContact": true,
                    "MarketingContactStatus": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "NormalisedRegionCode": "sample string 5"
                  }
                ],
                "ServiceTypes": [
                  {
                    "Service": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "Referral": true
                  },
                  {
                    "Service": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "Referral": true
                  }
                ],
                "Id": 4
              },
              "RelationshipType": {
                "Id": 1,
                "Name": "sample string 2",
                "SystemName": "sample string 3"
              },
              "Id": 1
            }
          ],
          "GroupType": {
            "Id": 1,
            "Name": "sample string 2",
            "SystemName": "sample string 3"
          },
          "Origin": {
            "Id": 1,
            "Name": "sample string 2",
            "SystemName": "sample string 3"
          },
          "Grade": {
            "Id": 1,
            "Name": "sample string 2",
            "SystemName": "sample string 3"
          },
          "ExternalProviderTypes": [
            {
              "Id": 1,
              "Name": "sample string 2",
              "SystemName": "sample string 3"
            },
            {
              "Id": 1,
              "Name": "sample string 2",
              "SystemName": "sample string 3"
            }
          ],
          "VATNumber": "sample string 3",
          "AdditionalQuestions": {
            "ArrangedMortgage": true,
            "MortgageProvider": "sample string 1",
            "HowLongToMove": "sample string 2",
            "ReasonForMoving": "sample string 3",
            "HowHeard": "sample string 4",
            "EnquiryMethod": "sample string 5",
            "BestTimeToCall": "sample string 6",
            "WhenCanView": "sample string 7",
            "HappyToReceivePropertyEmails": true,
            "ViewedAnyProperties": true,
            "LocalOwnToSell": true,
            "AskingPrice": "sample string 8",
            "Bedrooms": 1,
            "CurrentlyOnMarket": true,
            "SellingWith": "sample string 9",
            "OnMarketSince": "2018-11-14T15:06:28.0690232Z",
            "ReasonForSale": "sample string 10",
            "OfferedMA": true,
            "CurrentStatus": {
              "Id": 1,
              "Name": "sample string 2",
              "SystemName": "sample string 3"
            },
            "Financial": {
              "Id": 1,
              "Name": "sample string 2",
              "SystemName": "sample string 3"
            },
            "Reason": {
              "Id": 1,
              "Name": "sample string 2",
              "SystemName": "sample string 3"
            }
          },
          "Id": 4
        },
        "AttendingPeopleIds": [
          1,
          2
        ]
      },
      {
        "Type": {
          "Id": 1,
          "Name": "sample string 2",
          "SystemName": "sample string 3"
        },
        "Group": {
          "Name": "sample string 1",
          "Description": "sample string 2",
          "Members": [
            {
              "Person": {
                "PersonId": 1,
                "Gender": {
                  "Id": 1,
                  "Name": "sample string 2",
                  "SystemName": "sample string 3"
                },
                "Title": "sample string 1",
                "FirstName": "sample string 2",
                "LastName": "sample string 3",
                "Addresses": [
                  {
                    "ContactOrder": 1,
                    "AddressType": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "Latitude": 2.1,
                    "Longitude": 3.1,
                    "AddressSource": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "SourceId": "sample string 4",
                    "OrganizationName": "sample string 5",
                    "Number": "sample string 6",
                    "BuildingName": "sample string 7",
                    "Street": "sample string 8",
                    "Town": "sample string 9",
                    "Locality": "sample string 10",
                    "County": "sample string 11",
                    "Postcode": "sample string 12",
                    "CreatedDate": "2018-11-14T15:06:27.9908972Z",
                    "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": 14
                  },
                  {
                    "ContactOrder": 1,
                    "AddressType": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "Latitude": 2.1,
                    "Longitude": 3.1,
                    "AddressSource": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "SourceId": "sample string 4",
                    "OrganizationName": "sample string 5",
                    "Number": "sample string 6",
                    "BuildingName": "sample string 7",
                    "Street": "sample string 8",
                    "Town": "sample string 9",
                    "Locality": "sample string 10",
                    "County": "sample string 11",
                    "Postcode": "sample string 12",
                    "CreatedDate": "2018-11-14T15:06:27.9908972Z",
                    "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": 14
                  }
                ],
                "ContactItems": [
                  {
                    "Id": 1,
                    "Type": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "Value": "sample string 2",
                    "Notes": "sample string 3",
                    "ContactOrder": 4,
                    "AllowContact": true,
                    "MarketingContactStatus": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "NormalisedRegionCode": "sample string 5"
                  },
                  {
                    "Id": 1,
                    "Type": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "Value": "sample string 2",
                    "Notes": "sample string 3",
                    "ContactOrder": 4,
                    "AllowContact": true,
                    "MarketingContactStatus": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "NormalisedRegionCode": "sample string 5"
                  }
                ],
                "ServiceTypes": [
                  {
                    "Service": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "Referral": true
                  },
                  {
                    "Service": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "Referral": true
                  }
                ],
                "Id": 4
              },
              "RelationshipType": {
                "Id": 1,
                "Name": "sample string 2",
                "SystemName": "sample string 3"
              },
              "Id": 1
            },
            {
              "Person": {
                "PersonId": 1,
                "Gender": {
                  "Id": 1,
                  "Name": "sample string 2",
                  "SystemName": "sample string 3"
                },
                "Title": "sample string 1",
                "FirstName": "sample string 2",
                "LastName": "sample string 3",
                "Addresses": [
                  {
                    "ContactOrder": 1,
                    "AddressType": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "Latitude": 2.1,
                    "Longitude": 3.1,
                    "AddressSource": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "SourceId": "sample string 4",
                    "OrganizationName": "sample string 5",
                    "Number": "sample string 6",
                    "BuildingName": "sample string 7",
                    "Street": "sample string 8",
                    "Town": "sample string 9",
                    "Locality": "sample string 10",
                    "County": "sample string 11",
                    "Postcode": "sample string 12",
                    "CreatedDate": "2018-11-14T15:06:27.9908972Z",
                    "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": 14
                  },
                  {
                    "ContactOrder": 1,
                    "AddressType": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "Latitude": 2.1,
                    "Longitude": 3.1,
                    "AddressSource": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "SourceId": "sample string 4",
                    "OrganizationName": "sample string 5",
                    "Number": "sample string 6",
                    "BuildingName": "sample string 7",
                    "Street": "sample string 8",
                    "Town": "sample string 9",
                    "Locality": "sample string 10",
                    "County": "sample string 11",
                    "Postcode": "sample string 12",
                    "CreatedDate": "2018-11-14T15:06:27.9908972Z",
                    "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": 14
                  }
                ],
                "ContactItems": [
                  {
                    "Id": 1,
                    "Type": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "Value": "sample string 2",
                    "Notes": "sample string 3",
                    "ContactOrder": 4,
                    "AllowContact": true,
                    "MarketingContactStatus": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "NormalisedRegionCode": "sample string 5"
                  },
                  {
                    "Id": 1,
                    "Type": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "Value": "sample string 2",
                    "Notes": "sample string 3",
                    "ContactOrder": 4,
                    "AllowContact": true,
                    "MarketingContactStatus": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "NormalisedRegionCode": "sample string 5"
                  }
                ],
                "ServiceTypes": [
                  {
                    "Service": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "Referral": true
                  },
                  {
                    "Service": {
                      "Id": 1,
                      "Name": "sample string 2",
                      "SystemName": "sample string 3"
                    },
                    "Referral": true
                  }
                ],
                "Id": 4
              },
              "RelationshipType": {
                "Id": 1,
                "Name": "sample string 2",
                "SystemName": "sample string 3"
              },
              "Id": 1
            }
          ],
          "GroupType": {
            "Id": 1,
            "Name": "sample string 2",
            "SystemName": "sample string 3"
          },
          "Origin": {
            "Id": 1,
            "Name": "sample string 2",
            "SystemName": "sample string 3"
          },
          "Grade": {
            "Id": 1,
            "Name": "sample string 2",
            "SystemName": "sample string 3"
          },
          "ExternalProviderTypes": [
            {
              "Id": 1,
              "Name": "sample string 2",
              "SystemName": "sample string 3"
            },
            {
              "Id": 1,
              "Name": "sample string 2",
              "SystemName": "sample string 3"
            }
          ],
          "VATNumber": "sample string 3",
          "AdditionalQuestions": {
            "ArrangedMortgage": true,
            "MortgageProvider": "sample string 1",
            "HowLongToMove": "sample string 2",
            "ReasonForMoving": "sample string 3",
            "HowHeard": "sample string 4",
            "EnquiryMethod": "sample string 5",
            "BestTimeToCall": "sample string 6",
            "WhenCanView": "sample string 7",
            "HappyToReceivePropertyEmails": true,
            "ViewedAnyProperties": true,
            "LocalOwnToSell": true,
            "AskingPrice": "sample string 8",
            "Bedrooms": 1,
            "CurrentlyOnMarket": true,
            "SellingWith": "sample string 9",
            "OnMarketSince": "2018-11-14T15:06:28.0690232Z",
            "ReasonForSale": "sample string 10",
            "OfferedMA": true,
            "CurrentStatus": {
              "Id": 1,
              "Name": "sample string 2",
              "SystemName": "sample string 3"
            },
            "Financial": {
              "Id": 1,
              "Name": "sample string 2",
              "SystemName": "sample string 3"
            },
            "Reason": {
              "Id": 1,
              "Name": "sample string 2",
              "SystemName": "sample string 3"
            }
          },
          "Id": 4
        },
        "AttendingPeopleIds": [
          1,
          2
        ]
      }
    ],
    "SpecialArrangements": [
      {
        "Text": "sample string 1",
        "SpecialArrangementType": {
          "Id": 1,
          "Name": "sample string 2",
          "SystemName": "sample string 3"
        },
        "ApplicableToGroupIds": [
          1,
          2
        ],
        "Id": 2
      },
      {
        "Text": "sample string 1",
        "SpecialArrangementType": {
          "Id": 1,
          "Name": "sample string 2",
          "SystemName": "sample string 3"
        },
        "ApplicableToGroupIds": [
          1,
          2
        ],
        "Id": 2
      }
    ],
    "IsCalculated": true,
    "RecurringEndDate": "2018-11-14T15:06:28.0690232Z",
    "FollowUpNegotiatorId": 8,
    "Id": 9
  },
  "EventType": "sample string 5",
  "ReasonOfCancellation": "sample string 6",
  "IsCalculated": true,
  "IsEditSeries": true,
  "OriginalDate": "2018-11-14T15:06:28.0690232Z",
  "Id": 9
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SaveAppointmentCommandDataContract'.

Response Information

Resource Description

BookViewingResponseDataContract
NameDescriptionTypeAdditional information
RoleId

integer

None.

GroupIds

Collection of integer

None.

ViewingAppointmentId

integer

None.

IsSuccess

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "RoleId": 1,
  "GroupIds": [
    1,
    2
  ],
  "ViewingAppointmentId": 2,
  "IsSuccess": true
}