PUT api/WorkOrders/{id}/Reject

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

CommentInsertDTO
NameDescriptionTypeAdditional information
Id

integer None.
Subject

string None.
Body

string None.
WorkOrderNumber

string None.
AllowClient

boolean None.
VendorId

integer None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Subject": "sample string 2",
  "Body": "sample string 3",
  "WorkOrderNumber": "sample string 4",
  "AllowClient": true,
  "VendorId": 1
}

application/xml, text/xml

Sample:
<CommentInsertDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ControlESI.FMPilot.Core.BE.Entities.WorkOrder">
  <AllowClient>true</AllowClient>
  <Body>sample string 3</Body>
  <Id>1</Id>
  <Subject>sample string 2</Subject>
  <VendorId>1</VendorId>
  <WorkOrderNumber>sample string 4</WorkOrderNumber>
</CommentInsertDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>