POST api/progression/lettings/{id}/addpet

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

SetPetDataContract
NameDescriptionTypeAdditional information
Type

string

None.

Breed

string

None.

Deposit

AddTenantDepositDataContract

None.

Id

integer

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "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": "2022-07-06T07:02:01.6382075Z",
      "Id": 3
    },
    "HistoricDeposit": true,
    "DateProtected": "2022-07-06T07:02:01.6382075Z",
    "DepositSchemeId": 3,
    "Id": 4
  },
  "Id": 3
}

Response Information

Resource Description

PermittedPetDataContract
NameDescriptionTypeAdditional information
Type

string

None.

Breed

string

None.

Deposit

Collection of TenantDepositDataContract

None.

InvoiceDepositAmount

decimal number

None.

Id

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "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"
        },
        "DepositStatus": {
          "Id": 1,
          "Name": "sample string 2",
          "SystemName": "sample string 3"
        },
        "DepositIdentification": "sample string 3",
        "Id": 4
      },
      "TenantChargeInfo": {
        "Paid": true,
        "AmountPaid": 2.1,
        "DiscountPercentage": 3.1,
        "DueDate": "2022-07-06T07:02:01.6382075Z",
        "PercentageAmount": 4.0,
        "Id": 5
      },
      "Id": 2
    },
    {
      "Name": "sample string 1",
      "Deposit": {
        "PriceValue": 1.1,
        "CurrencyCode": "sample string 2",
        "Scheme": {
          "Id": 1,
          "Name": "sample string 2",
          "SystemName": "sample string 3"
        },
        "DepositStatus": {
          "Id": 1,
          "Name": "sample string 2",
          "SystemName": "sample string 3"
        },
        "DepositIdentification": "sample string 3",
        "Id": 4
      },
      "TenantChargeInfo": {
        "Paid": true,
        "AmountPaid": 2.1,
        "DiscountPercentage": 3.1,
        "DueDate": "2022-07-06T07:02:01.6382075Z",
        "PercentageAmount": 4.0,
        "Id": 5
      },
      "Id": 2
    }
  ],
  "InvoiceDepositAmount": 3.1,
  "Id": 4
}