PUT web/Finance/CashBook

Request Information

URI Parameters

None.

Body Parameters

UpdateCashbook
NameDescriptionTypeAdditional information
cashbook_master

CashBookMaster

Required

cashbook_detail

CashBookDetail

Required

Request Formats

application/json, text/json

Sample:
{
  "cashbook_master": {
    "record_id": 1,
    "name": "sample string 2",
    "description": "sample string 3",
    "is_active": true,
    "is_allow_negative": true,
    "inventory_org": {
      "value": "sample string 1",
      "id": 2
    },
    "external_id": "sample string 6"
  },
  "cashbook_detail": {
    "account_segment": {
      "account": {
        "value": "sample string 1",
        "id": 2
      },
      "segment": "sample string 1"
    },
    "account_clearing": {
      "account": {
        "value": "sample string 1",
        "id": 2
      },
      "segment": "sample string 1"
    },
    "account_cash_intransit": {
      "account": {
        "value": "sample string 1",
        "id": 2
      },
      "segment": "sample string 1"
    },
    "currency": {
      "value": "sample string 1",
      "id": 2
    },
    "opening_balance": 1.1,
    "domination": {
      "cur_note": 1,
      "cur_value": "sample string 2"
    },
    "external_det_id": "sample string 2",
    "opening_rate": 3.1
  }
}

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

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.