HTTP methods

The following HTTP methods are used consistently throughout the Investment API.

HTTP methodPurpose
GETReturns a list of resources or a single resource, depending on the call.
POSTCreates a new resource synchronously and returns 201 Created or creates a new resource and starts the asynchronous processing required to complete the creation. In this case return code is 202 Accepted.
PATCHUpdates a resource's information.
DELETEDeletes an instance of a resource where allowed and returns 204 No Content.
Some resources may allow only partial data change.