POST PBASystems/MotorCategories/Post

Request Information

URI Parameters

None.

Body Parameters

MotorCategory
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

MotorCategoryType

string

None.

ShowStroke

integer

None.

MaxCoilTempConstant

decimal number

None.

ShowSafetFactor

integer

None.

MotorSelectionBase

string

None.

DefaultLoweSafetyMargin

integer

None.

DefaultHighSafetyMargin

integer

None.

ServoDriveBase

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "MotorCategoryType": "sample string 3",
  "ShowStroke": 4,
  "MaxCoilTempConstant": 5.1,
  "ShowSafetFactor": 6,
  "MotorSelectionBase": "sample string 7",
  "DefaultLoweSafetyMargin": 8,
  "DefaultHighSafetyMargin": 9,
  "ServoDriveBase": "sample string 10"
}

application/xml, text/xml

Sample:
<MotorCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MotorSizer.Entities">
  <DefaultHighSafetyMargin>9</DefaultHighSafetyMargin>
  <DefaultLoweSafetyMargin>8</DefaultLoweSafetyMargin>
  <Id>1</Id>
  <MaxCoilTempConstant>5.1</MaxCoilTempConstant>
  <MotorCategoryType>sample string 3</MotorCategoryType>
  <MotorSelectionBase>sample string 7</MotorSelectionBase>
  <Name>sample string 2</Name>
  <ServoDriveBase>sample string 10</ServoDriveBase>
  <ShowSafetFactor>6</ShowSafetFactor>
  <ShowStroke>4</ShowStroke>
</MotorCategory>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>