POST api/MachineryEssentialQuestion/CreateDuplicate

Request Information

URI Parameters

None.

Body Parameters

MachineryEssentialQuestion
NameDescriptionTypeAdditional information
Id

integer

None.

MachineryEssentialId

integer

None.

SerialName

string

None.

Question

string

None.

IsNote

boolean

None.

IsHide

boolean

None.

CreatedDate

date

None.

CreatedBy

integer

None.

LastModifiedDate

date

None.

LastModifiedBy

integer

None.

DeletedDate

date

None.

DeletedBy

integer

None.

MachineryEssentialQuestionNote

MachineryEssentialQuestionNote

None.

MachineryEssentialAnswer

MachineryEssentialAnswer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "MachineryEssentialId": 2,
  "SerialName": "sample string 3",
  "Question": "sample string 4",
  "IsNote": true,
  "IsHide": true,
  "CreatedDate": "2025-08-29T20:29:36.7094754+00:00",
  "CreatedBy": 8,
  "LastModifiedDate": "2025-08-29T20:29:36.7094754+00:00",
  "LastModifiedBy": 10,
  "DeletedDate": "2025-08-29T20:29:36.7094754+00:00",
  "DeletedBy": 1,
  "MachineryEssentialQuestionNote": {
    "Id": 1,
    "MachineryEssentialQuestionId": 2,
    "Description": "sample string 3",
    "CreatedDate": "2025-08-29T20:29:36.7094754+00:00",
    "CreatedBy": 5,
    "LastModifiedDate": "2025-08-29T20:29:36.7094754+00:00",
    "LastModifiedBy": 7,
    "DeletedDate": "2025-08-29T20:29:36.7094754+00:00",
    "DeletedBy": 1
  },
  "MachineryEssentialAnswer": {
    "Id": 1,
    "MarkingProcessId": 2,
    "MachineryEssentialId": 3,
    "MachineryQuestionId": 4,
    "LocationOfInformation": "sample string 5",
    "Comment": "sample string 6",
    "IsCompleted": true,
    "CreatedDate": "2025-08-29T20:29:36.7094754+00:00",
    "CreatedBy": 9,
    "LastModifiedDate": "2025-08-29T20:29:36.7094754+00:00",
    "LastModifiedBy": 11,
    "DeletedDate": "2025-08-29T20:29:36.7094754+00:00",
    "DeletedBy": 1,
    "LocalId": 12,
    "LocalMarkingProcessId": 13
  }
}

application/xml, text/xml

Sample:
<MachineryEssentialQuestion xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSCWebAPI.Domain">
  <CreatedBy>8</CreatedBy>
  <CreatedDate>2025-08-29T20:29:36.7094754+00:00</CreatedDate>
  <DeletedBy>1</DeletedBy>
  <DeletedDate>2025-08-29T20:29:36.7094754+00:00</DeletedDate>
  <Id>1</Id>
  <IsHide>true</IsHide>
  <IsNote>true</IsNote>
  <LastModifiedBy>10</LastModifiedBy>
  <LastModifiedDate>2025-08-29T20:29:36.7094754+00:00</LastModifiedDate>
  <MachineryEssentialAnswer>
    <Comment>sample string 6</Comment>
    <CreatedBy>9</CreatedBy>
    <CreatedDate>2025-08-29T20:29:36.7094754+00:00</CreatedDate>
    <DeletedBy>1</DeletedBy>
    <DeletedDate>2025-08-29T20:29:36.7094754+00:00</DeletedDate>
    <Id>1</Id>
    <IsCompleted>true</IsCompleted>
    <LastModifiedBy>11</LastModifiedBy>
    <LastModifiedDate>2025-08-29T20:29:36.7094754+00:00</LastModifiedDate>
    <LocalId>12</LocalId>
    <LocalMarkingProcessId>13</LocalMarkingProcessId>
    <LocationOfInformation>sample string 5</LocationOfInformation>
    <MachineryEssentialId>3</MachineryEssentialId>
    <MachineryQuestionId>4</MachineryQuestionId>
    <MarkingProcessId>2</MarkingProcessId>
  </MachineryEssentialAnswer>
  <MachineryEssentialId>2</MachineryEssentialId>
  <MachineryEssentialQuestionNote>
    <CreatedBy>5</CreatedBy>
    <CreatedDate>2025-08-29T20:29:36.7094754+00:00</CreatedDate>
    <DeletedBy>1</DeletedBy>
    <DeletedDate>2025-08-29T20:29:36.7094754+00:00</DeletedDate>
    <Description>sample string 3</Description>
    <Id>1</Id>
    <LastModifiedBy>7</LastModifiedBy>
    <LastModifiedDate>2025-08-29T20:29:36.7094754+00:00</LastModifiedDate>
    <MachineryEssentialQuestionId>2</MachineryEssentialQuestionId>
  </MachineryEssentialQuestionNote>
  <Question>sample string 4</Question>
  <SerialName>sample string 3</SerialName>
</MachineryEssentialQuestion>

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.