POST api/chargeByLawInMonth/import

Request Information

URI Parameters

None.

Body Parameters

Collection of ImportChargeParam
NameDescriptionTypeAdditional information
UserOrganizationID

string

None.

Year

string

None.

Month

integer

None.

ChargeValue

ImportChargeValue

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "UserOrganizationID": "sample string 1",
    "Year": "sample string 2",
    "Month": 3,
    "ChargeValue": {
      "ChargeTypeID": 1,
      "ChargeOrganizationID": 2,
      "Employees": [
        {
          "Name": "sample string 1",
          "Surname": "sample string 2",
          "CitizenID": "sample string 3",
          "HRPositionNumber": "sample string 4",
          "Amount": 1.0
        },
        {
          "Name": "sample string 1",
          "Surname": "sample string 2",
          "CitizenID": "sample string 3",
          "HRPositionNumber": "sample string 4",
          "Amount": 1.0
        }
      ]
    }
  },
  {
    "UserOrganizationID": "sample string 1",
    "Year": "sample string 2",
    "Month": 3,
    "ChargeValue": {
      "ChargeTypeID": 1,
      "ChargeOrganizationID": 2,
      "Employees": [
        {
          "Name": "sample string 1",
          "Surname": "sample string 2",
          "CitizenID": "sample string 3",
          "HRPositionNumber": "sample string 4",
          "Amount": 1.0
        },
        {
          "Name": "sample string 1",
          "Surname": "sample string 2",
          "CitizenID": "sample string 3",
          "HRPositionNumber": "sample string 4",
          "Amount": 1.0
        }
      ]
    }
  }
]

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 'ImportChargeParam[]'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.