POST api/Module/AddModule

Request Information

URI Parameters

None.

Body Parameters

EditModuleModelExtended
NameDescriptionTypeAdditional information
Lines

Collection of Line

None.

LastModifiedDate

date

None.

IsDictation

boolean

None.

IsTraning

boolean

None.

IsPass

boolean

None.

IsCanBeDictation

boolean

None.

SoundTypeName

string

None.

InternalLevelNumber

integer

None.

InternalModuleNumber

integer

None.

WPMScale

integer

None.

Id

integer

Required

LevelId

integer

Required

IsSound

boolean

None.

Name

string

Required

Text

string

None.

ModuleDescriptor

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Lines": [
    {
      "Id": "sample string 1",
      "Text": "sample string 2",
      "ImagePath": "sample string 3",
      "ImageId": "30448e5b-278d-4661-92e9-fb038bf97ce2"
    },
    {
      "Id": "sample string 1",
      "Text": "sample string 2",
      "ImagePath": "sample string 3",
      "ImageId": "30448e5b-278d-4661-92e9-fb038bf97ce2"
    }
  ],
  "LastModifiedDate": "2025-08-29T01:30:47.9345981+00:00",
  "IsDictation": true,
  "IsTraning": true,
  "IsPass": true,
  "IsCanBeDictation": true,
  "SoundTypeName": "sample string 5",
  "InternalLevelNumber": 6,
  "InternalModuleNumber": 7,
  "WPMScale": 8,
  "Id": 9,
  "LevelId": 10,
  "IsSound": true,
  "Name": "sample string 12",
  "Text": "sample string 13",
  "ModuleDescriptor": "sample string 14"
}

application/octet-stream, text/plain

Sample:
{"Lines":[{"Id":"sample string 1","Text":"sample string 2","ImagePath":"sample string 3","ImageId":"30448e5b-278d-4661-92e9-fb038bf97ce2"},{"Id":"sample string 1","Text":"sample string 2","ImagePath":"sample string 3","ImageId":"30448e5b-278d-4661-92e9-fb038bf97ce2"}],"LastModifiedDate":"2025-08-29T01:30:47.9345981+00:00","IsDictation":true,"IsTraning":true,"IsPass":true,"IsCanBeDictation":true,"SoundTypeName":"sample string 5","InternalLevelNumber":6,"InternalModuleNumber":7,"WPMScale":8,"Id":9,"LevelId":10,"IsSound":true,"Name":"sample string 12","Text":"sample string 13","ModuleDescriptor":"sample string 14"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/octet-stream, text/plain

Sample:

Sample not available.