The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /v1/CrewAttendance/{AttendanceID} HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
AttendanceID: 0,
CrewAttendance:
[
{
AttendanceID: 0,
ContactID: 0,
ContactName: String,
ProjectID: 0,
ProjectName: String,
AttendanceDate: 0001-01-01,
AttendanceStatusID: 0,
AttendanceStatusName: String,
Comments: 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
}
},
CrewAttendance:
[
{
AttendanceID: 0,
ContactID: 0,
ContactName: String,
ProjectID: 0,
ProjectName: String,
AttendanceDate: 0001-01-01,
AttendanceStatusID: 0,
AttendanceStatusName: String,
Comments: String
}
]
}