POST fxo/Finance/JournalEntry

Request Information

URI Parameters

None.

Body Parameters

CreateJournalEntry
NameDescriptionTypeAdditional information
journalentry

JournalEntry

None.

journalentry_transaction

Collection of JournalEntry_Transaction

None.

Request Formats

application/json, text/json

Sample:
{
  "journalentry": {
    "ref_id": 1,
    "jour_ent_date": "sample string 2",
    "currency": {
      "value": "sample string 1",
      "id": 2
    },
    "jour_ent_currency_rate": 3.1,
    "jour_ent_reference": "sample string 4"
  },
  "journalentry_transaction": [
    {
      "act_code": "sample string 1",
      "act_name": "sample string 2",
      "act_seg_id": "sample string 3",
      "debit": 4.0,
      "credit": 5.0,
      "notes": "sample string 6"
    },
    {
      "act_code": "sample string 1",
      "act_name": "sample string 2",
      "act_seg_id": "sample string 3",
      "debit": 4.0,
      "credit": 5.0,
      "notes": "sample string 6"
    }
  ]
}

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 'CreateJournalEntry'.

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.