PUT api/TransSpareParts/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

decimal number

Required

Body Parameters

TransSpareParts
NameDescriptionTypeAdditional information
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.

HSNCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TransSparePartsId": 1.1,
  "SparePartsName": "sample string 2",
  "ClientName": "sample string 3",
  "LinkCode": "sample string 4",
  "SparePartsCategoryName": "sample string 5",
  "SparePartsSubCategoryName": "sample string 6",
  "ItemName": "sample string 7",
  "ItemCode": "sample string 8",
  "PurchasePrice": 9.1,
  "SalesPrice": 10.1,
  "GSTRate": 11.1,
  "HSNCode": "sample string 12"
}

application/xml, text/xml

Sample:
<TransSpareParts xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GMSClass.ClientData.Plain">
  <ClientName>sample string 3</ClientName>
  <GSTRate>11.1</GSTRate>
  <HSNCode>sample string 12</HSNCode>
  <ItemCode>sample string 8</ItemCode>
  <ItemName>sample string 7</ItemName>
  <LinkCode>sample string 4</LinkCode>
  <PurchasePrice>9.1</PurchasePrice>
  <SalesPrice>10.1</SalesPrice>
  <SparePartsCategoryName>sample string 5</SparePartsCategoryName>
  <SparePartsName>sample string 2</SparePartsName>
  <SparePartsSubCategoryName>sample string 6</SparePartsSubCategoryName>
  <TransSparePartsId>1.1</TransSparePartsId>
</TransSpareParts>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.