POST api/services/Master/ProductGroup

Request Information

URI Parameters

None.

Body Parameters

InsMasterProductGroup
NameDescriptionTypeAdditional information
Product_Type_Id

integer

Required

Headline

string

String length: inclusive between 0 and 100

GroupName

string

String length: inclusive between 0 and 100

Tagline

string

String length: inclusive between 0 and 100

Request Formats

application/json, text/json

Sample:
{
  "Product_Type_Id": 1,
  "Headline": "sample string 2",
  "GroupName": "sample string 3",
  "Tagline": "sample string 4"
}

application/xml, text/xml

Sample:
<InsMasterProductGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebcomIndiaAPI.Models">
  <GroupName>sample string 3</GroupName>
  <Headline>sample string 2</Headline>
  <Product_Type_Id>1</Product_Type_Id>
  <Tagline>sample string 4</Tagline>
</InsMasterProductGroup>

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 'InsMasterProductGroup'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.