POST api/Master/InsertLedgerMaster

Request Information

URI Parameters

None.

Body Parameters

InsertLedgerRequest
NameDescriptionTypeAdditional information
ledgerModel

LedgerModel

None.

CompKey

integer

None.

Subsordemo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ledgerModel": {
    "ledgerKey": 1,
    "ledgerCode": "sample string 2",
    "ledgerName": "sample string 3",
    "ledgerTypekey": 4,
    "ledgerMainKey": 5,
    "ledgerTypeName": "sample string 6",
    "ledgerMainName": "sample string 7",
    "ledgerMainType": "sample string 8",
    "ledgerValid": true,
    "branchKey": 10,
    "compKey": 11,
    "prefixTag": "sample string 12",
    "prefixType": "sample string 13",
    "ledgerDebit": 14.0,
    "ledgerCredit": 15.0,
    "defaLedger": true,
    "docPosted": "sample string 17"
  },
  "CompKey": 1,
  "Subsordemo": "sample string 2"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.