POST api/Administrator/LicensePackage/Add

Request Information

URI Parameters

None.

Body Parameters

LicensePackageApiModel
NameDescriptionTypeAdditional information
EncId

string

None.

LicensePackageName

string

Required

Max length: 500

ModuleList

Collection of ModuleApiModel

None.

LicensePackagePrice

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "EncId": "sample string 1",
  "LicensePackageName": "sample string 2",
  "ModuleList": [
    {
      "EncId": "sample string 1",
      "ModuleName": "sample string 2",
      "ModulePrice": 3.0,
      "ModuleType": 4
    },
    {
      "EncId": "sample string 1",
      "ModuleName": "sample string 2",
      "ModulePrice": 3.0,
      "ModuleType": 4
    }
  ],
  "LicensePackagePrice": 3.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 'LicensePackageApiModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.