POST api/MachineMasters/PostMachineMaster
Request Information
URI Parameters
None.
Body Parameters
MachineMaster| Name | Description | Type | Additional information |
|---|---|---|---|
| SrNo | integer |
None. |
|
| Cmp_Code | string |
None. |
|
| Group | string |
None. |
|
| CategoryCode | string |
None. |
|
| MachineNo | string |
None. |
|
| MachineName | string |
None. |
|
| Make | string |
None. |
|
| Model | string |
None. |
|
| PMPlan | string |
None. |
|
| CapacityRangeFrom | decimal number |
None. |
|
| CapacityRangeTo | decimal number |
None. |
|
| Remark | string |
None. |
|
| Location | string |
None. |
|
| PurchaseDate | date |
None. |
|
| MachineCostPerHr | decimal number |
None. |
|
| StdProdPerHr | decimal number |
None. |
|
| McChar | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"SrNo": 1,
"Cmp_Code": "sample string 2",
"Group": "sample string 3",
"CategoryCode": "sample string 4",
"MachineNo": "sample string 5",
"MachineName": "sample string 6",
"Make": "sample string 7",
"Model": "sample string 8",
"PMPlan": "sample string 9",
"CapacityRangeFrom": 1.0,
"CapacityRangeTo": 1.0,
"Remark": "sample string 10",
"Location": "sample string 11",
"PurchaseDate": "2025-12-06T04:53:26.1416739+00:00",
"MachineCostPerHr": 1.0,
"StdProdPerHr": 1.0,
"McChar": "sample string 12"
}
application/xml, text/xml
Sample:
<MachineMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ItemMasterDemoAPI"> <CapacityRangeFrom>1</CapacityRangeFrom> <CapacityRangeTo>1</CapacityRangeTo> <CategoryCode>sample string 4</CategoryCode> <Cmp_Code>sample string 2</Cmp_Code> <Group>sample string 3</Group> <Location>sample string 11</Location> <MachineCostPerHr>1</MachineCostPerHr> <MachineName>sample string 6</MachineName> <MachineNo>sample string 5</MachineNo> <Make>sample string 7</Make> <McChar>sample string 12</McChar> <Model>sample string 8</Model> <PMPlan>sample string 9</PMPlan> <PurchaseDate>2025-12-06T04:53:26.1416739+00:00</PurchaseDate> <Remark>sample string 10</Remark> <SrNo>1</SrNo> <StdProdPerHr>1</StdProdPerHr> </MachineMaster>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
MachineMaster| Name | Description | Type | Additional information |
|---|---|---|---|
| SrNo | integer |
None. |
|
| Cmp_Code | string |
None. |
|
| Group | string |
None. |
|
| CategoryCode | string |
None. |
|
| MachineNo | string |
None. |
|
| MachineName | string |
None. |
|
| Make | string |
None. |
|
| Model | string |
None. |
|
| PMPlan | string |
None. |
|
| CapacityRangeFrom | decimal number |
None. |
|
| CapacityRangeTo | decimal number |
None. |
|
| Remark | string |
None. |
|
| Location | string |
None. |
|
| PurchaseDate | date |
None. |
|
| MachineCostPerHr | decimal number |
None. |
|
| StdProdPerHr | decimal number |
None. |
|
| McChar | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"SrNo": 1,
"Cmp_Code": "sample string 2",
"Group": "sample string 3",
"CategoryCode": "sample string 4",
"MachineNo": "sample string 5",
"MachineName": "sample string 6",
"Make": "sample string 7",
"Model": "sample string 8",
"PMPlan": "sample string 9",
"CapacityRangeFrom": 1.0,
"CapacityRangeTo": 1.0,
"Remark": "sample string 10",
"Location": "sample string 11",
"PurchaseDate": "2025-12-06T04:53:26.4036725+00:00",
"MachineCostPerHr": 1.0,
"StdProdPerHr": 1.0,
"McChar": "sample string 12"
}
application/xml, text/xml
Sample:
<MachineMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ItemMasterDemoAPI"> <CapacityRangeFrom>1</CapacityRangeFrom> <CapacityRangeTo>1</CapacityRangeTo> <CategoryCode>sample string 4</CategoryCode> <Cmp_Code>sample string 2</Cmp_Code> <Group>sample string 3</Group> <Location>sample string 11</Location> <MachineCostPerHr>1</MachineCostPerHr> <MachineName>sample string 6</MachineName> <MachineNo>sample string 5</MachineNo> <Make>sample string 7</Make> <McChar>sample string 12</McChar> <Model>sample string 8</Model> <PMPlan>sample string 9</PMPlan> <PurchaseDate>2025-12-06T04:53:26.4036725+00:00</PurchaseDate> <Remark>sample string 10</Remark> <SrNo>1</SrNo> <StdProdPerHr>1</StdProdPerHr> </MachineMaster>