POST fxo/Finance/JournalEntryControlAccount

Request Information

URI Parameters

None.

Body Parameters

JournalEntryControlAccount
NameDescriptionTypeAdditional information
journalcontrolaccount

JournalControlAccount

None.

cr_sub_ledger

Cr_Sub_Ledger

Required

dr_sub_ledger

Dr_Sub_Ledger

Required

Request Formats

application/json, text/json

Sample:
{
  "journalcontrolaccount": {
    "entry_date": "sample string 1",
    "currency": {
      "value": "sample string 1",
      "id": 2
    },
    "amount": 2.0,
    "cur_rate": 3.0,
    "notes": "sample string 4"
  },
  "cr_sub_ledger": {
    "cr_type": {
      "value": "sample string 1",
      "id": 2
    },
    "cr_account": {
      "value": "sample string 1",
      "id": 2
    },
    "cr_entity": {
      "value": "sample string 1",
      "id": 2
    }
  },
  "dr_sub_ledger": {
    "dr_type": {
      "value": "sample string 1",
      "id": 2
    },
    "dr_account": {
      "value": "sample string 1",
      "id": 2
    },
    "dr_entity": {
      "value": "sample string 1",
      "id": 2
    }
  }
}

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

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.