---
title: Search By Member
slug: v2/search-by-member
description: Learn how to create a new patron using the Signzy API version 2 with this comprehensive document. Discover the curl command example for a POST request, complete with essential information like the member number and ICWAIS ID. Explore the included sample c
createdAt: 2023-04-06T10:19:33.000Z
---

## Introduction



## API details

### Endpoint

:::CodeblockTabs
Production Endpoint

```none
```
:::

:::CodeblockTabs
UAT Endpoint

```none
```
:::

### Request Headers

| **Name&#x20;** | **Value**        | **Required** | **Description**                                                                                            |
| -------------- | ---------------- | ------------ | ---------------------------------------------------------------------------------------------------------- |
| Content-type   | application/json | Mandatory    | The type of content that the request body contains.                                                        |
| Authorization  | XXXXXXXXXXXXXXX  | Mandatory    | An authentication token to authorize the request. Reach out to the Signzy support team to get one created. |

### Request body parameters

| **Parameter** | **Data Type** | **Description** | **Required** |
| ------------- | ------------- | --------------- | ------------ |
| memberNumber  | String        | member Number   | Mandatory    |

## Sample Curl

```curl
curl --request POST \
  --url https://signzy.tech/api/v2/patrons/....patronid..../icwais \
  --header 'Accept: */*' \
  --header 'Accept-Language: en-US,en;q=0.8' \
  --header 'Authorization: <Access-Token>' \
  --header 'content-type: application/json' \
  --data '{"type":"..members..","essentials":{"memberNumber":"...memberNumber..."}}'
```

## Sample Response

:::CodeblockTabs
200

```json
{
    {
    "type":"members",
    "essentials":{
        "memberNumber": " ....member number...."
        }
     }
,
    "id": "...id...",
    "patronId": "...patronId...",
    "result":{
      "entityName": "...entityName...",
      "membershipDate": "...membershipDate...",
      "addressDetails1": {
        "details": "...details...",
        "address": "...address...",
        "splitAddress": {
          "state": [
            []
          ],
          "district": [],
          "city": [],
          "pincode": "...pincode...",
          "country": [
            "IN",
            "IND",
            "INDIA"
          ],
          "addressLine": "...addressLine..."
        }
      },
      "addressDetails2": {
        "details": "...details...",
        "address": "...address...",
        "splitAddress": {
          "state": [
            []
          ],
          "district": [],
          "city": [],
          "pincode": "...pincode...",
          "country": [
            "IN",
            "IND",
            "INDIA"
          ],
          "addressLine": "...addressLine..."
        }
    }
  }
  }
            
```

400

```none
```

401

```json
```
:::

## Response body parameters

| Parameter                                       | Data Type        | Description                                                        |
| ----------------------------------------------- | ---------------- | ------------------------------------------------------------------ |
| memberNumber                                    | String           | The unique number assigned to the member.                          |
| id                                              | Integer          | A unique identifier for the entity.                                |
| result                                          | Object           | Contains the main data of the entity.                              |
| result.entityName                               | String           | The name of the entity.                                            |
| result.memberName                               | String           | The name of the member associated with the entity.                 |
| result.membershipDate                           | String           | The date on which membership was granted, formatted as DD/MM/YYYY. |
| result.addressDetails1                          | Object           | First set of address details of the entity.                        |
| result.addressDetails1.details                  | String           | Description or label for the first address.                        |
| result.addressDetails1.address                  | String           | Full address string in the first address details.                  |
| result.addressDetails1.splitAddress             | Object           | Detailed components of the first address.                          |
| result.addressDetails1.splitAddress.district    | Array of Strings | District(s) part of the first address.                             |
| result.addressDetails1.splitAddress.state       | Array of Arrays  | State name and abbreviation in the first address.                  |
| result.addressDetails1.splitAddress.city        | Array of Strings | City name(s) in the first address.                                 |
| result.addressDetails1.splitAddress.pincode     | String           | Postal code of the first address.                                  |
| result.addressDetails1.splitAddress.country     | Array of Strings | Country and its abbreviations for the first address.               |
| result.addressDetails1.splitAddress.addressLine | String           | Detailed address line for the first address.                       |
| result.addressDetails2                          | Object           | Second set of address details of the entity.                       |
| result.addressDetails2.details                  | String           | Description or label for the second address.                       |
| result.addressDetails2.address                  | String           | Full address string in the second address details.                 |
| result.addressDetails2.splitAddress             | Object           | Detailed components of the second address.                         |
| result.addressDetails2.splitAddress.district    | Array of Strings | District(s) part of the second address.                            |
| result.addressDetails2.splitAddress.state       | Array of Arrays  | State name and abbreviation in the second address.                 |
| result.addressDetails2.splitAddress.city        | Array of Strings | City name(s) in the second address.                                |
| result.addressDetails2.splitAddress.pincode     | String           | Postal code of the second address.                                 |
| result.addressDetails2.splitAddress.country     | Array of Strings | Country and its abbreviations for the second address.              |
| result.addressDetails2.splitAddress.addressLine | String           | Detailed address line for the second address.                      |

**Contact Us for Any Assistance**

If you have any questions or need assistance, please reach out to our customer support team. You can contact us via email at <font color="#2166ae">**help\@signzy.com**</font>. We strive to provide prompt and reliable assistance, ensuring your queries are addressed effectively.

We value your feedback and are committed to making your experience smooth and enjoyable. Our team is dedicated to assisting you with any needs you may have. Thank you for choosing our services. We look forward to helping you!
