# Assets

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

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

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

Privilege required: `Api: Asset management`

Get assets

Returns a paged list of assets.

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` | array |
| `PagingFilter` | object |

```json
{
  "Data": [
    {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Name": "Work",
      "Code": "012345",
      "Type": "012345",
      "Brand": "012345",
      "TypeNumber": "012345",
      "SerialNumber": "012345",
      "Description": "012345",
      "Quantity": 1,
      "CommissioningDate": "2019-01-25T07:29:37",
      "Category": 0,
      "AdministrativeLocations": [
        {
          "Location": {
            "Id": "00000000-0000-0000-0000-000000000000",
            "Name": "Work",
            "Code": "012345",
            "Country": 0,
            "Description": "Work",
            "GeographyWkt": "POLYGON ((3.145219 50.81309, 3.244998 50.81309, 3.244998 50.91806, 3.145219 50.91806, 3.145219 50.81309))",
            "HouseNumber": "9",
            "LonMin": 3.145219,
            "LonMax": 3.244998,
            "LatMin": 50.81309,
            "LatMax": 50.91806,
            "MarkerLon": 3.145219,
            "MarkerLat": 50.81309,
            "IsAssetLocation": false,
            "PostalCode": "8500",
            "Street": "Dumolinlaan",
            "Submunicipality": "Kortrijk",
            "City": "Kortrijk"
          },
          "Quantity": 1
        }
      ],
      "LastSeen": {
        "Address": "Dumolinlaan 9, 8500 Kortrijk, BE",
        "DateTime": "2019-01-25T08:29:37+02:00",
        "DetectedBy": "Vehicle 1"
      },
      "Picture": "https://prodassetmanagement.blob.core.windows.net/geodynamics-899192c530d46fde13b9164f2ea1253d/assets/3022e805-e786-4564-b561-0685920de8dd.jpg",
      "Responsible": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Code": "012345",
        "Name": "John Doe",
        "Type": 0
      },
      "CreatedOn": "2019-01-25T08:29:37+02:00"
    }
  ],
  "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/asset/{id}

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

Privilege required: `Api: Asset management`

Get asset by Id

Returns an asset by its 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",
    "Name": "Work",
    "Code": "012345",
    "Type": "012345",
    "Brand": "012345",
    "TypeNumber": "012345",
    "SerialNumber": "012345",
    "Description": "012345",
    "Quantity": 1,
    "CommissioningDate": "2019-01-25T07:29:37",
    "Category": 0,
    "AdministrativeLocations": [
      {
        "Location": {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Name": "Work",
          "Code": "012345",
          "Country": 0,
          "Description": "Work",
          "GeographyWkt": "POLYGON ((3.145219 50.81309, 3.244998 50.81309, 3.244998 50.91806, 3.145219 50.91806, 3.145219 50.81309))",
          "HouseNumber": "9",
          "LonMin": 3.145219,
          "LonMax": 3.244998,
          "LatMin": 50.81309,
          "LatMax": 50.91806,
          "MarkerLon": 3.145219,
          "MarkerLat": 50.81309,
          "IsAssetLocation": false,
          "PostalCode": "8500",
          "Street": "Dumolinlaan",
          "Submunicipality": "Kortrijk",
          "City": "Kortrijk"
        },
        "Quantity": 1
      }
    ],
    "LastSeen": {
      "Address": "Dumolinlaan 9, 8500 Kortrijk, BE",
      "DateTime": "2019-01-25T08:29:37+02:00",
      "DetectedBy": "Vehicle 1"
    },
    "Picture": "https://prodassetmanagement.blob.core.windows.net/geodynamics-899192c530d46fde13b9164f2ea1253d/assets/3022e805-e786-4564-b561-0685920de8dd.jpg",
    "Responsible": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "CreatedOn": "2019-01-25T08:29:37+02:00"
  }
}
```

#### 401: Unauthorized

#### 403: Forbidden

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

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

Privilege required: `Api: Asset management`

Delete asset

Deletes an asset by its 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",
    "Name": "Work",
    "Code": "012345",
    "Type": "012345",
    "Brand": "012345",
    "TypeNumber": "012345",
    "SerialNumber": "012345",
    "Description": "012345",
    "Quantity": 1,
    "CommissioningDate": "2019-01-25T07:29:37",
    "Category": 0,
    "AdministrativeLocations": [
      {
        "Location": {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Name": "Work",
          "Code": "012345",
          "Country": 0,
          "Description": "Work",
          "GeographyWkt": "POLYGON ((3.145219 50.81309, 3.244998 50.81309, 3.244998 50.91806, 3.145219 50.91806, 3.145219 50.81309))",
          "HouseNumber": "9",
          "LonMin": 3.145219,
          "LonMax": 3.244998,
          "LatMin": 50.81309,
          "LatMax": 50.91806,
          "MarkerLon": 3.145219,
          "MarkerLat": 50.81309,
          "IsAssetLocation": false,
          "PostalCode": "8500",
          "Street": "Dumolinlaan",
          "Submunicipality": "Kortrijk",
          "City": "Kortrijk"
        },
        "Quantity": 1
      }
    ],
    "LastSeen": {
      "Address": "Dumolinlaan 9, 8500 Kortrijk, BE",
      "DateTime": "2019-01-25T08:29:37+02:00",
      "DetectedBy": "Vehicle 1"
    },
    "Picture": "https://prodassetmanagement.blob.core.windows.net/geodynamics-899192c530d46fde13b9164f2ea1253d/assets/3022e805-e786-4564-b561-0685920de8dd.jpg",
    "Responsible": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "CreatedOn": "2019-01-25T08:29:37+02:00"
  }
}
```

#### 400: BadRequest

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

```json
{
  "Entity": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "Name": "Work",
    "Code": "012345",
    "Type": "012345",
    "Brand": "012345",
    "TypeNumber": "012345",
    "SerialNumber": "012345",
    "Description": "012345",
    "Quantity": 1,
    "CommissioningDate": "2019-01-25T07:29:37",
    "Category": 0,
    "AdministrativeLocations": [
      {
        "Location": {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Name": "Work",
          "Code": "012345",
          "Country": 0,
          "Description": "Work",
          "GeographyWkt": "POLYGON ((3.145219 50.81309, 3.244998 50.81309, 3.244998 50.91806, 3.145219 50.91806, 3.145219 50.81309))",
          "HouseNumber": "9",
          "LonMin": 3.145219,
          "LonMax": 3.244998,
          "LatMin": 50.81309,
          "LatMax": 50.91806,
          "MarkerLon": 3.145219,
          "MarkerLat": 50.81309,
          "IsAssetLocation": false,
          "PostalCode": "8500",
          "Street": "Dumolinlaan",
          "Submunicipality": "Kortrijk",
          "City": "Kortrijk"
        },
        "Quantity": 1
      }
    ],
    "LastSeen": {
      "Address": "Dumolinlaan 9, 8500 Kortrijk, BE",
      "DateTime": "2019-01-25T08:29:37+02:00",
      "DetectedBy": "Vehicle 1"
    },
    "Picture": "https://prodassetmanagement.blob.core.windows.net/geodynamics-899192c530d46fde13b9164f2ea1253d/assets/3022e805-e786-4564-b561-0685920de8dd.jpg",
    "Responsible": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "CreatedOn": "2019-01-25T08:29:37+02:00"
  },
  "ValidationResult": [
    {
      "Message": "",
      "SourceMemberNames": []
    }
  ]
}
```

#### 401: Unauthorized

#### 403: Forbidden

## POST /intellitracer/v2/asset

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

Privilege required: `Api: Asset management`

Update asset

Updates an asset.

### Request body

Type: `object`

| Field | Type | Required |
| --- | --- | --- |
| `Id` | string | required |
| `Name` | string | optional |
| `Code` (default = null) | string | optional |
| `Type` (default = null) | string | optional |
| `Brand` (default = null) | string | optional |
| `Type number` (default = null) | string | optional |
| `Serial number` (default = null) | string | optional |
| `Description` (default = null) | string | optional |
| `Category` | number | optional |
| `Quantity` (default = `1`) | number | optional |
| `CommissioningDate` (default = null) | string | optional |
| `_typeDescriptor` | string | optional |

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "Name": "Work",
    "Code": "012345",
    "Type": "012345",
    "Brand": "012345",
    "TypeNumber": "012345",
    "SerialNumber": "012345",
    "Description": "012345",
    "Quantity": 1,
    "CommissioningDate": "2019-01-25T07:29:37",
    "Category": 0,
    "AdministrativeLocations": [
      {
        "Location": {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Name": "Work",
          "Code": "012345",
          "Country": 0,
          "Description": "Work",
          "GeographyWkt": "POLYGON ((3.145219 50.81309, 3.244998 50.81309, 3.244998 50.91806, 3.145219 50.91806, 3.145219 50.81309))",
          "HouseNumber": "9",
          "LonMin": 3.145219,
          "LonMax": 3.244998,
          "LatMin": 50.81309,
          "LatMax": 50.91806,
          "MarkerLon": 3.145219,
          "MarkerLat": 50.81309,
          "IsAssetLocation": false,
          "PostalCode": "8500",
          "Street": "Dumolinlaan",
          "Submunicipality": "Kortrijk",
          "City": "Kortrijk"
        },
        "Quantity": 1
      }
    ],
    "LastSeen": {
      "Address": "Dumolinlaan 9, 8500 Kortrijk, BE",
      "DateTime": "2019-01-25T08:29:37+02:00",
      "DetectedBy": "Vehicle 1"
    },
    "Picture": "https://prodassetmanagement.blob.core.windows.net/geodynamics-899192c530d46fde13b9164f2ea1253d/assets/3022e805-e786-4564-b561-0685920de8dd.jpg",
    "Responsible": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "CreatedOn": "2019-01-25T08:29:37+02:00"
  }
}
```

#### 400: BadRequest

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## PUT /intellitracer/v2/asset

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

Privilege required: `Api: Asset management`

Create asset

Creates a new asset.

### Request body

Type: `object`

| Field | Type | Required |
| --- | --- | --- |
| `Name` | string | required |
| `Code` (default = null) | string | optional |
| `Type` (default = null) | string | optional |
| `Brand` (default = null) | string | optional |
| `TypeNumber` (default = null) | string | optional |
| `SerialNumber` (default = null) | string | optional |
| `Description` (default = null) | string | optional |
| `Category` | number | optional |
| `Quantity` (default = `1`) | number | optional |
| `CommissioningDate` (default = null) | string | optional |
| `_typeDescriptor` | string | optional |

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "Name": "Work",
    "Code": "012345",
    "Type": "012345",
    "Brand": "012345",
    "TypeNumber": "012345",
    "SerialNumber": "012345",
    "Description": "012345",
    "Quantity": 1,
    "CommissioningDate": "2019-01-25T07:29:37",
    "Category": 0,
    "AdministrativeLocations": [
      {
        "Location": {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Name": "Work",
          "Code": "012345",
          "Country": 0,
          "Description": "Work",
          "GeographyWkt": "POLYGON ((3.145219 50.81309, 3.244998 50.81309, 3.244998 50.91806, 3.145219 50.91806, 3.145219 50.81309))",
          "HouseNumber": "9",
          "LonMin": 3.145219,
          "LonMax": 3.244998,
          "LatMin": 50.81309,
          "LatMax": 50.91806,
          "MarkerLon": 3.145219,
          "MarkerLat": 50.81309,
          "IsAssetLocation": false,
          "PostalCode": "8500",
          "Street": "Dumolinlaan",
          "Submunicipality": "Kortrijk",
          "City": "Kortrijk"
        },
        "Quantity": 1
      }
    ],
    "LastSeen": {
      "Address": "Dumolinlaan 9, 8500 Kortrijk, BE",
      "DateTime": "2019-01-25T08:29:37+02:00",
      "DetectedBy": "Vehicle 1"
    },
    "Picture": "https://prodassetmanagement.blob.core.windows.net/geodynamics-899192c530d46fde13b9164f2ea1253d/assets/3022e805-e786-4564-b561-0685920de8dd.jpg",
    "Responsible": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "CreatedOn": "2019-01-25T08:29:37+02:00"
  }
}
```

#### 400: BadRequest

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## PUT /intellitracer/v2/asset/{assetId}/responsible/{userId}

`https://api.geodynamics.dev/intellitracer/v2/asset/{assetId}/responsible/{userId}`

Privilege required: `Api: Asset management`

Link responsible user to asset

Links a responsible user to an asset by id.

### Path parameters

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

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "Name": "Work",
    "Code": "012345",
    "Type": "012345",
    "Brand": "012345",
    "TypeNumber": "012345",
    "SerialNumber": "012345",
    "Description": "012345",
    "Quantity": 1,
    "CommissioningDate": "2019-01-25T07:29:37",
    "Category": 0,
    "AdministrativeLocations": [
      {
        "Location": {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Name": "Work",
          "Code": "012345",
          "Country": 0,
          "Description": "Work",
          "GeographyWkt": "POLYGON ((3.145219 50.81309, 3.244998 50.81309, 3.244998 50.91806, 3.145219 50.91806, 3.145219 50.81309))",
          "HouseNumber": "9",
          "LonMin": 3.145219,
          "LonMax": 3.244998,
          "LatMin": 50.81309,
          "LatMax": 50.91806,
          "MarkerLon": 3.145219,
          "MarkerLat": 50.81309,
          "IsAssetLocation": false,
          "PostalCode": "8500",
          "Street": "Dumolinlaan",
          "Submunicipality": "Kortrijk",
          "City": "Kortrijk"
        },
        "Quantity": 1
      }
    ],
    "LastSeen": {
      "Address": "Dumolinlaan 9, 8500 Kortrijk, BE",
      "DateTime": "2019-01-25T08:29:37+02:00",
      "DetectedBy": "Vehicle 1"
    },
    "Picture": "https://prodassetmanagement.blob.core.windows.net/geodynamics-899192c530d46fde13b9164f2ea1253d/assets/3022e805-e786-4564-b561-0685920de8dd.jpg",
    "Responsible": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "CreatedOn": "2019-01-25T08:29:37+02:00"
  }
}
```

#### 400: Bad Request

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## DELETE /intellitracer/v2/asset/{assetId}/responsible

`https://api.geodynamics.dev/intellitracer/v2/asset/{assetId}/responsible`

Privilege required: `Api: Asset management`

Unlink responsible user from asset

Unlinks a responsible user from an asset by id.

### Path parameters

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

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "Name": "Work",
    "Code": "012345",
    "Type": "012345",
    "Brand": "012345",
    "TypeNumber": "012345",
    "SerialNumber": "012345",
    "Description": "012345",
    "Quantity": 1,
    "CommissioningDate": "2019-01-25T07:29:37",
    "Category": 0,
    "AdministrativeLocations": [
      {
        "Location": {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Name": "Work",
          "Code": "012345",
          "Country": 0,
          "Description": "Work",
          "GeographyWkt": "POLYGON ((3.145219 50.81309, 3.244998 50.81309, 3.244998 50.91806, 3.145219 50.91806, 3.145219 50.81309))",
          "HouseNumber": "9",
          "LonMin": 3.145219,
          "LonMax": 3.244998,
          "LatMin": 50.81309,
          "LatMax": 50.91806,
          "MarkerLon": 3.145219,
          "MarkerLat": 50.81309,
          "IsAssetLocation": false,
          "PostalCode": "8500",
          "Street": "Dumolinlaan",
          "Submunicipality": "Kortrijk",
          "City": "Kortrijk"
        },
        "Quantity": 1
      }
    ],
    "LastSeen": {
      "Address": "Dumolinlaan 9, 8500 Kortrijk, BE",
      "DateTime": "2019-01-25T08:29:37+02:00",
      "DetectedBy": "Vehicle 1"
    },
    "Picture": "https://prodassetmanagement.blob.core.windows.net/geodynamics-899192c530d46fde13b9164f2ea1253d/assets/3022e805-e786-4564-b561-0685920de8dd.jpg",
    "Responsible": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "CreatedOn": "2019-01-25T08:29:37+02:00"
  }
}
```

#### 400: Bad Request

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## GET /intellitracer/v2/asset/{id}/mutation?page={page}&search={search}

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

Privilege required: `Api: Asset management`

Get mutations by asset

Returns a paged list of mutations on an asset.

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

### 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` (default = null) | array |
| `PagingFilter` (default = null) | object |

```json
{
  "Data": [
    {
      "TimeStamp": "2019-01-25T08:06:45+01:00",
      "Asset": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Name": "Work",
        "Code": "012345",
        "Type": "012345",
        "Brand": "012345",
        "TypeNumber": "012345",
        "SerialNumber": "012345",
        "Description": "012345",
        "Quantity": 1,
        "CommissioningDate": "2019-01-25T07:29:37",
        "Category": 0,
        "AdministrativeLocations": [
          {
            "Location": {
              "Id": "00000000-0000-0000-0000-000000000000",
              "Name": "Work",
              "Code": "012345",
              "Country": 0,
              "Description": "Work",
              "GeographyWkt": "POLYGON ((3.145219 50.81309, 3.244998 50.81309, 3.244998 50.91806, 3.145219 50.91806, 3.145219 50.81309))",
              "HouseNumber": "9",
              "LonMin": 3.145219,
              "LonMax": 3.244998,
              "LatMin": 50.81309,
              "LatMax": 50.91806,
              "MarkerLon": 3.145219,
              "MarkerLat": 50.81309,
              "IsAssetLocation": false,
              "PostalCode": "8500",
              "Street": "Dumolinlaan",
              "Submunicipality": "Kortrijk",
              "City": "Kortrijk"
            },
            "Quantity": 1
          }
        ],
        "LastSeen": {
          "Address": "Dumolinlaan 9, 8500 Kortrijk, BE",
          "DateTime": "2019-01-25T08:29:37+02:00",
          "DetectedBy": "Vehicle 1"
        },
        "Picture": "https://prodassetmanagement.blob.core.windows.net/geodynamics-899192c530d46fde13b9164f2ea1253d/assets/3022e805-e786-4564-b561-0685920de8dd.jpg",
        "Responsible": {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Code": "012345",
          "Name": "John Doe",
          "Type": 0
        },
        "CreatedOn": "2019-01-25T08:29:37+02:00"
      },
      "FromLocation": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Name": "Work",
        "Code": "012345",
        "Country": 0,
        "Description": "Work",
        "GeographyWkt": "POLYGON ((3.145219 50.81309, 3.244998 50.81309, 3.244998 50.91806, 3.145219 50.91806, 3.145219 50.81309))",
        "HouseNumber": "9",
        "LonMin": 3.145219,
        "LonMax": 3.244998,
        "LatMin": 50.81309,
        "LatMax": 50.91806,
        "MarkerLon": 3.145219,
        "MarkerLat": 50.81309,
        "IsAssetLocation": false,
        "PostalCode": "8500",
        "Street": "Dumolinlaan",
        "Submunicipality": "Kortrijk",
        "City": "Kortrijk"
      },
      "ToLocation": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Name": "Work",
        "Code": "012345",
        "Country": 0,
        "Description": "Work",
        "GeographyWkt": "POLYGON ((3.145219 50.81309, 3.244998 50.81309, 3.244998 50.91806, 3.145219 50.91806, 3.145219 50.81309))",
        "HouseNumber": "9",
        "LonMin": 3.145219,
        "LonMax": 3.244998,
        "LatMin": 50.81309,
        "LatMax": 50.91806,
        "MarkerLon": 3.145219,
        "MarkerLat": 50.81309,
        "IsAssetLocation": false,
        "PostalCode": "8500",
        "Street": "Dumolinlaan",
        "Submunicipality": "Kortrijk",
        "City": "Kortrijk"
      },
      "Quantity": 1,
      "By": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Code": "012345",
        "Name": "John Doe",
        "Type": 0
      }
    }
  ],
  "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

## PUT /intellitracer/v2/asset/{id}/mutation

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

Privilege required: `Api: Asset management`

Mutate asset

Mutates a quantity of an asset from a location to another location.

The quantity of unique assets is limited to one!

The quantity of collective assets is limited to the number of assets at the source location.

### Path parameters

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

### Request body

Type: `object`

| Field | Type | Required |
| --- | --- | --- |
| `FromLocationId` | string | required |
| `ToLocationId` | string | required |
| `Quantity` (default = `1`) | number | optional |

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "TimeStamp": "2019-01-25T08:06:45+01:00",
    "Asset": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Name": "Work",
      "Code": "012345",
      "Type": "012345",
      "Brand": "012345",
      "TypeNumber": "012345",
      "SerialNumber": "012345",
      "Description": "012345",
      "Quantity": 1,
      "CommissioningDate": "2019-01-25T07:29:37",
      "Category": 0,
      "AdministrativeLocations": [
        {
          "Location": {
            "Id": "00000000-0000-0000-0000-000000000000",
            "Name": "Work",
            "Code": "012345",
            "Country": 0,
            "Description": "Work",
            "GeographyWkt": "POLYGON ((3.145219 50.81309, 3.244998 50.81309, 3.244998 50.91806, 3.145219 50.91806, 3.145219 50.81309))",
            "HouseNumber": "9",
            "LonMin": 3.145219,
            "LonMax": 3.244998,
            "LatMin": 50.81309,
            "LatMax": 50.91806,
            "MarkerLon": 3.145219,
            "MarkerLat": 50.81309,
            "IsAssetLocation": false,
            "PostalCode": "8500",
            "Street": "Dumolinlaan",
            "Submunicipality": "Kortrijk",
            "City": "Kortrijk"
          },
          "Quantity": 1
        }
      ],
      "LastSeen": {
        "Address": "Dumolinlaan 9, 8500 Kortrijk, BE",
        "DateTime": "2019-01-25T08:29:37+02:00",
        "DetectedBy": "Vehicle 1"
      },
      "Picture": "https://prodassetmanagement.blob.core.windows.net/geodynamics-899192c530d46fde13b9164f2ea1253d/assets/3022e805-e786-4564-b561-0685920de8dd.jpg",
      "Responsible": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Code": "012345",
        "Name": "John Doe",
        "Type": 0
      },
      "CreatedOn": "2019-01-25T08:29:37+02:00"
    },
    "FromLocation": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Name": "Work",
      "Code": "012345",
      "Country": 0,
      "Description": "Work",
      "GeographyWkt": "POLYGON ((3.145219 50.81309, 3.244998 50.81309, 3.244998 50.91806, 3.145219 50.91806, 3.145219 50.81309))",
      "HouseNumber": "9",
      "LonMin": 3.145219,
      "LonMax": 3.244998,
      "LatMin": 50.81309,
      "LatMax": 50.91806,
      "MarkerLon": 3.145219,
      "MarkerLat": 50.81309,
      "IsAssetLocation": false,
      "PostalCode": "8500",
      "Street": "Dumolinlaan",
      "Submunicipality": "Kortrijk",
      "City": "Kortrijk"
    },
    "ToLocation": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Name": "Work",
      "Code": "012345",
      "Country": 0,
      "Description": "Work",
      "GeographyWkt": "POLYGON ((3.145219 50.81309, 3.244998 50.81309, 3.244998 50.91806, 3.145219 50.91806, 3.145219 50.81309))",
      "HouseNumber": "9",
      "LonMin": 3.145219,
      "LonMax": 3.244998,
      "LatMin": 50.81309,
      "LatMax": 50.91806,
      "MarkerLon": 3.145219,
      "MarkerLat": 50.81309,
      "IsAssetLocation": false,
      "PostalCode": "8500",
      "Street": "Dumolinlaan",
      "Submunicipality": "Kortrijk",
      "City": "Kortrijk"
    },
    "Quantity": 1,
    "By": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    }
  }
}
```

#### 400: BadRequest

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

```json
{
  "Entity": {
    "TimeStamp": "2019-01-25T08:06:45+01:00",
    "Asset": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Name": "Work",
      "Code": "012345",
      "Type": "012345",
      "Brand": "012345",
      "TypeNumber": "012345",
      "SerialNumber": "012345",
      "Description": "012345",
      "Quantity": 1,
      "CommissioningDate": "2019-01-25T07:29:37",
      "Category": 0,
      "AdministrativeLocations": [
        {
          "Location": {
            "Id": "00000000-0000-0000-0000-000000000000",
            "Name": "Work",
            "Code": "012345",
            "Country": 0,
            "Description": "Work",
            "GeographyWkt": "POLYGON ((3.145219 50.81309, 3.244998 50.81309, 3.244998 50.91806, 3.145219 50.91806, 3.145219 50.81309))",
            "HouseNumber": "9",
            "LonMin": 3.145219,
            "LonMax": 3.244998,
            "LatMin": 50.81309,
            "LatMax": 50.91806,
            "MarkerLon": 3.145219,
            "MarkerLat": 50.81309,
            "IsAssetLocation": false,
            "PostalCode": "8500",
            "Street": "Dumolinlaan",
            "Submunicipality": "Kortrijk",
            "City": "Kortrijk"
          },
          "Quantity": 1
        }
      ],
      "LastSeen": {
        "Address": "Dumolinlaan 9, 8500 Kortrijk, BE",
        "DateTime": "2019-01-25T08:29:37+02:00",
        "DetectedBy": "Vehicle 1"
      },
      "Picture": "https://prodassetmanagement.blob.core.windows.net/geodynamics-899192c530d46fde13b9164f2ea1253d/assets/3022e805-e786-4564-b561-0685920de8dd.jpg",
      "Responsible": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Code": "012345",
        "Name": "John Doe",
        "Type": 0
      },
      "CreatedOn": "2019-01-25T08:29:37+02:00"
    },
    "FromLocation": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Name": "Work",
      "Code": "012345",
      "Country": 0,
      "Description": "Work",
      "GeographyWkt": "POLYGON ((3.145219 50.81309, 3.244998 50.81309, 3.244998 50.91806, 3.145219 50.91806, 3.145219 50.81309))",
      "HouseNumber": "9",
      "LonMin": 3.145219,
      "LonMax": 3.244998,
      "LatMin": 50.81309,
      "LatMax": 50.91806,
      "MarkerLon": 3.145219,
      "MarkerLat": 50.81309,
      "IsAssetLocation": false,
      "PostalCode": "8500",
      "Street": "Dumolinlaan",
      "Submunicipality": "Kortrijk",
      "City": "Kortrijk"
    },
    "ToLocation": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Name": "Work",
      "Code": "012345",
      "Country": 0,
      "Description": "Work",
      "GeographyWkt": "POLYGON ((3.145219 50.81309, 3.244998 50.81309, 3.244998 50.91806, 3.145219 50.91806, 3.145219 50.81309))",
      "HouseNumber": "9",
      "LonMin": 3.145219,
      "LonMax": 3.244998,
      "LatMin": 50.81309,
      "LatMax": 50.91806,
      "MarkerLon": 3.145219,
      "MarkerLat": 50.81309,
      "IsAssetLocation": false,
      "PostalCode": "8500",
      "Street": "Dumolinlaan",
      "Submunicipality": "Kortrijk",
      "City": "Kortrijk"
    },
    "Quantity": 1,
    "By": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    }
  },
  "ValidationResult": [
    {
      "Message": "",
      "SourceMemberNames": []
    }
  ]
}
```

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

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

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

Privilege required: `Api: Asset management`

Get asset locations

Returns a list of all asset locations (= all points of interest with IsAssetLocation = True.)

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

```json
[
  {
    "Data": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Name": "Work",
        "Code": "012345",
        "Country": 0,
        "Description": "Work",
        "GeographyWkt": "POLYGON ((3.145219 50.81309, 3.244998 50.81309, 3.244998 50.91806, 3.145219 50.91806, 3.145219 50.81309))",
        "HouseNumber": "9",
        "LonMin": 3.145219,
        "LonMax": 3.244998,
        "LatMin": 50.81309,
        "LatMax": 50.91806,
        "MarkerLon": 3.145219,
        "MarkerLat": 50.81309,
        "PostalCode": "8500",
        "Street": "Dumolinlaan",
        "Submunicipality": "Kortrijk",
        "City": "Kortrijk"
      }
    ],
    "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/assetlocation/{id}

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

Privilege required: `Api: Asset management`

Get asset location by Id

Returns an asset location by its Id.

### Path parameters

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

### Responses

#### 200: OK

| Field | Type |
| --- | --- |
| `Id` | string |
| `Name` | string |
| `Code` (default = null) | string |
| `Country` (default = 0) | number |
| `Description` (default = null) | string |
| `GeographyWkt` (default = null)  The coordinates of all points that define the shape of the POI. | string |
| `HouseNumber` (default = null) | string |
| `LonMin` (default = 0.0)  Lowest longitude coordinate of the shape of the POI. | number |
| `LonMax` (default = 0.0)  Highest longitude coordinate of the shape of the POI. | number |
| `LatMin` (default = 0.0)  Lowest latitude coordinate of the shape of the POI. | number |
| `LatMax` (default = 0.0)  Highest latitude coordinate of the shape of the POI. | number |
| `MarkerLon` (default = null)  Longitude coordinate of the marker. | number |
| `MarkerLat` (default = null)  Latitude coordinate of the marker. | number |
| `IsAssetLocation` | boolean |
| `PostalCode` (default = null) | string |
| `Street` (default = null) | string |
| `Submunicipality` (default = null) | string |
| `City` (default = null) | string |
| `_typeDescriptor` | string |

```json
{
  "Id": "00000000-0000-0000-0000-000000000000",
  "Name": "Work",
  "Code": "012345",
  "Country": 0,
  "Description": "Work",
  "GeographyWkt": "POLYGON ((3.145219 50.81309, 3.244998 50.81309, 3.244998 50.91806, 3.145219 50.91806, 3.145219 50.81309))",
  "HouseNumber": "9",
  "LonMin": 3.145219,
  "LonMax": 3.244998,
  "LatMin": 50.81309,
  "LatMax": 50.91806,
  "MarkerLon": 3.145219,
  "MarkerLat": 50.81309,
  "PostalCode": "8500",
  "Street": "Dumolinlaan",
  "Submunicipality": "Kortrijk",
  "City": "Kortrijk"
}
```

#### 401: Unauthorized

#### 403: Forbidden

## GET /intellitracer/v2/assetlocation/{id}/asset?page={page}&search={search}

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

Privilege required: `Api: Asset management`

Get assets by asset location

Returns a paged list of assets at a location.

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

### 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` (default = null) | array |
| `PagingFilter` (default = null) | object |

```json
{
  "Data": [
    {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Name": "Work",
      "Code": "012345",
      "Type": "012345",
      "Brand": "012345",
      "TypeNumber": "012345",
      "SerialNumber": "012345",
      "Description": "012345",
      "Quantity": 1,
      "CommissioningDate": "2019-01-25T07:29:37",
      "Category": 0,
      "AdministrativeLocations": [
        {
          "Location": {
            "Id": "00000000-0000-0000-0000-000000000000",
            "Name": "Work",
            "Code": "012345",
            "Country": 0,
            "Description": "Work",
            "GeographyWkt": "POLYGON ((3.145219 50.81309, 3.244998 50.81309, 3.244998 50.91806, 3.145219 50.91806, 3.145219 50.81309))",
            "HouseNumber": "9",
            "LonMin": 3.145219,
            "LonMax": 3.244998,
            "LatMin": 50.81309,
            "LatMax": 50.91806,
            "MarkerLon": 3.145219,
            "MarkerLat": 50.81309,
            "IsAssetLocation": false,
            "PostalCode": "8500",
            "Street": "Dumolinlaan",
            "Submunicipality": "Kortrijk",
            "City": "Kortrijk"
          },
          "Quantity": 1
        }
      ],
      "LastSeen": {
        "Address": "Dumolinlaan 9, 8500 Kortrijk, BE",
        "DateTime": "2019-01-25T08:29:37+02:00",
        "DetectedBy": "Vehicle 1"
      },
      "Picture": "https://prodassetmanagement.blob.core.windows.net/geodynamics-899192c530d46fde13b9164f2ea1253d/assets/3022e805-e786-4564-b561-0685920de8dd.jpg",
      "Responsible": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Code": "012345",
        "Name": "John Doe",
        "Type": 0
      },
      "CreatedOn": "2019-01-25T08:29:37+02:00"
    }
  ],
  "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/assetlocation/{id}/mutation?page={page}&search={search}

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

Privilege required: `Api: Asset management`

Get mutations by asset location

Returns a paged list of mutations at a location.

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

### 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` (default = null) | array |
| `PagingFilter` (default = null) | object |

```json
{
  "Data": [
    {
      "TimeStamp": "2019-01-25T08:06:45+01:00",
      "Asset": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Name": "Work",
        "Code": "012345",
        "Type": "012345",
        "Brand": "012345",
        "TypeNumber": "012345",
        "SerialNumber": "012345",
        "Description": "012345",
        "Quantity": 1,
        "CommissioningDate": "2019-01-25T07:29:37",
        "Category": 0,
        "AdministrativeLocations": [
          {
            "Location": {
              "Id": "00000000-0000-0000-0000-000000000000",
              "Name": "Work",
              "Code": "012345",
              "Country": 0,
              "Description": "Work",
              "GeographyWkt": "POLYGON ((3.145219 50.81309, 3.244998 50.81309, 3.244998 50.91806, 3.145219 50.91806, 3.145219 50.81309))",
              "HouseNumber": "9",
              "LonMin": 3.145219,
              "LonMax": 3.244998,
              "LatMin": 50.81309,
              "LatMax": 50.91806,
              "MarkerLon": 3.145219,
              "MarkerLat": 50.81309,
              "IsAssetLocation": false,
              "PostalCode": "8500",
              "Street": "Dumolinlaan",
              "Submunicipality": "Kortrijk",
              "City": "Kortrijk"
            },
            "Quantity": 1
          }
        ],
        "LastSeen": {
          "Address": "Dumolinlaan 9, 8500 Kortrijk, BE",
          "DateTime": "2019-01-25T08:29:37+02:00",
          "DetectedBy": "Vehicle 1"
        },
        "Picture": "https://prodassetmanagement.blob.core.windows.net/geodynamics-899192c530d46fde13b9164f2ea1253d/assets/3022e805-e786-4564-b561-0685920de8dd.jpg",
        "Responsible": {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Code": "012345",
          "Name": "John Doe",
          "Type": 0
        },
        "CreatedOn": "2019-01-25T08:29:37+02:00"
      },
      "FromLocation": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Name": "Work",
        "Code": "012345",
        "Country": 0,
        "Description": "Work",
        "GeographyWkt": "POLYGON ((3.145219 50.81309, 3.244998 50.81309, 3.244998 50.91806, 3.145219 50.91806, 3.145219 50.81309))",
        "HouseNumber": "9",
        "LonMin": 3.145219,
        "LonMax": 3.244998,
        "LatMin": 50.81309,
        "LatMax": 50.91806,
        "MarkerLon": 3.145219,
        "MarkerLat": 50.81309,
        "IsAssetLocation": false,
        "PostalCode": "8500",
        "Street": "Dumolinlaan",
        "Submunicipality": "Kortrijk",
        "City": "Kortrijk"
      },
      "ToLocation": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Name": "Work",
        "Code": "012345",
        "Country": 0,
        "Description": "Work",
        "GeographyWkt": "POLYGON ((3.145219 50.81309, 3.244998 50.81309, 3.244998 50.91806, 3.145219 50.91806, 3.145219 50.81309))",
        "HouseNumber": "9",
        "LonMin": 3.145219,
        "LonMax": 3.244998,
        "LatMin": 50.81309,
        "LatMax": 50.91806,
        "MarkerLon": 3.145219,
        "MarkerLat": 50.81309,
        "IsAssetLocation": false,
        "PostalCode": "8500",
        "Street": "Dumolinlaan",
        "Submunicipality": "Kortrijk",
        "City": "Kortrijk"
      },
      "Quantity": 1,
      "By": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Code": "012345",
        "Name": "John Doe",
        "Type": 0
      }
    }
  ],
  "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

## PUT /intellitracer/v2/assetlocation/{id}/mutation

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

Privilege required: `Api: Asset management`

Mutate assets

Mutates quantities of assets from a location to another location.

The quantity of unique assets is limited to one!

The quantity of collective assets is limited to the number of assets at the source location.

### Request body

Type: `object`

| Field | Type | Required |
| --- | --- | --- |
| `AssetQuantities` (default = null) | array | required |
| `ToLocationId` | string | required |

### Responses

#### 200: OK

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

```json
{
  "Data": [
    {
      "TimeStamp": "2019-01-25T08:06:45+01:00",
      "Asset": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Name": "Work",
        "Code": "012345",
        "Type": "012345",
        "Brand": "012345",
        "TypeNumber": "012345",
        "SerialNumber": "012345",
        "Description": "012345",
        "Quantity": 1,
        "CommissioningDate": "2019-01-25T07:29:37",
        "Category": 0,
        "AdministrativeLocations": [
          {
            "Location": {
              "Id": "00000000-0000-0000-0000-000000000000",
              "Name": "Work",
              "Code": "012345",
              "Country": 0,
              "Description": "Work",
              "GeographyWkt": "POLYGON ((3.145219 50.81309, 3.244998 50.81309, 3.244998 50.91806, 3.145219 50.91806, 3.145219 50.81309))",
              "HouseNumber": "9",
              "LonMin": 3.145219,
              "LonMax": 3.244998,
              "LatMin": 50.81309,
              "LatMax": 50.91806,
              "MarkerLon": 3.145219,
              "MarkerLat": 50.81309,
              "IsAssetLocation": false,
              "PostalCode": "8500",
              "Street": "Dumolinlaan",
              "Submunicipality": "Kortrijk",
              "City": "Kortrijk"
            },
            "Quantity": 1
          }
        ],
        "LastSeen": {
          "Address": "Dumolinlaan 9, 8500 Kortrijk, BE",
          "DateTime": "2019-01-25T08:29:37+02:00",
          "DetectedBy": "Vehicle 1"
        },
        "Picture": "https://prodassetmanagement.blob.core.windows.net/geodynamics-899192c530d46fde13b9164f2ea1253d/assets/3022e805-e786-4564-b561-0685920de8dd.jpg",
        "Responsible": {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Code": "012345",
          "Name": "John Doe",
          "Type": 0
        },
        "CreatedOn": "2019-01-25T08:29:37+02:00"
      },
      "FromLocation": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Name": "Work",
        "Code": "012345",
        "Country": 0,
        "Description": "Work",
        "GeographyWkt": "POLYGON ((3.145219 50.81309, 3.244998 50.81309, 3.244998 50.91806, 3.145219 50.91806, 3.145219 50.81309))",
        "HouseNumber": "9",
        "LonMin": 3.145219,
        "LonMax": 3.244998,
        "LatMin": 50.81309,
        "LatMax": 50.91806,
        "MarkerLon": 3.145219,
        "MarkerLat": 50.81309,
        "IsAssetLocation": false,
        "PostalCode": "8500",
        "Street": "Dumolinlaan",
        "Submunicipality": "Kortrijk",
        "City": "Kortrijk"
      },
      "ToLocation": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Name": "Work",
        "Code": "012345",
        "Country": 0,
        "Description": "Work",
        "GeographyWkt": "POLYGON ((3.145219 50.81309, 3.244998 50.81309, 3.244998 50.91806, 3.145219 50.91806, 3.145219 50.81309))",
        "HouseNumber": "9",
        "LonMin": 3.145219,
        "LonMax": 3.244998,
        "LatMin": 50.81309,
        "LatMax": 50.91806,
        "MarkerLon": 3.145219,
        "MarkerLat": 50.81309,
        "IsAssetLocation": false,
        "PostalCode": "8500",
        "Street": "Dumolinlaan",
        "Submunicipality": "Kortrijk",
        "City": "Kortrijk"
      },
      "Quantity": 1,
      "By": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Code": "012345",
        "Name": "John Doe",
        "Type": 0
      }
    }
  ]
}
```

#### 400: BadRequest

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

```json
{
  "Data": [
    {
      "Entity": {
        "TimeStamp": "2019-01-25T08:06:45+01:00",
        "Asset": {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Name": "Work",
          "Code": "012345",
          "Type": "012345",
          "Brand": "012345",
          "TypeNumber": "012345",
          "SerialNumber": "012345",
          "Description": "012345",
          "Quantity": 1,
          "CommissioningDate": "2019-01-25T07:29:37",
          "Category": 0,
          "AdministrativeLocations": [
            {
              "Location": {
                "Id": "00000000-0000-0000-0000-000000000000",
                "Name": "Work",
                "Code": "012345",
                "Country": 0,
                "Description": "Work",
                "GeographyWkt": "POLYGON ((3.145219 50.81309, 3.244998 50.81309, 3.244998 50.91806, 3.145219 50.91806, 3.145219 50.81309))",
                "HouseNumber": "9",
                "LonMin": 3.145219,
                "LonMax": 3.244998,
                "LatMin": 50.81309,
                "LatMax": 50.91806,
                "MarkerLon": 3.145219,
                "MarkerLat": 50.81309,
                "IsAssetLocation": false,
                "PostalCode": "8500",
                "Street": "Dumolinlaan",
                "Submunicipality": "Kortrijk",
                "City": "Kortrijk"
              },
              "Quantity": 1
            }
          ],
          "LastSeen": {
            "Address": "Dumolinlaan 9, 8500 Kortrijk, BE",
            "DateTime": "2019-01-25T08:29:37+02:00",
            "DetectedBy": "Vehicle 1"
          },
          "Picture": "https://prodassetmanagement.blob.core.windows.net/geodynamics-899192c530d46fde13b9164f2ea1253d/assets/3022e805-e786-4564-b561-0685920de8dd.jpg",
          "Responsible": {
            "Id": "00000000-0000-0000-0000-000000000000",
            "Code": "012345",
            "Name": "John Doe",
            "Type": 0
          },
          "CreatedOn": "2019-01-25T08:29:37+02:00"
        },
        "FromLocation": {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Name": "Work",
          "Code": "012345",
          "Country": 0,
          "Description": "Work",
          "GeographyWkt": "POLYGON ((3.145219 50.81309, 3.244998 50.81309, 3.244998 50.91806, 3.145219 50.91806, 3.145219 50.81309))",
          "HouseNumber": "9",
          "LonMin": 3.145219,
          "LonMax": 3.244998,
          "LatMin": 50.81309,
          "LatMax": 50.91806,
          "MarkerLon": 3.145219,
          "MarkerLat": 50.81309,
          "IsAssetLocation": false,
          "PostalCode": "8500",
          "Street": "Dumolinlaan",
          "Submunicipality": "Kortrijk",
          "City": "Kortrijk"
        },
        "ToLocation": {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Name": "Work",
          "Code": "012345",
          "Country": 0,
          "Description": "Work",
          "GeographyWkt": "POLYGON ((3.145219 50.81309, 3.244998 50.81309, 3.244998 50.91806, 3.145219 50.91806, 3.145219 50.81309))",
          "HouseNumber": "9",
          "LonMin": 3.145219,
          "LonMax": 3.244998,
          "LatMin": 50.81309,
          "LatMax": 50.91806,
          "MarkerLon": 3.145219,
          "MarkerLat": 50.81309,
          "IsAssetLocation": false,
          "PostalCode": "8500",
          "Street": "Dumolinlaan",
          "Submunicipality": "Kortrijk",
          "City": "Kortrijk"
        },
        "Quantity": 1,
        "By": {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Code": "012345",
          "Name": "John Doe",
          "Type": 0
        }
      },
      "ValidationResult": [
        {
          "Message": "",
          "SourceMemberNames": []
        }
      ]
    }
  ]
}
```

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## PUT /intellitracer/v2/asset/{assetId}/administrativelocation/{locationId}

`https://api.geodynamics.dev/intellitracer/v2/asset/{assetId}/administrativelocation/{locationId}`

Privilege required: `Api: Asset management`

Link administrative location to unique asset

Links an administrative location to a unique asset. A unique asset means an asset with the property Category set to 0.

In this case, only one administrative location can be linked. An administrative location is a point of interest with IsAssetLocation set to true.

### Path parameters

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

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "Name": "Work",
    "Code": "012345",
    "Type": "012345",
    "Brand": "012345",
    "TypeNumber": "012345",
    "SerialNumber": "012345",
    "Description": "012345",
    "Quantity": 1,
    "CommissioningDate": "2019-01-25T07:29:37",
    "Category": 0,
    "AdministrativeLocations": [
      {
        "Location": {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Name": "Work",
          "Code": "012345",
          "Country": 0,
          "Description": "Work",
          "GeographyWkt": "POLYGON ((3.145219 50.81309, 3.244998 50.81309, 3.244998 50.91806, 3.145219 50.91806, 3.145219 50.81309))",
          "HouseNumber": "9",
          "LonMin": 3.145219,
          "LonMax": 3.244998,
          "LatMin": 50.81309,
          "LatMax": 50.91806,
          "MarkerLon": 3.145219,
          "MarkerLat": 50.81309,
          "IsAssetLocation": false,
          "PostalCode": "8500",
          "Street": "Dumolinlaan",
          "Submunicipality": "Kortrijk",
          "City": "Kortrijk"
        },
        "Quantity": 1
      }
    ],
    "LastSeen": {
      "Address": "Dumolinlaan 9, 8500 Kortrijk, BE",
      "DateTime": "2019-01-25T08:29:37+02:00",
      "DetectedBy": "Vehicle 1"
    },
    "Picture": "https://prodassetmanagement.blob.core.windows.net/geodynamics-899192c530d46fde13b9164f2ea1253d/assets/3022e805-e786-4564-b561-0685920de8dd.jpg",
    "Responsible": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "CreatedOn": "2019-01-25T08:29:37+02:00"
  }
}
```

#### 400: Bad Request

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## DELETE /intellitracer/v2/asset/{assetId}/administrativelocation/{locationId}

`https://api.geodynamics.dev/intellitracer/v2/asset/{assetId}/administrativelocation/{locationId}`

Privilege required: `Api: Asset management`

Unlink administrative location from asset

Unlinks an administrative location from an asset.

An administrative location is a point of interest with IsAssetLocation set to true.

### Path parameters

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

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "Name": "Work",
    "Code": "012345",
    "Type": "012345",
    "Brand": "012345",
    "TypeNumber": "012345",
    "SerialNumber": "012345",
    "Description": "012345",
    "Quantity": 1,
    "CommissioningDate": "2019-01-25T07:29:37",
    "Category": 0,
    "AdministrativeLocations": [
      {
        "Location": {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Name": "Work",
          "Code": "012345",
          "Country": 0,
          "Description": "Work",
          "GeographyWkt": "POLYGON ((3.145219 50.81309, 3.244998 50.81309, 3.244998 50.91806, 3.145219 50.91806, 3.145219 50.81309))",
          "HouseNumber": "9",
          "LonMin": 3.145219,
          "LonMax": 3.244998,
          "LatMin": 50.81309,
          "LatMax": 50.91806,
          "MarkerLon": 3.145219,
          "MarkerLat": 50.81309,
          "IsAssetLocation": false,
          "PostalCode": "8500",
          "Street": "Dumolinlaan",
          "Submunicipality": "Kortrijk",
          "City": "Kortrijk"
        },
        "Quantity": 1
      }
    ],
    "LastSeen": {
      "Address": "Dumolinlaan 9, 8500 Kortrijk, BE",
      "DateTime": "2019-01-25T08:29:37+02:00",
      "DetectedBy": "Vehicle 1"
    },
    "Picture": "https://prodassetmanagement.blob.core.windows.net/geodynamics-899192c530d46fde13b9164f2ea1253d/assets/3022e805-e786-4564-b561-0685920de8dd.jpg",
    "Responsible": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "CreatedOn": "2019-01-25T08:29:37+02:00"
  }
}
```

#### 400: Bad Request

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## POST /intellitracer/v2/asset/{id}/administrativelocations

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

Privilege required: `Api: Asset management`

Link administrative location to collective asset

Links administrative locations to a collective asset. A collective asset means an asset with the property Category set to 1.

In this case, multiple administrative locations can be linked, each with their own amount of items. An administrative location is a point of interest with IsAssetLocation set to true.

### Request body

Type: `object`

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

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "Name": "Work",
    "Code": "012345",
    "Type": "012345",
    "Brand": "012345",
    "TypeNumber": "012345",
    "SerialNumber": "012345",
    "Description": "012345",
    "Quantity": 1,
    "CommissioningDate": "2019-01-25T07:29:37",
    "Category": 0,
    "AdministrativeLocations": [
      {
        "Location": {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Name": "Work",
          "Code": "012345",
          "Country": 0,
          "Description": "Work",
          "GeographyWkt": "POLYGON ((3.145219 50.81309, 3.244998 50.81309, 3.244998 50.91806, 3.145219 50.91806, 3.145219 50.81309))",
          "HouseNumber": "9",
          "LonMin": 3.145219,
          "LonMax": 3.244998,
          "LatMin": 50.81309,
          "LatMax": 50.91806,
          "MarkerLon": 3.145219,
          "MarkerLat": 50.81309,
          "IsAssetLocation": false,
          "PostalCode": "8500",
          "Street": "Dumolinlaan",
          "Submunicipality": "Kortrijk",
          "City": "Kortrijk"
        },
        "Quantity": 1
      }
    ],
    "LastSeen": {
      "Address": "Dumolinlaan 9, 8500 Kortrijk, BE",
      "DateTime": "2019-01-25T08:29:37+02:00",
      "DetectedBy": "Vehicle 1"
    },
    "Picture": "https://prodassetmanagement.blob.core.windows.net/geodynamics-899192c530d46fde13b9164f2ea1253d/assets/3022e805-e786-4564-b561-0685920de8dd.jpg",
    "Responsible": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": "012345",
      "Name": "John Doe",
      "Type": 0
    },
    "CreatedOn": "2019-01-25T08:29:37+02:00"
  }
}
```

#### 400: Bad Request

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

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

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

Privilege required: `Api: Asset management`

Get asset inspection types

Get all asset inspections for a specific Asset Id.

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` | array |
| `Meta` | object |

```json
{
  "Data": [
    {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Name": "Inspection",
      "Description": "Description",
      "Responsible": 0,
      "WarningThresholdDays": 0,
      "IntervalYears": 0,
      "IntervalMonths": 6,
      "IntervalDays": 0
    }
  ],
  "Meta": {
    "Filter": "ABCD123",
    "Page": 1,
    "Per_Page": 10
  }
}
```

#### 401: Unauthorized

#### 403: Forbidden

## GET /intellitracer/v2/asset/{assetId}/inspectiontype

`https://api.geodynamics.dev/intellitracer/v2/asset/{assetId}/inspectiontype`

Privilege required: `Api: Asset management`

Get linked inspection types by asset

Returns a list of asset inspection types linked to a particular asset.

### Path parameters

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

### Responses

#### 200: OK

```json
[
  {
    "Id": "00000000-0000-0000-0000-000000000000",
    "Name": "Inspection",
    "Description": "Description",
    "Responsible": 0,
    "WarningThresholdDays": 0,
    "IntervalYears": 0,
    "IntervalMonths": 6,
    "IntervalDays": 0
  }
]
```

#### 401: Unauthorized

#### 403: Forbidden

## POST /intellitracer/v2/assetinspectiontype

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

Privilege required: `Api: Asset management`

Update asset inspection type

Updates an existing asset inspection type.

### Request body

Type: `object`

| Field | Type | Required |
| --- | --- | --- |
| `Id` | string | required |
| `Name` (default = null) | string | required |
| `Description` (default = null) | string | optional |
| `Responsible` | number | optional |
| `WarningThresholdDays` (default = null) | number | optional |
| `IntervalYears` (default = null) | number | optional |
| `IntervalMonths` (default = null) | number | optional |
| `IntervalDays` (default = null) | number | optional |

### Responses

#### 200: OK

| Field | Type |
| --- | --- |
| `Id` | string |
| `Name` (default = null) | string |
| `Description` (default = null) | string |
| `Responsible` | number |
| `WarningThresholdDays` (default = null) | number |
| `IntervalYears` (default = null) | number |
| `IntervalMonths` (default = null) | number |
| `IntervalDays` (default = null) | number |

```json
{
  "Id": "00000000-0000-0000-0000-000000000000",
  "Name": "Inspection",
  "Description": "Description",
  "Responsible": 0,
  "WarningThresholdDays": 0,
  "IntervalYears": 0,
  "IntervalMonths": 6,
  "IntervalDays": 0
}
```

#### 400: Bad Request

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## PUT /intellitracer/v2/assetinspectiontype

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

Privilege required: `Api: Asset management`

Create asset inspection type

Creates a new asset inspection.

### Request body

Type: `object`

| Field | Type | Required |
| --- | --- | --- |
| `Name` (default = null) | string | required |
| `Description` (default = null) | string | optional |
| `Responsible` | number | optional |
| `WarningThresholdDays` (default = null) | number | optional |
| `IntervalYears` (default = null) | number | optional |
| `IntervalMonths` (default = null) | number | optional |
| `IntervalDays` (default = null) | number | optional |

### Responses

#### 200: OK

| Field | Type |
| --- | --- |
| `Id` | string |
| `Name` (default = null) | string |
| `Description` (default = null) | string |
| `Responsible` | number |
| `WarningThresholdDays` (default = null) | number |
| `IntervalYears` (default = null) | number |
| `IntervalMonths` (default = null) | number |
| `IntervalDays` (default = null) | number |

```json
{
  "Id": "00000000-0000-0000-0000-000000000000",
  "Name": "Inspection",
  "Description": "Description",
  "Responsible": 0,
  "WarningThresholdDays": 0,
  "IntervalYears": 0,
  "IntervalMonths": 6,
  "IntervalDays": 0
}
```

#### 400: Bad Request

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## DELETE /intellitracer/v2/assetinspectiontype/{assetInspectionTypeId}

`https://api.geodynamics.dev/intellitracer/v2/assetinspectiontype/{assetInspectionTypeId}`

Privilege required: `Api: Asset management`

Delete asset inspection type

Deletes an asset inspection type by its Id.

### Path parameters

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

### Responses

#### 200: OK

#### 401: Unauthorized

#### 403: Forbidden

## PUT /intellitracer/v2/asset/{assetId}/inspectionType/{inspectionTypeId}

`https://api.geodynamics.dev/intellitracer/v2/asset/{assetId}/inspectionType/{inspectionTypeId}`

Privilege required: `Api: Asset management`

Link inspection type to asset

Links an inspection type to an asset by Id.

### Path parameters

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

### Responses

#### 200: OK

#### 400: Bad Request

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## DELETE /intellitracer/v2/asset/{assetId}/inspectionType/{inspectionTypeId}

`https://api.geodynamics.dev/intellitracer/v2/asset/{assetId}/inspectionType/{inspectionTypeId}`

Privilege required: `Api: Asset management`

Unlink inspection type from asset

Unlinks an inspection type from an asset by Id.

### Path parameters

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

### Responses

#### 200: OK

#### 400: Bad Request

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## GET /intellitracer/v2/asset/{assetId}/inspection

`https://api.geodynamics.dev/intellitracer/v2/asset/{assetId}/inspection`

Privilege required: `Api: Asset management`

Get asset inspections by Asset Id

Get all asset inspections for a specific Asset Id.

### Path parameters

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

### Responses

#### 200: OK

| Field | Type |
| --- | --- |
| `Id` | string |
| `AssetId` | string |
| `Type` | object |
| `Status` (default = 0) | number |
| `Comments` (default = null) | string |
| `DateCompleted` (default = null) | string |
| `Picture` (default = null) | string |

```json
{
  "Id": "00000000-0000-0000-0000-000000000000",
  "AssetId": "00000000-0000-0000-0000-000000000000",
  "Type": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "Name": "Inspection",
    "Description": "Description",
    "Responsible": 0,
    "WarningThresholdDays": 0,
    "IntervalYears": 0,
    "IntervalMonths": 6,
    "IntervalDays": 0
  },
  "Status": 0,
  "Comments": "Comments",
  "DateCompleted": "2019-09-10",
  "Picture": "https://prodassetmanagement.blob.core.windows.net/geodynamics-899192c530d46fde13b9164f2ea1253d/assets/3022e805-e786-4564-b561-0685920de8dd.jpg"
}
```

#### 401: Unauthorized

#### 403: Forbidden

## GET /intellitracer/v2/inspection?date={date}

`https://api.geodynamics.dev/intellitracer/v2/inspection?date={date}`

Privilege required: `Api: Asset management`

Get asset inspections by Date

Get all asset inspections that occurred on or after a specific date.

### Path parameters

| Name | Type | Required | Example |
| --- | --- | --- | --- |
| `date` | string | required | `2020-01-01` |

### Responses

#### 200: OK

| Field | Type |
| --- | --- |
| `Id` | string |
| `AssetId` | string |
| `Type` | object |
| `Status` (default = 0) | number |
| `Comments` (default = null) | string |
| `DateCompleted` (default = null) | string |
| `Picture` (default = null) | string |

```json
{
  "Id": "00000000-0000-0000-0000-000000000000",
  "AssetId": "00000000-0000-0000-0000-000000000000",
  "Type": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "Name": "Inspection",
    "Description": "Description",
    "Responsible": 0,
    "WarningThresholdDays": 0,
    "IntervalYears": 0,
    "IntervalMonths": 6,
    "IntervalDays": 0
  },
  "Status": 0,
  "Comments": "Comments",
  "DateCompleted": "2019-09-10",
  "Picture": "https://prodassetmanagement.blob.core.windows.net/geodynamics-899192c530d46fde13b9164f2ea1253d/assets/3022e805-e786-4564-b561-0685920de8dd.jpg"
}
```

#### 401: Unauthorized

#### 403: Forbidden

## POST /intellitracer/v2/inspection

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

Privilege required: `Api: Asset management`

Update asset inspection

Updates an existing asset inspection.

### Request body

Type: `object`

| Field | Type | Required |
| --- | --- | --- |
| `Id` | string | required |
| `AssetId` | string | required |
| `TypeId` | string | optional |
| `Status` (default = 0) | number | optional |
| `Comments` (default = null) | string | optional |
| `DateCompleted` (default = null) | string | optional |
| `Picture` (default = null) | string | optional |

### Responses

#### 200: OK

| Field | Type |
| --- | --- |
| `Id` | string |
| `AssetId` | string |
| `Type` | object |
| `Status` (default = 0) | number |
| `Comments` (default = null) | string |
| `DateCompleted` (default = null) | string |
| `Picture` (default = null) | string |

```json
{
  "Id": "00000000-0000-0000-0000-000000000000",
  "AssetId": "00000000-0000-0000-0000-000000000000",
  "Type": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "Name": "Inspection",
    "Description": "Description",
    "Responsible": 0,
    "WarningThresholdDays": 0,
    "IntervalYears": 0,
    "IntervalMonths": 6,
    "IntervalDays": 0
  },
  "Status": 0,
  "Comments": "Comments",
  "DateCompleted": "2019-09-10",
  "Picture": "https://prodassetmanagement.blob.core.windows.net/geodynamics-899192c530d46fde13b9164f2ea1253d/assets/3022e805-e786-4564-b561-0685920de8dd.jpg"
}
```

#### 400: BadRequest

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## PUT /intellitracer/v2/inspection

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

Privilege required: `Api: Asset management`

Create asset inspection

Creates a new asset inspection.

### Request body

Type: `object`

| Field | Type | Required |
| --- | --- | --- |
| `AssetId` | string | required |
| `TypeId` | string | required |
| `Status` (default = 0) | number | optional |
| `Comments` (default = null) | string | optional |
| `DateCompleted` (default = null) | string | optional |
| `Picture` (default = null) | string | optional |

### Responses

#### 200: OK

| Field | Type |
| --- | --- |
| `Id` | string |
| `AssetId` | string |
| `Type` | object |
| `Status` (default = 0) | number |
| `Comments` (default = null) | string |
| `DateCompleted` (default = null) | string |
| `Picture` (default = null) | string |

```json
{
  "Id": "00000000-0000-0000-0000-000000000000",
  "AssetId": "00000000-0000-0000-0000-000000000000",
  "Type": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "Name": "Inspection",
    "Description": "Description",
    "Responsible": 0,
    "WarningThresholdDays": 0,
    "IntervalYears": 0,
    "IntervalMonths": 6,
    "IntervalDays": 0
  },
  "Status": 0,
  "Comments": "Comments",
  "DateCompleted": "2019-09-10",
  "Picture": "https://prodassetmanagement.blob.core.windows.net/geodynamics-899192c530d46fde13b9164f2ea1253d/assets/3022e805-e786-4564-b561-0685920de8dd.jpg"
}
```

#### 400: BadRequest

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## GET /intellitracer/v3/asset/{assetId}/identification?page={page}&search={search}

`https://api.geodynamics.dev/intellitracer/v3/asset/{assetId}/identification?page={page}&search={search}`

Privilege required: `Api: Asset management`

Get asset identifications

Returns a paged list of asset identifications for an asset.

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

### Path parameters

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

### Responses

#### 200: OK

```json
[
  {
    "Data": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "BadgeId": "00000000-0000-0000-0000-000000000000",
        "Value": "123ABC",
        "Type": 0
      }
    ],
    "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/asset/{assetId}/identification/badge/{badgeId}

`https://api.geodynamics.dev/intellitracer/v3/asset/{assetId}/identification/badge/{badgeId}`

Privilege required: `Api: Asset management`

Get asset identifications by badge id

Returns all asset identifications for an asset by badge id.

### Path parameters

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

### Responses

#### 200: OK

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

```json
{
  "Data": [
    {
      "Id": "00000000-0000-0000-0000-000000000000",
      "BadgeId": "00000000-0000-0000-0000-000000000000",
      "Value": "123ABC",
      "Type": 0
    }
  ]
}
```

#### 401: Unauthorized

#### 403: Forbidden

## DELETE /intellitracer/v3/asset/{assetId}/identification/badge/{badgeId}

`https://api.geodynamics.dev/intellitracer/v3/asset/{assetId}/identification/badge/{badgeId}`

Privilege required: `Api: Asset management`

Delete asset identifications by badge id

Deletes all asset identifications for an asset by badge id.

### Path parameters

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

### Responses

#### 200: OK

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

```json
{
  "Data": [
    {
      "Id": "00000000-0000-0000-0000-000000000000",
      "BadgeId": "00000000-0000-0000-0000-000000000000",
      "Value": "123ABC",
      "Type": 0
    }
  ]
}
```

#### 401: Unauthorized

#### 403: Forbidden

## GET /intellitracer/v3/asset/{assetId}/identification/custom/{value}

`https://api.geodynamics.dev/intellitracer/v3/asset/{assetId}/identification/custom/{value}`

Privilege required: `Api: Asset management`

Get asset identification by custom value

Returns an asset identification for an asset by custom value.

### Path parameters

| Name | Type | Required | Example |
| --- | --- | --- | --- |
| `assetId` | string | required | `00000000-0000-0000-0000-000000000000` |
| `value` | string | required | `123ABC` |

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "BadgeId": "00000000-0000-0000-0000-000000000000",
    "Value": "123ABC",
    "Type": 0
  }
}
```

#### 401: Unauthorized

#### 403: Forbidden

## DELETE /intellitracer/v3/asset/{assetId}/identification/custom/{value}

`https://api.geodynamics.dev/intellitracer/v3/asset/{assetId}/identification/custom/{value}`

Privilege required: `Api: Asset management`

Delete asset identification by custom value

Deletes an asset identification for an asset by custom value.

### Path parameters

| Name | Type | Required | Example |
| --- | --- | --- | --- |
| `assetId` | string | required | `00000000-0000-0000-0000-000000000000` |
| `value` | string | required | `123ABC` |

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "BadgeId": "00000000-0000-0000-0000-000000000000",
    "Value": "123ABC",
    "Type": 0
  }
}
```

#### 401: Unauthorized

#### 403: Forbidden

## PUT /intellitracer/v3/asset/{assetId}/identification/badge

`https://api.geodynamics.dev/intellitracer/v3/asset/{assetId}/identification/badge`

Privilege required: `Api: Asset management`

Create asset identification by badge id

Creates a new asset identification by badge id.

### Path parameters

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

### Request body

Type: `object`

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

### Responses

#### 200: OK

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

```json
{
  "Data": [
    {
      "Id": "00000000-0000-0000-0000-000000000000",
      "BadgeId": "00000000-0000-0000-0000-000000000000",
      "Value": "123ABC",
      "Type": 0
    }
  ]
}
```

#### 400: Bad Request

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## POST /intellitracer/v3/asset/{assetId}/identification/custom

`https://api.geodynamics.dev/intellitracer/v3/asset/{assetId}/identification/custom`

Privilege required: `Api: Asset management`

Update asset identification by custom value

Updates an existing asset identification by custom value. Only personalized assets can be updated.

### Path parameters

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

### Request body

Type: `object`

| Field | Type | Required |
| --- | --- | --- |
| `Id` | string | required |
| `Value` | string | required |

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "BadgeId": "00000000-0000-0000-0000-000000000000",
    "Value": "123ABC",
    "Type": 0
  }
}
```

#### 400: Bad Request

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed

## PUT /intellitracer/v3/asset/{assetId}/identification/custom

`https://api.geodynamics.dev/intellitracer/v3/asset/{assetId}/identification/custom`

Privilege required: `Api: Asset management`

Create asset identification by custom value

Creates a new asset identification by custom value.

### Path parameters

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

### Request body

Type: `object`

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

### Responses

#### 200: OK

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

```json
{
  "Data": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "BadgeId": "00000000-0000-0000-0000-000000000000",
    "Value": "123ABC",
    "Type": 0
  }
}
```

#### 400: Bad Request

#### 401: Unauthorized

#### 403: Forbidden

#### 417: ExpectationFailed
