---
title: "Check-in REST services"
canonical: "https://support.appfire.com/space/AIP/10256511/Check-in%20REST%20services"
format: markdown
---
> Macro (aura-html)

## Check-in assets with filter

| **Method** | PUT |
| --- | --- |
| **URL** | /rest/jip-api/1.0/asset-operations/check-in.json |

<details>
<summary>Request body:</summary>

```
{
  "operation": 2,
  "sync": false,
  "queryIndexParam": {
    "querySource": "GENERIC_SEARCH",
    "searchType": "basic",
    "listType": "detail",
    "queryIndexSearchParams": [
      {
        "field": "form.name",
        "keywords": [
          "Sample"
        ],
        "fieldType": "LIST"
      }
    ],
    "pageNumber": 1,
    "pageSize": 15,
    "sortDirection": "asc",
    "sortField": "asset.name",
    "sortType": "STRING",
    "respTime": 1589443129179
  }
}
```
</details>

<details>
<summary>Sample response:</summary>

```
{
  "success" : true,
  "errorCode" : null,
  "errorMessage" : null,
  "data" : 214,
  "pagingInfo" : null
}
```
</details>

## Check-in selected assets

| **Method** | PUT |
| --- | --- |
| **URL** | /rest/jip-api/1.0/asset-operations/check-in.json |

<details>
<summary>Request body:</summary>

```
{
  "operation": 1,
  "sync": false,
  "assetIds": [
    94,
    95
  ]
}
```
</details>

<details>
<summary>Sample response:</summary>

```
{
  "success" : true,
  "errorCode" : null,
  "errorMessage" : null,
  "data" : 215,
  "pagingInfo" : null
}
```
</details>