POST api/masterdataandvalues/valueType/addedit

Request Information

URI Parameters

None.

Body Parameters

MasterValueTypeAddEditRequest
NameDescriptionTypeAdditional information
ValueTypeId

integer

None.

ValueTypeGroupId

integer

None.

FK_ForeignKeyID

integer

None.

FK_SubjectTypeID

integer

None.

Code

string

None.

Name

string

None.

Strength

integer

None.

DisplayOrder

integer

None.

IsEmployeeLeaveType

boolean

None.

IsStudentLeaveType

boolean

None.

IsActive

boolean

None.

IsSystemReserved

boolean

None.

IsforUser

boolean

None.

ActionBy

integer

None.

ActionDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ValueTypeId": 1,
  "ValueTypeGroupId": 2,
  "FK_ForeignKeyID": 3,
  "FK_SubjectTypeID": 4,
  "Code": "sample string 5",
  "Name": "sample string 6",
  "Strength": 7,
  "DisplayOrder": 8,
  "IsEmployeeLeaveType": true,
  "IsStudentLeaveType": true,
  "IsActive": true,
  "IsSystemReserved": true,
  "IsforUser": true,
  "ActionBy": 14,
  "ActionDate": "2026-05-27T08:00:06.7432833-07:00"
}

text/html

Sample:
{"ValueTypeId":1,"ValueTypeGroupId":2,"FK_ForeignKeyID":3,"FK_SubjectTypeID":4,"Code":"sample string 5","Name":"sample string 6","Strength":7,"DisplayOrder":8,"IsEmployeeLeaveType":true,"IsStudentLeaveType":true,"IsActive":true,"IsSystemReserved":true,"IsforUser":true,"ActionBy":14,"ActionDate":"2026-05-27T08:00:06.7432833-07:00"}

application/xml, text/xml

Sample:
<MasterValueTypeAddEditRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EduStudio360API.Models">
  <ActionBy>14</ActionBy>
  <ActionDate>2026-05-27T08:00:06.7432833-07:00</ActionDate>
  <Code>sample string 5</Code>
  <DisplayOrder>8</DisplayOrder>
  <FK_ForeignKeyID>3</FK_ForeignKeyID>
  <FK_SubjectTypeID>4</FK_SubjectTypeID>
  <IsActive>true</IsActive>
  <IsEmployeeLeaveType>true</IsEmployeeLeaveType>
  <IsStudentLeaveType>true</IsStudentLeaveType>
  <IsSystemReserved>true</IsSystemReserved>
  <IsforUser>true</IsforUser>
  <Name>sample string 6</Name>
  <Strength>7</Strength>
  <ValueTypeGroupId>2</ValueTypeGroupId>
  <ValueTypeId>1</ValueTypeId>
</MasterValueTypeAddEditRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.