GET api/Comments/WorkOrder/{workOrderId}/CommentPreInsert

Request Information

URI Parameters

NameDescriptionTypeAdditional information
workOrderId

integer

Required

Body Parameters

None

Response Information

Resource Description

CommentPreInsertFragment
NameDescriptionTypeAdditional information
Id

integer None.
Subject

string None.
CreateUser

string None.
CreateDateTime

date None.
AllowInternalChecked

boolean None.
AllowClientChecked

boolean None.
AllowVendorChecked

boolean None.
AllowCorporateChecked

boolean None.
AllowInternalEnabled

boolean None.
AllowClientEnabled

boolean None.
AllowVendorEnabled

boolean None.
AllowCorporateEnabled

boolean None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "subject": "sample string 2",
  "createUser": "sample string 3",
  "createDateTime": "2024-05-19T23:40:35.7000878Z",
  "allowInternalChecked": true,
  "allowClientChecked": true,
  "allowVendorChecked": true,
  "allowCorporateChecked": true,
  "allowInternalEnabled": true,
  "allowClientEnabled": true,
  "allowVendorEnabled": true,
  "allowCorporateEnabled": true
}

application/xml, text/xml

Sample:
<CommentPreInsertFragment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ControlESI.FMPilot.Core.BE.Entities.WorkOrder">
  <AllowClientChecked>true</AllowClientChecked>
  <AllowClientEnabled>true</AllowClientEnabled>
  <AllowCorporateChecked>true</AllowCorporateChecked>
  <AllowCorporateEnabled>true</AllowCorporateEnabled>
  <AllowInternalChecked>true</AllowInternalChecked>
  <AllowInternalEnabled>true</AllowInternalEnabled>
  <AllowVendorChecked>true</AllowVendorChecked>
  <AllowVendorEnabled>true</AllowVendorEnabled>
  <CreateDateTime>2024-05-19T23:40:35.7000878+00:00</CreateDateTime>
  <CreateUser>sample string 3</CreateUser>
  <Id>1</Id>
  <Subject>sample string 2</Subject>
</CommentPreInsertFragment>