PUT v1/Users/{userId}/JobOrders/{jobId}/Notes/{noteId}

This will allow updating an existing job note for the given job order. Validation will include the same validation as inserting as well as ensure the user updating the note is the original author.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

userId

string

Required

jobId

jobId

string

Required

noteId

noteId

integer

Required

Body Parameters

note

Note
NameDescriptionTypeAdditional information
Id

integer

None.

JobOrderId

globally unique identifier

None.

UserId

globally unique identifier

None.

Value

string

Required

Max length: 3000

Subject

string

Required

Max length: 35

IsHidden

boolean

None.

CreatedBy

string

None.

CreatedDate

date

None.

UpdatedBy

string

None.

UpdatedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "JobOrderId": "038bac19-d6db-4567-b9f3-67076b9cf6de",
  "UserId": "8df33545-9ae8-415a-8e66-1b85d32ccfe3",
  "Value": "sample string 4",
  "Subject": "sample string 5",
  "IsHidden": true,
  "CreatedBy": "sample string 7",
  "CreatedDate": "2025-05-13T05:59:39.9217341-04:00",
  "UpdatedBy": "sample string 9",
  "UpdatedDate": "2025-05-13T05:59:39.9217341-04:00"
}

application/xml, text/xml

Sample:
<Note xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TGG.JOCService.Core.Models.JobOrder">
  <CreatedBy>sample string 7</CreatedBy>
  <CreatedDate>2025-05-13T05:59:39.9217341-04:00</CreatedDate>
  <Id>1</Id>
  <IsHidden>true</IsHidden>
  <JobOrderId>038bac19-d6db-4567-b9f3-67076b9cf6de</JobOrderId>
  <Subject>sample string 5</Subject>
  <UpdatedBy>sample string 9</UpdatedBy>
  <UpdatedDate>2025-05-13T05:59:39.9217341-04:00</UpdatedDate>
  <UserId>8df33545-9ae8-415a-8e66-1b85d32ccfe3</UserId>
  <Value>sample string 4</Value>
</Note>

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 'Note'.

application/x-msgpack

Sample:
��sample string 7ӈݒ�l��ð����gE��gk��ޯsample string 5�sample string 9ӈݒ�l���E5��ZA�f��,��sample string 4

Response Information

Resource Description

IHttpActionResult

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.