PUT fxo/Finance/JournalEntry

Request Information

URI Parameters

None.

Body Parameters

UpdateJournalEntry
NameDescriptionTypeAdditional information
journalentry

Update_JournalEntry

None.

journalentry_transaction

Collection of Update_JournalEntry_Transaction

None.

Request Formats

application/json, text/json

Sample:
{
  "journalentry": {
    "record_id": 1,
    "jour_ent_date": "sample string 2",
    "jour_ent_currency_rate": 3.1,
    "amount": 4.1,
    "jour_ent_reference": "sample string 5",
    "organization_id": 6
  },
  "journalentry_transaction": [
    {
      "id": 1,
      "act_id": {
        "value": "sample string 1",
        "id": 2
      },
      "currency": {
        "value": "sample string 1",
        "id": 2
      },
      "detail_id": 2,
      "jour_ent_currency_rate": 3.0,
      "act_seg_id": "sample string 4",
      "debit": 5.0,
      "credit": 6.0,
      "notes": "sample string 7"
    },
    {
      "id": 1,
      "act_id": {
        "value": "sample string 1",
        "id": 2
      },
      "currency": {
        "value": "sample string 1",
        "id": 2
      },
      "detail_id": 2,
      "jour_ent_currency_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 'UpdateJournalEntry'.

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.