POST api/TransWorkshopSpareParts
Request Information
URI Parameters
None.
Body Parameters
TransWorkshopSpareParts| Name | Description | Type | Additional information |
|---|---|---|---|
| WorkshopSparePartsId | decimal number |
None. |
|
| TransSparePartsId | decimal number |
None. |
|
| SparePartsName | string |
None. |
|
| ClientName | string |
None. |
|
| LinkCode | string |
None. |
|
| SparePartsCategoryName | string |
None. |
|
| SparePartsSubCategoryName | string |
None. |
|
| ItemName | string |
None. |
|
| ItemCode | string |
None. |
|
| PurchasePrice | decimal number |
None. |
|
| SalesPrice | decimal number |
None. |
|
| GSTRate | decimal number |
None. |
|
| QtyInStock | decimal number |
None. |
|
| MinQty | decimal number |
None. |
|
| MaxQty | decimal number |
None. |
|
| ReOrderQty | decimal number |
None. |
|
| WorkshopId | decimal number |
None. |
|
| WorkshopName | string |
None. |
|
| RackName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"WorkshopSparePartsId": 1.1,
"TransSparePartsId": 2.1,
"SparePartsName": "sample string 3",
"ClientName": "sample string 4",
"LinkCode": "sample string 5",
"SparePartsCategoryName": "sample string 6",
"SparePartsSubCategoryName": "sample string 7",
"ItemName": "sample string 8",
"ItemCode": "sample string 9",
"PurchasePrice": 10.1,
"SalesPrice": 11.1,
"GSTRate": 12.1,
"QtyInStock": 13.1,
"MinQty": 14.1,
"MaxQty": 15.1,
"ReOrderQty": 16.1,
"WorkshopId": 17.1,
"WorkshopName": "sample string 18",
"RackName": "sample string 19"
}
application/xml, text/xml
Sample:
<TransWorkshopSpareParts xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GMSClass.ClientData.Plain"> <ClientName>sample string 4</ClientName> <GSTRate>12.1</GSTRate> <ItemCode>sample string 9</ItemCode> <ItemName>sample string 8</ItemName> <LinkCode>sample string 5</LinkCode> <MaxQty>15.1</MaxQty> <MinQty>14.1</MinQty> <PurchasePrice>10.1</PurchasePrice> <QtyInStock>13.1</QtyInStock> <RackName>sample string 19</RackName> <ReOrderQty>16.1</ReOrderQty> <SalesPrice>11.1</SalesPrice> <SparePartsCategoryName>sample string 6</SparePartsCategoryName> <SparePartsName>sample string 3</SparePartsName> <SparePartsSubCategoryName>sample string 7</SparePartsSubCategoryName> <TransSparePartsId>2.1</TransSparePartsId> <WorkshopId>17.1</WorkshopId> <WorkshopName>sample string 18</WorkshopName> <WorkshopSparePartsId>1.1</WorkshopSparePartsId> </TransWorkshopSpareParts>
application/x-www-form-urlencoded
Sample:
Sample not available.
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. |