POST api/Leather/AddLeatherOperation
Request Information
URI Parameters
None.
Body Parameters
Leather| Name | Description | Type | Additional information |
|---|---|---|---|
| LeatherLabourTypeId | integer |
None. |
|
| LeatherTypeId | integer |
None. |
|
| LeatherChemicalTypeId | integer |
None. |
|
| LeatherOperationId | integer |
None. |
|
| LeatherProcessingMethodId | integer |
None. |
|
| CreatedBy | integer |
None. |
|
| OperationType | string |
None. |
|
| LeatherMachineId | integer |
None. |
|
| LeatherMachineName | string |
None. |
|
| LeatherMachineDesc | string |
None. |
|
| LeatherOperationName | string |
None. |
|
| LeatherOperationDesc | string |
None. |
|
| LeatherProcessingMethodName | string |
None. |
|
| LeatherProcessingMethodDesc | string |
None. |
|
| LeatherTypeName | string |
None. |
|
| LeatherTypeDesc | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"LeatherLabourTypeId": 1,
"LeatherTypeId": 2,
"LeatherChemicalTypeId": 3,
"LeatherOperationId": 4,
"LeatherProcessingMethodId": 5,
"CreatedBy": 6,
"OperationType": "sample string 7",
"LeatherMachineId": 8,
"LeatherMachineName": "sample string 9",
"LeatherMachineDesc": "sample string 10",
"LeatherOperationName": "sample string 11",
"LeatherOperationDesc": "sample string 12",
"LeatherProcessingMethodName": "sample string 13",
"LeatherProcessingMethodDesc": "sample string 14",
"LeatherTypeName": "sample string 15",
"LeatherTypeDesc": "sample string 16"
}
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>6</CreatedBy> <LeatherChemicalTypeId>3</LeatherChemicalTypeId> <LeatherLabourTypeId>1</LeatherLabourTypeId> <LeatherMachineDesc>sample string 10</LeatherMachineDesc> <LeatherMachineId>8</LeatherMachineId> <LeatherMachineName>sample string 9</LeatherMachineName> <LeatherOperationDesc>sample string 12</LeatherOperationDesc> <LeatherOperationId>4</LeatherOperationId> <LeatherOperationName>sample string 11</LeatherOperationName> <LeatherProcessingMethodDesc>sample string 14</LeatherProcessingMethodDesc> <LeatherProcessingMethodId>5</LeatherProcessingMethodId> <LeatherProcessingMethodName>sample string 13</LeatherProcessingMethodName> <LeatherTypeDesc>sample string 16</LeatherTypeDesc> <LeatherTypeId>2</LeatherTypeId> <LeatherTypeName>sample string 15</LeatherTypeName> <OperationType>sample string 7</OperationType> </Leather>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |