POST fxo/Finance/JournalEntryFX

Request Information

URI Parameters

None.

Body Parameters

CreateJournalEntryFX
NameDescriptionTypeAdditional information
journalentryfx

JournalEntryfx

None.

journalentryfx_transaction

Collection of JournalEntryfx_Transaction

None.

Request Formats

application/json, text/json

Sample:
{
  "journalentryfx": {
    "ref_id": 1,
    "jour_ent_date": "sample string 2",
    "jour_ent_reference": "sample string 3"
  },
  "journalentryfx_transaction": [
    {
      "act_code": "sample string 1",
      "act_name": "sample string 2",
      "currency": {
        "value": "sample string 1",
        "id": 2
      },
      "act_cur_rate": 3.0,
      "act_seg_id": "sample string 4",
      "debit": 5.0,
      "credit": 6.0,
      "notes": "sample string 7"
    },
    {
      "act_code": "sample string 1",
      "act_name": "sample string 2",
      "currency": {
        "value": "sample string 1",
        "id": 2
      },
      "act_cur_rate": 3.0,
      "act_seg_id": "sample string 4",
      "debit": 5.0,
      "credit": 6.0,
      "notes": "sample string 7"
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CreateJournalEntryFX'.

application/xml

Sample:

An exception has occurred while using the formatter 'CustomXmlFormatter' to generate sample for media type 'application/xml'. Exception message: Cannot access a closed Stream.

text/xml

Sample:

An exception has occurred while using the formatter 'CustomXmlFormatter' to generate sample for media type 'text/xml'. Exception message: Cannot access a closed Stream.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.