POST api/MenuMaster

Request Information

URI Parameters

None.

Body Parameters

C_MenuMaster
NameDescriptionTypeAdditional information
Id

integer

None.

MenuName

string

None.

ParentMenuId

integer

None.

PathName

string

None.

IconName

string

None.

SerialNo

integer

None.

CreatedBy

integer

None.

CreatedOn

date

None.

ModifiedBy

integer

None.

ModifiedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "MenuName": "sample string 2",
  "ParentMenuId": 3,
  "PathName": "sample string 4",
  "IconName": "sample string 5",
  "SerialNo": 6,
  "CreatedBy": 1,
  "CreatedOn": "2024-04-26T14:28:49.6474163+00:00",
  "ModifiedBy": 1,
  "ModifiedOn": "2024-04-26T14:28:49.6474163+00:00"
}

application/xml, text/xml

Sample:
<C_MenuMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models">
  <CreatedBy>1</CreatedBy>
  <CreatedOn>2024-04-26T14:28:49.6474163+00:00</CreatedOn>
  <IconName>sample string 5</IconName>
  <Id>1</Id>
  <MenuName>sample string 2</MenuName>
  <ModifiedBy>1</ModifiedBy>
  <ModifiedOn>2024-04-26T14:28:49.6474163+00:00</ModifiedOn>
  <ParentMenuId>3</ParentMenuId>
  <PathName>sample string 4</PathName>
  <SerialNo>6</SerialNo>
</C_MenuMaster>

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

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.