POST api/ParamMasterModels/UpdateTimeSlotColorDetail

Request Information

URI Parameters

None.

Body Parameters

ParamMasterModel
NameDescriptionTypeAdditional information
ID

integer

None.

Categary

string

None.

Name

string

None.

OtherName

string

None.

Description

string

None.

PRNHours

string

None.

NormalHours

string

None.

TimeSlotColor

string

None.

PRNTimeSlotColor

string

None.

ParentID

integer

None.

IsDelete

boolean

None.

IsActive

boolean

None.

CreatedDate

date

None.

UpdatedDate

date

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Categary": "sample string 2",
  "Name": "sample string 3",
  "OtherName": "sample string 4",
  "Description": "sample string 5",
  "PRNHours": "sample string 6",
  "NormalHours": "sample string 7",
  "TimeSlotColor": "sample string 8",
  "PRNTimeSlotColor": "sample string 9",
  "ParentID": 1,
  "IsDelete": true,
  "IsActive": true,
  "CreatedDate": "2026-06-30T14:13:25.525631+01:00",
  "UpdatedDate": "2026-06-30T14:13:25.525631+01:00",
  "CreatedBy": 1,
  "UpdatedBy": 1
}

text/xml

Sample:
<ParamMasterModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Models">
  <Categary>sample string 2</Categary>
  <CreatedBy>1</CreatedBy>
  <CreatedDate>2026-06-30T14:13:25.525631+01:00</CreatedDate>
  <Description>sample string 5</Description>
  <ID>1</ID>
  <IsActive>true</IsActive>
  <IsDelete>true</IsDelete>
  <Name>sample string 3</Name>
  <NormalHours>sample string 7</NormalHours>
  <OtherName>sample string 4</OtherName>
  <PRNHours>sample string 6</PRNHours>
  <PRNTimeSlotColor>sample string 9</PRNTimeSlotColor>
  <ParentID>1</ParentID>
  <TimeSlotColor>sample string 8</TimeSlotColor>
  <UpdatedBy>1</UpdatedBy>
  <UpdatedDate>2026-06-30T14:13:25.525631+01:00</UpdatedDate>
</ParamMasterModel>

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

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>