riverty logo

Docs

Path

POST /{clientId}/disputes/{disputeId}/comments

Request Parameters

clientId
required
integer
unique identifier for the client who will post a new reply
disputeId
required
string
unique identifier for the dispute which need to be updated

Request Body

application/json

body
required
string
array

Responses

Successful Request

Request Example

    
        {
 "body": "Hi Martin, Thank you for telling us about the case. We are working on it. Will update you."
}
    

Response Example

    
        {
 "id": "b59baac1-d5e8-43d4-bb3e-7921a2aad90a",
 "complaintId": "e0792672-a08d-486e-ac51-689babf23053",
 "body": "Merchat",
 "attachments": [
  {
   "id": "f0f3e48c-01fd-4c65-84f6-986f195b9075",
   "fileName": "eb1a3a18-8481-47bf-8b09-03e23ffe57f0",
   "originalFileName": "tv_screen_broken.jpg",
   "createdAt": "12/05/2023 15:49:32",
   "size": 12432,
   "source": "Customer",
   "mimeType": "image/jpg",
   "url": "/Complaints/e0792672-a08d-486e-ac51-689babf23053/attachments/f0f3e48c-01fd-4c65-84f6-986f195b9075"
  }
 ],
 "author": {
  "id": 1,
  "name": "ABC",
  "email": "info@abc.de",
  "countryCode": "DE",
  "country": "Germany"
 },
 "createdAt": "2023-12-12T15:49:32.5007038+00:00",
 "updatedAt": "2023-12-12T15:49:32.5007055Z"
}