POST api/P_ProductMainGroup

Request Information

URI Parameters

None.

Body Parameters

C_P_ProductMainGroup
NameDescriptionTypeAdditional information
Id

integer

None.

MainGroupName

string

None.

DiscountFlag

string

None.

BranchCode

integer

None.

CreatedBy

integer

None.

CreatedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "MainGroupName": "sample string 2",
  "DiscountFlag": "sample string 3",
  "BranchCode": 4,
  "CreatedBy": 1,
  "CreatedOn": "2024-04-27T20:43:38.8337922+00:00"
}

application/xml, text/xml

Sample:
<C_P_ProductMainGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models">
  <BranchCode>4</BranchCode>
  <CreatedBy>1</CreatedBy>
  <CreatedOn>2024-04-27T20:43:38.8337922+00:00</CreatedOn>
  <DiscountFlag>sample string 3</DiscountFlag>
  <Id>1</Id>
  <MainGroupName>sample string 2</MainGroupName>
</C_P_ProductMainGroup>

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

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.