POST api/P_ProductGroup/UploadDetail?CreatedBy={CreatedBy}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CreatedBy

integer

Required

Body Parameters

Collection of C_P_ProductGroup
NameDescriptionTypeAdditional information
Id

integer

None.

ProductGroupName

string

None.

MainGroupId

integer

None.

CreatedBy

integer

None.

CreatedOn

date

None.

BranchCode

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "ProductGroupName": "sample string 2",
    "MainGroupId": 3,
    "CreatedBy": 1,
    "CreatedOn": "2024-04-28T04:14:46.9916504+00:00",
    "BranchCode": 4
  },
  {
    "Id": 1,
    "ProductGroupName": "sample string 2",
    "MainGroupId": 3,
    "CreatedBy": 1,
    "CreatedOn": "2024-04-28T04:14:46.9916504+00:00",
    "BranchCode": 4
  }
]

application/xml, text/xml

Sample:
<ArrayOfC_P_ProductGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models">
  <C_P_ProductGroup>
    <BranchCode>4</BranchCode>
    <CreatedBy>1</CreatedBy>
    <CreatedOn>2024-04-28T04:14:46.9916504+00:00</CreatedOn>
    <Id>1</Id>
    <MainGroupId>3</MainGroupId>
    <ProductGroupName>sample string 2</ProductGroupName>
  </C_P_ProductGroup>
  <C_P_ProductGroup>
    <BranchCode>4</BranchCode>
    <CreatedBy>1</CreatedBy>
    <CreatedOn>2024-04-28T04:14:46.9916504+00:00</CreatedOn>
    <Id>1</Id>
    <MainGroupId>3</MainGroupId>
    <ProductGroupName>sample string 2</ProductGroupName>
  </C_P_ProductGroup>
</ArrayOfC_P_ProductGroup>

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_ProductGroup[]'.

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.