| GET,OPTIONS | /v1/projects/{ProjectID}/qc-tests |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ProjectID | path | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| ProjectID | form | int | No | |
| Tests | form | List<QcTest> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| QcTestID | form | int | No | |
| QcTestUID | form | Guid | No | |
| ProjectID | form | int | No | |
| TestNo | form | string | No | |
| TestType | form | string | No | |
| Location | form | string | No | |
| CostCode | form | string | No | |
| Spec | form | string | No | |
| TargetValue | form | string | No | |
| ResultValue | form | string | No | |
| Result | form | string | No | |
| Lab | form | string | No | |
| ReportName | form | string | No | |
| Notes | form | string | No | |
| TestedAt | form | DateTime? | No | |
| CreatedBy | form | string | No | |
| CreatedAt | form | DateTime? | No | |
| UpdatedAt | form | DateTime? | No | |
| NcrCount | form | int | 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/projects/{ProjectID}/qc-tests 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
}
},
ProjectID: 0,
Tests:
[
{
QcTestID: 0,
QcTestUID: 00000000000000000000000000000000,
ProjectID: 0,
TestNo: String,
TestType: String,
Location: String,
CostCode: String,
Spec: String,
TargetValue: String,
ResultValue: String,
Result: String,
Lab: String,
ReportName: String,
Notes: String,
TestedAt: 0001-01-01,
CreatedBy: String,
CreatedAt: 0001-01-01,
UpdatedAt: 0001-01-01,
NcrCount: 0
}
]
}