POST Note by context, contextId

Overview

Request

POST /[context]/[contextId]/Note

Request Information

Request Parameters

Name
Type
Requirement
Description
context
String
Mandatory
Bookings
contextId
Integer
Mandatory
ContextId in Request URI should be Booking ID
noteType
String
Mandatory
Supported note types 
•	 Leader (Valid for:  POST Note by context, contextId, context1, context1Id)
•	 Booking (Valid for: POST Note by context, contextId)
•	 Web (Valid for: POST Note by context, contextId)
text
String
Mandatory
Note text

Request Example

{
  "noteType": "Leader",
  "text": "test note"
}

Response Information

Response Properties

Name
Type
Description
id
Integer
ID of the resource
href
String
URI of the resource

Response Codes

HTTP status code
Description
200 OK
The resource was updated successfully
201 Created
The resource was created
400 Bad Request
The resource was malformed
401 Unauthorized
Missing or invalid API key
500 Internal Server Error
An unexpected error occurred on the API server
202 Accepted
The request was accepted
404 Not Found
The specified resource was not found
403 Forbidden
One or more parameters has already been set on the resource record and cannot be updated

Response Example

{
  "id": 887124,
  "href": "context/contextid/note/887124"
}