# Add One Monitor Record

## Version 1

<mark style="color:green;">`PUT`</mark>` ``https://okaydbdemo.innov8tif.com/ekyc/api/aml/v3/worklists/{worklistId}/individuals/{monitorRecordId}?apiKey={apiKey}`

Content Type: `application/json`

#### URL Parameters

| Field                                              | Remark                                                          |
| -------------------------------------------------- | --------------------------------------------------------------- |
| worklistId <mark style="color:red;">\*</mark>      | worklistId will be provided                                     |
| monitorRecordId <mark style="color:red;">\*</mark> | User defined ID of the individual record to be created/updated. |
| apiKey <mark style="color:red;">\*</mark>          | apiKey is used for authentication.                              |

#### Sample Request Body

```json
{
  "name": "Donald John Trump",
  "addresses": [
    {
      "geography": "US",
      "city": "New York City"
    }
  ],
  "dob": "1964-08-22",
  "gender": "male"
} 
```

#### Response Body

| Field       | Remark                                                                                                                                                                                                                                                             |
| ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| status      | Indicate API status. Values can be success, error.                                                                                                                                                                                                                 |
| messageCode | <p></p><p>Provide error details if status is error. Values can be: </p><ul><li>INVALID\_API\_KEY – invalid api key.</li><li>MAPI-217– Missing  attribute countries or addresses in json request</li><li>MAPI-004– Missing attribute name in json request</li></ul> |
| message     | Optional                                                                                                                                                                                                                                                           |

#### Sample Response Body

{% tabs %}
{% tab title="Success" %}

```json
{
    "status": "success",
    "messageCode": null,
    "message": "OK"
}
```

{% endtab %}

{% tab title="Error" %}

```json
{
    "status": "error",
    "messageCode": ”INVALID_API_KEY”,
    "message": null
}
```

{% endtab %}
{% endtabs %}
