HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/CaseDesignDebtRequest HTTP/1.1
Host: testapi.responsible-advisor.com
Content-Type: text/jsv
Content-Length: length
{
InputObject:
{
DebtId: 0,
FactFinderId: 0,
TypeOfDebt: String,
Balance: 0,
InterestRate: 0,
MinimumMonthlyPayment: 0,
ActualMonthlyPayment: 0,
StartDate: 0001-01-01,
TermInYears: 0,
Notes: String,
Classification: String,
ProjectedEndDateOriginal: 0001-01-01,
ProjectedEndDateRecalculated: 0001-01-01
},
Insert: False,
Delete: False,
Update: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
OutputObject:
[
{
DebtId: 0,
FactFinderId: 0,
TypeOfDebt: String,
Balance: 0,
InterestRate: 0,
MinimumMonthlyPayment: 0,
ActualMonthlyPayment: 0,
StartDate: 0001-01-01,
TermInYears: 0,
Notes: String,
Classification: String,
ProjectedEndDateOriginal: 0001-01-01,
ProjectedEndDateRecalculated: 0001-01-01
}
],
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String
}
]
}
}