Skip to main content

Close a case

PUT /api/2.0/crm/case/{caseid:[0-9]+}/close

Closes a case with the ID specified in the request.

Request body​

caseid​

type: integer

Case ID

Example: 0

Request example​

{
"caseid": 0
}

Returns​

Case. A request that is not authenticated returns 401.

Members​

type: ContactBaseWrapper[]

CreateBy​

type: EmployeeWraper

Created​

type: string

Example: "2020-12-08T17:37:04.5736385Z"

Title​

type: string

Example: "Exhibition organization"

IsClosed​

type: boolean

Example: false

IsPrivate​

type: boolean

Example: false

AccessList​

type: EmployeeWraper[]

CanEdit​

type: boolean

Example: true

CustomFields​

type: CustomFieldBaseWrapper[]

ID​

type: integer

Example: 1234

Response example​

{
"Members": [
{
"SmallFotoUrl": "url to foto",
"MediumFotoUrl": "url to foto",
"DisplayName": "Tadjeddine Bachir",
"IsCompany": false,
"AccessList": [
{
"Id": "00000000-0000-0000-0000-000000000000",
"DisplayName": "Mike Zanyatski",
"Title": "Manager",
"AvatarSmall": "url to small avatar",
"ProfileUrl": "/Products/People/Profile.aspx?user=administrator"
}
],
"IsPrivate": true,
"IsShared": false,
"ShareType": 0,
"Currency": {
"Title": "Chinese Yuan",
"Symbol": "¥",
"Abbreviation": "CNY",
"CultureName": "CN",
"IsConvertable": true,
"IsBasic": false
},
"CanEdit": true,
"CanDelete": true,
"ID": 1234
}
],
"CreateBy": {
"Id": "00000000-0000-0000-0000-000000000000",
"DisplayName": "Mike Zanyatski",
"Title": "Manager",
"AvatarSmall": "url to small avatar",
"ProfileUrl": "/Products/People/Profile.aspx?user=administrator"
},
"Created": "2020-12-08T17:37:04.5736385Z",
"Title": "Exhibition organization",
"IsClosed": false,
"IsPrivate": false,
"AccessList": [
{
"Id": "00000000-0000-0000-0000-000000000000",
"DisplayName": "Mike Zanyatski",
"Title": "Manager",
"AvatarSmall": "url to small avatar",
"ProfileUrl": "/Products/People/Profile.aspx?user=administrator"
}
],
"CanEdit": true,
"CustomFields": [
{
"EntityId": 14523423,
"Label": "Birthdate",
"FieldValue": "2020-12-08T17:37:04.5916406Z",
"FieldType": 5,
"Position": 10,
"Mask": "",
"ID": 1234
}
],
"ID": 1234
}