The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/AddDeviceErrorLog HTTP/1.1
Host: ncapi.net.au
Content-Type: text/jsv
Content-Length: length
{
DeviceErrorLog:
{
LogId: 0,
DeviceId: 0,
Message: String,
DateHappened: 0001-01-01,
DateAdded: 0001-01-01,
DateFixed: 0001-01-01,
ErrorTypeId: 0,
SubErrorTypeId: 0
}
}
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
}
]
},
DeviceErrorLogDto:
{
LogId: 0,
DeviceId: 0,
Message: String,
DateHappened: 0001-01-01,
DateAdded: 0001-01-01,
DateFixed: 0001-01-01,
ErrorTypeId: 0,
SubErrorTypeId: 0
},
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String
}
]
}