POST v1/Users/{userId}/JobOrders/{jobId}/Notes
This will allow saving a new job note for the given job order. If the job note Id is not zero, a Bad Request will be returned with an error response object.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userId |
userId |
string |
Required |
jobId |
jobId |
string |
Required |
Body Parameters
note
NoteName | Description | Type | Additional 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": "29397744-fe5a-41fe-914c-43a160e5f50b", "UserId": "fb8fb803-4ff1-4774-ba5d-bcbdb56950c0", "Value": "sample string 4", "Subject": "sample string 5", "IsHidden": true, "CreatedBy": "sample string 7", "CreatedDate": "2025-07-04T08:10:36.1905418-04:00", "UpdatedBy": "sample string 9", "UpdatedDate": "2025-07-04T08:10:36.1905418-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-07-04T08:10:36.1905418-04:00</CreatedDate> <Id>1</Id> <IsHidden>true</IsHidden> <JobOrderId>29397744-fe5a-41fe-914c-43a160e5f50b</JobOrderId> <Subject>sample string 5</Subject> <UpdatedBy>sample string 9</UpdatedBy> <UpdatedDate>2025-07-04T08:10:36.1905418-04:00</UpdatedDate> <UserId>fb8fb803-4ff1-4774-ba5d-bcbdb56950c0</UserId> <Value>sample string 4</Value> </Note>
application/x-www-form-urlencoded
Sample:
application/x-msgpack
Sample:
��sample string 7ӈݺ�ț ðDw9)Z��A�LC�`���sample string 5�sample string 9ӈݺ�ț �����OtG�]���iP��sample string 4
Response Information
Resource Description
IHttpActionResult
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.