# Crear relación activo con cliente - addAssetByClient

##### <span class="api-method" data-method="POST">POST</span> https://api.service24gps.com/api/v1/addAssetByClient

Crea la relación de un activo con un cliente.

<details class="mb-m" id="bkmrk-body-parametersparam"><summary class="text-muted">Ver parámetros de solicitud:</summary>

<div><table class="table" style="height: 607px;"><tbody><tr style="height: 57px;"><td style="width: 188px; height: 57px;">apikey</td><td style="width: 320px; height: 57px;">**(Requerido)** Llave de autorización para uso de los Servicios Web.</td><td style="width: 301px; height: 57px;"><span role="presentation" style="padding-right: 0.1px; color: #3366ff;">25sdsd234234aa93sdsdsd37c70118e72</span></td></tr><tr style="height: 41px;"><td style="width: 188px; height: 41px;">token</td><td style="width: 320px; height: 41px;">**(Requerido)** Token devuelto por el método getToken.</td><td style="width: 301px; height: 41px;"><span style="color: #3366ff;">wfszR/oPIQKjt5HT5NgjDnZ2SAZQ==</span></td></tr><tr style="height: 58px;"><td style="width: 188px; height: 58px;">idvehiculo</td><td style="width: 320px; height: 58px;">**(Requerido)** Identificador único del vehículo.</td><td style="width: 301px; height: 58px;"><span style="color: #3366ff;">110011</span></td></tr><tr style="height: 41px;"><td style="width: 188px; height: 41px;"><div><div><div><div>idcliente</div></div></div></div></td><td style="width: 320px; height: 41px;">**(Opcional)** Identificador único del cliente</td><td style="width: 301px; height: 41px;"><span style="color: #3366ff;">42106</span></td></tr><tr style="height: 41px;"><td style="width: 188px; height: 41px;">cliente</td><td style="width: 320px; height: 41px;">**(Requerido)** Nombre del cliente</td><td style="width: 301px; height: 41px;"><span style="color: #3366ff;">User Test</span></td></tr></tbody></table>

</div></details>##### Solicitud de ejemplo:

```shell
curl --location --request POST 'https://api.service24gps.com/api/v1/addAssetByClient' \
--form 'apikey="25sdsd234234aa93sdsdsd37c70118e72"' \
--form 'token="wfszR/oPIQKjt5HT5NgjDnZ2SAZQ=="' \
--from 'idvehiculo="110011"' \
--from 'idcliente="42106"' \
--form 'cliente="User Test"'
```

##### Respuesta de ejemplo:

```JSON
{
    "status": 200,
    "data": ""
}
```