Skip to content

Contract

Rental contracts.

GET/api/contracts/{id}

Retrieves a Contract resource.

Parameters

Path and query parameters for GET /api/contracts/{id}
Name In Type Required Description
id path string yes Contract identifier

Code samples

curl -X GET 'https://sandbox.partner.miete24.com/api/contracts/{id}' \
  -H 'X-Api-Key: YOUR_API_KEY'

Responses

Responses for GET /api/contracts/{id}
Status Description Schema
200 Contract resource Contract
404 Resource not found

PATCH/api/contracts/{id}/edit-contract-number

Updates the Contract resource.

Parameters

Path and query parameters for PATCH /api/contracts/{id}/edit-contract-number
Name In Type Required Description
id path string yes Contract identifier

Code samples

curl -X PATCH 'https://sandbox.partner.miete24.com/api/contracts/{id}/edit-contract-number' \
  -H 'X-Api-Key: YOUR_API_KEY'

Responses

Responses for PATCH /api/contracts/{id}/edit-contract-number
Status Description Schema
200 Contract resource updated Contract.ContractNumberResponse
400 Invalid input
403 Forbidden
404 Resource not found
422 Unprocessable entity