POST fxo/Bank/OpenDisbursement

Request Information

URI Parameters

None.

Body Parameters

CreateDisbursement
NameDescriptionTypeAdditional information
disbursement

Create_Disbursement

None.

disbursement_detail

CreateDisbursementDetail

None.

Request Formats

application/json, text/json

Sample:
{
  "disbursement": {
    "from_date": "sample string 1",
    "cash_book": {
      "value": "sample string 1",
      "id": 2
    },
    "notes": "sample string 2",
    "external_id": "sample string 3"
  },
  "disbursement_detail": {
    "trans_date": "sample string 1",
    "currency": {
      "value": "sample string 1",
      "id": 2
    },
    "type": {
      "value": "sample string 1",
      "id": 2
    },
    "external_source_type": 2,
    "external_source_id": 3,
    "rev_exp_id": 4,
    "bank_act_id": 5,
    "ref_no": "sample string 6",
    "amount": 7.0,
    "description": "sample string 8",
    "external_det_id": "sample string 9"
  }
}

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

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.