POST api/Instruction/AddInstruction

Dodanie pozycji instrukcji

Request Information

URI Parameters

None.

Body Parameters

InstructionAdd
NazwaOpisTypInformacje dodatkowe
Title

string

None.

Description

string

None.

Visible

boolean

None.

SortNo

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Title": "sample string 1",
  "Description": "sample string 2",
  "Visible": true,
  "SortNo": 4
}

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.