POST api/MachineryEssentialAnswer/SyncMachineryEssentialAnswer

Request Information

URI Parameters

None.

Body Parameters

Collection of MachineryEssentialAnswer
NameDescriptionTypeAdditional information
Id

integer

None.

MarkingProcessId

integer

None.

MachineryEssentialId

integer

None.

MachineryQuestionId

integer

None.

LocationOfInformation

string

None.

Comment

string

None.

IsCompleted

boolean

None.

CreatedDate

date

None.

CreatedBy

integer

None.

LastModifiedDate

date

None.

LastModifiedBy

integer

None.

DeletedDate

date

None.

DeletedBy

integer

None.

LocalId

integer

None.

LocalMarkingProcessId

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "MarkingProcessId": 2,
    "MachineryEssentialId": 3,
    "MachineryQuestionId": 4,
    "LocationOfInformation": "sample string 5",
    "Comment": "sample string 6",
    "IsCompleted": true,
    "CreatedDate": "2025-08-29T20:24:23.1554369+00:00",
    "CreatedBy": 9,
    "LastModifiedDate": "2025-08-29T20:24:23.1554369+00:00",
    "LastModifiedBy": 11,
    "DeletedDate": "2025-08-29T20:24:23.1554369+00:00",
    "DeletedBy": 1,
    "LocalId": 12,
    "LocalMarkingProcessId": 13
  },
  {
    "Id": 1,
    "MarkingProcessId": 2,
    "MachineryEssentialId": 3,
    "MachineryQuestionId": 4,
    "LocationOfInformation": "sample string 5",
    "Comment": "sample string 6",
    "IsCompleted": true,
    "CreatedDate": "2025-08-29T20:24:23.1554369+00:00",
    "CreatedBy": 9,
    "LastModifiedDate": "2025-08-29T20:24:23.1554369+00:00",
    "LastModifiedBy": 11,
    "DeletedDate": "2025-08-29T20:24:23.1554369+00:00",
    "DeletedBy": 1,
    "LocalId": 12,
    "LocalMarkingProcessId": 13
  }
]

application/xml, text/xml

Sample:
<ArrayOfMachineryEssentialAnswer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSCWebAPI.Domain">
  <MachineryEssentialAnswer>
    <Comment>sample string 6</Comment>
    <CreatedBy>9</CreatedBy>
    <CreatedDate>2025-08-29T20:24:23.1554369+00:00</CreatedDate>
    <DeletedBy>1</DeletedBy>
    <DeletedDate>2025-08-29T20:24:23.1554369+00:00</DeletedDate>
    <Id>1</Id>
    <IsCompleted>true</IsCompleted>
    <LastModifiedBy>11</LastModifiedBy>
    <LastModifiedDate>2025-08-29T20:24:23.1554369+00:00</LastModifiedDate>
    <LocalId>12</LocalId>
    <LocalMarkingProcessId>13</LocalMarkingProcessId>
    <LocationOfInformation>sample string 5</LocationOfInformation>
    <MachineryEssentialId>3</MachineryEssentialId>
    <MachineryQuestionId>4</MachineryQuestionId>
    <MarkingProcessId>2</MarkingProcessId>
  </MachineryEssentialAnswer>
  <MachineryEssentialAnswer>
    <Comment>sample string 6</Comment>
    <CreatedBy>9</CreatedBy>
    <CreatedDate>2025-08-29T20:24:23.1554369+00:00</CreatedDate>
    <DeletedBy>1</DeletedBy>
    <DeletedDate>2025-08-29T20:24:23.1554369+00:00</DeletedDate>
    <Id>1</Id>
    <IsCompleted>true</IsCompleted>
    <LastModifiedBy>11</LastModifiedBy>
    <LastModifiedDate>2025-08-29T20:24:23.1554369+00:00</LastModifiedDate>
    <LocalId>12</LocalId>
    <LocalMarkingProcessId>13</LocalMarkingProcessId>
    <LocationOfInformation>sample string 5</LocationOfInformation>
    <MachineryEssentialId>3</MachineryEssentialId>
    <MachineryQuestionId>4</MachineryQuestionId>
    <MarkingProcessId>2</MarkingProcessId>
  </MachineryEssentialAnswer>
</ArrayOfMachineryEssentialAnswer>

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.