POST api/P_ProductType
Request Information
URI Parameters
None.
Body Parameters
C_P_ProductType| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ProductTypeName | string |
None. |
|
| ProductGroupId | integer |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedOn | date |
None. |
|
| BranchCode | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"ProductTypeName": "sample string 2",
"ProductGroupId": 3,
"CreatedBy": 1,
"CreatedOn": "2025-12-17T23:57:26.4101891+00:00",
"BranchCode": 4
}
application/xml, text/xml
Sample:
<C_P_ProductType 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-12-17T23:57:26.4101891+00:00</CreatedOn> <Id>1</Id> <ProductGroupId>3</ProductGroupId> <ProductTypeName>sample string 2</ProductTypeName> </C_P_ProductType>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | 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. |