Retrieves all the contracts
Request Information
URI Parameters :
None.
Body Parameters :
None.
Response Information
Resource Description :
IHttpActionResult
contract| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Primary key |
globally unique identifier |
Required |
| id2 |
id2 |
integer |
Required |
| reference_back_office |
Backoffice reference |
string | |
| name |
Name of the contract |
string | |
| company_id | globally unique identifier | ||
| contract_type_id | globally unique identifier | ||
| contract_status_id | globally unique identifier | ||
| internal_remark | string | ||
| date_start | date | ||
| date_end | date | ||
| hours_free_for_preventive_jobs |
Hours free for preventive jobs |
boolean | |
| feelist_id |
Feelist id |
globally unique identifier | |
| article_price_label_id |
Article price label id |
globally unique identifier | |
| travel_fee_fix_discount | decimal number | ||
| articles_free_for_preventive_jobs | boolean | ||
| reference | string | ||
| discount | decimal number | ||
| company_discount_family_id | globally unique identifier | ||
| modified_dateutc |
Readonly system field managed by database, filled with GetUtcDate when adding,updating |
date |
Response Formats
application/json, text/json
Sample:
{
"id": "c139b8e4-1158-4eab-80e4-defd10356040",
"id2": 2,
"reference_back_office": "sample string 3",
"name": "sample string 4",
"company_id": "17eecebe-2ae0-4352-967e-758571d5f221",
"contract_type_id": "4d8e514d-038b-4d63-9d5e-077cd18d4756",
"contract_status_id": "f2435c0a-17d7-4f87-980d-25476772e394",
"internal_remark": "sample string 8",
"date_start": "2026-01-09T02:25:26.3039856+00:00",
"date_end": "2026-01-09T02:25:26.3039856+00:00",
"hours_free_for_preventive_jobs": true,
"feelist_id": "e71dea3d-359f-4622-b5e1-e83177650273",
"article_price_label_id": "9d897fa2-019c-43ac-a0bf-4b72aaefffab",
"travel_fee_fix_discount": 14.0,
"articles_free_for_preventive_jobs": true,
"reference": "sample string 16",
"discount": 17.0,
"company_discount_family_id": "bc225b68-2074-4386-b8b0-7f6517fb9d73",
"modified_dateutc": "2026-01-09T02:25:26.3039856+00:00"
}
application/xml, text/xml
Sample:
<contract xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <article_price_label_id>9d897fa2-019c-43ac-a0bf-4b72aaefffab</article_price_label_id> <articles_free_for_preventive_jobs>true</articles_free_for_preventive_jobs> <company_discount_family_id>bc225b68-2074-4386-b8b0-7f6517fb9d73</company_discount_family_id> <company_id>17eecebe-2ae0-4352-967e-758571d5f221</company_id> <contract_status_id>f2435c0a-17d7-4f87-980d-25476772e394</contract_status_id> <contract_type_id>4d8e514d-038b-4d63-9d5e-077cd18d4756</contract_type_id> <date_end>2026-01-09T02:25:26.303Z</date_end> <date_start>2026-01-09T02:25:26.303Z</date_start> <discount>17</discount> <feelist_id>e71dea3d-359f-4622-b5e1-e83177650273</feelist_id> <hours_free_for_preventive_jobs>true</hours_free_for_preventive_jobs> <id>c139b8e4-1158-4eab-80e4-defd10356040</id> <id2>2</id2> <internal_remark>sample string 8</internal_remark> <modified_dateutc>2026-01-09T02:25:26.303Z</modified_dateutc> <name>sample string 4</name> <reference>sample string 16</reference> <reference_back_office>sample string 3</reference_back_office> <travel_fee_fix_discount>14</travel_fee_fix_discount> </contract>