POST api/v2/electrical/checklists/items/create

CreateElectricalCheckListItem

Request Information

URI Parameters

None.

Body Parameters

The command

CreateElectricalCheckListItemCommand
NameDescriptionTypeAdditional information
ElectricalCheckListId

universally unique identifier

Required

Kind

ElectricalCheckListItemKind

Required

EnableNotApplicable

boolean

None.

EnableObservations

boolean

None.

Description

string

Required

Max length: 1000

PositiveLabelText

string

Max length: 20

NegativeLabelText

string

Max length: 20

NotApplicableLabelText

string

Max length: 20

Order

integer (32 bits)

None.

Request Formats

application/json

Sample:
{
  "ElectricalCheckListId": "00000000-0000-0000-0000-000000000000",
  "Kind": "DistributionBoard",
  "EnableNotApplicable": true,
  "EnableObservations": true,
  "Description": "sample string 1",
  "PositiveLabelText": "sample string 2",
  "NegativeLabelText": "sample string 3",
  "NotApplicableLabelText": "sample string 4",
  "Order": 1
}

Response Information

Resource Description

CreateElectricalCheckListItemCommandResult

CreateElectricalCheckListItemCommandResult
NameDescriptionTypeAdditional information
Result

CreateElectricalCheckListItemCommandResultKind

Required

ElectricalCheckListItemId

universally unique identifier

Required

Response Formats

application/json

Sample:
{
  "Result": "Success",
  "ElectricalCheckListItemId": "00000000-0000-0000-0000-000000000000"
}