Update system debtor currency credit limits
This endpoint is for updating the credit limits for a specific currency of the system debtor.
Request​
URL​
system-debtor-credit-status/currency-status/<currencyCreditStatusesId>
Method​
PUT
Headers​
Content-Type: application/json
Authorization: Bearer eyy...
Body​
A JSON representation of updatable currency credit limit fields.
Request Body: all available fields
{
"limitWithRecourse": {
"type": "Number",
"description": "The credit limit with recourse of the system debtor in the currency"
},
"limitWithoutRecourse": {
"type": "Number",
"description": "The credit limit without recourse of the system debtor in the currency"
},
"limitWithRecourseValidToDate": {
"type": "Date",
"description": "The valid to date of the credit limit with recourse"
},
"limitWithoutRecourseValidToDate": {
"type": "Date",
"description": "The valid to date of the credit limit without recourse"
}
}
Response​
Status code 200.
Response Body
{
"id": {
"type": "String",
"description": "The id of the system debtor currency credit status object"
},
"systemDebtorCreditStatusId": {
"type": "String",
"description": "The id of the system debtor credit status object"
},
"systemDebtorId": {
"type": "String",
"description": "This is the system debtor identification number. This is either an organization number or a personal identity number."
},
"currency": {
"type": "String",
"description": "The currency of the credit limit"
},
"limitWithRecourse": {
"type": "Number",
"description": "The credit limit with recourse of the system debtor in the currency"
},
"limitWithoutRecourse": {
"type": "Number",
"description": "The credit limit without recourse of the system debtor in the currency"
},
"totalUsedWithRecourse": {
"type": "Number",
"description": "The total amount used with recourse by the system debtor in the currency"
},
"totalUsedWithoutRecourse": {
"type": "Number",
"description": "The total amount used without recourse by the system debtor in the currency"
},
"totalDisposableWithRecourse": {
"type": "Number",
"description": "The total amount disposable with recourse by the system debtor in the currency"
},
"totalDisposableWithoutRecourse": {
"type": "Number",
"description": "The total amount disposable without recourse by the system debtor in the currency"
},
"totalBalance": {
"type": "Number",
"description": "The total balance of the system debtor in the currency"
},
"limitWithRecourseValidToDate": {
"type": "Date",
"description": "The valid to date of the credit limit with recourse"
},
"limitWithoutRecourseValidToDate": {
"type": "Date",
"description": "The valid to date of the credit limit without recourse"
}
}