POST api/Caliculate/InsertMachine

Request Information

URI Parameters

None.

Body Parameters

machineExt
NameDescriptionTypeAdditional information
MachineID

string

None.

MachineName

string

None.

MachineModel

string

None.

MachineSerialNo

string

None.

MachineYear

string

None.

WorkType

integer

None.

WorkTypeStr

string

None.

Request Formats

application/json, text/json

Sample:
{
  "MachineID": "sample string 1",
  "MachineName": "sample string 2",
  "MachineModel": "sample string 3",
  "MachineSerialNo": "sample string 4",
  "MachineYear": "sample string 5",
  "WorkType": 6,
  "WorkTypeStr": "sample string 7"
}

application/xml, text/xml

Sample:
<machineExt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataLayer">
  <MachineID>sample string 1</MachineID>
  <MachineModel>sample string 3</MachineModel>
  <MachineName>sample string 2</MachineName>
  <MachineSerialNo>sample string 4</MachineSerialNo>
  <MachineYear>sample string 5</MachineYear>
  <WorkType>6</WorkType>
  <WorkTypeStr>sample string 7</WorkTypeStr>
</machineExt>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.