POST api/Inspections/{id}/Notes
Creates a new note for the given inspection. Note: Requires a valid access token to be provided in the request's auth header.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Id of inspection. |
string |
Required |
Body Parameters
Note to insert.
CrmNoteName | Description | Type | Additional information |
---|---|---|---|
Name |
Name (subject) of the note. |
string |
Required |
Content |
Content of the note. |
string |
Required |
CreatedBy |
Author of the note. |
string |
Optional |
CreatedOn |
Date and time the note was created. |
date |
Optional |
Reference |
Used to reference the entity in CRM. |
EntityReference |
Optional |
SystemDate |
Current system date of the client that created this object. |
date |
Optional |
CapturedDate |
Date and time the client created this object. |
date |
Optional |
Request Formats
application/json, text/json
{ "Name": "sample string 1", "Content": "sample string 2", "CreatedBy": "sample string 3", "CreatedOn": "2025-05-23T16:02:59.2843731-05:00", "Reference": { "Id": "97ad6849-1414-40fc-b213-43210dc3e931", "LogicalName": "sample string 2", "Name": "sample string 3" }, "SystemDate": "2025-05-23T16:02:59.2843731-05:00", "CapturedDate": "2025-05-23T16:02:59.2843731-05:00" }
Response Information
Resource Description
Returns note inserted.
CrmNoteName | Description | Type | Additional information |
---|---|---|---|
Name |
Name (subject) of the note. |
string |
Required |
Content |
Content of the note. |
string |
Required |
CreatedBy |
Author of the note. |
string |
Optional |
CreatedOn |
Date and time the note was created. |
date |
Optional |
Reference |
Used to reference the entity in CRM. |
EntityReference |
Optional |
SystemDate |
Current system date of the client that created this object. |
date |
Optional |
CapturedDate |
Date and time the client created this object. |
date |
Optional |
Response Formats
application/json, text/json
{ "Name": "sample string 1", "Content": "sample string 2", "CreatedBy": "sample string 3", "CreatedOn": "2025-05-23T16:02:59.2843731-05:00", "Reference": { "Id": "a1cd4f37-084e-4cfc-906d-fcf84f928610", "LogicalName": "sample string 2", "Name": "sample string 3" }, "SystemDate": "2025-05-23T16:02:59.2843731-05:00", "CapturedDate": "2025-05-23T16:02:59.2843731-05:00" }