POST api/Masters/ProductType

Request Information

URI Parameters

None.

Body Parameters

ProductTypes
NameDescriptionTypeAdditional information
Id

integer

None.

ProductTypeName

string

None.

ProductTypeNameAR

string

None.

Status

boolean

None.

TenantId

integer

None.

CreatedBy

integer

None.

CreatedDate

date

None.

UpdatedBy

integer

None.

UpdatedDate

date

None.

IsDeleted

boolean

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ProductTypeName": "sample string 2",
  "ProductTypeNameAR": "sample string 3",
  "Status": true,
  "TenantId": 5,
  "CreatedBy": 6,
  "CreatedDate": "2025-12-13T10:30:51.6159114+05:00",
  "UpdatedBy": 8,
  "UpdatedDate": "2025-12-13T10:30:51.6159114+05:00",
  "IsDeleted": true,
  "IsActive": true
}

text/xml

Sample:
<ProductTypes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MotoClaims.Entities.Product">
  <CreatedBy>6</CreatedBy>
  <CreatedDate>2025-12-13T10:30:51.6159114+05:00</CreatedDate>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <IsDeleted>true</IsDeleted>
  <ProductTypeName>sample string 2</ProductTypeName>
  <ProductTypeNameAR>sample string 3</ProductTypeNameAR>
  <Status>true</Status>
  <TenantId>5</TenantId>
  <UpdatedBy>8</UpdatedBy>
  <UpdatedDate>2025-12-13T10:30:51.6159114+05:00</UpdatedDate>
</ProductTypes>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.