# Clocking

Part of the [GeoDynamics API](/api/geodynamics/index.md). Host: `https://api.geodynamics.dev`.

## GET /intellitracer/v1/clocking_getbydaterange

`https://api.geodynamics.dev/intellitracer/v1/clocking_getbydaterange`

Privilege required: `Api: Timesheet read`

Get clockings

Returns a list of all clockings within a date/time range.

### Query parameters

| Name | Type | Required | Example |
| --- | --- | --- | --- |
| `fromDate` | string | required | `2019-01-25T08:00:00` |
| `toDate` | string | required | `2019-01-25T17:00:00` |
| `includeClockingsWithoutUser` | boolean | optional | `false` |

### Responses

#### 200: OK

```json
[
  {
    "Id": "00000000-0000-0000-0000-000000000000",
    "DateTimeUtc": "2019-01-25T07:29:37",
    "DateTimeLocal": "2019-01-25T08:29:37",
    "User": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "EmployerCode": "012345",
      "Name": "John Doe",
      "Badge": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "InternalNumber": "00AA11BB",
        "ExternalNumber": "12345678"
      },
      "DayProgramId": "00000000-0000-0000-0000-000000000000"
    },
    "Vehicle": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "Vehicle 1",
      "VehicleTypeId": "00000000-0000-0000-0000-000000000000",
      "LastSyncDateUtc": "2019-01-25T07:29:37",
      "LastPosition": {
        "AnalogExportList": [
          {
            "Number": 0,
            "Name": null,
            "StatusName": null,
            "AnalogInputType": 0
          }
        ],
        "InputExportList": [
          {
            "Number": 0,
            "Name": null,
            "Status": null,
            "StatusName": null
          }
        ],
        "IsPrivate": false,
        "BadgeUser": "John Doe",
        "BadgeNr": "00AA11BB",
        "TypeText": "Position",
        "Type": "1",
        "VehicleId": "00000000-0000-0000-0000-000000000000",
        "InputAcc": false,
        "Heading": 10,
        "Speed": 50,
        "Altitude": 0,
        "Latitude": 50.812939,
        "Longitude": 3.245304,
        "AddressExport": {
          "Street": "Dumolinlaan",
          "HouseNumber": "9",
          "PostalCode": "8500",
          "City": "Kortrijk",
          "Submunicipality": "Kortrijk",
          "Country": 0
        },
        "ReportDateLocal": "2019-01-25T08:29:37",
        "ReportDateUtc": "2019-01-25T07:29:37",
        "GpsDateUtc": "2019-01-25T07:29:37",
        "OutputExportList": [
          {
            "Number": 0,
            "Name": null,
            "Status": null,
            "StatusName": null
          }
        ],
        "Pois": [
          "00000000-0000-0000-0000-000000000000",
          "00000000-0000-0000-0000-000000000000"
        ]
      }
    },
    "Type": 0,
    "Location": {
      "Address": {
        "Street": "Dumolinlaan",
        "HouseNumber": "9",
        "PostalCode": "8500",
        "City": "Kortrijk",
        "Submunicipality": "Kortrijk",
        "Country": 0
      },
      "Longitude": 3.245304,
      "Latitude": 50.812939
    },
    "Pois": [
      "00000000-0000-0000-0000-000000000000",
      "00000000-0000-0000-0000-000000000000"
    ],
    "IsManual": false,
    "Description": null,
    "AbsenceCode": null,
    "JobNumber": "1575-7577-4",
    "Note": "clocking note"
  }
]
```

#### 401: Unauthorized

#### 403: Forbidden

## PUT /intellitracer/v2/clocking

`https://api.geodynamics.dev/intellitracer/v2/clocking`

Privilege required: `Api: Timesheet update`

Create clocking

Creates a new clocking.

The allowed clocking types are: Start work, Start activity, Start external & Stop external.

### Request body

Type: `object`

| Field | Type | Required |
| --- | --- | --- |
| `ClockingType` (default = 1) | object | required |
| `Description` (default = null) | string | optional |
| `JobNumber` (default = null) | string | optional |
| `ExternalType` (default = 0) | number | optional |
| `ExternalCode` (default = null) | string | optional |
| `DateTimeUtc` (default = null) | string | optional |
| `UserCode` | string | required |
| `VehicleCode` | string | optional |

### Responses

#### 200: OK

| Field | Type |
| --- | --- |
| `Data` (default = null) | object |

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "DateTimeUtc": "2021-11-25T07:00:00",
    "DateTimeLocal": "2021-11-25T08:00:00",
    "ClockingType": 0,
    "Description": null,
    "JobNumber": "1575-7577-4",
    "ExternalType": 0,
    "ExternalCode": null,
    "IsManual": false,
    "User": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "Vehicle": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "Location": {
      "Address": {
        "CountryName": "Belgium",
        "AddressLine": "Dumolinlaan 9, 8500 Kortrijk, BE",
        "PoiList": [
          "00000000-0000-0000-0000-000000000000",
          "00000000-0000-0000-0000-000000000000"
        ],
        "City": "Kortrijk",
        "CityLine": "8500 Kortrijk, BE",
        "CountryCode": 0,
        "HouseNumber": "9",
        "Latitude": 50.812939,
        "Longitude": 3.245304,
        "PostalCode": "8500",
        "ShortAddressLine": "Dumolinlaan 9, Kortrijk, BE",
        "Street": "Dumolinlaan",
        "StreetLine": "Dumolinlaan 9",
        "Submunicipality": "Kortrijk"
      },
      "Pois": [
        {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Name": "Work",
          "Code": "012345"
        }
      ],
      "Latitude": 50.812939,
      "Longitude": 3.245304
    },
    "AbsenceType": {
      "Name": "Sickness",
      "AbsenceCode": "100",
      "Paid": false,
      "TemporaryUnemployment": false,
      "Color": "#000000",
      "IncludeInExport": true
    }
  }
}
```

#### 400: BadRequest

| Field | Type |
| --- | --- |
| `Entity` | object |
| `ValidationResult` | array |

```json
{
  "Entity": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "DateTimeUtc": "2021-11-25T07:00:00",
    "DateTimeLocal": "2021-11-25T08:00:00",
    "ClockingType": 0,
    "Description": null,
    "JobNumber": "1575-7577-4",
    "ExternalType": 0,
    "ExternalCode": null,
    "IsManual": false,
    "User": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "Vehicle": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "Location": {
      "Address": {
        "CountryName": "Belgium",
        "AddressLine": "Dumolinlaan 9, 8500 Kortrijk, BE",
        "PoiList": [
          "00000000-0000-0000-0000-000000000000",
          "00000000-0000-0000-0000-000000000000"
        ],
        "City": "Kortrijk",
        "CityLine": "8500 Kortrijk, BE",
        "CountryCode": 0,
        "HouseNumber": "9",
        "Latitude": 50.812939,
        "Longitude": 3.245304,
        "PostalCode": "8500",
        "ShortAddressLine": "Dumolinlaan 9, Kortrijk, BE",
        "Street": "Dumolinlaan",
        "StreetLine": "Dumolinlaan 9",
        "Submunicipality": "Kortrijk"
      },
      "Pois": [
        {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Name": "Work",
          "Code": "012345"
        }
      ],
      "Latitude": 50.812939,
      "Longitude": 3.245304
    },
    "AbsenceType": {
      "Name": "Sickness",
      "AbsenceCode": "100",
      "Paid": false,
      "TemporaryUnemployment": false,
      "Color": "#000000",
      "IncludeInExport": true
    }
  },
  "ValidationResult": [
    {
      "Message": "",
      "SourceMemberNames": []
    }
  ]
}
```

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## PUT /intellitracer/v3/clocking

`https://api.geodynamics.dev/intellitracer/v3/clocking`

Privilege required: `Api: Timesheet update`

Create clocking (all types)

Creates a new clocking.

This endpoint requires the 'Clocking API: all types' option to be enabled by software support. Contact [softwaresupport@geodynamics.be](mailto:softwaresupport@geodynamics.be) for assistance.

### Request body

Type: `object`

| Field | Type | Required |
| --- | --- | --- |
| `DateTimeUtc` (default = null) | string | optional |
| `ClockingType` | string | required |
| `UserCode` | string | required |
| `VehicleCode` (default = null) | string | optional |
| `Description` (default = null) | string | optional |
| `JobNumber` (default = null) | string | optional |
| `ExternalType` | string | optional |
| `ExternalCode` (default = null) | string | optional |
| `AbsenceTypeId` (default = null) | string | optional |

### Responses

#### 200: OK

| Field | Type |
| --- | --- |
| `Data` | object |

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "DateTimeUtc": "2021-11-25T07:00:00",
    "DateTimeLocal": "2021-11-25T08:00:00",
    "ClockingType": "",
    "IsManual": true,
    "User": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": ""
    },
    "Vehicle": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": ""
    },
    "Location": {
      "Address": {
        "Street": "Dumolinlaan",
        "HouseNumber": "9",
        "City": "Kortrijk",
        "Submunicipality": "Kortrijk",
        "PostalCode": "8500",
        "Country": "",
        "Latitude": 50.81293,
        "Longitude": 3.2453
      },
      "Pois": [
        {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Name": "Work",
          "Code": "012345"
        }
      ],
      "Longitude": 3.2453,
      "Latitude": 50.81293
    },
    "AbsenceType": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Name": "Sick leave",
      "Code": "SICKNESS",
      "Paid": true,
      "TemporaryUnemployed": false,
      "Color": "#FF0000",
      "IncludeInExport": true
    },
    "Description": null,
    "JobNumber": null,
    "ExternalType": "",
    "ExternalCode": null
  }
}
```

#### 400: BadRequest

| Field | Type |
| --- | --- |
| `Entity` | object |
| `ValidationResult` | array |

```json
{
  "Entity": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "DateTimeUtc": "2021-11-25T07:00:00",
    "DateTimeLocal": "2021-11-25T08:00:00",
    "ClockingType": "",
    "IsManual": true,
    "User": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": ""
    },
    "Vehicle": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": ""
    },
    "Location": {
      "Address": {
        "Street": "Dumolinlaan",
        "HouseNumber": "9",
        "City": "Kortrijk",
        "Submunicipality": "Kortrijk",
        "PostalCode": "8500",
        "Country": "",
        "Latitude": 50.81293,
        "Longitude": 3.2453
      },
      "Pois": [
        {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Name": "Work",
          "Code": "012345"
        }
      ],
      "Longitude": 3.2453,
      "Latitude": 50.81293
    },
    "AbsenceType": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Name": "Sick leave",
      "Code": "SICKNESS",
      "Paid": true,
      "TemporaryUnemployed": false,
      "Color": "#FF0000",
      "IncludeInExport": true
    },
    "Description": null,
    "JobNumber": null,
    "ExternalType": "",
    "ExternalCode": null
  },
  "ValidationResult": [
    {
      "Message": "",
      "SourceMemberNames": []
    }
  ]
}
```

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

#### 503: ServiceUnavailable

## GET /intellitracer/v1/Clocking_GetByUserIdDateRange

`https://api.geodynamics.dev/intellitracer/v1/Clocking_GetByUserIdDateRange`

Privilege required: `Api: Timesheet read`

Get clockings by user

Returns a list of all clockings for a user within a date/time range.

### Query parameters

| Name | Type | Required | Example |
| --- | --- | --- | --- |
| `userId` | string | required | `00000000-0000-0000-0000-000000000000` |
| `fromDate` | string | required | `2019-01-25T08:00:00` |
| `toDate` | string | required | `2019-01-25T17:00:00` |

### Responses

#### 200: OK

```json
[
  {
    "Id": "00000000-0000-0000-0000-000000000000",
    "DateTimeUtc": "2019-01-25T07:29:37",
    "DateTimeLocal": "2019-01-25T08:29:37",
    "User": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "EmployerCode": "012345",
      "Name": "John Doe",
      "Badge": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "InternalNumber": "00AA11BB",
        "ExternalNumber": "12345678"
      },
      "DayProgramId": "00000000-0000-0000-0000-000000000000"
    },
    "Vehicle": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "Vehicle 1",
      "VehicleTypeId": "00000000-0000-0000-0000-000000000000",
      "LastSyncDateUtc": "2019-01-25T07:29:37",
      "LastPosition": {
        "AnalogExportList": [
          {
            "Number": 0,
            "Name": null,
            "StatusName": null,
            "AnalogInputType": 0
          }
        ],
        "InputExportList": [
          {
            "Number": 0,
            "Name": null,
            "Status": null,
            "StatusName": null
          }
        ],
        "IsPrivate": false,
        "BadgeUser": "John Doe",
        "BadgeNr": "00AA11BB",
        "TypeText": "Position",
        "Type": "1",
        "VehicleId": "00000000-0000-0000-0000-000000000000",
        "InputAcc": false,
        "Heading": 10,
        "Speed": 50,
        "Altitude": 0,
        "Latitude": 50.812939,
        "Longitude": 3.245304,
        "AddressExport": {
          "Street": "Dumolinlaan",
          "HouseNumber": "9",
          "PostalCode": "8500",
          "City": "Kortrijk",
          "Submunicipality": "Kortrijk",
          "Country": 0
        },
        "ReportDateLocal": "2019-01-25T08:29:37",
        "ReportDateUtc": "2019-01-25T07:29:37",
        "GpsDateUtc": "2019-01-25T07:29:37",
        "OutputExportList": [
          {
            "Number": 0,
            "Name": null,
            "Status": null,
            "StatusName": null
          }
        ],
        "Pois": [
          "00000000-0000-0000-0000-000000000000",
          "00000000-0000-0000-0000-000000000000"
        ]
      }
    },
    "Type": 0,
    "Location": {
      "Address": {
        "Street": "Dumolinlaan",
        "HouseNumber": "9",
        "PostalCode": "8500",
        "City": "Kortrijk",
        "Submunicipality": "Kortrijk",
        "Country": 0
      },
      "Longitude": 3.245304,
      "Latitude": 50.812939
    },
    "Pois": [
      "00000000-0000-0000-0000-000000000000",
      "00000000-0000-0000-0000-000000000000"
    ],
    "IsManual": false,
    "Description": null,
    "AbsenceCode": null,
    "JobNumber": "1575-7577-4",
    "Note": "clocking note"
  }
]
```

#### 401: Unauthorized

#### 403: Forbidden

## POST /intellitracer/v1/Clocking_GetByUserIdListDateRange

`https://api.geodynamics.dev/intellitracer/v1/Clocking_GetByUserIdListDateRange`

Privilege required: `Api: Timesheet read`

Get clockings by users

Returns a list of all clockings for one or more users within a date/time range.

### Query parameters

| Name | Type | Required | Example |
| --- | --- | --- | --- |
| `fromDate` | string | required | `2019-01-25T08:00:00` |
| `toDate` | string | required | `2019-01-25T17:00:00` |

### Request body

### Responses

#### 200: OK

```json
[
  {
    "Id": "00000000-0000-0000-0000-000000000000",
    "DateTimeUtc": "2019-01-25T07:29:37",
    "DateTimeLocal": "2019-01-25T08:29:37",
    "User": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "EmployerCode": "012345",
      "Name": "John Doe",
      "Badge": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "InternalNumber": "00AA11BB",
        "ExternalNumber": "12345678"
      },
      "DayProgramId": "00000000-0000-0000-0000-000000000000"
    },
    "Vehicle": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "Vehicle 1",
      "VehicleTypeId": "00000000-0000-0000-0000-000000000000",
      "LastSyncDateUtc": "2019-01-25T07:29:37",
      "LastPosition": {
        "AnalogExportList": [
          {
            "Number": 0,
            "Name": null,
            "StatusName": null,
            "AnalogInputType": 0
          }
        ],
        "InputExportList": [
          {
            "Number": 0,
            "Name": null,
            "Status": null,
            "StatusName": null
          }
        ],
        "IsPrivate": false,
        "BadgeUser": "John Doe",
        "BadgeNr": "00AA11BB",
        "TypeText": "Position",
        "Type": "1",
        "VehicleId": "00000000-0000-0000-0000-000000000000",
        "InputAcc": false,
        "Heading": 10,
        "Speed": 50,
        "Altitude": 0,
        "Latitude": 50.812939,
        "Longitude": 3.245304,
        "AddressExport": {
          "Street": "Dumolinlaan",
          "HouseNumber": "9",
          "PostalCode": "8500",
          "City": "Kortrijk",
          "Submunicipality": "Kortrijk",
          "Country": 0
        },
        "ReportDateLocal": "2019-01-25T08:29:37",
        "ReportDateUtc": "2019-01-25T07:29:37",
        "GpsDateUtc": "2019-01-25T07:29:37",
        "OutputExportList": [
          {
            "Number": 0,
            "Name": null,
            "Status": null,
            "StatusName": null
          }
        ],
        "Pois": [
          "00000000-0000-0000-0000-000000000000",
          "00000000-0000-0000-0000-000000000000"
        ]
      }
    },
    "Type": 0,
    "Location": {
      "Address": {
        "Street": "Dumolinlaan",
        "HouseNumber": "9",
        "PostalCode": "8500",
        "City": "Kortrijk",
        "Submunicipality": "Kortrijk",
        "Country": 0
      },
      "Longitude": 3.245304,
      "Latitude": 50.812939
    },
    "Pois": [
      "00000000-0000-0000-0000-000000000000",
      "00000000-0000-0000-0000-000000000000"
    ],
    "IsManual": false,
    "Description": null,
    "AbsenceCode": null,
    "JobNumber": "1575-7577-4",
    "Note": "clocking note"
  }
]
```

#### 401: Unauthorized

#### 403: Forbidden

## GET /intellitracer/v1/Clocking_GetIsManualByUserIdDateRange

`https://api.geodynamics.dev/intellitracer/v1/Clocking_GetIsManualByUserIdDateRange`

Privilege required: `Api: Timesheet read`

Get manual clockings by user

Returns a list of all manual clockings for a user within a date/time range.

### Query parameters

| Name | Type | Required | Example |
| --- | --- | --- | --- |
| `userId` | string | required | `00000000-0000-0000-0000-000000000000` |
| `fromDate` | string | required | `2019-01-25T08:00:00` |
| `toDate` | string | required | `2019-01-25T17:00:00` |

### Responses

#### 200: OK

```json
[
  {
    "Id": "00000000-0000-0000-0000-000000000000",
    "DateTimeUtc": "2019-01-25T07:29:37",
    "DateTimeLocal": "2019-01-25T08:29:37",
    "User": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "EmployerCode": "012345",
      "Name": "John Doe",
      "Badge": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "InternalNumber": "00AA11BB",
        "ExternalNumber": "12345678"
      },
      "DayProgramId": "00000000-0000-0000-0000-000000000000"
    },
    "Vehicle": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "Vehicle 1",
      "VehicleTypeId": "00000000-0000-0000-0000-000000000000",
      "LastSyncDateUtc": "2019-01-25T07:29:37",
      "LastPosition": {
        "AnalogExportList": [
          {
            "Number": 0,
            "Name": null,
            "StatusName": null,
            "AnalogInputType": 0
          }
        ],
        "InputExportList": [
          {
            "Number": 0,
            "Name": null,
            "Status": null,
            "StatusName": null
          }
        ],
        "IsPrivate": false,
        "BadgeUser": "John Doe",
        "BadgeNr": "00AA11BB",
        "TypeText": "Position",
        "Type": "1",
        "VehicleId": "00000000-0000-0000-0000-000000000000",
        "InputAcc": false,
        "Heading": 10,
        "Speed": 50,
        "Altitude": 0,
        "Latitude": 50.812939,
        "Longitude": 3.245304,
        "AddressExport": {
          "Street": "Dumolinlaan",
          "HouseNumber": "9",
          "PostalCode": "8500",
          "City": "Kortrijk",
          "Submunicipality": "Kortrijk",
          "Country": 0
        },
        "ReportDateLocal": "2019-01-25T08:29:37",
        "ReportDateUtc": "2019-01-25T07:29:37",
        "GpsDateUtc": "2019-01-25T07:29:37",
        "OutputExportList": [
          {
            "Number": 0,
            "Name": null,
            "Status": null,
            "StatusName": null
          }
        ],
        "Pois": [
          "00000000-0000-0000-0000-000000000000",
          "00000000-0000-0000-0000-000000000000"
        ]
      }
    },
    "Type": 0,
    "Location": {
      "Address": {
        "Street": "Dumolinlaan",
        "HouseNumber": "9",
        "PostalCode": "8500",
        "City": "Kortrijk",
        "Submunicipality": "Kortrijk",
        "Country": 0
      },
      "Longitude": 3.245304,
      "Latitude": 50.812939
    },
    "Pois": [
      "00000000-0000-0000-0000-000000000000",
      "00000000-0000-0000-0000-000000000000"
    ],
    "IsManual": false,
    "Description": null,
    "AbsenceCode": null,
    "JobNumber": "1575-7577-4",
    "Note": "clocking note"
  }
]
```

#### 401: Unauthorized

#### 403: Forbidden

## POST /intellitracer/v2/clocking/{clockingId}/jobNumber

`https://api.geodynamics.dev/intellitracer/v2/clocking/{clockingId}/jobNumber`

Privilege required: `Api: Timesheet update`

Edit jobnumber by Clocking ID

Updates the jobnumber of a clocking by its clocking ID.

### Path parameters

| Name | Type | Required | Example |
| --- | --- | --- | --- |
| `clockingId` | string | required | `00000000-0000-0000-0000-000000000000` |

### Request body

Type: `object`

| Field | Type | Required |
| --- | --- | --- |
| `JobNumber` (default = null) | string | optional |

### Responses

#### 200: OK

```json
[
  {
    "Id": "00000000-0000-0000-0000-000000000000",
    "DateTimeUtc": "2021-11-25T07:00:00",
    "DateTimeLocal": "2021-11-25T08:00:00",
    "ClockingType": 0,
    "Description": null,
    "JobNumber": "1575-7577-4",
    "ExternalType": 0,
    "ExternalCode": null,
    "IsManual": false,
    "User": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "Vehicle": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "Location": {
      "Address": {
        "CountryName": "Belgium",
        "AddressLine": "Dumolinlaan 9, 8500 Kortrijk, BE",
        "PoiList": [
          "00000000-0000-0000-0000-000000000000",
          "00000000-0000-0000-0000-000000000000"
        ],
        "City": "Kortrijk",
        "CityLine": "8500 Kortrijk, BE",
        "CountryCode": 0,
        "HouseNumber": "9",
        "Latitude": 50.812939,
        "Longitude": 3.245304,
        "PostalCode": "8500",
        "ShortAddressLine": "Dumolinlaan 9, Kortrijk, BE",
        "Street": "Dumolinlaan",
        "StreetLine": "Dumolinlaan 9",
        "Submunicipality": "Kortrijk"
      },
      "Pois": [
        {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Name": "Work",
          "Code": "012345"
        }
      ],
      "Latitude": 50.812939,
      "Longitude": 3.245304
    },
    "AbsenceType": {
      "Name": "Sickness",
      "AbsenceCode": "100",
      "Paid": false,
      "TemporaryUnemployment": false,
      "Color": "#000000",
      "IncludeInExport": true
    }
  }
]
```

#### 401: Unauthorized

#### 403: Forbidden
