HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/MaterialStatusRequest HTTP/1.1
Host: taxcommapi.trendsic.net
Content-Type: text/jsv
Content-Length: length
{
MaterialStatusID: 0,
MaterialStatus:
[
{
MaterialStatusID: 0,
MaterialStatusName: String,
MaterialStatusDescription: 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
}
]
},
MaterialStatus:
[
{
MaterialStatusID: 0,
MaterialStatusName: String,
MaterialStatusDescription: String
}
]
}