POST api/JobCardSpareParts

Request Information

URI Parameters

None.

Body Parameters

JobCardSpareParts
NameDescriptionTypeAdditional information
TransJobCardSparePartsId

decimal number

None.

JobCardCode

string

None.

LinkCode

string

None.

SparePartsName

string

None.

SparePartsCategoryName

string

None.

SparePartsSubCategoryName

string

None.

ItemName

string

None.

ItemCode

string

None.

SuretyTypeName

string

None.

Qty

decimal number

None.

SalesPrice

decimal number

None.

GSTRate

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "TransJobCardSparePartsId": 1.1,
  "JobCardCode": "sample string 2",
  "LinkCode": "sample string 3",
  "SparePartsName": "sample string 4",
  "SparePartsCategoryName": "sample string 5",
  "SparePartsSubCategoryName": "sample string 6",
  "ItemName": "sample string 7",
  "ItemCode": "sample string 8",
  "SuretyTypeName": "sample string 9",
  "Qty": 10.1,
  "SalesPrice": 11.1,
  "GSTRate": 12.1
}

application/xml, text/xml

Sample:
<JobCardSpareParts xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GMSClass.ClientData.Plain">
  <GSTRate>12.1</GSTRate>
  <ItemCode>sample string 8</ItemCode>
  <ItemName>sample string 7</ItemName>
  <JobCardCode>sample string 2</JobCardCode>
  <LinkCode>sample string 3</LinkCode>
  <Qty>10.1</Qty>
  <SalesPrice>11.1</SalesPrice>
  <SparePartsCategoryName>sample string 5</SparePartsCategoryName>
  <SparePartsName>sample string 4</SparePartsName>
  <SparePartsSubCategoryName>sample string 6</SparePartsSubCategoryName>
  <SuretyTypeName>sample string 9</SuretyTypeName>
  <TransJobCardSparePartsId>1.1</TransJobCardSparePartsId>
</JobCardSpareParts>

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.