Method for Working with Transactions

To work with transactions, execute requests using the "resources" API method (before executing the request determine user token):

curl  '<IP address or DNS name of server>/api/v1/resources/<data source resource name>/transactions/' -H "Authorization: Bearer <user token>"

Example of response:

[

  {

    "uuid": "2ce0e9a5-5ffa-654b-cee0-1238041fb31a",

    "status": "processed",

    "response": ""

  },

  {

    "uuid": "a9d1db9e-dd17-460a-9739-a1f199de4c15",

    "status": "unprocessed",

    "response": "Error contacting server PostgreSQL"

  }

]

curl  '<IP address or DNS name of server>/api/v1/resources/<data source resource name>/transactions/<UUID>/' -H "Authorization: Bearer <user token>"

Example of response:

{

  "uuid": "2ce0e9a5-5ffa-654b-cee0-1238041fb31a",

  "status": "processed",

  "response": ""

}

curl -v -X DELETE '<IP address or DNS name of server>/api/v1/resources/<data source resource name>/transactions/<UUID>/' -H "Authorization: Bearer <user token>"

Example of response:

204 Successful deletion of transaction information

See also:

Server API | Sending Transaction Data