---
title: ICAI
slug: v2/icai
description: Learn how to utilize this API to effortlessly search for member numbers associated with a particular patron ID. Simply make a cURL POST request and provide the required parameters, including the member number you wish to find. Our powerful API will swiftl
createdAt: 2023-04-06T08:37:21.000Z
---

## Introduction

The API allows you to search for member numbers associated with a particular patron ID, allowing for quick and efficient retrieval of information.

# Sample cURL

```curl
curl --request POST \
  --url https://signzy.tech/api/v2/patrons/..your-patron-id../icais \
  --header 'Accept: */*' \
  --header 'Accept-Language: en-US,en;q=0.8' \
  --header 'Authorization: <Access-Token>' \
  --header 'content-type: application/json' \
  --data '{"essentials":{"memberNumber":".member-number-to-search-for.."}}'
```

| Parameter        | Type   | Description                                                           |
| ---------------- | ------ | --------------------------------------------------------------------- |
| **essentials**   | Object | The required parameter that contains the member number to search for. |
| **memberNumber** | String | The specific member number to search for.                             |



# Sample API Response

```javascript
{
    "essentials": {
       "memberNumber": "..member-number-to-search-for.."
    },
    "id": "...accessToken...",
    "patronId": "...patronId...",
    "result": {
      "status": "...status...",
      "name": "...name...",
      "address": "...address...",
      "splitAddress": {
        "state": [
          []
        ],
        "district": [],
        "city": [],
        "pincode": "...pincode...",
        "country": [
          "IN",
          "IND",
          "INDIA"
        ],
        "addressLine": "...addressLine..."
      }
    }
  }
```

| Parameter        | Type   | Description                                                                    |
| ---------------- | ------ | ------------------------------------------------------------------------------ |
| **result**       | Object | The object containing the search results.                                      |
| **status**       | String | The status of the search result.                                               |
| **name**         | String | The name of the patron associated with the member number searched for.         |
| **address**      | String | The full address of the patron associated with the member number searched for. |
| **splitAddress** | Object | The object containing the split components of the patron's address.            |

:::CodeblockTabs
200

```json
{
    "result": {
        "status": "Active",
        "name": "CHARLES ANTHONY LESLIE CORREIA",
        "address": "3/24 HAPPY HOUSE, VAKOLA, SANTACRUZ EAST, MUMBAI - 400055, MAHARASHTRA, INDIA",
        "splitAddress": {
            "district": [
                "MUMBAI"
            ],
            "state": [
                [
                    "MAHARASHTRA",
                    "MH"
                ]
            ],
            "city": [
                "MUMBAI"
            ],
            "pincode": "400055",
            "country": [
                "IN",
                "IND",
                "INDIA"
            ],
            "addressLine": "3/24 HAPPY HOUSE,VAKOLA,SANTACRUZ EAST INDIA"
        }
    }
}
```

400

```json
// When ICAI number is not valid
{
    "error": {
        "statusCode": 400,
        "name": "Error",
        "message": "This is not a valid ICAI member number, please refer docs.",
        "status": 400
    }
}
// When ICAI number is given an empty string
{
    "error": {
        "statusCode": 400,
        "name": "Error",
        "message": "memberNumber is not allowed to be empty string",
        "status": 400
    }
}
```

401

```json
//
```

404

```json
```

409

```json
{
    "error": {
        "reason": "Error From Upstream",
        "status": 409,
        "message": "Upstream Down",
        "type": "Conflict",
        "statusCode": 409,
        "name": "error"
    }
}
```
:::

