POST api/P_ProductMainGroup
Request Information
URI Parameters
None.
Body Parameters
C_P_ProductMainGroupName | Description | Type | Additional 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": "2025-03-28T14:21:38.2134997+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>2025-03-28T14:21:38.2134997+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:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |