| GET | /v1/visit/{AgreementJobID}/checklist |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| AgreementJobID | path | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Items | form | List<VisitChecklistItem> | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| VisitChecklistItemID | form | int | No | |
| AgreementJobID | form | int | No | |
| ServiceTaskID | form | int? | No | |
| Name | form | string | No | |
| Status | form | int | No | |
| Note | form | string | No | |
| QaResult | form | string | No | |
| AttachmentId | form | int? | No | |
| CompletedBy | form | string | No | |
| CompletedAt | form | DateTime? | No | |
| SortOrder | 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/visit/{AgreementJobID}/checklist HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Items:
[
{
VisitChecklistItemID: 0,
AgreementJobID: 0,
ServiceTaskID: 0,
Name: String,
Status: 0,
Note: String,
QaResult: String,
AttachmentId: 0,
CompletedBy: String,
CompletedAt: 0001-01-01,
SortOrder: 0
}
],
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}