HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/CaseDesignProductDataYearRequest HTTP/1.1
Host: api.responsible-advisor.com
Content-Type: text/jsv
Content-Length: length
{
InputObject:
{
Id: 0,
CaseDesignId: 0,
Year: 0,
Plan1IULDistributionAmount: 0,
Plan2IULDistributionAmount: 0,
DateCreated: 0001-01-01,
DateModified: 0001-01-01,
LastUserUpdated: String
},
Insert: False,
Delete: False,
Update: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
OutputObject:
[
{
Id: 0,
CaseDesignId: 0,
Year: 0,
Plan1IULDistributionAmount: 0,
Plan2IULDistributionAmount: 0,
DateCreated: 0001-01-01,
DateModified: 0001-01-01,
LastUserUpdated: String
}
],
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String
}
]
}
}