Skip to main content
POST
/
alarm
/
ecl
/
ticket
/
add
Add Emergency Contact
curl --request POST \
  --url https://apigw.bienport.com/api/alarm/ecl/ticket/add \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --header 'OrganizationId: <organizationid>' \
  --data '{
  "name": "Ahmet Yılmaz",
  "relationship": "arkadaş",
  "phone": [
    905554443322,
    905554443322
  ],
  "organizationId": 3535353,
  "subscriptionId": 3535353
}'
{
  "id": 128073,
  "href": "SBN-87036",
  "creationDate": "2021-11-12T15:39:48.170Z",
  "name": "test name",
  "description": "test detail",
  "externalId": 12322,
  "relatedParty": [
    {
      "id": "456789",
      "name": "<string>"
    }
  ],
  "status": {
    "id": "456789",
    "name": "<string>"
  },
  "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

request

Add emergency contact request Api Model

name
string

The full name of the person you want to add

Example:

"Ahmet Yılmaz"

relationship
string

Relationship

Example:

"arkadaş"

phone
string[]

Phone number of the person you want to add

Example:
[905554443322, 905554443322]
organizationId
integer

OrganizationId

Example:

3535353

subscriptionId
integer

SubscriptionId

Example:

3535353

Response

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

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

Subscription Id

Example:

12322

status
object

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

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.