| POST,OPTIONS | /v1/staff/quickfill |
|---|
export class StaffQuickFillRow
{
public PositionTag: string;
public Name: string;
public Filled: boolean;
public Reason: string;
public constructor(init?: Partial<StaffQuickFillRow>) { (Object as any).assign(this, init); }
}
export class StaffQuickFillResponse
{
public ResponseStatus: ResponseStatus;
public Rows: StaffQuickFillRow[] = [];
public FilledCount: number;
public SkippedCount: number;
public constructor(init?: Partial<StaffQuickFillResponse>) { (Object as any).assign(this, init); }
}
export class StaffQuickFillRequest
{
public ProjectUID: string;
public constructor(init?: Partial<StaffQuickFillRequest>) { (Object as any).assign(this, init); }
}
TypeScript StaffQuickFillRequest 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.
POST /v1/staff/quickfill HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
ProjectUID: String
}
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
}
},
Rows:
[
{
PositionTag: String,
Name: String,
Filled: False,
Reason: String
}
],
FilledCount: 0,
SkippedCount: 0
}