---
title: "ContractBlocks (Autotask)"
description: "Sopimuslohkot"
language: fi
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/fi/datamodels/autotask/Autotask.ContractBlocks.ContractBlocks
original: https://documentation.invantive.eu/en/datamodels/autotask/Autotask.ContractBlocks.ContractBlocks
updated: 2026-12-05T00:57:16Z
license: https://documentation.invantive.eu/fi/
---

# ContractBlocks: Autotask Contract Blocks

`read only` `REST`

- Luettelo: `Autotask`
- Kaavio: `ContractBlocks`
- Label: Contract Blocks

Voi hakea vain tietoja.

## API-lähde

- Päätepiste: `/V1.0/ContractBlocks/query`
- Toiminto: `get /V1.0/ContractBlocks/query`

## Taulukon sarakkeet

Taulukon `ContractBlocks` sarakkeet on esitetty alla. Jokaisella sarakkeella on oma SQL-tietotyyppinsä. Jokaiselle pakolliselle sarakkeelle on annettava uusi, nollasta poikkeava arvo aina, kun suoritetaan lisäys- tai päivitystoiminto.

| Nimi | Tietotyyppi | Etiketti | Tarvitaan | Merkit | Dokumentaatio |
|---|---|---|:---:|---|---|
| `contractID` | `int32` | Sopimustunnus | [ ] |  |  |
| `datePurchased` | `datetime` | Ostopäivä | [ ] |  |  |
| `endDate` | `datetime` | Päättymispäivä | [ ] |  |  |
| `hourlyRate` | `double` | Tuntipalkka | [ ] |  |  |
| `hours` | `double` | Aukioloajat | [ ] |  |  |
| `hoursApproved` | `double` | Hyväksytyt tunnit | [ ] |  |  |
| `id` | `int64` | ID | [ ] |  |  |
| `invoiceNumber` | `varchar2` | Laskun numero | [ ] |  |  |
| `isPaid` | `char` | On maksettu | [ ] |  |  |
| `paymentNumber` | `varchar2` | Maksunumero | [ ] |  |  |
| `paymentType` | `int32` | Maksutapa | [ ] |  |  |
| `soapParentPropertyId_body_canReduce` | `char` | itgen_autotask_soapparentpropertyid_body_canreduce | [ ] |  |  |
| `soapParentPropertyId_body_nodeType` | `varchar2` | itgen_autotask_soapparentpropertyid_body_nodetype | [ ] |  |  |
| `soapParentPropertyId_body_type` | `varchar2` | itgen_autotask_soapparentpropertyid_body_type | [ ] |  |  |
| `soapParentPropertyId_canReduce` | `char` | itgen_autotask_soapparentpropertyid_canreduce | [ ] |  |  |
| `soapParentPropertyId_name` | `varchar2` | itgen_autotask_soapparentpropertyid_name | [ ] |  |  |
| `soapParentPropertyId_nodeType` | `varchar2` | itgen_autotask_soapparentpropertyid_nodetype | [ ] |  |  |
| `soapParentPropertyId_returnType` | `varchar2` | itgen_autotask_soapparentpropertyid_returntype | [ ] |  |  |
| `soapParentPropertyId_tailCall` | `char` | itgen_autotask_soapparentpropertyid_tailcall | [ ] |  |  |
| `soapParentPropertyId_type` | `varchar2` | itgen_autotask_soapparentpropertyid_type | [ ] |  |  |
| `startDate` | `datetime` | Aloituspäivä | [ ] |  |  |
| `status` | `int32` | Tila | [ ] |  |  |


## Julkaisutiedot

Mitä muutoksia ajurien taulukoissa, sarakkeissa, attribuuteissa ja ominaisuuksissa on tapahtunut kunkin julkaisun yhteydessä:

- [Autotask](/fi/release-notes/drivers/autotask)
