POST api/DirectiveMaster

Request Information

URI Parameters

None.

Body Parameters

DirectiveMaster
NameDescriptionTypeAdditional information
Id

integer

None.

ConformityTypeId

integer

None.

Name

string

None.

Description

string

None.

IsActive

boolean

None.

IsHide

boolean

None.

CreatedDate

date

None.

CreatedBy

integer

None.

LastModifiedDate

date

None.

LastModifiedBy

integer

None.

DeletedDate

date

None.

DeletedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ConformityTypeId": 2,
  "Name": "sample string 3",
  "Description": "sample string 4",
  "IsActive": true,
  "IsHide": true,
  "CreatedDate": "2025-08-29T20:22:14.3876052+00:00",
  "CreatedBy": 8,
  "LastModifiedDate": "2025-08-29T20:22:14.3876052+00:00",
  "LastModifiedBy": 10,
  "DeletedDate": "2025-08-29T20:22:14.3876052+00:00",
  "DeletedBy": 1
}

application/xml, text/xml

Sample:
<DirectiveMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSCWebAPI.Domain">
  <ConformityTypeId>2</ConformityTypeId>
  <CreatedBy>8</CreatedBy>
  <CreatedDate>2025-08-29T20:22:14.3876052+00:00</CreatedDate>
  <DeletedBy>1</DeletedBy>
  <DeletedDate>2025-08-29T20:22:14.3876052+00:00</DeletedDate>
  <Description>sample string 4</Description>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <IsHide>true</IsHide>
  <LastModifiedBy>10</LastModifiedBy>
  <LastModifiedDate>2025-08-29T20:22:14.3876052+00:00</LastModifiedDate>
  <Name>sample string 3</Name>
</DirectiveMaster>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.