PUT api/ProductType

Request Information

URI Parameters

None.

Body Parameters

C_ProductType
NameDescriptionTypeAdditional information
Id

integer

None.

ProductTypeName

string

None.

ProductGroupId

integer

None.

BrandId

integer

None.

CreatedBy

integer

None.

CreatedOn

date

None.

ModifiedBy

integer

None.

ModifiedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ProductTypeName": "sample string 2",
  "ProductGroupId": 3,
  "BrandId": 4,
  "CreatedBy": 1,
  "CreatedOn": "2024-04-27T14:34:52.767052+00:00",
  "ModifiedBy": 1,
  "ModifiedOn": "2024-04-27T14:34:52.767052+00:00"
}

application/xml, text/xml

Sample:
<C_ProductType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models">
  <BrandId>4</BrandId>
  <CreatedBy>1</CreatedBy>
  <CreatedOn>2024-04-27T14:34:52.767052+00:00</CreatedOn>
  <Id>1</Id>
  <ModifiedBy>1</ModifiedBy>
  <ModifiedOn>2024-04-27T14:34:52.767052+00:00</ModifiedOn>
  <ProductGroupId>3</ProductGroupId>
  <ProductTypeName>sample string 2</ProductTypeName>
</C_ProductType>

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

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.