| Requires any of the roles: | Agent, Administrator |
| DELETE,OPTIONS | /v1/customercheckins/{Id}/notes/{NoteId} |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | path | Guid | No | |
| NoteId | path | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Notes | form | List<CustomerNote> | No | |
| Carry | form | List<CustomerNote> | No | |
| CanPriority | form | bool | No | |
| Note | form | CustomerNote | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| NoteId | form | int | No | |
| Scope | form | string | No | |
| Text | form | string | No | |
| IsPriority | form | bool | No | |
| CreatedByUserId | form | Guid? | No | |
| CreatedByName | form | string | No | |
| CreatedAt | form | DateTime? | No | |
| DoneAt | form | DateTime? | No | |
| IsCarry | form | bool | No | |
| ShownAt | form | DateTime? | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
DELETE /v1/customercheckins/{Id}/notes/{NoteId} HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
},
Notes:
[
{
NoteId: 0,
Scope: String,
Text: String,
IsPriority: False,
CreatedByUserId: 00000000000000000000000000000000,
CreatedByName: String,
CreatedAt: 0001-01-01,
DoneAt: 0001-01-01,
IsCarry: False,
ShownAt: 0001-01-01
}
],
Carry:
[
{
NoteId: 0,
Scope: String,
Text: String,
IsPriority: False,
CreatedByUserId: 00000000000000000000000000000000,
CreatedByName: String,
CreatedAt: 0001-01-01,
DoneAt: 0001-01-01,
IsCarry: False,
ShownAt: 0001-01-01
}
],
CanPriority: False,
Note:
{
NoteId: 0,
Scope: String,
Text: String,
IsPriority: False,
CreatedByUserId: 00000000000000000000000000000000,
CreatedByName: String,
CreatedAt: 0001-01-01,
DoneAt: 0001-01-01,
IsCarry: False,
ShownAt: 0001-01-01
}
}