POST api/rectification/rectify

Rectify. Processes this rectification API request. The parameter and response sections describe the data exchanged with the API.

Request Information

URI Parameters

None.

Body Parameters

The rectification data contract supplied with the request.

RectificationDataContract
NameDescriptionTypeAdditional information
Description

The description value.

string

None.

Lines

The collection of lines.

Collection of RectificationLineDataContract

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "Description": "sample string 1",
  "Lines": [
    {
      "Amount": 1.0,
      "AccountId": 2,
      "DrOrCrSide": 0
    },
    {
      "Amount": 1.0,
      "AccountId": 2,
      "DrOrCrSide": 0
    }
  ]
}

Response Information

Resource Description

The response returned after the operation completes.

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.