Skip to content

Commit

Permalink
partial implementation of transaction results
Browse files Browse the repository at this point in the history
  • Loading branch information
milindchidrawar committed Jun 22, 2022
1 parent 6abb14d commit 1c37ad0
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions docs/context/ref/TransactionResult.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
---
id: TransactionResult
sidebar_label: TransactionResult
title: TransactionResult
hide_title: true
---
# `TransactionResult`

The result of any given create, update or delete intent.

## Type

`fdc3.transactionResult`

## Schema

https://fdc3.finos.org/schemas/next/transactionresult.schema.json

## Details

| Property | Type | Required | Example Value |
|-------------|---------|----------|-------------------|
| `type` | string | Yes | `'fdc3.transactionResult'` |
| `status` | string | Yes | `'Updated'` |
| `context` | string | Yes | `'See Below'` |

## Example

```js
const contact = {
type: "fdc3.contact",
name: "Jane Doe",
id: {
email: "jane.doe@mail.com"
}
}


fdc3.broadcast(contact)
```

## See Also

Other Types
- [ContactList](ContactList)

Intents
- [StartChat](../../intents/ref/StartChat)
- [StartCall](../../intents/ref/StartCall)
- [ViewProfile](../../intents/ref/ViewProfile)
- [ViewResearch](../../intents/ref/ViewResearch)
- [ViewInteractions](../../intents/ref/ViewInteractions)
- [ViewOrders](../../intents/ref/ViewOrders)
- [CreateInteraction](../../intents/ref/CreateInteraction)

FINOS Financial Objects
- [Contact](https://fo.finos.org/docs/objects/contact)

0 comments on commit 1c37ad0

Please sign in to comment.