Skip to main content
POST
/
techservice
/
ticket
/
add
Add Technical Service Ticket
curl --request POST \
  --url https://apigw.bienport.com/api/techservice/ticket/add \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --header 'OrganizationId: <organizationid>' \
  --data '
{
  "description": "Ticket description",
  "organizationId": 32327,
  "ticketType": 123,
  "subscriptionId": 129584
}
'
{
  "id": 297290,
  "active": "true",
  "subscriptionNo": "ABN-36519",
  "subscriptionId": "129584",
  "serviceNo": "SER-179324",
  "organizationName": "SELAHATTİN BOYACI",
  "organizationId": "42265",
  "systemCategory": "ALARM",
  "serviceType": "Servis",
  "operationType": "<string>",
  "processStage": "Kayıt",
  "head": "Title Content",
  "description": "Title Description",
  "appealDate": "2022-03-29T12:36:02.437Z",
  "startDate": "2022-03-29T12:36:02.437Z",
  "finishDate": "2023-03-29T12:36:02.437Z",
  "serviceAddress": "ADRES",
  "serviceCity": "İSTANBUL(Anadolu)",
  "serviceCounty": "MALTEPE"
}

Headers

Authorization
string
required

Access Token

OrganizationId
string
required

Organization ID

Body

application/json

addTechServiceTicketRequest

description
string
required

ticket description

Example:

"Ticket description"

organizationId
integer<int64>
required

Organization Id.

Example:

32327

ticketType
integer<int32>
required

Ticket type.

subscriptionId
integer<int64>

Subscription Id

Example:

129584

Response

Technical Ticket Success Added.

Request Model for add tech ticket to crm

id
integer<int64>

Ticket id

Example:

297290

active
string

Ticket status

Example:

"true"

subscriptionNo
string

Subscription no

Example:

"ABN-36519"

subscriptionId
string

Subscription id

Example:

"129584"

serviceNo
string

Service no

Example:

"SER-179324"

organizationName
string

Organization name

Example:

"SELAHATTİN BOYACI"

organizationId
string

Organization id

Example:

"42265"

systemCategory
string

System category

Example:

"ALARM"

serviceType
string

Service type

Example:

"Servis"

operationType
string

Operation type

processStage
string

Process stage

Example:

"Kayıt"

head
string

Head

Example:

"Title Content"

description
string

Description

Example:

"Title Description"

appealDate
string

Appeal date

Example:

"2022-03-29T12:36:02.437Z"

startDate
string

Start date

Example:

"2022-03-29T12:36:02.437Z"

finishDate
string

Finish date

Example:

"2023-03-29T12:36:02.437Z"

serviceAddress
string

Service address

Example:

"ADRES"

serviceCity
string

Service city

Example:

"İSTANBUL(Anadolu)"

serviceCounty
string

Service county

Example:

"MALTEPE"