| POST,OPTIONS | /v1/projects/{ProjectID}/hold-points/{QcHoldPointID}/release |
|---|
export class QcHoldPoint
{
public QcHoldPointID: number;
public QcHoldPointUID: string;
public ProjectID: number;
public Description: string;
public ResponsibleParty: string;
public CostCode: string;
public ScheduledDate?: string;
public Status: string;
public ReleasedBy: string;
public ReleasedAt?: string;
public Notes: string;
public CreatedBy: string;
public CreatedAt?: string;
public UpdatedAt?: string;
public constructor(init?: Partial<QcHoldPoint>) { (Object as any).assign(this, init); }
}
export class QcHoldPointResponse
{
public ResponseStatus: ResponseStatus;
public HoldPoint: QcHoldPoint;
public constructor(init?: Partial<QcHoldPointResponse>) { (Object as any).assign(this, init); }
}
export class QcHoldPointReleaseRequest
{
public ProjectID: number;
public QcHoldPointID: number;
public Notes: string;
public constructor(init?: Partial<QcHoldPointReleaseRequest>) { (Object as any).assign(this, init); }
}
TypeScript QcHoldPointReleaseRequest 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/projects/{ProjectID}/hold-points/{QcHoldPointID}/release HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
ProjectID: 0,
QcHoldPointID: 0,
Notes: 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
}
},
HoldPoint:
{
QcHoldPointID: 0,
QcHoldPointUID: 00000000000000000000000000000000,
ProjectID: 0,
Description: String,
ResponsibleParty: String,
CostCode: String,
ScheduledDate: 0001-01-01,
Status: String,
ReleasedBy: String,
ReleasedAt: 0001-01-01,
Notes: String,
CreatedBy: String,
CreatedAt: 0001-01-01,
UpdatedAt: 0001-01-01
}
}