Skip to main content
POST
/
crm
/
ticket
/
filter
Get Ticket Method
curl --request POST \
  --url https://apigw.bienport.com/api/crm/ticket/filter \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --header 'OrganizationId: <organizationid>' \
  --data '
{
  "organizationId": 12312,
  "subscriptionId": 12342,
  "ticketId": 6,
  "ticketType": 2
}
'
[
  {
    "name": "test name",
    "description": "test detail",
    "id": 128073,
    "href": "SBN-87036",
    "creationDate": "2021-11-12T15:39:48.170Z",
    "externalId": 12322,
    "relatedParty": [
      {
        "name": "<string>",
        "id": "456789"
      }
    ],
    "status": {
      "name": "<string>",
      "id": "456789"
    },
    "characteristic": {
      "name": "CAMPAIGN",
      "valueType": "String",
      "value": "24 AY TAAHHÜTLÜ"
    },
    "resolutionDate": "2021-11-12T15:39:48.170Z",
    "ticketType": "Mobil - Acil Kontak Kişisi Ekleme Talebi",
    "note": [
      {
        "text": "<string>"
      }
    ]
  }
]

Headers

Authorization
string
required

Access Token

OrganizationId
string
required

Organization ID

Body

application/json

listCrmTicketsRequest

Request Model for get ticket of crm

organizationId
integer<int64>
required

organizationId.

Example:

12312

subscriptionId
integer<int64>

Subscription Id[Optional].

Example:

12342

ticketId
integer<int64>

Ticket Id[Optional].

Example:

6

ticketType
integer<int32>[]

Ticket Type[Optional].

Example:

2

Response

Get Tickets Success.

name
string
required

Header of ticket.

Example:

"test name"

description
string
required

ticket description

Example:

"test detail"

id
integer<int64>

Id of ticket.

Example:

128073

href
string

No of ticket.

Example:

"SBN-87036"

creationDate
string

Date of ticket creation.

Example:

"2021-11-12T15:39:48.170Z"

externalId
integer<int64>

Subscription Id

Example:

12322

status
RelatedParty · object

Related Entity reference. A related party defines party or party role linked to a specific entity.

characteristic
Characteristic · object
resolutionDate
string

Date of ticket resolution

Example:

"2021-11-12T15:39:48.170Z"

ticketType
string
Example:

"Mobil - Acil Kontak Kişisi Ekleme Talebi"

note
Note · object[]

notes.