POST api/CRUD_API2/CreateMasterData

Request Information

URI Parameters

None.

Body Parameters

MasterData
NameDescriptionTypeAdditional information
MD_ID

integer

None.

Master_Type

string

None.

Master_Fields

string

None.

Roles

string

None.

RoleName

string

None.

Timestamps

string

None.

Request Formats

application/json, text/json

Sample:
{
  "MD_ID": 1,
  "Master_Type": "sample string 2",
  "Master_Fields": "sample string 3",
  "Roles": "sample string 4",
  "RoleName": "sample string 5",
  "Timestamps": "sample string 6"
}

application/xml, text/xml

Sample:
<PKController.MasterData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRUD_API2.Controllers">
  <MD_ID>1</MD_ID>
  <Master_Fields>sample string 3</Master_Fields>
  <Master_Type>sample string 2</Master_Type>
  <RoleName>sample string 5</RoleName>
  <Roles>sample string 4</Roles>
  <Timestamps>sample string 6</Timestamps>
</PKController.MasterData>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.