POST api/quarryyard/ledger-map/save

Request Information

URI Parameters

None.

Body Parameters

SaveLedgerMapRequest
NameDescriptionTypeAdditional information
YardID

integer

None.

SyncLedgerID

integer

None.

TargetLedgerID

integer

None.

TargetLedgerName

string

None.

BranchID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "YardID": 1,
  "SyncLedgerID": 2,
  "TargetLedgerID": 3,
  "TargetLedgerName": "sample string 4",
  "BranchID": 5
}

application/xml, text/xml

Sample:
<SaveLedgerMapRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrushMateBackendAPI.Controllers">
  <BranchID>5</BranchID>
  <SyncLedgerID>2</SyncLedgerID>
  <TargetLedgerID>3</TargetLedgerID>
  <TargetLedgerName>sample string 4</TargetLedgerName>
  <YardID>1</YardID>
</SaveLedgerMapRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.