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": "17eea106-1268-4bdf-87ee-fe5f9115e7a4", "UserId": "6d4c5e64-6768-438e-b7ad-b4d5ad9f77a9", "Value": "sample string 4", "Subject": "sample string 5", "IsHidden": true, "CreatedBy": "sample string 7", "CreatedDate": "2025-05-13T07:46:13.5642873-04:00", "UpdatedBy": "sample string 9", "UpdatedDate": "2025-05-13T07:46:13.5642873-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-13T07:46:13.5642873-04:00</CreatedDate> <Id>1</Id> <IsHidden>true</IsHidden> <JobOrderId>17eea106-1268-4bdf-87ee-fe5f9115e7a4</JobOrderId> <Subject>sample string 5</Subject> <UpdatedBy>sample string 9</UpdatedBy> <UpdatedDate>2025-05-13T07:46:13.5642873-04:00</UpdatedDate> <UserId>6d4c5e64-6768-438e-b7ad-b4d5ad9f77a9</UserId> <Value>sample string 4</Value> </Note>
application/x-www-form-urlencoded
Sample:
application/x-msgpack
Sample:
��sample string 7ӈݒ�U �ð��h�K���_�礯sample string 5�sample string 9ӈݒ�U ��d^Lmhg�C���խ�w��sample string 4
Response Information
Resource Description
IHttpActionResult
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.