POST api/P_ProductMainGroup/UploadDetail?CreatedBy={CreatedBy}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
CreatedBy | integer |
Required |
Body Parameters
Collection of 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-28T17:55:02.8865127+00:00" }, { "Id": 1, "MainGroupName": "sample string 2", "DiscountFlag": "sample string 3", "BranchCode": 4, "CreatedBy": 1, "CreatedOn": "2025-03-28T17:55:02.8865127+00:00" } ]
application/xml, text/xml
Sample:
<ArrayOfC_P_ProductMainGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models"> <C_P_ProductMainGroup> <BranchCode>4</BranchCode> <CreatedBy>1</CreatedBy> <CreatedOn>2025-03-28T17:55:02.8865127+00:00</CreatedOn> <DiscountFlag>sample string 3</DiscountFlag> <Id>1</Id> <MainGroupName>sample string 2</MainGroupName> </C_P_ProductMainGroup> <C_P_ProductMainGroup> <BranchCode>4</BranchCode> <CreatedBy>1</CreatedBy> <CreatedOn>2025-03-28T17:55:02.8865127+00:00</CreatedOn> <DiscountFlag>sample string 3</DiscountFlag> <Id>1</Id> <MainGroupName>sample string 2</MainGroupName> </C_P_ProductMainGroup> </ArrayOfC_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. |