| GET,OPTIONS | /v1/coverage/self/daynotes |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Date | query | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| TodayLabel | form | string | No | |
| Today | form | List<CoverageSelfDayNote> | No | |
| PreviousLabel | form | string | No | |
| Previous | form | List<CoverageSelfDayNote> | No | |
| CanWrite | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| RosterDayNoteID | form | int | No | |
| AuthorName | form | string | No | |
| Body | form | string | No | |
| TimeText | form | string | No | |
| Mine | form | bool | 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.
GET /v1/coverage/self/daynotes 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
}
},
TodayLabel: String,
Today:
[
{
RosterDayNoteID: 0,
AuthorName: String,
Body: String,
TimeText: String,
Mine: False
}
],
PreviousLabel: String,
Previous:
[
{
RosterDayNoteID: 0,
AuthorName: String,
Body: String,
TimeText: String,
Mine: False
}
],
CanWrite: False
}