POST
Create Case Attachment
Create a new case attachment.
Important
Calls to this method must include the cookie .LawPanel.AuthCookie in order to identify you at user level. For more details about authentication please check this link. To obtain the cookie you can use the method Login.
Request URL
Request headers
string
Subscription key which provides access to this API.
Request body
Payload must contain information about the file attachment to be created.
- string Requerid file_id: The case ID where the file will be attached. To get details of case please check this link.
- string Requerid file_name: The name of the file attached.
- string Requerid url: The url where the file is located.
- number Optional file_size: The file size in Kilo bytes.
- string Optional comments: The comments about the file attachment.
Loading...
{
"type": "object",
"properties": {
"comments": {
"type": "string"
},
"file_id": {
"type": "string"
},
"file_name": {
"type": "string"
},
"url": {
"type": "string"
},
"file_size": {
"type": "string"
}
},
"example": {
"comments": "....",
"file_id": "f71b5be6-5721-4aca-bede-abab0002dde2",
"file_name": "image3.jpg",
"url": "https://image3",
"file_size": "125"
}
}
Response 201
This code is returned when the case attachment was created successfully.
Loading...
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"file_id": {
"type": "string"
},
"date_time": {
"type": "string"
},
"file_name": {
"type": "string"
},
"file_size": {
"type": "integer"
},
"comments": {
"type": "string"
},
"url": {
"type": "string"
},
"user_id": {
"type": "string"
}
}
}