POST api/MachineryEssentialQuestion
Request Information
URI Parameters
None.
Body Parameters
MachineryEssentialQuestion| Name | Description | Type | Additional 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-12-16T01:03:27.6769448+00:00",
"CreatedBy": 8,
"LastModifiedDate": "2025-12-16T01:03:27.6769448+00:00",
"LastModifiedBy": 10,
"DeletedDate": "2025-12-16T01:03:27.6769448+00:00",
"DeletedBy": 1,
"MachineryEssentialQuestionNote": {
"Id": 1,
"MachineryEssentialQuestionId": 2,
"Description": "sample string 3",
"CreatedDate": "2025-12-16T01:03:27.6769448+00:00",
"CreatedBy": 5,
"LastModifiedDate": "2025-12-16T01:03:27.6769448+00:00",
"LastModifiedBy": 7,
"DeletedDate": "2025-12-16T01:03:27.6769448+00:00",
"DeletedBy": 1
},
"MachineryEssentialAnswer": {
"Id": 1,
"MarkingProcessId": 2,
"MachineryEssentialId": 3,
"MachineryQuestionId": 4,
"LocationOfInformation": "sample string 5",
"Comment": "sample string 6",
"IsCompleted": true,
"InMachineSafe": true,
"CreatedDate": "2025-12-16T01:03:27.6769448+00:00",
"CreatedBy": 10,
"LastModifiedDate": "2025-12-16T01:03:27.6769448+00:00",
"LastModifiedBy": 12,
"DeletedDate": "2025-12-16T01:03:27.6769448+00:00",
"DeletedBy": 1,
"LocalId": 13,
"LocalMarkingProcessId": 14
}
}
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-12-16T01:03:27.6769448+00:00</CreatedDate>
<DeletedBy>1</DeletedBy>
<DeletedDate>2025-12-16T01:03:27.6769448+00:00</DeletedDate>
<Id>1</Id>
<IsHide>true</IsHide>
<IsNote>true</IsNote>
<LastModifiedBy>10</LastModifiedBy>
<LastModifiedDate>2025-12-16T01:03:27.6769448+00:00</LastModifiedDate>
<MachineryEssentialAnswer>
<Comment>sample string 6</Comment>
<CreatedBy>10</CreatedBy>
<CreatedDate>2025-12-16T01:03:27.6769448+00:00</CreatedDate>
<DeletedBy>1</DeletedBy>
<DeletedDate>2025-12-16T01:03:27.6769448+00:00</DeletedDate>
<Id>1</Id>
<InMachineSafe>true</InMachineSafe>
<IsCompleted>true</IsCompleted>
<LastModifiedBy>12</LastModifiedBy>
<LastModifiedDate>2025-12-16T01:03:27.6769448+00:00</LastModifiedDate>
<LocalId>13</LocalId>
<LocalMarkingProcessId>14</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-12-16T01:03:27.6769448+00:00</CreatedDate>
<DeletedBy>1</DeletedBy>
<DeletedDate>2025-12-16T01:03:27.6769448+00:00</DeletedDate>
<Description>sample string 3</Description>
<Id>1</Id>
<LastModifiedBy>7</LastModifiedBy>
<LastModifiedDate>2025-12-16T01:03:27.6769448+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
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.