# Check In At Work

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

## GET /intellitracer/v2/badge?page={page}&search={search}

`https://api.geodynamics.dev/intellitracer/v2/badge?page={page}&search={search}`

Privilege required: `Api: Check In At Work`

Get badges

Returns a paged list of badges.

Pagination and searching is explained in [Pagination](#pagination).

### Path parameters

| Name | Type | Required | Example |
| --- | --- | --- | --- |
| `page` | number | required | `1` |
| `search` | string | required | `ABC` |

### Responses

#### 200: OK

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

```json
{
  "Data": [
    {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "00BB4E6F",
      "Type": 0,
      "ExternalNumber": "00BB4E6F"
    }
  ],
  "PagingFilter": {
    "Page": 1,
    "Search": "ABC",
    "PageCount": 4,
    "TotalCount": 100,
    "Links": {
      "Base": "https://api.geodynamics.dev",
      "First": "/intellitracer/v2/asset?page=1",
      "Prev": "/intellitracer/v2/asset?page=2",
      "Next": "/intellitracer/v2/asset?page=4",
      "Last": "/intellitracer/v2/asset?page=4"
    }
  }
}
```

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## GET /intellitracer/v2/badge/{id}

`https://api.geodynamics.dev/intellitracer/v2/badge/{id}`

Privilege required: `Api: Check In At Work`

Get badge

Returns a badge by id.

### Path parameters

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

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "Number": "00BB4E6F",
    "Type": 0,
    "ExternalNumber": "00BB4E6F"
  }
}
```

#### 401: Unauthorized

#### 403: Forbidden

#### 404: NotFound

#### 417: ExpectationFailed

## DELETE /intellitracer/v2/badge/{id}

`https://api.geodynamics.dev/intellitracer/v2/badge/{id}`

Privilege required: `Api: Check In At Work`

Delete badge

Deletes a badge

### Path parameters

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

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "Number": "00BB4E6F",
    "Type": 0,
    "ExternalNumber": "00BB4E6F"
  }
}
```

#### 401: Unauthorized

#### 403: Forbidden

#### 404: NotFound

#### 417: ExpectationFailed

## POST /intellitracer/v2/badge/

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

Privilege required: `Api: Check In At Work`

Update badge

Updates an existing badge

### Request body

Type: `object`

| Field | Type | Required |
| --- | --- | --- |
| `Id` | string | required |
| `Number` | string | required |
| `Type` (default = 0) | number | required |
| `ExternalNumber` | string | required |

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "Number": "00BB4E6F",
    "Type": 0,
    "ExternalNumber": "00BB4E6F"
  }
}
```

#### 401: Unauthorized

#### 403: Forbidden

#### 404: NotFound

#### 417: ExpectationFailed

## PUT /intellitracer/v2/badge/

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

Privilege required: `Api: Check In At Work`

Create badge

Creates a new badge

### Request body

Type: `object`

| Field | Type | Required |
| --- | --- | --- |
| `Number` | string | required |
| `Type` (default = 0) | number | required |
| `ExternalNumber` (default = null) | string | optional |

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "Number": "00BB4E6F",
    "Type": 0,
    "ExternalNumber": "00BB4E6F"
  }
}
```

#### 401: Unauthorized

#### 403: Forbidden

#### 404: NotFound

#### 417: ExpectationFailed

## GET /intellitracer/v2/btw?page={page}&search={search}

`https://api.geodynamics.dev/intellitracer/v2/btw?page={page}&search={search}`

Privilege required: `Api: Check In At Work`

Get BTW numbers

Returns a paged list of BTW numbers.

Pagination and searching is explained in [Pagination](#pagination).

### Path parameters

| Name | Type | Required | Example |
| --- | --- | --- | --- |
| `page` | number | required | `1` |
| `search` | string | required | `ABC` |

### Responses

#### 200: OK

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

```json
{
  "Data": [
    {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "123456789",
      "Name": "GeoDynamics",
      "Country": 0,
      "CountryCode": "BE",
      "FormattedBTWNumber": "BE-123456789"
    }
  ],
  "PagingFilter": {
    "Page": 1,
    "Search": "ABC",
    "PageCount": 4,
    "TotalCount": 100,
    "Links": {
      "Base": "https://api.geodynamics.dev",
      "First": "/intellitracer/v2/asset?page=1",
      "Prev": "/intellitracer/v2/asset?page=2",
      "Next": "/intellitracer/v2/asset?page=4",
      "Last": "/intellitracer/v2/asset?page=4"
    }
  }
}
```

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## PUT /intellitracer/v1/userwithperson

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

Privilege required: `Api: Resource management`

Create user with person

Creates a new user and a new person. Links the user to the person.

In order to add a single Limosa, use _LimosaNumber_ and _LimosaEndDate_. This Limosa is automatically set as the default.

In order to add multiple Limosas, use _Limosas_.

### Request body

Type: `object`

| Field | Type | Required |
| --- | --- | --- |
| `User` | object | required |
| `Person` | object | required |
| `_typeDescriptor` | string | optional |

### Responses

#### 200: OK

#### 400: BadRequest

| Field | Type |
| --- | --- |
| `Success` | boolean |
| `ErrorMessage` (default = null) | string |
| `UserId` | string |
| `PersonId` | string |

```json
{
  "Success": false,
  "ErrorMessage": null,
  "UserId": "",
  "PersonId": ""
}
```

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

#### 500: InternalServerError

## GET /intellitracer/v1/person

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

Get persons

Returns a list of all persons.

_Privilege required: `Api: Resource read` or `Api: Resource management`_

### Responses

#### 200: OK

```json
[
  {
    "Id": "00000000-0000-0000-0000-000000000000",
    "UserId": "00000000-0000-0000-0000-000000000000",
    "Label": "John Doe",
    "ShortCode": 100,
    "Code": "012345",
    "Type": 0,
    "RRNNumber": 79040205768,
    "FormattedRRNNumber": "79.04.02-057.68",
    "LimosaNumber": 11223344556677888,
    "BisNumber": 79040205768,
    "FormattedBisNumber": "79.04.02-057.68",
    "BTW": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "1122334455",
      "Name": "Geodynamics",
      "Country": 0,
      "FormattedBTWNumber": "BE-1122334455"
    },
    "Notes": null,
    "Badges": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "00AA11BB"
      }
    ],
    "FeedbackGSM": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "GSMNumber": "+32498465432"
    },
    "RegisterGSM": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "GSMNumber": "+32498465432"
    },
    "LimosaEndDate": "2015-10-30T00:00:00+01:00",
    "CreationTimeStamp": "2015-09-21T22:01:20+02:00",
    "BirthDate": "1979-04-02T00:00:00",
    "ReceiveFeedback": false,
    "ApproveRegistration": false,
    "Inactive": false,
    "InactivityTimestamp": "2019-01-25T08:00:00+02:00",
    "QrUrl": "https://api.intellitracer.be/qrcode.pdf",
    "Limosas": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "LimosaNumber": 11223344556677888,
        "IsDefault": false,
        "EndDate": "2020-10-30T00:00:00+01:00",
        "Workplaces": [
          {
            "Id": "00000000-0000-0000-0000-000000000000",
            "DUC": "1Y100001AB1CD",
            "Code": "012345",
            "Name": "GeoDynamics"
          }
        ]
      }
    ],
    "StaffType": 0
  }
]
```

#### 401: Unauthorized

#### 403: Forbidden

## GET /intellitracer/v1/person/bystaff

`https://api.geodynamics.dev/intellitracer/v1/person/bystaff`

Get persons by staff

Returns a list of all persons by staff type.

_Privilege required: `Api: Resource read` or `Api: Resource management`_

### Query parameters

| Name | Type | Required | Example |
| --- | --- | --- | --- |
| `ownStaff` | boolean | required | `false` |

### Responses

#### 200: OK

```json
[
  {
    "Id": "00000000-0000-0000-0000-000000000000",
    "UserId": "00000000-0000-0000-0000-000000000000",
    "Label": "John Doe",
    "ShortCode": 100,
    "Code": "012345",
    "Type": 0,
    "RRNNumber": 79040205768,
    "FormattedRRNNumber": "79.04.02-057.68",
    "LimosaNumber": 11223344556677888,
    "BisNumber": 79040205768,
    "FormattedBisNumber": "79.04.02-057.68",
    "BTW": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "1122334455",
      "Name": "Geodynamics",
      "Country": 0,
      "FormattedBTWNumber": "BE-1122334455"
    },
    "Notes": null,
    "Badges": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "00AA11BB"
      }
    ],
    "FeedbackGSM": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "GSMNumber": "+32498465432"
    },
    "RegisterGSM": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "GSMNumber": "+32498465432"
    },
    "LimosaEndDate": "2015-10-30T00:00:00+01:00",
    "CreationTimeStamp": "2015-09-21T22:01:20+02:00",
    "BirthDate": "1979-04-02T00:00:00",
    "ReceiveFeedback": false,
    "ApproveRegistration": false,
    "Inactive": false,
    "InactivityTimestamp": "2019-01-25T08:00:00+02:00",
    "QrUrl": "https://api.intellitracer.be/qrcode.pdf",
    "Limosas": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "LimosaNumber": 11223344556677888,
        "IsDefault": false,
        "EndDate": "2020-10-30T00:00:00+01:00",
        "Workplaces": [
          {
            "Id": "00000000-0000-0000-0000-000000000000",
            "DUC": "1Y100001AB1CD",
            "Code": "012345",
            "Name": "GeoDynamics"
          }
        ]
      }
    ],
    "StaffType": 0
  }
]
```

#### 401: Unauthorized

#### 403: Forbidden

## GET /intellitracer/v1/person/bybtwnumber

`https://api.geodynamics.dev/intellitracer/v1/person/bybtwnumber`

Get persons by BTW

Returns a list of all persons by BTW number.

The default Limosa is indicated by _LimosaNumber_ and _LimosaEndDate_.

_Privilege required: `Api: Resource read` or `Api: Resource management`_

### Query parameters

| Name | Type | Required | Example |
| --- | --- | --- | --- |
| `btwNumber` | string | required | `BE-0000000000` |

### Responses

#### 200: OK

```json
[
  {
    "Id": "00000000-0000-0000-0000-000000000000",
    "UserId": "00000000-0000-0000-0000-000000000000",
    "Label": "John Doe",
    "ShortCode": 100,
    "Code": "012345",
    "Type": 0,
    "RRNNumber": 79040205768,
    "FormattedRRNNumber": "79.04.02-057.68",
    "LimosaNumber": 11223344556677888,
    "BisNumber": 79040205768,
    "FormattedBisNumber": "79.04.02-057.68",
    "BTW": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "1122334455",
      "Name": "Geodynamics",
      "Country": 0,
      "FormattedBTWNumber": "BE-1122334455"
    },
    "Notes": null,
    "Badges": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "00AA11BB"
      }
    ],
    "FeedbackGSM": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "GSMNumber": "+32498465432"
    },
    "RegisterGSM": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "GSMNumber": "+32498465432"
    },
    "LimosaEndDate": "2015-10-30T00:00:00+01:00",
    "CreationTimeStamp": "2015-09-21T22:01:20+02:00",
    "BirthDate": "1979-04-02T00:00:00",
    "ReceiveFeedback": false,
    "ApproveRegistration": false,
    "Inactive": false,
    "InactivityTimestamp": "2019-01-25T08:00:00+02:00",
    "QrUrl": "https://api.intellitracer.be/qrcode.pdf",
    "Limosas": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "LimosaNumber": 11223344556677888,
        "IsDefault": false,
        "EndDate": "2020-10-30T00:00:00+01:00",
        "Workplaces": [
          {
            "Id": "00000000-0000-0000-0000-000000000000",
            "DUC": "1Y100001AB1CD",
            "Code": "012345",
            "Name": "GeoDynamics"
          }
        ]
      }
    ],
    "StaffType": 0
  }
]
```

#### 401: Unauthorized

#### 403: Forbidden

## GET /intellitracer/v2/person/bybis?bisnumber={bisNumber}

`https://api.geodynamics.dev/intellitracer/v2/person/bybis?bisnumber={bisNumber}`

Privilege required: `Api: Check In At Work`

Get persons by BIS number

Returns a list of all persons by BIS number.

The default Limosa is indicated by _LimosaNumber_ and _LimosaEndDate_.

### Path parameters

| Name | Type | Required | Example |
| --- | --- | --- | --- |
| `bisNumber` | string | required | `00000000000` |

### Responses

#### 200: OK

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

```json
{
  "Data": [
    {
      "Id": "00000000-0000-0000-0000-000000000000",
      "ShortCode": 123456789,
      "Code": "12345",
      "Type": 0,
      "RRNNumber": 79040205768,
      "FormattedRRNNumber": "79.04.02-057.68",
      "LimosaNumber": 11223344556677888,
      "BTW": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "123456789",
        "Name": "GeoDynamics",
        "Country": 0,
        "CountryCode": "BE",
        "FormattedBTWNumber": "BE-123456789"
      },
      "Notes": "John Doe",
      "Badges": [
        {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Number": "00BB4E6F",
          "Type": 0,
          "ExternalNumber": "00BB4E6F"
        }
      ],
      "FeedbackGSM": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "+32478123456"
      },
      "RegisterGSM": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "+32478123456"
      },
      "LimosaEndDate": "2019-01-25T08:00:00+02:00",
      "CreationTimeStamp": "2019-01-25T08:00:00+02:00",
      "BirthDate": "2019-01-25",
      "ReceiveFeedback": false,
      "ApproveRegistration": false,
      "User": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Code": "012345",
        "Name": "John Doe",
        "Type": 0
      },
      "BadgeTimeStamp": "2019-01-25T08:00:00+02:00",
      "Inactive": false,
      "InactivityTimestamp": "2019-01-25T08:00:00+02:00",
      "A1ExpirationDate": "2019-01-25T08:00:00+02:00",
      "VisaExpirationDate": "2019-01-25T08:00:00+02:00",
      "Limosas": [
        {
          "Id": "00000000-0000-0000-0000-000000000000",
          "LimosaNumber": 11223344556677888,
          "IsDefault": false,
          "EndDate": "2020-10-30T00:00:00+01:00",
          "Workplaces": [
            {
              "Id": "00000000-0000-0000-0000-000000000000",
              "DUC": "",
              "Code": "012345",
              "Name": "GeoDynamics"
            }
          ]
        }
      ],
      "QrUrl": "https://api.intellitracer.be/qrcode.pdf",
      "Info": "Person info",
      "LimosaStartDate": "2019-01-25T08:00:00",
      "BISNumber": 79040205768,
      "FormattedBISNumber": "79.04.02-057.68"
    }
  ]
}
```

#### 401: Unauthorized

#### 403: Forbidden

#### 404: NotFound

#### 417: ExpectationFailed

## GET /intellitracer/v2/person/{id}

`https://api.geodynamics.dev/intellitracer/v2/person/{id}`

Privilege required: `Api: Check In At Work`

Get person

Returns a person by id.

The default Limosa is indicated by _LimosaNumber_ and _LimosaEndDate_.

### Path parameters

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

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "ShortCode": 123456789,
    "Code": "12345",
    "Type": 0,
    "RRNNumber": 79040205768,
    "FormattedRRNNumber": "79.04.02-057.68",
    "LimosaNumber": 11223344556677888,
    "BTW": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "123456789",
      "Name": "GeoDynamics",
      "Country": 0,
      "CountryCode": "BE",
      "FormattedBTWNumber": "BE-123456789"
    },
    "Notes": "John Doe",
    "Badges": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "00BB4E6F",
        "Type": 0,
        "ExternalNumber": "00BB4E6F"
      }
    ],
    "FeedbackGSM": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "+32478123456"
    },
    "RegisterGSM": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "+32478123456"
    },
    "LimosaEndDate": "2019-01-25T08:00:00+02:00",
    "CreationTimeStamp": "2019-01-25T08:00:00+02:00",
    "BirthDate": "2019-01-25",
    "ReceiveFeedback": false,
    "ApproveRegistration": false,
    "User": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "BadgeTimeStamp": "2019-01-25T08:00:00+02:00",
    "Inactive": false,
    "InactivityTimestamp": "2019-01-25T08:00:00+02:00",
    "A1ExpirationDate": "2019-01-25T08:00:00+02:00",
    "VisaExpirationDate": "2019-01-25T08:00:00+02:00",
    "Limosas": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "LimosaNumber": 11223344556677888,
        "IsDefault": false,
        "EndDate": "2020-10-30T00:00:00+01:00",
        "Workplaces": [
          {
            "Id": "00000000-0000-0000-0000-000000000000",
            "DUC": "",
            "Code": "012345",
            "Name": "GeoDynamics"
          }
        ]
      }
    ],
    "QrUrl": "https://api.intellitracer.be/qrcode.pdf",
    "Info": "Person info",
    "LimosaStartDate": "2019-01-25T08:00:00",
    "BISNumber": 79040205768,
    "FormattedBISNumber": "79.04.02-057.68"
  }
}
```

#### 401: Unauthorized

#### 403: Forbidden

#### 404: NotFound

#### 417: ExpectationFailed

## DELETE /intellitracer/v2/person/{id}

`https://api.geodynamics.dev/intellitracer/v2/person/{id}`

Privilege required: `Api: Check In At Work`

Delete person

Deletes a person by id.

### Path parameters

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

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "ShortCode": 123456789,
    "Code": "12345",
    "Type": 0,
    "RRNNumber": 79040205768,
    "FormattedRRNNumber": "79.04.02-057.68",
    "LimosaNumber": 11223344556677888,
    "BTW": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "123456789",
      "Name": "GeoDynamics",
      "Country": 0,
      "CountryCode": "BE",
      "FormattedBTWNumber": "BE-123456789"
    },
    "Notes": "John Doe",
    "Badges": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "00BB4E6F",
        "Type": 0,
        "ExternalNumber": "00BB4E6F"
      }
    ],
    "FeedbackGSM": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "+32478123456"
    },
    "RegisterGSM": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "+32478123456"
    },
    "LimosaEndDate": "2019-01-25T08:00:00+02:00",
    "CreationTimeStamp": "2019-01-25T08:00:00+02:00",
    "BirthDate": "2019-01-25",
    "ReceiveFeedback": false,
    "ApproveRegistration": false,
    "User": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "BadgeTimeStamp": "2019-01-25T08:00:00+02:00",
    "Inactive": false,
    "InactivityTimestamp": "2019-01-25T08:00:00+02:00",
    "A1ExpirationDate": "2019-01-25T08:00:00+02:00",
    "VisaExpirationDate": "2019-01-25T08:00:00+02:00",
    "Limosas": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "LimosaNumber": 11223344556677888,
        "IsDefault": false,
        "EndDate": "2020-10-30T00:00:00+01:00",
        "Workplaces": [
          {
            "Id": "00000000-0000-0000-0000-000000000000",
            "DUC": "",
            "Code": "012345",
            "Name": "GeoDynamics"
          }
        ]
      }
    ],
    "QrUrl": "https://api.intellitracer.be/qrcode.pdf",
    "Info": "Person info",
    "LimosaStartDate": "2019-01-25T08:00:00",
    "BISNumber": 79040205768,
    "FormattedBISNumber": "79.04.02-057.68"
  }
}
```

#### 400: BadRequest

```json
[
  {
    "Property": "Name",
    "Message": "Required"
  }
]
```

#### 401: Unauthorized

#### 403: Forbidden

#### 404: NotFound

#### 417: ExpectationFailed

## GET /intellitracer/v2/person/bylimosa

`https://api.geodynamics.dev/intellitracer/v2/person/bylimosa`

Privilege required: `Api: Check In At Work`

Get person by Limosa

Returns a person by Limosa number.

The default Limosa is indicated by _LimosaNumber_ and _LimosaEndDate_.

### Query parameters

| Name | Type | Required | Example |
| --- | --- | --- | --- |
| `limosaNumber` | number | required | `12345678912` |

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "ShortCode": 123456789,
    "Code": "12345",
    "Type": 0,
    "RRNNumber": 79040205768,
    "FormattedRRNNumber": "79.04.02-057.68",
    "LimosaNumber": 11223344556677888,
    "BTW": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "123456789",
      "Name": "GeoDynamics",
      "Country": 0,
      "CountryCode": "BE",
      "FormattedBTWNumber": "BE-123456789"
    },
    "Notes": "John Doe",
    "Badges": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "00BB4E6F",
        "Type": 0,
        "ExternalNumber": "00BB4E6F"
      }
    ],
    "FeedbackGSM": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "+32478123456"
    },
    "RegisterGSM": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "+32478123456"
    },
    "LimosaEndDate": "2019-01-25T08:00:00+02:00",
    "CreationTimeStamp": "2019-01-25T08:00:00+02:00",
    "BirthDate": "2019-01-25",
    "ReceiveFeedback": false,
    "ApproveRegistration": false,
    "User": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "BadgeTimeStamp": "2019-01-25T08:00:00+02:00",
    "Inactive": false,
    "InactivityTimestamp": "2019-01-25T08:00:00+02:00",
    "A1ExpirationDate": "2019-01-25T08:00:00+02:00",
    "VisaExpirationDate": "2019-01-25T08:00:00+02:00",
    "Limosas": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "LimosaNumber": 11223344556677888,
        "IsDefault": false,
        "EndDate": "2020-10-30T00:00:00+01:00",
        "Workplaces": [
          {
            "Id": "00000000-0000-0000-0000-000000000000",
            "DUC": "",
            "Code": "012345",
            "Name": "GeoDynamics"
          }
        ]
      }
    ],
    "QrUrl": "https://api.intellitracer.be/qrcode.pdf",
    "Info": "Person info",
    "LimosaStartDate": "2019-01-25T08:00:00",
    "BISNumber": 79040205768,
    "FormattedBISNumber": "79.04.02-057.68"
  }
}
```

#### 401: Unauthorized

#### 403: Forbidden

#### 404: NotFound

#### 417: ExpectationFailed

## PUT /intellitracer/v2/person/bylimosa

`https://api.geodynamics.dev/intellitracer/v2/person/bylimosa`

Privilege required: `Api: Check In At Work`

Create person by Limosa

Creates a new person by Limosa number and links the person to a badge. If necessary, a new badge is created.

### Request body

Type: `object`

| Field | Type | Required |
| --- | --- | --- |
| `Code` (default = null) | string | optional |
| `Name` (default = null) | string | optional |
| `BTWNumber` (default = null) | string | optional |
| `FeedbackGSMNumber` (default = null) | string | optional |
| `RegisterGSMNumber` (default = null) | string | optional |
| `OwnStaff` (default = false) | boolean | optional |
| `BadgeNumber` (default = null) | string | optional |
| `ReceiveFeedback` (default = false) | boolean | optional |
| `LimosaNumber` | number | required |
| `BirthDate` (default = null) | string | optional |
| `ExpirationDate` (default = null) | string | optional |
| `BisNumber` | number | optional |

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "ShortCode": 123456789,
    "Code": "12345",
    "Type": 0,
    "RRNNumber": 79040205768,
    "FormattedRRNNumber": "79.04.02-057.68",
    "LimosaNumber": 11223344556677888,
    "BTW": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "123456789",
      "Name": "GeoDynamics",
      "Country": 0,
      "CountryCode": "BE",
      "FormattedBTWNumber": "BE-123456789"
    },
    "Notes": "John Doe",
    "Badges": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "00BB4E6F",
        "Type": 0,
        "ExternalNumber": "00BB4E6F"
      }
    ],
    "FeedbackGSM": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "+32478123456"
    },
    "RegisterGSM": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "+32478123456"
    },
    "LimosaEndDate": "2019-01-25T08:00:00+02:00",
    "CreationTimeStamp": "2019-01-25T08:00:00+02:00",
    "BirthDate": "2019-01-25",
    "ReceiveFeedback": false,
    "ApproveRegistration": false,
    "User": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "BadgeTimeStamp": "2019-01-25T08:00:00+02:00",
    "Inactive": false,
    "InactivityTimestamp": "2019-01-25T08:00:00+02:00",
    "A1ExpirationDate": "2019-01-25T08:00:00+02:00",
    "VisaExpirationDate": "2019-01-25T08:00:00+02:00",
    "Limosas": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "LimosaNumber": 11223344556677888,
        "IsDefault": false,
        "EndDate": "2020-10-30T00:00:00+01:00",
        "Workplaces": [
          {
            "Id": "00000000-0000-0000-0000-000000000000",
            "DUC": "",
            "Code": "012345",
            "Name": "GeoDynamics"
          }
        ]
      }
    ],
    "QrUrl": "https://api.intellitracer.be/qrcode.pdf",
    "Info": "Person info",
    "LimosaStartDate": "2019-01-25T08:00:00",
    "BISNumber": 79040205768,
    "FormattedBISNumber": "79.04.02-057.68"
  }
}
```

#### 400: BadRequest

```json
[
  {
    "Property": "Name",
    "Message": "Required"
  }
]
```

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## GET /intellitracer/v2/person/byrrnbtw

`https://api.geodynamics.dev/intellitracer/v2/person/byrrnbtw`

Get person by RRN and BTW

Returns a person by RRN and BTW number.

_Privilege required: `Api: Resource read` or `Api: Resource management`_

### Query parameters

| Name | Type | Required | Example |
| --- | --- | --- | --- |
| `rrnNumber` | number | required | `12345678912` |
| `btwNumber` | string | required | `BE-0000000000` |

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "ShortCode": 123456789,
    "Code": "12345",
    "Type": 0,
    "RRNNumber": 79040205768,
    "FormattedRRNNumber": "79.04.02-057.68",
    "LimosaNumber": 11223344556677888,
    "BTW": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "123456789",
      "Name": "GeoDynamics",
      "Country": 0,
      "CountryCode": "BE",
      "FormattedBTWNumber": "BE-123456789"
    },
    "Notes": "John Doe",
    "Badges": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "00BB4E6F",
        "Type": 0,
        "ExternalNumber": "00BB4E6F"
      }
    ],
    "FeedbackGSM": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "+32478123456"
    },
    "RegisterGSM": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "+32478123456"
    },
    "LimosaEndDate": "2019-01-25T08:00:00+02:00",
    "CreationTimeStamp": "2019-01-25T08:00:00+02:00",
    "BirthDate": "2019-01-25",
    "ReceiveFeedback": false,
    "ApproveRegistration": false,
    "User": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "BadgeTimeStamp": "2019-01-25T08:00:00+02:00",
    "Inactive": false,
    "InactivityTimestamp": "2019-01-25T08:00:00+02:00",
    "A1ExpirationDate": "2019-01-25T08:00:00+02:00",
    "VisaExpirationDate": "2019-01-25T08:00:00+02:00",
    "Limosas": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "LimosaNumber": 11223344556677888,
        "IsDefault": false,
        "EndDate": "2020-10-30T00:00:00+01:00",
        "Workplaces": [
          {
            "Id": "00000000-0000-0000-0000-000000000000",
            "DUC": "",
            "Code": "012345",
            "Name": "GeoDynamics"
          }
        ]
      }
    ],
    "QrUrl": "https://api.intellitracer.be/qrcode.pdf",
    "Info": "Person info",
    "LimosaStartDate": "2019-01-25T08:00:00",
    "BISNumber": 79040205768,
    "FormattedBISNumber": "79.04.02-057.68"
  }
}
```

#### 401: Unauthorized

#### 403: Forbidden

#### 404: NotFound

#### 417: ExpectationFailed

## PUT /intellitracer/v2/person/byrrnbtw

`https://api.geodynamics.dev/intellitracer/v2/person/byrrnbtw`

Privilege required: `Api: Check In At Work`

Create person by RRN and BTW

Creates a new person by RRN and BTW number and links the person to a badge. If necessary, a new badge is created.

### Request body

Type: `object`

| Field | Type | Required |
| --- | --- | --- |
| `Code` (default = null) | string | optional |
| `Name` (default = null) | string | optional |
| `BTWNumber` (default = null) | string | required |
| `FeedbackGSMNumber` (default = null) | string | optional |
| `RegisterGSMNumber` (default = null) | string | optional |
| `OwnStaff` (default = false) | boolean | optional |
| `BadgeNumber` (default = null) | string | optional |
| `ReceiveFeedback` (default = false) | boolean | optional |
| `RRNNumber` | number | required |

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "ShortCode": 123456789,
    "Code": "12345",
    "Type": 0,
    "RRNNumber": 79040205768,
    "FormattedRRNNumber": "79.04.02-057.68",
    "LimosaNumber": 11223344556677888,
    "BTW": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "123456789",
      "Name": "GeoDynamics",
      "Country": 0,
      "CountryCode": "BE",
      "FormattedBTWNumber": "BE-123456789"
    },
    "Notes": "John Doe",
    "Badges": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "00BB4E6F",
        "Type": 0,
        "ExternalNumber": "00BB4E6F"
      }
    ],
    "FeedbackGSM": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "+32478123456"
    },
    "RegisterGSM": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "+32478123456"
    },
    "LimosaEndDate": "2019-01-25T08:00:00+02:00",
    "CreationTimeStamp": "2019-01-25T08:00:00+02:00",
    "BirthDate": "2019-01-25",
    "ReceiveFeedback": false,
    "ApproveRegistration": false,
    "User": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "BadgeTimeStamp": "2019-01-25T08:00:00+02:00",
    "Inactive": false,
    "InactivityTimestamp": "2019-01-25T08:00:00+02:00",
    "A1ExpirationDate": "2019-01-25T08:00:00+02:00",
    "VisaExpirationDate": "2019-01-25T08:00:00+02:00",
    "Limosas": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "LimosaNumber": 11223344556677888,
        "IsDefault": false,
        "EndDate": "2020-10-30T00:00:00+01:00",
        "Workplaces": [
          {
            "Id": "00000000-0000-0000-0000-000000000000",
            "DUC": "",
            "Code": "012345",
            "Name": "GeoDynamics"
          }
        ]
      }
    ],
    "QrUrl": "https://api.intellitracer.be/qrcode.pdf",
    "Info": "Person info",
    "LimosaStartDate": "2019-01-25T08:00:00",
    "BISNumber": 79040205768,
    "FormattedBISNumber": "79.04.02-057.68"
  }
}
```

#### 400: BadRequest

```json
[
  {
    "Property": "Name",
    "Message": "Required"
  }
]
```

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## PUT /intellitracer/v2/person/bybis

`https://api.geodynamics.dev/intellitracer/v2/person/bybis`

Privilege required: `Api: Check In At Work`

Create person by BIS

Creates a new person by BIS number and links the person to a badge. If necessary, a new badge is created.

### Request body

Type: `object`

| Field | Type | Required |
| --- | --- | --- |
| `Code` (default = null) | string | optional |
| `Name` (default = null) | string | optional |
| `BTWNumber` (default = null) | string | optional |
| `FeedbackGSMNumber` (default = null) | string | optional |
| `RegisterGSMNumber` (default = null) | string | optional |
| `OwnStaff` (default = false) | boolean | optional |
| `BadgeNumber` (default = null) | string | optional |
| `ReceiveFeedback` (default = false) | boolean | optional |
| `BisNumber` | number | required |
| `LimosaNumber` | number | optional |
| `StartDate` (default = null) | string | optional |
| `BirthDate` (default = null) | string | optional |
| `ExpirationDate` (default = null) | string | optional |

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "ShortCode": 123456789,
    "Code": "12345",
    "Type": 0,
    "RRNNumber": 79040205768,
    "FormattedRRNNumber": "79.04.02-057.68",
    "LimosaNumber": 11223344556677888,
    "BTW": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "123456789",
      "Name": "GeoDynamics",
      "Country": 0,
      "CountryCode": "BE",
      "FormattedBTWNumber": "BE-123456789"
    },
    "Notes": "John Doe",
    "Badges": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "00BB4E6F",
        "Type": 0,
        "ExternalNumber": "00BB4E6F"
      }
    ],
    "FeedbackGSM": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "+32478123456"
    },
    "RegisterGSM": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "+32478123456"
    },
    "LimosaEndDate": "2019-01-25T08:00:00+02:00",
    "CreationTimeStamp": "2019-01-25T08:00:00+02:00",
    "BirthDate": "2019-01-25",
    "ReceiveFeedback": false,
    "ApproveRegistration": false,
    "User": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "BadgeTimeStamp": "2019-01-25T08:00:00+02:00",
    "Inactive": false,
    "InactivityTimestamp": "2019-01-25T08:00:00+02:00",
    "A1ExpirationDate": "2019-01-25T08:00:00+02:00",
    "VisaExpirationDate": "2019-01-25T08:00:00+02:00",
    "Limosas": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "LimosaNumber": 11223344556677888,
        "IsDefault": false,
        "EndDate": "2020-10-30T00:00:00+01:00",
        "Workplaces": [
          {
            "Id": "00000000-0000-0000-0000-000000000000",
            "DUC": "",
            "Code": "012345",
            "Name": "GeoDynamics"
          }
        ]
      }
    ],
    "QrUrl": "https://api.intellitracer.be/qrcode.pdf",
    "Info": "Person info",
    "LimosaStartDate": "2019-01-25T08:00:00",
    "BISNumber": 79040205768,
    "FormattedBISNumber": "79.04.02-057.68"
  }
}
```

#### 400: BadRequest

```json
[
  {
    "Property": "Name",
    "Message": "Required"
  }
]
```

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## GET /intellitracer/v3/person/{personId}/limosa?page={page}&search={search}

`https://api.geodynamics.dev/intellitracer/v3/person/{personId}/limosa?page={page}&search={search}`

Privilege required: `Api: Check In At Work`

Get Limosas

Returns a paged list of Limosas linked to a person.

Pagination and searching is explained in [Pagination](#pagination).

### Path parameters

| Name | Type | Required | Example |
| --- | --- | --- | --- |
| `personId` | string | required | `00000000-0000-0000-0000-000000000000` |
| `page` | number | required | `1` |
| `search` | string | required | `ABC` |

### Responses

#### 200: OK

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

```json
{
  "Data": [
    {
      "Id": "00000000-0000-0000-0000-000000000000",
      "LimosaNumber": 11223344556677888,
      "IsDefault": false,
      "EndDate": "2020-10-30T00:00:00+01:00",
      "Workplaces": [
        {
          "Id": "00000000-0000-0000-0000-000000000000",
          "DUC": "1Y100001AB1CD",
          "Code": "012345",
          "Name": "GeoDynamics"
        }
      ]
    }
  ],
  "PagingFilter": {
    "Page": 1,
    "Search": "ABC",
    "PageCount": 4,
    "TotalCount": 100,
    "Links": {
      "Base": "https://api.geodynamics.dev",
      "First": "/intellitracer/v2/asset?page=1",
      "Prev": "/intellitracer/v2/asset?page=2",
      "Next": "/intellitracer/v2/asset?page=4",
      "Last": "/intellitracer/v2/asset?page=4"
    }
  }
}
```

#### 401: Unauthorized

#### 403: Forbidden

## GET /intellitracer/v3/person/{personId}/limosa/{limosaNumber}

`https://api.geodynamics.dev/intellitracer/v3/person/{personId}/limosa/{limosaNumber}`

Privilege required: `Api: Check In At Work`

Get Limosa

Returns a person's Limosa by number.

### Path parameters

| Name | Type | Required | Example |
| --- | --- | --- | --- |
| `personId` | string | required | `00000000-0000-0000-0000-000000000000` |
| `limosaNumber` | number | required | `11223344556677889` |

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "LimosaNumber": 11223344556677888,
    "IsDefault": false,
    "EndDate": "2020-10-30T00:00:00+01:00",
    "Workplaces": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "DUC": "1Y100001AB1CD",
        "Code": "012345",
        "Name": "GeoDynamics"
      }
    ]
  }
}
```

#### 401: Unauthorized

#### 403: Forbidden

## DELETE /intellitracer/v3/person/{personId}/limosa/{limosaNumber}

`https://api.geodynamics.dev/intellitracer/v3/person/{personId}/limosa/{limosaNumber}`

Privilege required: `Api: Check In At Work`

Delete Limosa

Deletes a person's Limosa by number.

### Path parameters

| Name | Type | Required | Example |
| --- | --- | --- | --- |
| `personId` | string | required | `00000000-0000-0000-0000-000000000000` |
| `limosaNumber` | number | required | `11223344556677889` |

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "LimosaNumber": 11223344556677888,
    "IsDefault": false,
    "EndDate": "2020-10-30T00:00:00+01:00",
    "Workplaces": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "DUC": "1Y100001AB1CD",
        "Code": "012345",
        "Name": "GeoDynamics"
      }
    ]
  }
}
```

#### 400: BadRequest

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

```json
{
  "Entity": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "LimosaNumber": 11223344556677888,
    "IsDefault": false,
    "EndDate": "2020-10-30T00:00:00+01:00",
    "Workplaces": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "DUC": "1Y100001AB1CD",
        "Code": "012345",
        "Name": "GeoDynamics"
      }
    ]
  },
  "ValidationResult": [
    {
      "Message": "",
      "SourceMemberNames": []
    }
  ]
}
```

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## POST /intellitracer/v3/person/{personId}/limosa

`https://api.geodynamics.dev/intellitracer/v3/person/{personId}/limosa`

Privilege required: `Api: Check In At Work`

Update Limosa

Updates a Limosa linked to a person by number.

### Path parameters

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

### Request body

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "LimosaNumber": 11223344556677888,
    "IsDefault": false,
    "EndDate": "2020-10-30T00:00:00+01:00",
    "Workplaces": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "DUC": "1Y100001AB1CD",
        "Code": "012345",
        "Name": "GeoDynamics"
      }
    ]
  }
}
```

#### 400: BadRequest

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

```json
{
  "Entity": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "LimosaNumber": 11223344556677888,
    "IsDefault": false,
    "EndDate": "2020-10-30T00:00:00+01:00",
    "Workplaces": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "DUC": "1Y100001AB1CD",
        "Code": "012345",
        "Name": "GeoDynamics"
      }
    ]
  },
  "ValidationResult": [
    {
      "Message": "",
      "SourceMemberNames": []
    }
  ]
}
```

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## PUT /intellitracer/v3/person/{personId}/limosa

`https://api.geodynamics.dev/intellitracer/v3/person/{personId}/limosa`

Privilege required: `Api: Check In At Work`

Create Limosa

Creates a new Limosa and links to it to a person.

### Path parameters

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

### Request body

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "LimosaNumber": 11223344556677888,
    "IsDefault": false,
    "EndDate": "2020-10-30T00:00:00+01:00",
    "Workplaces": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "DUC": "1Y100001AB1CD",
        "Code": "012345",
        "Name": "GeoDynamics"
      }
    ]
  }
}
```

#### 400: BadRequest

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

```json
{
  "Entity": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "LimosaNumber": 11223344556677888,
    "IsDefault": false,
    "EndDate": "2020-10-30T00:00:00+01:00",
    "Workplaces": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "DUC": "1Y100001AB1CD",
        "Code": "012345",
        "Name": "GeoDynamics"
      }
    ]
  },
  "ValidationResult": [
    {
      "Message": "",
      "SourceMemberNames": []
    }
  ]
}
```

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## GET /intellitracer/v3/person/{personId}/defaultlimosa

`https://api.geodynamics.dev/intellitracer/v3/person/{personId}/defaultlimosa`

Privilege required: `Api: Check In At Work`

Get default Limosa

Returns the default Limosa of a person.

### Path parameters

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

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "LimosaNumber": 11223344556677888,
    "IsDefault": false,
    "EndDate": "2020-10-30T00:00:00+01:00",
    "Workplaces": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "DUC": "1Y100001AB1CD",
        "Code": "012345",
        "Name": "GeoDynamics"
      }
    ]
  }
}
```

#### 401: Unauthorized

#### 403: Forbidden

## POST /intellitracer/v3/person/{personId}/defaultlimosa/{limosaNumber}

`https://api.geodynamics.dev/intellitracer/v3/person/{personId}/defaultlimosa/{limosaNumber}`

Privilege required: `Api: Check In At Work`

Update default Limosa

Updates the default Limosa for a person.

### Path parameters

| Name | Type | Required | Example |
| --- | --- | --- | --- |
| `personId` | string | required | `00000000-0000-0000-0000-000000000000` |
| `limosaNumber` | number | required | `11223344556677889` |

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "LimosaNumber": 11223344556677888,
    "IsDefault": false,
    "EndDate": "2020-10-30T00:00:00+01:00",
    "Workplaces": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "DUC": "1Y100001AB1CD",
        "Code": "012345",
        "Name": "GeoDynamics"
      }
    ]
  }
}
```

#### 401: Unauthorized

#### 403: Forbidden

## PUT /intellitracer/v3/person/{personId}/limosa/{limosaNumber}/workplace

`https://api.geodynamics.dev/intellitracer/v3/person/{personId}/limosa/{limosaNumber}/workplace`

Privilege required: `Api: Check In At Work`

Link workplaces to Limosa

Links one or more workplaces to a Limosa.

### Path parameters

| Name | Type | Required | Example |
| --- | --- | --- | --- |
| `personId` | string | required | `00000000-0000-0000-0000-000000000000` |
| `limosaNumber` | number | required | `11223344556677889` |

### Request body

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "LimosaNumber": 11223344556677888,
    "IsDefault": false,
    "EndDate": "2020-10-30T00:00:00+01:00",
    "Workplaces": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "DUC": "1Y100001AB1CD",
        "Code": "012345",
        "Name": "GeoDynamics"
      }
    ]
  }
}
```

#### 400: BadRequest

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

```json
{
  "Entity": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "LimosaNumber": 11223344556677888,
    "IsDefault": false,
    "EndDate": "2020-10-30T00:00:00+01:00",
    "Workplaces": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "DUC": "1Y100001AB1CD",
        "Code": "012345",
        "Name": "GeoDynamics"
      }
    ]
  },
  "ValidationResult": [
    {
      "Message": "",
      "SourceMemberNames": []
    }
  ]
}
```

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## POST /intellitracer/v3/person/{personId}/limosa/{limosaNumber}/workplace/delete

`https://api.geodynamics.dev/intellitracer/v3/person/{personId}/limosa/{limosaNumber}/workplace/delete`

Privilege required: `Api: Check In At Work`

Unlink workplaces from Limosa

Unlinks one or more workplaces from a Limosa.

### Path parameters

| Name | Type | Required | Example |
| --- | --- | --- | --- |
| `personId` | string | required | `00000000-0000-0000-0000-000000000000` |
| `limosaNumber` | number | required | `11223344556677889` |

### Request body

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "LimosaNumber": 11223344556677888,
    "IsDefault": false,
    "EndDate": "2020-10-30T00:00:00+01:00",
    "Workplaces": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "DUC": "1Y100001AB1CD",
        "Code": "012345",
        "Name": "GeoDynamics"
      }
    ]
  }
}
```

#### 400: BadRequest

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

```json
{
  "Entity": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "LimosaNumber": 11223344556677888,
    "IsDefault": false,
    "EndDate": "2020-10-30T00:00:00+01:00",
    "Workplaces": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "DUC": "1Y100001AB1CD",
        "Code": "012345",
        "Name": "GeoDynamics"
      }
    ]
  },
  "ValidationResult": [
    {
      "Message": "",
      "SourceMemberNames": []
    }
  ]
}
```

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## POST /intellitracer/v2/person/{id}/limosa

`https://api.geodynamics.dev/intellitracer/v2/person/{id}/limosa`

Privilege required: `Api: Check In At Work`

Update Limosa

Updates the limosa of a person.

### Path parameters

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

### Request body

Type: `object`

| Field | Type | Required |
| --- | --- | --- |
| `LimosaNumber` (default = 0) | number | required |
| `ExpirationDate` (default = null) | string | required |
| `StartDate` (default = null) | string | required |

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "ShortCode": 123456789,
    "Code": "12345",
    "Type": 0,
    "RRNNumber": 79040205768,
    "FormattedRRNNumber": "79.04.02-057.68",
    "LimosaNumber": 11223344556677888,
    "BTW": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "123456789",
      "Name": "GeoDynamics",
      "Country": 0,
      "CountryCode": "BE",
      "FormattedBTWNumber": "BE-123456789"
    },
    "Notes": "John Doe",
    "Badges": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "00BB4E6F",
        "Type": 0,
        "ExternalNumber": "00BB4E6F"
      }
    ],
    "FeedbackGSM": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "+32478123456"
    },
    "RegisterGSM": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "+32478123456"
    },
    "LimosaEndDate": "2019-01-25T08:00:00+02:00",
    "CreationTimeStamp": "2019-01-25T08:00:00+02:00",
    "BirthDate": "2019-01-25",
    "ReceiveFeedback": false,
    "ApproveRegistration": false,
    "User": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "BadgeTimeStamp": "2019-01-25T08:00:00+02:00",
    "Inactive": false,
    "InactivityTimestamp": "2019-01-25T08:00:00+02:00",
    "A1ExpirationDate": "2019-01-25T08:00:00+02:00",
    "VisaExpirationDate": "2019-01-25T08:00:00+02:00",
    "Limosas": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "LimosaNumber": 11223344556677888,
        "IsDefault": false,
        "EndDate": "2020-10-30T00:00:00+01:00",
        "Workplaces": [
          {
            "Id": "00000000-0000-0000-0000-000000000000",
            "DUC": "",
            "Code": "012345",
            "Name": "GeoDynamics"
          }
        ]
      }
    ],
    "QrUrl": "https://api.intellitracer.be/qrcode.pdf",
    "Info": "Person info",
    "LimosaStartDate": "2019-01-25T08:00:00",
    "BISNumber": 79040205768,
    "FormattedBISNumber": "79.04.02-057.68"
  }
}
```

#### 400: BadRequest

```json
[
  {
    "Property": "Name",
    "Message": "Required"
  }
]
```

#### 401: Unauthorized

#### 403: Forbidden

#### 404: NotFound

#### 417: ExpectationFailed

## POST /intellitracer/v2/person/{id}/btw

`https://api.geodynamics.dev/intellitracer/v2/person/{id}/btw`

Privilege required: `Api: Check In At Work`

Update BTW

Updates the BTW number of a person.

### Path parameters

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

### Request body

Type: `object`

| Field | Type | Required |
| --- | --- | --- |
| `BtwNumber` | string | required |

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "ShortCode": 123456789,
    "Code": "12345",
    "Type": 0,
    "RRNNumber": 79040205768,
    "FormattedRRNNumber": "79.04.02-057.68",
    "LimosaNumber": 11223344556677888,
    "BTW": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "123456789",
      "Name": "GeoDynamics",
      "Country": 0,
      "CountryCode": "BE",
      "FormattedBTWNumber": "BE-123456789"
    },
    "Notes": "John Doe",
    "Badges": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "00BB4E6F",
        "Type": 0,
        "ExternalNumber": "00BB4E6F"
      }
    ],
    "FeedbackGSM": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "+32478123456"
    },
    "RegisterGSM": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "+32478123456"
    },
    "LimosaEndDate": "2019-01-25T08:00:00+02:00",
    "CreationTimeStamp": "2019-01-25T08:00:00+02:00",
    "BirthDate": "2019-01-25",
    "ReceiveFeedback": false,
    "ApproveRegistration": false,
    "User": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "BadgeTimeStamp": "2019-01-25T08:00:00+02:00",
    "Inactive": false,
    "InactivityTimestamp": "2019-01-25T08:00:00+02:00",
    "A1ExpirationDate": "2019-01-25T08:00:00+02:00",
    "VisaExpirationDate": "2019-01-25T08:00:00+02:00",
    "Limosas": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "LimosaNumber": 11223344556677888,
        "IsDefault": false,
        "EndDate": "2020-10-30T00:00:00+01:00",
        "Workplaces": [
          {
            "Id": "00000000-0000-0000-0000-000000000000",
            "DUC": "",
            "Code": "012345",
            "Name": "GeoDynamics"
          }
        ]
      }
    ],
    "QrUrl": "https://api.intellitracer.be/qrcode.pdf",
    "Info": "Person info",
    "LimosaStartDate": "2019-01-25T08:00:00",
    "BISNumber": 79040205768,
    "FormattedBISNumber": "79.04.02-057.68"
  }
}
```

#### 400: BadRequest

```json
[
  {
    "Property": "Name",
    "Message": "Required"
  }
]
```

#### 401: Unauthorized

#### 403: Forbidden

#### 404: NotFound

#### 417: ExpectationFailed

## POST /intellitracer/v2/person/{id}/activity

`https://api.geodynamics.dev/intellitracer/v2/person/{id}/activity`

Privilege required: `Api: Check In At Work`

Update activity

Updates whether a person is currently active or not.

### Path parameters

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

### Request body

Type: `object`

| Field | Type | Required |
| --- | --- | --- |
| `Inactive` | boolean | required |

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "ShortCode": 123456789,
    "Code": "12345",
    "Type": 0,
    "RRNNumber": 79040205768,
    "FormattedRRNNumber": "79.04.02-057.68",
    "LimosaNumber": 11223344556677888,
    "BTW": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "123456789",
      "Name": "GeoDynamics",
      "Country": 0,
      "CountryCode": "BE",
      "FormattedBTWNumber": "BE-123456789"
    },
    "Notes": "John Doe",
    "Badges": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "00BB4E6F",
        "Type": 0,
        "ExternalNumber": "00BB4E6F"
      }
    ],
    "FeedbackGSM": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "+32478123456"
    },
    "RegisterGSM": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "+32478123456"
    },
    "LimosaEndDate": "2019-01-25T08:00:00+02:00",
    "CreationTimeStamp": "2019-01-25T08:00:00+02:00",
    "BirthDate": "2019-01-25",
    "ReceiveFeedback": false,
    "ApproveRegistration": false,
    "User": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "BadgeTimeStamp": "2019-01-25T08:00:00+02:00",
    "Inactive": false,
    "InactivityTimestamp": "2019-01-25T08:00:00+02:00",
    "A1ExpirationDate": "2019-01-25T08:00:00+02:00",
    "VisaExpirationDate": "2019-01-25T08:00:00+02:00",
    "Limosas": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "LimosaNumber": 11223344556677888,
        "IsDefault": false,
        "EndDate": "2020-10-30T00:00:00+01:00",
        "Workplaces": [
          {
            "Id": "00000000-0000-0000-0000-000000000000",
            "DUC": "",
            "Code": "012345",
            "Name": "GeoDynamics"
          }
        ]
      }
    ],
    "QrUrl": "https://api.intellitracer.be/qrcode.pdf",
    "Info": "Person info",
    "LimosaStartDate": "2019-01-25T08:00:00",
    "BISNumber": 79040205768,
    "FormattedBISNumber": "79.04.02-057.68"
  }
}
```

#### 400: BadRequest

```json
[
  {
    "Property": "Name",
    "Message": "Required"
  }
]
```

#### 401: Unauthorized

#### 403: Forbidden

#### 404: NotFound

#### 417: ExpectationFailed

## POST /intellitracer/v2/person/{id}/byrrnbtw

`https://api.geodynamics.dev/intellitracer/v2/person/{id}/byrrnbtw`

Privilege required: `Api: Check In At Work`

Update RRN and BTW

Updates RRN and BTW of a person.

### Path parameters

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

### Request body

Type: `object`

| Field | Type | Required |
| --- | --- | --- |
| `Btw` | string | required |
| `INSZ` | string | required |

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "ShortCode": 123456789,
    "Code": "12345",
    "Type": 0,
    "RRNNumber": 79040205768,
    "FormattedRRNNumber": "79.04.02-057.68",
    "LimosaNumber": 11223344556677888,
    "BTW": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "123456789",
      "Name": "GeoDynamics",
      "Country": 0,
      "CountryCode": "BE",
      "FormattedBTWNumber": "BE-123456789"
    },
    "Notes": "John Doe",
    "Badges": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "00BB4E6F",
        "Type": 0,
        "ExternalNumber": "00BB4E6F"
      }
    ],
    "FeedbackGSM": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "+32478123456"
    },
    "RegisterGSM": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "+32478123456"
    },
    "LimosaEndDate": "2019-01-25T08:00:00+02:00",
    "CreationTimeStamp": "2019-01-25T08:00:00+02:00",
    "BirthDate": "2019-01-25",
    "ReceiveFeedback": false,
    "ApproveRegistration": false,
    "User": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "BadgeTimeStamp": "2019-01-25T08:00:00+02:00",
    "Inactive": false,
    "InactivityTimestamp": "2019-01-25T08:00:00+02:00",
    "A1ExpirationDate": "2019-01-25T08:00:00+02:00",
    "VisaExpirationDate": "2019-01-25T08:00:00+02:00",
    "Limosas": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "LimosaNumber": 11223344556677888,
        "IsDefault": false,
        "EndDate": "2020-10-30T00:00:00+01:00",
        "Workplaces": [
          {
            "Id": "00000000-0000-0000-0000-000000000000",
            "DUC": "",
            "Code": "012345",
            "Name": "GeoDynamics"
          }
        ]
      }
    ],
    "QrUrl": "https://api.intellitracer.be/qrcode.pdf",
    "Info": "Person info",
    "LimosaStartDate": "2019-01-25T08:00:00",
    "BISNumber": 79040205768,
    "FormattedBISNumber": "79.04.02-057.68"
  }
}
```

#### 400: BadRequest

```json
[
  {
    "Property": "Name",
    "Message": "Required"
  }
]
```

#### 401: Unauthorized

#### 403: Forbidden

#### 404: NotFound

#### 417: ExpectationFailed

## POST /intellitracer/v2/person/{id}/badge

`https://api.geodynamics.dev/intellitracer/v2/person/{id}/badge`

Privilege required: `Api: Check In At Work`

Link badge to person

Links a badge to a person. If necessary, a new badge is created.

### Path parameters

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

### Request body

Type: `object`

| Field | Type | Required |
| --- | --- | --- |
| `BadgeNumber` | string | required |
| `BadgeType` | number | required |

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "ShortCode": 123456789,
    "Code": "12345",
    "Type": 0,
    "RRNNumber": 79040205768,
    "FormattedRRNNumber": "79.04.02-057.68",
    "LimosaNumber": 11223344556677888,
    "BTW": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "123456789",
      "Name": "GeoDynamics",
      "Country": 0,
      "CountryCode": "BE",
      "FormattedBTWNumber": "BE-123456789"
    },
    "Notes": "John Doe",
    "Badges": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "00BB4E6F",
        "Type": 0,
        "ExternalNumber": "00BB4E6F"
      }
    ],
    "FeedbackGSM": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "+32478123456"
    },
    "RegisterGSM": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "+32478123456"
    },
    "LimosaEndDate": "2019-01-25T08:00:00+02:00",
    "CreationTimeStamp": "2019-01-25T08:00:00+02:00",
    "BirthDate": "2019-01-25",
    "ReceiveFeedback": false,
    "ApproveRegistration": false,
    "User": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "BadgeTimeStamp": "2019-01-25T08:00:00+02:00",
    "Inactive": false,
    "InactivityTimestamp": "2019-01-25T08:00:00+02:00",
    "A1ExpirationDate": "2019-01-25T08:00:00+02:00",
    "VisaExpirationDate": "2019-01-25T08:00:00+02:00",
    "Limosas": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "LimosaNumber": 11223344556677888,
        "IsDefault": false,
        "EndDate": "2020-10-30T00:00:00+01:00",
        "Workplaces": [
          {
            "Id": "00000000-0000-0000-0000-000000000000",
            "DUC": "",
            "Code": "012345",
            "Name": "GeoDynamics"
          }
        ]
      }
    ],
    "QrUrl": "https://api.intellitracer.be/qrcode.pdf",
    "Info": "Person info",
    "LimosaStartDate": "2019-01-25T08:00:00",
    "BISNumber": 79040205768,
    "FormattedBISNumber": "79.04.02-057.68"
  }
}
```

#### 400: BadRequest

```json
[
  {
    "Property": "Name",
    "Message": "Required"
  }
]
```

#### 401: Unauthorized

#### 403: Forbidden

#### 404: NotFound

#### 417: ExpectationFailed

## DELETE /intellitracer/v2/person/{id}/badge/{badgeNumber}

`https://api.geodynamics.dev/intellitracer/v2/person/{id}/badge/{badgeNumber}`

Privilege required: `Api: Check In At Work`

Unlink badge from person

Unlinks a badge from a person.

### Path parameters

| Name | Type | Required | Example |
| --- | --- | --- | --- |
| `id` | string | required | `00000000-0000-0000-0000-000000000000` |
| `badgeNumber` | string | required | `00BB4E6F` |

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "ShortCode": 123456789,
    "Code": "12345",
    "Type": 0,
    "RRNNumber": 79040205768,
    "FormattedRRNNumber": "79.04.02-057.68",
    "LimosaNumber": 11223344556677888,
    "BTW": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "123456789",
      "Name": "GeoDynamics",
      "Country": 0,
      "CountryCode": "BE",
      "FormattedBTWNumber": "BE-123456789"
    },
    "Notes": "John Doe",
    "Badges": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "00BB4E6F",
        "Type": 0,
        "ExternalNumber": "00BB4E6F"
      }
    ],
    "FeedbackGSM": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "+32478123456"
    },
    "RegisterGSM": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "+32478123456"
    },
    "LimosaEndDate": "2019-01-25T08:00:00+02:00",
    "CreationTimeStamp": "2019-01-25T08:00:00+02:00",
    "BirthDate": "2019-01-25",
    "ReceiveFeedback": false,
    "ApproveRegistration": false,
    "User": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "BadgeTimeStamp": "2019-01-25T08:00:00+02:00",
    "Inactive": false,
    "InactivityTimestamp": "2019-01-25T08:00:00+02:00",
    "A1ExpirationDate": "2019-01-25T08:00:00+02:00",
    "VisaExpirationDate": "2019-01-25T08:00:00+02:00",
    "Limosas": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "LimosaNumber": 11223344556677888,
        "IsDefault": false,
        "EndDate": "2020-10-30T00:00:00+01:00",
        "Workplaces": [
          {
            "Id": "00000000-0000-0000-0000-000000000000",
            "DUC": "",
            "Code": "012345",
            "Name": "GeoDynamics"
          }
        ]
      }
    ],
    "QrUrl": "https://api.intellitracer.be/qrcode.pdf",
    "Info": "Person info",
    "LimosaStartDate": "2019-01-25T08:00:00",
    "BISNumber": 79040205768,
    "FormattedBISNumber": "79.04.02-057.68"
  }
}
```

#### 400: BadRequest

```json
[
  {
    "Property": "Name",
    "Message": "Required"
  }
]
```

#### 401: Unauthorized

#### 403: Forbidden

#### 404: NotFound

#### 417: ExpectationFailed

## POST /intellitracer/v2/person/{personId}/user

`https://api.geodynamics.dev/intellitracer/v2/person/{personId}/user`

Privilege required: `Api: Resource management`

Link user to person

Links a user to a person.

### Path parameters

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

### Request body

Type: `object`

| Field | Type | Required |
| --- | --- | --- |
| `UserId` | string | required |

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "ShortCode": 123456789,
    "Code": "12345",
    "Type": 0,
    "RRNNumber": 79040205768,
    "FormattedRRNNumber": "79.04.02-057.68",
    "LimosaNumber": 11223344556677888,
    "BTW": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "123456789",
      "Name": "GeoDynamics",
      "Country": 0,
      "CountryCode": "BE",
      "FormattedBTWNumber": "BE-123456789"
    },
    "Notes": "John Doe",
    "Badges": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "00BB4E6F",
        "Type": 0,
        "ExternalNumber": "00BB4E6F"
      }
    ],
    "FeedbackGSM": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "+32478123456"
    },
    "RegisterGSM": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "+32478123456"
    },
    "LimosaEndDate": "2019-01-25T08:00:00+02:00",
    "CreationTimeStamp": "2019-01-25T08:00:00+02:00",
    "BirthDate": "2019-01-25",
    "ReceiveFeedback": false,
    "ApproveRegistration": false,
    "User": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "BadgeTimeStamp": "2019-01-25T08:00:00+02:00",
    "Inactive": false,
    "InactivityTimestamp": "2019-01-25T08:00:00+02:00",
    "A1ExpirationDate": "2019-01-25T08:00:00+02:00",
    "VisaExpirationDate": "2019-01-25T08:00:00+02:00",
    "Limosas": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "LimosaNumber": 11223344556677888,
        "IsDefault": false,
        "EndDate": "2020-10-30T00:00:00+01:00",
        "Workplaces": [
          {
            "Id": "00000000-0000-0000-0000-000000000000",
            "DUC": "",
            "Code": "012345",
            "Name": "GeoDynamics"
          }
        ]
      }
    ],
    "QrUrl": "https://api.intellitracer.be/qrcode.pdf",
    "Info": "Person info",
    "LimosaStartDate": "2019-01-25T08:00:00",
    "BISNumber": 79040205768,
    "FormattedBISNumber": "79.04.02-057.68"
  }
}
```

#### 400: BadRequest

```json
[
  {
    "Property": "Name",
    "Message": "Required"
  }
]
```

#### 401: Unauthorized

#### 403: Forbidden

#### 404: NotFound

#### 417: ExpectationFailed

## DELETE /intellitracer/v2/person/{personId}/user

`https://api.geodynamics.dev/intellitracer/v2/person/{personId}/user`

Privilege required: `Api: Resource management`

Unlink user from person

Unlinks the current user from a person.

### Path parameters

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

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "ShortCode": 123456789,
    "Code": "12345",
    "Type": 0,
    "RRNNumber": 79040205768,
    "FormattedRRNNumber": "79.04.02-057.68",
    "LimosaNumber": 11223344556677888,
    "BTW": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "123456789",
      "Name": "GeoDynamics",
      "Country": 0,
      "CountryCode": "BE",
      "FormattedBTWNumber": "BE-123456789"
    },
    "Notes": "John Doe",
    "Badges": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "00BB4E6F",
        "Type": 0,
        "ExternalNumber": "00BB4E6F"
      }
    ],
    "FeedbackGSM": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "+32478123456"
    },
    "RegisterGSM": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "+32478123456"
    },
    "LimosaEndDate": "2019-01-25T08:00:00+02:00",
    "CreationTimeStamp": "2019-01-25T08:00:00+02:00",
    "BirthDate": "2019-01-25",
    "ReceiveFeedback": false,
    "ApproveRegistration": false,
    "User": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "BadgeTimeStamp": "2019-01-25T08:00:00+02:00",
    "Inactive": false,
    "InactivityTimestamp": "2019-01-25T08:00:00+02:00",
    "A1ExpirationDate": "2019-01-25T08:00:00+02:00",
    "VisaExpirationDate": "2019-01-25T08:00:00+02:00",
    "Limosas": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "LimosaNumber": 11223344556677888,
        "IsDefault": false,
        "EndDate": "2020-10-30T00:00:00+01:00",
        "Workplaces": [
          {
            "Id": "00000000-0000-0000-0000-000000000000",
            "DUC": "",
            "Code": "012345",
            "Name": "GeoDynamics"
          }
        ]
      }
    ],
    "QrUrl": "https://api.intellitracer.be/qrcode.pdf",
    "Info": "Person info",
    "LimosaStartDate": "2019-01-25T08:00:00",
    "BISNumber": 79040205768,
    "FormattedBISNumber": "79.04.02-057.68"
  }
}
```

#### 400: BadRequest

```json
[
  {
    "Property": "Name",
    "Message": "Required"
  }
]
```

#### 401: Unauthorized

#### 403: Forbidden

#### 404: NotFound

#### 417: ExpectationFailed

## GET /intellitracer/v2/persongroup?page={page}&search={search}

`https://api.geodynamics.dev/intellitracer/v2/persongroup?page={page}&search={search}`

Privilege required: `Api: Check In At Work`

Get person groups

Returns a paged list of all person groups.

Pagination and searching is explained in [Pagination](#pagination).

### Path parameters

| Name | Type | Required | Example |
| --- | --- | --- | --- |
| `page` | number | required | `1` |
| `search` | string | required | `ABC` |

### Responses

#### 200: OK

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

```json
{
  "Data": [
    {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Name": "Group 1",
      "Persons": [
        {
          "Id": "00000000-0000-0000-0000-000000000000",
          "ShortCode": 123456789,
          "Code": "12345",
          "Type": 0,
          "RRNNumber": 79040205768,
          "FormattedRRNNumber": "79.04.02-057.68",
          "LimosaNumber": 11223344556677888,
          "BTW": {
            "Id": "00000000-0000-0000-0000-000000000000",
            "Number": "123456789",
            "Name": "GeoDynamics",
            "Country": 0,
            "CountryCode": "BE",
            "FormattedBTWNumber": "BE-123456789"
          },
          "Notes": "John Doe",
          "Badges": [
            {
              "Id": "00000000-0000-0000-0000-000000000000",
              "Number": "00BB4E6F",
              "Type": 0,
              "ExternalNumber": "00BB4E6F"
            }
          ],
          "FeedbackGSM": {
            "Id": "00000000-0000-0000-0000-000000000000",
            "Number": "+32478123456"
          },
          "RegisterGSM": {
            "Id": "00000000-0000-0000-0000-000000000000",
            "Number": "+32478123456"
          },
          "LimosaEndDate": "2019-01-25T08:00:00+02:00",
          "CreationTimeStamp": "2019-01-25T08:00:00+02:00",
          "BirthDate": "2019-01-25",
          "ReceiveFeedback": false,
          "ApproveRegistration": false,
          "User": {
            "Id": "00000000-0000-0000-0000-000000000000",
            "Code": "012345",
            "Name": "John Doe",
            "Type": 0
          },
          "BadgeTimeStamp": "2019-01-25T08:00:00+02:00",
          "Inactive": false,
          "InactivityTimestamp": "2019-01-25T08:00:00+02:00",
          "A1ExpirationDate": "2019-01-25T08:00:00+02:00",
          "VisaExpirationDate": "2019-01-25T08:00:00+02:00",
          "Limosas": [
            {
              "Id": "00000000-0000-0000-0000-000000000000",
              "LimosaNumber": 11223344556677888,
              "IsDefault": false,
              "EndDate": "2020-10-30T00:00:00+01:00",
              "Workplaces": [
                {
                  "Id": "00000000-0000-0000-0000-000000000000",
                  "DUC": "",
                  "Code": "012345",
                  "Name": "GeoDynamics"
                }
              ]
            }
          ],
          "QrUrl": "https://api.intellitracer.be/qrcode.pdf",
          "Info": "Person info",
          "LimosaStartDate": "2019-01-25T08:00:00",
          "BISNumber": 79040205768,
          "FormattedBISNumber": "79.04.02-057.68"
        }
      ]
    }
  ],
  "PagingFilter": {
    "Page": 1,
    "Search": "ABC",
    "PageCount": 4,
    "TotalCount": 100,
    "Links": {
      "Base": "https://api.geodynamics.dev",
      "First": "/intellitracer/v2/asset?page=1",
      "Prev": "/intellitracer/v2/asset?page=2",
      "Next": "/intellitracer/v2/asset?page=4",
      "Last": "/intellitracer/v2/asset?page=4"
    }
  }
}
```

#### 401: Unauthorized

#### 403: Forbidden

## GET /intellitracer/v2/persongroup/{id}

`https://api.geodynamics.dev/intellitracer/v2/persongroup/{id}`

Privilege required: `Api: Check In At Work`

Get person group

Returns a person group by Id.

### Path parameters

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

### Responses

#### 200: OK

| Field | Type |
| --- | --- |
| `Id` | string |
| `Name` | string |
| `Persons` (default = []) | array |

```json
{
  "Id": "00000000-0000-0000-0000-000000000000",
  "Name": "Group 1",
  "Persons": [
    {
      "Id": "00000000-0000-0000-0000-000000000000",
      "ShortCode": 123456789,
      "Code": "12345",
      "Type": 0,
      "RRNNumber": 79040205768,
      "FormattedRRNNumber": "79.04.02-057.68",
      "LimosaNumber": 11223344556677888,
      "BTW": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "123456789",
        "Name": "GeoDynamics",
        "Country": 0,
        "CountryCode": "BE",
        "FormattedBTWNumber": "BE-123456789"
      },
      "Notes": "John Doe",
      "Badges": [
        {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Number": "00BB4E6F",
          "Type": 0,
          "ExternalNumber": "00BB4E6F"
        }
      ],
      "FeedbackGSM": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "+32478123456"
      },
      "RegisterGSM": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "+32478123456"
      },
      "LimosaEndDate": "2019-01-25T08:00:00+02:00",
      "CreationTimeStamp": "2019-01-25T08:00:00+02:00",
      "BirthDate": "2019-01-25",
      "ReceiveFeedback": false,
      "ApproveRegistration": false,
      "User": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Code": "012345",
        "Name": "John Doe",
        "Type": 0
      },
      "BadgeTimeStamp": "2019-01-25T08:00:00+02:00",
      "Inactive": false,
      "InactivityTimestamp": "2019-01-25T08:00:00+02:00",
      "A1ExpirationDate": "2019-01-25T08:00:00+02:00",
      "VisaExpirationDate": "2019-01-25T08:00:00+02:00",
      "Limosas": [
        {
          "Id": "00000000-0000-0000-0000-000000000000",
          "LimosaNumber": 11223344556677888,
          "IsDefault": false,
          "EndDate": "2020-10-30T00:00:00+01:00",
          "Workplaces": [
            {
              "Id": "00000000-0000-0000-0000-000000000000",
              "DUC": "",
              "Code": "012345",
              "Name": "GeoDynamics"
            }
          ]
        }
      ],
      "QrUrl": "https://api.intellitracer.be/qrcode.pdf",
      "Info": "Person info",
      "LimosaStartDate": "2019-01-25T08:00:00",
      "BISNumber": 79040205768,
      "FormattedBISNumber": "79.04.02-057.68"
    }
  ]
}
```

#### 401: Unauthorized

#### 403: Forbidden

## DELETE /intellitracer/v2/persongroup/{id}

`https://api.geodynamics.dev/intellitracer/v2/persongroup/{id}`

Privilege required: `Api: Check In At Work`

Delete person group

Deletes a person group by Id.

### Path parameters

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

### Responses

#### 200: OK

| Field | Type |
| --- | --- |
| `Id` | string |
| `Name` | string |
| `Persons` (default = []) | array |

```json
{
  "Id": "00000000-0000-0000-0000-000000000000",
  "Name": "Group 1",
  "Persons": [
    {
      "Id": "00000000-0000-0000-0000-000000000000",
      "ShortCode": 123456789,
      "Code": "12345",
      "Type": 0,
      "RRNNumber": 79040205768,
      "FormattedRRNNumber": "79.04.02-057.68",
      "LimosaNumber": 11223344556677888,
      "BTW": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "123456789",
        "Name": "GeoDynamics",
        "Country": 0,
        "CountryCode": "BE",
        "FormattedBTWNumber": "BE-123456789"
      },
      "Notes": "John Doe",
      "Badges": [
        {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Number": "00BB4E6F",
          "Type": 0,
          "ExternalNumber": "00BB4E6F"
        }
      ],
      "FeedbackGSM": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "+32478123456"
      },
      "RegisterGSM": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "+32478123456"
      },
      "LimosaEndDate": "2019-01-25T08:00:00+02:00",
      "CreationTimeStamp": "2019-01-25T08:00:00+02:00",
      "BirthDate": "2019-01-25",
      "ReceiveFeedback": false,
      "ApproveRegistration": false,
      "User": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Code": "012345",
        "Name": "John Doe",
        "Type": 0
      },
      "BadgeTimeStamp": "2019-01-25T08:00:00+02:00",
      "Inactive": false,
      "InactivityTimestamp": "2019-01-25T08:00:00+02:00",
      "A1ExpirationDate": "2019-01-25T08:00:00+02:00",
      "VisaExpirationDate": "2019-01-25T08:00:00+02:00",
      "Limosas": [
        {
          "Id": "00000000-0000-0000-0000-000000000000",
          "LimosaNumber": 11223344556677888,
          "IsDefault": false,
          "EndDate": "2020-10-30T00:00:00+01:00",
          "Workplaces": [
            {
              "Id": "00000000-0000-0000-0000-000000000000",
              "DUC": "",
              "Code": "012345",
              "Name": "GeoDynamics"
            }
          ]
        }
      ],
      "QrUrl": "https://api.intellitracer.be/qrcode.pdf",
      "Info": "Person info",
      "LimosaStartDate": "2019-01-25T08:00:00",
      "BISNumber": 79040205768,
      "FormattedBISNumber": "79.04.02-057.68"
    }
  ]
}
```

#### 401: Unauthorized

#### 403: Forbidden

## POST /intellitracer/v2/persongroup

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

Privilege required: `Api: Check In At Work`

Update person group

Update a person group.

### Request body

Type: `object`

| Field | Type | Required |
| --- | --- | --- |
| `Id` | string | required |
| `Name` | string | required |
| `PersonIds` (default = []) | array | optional |

### Responses

#### 200: OK

| Field | Type |
| --- | --- |
| `Id` | string |
| `Name` | string |
| `Persons` (default = []) | array |

```json
{
  "Id": "00000000-0000-0000-0000-000000000000",
  "Name": "Group 1",
  "Persons": [
    {
      "Id": "00000000-0000-0000-0000-000000000000",
      "ShortCode": 123456789,
      "Code": "12345",
      "Type": 0,
      "RRNNumber": 79040205768,
      "FormattedRRNNumber": "79.04.02-057.68",
      "LimosaNumber": 11223344556677888,
      "BTW": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "123456789",
        "Name": "GeoDynamics",
        "Country": 0,
        "CountryCode": "BE",
        "FormattedBTWNumber": "BE-123456789"
      },
      "Notes": "John Doe",
      "Badges": [
        {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Number": "00BB4E6F",
          "Type": 0,
          "ExternalNumber": "00BB4E6F"
        }
      ],
      "FeedbackGSM": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "+32478123456"
      },
      "RegisterGSM": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "+32478123456"
      },
      "LimosaEndDate": "2019-01-25T08:00:00+02:00",
      "CreationTimeStamp": "2019-01-25T08:00:00+02:00",
      "BirthDate": "2019-01-25",
      "ReceiveFeedback": false,
      "ApproveRegistration": false,
      "User": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Code": "012345",
        "Name": "John Doe",
        "Type": 0
      },
      "BadgeTimeStamp": "2019-01-25T08:00:00+02:00",
      "Inactive": false,
      "InactivityTimestamp": "2019-01-25T08:00:00+02:00",
      "A1ExpirationDate": "2019-01-25T08:00:00+02:00",
      "VisaExpirationDate": "2019-01-25T08:00:00+02:00",
      "Limosas": [
        {
          "Id": "00000000-0000-0000-0000-000000000000",
          "LimosaNumber": 11223344556677888,
          "IsDefault": false,
          "EndDate": "2020-10-30T00:00:00+01:00",
          "Workplaces": [
            {
              "Id": "00000000-0000-0000-0000-000000000000",
              "DUC": "",
              "Code": "012345",
              "Name": "GeoDynamics"
            }
          ]
        }
      ],
      "QrUrl": "https://api.intellitracer.be/qrcode.pdf",
      "Info": "Person info",
      "LimosaStartDate": "2019-01-25T08:00:00",
      "BISNumber": 79040205768,
      "FormattedBISNumber": "79.04.02-057.68"
    }
  ]
}
```

#### 401: Unauthorized

#### 403: Forbidden

## PUT /intellitracer/v2/persongroup

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

Privilege required: `Api: Check In At Work`

Create person group

Creates a new person group.

### Request body

Type: `object`

| Field | Type | Required |
| --- | --- | --- |
| `Name` | string | required |
| `PersonIds` (default = []) | array | optional |

### Responses

#### 200: OK

| Field | Type |
| --- | --- |
| `Id` | string |
| `Name` | string |
| `Persons` (default = []) | array |

```json
{
  "Id": "00000000-0000-0000-0000-000000000000",
  "Name": "Group 1",
  "Persons": [
    {
      "Id": "00000000-0000-0000-0000-000000000000",
      "ShortCode": 123456789,
      "Code": "12345",
      "Type": 0,
      "RRNNumber": 79040205768,
      "FormattedRRNNumber": "79.04.02-057.68",
      "LimosaNumber": 11223344556677888,
      "BTW": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "123456789",
        "Name": "GeoDynamics",
        "Country": 0,
        "CountryCode": "BE",
        "FormattedBTWNumber": "BE-123456789"
      },
      "Notes": "John Doe",
      "Badges": [
        {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Number": "00BB4E6F",
          "Type": 0,
          "ExternalNumber": "00BB4E6F"
        }
      ],
      "FeedbackGSM": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "+32478123456"
      },
      "RegisterGSM": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "+32478123456"
      },
      "LimosaEndDate": "2019-01-25T08:00:00+02:00",
      "CreationTimeStamp": "2019-01-25T08:00:00+02:00",
      "BirthDate": "2019-01-25",
      "ReceiveFeedback": false,
      "ApproveRegistration": false,
      "User": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Code": "012345",
        "Name": "John Doe",
        "Type": 0
      },
      "BadgeTimeStamp": "2019-01-25T08:00:00+02:00",
      "Inactive": false,
      "InactivityTimestamp": "2019-01-25T08:00:00+02:00",
      "A1ExpirationDate": "2019-01-25T08:00:00+02:00",
      "VisaExpirationDate": "2019-01-25T08:00:00+02:00",
      "Limosas": [
        {
          "Id": "00000000-0000-0000-0000-000000000000",
          "LimosaNumber": 11223344556677888,
          "IsDefault": false,
          "EndDate": "2020-10-30T00:00:00+01:00",
          "Workplaces": [
            {
              "Id": "00000000-0000-0000-0000-000000000000",
              "DUC": "",
              "Code": "012345",
              "Name": "GeoDynamics"
            }
          ]
        }
      ],
      "QrUrl": "https://api.intellitracer.be/qrcode.pdf",
      "Info": "Person info",
      "LimosaStartDate": "2019-01-25T08:00:00",
      "BISNumber": 79040205768,
      "FormattedBISNumber": "79.04.02-057.68"
    }
  ]
}
```

#### 401: Unauthorized

#### 403: Forbidden

## PUT /intellitracer/v2/persongroup/{id}/person

`https://api.geodynamics.dev/intellitracer/v2/persongroup/{id}/person`

Privilege required: `Api: Check In At Work`

Add persons to person group

Adds one or more persons to an existing person group.

### Path parameters

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

### Request body

### Responses

#### 200: OK

| Field | Type |
| --- | --- |
| `Id` | string |
| `Name` | string |
| `Persons` (default = []) | array |

```json
{
  "Id": "00000000-0000-0000-0000-000000000000",
  "Name": "Group 1",
  "Persons": [
    {
      "Id": "00000000-0000-0000-0000-000000000000",
      "ShortCode": 123456789,
      "Code": "12345",
      "Type": 0,
      "RRNNumber": 79040205768,
      "FormattedRRNNumber": "79.04.02-057.68",
      "LimosaNumber": 11223344556677888,
      "BTW": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "123456789",
        "Name": "GeoDynamics",
        "Country": 0,
        "CountryCode": "BE",
        "FormattedBTWNumber": "BE-123456789"
      },
      "Notes": "John Doe",
      "Badges": [
        {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Number": "00BB4E6F",
          "Type": 0,
          "ExternalNumber": "00BB4E6F"
        }
      ],
      "FeedbackGSM": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "+32478123456"
      },
      "RegisterGSM": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "+32478123456"
      },
      "LimosaEndDate": "2019-01-25T08:00:00+02:00",
      "CreationTimeStamp": "2019-01-25T08:00:00+02:00",
      "BirthDate": "2019-01-25",
      "ReceiveFeedback": false,
      "ApproveRegistration": false,
      "User": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Code": "012345",
        "Name": "John Doe",
        "Type": 0
      },
      "BadgeTimeStamp": "2019-01-25T08:00:00+02:00",
      "Inactive": false,
      "InactivityTimestamp": "2019-01-25T08:00:00+02:00",
      "A1ExpirationDate": "2019-01-25T08:00:00+02:00",
      "VisaExpirationDate": "2019-01-25T08:00:00+02:00",
      "Limosas": [
        {
          "Id": "00000000-0000-0000-0000-000000000000",
          "LimosaNumber": 11223344556677888,
          "IsDefault": false,
          "EndDate": "2020-10-30T00:00:00+01:00",
          "Workplaces": [
            {
              "Id": "00000000-0000-0000-0000-000000000000",
              "DUC": "",
              "Code": "012345",
              "Name": "GeoDynamics"
            }
          ]
        }
      ],
      "QrUrl": "https://api.intellitracer.be/qrcode.pdf",
      "Info": "Person info",
      "LimosaStartDate": "2019-01-25T08:00:00",
      "BISNumber": 79040205768,
      "FormattedBISNumber": "79.04.02-057.68"
    }
  ]
}
```

#### 401: Unauthorized

#### 403: Forbidden

## POST /intellitracer/v2/persongroup/{id}/person/delete

`https://api.geodynamics.dev/intellitracer/v2/persongroup/{id}/person/delete`

Privilege required: `Api: Check In At Work`

Delete persons from person group

Deletes one or more persons from an existing person group.

### Path parameters

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

### Request body

### Responses

#### 200: OK

| Field | Type |
| --- | --- |
| `Id` | string |
| `Name` | string |
| `Persons` (default = []) | array |

```json
{
  "Id": "00000000-0000-0000-0000-000000000000",
  "Name": "Group 1",
  "Persons": [
    {
      "Id": "00000000-0000-0000-0000-000000000000",
      "ShortCode": 123456789,
      "Code": "12345",
      "Type": 0,
      "RRNNumber": 79040205768,
      "FormattedRRNNumber": "79.04.02-057.68",
      "LimosaNumber": 11223344556677888,
      "BTW": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "123456789",
        "Name": "GeoDynamics",
        "Country": 0,
        "CountryCode": "BE",
        "FormattedBTWNumber": "BE-123456789"
      },
      "Notes": "John Doe",
      "Badges": [
        {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Number": "00BB4E6F",
          "Type": 0,
          "ExternalNumber": "00BB4E6F"
        }
      ],
      "FeedbackGSM": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "+32478123456"
      },
      "RegisterGSM": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "+32478123456"
      },
      "LimosaEndDate": "2019-01-25T08:00:00+02:00",
      "CreationTimeStamp": "2019-01-25T08:00:00+02:00",
      "BirthDate": "2019-01-25",
      "ReceiveFeedback": false,
      "ApproveRegistration": false,
      "User": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Code": "012345",
        "Name": "John Doe",
        "Type": 0
      },
      "BadgeTimeStamp": "2019-01-25T08:00:00+02:00",
      "Inactive": false,
      "InactivityTimestamp": "2019-01-25T08:00:00+02:00",
      "A1ExpirationDate": "2019-01-25T08:00:00+02:00",
      "VisaExpirationDate": "2019-01-25T08:00:00+02:00",
      "Limosas": [
        {
          "Id": "00000000-0000-0000-0000-000000000000",
          "LimosaNumber": 11223344556677888,
          "IsDefault": false,
          "EndDate": "2020-10-30T00:00:00+01:00",
          "Workplaces": [
            {
              "Id": "00000000-0000-0000-0000-000000000000",
              "DUC": "",
              "Code": "012345",
              "Name": "GeoDynamics"
            }
          ]
        }
      ],
      "QrUrl": "https://api.intellitracer.be/qrcode.pdf",
      "Info": "Person info",
      "LimosaStartDate": "2019-01-25T08:00:00",
      "BISNumber": 79040205768,
      "FormattedBISNumber": "79.04.02-057.68"
    }
  ]
}
```

#### 401: Unauthorized

#### 403: Forbidden

## GET /intellitracer/v2/rsz/workplace/{DUC}

`https://api.geodynamics.dev/intellitracer/v2/rsz/workplace/{DUC}`

Privilege required: `Api: Check In At Work`

Validate DUC with RSZ

Checks whether the identification number or DUC of a workplace is a valid number according to the RSZ. No workplace will be created.

### Path parameters

| Name | Type | Required | Example |
| --- | --- | --- | --- |
| `DUC` | string | required | `1Y100000CWWPZ` |

### Responses

#### 200: OK

#### 401: Unauthorized

#### 403: Forbidden

#### 404: Not Found

#### 417: ExpectationFailed

## POST /intellitracer/v2/workplace/rsz/validation

`https://api.geodynamics.dev/intellitracer/v2/workplace/rsz/validation`

Privilege required: `Api: Check In At Work`

Validate workplaces with RSZ

Checks whether the identification numbers or DUCs of one or more workplaces are valid numbers according to the RSZ. No workplace(s) will be created.

### Request body

### Responses

#### 200: OK

| Field | Type |
| --- | --- |
| `Workplaces` | array |

```json
{
  "Workplaces": [
    {
      "DUC": "1Y100001AB1CD",
      "IsValid": false
    }
  ]
}
```

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## GET /intellitracer/v2/workplace?page={page}&search={search}&activeOn={activeOn}&activeFrom={activeFrom}&activeTo={activeTo}&isClosed={isClosed}

`https://api.geodynamics.dev/intellitracer/v2/workplace?page={page}&search={search}&activeOn={activeOn}&activeFrom={activeFrom}&activeTo={activeTo}&isClosed={isClosed}`

Privilege required: `Api: Check In At Work`

Get workplaces

Returns a paged list of workplaces.

Pagination and searching is explained in [Pagination](#pagination).

The activeOn, activeFrom and activeTo parameters can be used to filter on the active date range of the workplaces. If activeOn is specified, only workplaces that are active on that date will be returned. If activeFrom and activeTo is specified, only workplaces that are active inside that date range will be returned. If isClosed is specified, only workplaces with the corresponding status will be returned.

### Path parameters

| Name | Type | Required | Example |
| --- | --- | --- | --- |
| `page` | number | required | `1` |
| `search` | string | required | `ABC` |
| `activeOn` | string | required | `2015-09-21` |
| `activeFrom` | string | required | `2015-09-21` |
| `activeTo` | string | required | `2015-09-21` |
| `isClosed` | boolean | required | `false` |

### Responses

#### 200: OK

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

```json
{
  "Data": [
    {
      "Id": "00000000-0000-0000-0000-000000000000",
      "DUC": "1Y100001AB1CD",
      "Code": "012345",
      "Owner": "GeoDynamics",
      "Type": "Werken in onroerende staat",
      "Address": "Dumolinlaan 9, 8530 Kortrijk",
      "Notes": "GeoDynamics",
      "IsNotifiable": false,
      "IsClosed": false,
      "EmailFeedback": {
        "Enabled": false,
        "EmailAddress": null
      },
      "EndDate": "2015-09-21T22:01:20+02:00",
      "StartDate": "2015-09-21T22:01:20+02:00",
      "Name": "GeoDynamics",
      "CreationTimestamp": "2015-09-21T22:01:20+02:00",
      "BTW": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "123456789",
        "Name": "GeoDynamics",
        "Country": 0,
        "CountryCode": "BE",
        "FormattedBTWNumber": "BE-123456789"
      },
      "SmsFeedback": {
        "Enabled": false,
        "GSMs": [
          {
            "Id": "00000000-0000-0000-0000-000000000000",
            "Number": "+32478123456"
          }
        ]
      },
      "ShortCode": 100,
      "QrUrl": "https://api.intellitracer.be/qrcode.pdf"
    }
  ],
  "PagingFilter": {
    "Page": 1,
    "Search": "ABC",
    "PageCount": 4,
    "TotalCount": 100,
    "Links": {
      "Base": "https://api.geodynamics.dev",
      "First": "/intellitracer/v2/asset?page=1",
      "Prev": "/intellitracer/v2/asset?page=2",
      "Next": "/intellitracer/v2/asset?page=4",
      "Last": "/intellitracer/v2/asset?page=4"
    }
  }
}
```

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## GET /intellitracer/v2/workplace/{id}

`https://api.geodynamics.dev/intellitracer/v2/workplace/{id}`

Privilege required: `Api: Check In At Work`

Get workplace

Returns a workplace by id.

### Path parameters

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

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "DUC": "1Y100001AB1CD",
    "Code": "012345",
    "Owner": "GeoDynamics",
    "Type": "Werken in onroerende staat",
    "Address": "Dumolinlaan 9, 8530 Kortrijk",
    "Notes": "GeoDynamics",
    "IsNotifiable": false,
    "IsClosed": false,
    "EmailFeedback": {
      "Enabled": false,
      "EmailAddress": null
    },
    "EndDate": "2015-09-21T22:01:20+02:00",
    "StartDate": "2015-09-21T22:01:20+02:00",
    "Name": "GeoDynamics",
    "CreationTimestamp": "2015-09-21T22:01:20+02:00",
    "BTW": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "123456789",
      "Name": "GeoDynamics",
      "Country": 0,
      "CountryCode": "BE",
      "FormattedBTWNumber": "BE-123456789"
    },
    "SmsFeedback": {
      "Enabled": false,
      "GSMs": [
        {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Number": "+32478123456"
        }
      ]
    },
    "ShortCode": 100,
    "QrUrl": "https://api.intellitracer.be/qrcode.pdf"
  }
}
```

#### 401: Unauthorized

#### 403: Forbidden

#### 404: NotFound

#### 417: ExpectationFailed

## DELETE /intellitracer/v2/workplace/{id}

`https://api.geodynamics.dev/intellitracer/v2/workplace/{id}`

Privilege required: `Api: Check In At Work`

Delete workplace

Deletes a workplace by id.

### Path parameters

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

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "DUC": "1Y100001AB1CD",
    "Code": "012345",
    "Owner": "GeoDynamics",
    "Type": "Werken in onroerende staat",
    "Address": "Dumolinlaan 9, 8530 Kortrijk",
    "Notes": "GeoDynamics",
    "IsNotifiable": false,
    "IsClosed": false,
    "EmailFeedback": {
      "Enabled": false,
      "EmailAddress": null
    },
    "EndDate": "2015-09-21T22:01:20+02:00",
    "StartDate": "2015-09-21T22:01:20+02:00",
    "Name": "GeoDynamics",
    "CreationTimestamp": "2015-09-21T22:01:20+02:00",
    "BTW": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "123456789",
      "Name": "GeoDynamics",
      "Country": 0,
      "CountryCode": "BE",
      "FormattedBTWNumber": "BE-123456789"
    },
    "SmsFeedback": {
      "Enabled": false,
      "GSMs": [
        {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Number": "+32478123456"
        }
      ]
    },
    "ShortCode": 100,
    "QrUrl": "https://api.intellitracer.be/qrcode.pdf"
  }
}
```

#### 400: BadRequest

```json
[
  {
    "Property": "Name",
    "Message": "Required"
  }
]
```

#### 401: Unauthorized

#### 403: Forbidden

#### 404: NotFound

#### 417: ExpectationFailed

## POST /intellitracer/v2/workplace

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

Privilege required: `Api: Check In At Work`

Update workplace

Updates a workplace.

### Query parameters

| Name | Type | Required | Example |
| --- | --- | --- | --- |
| `validateRsz` | boolean | optional | `false` |
| `syncPoisByCode` | boolean | optional | `false` |

### Request body

Type: `object`

| Field | Type | Required |
| --- | --- | --- |
| `Id` (default = `00000000-0000-0000-0000-000000000000`) | string | required |
| `DUC` ID unique site number (as known by the RSZ in case validateRsz=true). | string | required |
| `Code` (default = null) Multiple codes are supported, split them with a semicolon (1;2;3) If there is an existing point of interest with the same code, it will automatically be linked to the workplace if ‘syncPoisByCode’ is set to true. | string | optional |
| `Owner` (default = null) | string | optional |
| `Type` (default = null) | string | optional |
| `Address` (default = null) | string | optional |
| `Notes` (default = null) | string | optional |
| `IsNotifiable` (default = false) CheckInAtWork registrations will be sent to the Rsz if true. | boolean | optional |
| `IsClosed` (default = false) Should be true in case work at this workplace has been completed. | boolean | optional |
| `EmailFeedback` (default = null) Which e-mail addresses should be notified of new registrations at this workplace. | object | optional |
| `SmsFeedback` (default = null) Which phone numbers should receive a text message in case of new registrations at this workplace. | object | optional |
| `BTWNumber` (default = null) | string | optional |
| `EndDate` (default = null) Date on which the work at this workplace is planned to finish. | string | optional |
| `StartDate` (default = null) Date on which the work at this workplace is planned to start. | string | optional |

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "DUC": "1Y100001AB1CD",
    "Code": "012345",
    "Owner": "GeoDynamics",
    "Type": "Werken in onroerende staat",
    "Address": "Dumolinlaan 9, 8530 Kortrijk",
    "Notes": "GeoDynamics",
    "IsNotifiable": false,
    "IsClosed": false,
    "EmailFeedback": {
      "Enabled": false,
      "EmailAddress": null
    },
    "EndDate": "2015-09-21T22:01:20+02:00",
    "StartDate": "2015-09-21T22:01:20+02:00",
    "Name": "GeoDynamics",
    "CreationTimestamp": "2015-09-21T22:01:20+02:00",
    "BTW": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "123456789",
      "Name": "GeoDynamics",
      "Country": 0,
      "CountryCode": "BE",
      "FormattedBTWNumber": "BE-123456789"
    },
    "SmsFeedback": {
      "Enabled": false,
      "GSMs": [
        {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Number": "+32478123456"
        }
      ]
    },
    "ShortCode": 100,
    "QrUrl": "https://api.intellitracer.be/qrcode.pdf"
  }
}
```

#### 400: BadRequest

```json
[
  {
    "Property": "Name",
    "Message": "Required"
  }
]
```

#### 401: Unauthorized

#### 403: Forbidden

#### 404: NotFound

#### 417: ExpectationFailed

## PUT /intellitracer/v2/workplace

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

Privilege required: `Api: Check In At Work`

Create workplace

Creates a new workplace.

The boolean validateRsz in the request URL determines whether we will validate the DUC (ID unique site number) passed to us in the request with the RSZ. When set to false, any value can be set as the DUC but the RSZ will not be notified of new registrations. The boolean syncPoisByCode in the request URL determines whether we will try to link a poi to the workplace based on its code.

### Query parameters

| Name | Type | Required | Example |
| --- | --- | --- | --- |
| `validateRsz` | boolean | required | `false` |
| `syncPoisByCode` | boolean | optional | `true` |

### Request body

Type: `object`

| Field | Type | Required |
| --- | --- | --- |
| `DUC` ID unique site number (as known by the RSZ in case validateRsz=true). | string | required |
| `Code` (default = null) Multiple codes are supported, split them with a semicolon (1;2;3) If there is an existing point of interest with the same code, it will automatically be linked to the workplace if ‘syncPoisByCode’ is set to true. | string | optional |
| `Owner` (default = null) | string | optional |
| `Type` (default = null) | string | optional |
| `Address` (default = null) | string | optional |
| `Notes` (default = null) | string | optional |
| `IsNotifiable` (default = false) CheckInAtWork registrations will be sent to the Rsz if true. | boolean | optional |
| `IsClosed` (default = false) Should be true in case work at this workplace has been completed. | boolean | optional |
| `EmailFeedback` (default = null) Which e-mail addresses should be notified of new registrations at this workplace. | object | optional |
| `SmsFeedback` (default = null) Which phone numbers should receive a text message in case of new registrations at this workplace. | object | optional |
| `BTWNumber` (default = null) | string | optional |
| `EndDate` (default = null) Date on which the work at this workplace is planned to finish. | string | optional |
| `StartDate` (default = null) Date on which the work at this workplace is planned to start. | string | optional |

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "DUC": "1Y100001AB1CD",
    "Code": "012345",
    "Owner": "GeoDynamics",
    "Type": "Werken in onroerende staat",
    "Address": "Dumolinlaan 9, 8530 Kortrijk",
    "Notes": "GeoDynamics",
    "IsNotifiable": false,
    "IsClosed": false,
    "EmailFeedback": {
      "Enabled": false,
      "EmailAddress": null
    },
    "EndDate": "2015-09-21T22:01:20+02:00",
    "StartDate": "2015-09-21T22:01:20+02:00",
    "Name": "GeoDynamics",
    "CreationTimestamp": "2015-09-21T22:01:20+02:00",
    "BTW": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "123456789",
      "Name": "GeoDynamics",
      "Country": 0,
      "CountryCode": "BE",
      "FormattedBTWNumber": "BE-123456789"
    },
    "SmsFeedback": {
      "Enabled": false,
      "GSMs": [
        {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Number": "+32478123456"
        }
      ]
    },
    "ShortCode": 100,
    "QrUrl": "https://api.intellitracer.be/qrcode.pdf"
  }
}
```

#### 400: BadRequest

```json
[
  {
    "Property": "Name",
    "Message": "Required"
  }
]
```

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## GET /intellitracer/v2/workplace/byduc

`https://api.geodynamics.dev/intellitracer/v2/workplace/byduc`

Privilege required: `Api: Check In At Work`

Get workplace by DUC

Returns a workplace by DUC.

### Query parameters

| Name | Type | Required | Example |
| --- | --- | --- | --- |
| `duc` | string | required | `1Y100001AB1CD` |

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "DUC": "1Y100001AB1CD",
    "Code": "012345",
    "Owner": "GeoDynamics",
    "Type": "Werken in onroerende staat",
    "Address": "Dumolinlaan 9, 8530 Kortrijk",
    "Notes": "GeoDynamics",
    "IsNotifiable": false,
    "IsClosed": false,
    "EmailFeedback": {
      "Enabled": false,
      "EmailAddress": null
    },
    "EndDate": "2015-09-21T22:01:20+02:00",
    "StartDate": "2015-09-21T22:01:20+02:00",
    "Name": "GeoDynamics",
    "CreationTimestamp": "2015-09-21T22:01:20+02:00",
    "BTW": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "123456789",
      "Name": "GeoDynamics",
      "Country": 0,
      "CountryCode": "BE",
      "FormattedBTWNumber": "BE-123456789"
    },
    "SmsFeedback": {
      "Enabled": false,
      "GSMs": [
        {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Number": "+32478123456"
        }
      ]
    },
    "ShortCode": 100,
    "QrUrl": "https://api.intellitracer.be/qrcode.pdf"
  }
}
```

#### 401: Unauthorized

#### 403: Forbidden

#### 404: NotFound

#### 417: ExpectationFailed

## DELETE /intellitracer/v2/workplace/byduc

`https://api.geodynamics.dev/intellitracer/v2/workplace/byduc`

Privilege required: `Api: Check In At Work`

Delete workplace by DUC

Deletes a workplace by DUC.

### Query parameters

| Name | Type | Required | Example |
| --- | --- | --- | --- |
| `duc` | string | required | `1Y100001AB1CD` |

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "DUC": "1Y100001AB1CD",
    "Code": "012345",
    "Owner": "GeoDynamics",
    "Type": "Werken in onroerende staat",
    "Address": "Dumolinlaan 9, 8530 Kortrijk",
    "Notes": "GeoDynamics",
    "IsNotifiable": false,
    "IsClosed": false,
    "EmailFeedback": {
      "Enabled": false,
      "EmailAddress": null
    },
    "EndDate": "2015-09-21T22:01:20+02:00",
    "StartDate": "2015-09-21T22:01:20+02:00",
    "Name": "GeoDynamics",
    "CreationTimestamp": "2015-09-21T22:01:20+02:00",
    "BTW": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "123456789",
      "Name": "GeoDynamics",
      "Country": 0,
      "CountryCode": "BE",
      "FormattedBTWNumber": "BE-123456789"
    },
    "SmsFeedback": {
      "Enabled": false,
      "GSMs": [
        {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Number": "+32478123456"
        }
      ]
    },
    "ShortCode": 100,
    "QrUrl": "https://api.intellitracer.be/qrcode.pdf"
  }
}
```

#### 400: BadRequest

```json
[
  {
    "Property": "Name",
    "Message": "Required"
  }
]
```

#### 401: Unauthorized

#### 403: Forbidden

#### 404: NotFound

#### 417: ExpectationFailed

## PUT /intellitracer/v2/workplace/{id}/poi

`https://api.geodynamics.dev/intellitracer/v2/workplace/{id}/poi`

Privilege required: `Api: Check In At Work`

Link pois to workplace

Links one or more pois to a work place.

### Path parameters

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

### Request body

### Responses

#### 200: OK

#### 400: BadRequest

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

```json
{
  "Entity": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "Name": "Home",
    "Code": "012345"
  },
  "ValidationResult": [
    {
      "Message": "",
      "SourceMemberNames": []
    }
  ]
}
```

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## POST /intellitracer/v2/workplace/{id}/poi/delete

`https://api.geodynamics.dev/intellitracer/v2/workplace/{id}/poi/delete`

Privilege required: `Api: Check In At Work`

Unlink pois from workplace

Unlinks one or more pois from a workplace.

### Path parameters

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

### Request body

### Responses

#### 200: OK

#### 400: BadRequest

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

```json
{
  "Entity": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "Name": "Home",
    "Code": "012345"
  },
  "ValidationResult": [
    {
      "Message": "",
      "SourceMemberNames": []
    }
  ]
}
```

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## PUT /intellitracer/v2/workplace/byduc/{duc}/poi

`https://api.geodynamics.dev/intellitracer/v2/workplace/byduc/{duc}/poi`

Privilege required: `Api: Check In At Work`

Link pois to workplace

Links one or more pois to a work place.

### Path parameters

| Name | Type | Required | Example |
| --- | --- | --- | --- |
| `duc` | string | required | `1Y100001AB1CD` |

### Request body

### Responses

#### 200: OK

#### 400: BadRequest

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

```json
{
  "Entity": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "Name": "Home",
    "Code": "012345"
  },
  "ValidationResult": [
    {
      "Message": "",
      "SourceMemberNames": []
    }
  ]
}
```

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## POST /intellitracer/v2/workplace/byduc/{duc}/poi/delete

`https://api.geodynamics.dev/intellitracer/v2/workplace/byduc/{duc}/poi/delete`

Privilege required: `Api: Check In At Work`

Unlink pois from workplace

Unlinks one or more pois from a workplace.

### Path parameters

| Name | Type | Required | Example |
| --- | --- | --- | --- |
| `duc` | string | required | `1Y100001AB1CD` |

### Request body

### Responses

#### 200: OK

#### 400: BadRequest

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

```json
{
  "Entity": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "Name": "Home",
    "Code": "012345"
  },
  "ValidationResult": [
    {
      "Message": "",
      "SourceMemberNames": []
    }
  ]
}
```

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## GET /intellitracer/v1/workplace/{id}/overview

`https://api.geodynamics.dev/intellitracer/v1/workplace/{id}/overview`

Privilege required: `Api: Check In At Work`

Get workplace overview

Returns a list of current (today) registrations for a workplace.

### Path parameters

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

### Responses

#### 200: OK

```json
[
  {
    "Amount": 1,
    "VAT": "BE-1122334455",
    "Workplace": "1Y100001AB1CD",
    "Date": "2019-03-27T00:00:00"
  }
]
```

#### 401: Unauthorized

#### 403: Forbidden

## GET /intellitracer/v2/projectlead?page={page}&search={search}

`https://api.geodynamics.dev/intellitracer/v2/projectlead?page={page}&search={search}`

Privilege required: `Api: Check In At Work`

Get project leads

Returns a paged list of project leads.

Pagination and searching is explained in [Pagination](#pagination).

### Path parameters

| Name | Type | Required | Example |
| --- | --- | --- | --- |
| `page` | number | required | `1` |
| `search` | string | required | `ABC` |

### Responses

#### 200: OK

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

```json
{
  "Data": [
    {
      "Id": "00000000-0000-0000-0000-000000000000",
      "User": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Code": "012345",
        "Name": "John Doe",
        "Type": 0
      },
      "Name": "John Doe",
      "RestrictToAllowedBtws": false,
      "Workplaces": [
        {
          "Id": "00000000-0000-0000-0000-000000000000",
          "DUC": "",
          "Code": "012345",
          "Name": "GeoDynamics"
        }
      ],
      "Btws": [
        {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Number": "123456789",
          "Name": "GeoDynamics",
          "Country": 0,
          "CountryCode": "BE",
          "FormattedBTWNumber": "BE-123456789"
        }
      ]
    }
  ],
  "PagingFilter": {
    "Page": 1,
    "Search": "ABC",
    "PageCount": 4,
    "TotalCount": 100,
    "Links": {
      "Base": "https://api.geodynamics.dev",
      "First": "/intellitracer/v2/asset?page=1",
      "Prev": "/intellitracer/v2/asset?page=2",
      "Next": "/intellitracer/v2/asset?page=4",
      "Last": "/intellitracer/v2/asset?page=4"
    }
  }
}
```

#### 401: Unauthorized

#### 403: Forbidden

## GET /intellitracer/v2/projectlead/{id}

`https://api.geodynamics.dev/intellitracer/v2/projectlead/{id}`

Privilege required: `Api: Check In At Work`

Get project lead

Returns a project lead by id.

### Path parameters

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

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "User": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "Name": "John Doe",
    "RestrictToAllowedBtws": false,
    "Workplaces": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "DUC": "",
        "Code": "012345",
        "Name": "GeoDynamics"
      }
    ],
    "Btws": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "123456789",
        "Name": "GeoDynamics",
        "Country": 0,
        "CountryCode": "BE",
        "FormattedBTWNumber": "BE-123456789"
      }
    ]
  }
}
```

#### 401: Unauthorized

#### 403: Forbidden

## DELETE /intellitracer/v2/projectlead/{id}

`https://api.geodynamics.dev/intellitracer/v2/projectlead/{id}`

Privilege required: `Api: Check In At Work`

Delete project lead

Deletes a project lead.

### Path parameters

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

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "User": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "Name": "John Doe",
    "RestrictToAllowedBtws": false,
    "Workplaces": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "DUC": "",
        "Code": "012345",
        "Name": "GeoDynamics"
      }
    ],
    "Btws": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "123456789",
        "Name": "GeoDynamics",
        "Country": 0,
        "CountryCode": "BE",
        "FormattedBTWNumber": "BE-123456789"
      }
    ]
  }
}
```

#### 400: BadRequest

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

```json
{
  "Entity": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "User": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "Name": "John Doe",
    "RestrictToAllowedBtws": false,
    "Workplaces": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "DUC": "",
        "Code": "012345",
        "Name": "GeoDynamics"
      }
    ],
    "Btws": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "123456789",
        "Name": "GeoDynamics",
        "Country": 0,
        "CountryCode": "BE",
        "FormattedBTWNumber": "BE-123456789"
      }
    ]
  },
  "ValidationResult": [
    {
      "Message": "",
      "SourceMemberNames": []
    }
  ]
}
```

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## POST /intellitracer/v2/projectlead

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

Privilege required: `Api: Check In At Work`

Update project lead

Updates a project lead.

### Request body

Type: `object`

| Field | Type | Required |
| --- | --- | --- |
| `Id` | string | required |
| `UserId` | string | required |
| `WorkplaceDucs` | array | optional |
| `BtwNumbers` | array | optional |

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "User": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "Name": "John Doe",
    "RestrictToAllowedBtws": false,
    "Workplaces": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "DUC": "",
        "Code": "012345",
        "Name": "GeoDynamics"
      }
    ],
    "Btws": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "123456789",
        "Name": "GeoDynamics",
        "Country": 0,
        "CountryCode": "BE",
        "FormattedBTWNumber": "BE-123456789"
      }
    ]
  }
}
```

#### 400: BadRequest

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

```json
{
  "Entity": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "User": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "Name": "John Doe",
    "RestrictToAllowedBtws": false,
    "Workplaces": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "DUC": "",
        "Code": "012345",
        "Name": "GeoDynamics"
      }
    ],
    "Btws": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "123456789",
        "Name": "GeoDynamics",
        "Country": 0,
        "CountryCode": "BE",
        "FormattedBTWNumber": "BE-123456789"
      }
    ]
  },
  "ValidationResult": [
    {
      "Message": "",
      "SourceMemberNames": []
    }
  ]
}
```

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## PUT /intellitracer/v2/projectlead

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

Privilege required: `Api: Check In At Work`

Create project lead

Creates a new project lead.

### Request body

Type: `object`

| Field | Type | Required |
| --- | --- | --- |
| `UserId` | string | required |
| `WorkplaceDucs` | array | optional |
| `BtwNumbers` | array | optional |

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "User": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "Name": "John Doe",
    "RestrictToAllowedBtws": false,
    "Workplaces": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "DUC": "",
        "Code": "012345",
        "Name": "GeoDynamics"
      }
    ],
    "Btws": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "123456789",
        "Name": "GeoDynamics",
        "Country": 0,
        "CountryCode": "BE",
        "FormattedBTWNumber": "BE-123456789"
      }
    ]
  }
}
```

#### 400: BadRequest

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

```json
{
  "Entity": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "User": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "Name": "John Doe",
    "RestrictToAllowedBtws": false,
    "Workplaces": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "DUC": "",
        "Code": "012345",
        "Name": "GeoDynamics"
      }
    ],
    "Btws": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "123456789",
        "Name": "GeoDynamics",
        "Country": 0,
        "CountryCode": "BE",
        "FormattedBTWNumber": "BE-123456789"
      }
    ]
  },
  "ValidationResult": [
    {
      "Message": "",
      "SourceMemberNames": []
    }
  ]
}
```

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## GET /intellitracer/v2/projectlead/{id}/workplace?page={page}&search={search}

`https://api.geodynamics.dev/intellitracer/v2/projectlead/{id}/workplace?page={page}&search={search}`

Privilege required: `Api: Check In At Work`

Get workplaces by project lead

Returns a list of all workplaces linked to a project lead.

### Path parameters

| Name | Type | Required | Example |
| --- | --- | --- | --- |
| `id` | string | required | `00000000-0000-0000-0000-000000000000` |
| `page` | number | required | `1` |
| `search` | string | required | `ABC` |

### Responses

#### 200: OK

| Field | Type |
| --- | --- |
| `Data` | array |

```json
{
  "Data": [
    {
      "Id": "00000000-0000-0000-0000-000000000000",
      "DUC": "",
      "Code": "012345",
      "Name": "GeoDynamics"
    }
  ]
}
```

#### 401: Unauthorized

#### 403: Forbidden

## PUT /intellitracer/v2/projectlead/{id}/workplace

`https://api.geodynamics.dev/intellitracer/v2/projectlead/{id}/workplace`

Privilege required: `Api: Check In At Work`

Link workplaces to project lead

Links one or more workplaces to a project lead.

### Path parameters

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

### Request body

### Responses

#### 200: OK

| Field | Type |
| --- | --- |
| `Data` | array |

```json
{
  "Data": [
    {
      "Id": "00000000-0000-0000-0000-000000000000",
      "DUC": "",
      "Code": "012345",
      "Name": "GeoDynamics"
    }
  ]
}
```

#### 400: BadRequest

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

```json
{
  "Entity": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "DUC": "",
    "Code": "012345",
    "Name": "GeoDynamics"
  },
  "ValidationResult": [
    {
      "Message": "",
      "SourceMemberNames": []
    }
  ]
}
```

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## POST /intellitracer/v2/projectlead/{id}/workplace/delete

`https://api.geodynamics.dev/intellitracer/v2/projectlead/{id}/workplace/delete`

Privilege required: `Api: Check In At Work`

Unlink workplaces from project lead

Unlinks one or more workplaces from a project lead by DUC.

### Path parameters

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

### Request body

### Responses

#### 200: OK

| Field | Type |
| --- | --- |
| `Data` | array |

```json
{
  "Data": [
    {
      "Id": "00000000-0000-0000-0000-000000000000",
      "DUC": "",
      "Code": "012345",
      "Name": "GeoDynamics"
    }
  ]
}
```

#### 400: BadRequest

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

```json
{
  "Entity": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "DUC": "",
    "Code": "012345",
    "Name": "GeoDynamics"
  },
  "ValidationResult": [
    {
      "Message": "",
      "SourceMemberNames": []
    }
  ]
}
```

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## GET /intellitracer/v2/projectlead/{id}/btw?page={page}&search={search}

`https://api.geodynamics.dev/intellitracer/v2/projectlead/{id}/btw?page={page}&search={search}`

Privilege required: `Api: Check In At Work`

Get BTW numbers by project lead

Returns a list of all BTW numbers linked to a project lead.

### Path parameters

| Name | Type | Required | Example |
| --- | --- | --- | --- |
| `id` | string | required | `00000000-0000-0000-0000-000000000000` |
| `page` | number | required | `1` |
| `search` | string | required | `ABC` |

### Responses

#### 200: OK

| Field | Type |
| --- | --- |
| `Data` | array |

```json
{
  "Data": [
    {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "123456789",
      "Name": "GeoDynamics",
      "Country": 0,
      "CountryCode": "BE",
      "FormattedBTWNumber": "BE-123456789"
    }
  ]
}
```

#### 401: Unauthorized

#### 403: Forbidden

## PUT /intellitracer/v2/projectlead/{id}/btw

`https://api.geodynamics.dev/intellitracer/v2/projectlead/{id}/btw`

Privilege required: `Api: Check In At Work`

Link BTW's to project lead

Links one or more BTW numbers to a project lead.

### Path parameters

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

### Request body

### Responses

#### 200: OK

| Field | Type |
| --- | --- |
| `Data` | array |

```json
{
  "Data": [
    {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "123456789",
      "Name": "GeoDynamics",
      "Country": 0,
      "CountryCode": "BE",
      "FormattedBTWNumber": "BE-123456789"
    }
  ]
}
```

#### 400: BadRequest

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

```json
{
  "Entity": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "Number": "123456789",
    "Name": "GeoDynamics",
    "Country": 0,
    "CountryCode": "BE",
    "FormattedBTWNumber": "BE-123456789"
  },
  "ValidationResult": [
    {
      "Message": "",
      "SourceMemberNames": []
    }
  ]
}
```

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## POST /intellitracer/v2/projectlead/{id}/btw/delete

`https://api.geodynamics.dev/intellitracer/v2/projectlead/{id}/btw/delete`

Privilege required: `Api: Check In At Work`

Unlink BTW's from project lead

Unlinks one or more BTW numbers from a project lead.

### Path parameters

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

### Request body

### Responses

#### 200: OK

| Field | Type |
| --- | --- |
| `Data` | array |

```json
{
  "Data": [
    {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "123456789",
      "Name": "GeoDynamics",
      "Country": 0,
      "CountryCode": "BE",
      "FormattedBTWNumber": "BE-123456789"
    }
  ]
}
```

#### 400: BadRequest

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

```json
{
  "Entity": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "Number": "123456789",
    "Name": "GeoDynamics",
    "Country": 0,
    "CountryCode": "BE",
    "FormattedBTWNumber": "BE-123456789"
  },
  "ValidationResult": [
    {
      "Message": "",
      "SourceMemberNames": []
    }
  ]
}
```

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## GET /intellitracer/v2/registration

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

Privilege required: `Api: Check In At Work`

Get registrations

Returns a paged list of registrations within a date/time range.

### Query parameters

| Name | Type | Required | Example |
| --- | --- | --- | --- |
| `page` | number | optional | `1` |
| `search` | string | optional | `ABC` |
| `fromDate` | string | required | `2019-01-25T08:00:00+02:00` |
| `toDate` | string | required | `2019-01-25T17:00:00+02:00` |

### Responses

#### 200: OK

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

```json
{
  "Data": [
    {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Person": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Code": "012345",
        "Name": "John Doe",
        "Type": 0
      },
      "User": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Code": "012345",
        "Name": "John Doe",
        "Type": 0
      },
      "Workplace": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "DUC": "",
        "Code": "012345",
        "Name": "GeoDynamics"
      },
      "RRNNumber": 79040205768,
      "LimosaNumber": 11223344556677888,
      "Btw": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Number": "123456789",
        "Name": "GeoDynamics",
        "Country": 0,
        "CountryCode": "BE",
        "FormattedBTWNumber": "BE-123456789"
      },
      "ResponseId": 10258,
      "RegistrationDate": "2019-03-25T00:00:00",
      "RequestTime": "2019-03-25T13:33:49+02:00",
      "Status": "1",
      "CancelationReason": 0,
      "RSZComment": []
    }
  ],
  "PagingFilter": {
    "Page": 1,
    "Search": "ABC",
    "PageCount": 4,
    "TotalCount": 100,
    "Links": {
      "Base": "https://api.geodynamics.dev",
      "First": "/intellitracer/v2/asset?page=1",
      "Prev": "/intellitracer/v2/asset?page=2",
      "Next": "/intellitracer/v2/asset?page=4",
      "Last": "/intellitracer/v2/asset?page=4"
    }
  }
}
```

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## PUT /intellitracer/v2/registration/bylimosa

`https://api.geodynamics.dev/intellitracer/v2/registration/bylimosa`

Privilege required: `Api: Check In At Work`

Create registration by Limosa

Creates a new registration by Limosa number.

### Request body

Type: `object`

| Field | Type | Required |
| --- | --- | --- |
| `Date` | string | required |
| `LimosaNumber` | number | required |
| `WorkplaceDuc` | string | required |

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "Person": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "User": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "Workplace": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "DUC": "",
      "Code": "012345",
      "Name": "GeoDynamics"
    },
    "RRNNumber": 79040205768,
    "LimosaNumber": 11223344556677888,
    "Btw": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "123456789",
      "Name": "GeoDynamics",
      "Country": 0,
      "CountryCode": "BE",
      "FormattedBTWNumber": "BE-123456789"
    },
    "ResponseId": 10258,
    "RegistrationDate": "2019-03-25T00:00:00",
    "RequestTime": "2019-03-25T13:33:49+02:00",
    "Status": "1",
    "CancelationReason": 0,
    "RSZComment": []
  }
}
```

#### 400: BadRequest

```json
[
  {
    "Property": "Name",
    "Message": "Required"
  }
]
```

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## PUT /intellitracer/v2/registration/byrrnbtw

`https://api.geodynamics.dev/intellitracer/v2/registration/byrrnbtw`

Privilege required: `Api: Check In At Work`

Create registration by RRN and BTW

Creates a new registration by RRN and BTW number.

### Request body

Type: `object`

| Field | Type | Required |
| --- | --- | --- |
| `Date` | string | required |
| `RrnNumber` | number | required |
| `BtwNumber` | string | required |
| `WorkplaceDuc` | string | required |

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "Person": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "User": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "Workplace": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "DUC": "",
      "Code": "012345",
      "Name": "GeoDynamics"
    },
    "RRNNumber": 79040205768,
    "LimosaNumber": 11223344556677888,
    "Btw": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "123456789",
      "Name": "GeoDynamics",
      "Country": 0,
      "CountryCode": "BE",
      "FormattedBTWNumber": "BE-123456789"
    },
    "ResponseId": 10258,
    "RegistrationDate": "2019-03-25T00:00:00",
    "RequestTime": "2019-03-25T13:33:49+02:00",
    "Status": "1",
    "CancelationReason": 0,
    "RSZComment": []
  }
}
```

#### 400: BadRequest

```json
[
  {
    "Property": "Name",
    "Message": "Required"
  }
]
```

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## PUT /intellitracer/v2/registration/bybis

`https://api.geodynamics.dev/intellitracer/v2/registration/bybis`

Privilege required: `Api: Check In At Work`

Create registration by BIS

Creates a new registration by BIS number.

### Request body

Type: `object`

| Field | Type | Required |
| --- | --- | --- |
| `Date` | string | required |
| `BisNumber` | number | required |
| `WorkplaceDuc` | string | required |

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "Person": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "User": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "Workplace": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "DUC": "",
      "Code": "012345",
      "Name": "GeoDynamics"
    },
    "RRNNumber": 79040205768,
    "LimosaNumber": 11223344556677888,
    "Btw": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "123456789",
      "Name": "GeoDynamics",
      "Country": 0,
      "CountryCode": "BE",
      "FormattedBTWNumber": "BE-123456789"
    },
    "ResponseId": 10258,
    "RegistrationDate": "2019-03-25T00:00:00",
    "RequestTime": "2019-03-25T13:33:49+02:00",
    "Status": "1",
    "CancelationReason": 0,
    "RSZComment": []
  }
}
```

#### 400: BadRequest

```json
[
  {
    "Property": "Name",
    "Message": "Required"
  }
]
```

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## PUT /intellitracer/v2/registration/{id}/cancellation

`https://api.geodynamics.dev/intellitracer/v2/registration/{id}/cancellation`

Privilege required: `Api: Check In At Work`

Cancel registration

Cancels a registration.

### Path parameters

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

### Request body

Type: `object`

| Field | Type | Required |
| --- | --- | --- |
| `CancelationReason` (default = null) | number | optional |

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "Person": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "User": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "Workplace": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "DUC": "",
      "Code": "012345",
      "Name": "GeoDynamics"
    },
    "RRNNumber": 79040205768,
    "LimosaNumber": 11223344556677888,
    "Btw": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Number": "123456789",
      "Name": "GeoDynamics",
      "Country": 0,
      "CountryCode": "BE",
      "FormattedBTWNumber": "BE-123456789"
    },
    "ResponseId": 10258,
    "RegistrationDate": "2019-03-25T00:00:00",
    "RequestTime": "2019-03-25T13:33:49+02:00",
    "Status": "1",
    "CancelationReason": 0,
    "RSZComment": []
  }
}
```

#### 400: BadRequest

```json
[
  {
    "Property": "Name",
    "Message": "Required"
  }
]
```

#### 401: Unauthorized

#### 403: Forbidden

#### 404: NotFound

#### 417: ExpectationFailed
