Skip to main content
POST
/
crm
/
ticket
/
add
Adding Ticket Method
curl --request POST \
  --url https://apigw.bienport.com/api/crm/ticket/add \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --header 'OrganizationId: <organizationid>' \
  --data '
{
  "name": "test name",
  "description": "test detail",
  "organizationIds": [
    128073
  ],
  "ticketType": 2,
  "externalId": 12322
}
'
{
  "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

addCrmTicketRequest

Request Model for add ticket to crm

name
string
required

ticket name

Example:

"test name"

description
string
required

ticket description

Example:

"test detail"

organizationIds
integer<int64>[]
required

Organization Ids.

Example:
[128073]
ticketType
enum<integer>
required

Ticket Type

Available options:
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14
Example:

2

externalId
integer<int64>

Subscription Id[Optional]

Example:

12322

Response

Adding Ticket Success.

Request Model for add ticket to crm

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.