POST api/Leather/AddLeatherProcessingMethod

Request Information

URI Parameters

None.

Body Parameters

Leather
NameDescriptionTypeAdditional information
CreatedBy

integer

None.

OperationType

string

None.

LeatherMachineId

integer

None.

LeatherMachineName

string

None.

LeatherMachineDesc

string

None.

LeatherOperationId

integer

None.

LeatherOperationName

string

None.

LeatherOperationDesc

string

None.

LeatherProcessingMethodId

integer

None.

LeatherProcessingMethodName

string

None.

LeatherProcessingMethodDesc

string

None.

LeatherTypeId

integer

None.

LeatherTypeName

string

None.

LeatherTypeDesc

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CreatedBy": 1,
  "OperationType": "sample string 2",
  "LeatherMachineId": 3,
  "LeatherMachineName": "sample string 4",
  "LeatherMachineDesc": "sample string 5",
  "LeatherOperationId": 6,
  "LeatherOperationName": "sample string 7",
  "LeatherOperationDesc": "sample string 8",
  "LeatherProcessingMethodId": 9,
  "LeatherProcessingMethodName": "sample string 10",
  "LeatherProcessingMethodDesc": "sample string 11",
  "LeatherTypeId": 12,
  "LeatherTypeName": "sample string 13",
  "LeatherTypeDesc": "sample string 14"
}

application/xml, text/xml

Sample:
<Leather xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/INTEGRAFFAPI.Models">
  <CreatedBy>1</CreatedBy>
  <LeatherMachineDesc>sample string 5</LeatherMachineDesc>
  <LeatherMachineId>3</LeatherMachineId>
  <LeatherMachineName>sample string 4</LeatherMachineName>
  <LeatherOperationDesc>sample string 8</LeatherOperationDesc>
  <LeatherOperationId>6</LeatherOperationId>
  <LeatherOperationName>sample string 7</LeatherOperationName>
  <LeatherProcessingMethodDesc>sample string 11</LeatherProcessingMethodDesc>
  <LeatherProcessingMethodId>9</LeatherProcessingMethodId>
  <LeatherProcessingMethodName>sample string 10</LeatherProcessingMethodName>
  <LeatherTypeDesc>sample string 14</LeatherTypeDesc>
  <LeatherTypeId>12</LeatherTypeId>
  <LeatherTypeName>sample string 13</LeatherTypeName>
  <OperationType>sample string 2</OperationType>
</Leather>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.