POST api/MachineryEssential/CreateDuplicate
Request Information
URI Parameters
None.
Body Parameters
MachineryEssentialName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
ConformityTypeId | integer |
None. |
|
MachineTypeId | integer |
None. |
|
Title | string |
None. |
|
IsHide | boolean |
None. |
|
CreatedDate | date |
None. |
|
CreatedBy | integer |
None. |
|
LastModifiedDate | date |
None. |
|
LastModifiedBy | integer |
None. |
|
DeletedDate | date |
None. |
|
DeletedBy | integer |
None. |
|
MachineryEssentialQuestions | Collection of MachineryEssentialQuestion |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "ConformityTypeId": 2, "MachineTypeId": 3, "Title": "sample string 4", "IsHide": true, "CreatedDate": "2025-08-29T20:22:18.3270318+00:00", "CreatedBy": 7, "LastModifiedDate": "2025-08-29T20:22:18.3270318+00:00", "LastModifiedBy": 9, "DeletedDate": "2025-08-29T20:22:18.3270318+00:00", "DeletedBy": 1, "MachineryEssentialQuestions": [ { "Id": 1, "MachineryEssentialId": 2, "SerialName": "sample string 3", "Question": "sample string 4", "IsNote": true, "IsHide": true, "CreatedDate": "2025-08-29T20:22:18.3270318+00:00", "CreatedBy": 8, "LastModifiedDate": "2025-08-29T20:22:18.3270318+00:00", "LastModifiedBy": 10, "DeletedDate": "2025-08-29T20:22:18.3270318+00:00", "DeletedBy": 1, "MachineryEssentialQuestionNote": { "Id": 1, "MachineryEssentialQuestionId": 2, "Description": "sample string 3", "CreatedDate": "2025-08-29T20:22:18.3270318+00:00", "CreatedBy": 5, "LastModifiedDate": "2025-08-29T20:22:18.3270318+00:00", "LastModifiedBy": 7, "DeletedDate": "2025-08-29T20:22:18.3270318+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:22:18.3270318+00:00", "CreatedBy": 9, "LastModifiedDate": "2025-08-29T20:22:18.3270318+00:00", "LastModifiedBy": 11, "DeletedDate": "2025-08-29T20:22:18.3270318+00:00", "DeletedBy": 1, "LocalId": 12, "LocalMarkingProcessId": 13 } }, { "Id": 1, "MachineryEssentialId": 2, "SerialName": "sample string 3", "Question": "sample string 4", "IsNote": true, "IsHide": true, "CreatedDate": "2025-08-29T20:22:18.3270318+00:00", "CreatedBy": 8, "LastModifiedDate": "2025-08-29T20:22:18.3270318+00:00", "LastModifiedBy": 10, "DeletedDate": "2025-08-29T20:22:18.3270318+00:00", "DeletedBy": 1, "MachineryEssentialQuestionNote": { "Id": 1, "MachineryEssentialQuestionId": 2, "Description": "sample string 3", "CreatedDate": "2025-08-29T20:22:18.3270318+00:00", "CreatedBy": 5, "LastModifiedDate": "2025-08-29T20:22:18.3270318+00:00", "LastModifiedBy": 7, "DeletedDate": "2025-08-29T20:22:18.3270318+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:22:18.3270318+00:00", "CreatedBy": 9, "LastModifiedDate": "2025-08-29T20:22:18.3270318+00:00", "LastModifiedBy": 11, "DeletedDate": "2025-08-29T20:22:18.3270318+00:00", "DeletedBy": 1, "LocalId": 12, "LocalMarkingProcessId": 13 } } ] }
application/xml, text/xml
Sample:
<MachineryEssential xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSCWebAPI.Domain"> <ConformityTypeId>2</ConformityTypeId> <CreatedBy>7</CreatedBy> <CreatedDate>2025-08-29T20:22:18.3270318+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:22:18.3270318+00:00</DeletedDate> <Id>1</Id> <IsHide>true</IsHide> <LastModifiedBy>9</LastModifiedBy> <LastModifiedDate>2025-08-29T20:22:18.3270318+00:00</LastModifiedDate> <MachineTypeId>3</MachineTypeId> <MachineryEssentialQuestions> <MachineryEssentialQuestion> <CreatedBy>8</CreatedBy> <CreatedDate>2025-08-29T20:22:18.3270318+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:22:18.3270318+00:00</DeletedDate> <Id>1</Id> <IsHide>true</IsHide> <IsNote>true</IsNote> <LastModifiedBy>10</LastModifiedBy> <LastModifiedDate>2025-08-29T20:22:18.3270318+00:00</LastModifiedDate> <MachineryEssentialAnswer> <Comment>sample string 6</Comment> <CreatedBy>9</CreatedBy> <CreatedDate>2025-08-29T20:22:18.3270318+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:22:18.3270318+00:00</DeletedDate> <Id>1</Id> <IsCompleted>true</IsCompleted> <LastModifiedBy>11</LastModifiedBy> <LastModifiedDate>2025-08-29T20:22:18.3270318+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:22:18.3270318+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:22:18.3270318+00:00</DeletedDate> <Description>sample string 3</Description> <Id>1</Id> <LastModifiedBy>7</LastModifiedBy> <LastModifiedDate>2025-08-29T20:22:18.3270318+00:00</LastModifiedDate> <MachineryEssentialQuestionId>2</MachineryEssentialQuestionId> </MachineryEssentialQuestionNote> <Question>sample string 4</Question> <SerialName>sample string 3</SerialName> </MachineryEssentialQuestion> <MachineryEssentialQuestion> <CreatedBy>8</CreatedBy> <CreatedDate>2025-08-29T20:22:18.3270318+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:22:18.3270318+00:00</DeletedDate> <Id>1</Id> <IsHide>true</IsHide> <IsNote>true</IsNote> <LastModifiedBy>10</LastModifiedBy> <LastModifiedDate>2025-08-29T20:22:18.3270318+00:00</LastModifiedDate> <MachineryEssentialAnswer> <Comment>sample string 6</Comment> <CreatedBy>9</CreatedBy> <CreatedDate>2025-08-29T20:22:18.3270318+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:22:18.3270318+00:00</DeletedDate> <Id>1</Id> <IsCompleted>true</IsCompleted> <LastModifiedBy>11</LastModifiedBy> <LastModifiedDate>2025-08-29T20:22:18.3270318+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:22:18.3270318+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:22:18.3270318+00:00</DeletedDate> <Description>sample string 3</Description> <Id>1</Id> <LastModifiedBy>7</LastModifiedBy> <LastModifiedDate>2025-08-29T20:22:18.3270318+00:00</LastModifiedDate> <MachineryEssentialQuestionId>2</MachineryEssentialQuestionId> </MachineryEssentialQuestionNote> <Question>sample string 4</Question> <SerialName>sample string 3</SerialName> </MachineryEssentialQuestion> </MachineryEssentialQuestions> <Title>sample string 4</Title> </MachineryEssential>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.