URL : /api/v1/guarantees
Method : POST
Request URL : /api/v1/guarantees
{
"explanation": "string",
"guaranteeAmount": 50000,
"guaranteeType": "CAR",
"csrCustomerId": 1
}Code : 200 OK
Sample Response Body :
{
"success": true,
"message": "Teminat Eklendi",
"data": {
"id": 1,
"explanation": "string",
"guaranteeType": "CAR",
"guaranteeAmount": 50000,
"operationDate": "2022-01-28T22:40:28.951+00:00",
"csrCustomerId": 1
}
}Code : 400
Sample Response Body :
{
"errorDate": "2022-01-28T22:43:01.603+00:00",
"message": "Müşteri Bulunanamdı!",
"detail": "uri=/api/v1/guarantees"
}Code : 400
Sample Response Body :
{
"errorDate": "2022-01-29T11:34:04.285+00:00",
"message": "Teminat Açıklaması Boş Bırakılamaz",
"detail": "uri=/api/v1/guarantees"
}