POST api/WorkOrderNotes

Request Information

URI Parameters

None.

Body Parameters

WorkOrderNote
NameDescriptionTypeAdditional information
WorkOrderNoteId

integer

None.

WorkOrderId

integer

None.

Note

string

None.

DateCreated

date

None.

DateUpdated

date

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

ByName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "WorkOrderNoteId": 1,
  "WorkOrderId": 2,
  "Note": "sample string 3",
  "DateCreated": "2020-08-28T20:58:34.6506191+00:00",
  "DateUpdated": "2020-08-28T20:58:34.6506191+00:00",
  "CreatedBy": 6,
  "UpdatedBy": 7,
  "ByName": "sample string 8"
}

application/xml, text/xml

Sample:
<WorkOrderNote xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <ByName>sample string 8</ByName>
  <CreatedBy>6</CreatedBy>
  <DateCreated>2020-08-28T20:58:34.6506191+00:00</DateCreated>
  <DateUpdated>2020-08-28T20:58:34.6506191+00:00</DateUpdated>
  <Note>sample string 3</Note>
  <UpdatedBy>7</UpdatedBy>
  <WorkOrderId>2</WorkOrderId>
  <WorkOrderNoteId>1</WorkOrderNoteId>
</WorkOrderNote>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'WorkOrderNote'.

Response Information

Resource Description

WorkOrderNote
NameDescriptionTypeAdditional information
WorkOrderNoteId

integer

None.

WorkOrderId

integer

None.

Note

string

None.

DateCreated

date

None.

DateUpdated

date

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

ByName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "WorkOrderNoteId": 1,
  "WorkOrderId": 2,
  "Note": "sample string 3",
  "DateCreated": "2020-08-28T20:58:34.6506191+00:00",
  "DateUpdated": "2020-08-28T20:58:34.6506191+00:00",
  "CreatedBy": 6,
  "UpdatedBy": 7,
  "ByName": "sample string 8"
}

application/xml, text/xml

Sample:
<WorkOrderNote xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <ByName>sample string 8</ByName>
  <CreatedBy>6</CreatedBy>
  <DateCreated>2020-08-28T20:58:34.6506191+00:00</DateCreated>
  <DateUpdated>2020-08-28T20:58:34.6506191+00:00</DateUpdated>
  <Note>sample string 3</Note>
  <UpdatedBy>7</UpdatedBy>
  <WorkOrderId>2</WorkOrderId>
  <WorkOrderNoteId>1</WorkOrderNoteId>
</WorkOrderNote>