| DELETE,OPTIONS | /v1/coverage/self/daynotes/{RosterDayNoteID} |
|---|
export class CoverageSelfDayNote
{
public RosterDayNoteID: number;
public AuthorName: string;
public Body: string;
public TimeText: string;
public Mine: boolean;
public constructor(init?: Partial<CoverageSelfDayNote>) { (Object as any).assign(this, init); }
}
export class CoverageSelfDayNotesResponse
{
public ResponseStatus: ResponseStatus;
public TodayLabel: string;
public Today: CoverageSelfDayNote[] = [];
public PreviousLabel: string;
public Previous: CoverageSelfDayNote[] = [];
public CanWrite: boolean;
public constructor(init?: Partial<CoverageSelfDayNotesResponse>) { (Object as any).assign(this, init); }
}
export class CoverageSelfDayNoteDeleteRequest
{
public RosterDayNoteID: number;
public Date: string;
public constructor(init?: Partial<CoverageSelfDayNoteDeleteRequest>) { (Object as any).assign(this, init); }
}
TypeScript CoverageSelfDayNoteDeleteRequest DTOs
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/coverage/self/daynotes/{RosterDayNoteID} 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
}