> For the complete documentation index, see [llms.txt](https://doc.fxwebapi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.fxwebapi.com/rest-api/direct-vs.-indirect-api.md).

# REST API for SOA

Use FXWebAPI as central point of contract for FX rates and executions via your SOA

FXWebAPI has a set of RESTful web-services that enable out-of-the-box integration with your SOA.&#x20;

{% hint style="success" %}
Currently we support the following workflows:

* Get Rate
* Execute on previously quotes rate
* Execute on current price
* Place Order
* Cancel Order
* Get Deal Blotter Data
* Get Order Blotter Data
* Get Historical Rates

**Services can be adjusted to the client's needs without additional project costs.**
{% endhint %}

![](https://4042115498-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LqajCaFdk0suI0l0dSe%2F-MHQD7ODxMb1QflrPcbR%2F-MHQEevZCgHlgynaCL9y%2FExecution%20workflow.png?alt=media\&token=4eb38d92-f85f-4967-be43-dea905cedc71)

## Main Use Cases:

* Execution workflow
* Order placing workflow
* Order cancellation workflow

#### Critical points for Execution/Order placing/Order cancellation workflow:

* Make sure that client has a balance/limit to execute the trade
* Transaction Security
* Internal checks are usually more important than 50 ms of additional market risk.

#### Non-critical point of Execution workflow:

* How quickly trade should be confirmed/rejected

For the above FXWebAPI services responsible for Execution/Order placing/Order cancellation workflow would sit behind firewalls and be only accessible by clients SOA service.&#x20;

{% hint style="success" %}
Execution/Order placing/Order cancellation workflows can be exposed by FXWebAPI directly to your end clients. In this case trading limits are managed on the FX platform side (ex. 360T).
{% endhint %}

FXWebAPI integration for Execution/Order placing/Order cancellation workflow is explained in the below graph:

![](https://4042115498-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LqajCaFdk0suI0l0dSe%2F-MHQB_8O0LIwXUCdndZn%2F-MHQCy0kPylN825qFJWG%2FExecution%20workflow%20v.2.png?alt=media\&token=b17bc872-7f6e-4ea7-be84-2d3b8ffd0ac4)
