POST api/tenancy/{id}/nextaction

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

SetNextActionDataContract
NameDescriptionTypeAdditional information
NextAction

EnumDataContract

None.

DateTime

date

None.

Notes

string

None.

NoticeType

EnumDataContract

None.

RenewalAgreement

RenewalAgreementDataContract

None.

TenancyEndingDateOption

EnumDataContract

None.

Request Formats

application/json, text/json

Sample:
{
  "NextAction": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "DateTime": "2020-11-25T02:57:39.5535947Z",
  "Notes": "sample string 1",
  "NoticeType": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "RenewalAgreement": {
    "ModifyCurrentAgreement": true,
    "ExistingAgreement": {
      "NoticePeriod": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "StartDate": "2020-11-25T02:57:39.5535947Z",
      "TenancyType": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "Term": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "EndDate": "2020-11-25T02:57:39.5692154Z"
    },
    "Agreement": {
      "AgreementType": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      }
    },
    "DepositAmount": {
      "PriceValue": 1.1,
      "CurrencyCode": "sample string 2",
      "Scheme": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "Status": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "DepositIdentification": "sample string 3",
      "Id": 4
    },
    "BreakClause": "sample string 2",
    "FurnishLevel": {
      "FurnishLevel": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "Id": 1
    },
    "AdditionalServices": [
      {
        "Name": "sample string 1",
        "Description": "sample string 2",
        "ProviderGroupId": 3,
        "PropertyServiceType": {
          "Id": 1,
          "Name": "sample string 2",
          "SystemName": "sample string 3"
        },
        "IsPaidByOwner": true,
        "AdditionalServiceType": 0,
        "Readings": {
          "sample string 1": "2020-11-25T02:57:39.5692154Z",
          "sample string 3": "2020-11-25T02:57:39.5692154Z"
        },
        "Id": 5
      },
      {
        "Name": "sample string 1",
        "Description": "sample string 2",
        "ProviderGroupId": 3,
        "PropertyServiceType": {
          "Id": 1,
          "Name": "sample string 2",
          "SystemName": "sample string 3"
        },
        "IsPaidByOwner": true,
        "AdditionalServiceType": 0,
        "Readings": {
          "sample string 1": "2020-11-25T02:57:39.5692154Z",
          "sample string 3": "2020-11-25T02:57:39.5692154Z"
        },
        "Id": 5
      }
    ],
    "Parking": {
      "ParkingSpaces": 1,
      "ParkingDescription": "sample string 2"
    },
    "Pets": [
      {
        "Type": "sample string 1",
        "Breed": "sample string 2",
        "Deposit": {
          "Name": "sample string 1",
          "Deposit": {
            "PriceValue": 1.1,
            "CurrencyCode": "sample string 2",
            "Scheme": {
              "Id": 1,
              "Name": "sample string 2",
              "SystemName": "sample string 3"
            },
            "Status": {
              "Id": 1,
              "Name": "sample string 2",
              "SystemName": "sample string 3"
            },
            "DepositIdentification": "sample string 3",
            "Id": 4
          },
          "TenantChargeInfo": {
            "AmountPaid": 1.1,
            "DiscountPercentage": 2.1,
            "DueDate": "2020-11-25T02:57:39.5692154Z",
            "Id": 3
          },
          "Id": 2
        },
        "Id": 3
      },
      {
        "Type": "sample string 1",
        "Breed": "sample string 2",
        "Deposit": {
          "Name": "sample string 1",
          "Deposit": {
            "PriceValue": 1.1,
            "CurrencyCode": "sample string 2",
            "Scheme": {
              "Id": 1,
              "Name": "sample string 2",
              "SystemName": "sample string 3"
            },
            "Status": {
              "Id": 1,
              "Name": "sample string 2",
              "SystemName": "sample string 3"
            },
            "DepositIdentification": "sample string 3",
            "Id": 4
          },
          "TenantChargeInfo": {
            "AmountPaid": 1.1,
            "DiscountPercentage": 2.1,
            "DueDate": "2020-11-25T02:57:39.5692154Z",
            "Id": 3
          },
          "Id": 2
        },
        "Id": 3
      }
    ],
    "PermittedOccupiers": [
      {
        "DateOfBirth": "2020-11-25T02:57:39.5692154Z",
        "Relationship": "sample string 2",
        "Name": "sample string 3",
        "Id": 4
      },
      {
        "DateOfBirth": "2020-11-25T02:57:39.5692154Z",
        "Relationship": "sample string 2",
        "Name": "sample string 3",
        "Id": 4
      }
    ],
    "TenantRequirement": {
      "IsSmoker": true,
      "IsStudent": true,
      "HasChildren": true,
      "HasPets": true,
      "ReceivesHousingBenefits": true,
      "Id": 1
    }
  },
  "TenancyEndingDateOption": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  }
}

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.