# callback\_AddToSimpleData()

## Description

This async function is called when a patch request is closed.&#x20;

#### Syntax

```
callback_AddToSimpleData(patchId, succeeded)
```

| Argument    | Description                                                 |
| ----------- | ----------------------------------------------------------- |
| `patchId`   | <p>The id of this patch request.<br>This is an Integer.</p> |
| `succeeded` | Boolean that tells us if the request was successful or not. |

#### Returns

```
N/A
```

## Example Implementation

```
function callback_AddToSimpleData(patchId, succeeded){
	
	//if write id is -1, the patch failed, 
	show_message("The patch id: "+string(patchId)+" succeeded?? "+string(succeeded))

}
```
