curl --request PUT \
--url https://api.spacebring.com/support/tickets/v1/{id}/status \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"ticket": {
"status": "new"
}
}
'{
"activity": {
"createDate": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"membership": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"roleType": "<string>",
"type": "<string>",
"user": {
"blocked": true,
"email": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"surname": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>"
}
},
"ticketRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "comment",
"data": {
"attachments": [
{
"key": "<string>"
}
],
"text": "<string>",
"status": "<string>",
"membershipAssignee": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"roleType": "<string>",
"type": "<string>",
"user": {
"blocked": true,
"email": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"surname": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>"
}
},
"previousAttributes": {
"status": "<string>",
"membershipAssignee": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"roleType": "<string>",
"type": "<string>",
"user": {
"blocked": true,
"email": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"surname": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>"
}
}
}
}
},
"ticket": {
"createDate": "2023-11-07T05:31:56Z",
"description": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"membershipAssignee": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"roleType": "<string>",
"type": "<string>",
"user": {
"blocked": true,
"email": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"surname": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>"
}
},
"membershipRequester": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"roleType": "<string>",
"type": "<string>",
"user": {
"blocked": true,
"email": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"surname": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>"
}
},
"membershipRefAssignee": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"membershipRefRequester": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"number": 123,
"status": "new",
"type": "access",
"updateDate": "2023-11-07T05:31:56Z",
"userAssignee": {
"about": "<string>",
"email": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>",
"surname": "<string>"
},
"userRequester": {
"about": "<string>",
"email": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>",
"surname": "<string>"
}
}
}Update support ticket status.
supportcurl --request PUT \
--url https://api.spacebring.com/support/tickets/v1/{id}/status \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"ticket": {
"status": "new"
}
}
'{
"activity": {
"createDate": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"membership": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"roleType": "<string>",
"type": "<string>",
"user": {
"blocked": true,
"email": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"surname": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>"
}
},
"ticketRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "comment",
"data": {
"attachments": [
{
"key": "<string>"
}
],
"text": "<string>",
"status": "<string>",
"membershipAssignee": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"roleType": "<string>",
"type": "<string>",
"user": {
"blocked": true,
"email": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"surname": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>"
}
},
"previousAttributes": {
"status": "<string>",
"membershipAssignee": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"roleType": "<string>",
"type": "<string>",
"user": {
"blocked": true,
"email": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"surname": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>"
}
}
}
}
},
"ticket": {
"createDate": "2023-11-07T05:31:56Z",
"description": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"membershipAssignee": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"roleType": "<string>",
"type": "<string>",
"user": {
"blocked": true,
"email": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"surname": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>"
}
},
"membershipRequester": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"roleType": "<string>",
"type": "<string>",
"user": {
"blocked": true,
"email": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"surname": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>"
}
},
"membershipRefAssignee": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"membershipRefRequester": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"number": 123,
"status": "new",
"type": "access",
"updateDate": "2023-11-07T05:31:56Z",
"userAssignee": {
"about": "<string>",
"email": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>",
"surname": "<string>"
},
"userRequester": {
"about": "<string>",
"email": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>",
"surname": "<string>"
}
}
}See our authentication documentation for how to authorize your requests
The id of the network. Required when using bearer token authentication
The id of the ticket.
OK
Show child attributes
The date and time in ISO 8601 format, e.g. 2021-05-21T10:00:00Z
Show child attributes
comment, statusUpdated, typeUpdated, assigneeUpdated Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
The date and time in ISO 8601 format, e.g. 2021-05-21T10:00:00Z
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Unique identifier of ticket in location.
new, inProgress, solved, closed access, accountAndBilling, bookings, cleaning, discriminationAndHarassment, internet, mailAndPackages, noiseAndAcoustics, other, printing, repairAndMaintenance, temperatureAndVentilation, websiteAndApp The date and time in ISO 8601 format, e.g. 2021-05-21T10:00:00Z