PUT api/services/Master/ProductType

Request Information

URI Parameters

None.

Body Parameters

UpMasterProductType
NameDescriptionTypeAdditional information
Id

decimal number

None.

Product_Type

string

Required

String length: inclusive between 0 and 20

Tagline

string

String length: inclusive between 0 and 200

Request Formats

application/json, text/json

Sample:
{
  "Id": 1.0,
  "Product_Type": "sample string 1",
  "Tagline": "sample string 2"
}

application/xml, text/xml

Sample:
<UpMasterProductType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebcomIndiaAPI.Models">
  <Id>1</Id>
  <Product_Type>sample string 1</Product_Type>
  <Tagline>sample string 2</Tagline>
</UpMasterProductType>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UpMasterProductType'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.