Datapool API autogenerated documentation.

Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.

Datapool v1.0.0

Datapool API

Base URLs:

  • https://localhost:5002

Authentication

  • API Key (apiKey)
    • Parameter Name: Authorization, in: header.

Get summary front page report

Code samples

curl --request GET \
  --url https://localhost:5002/api/report/summary \
  --header 'accept: application/json' \
  --header 'authorization: APIKey XXXXXX'

GET /api/report/summary

Example responses

200 Response

{
  "WebHookUsers": 0,
  "Users": 0,
  "Tickets": 0,
  "NotClosed": 0,
  "TotalWebHooks": 0,
  "ActiveWebHooks": 0,
  "Activities": [
    {
      "UserType": "string",
      "Operation": "string",
      "Last": "2018-10-11T11:21:50Z"
    }
  ]
}
Status Meaning Description Schema
200 OK OK SummaryReport
401 Unauthorized Unauthorized None
500 Internal Server Error Internal Server Error None

Get API key status report

Code samples

curl --request GET \
  --url https://localhost:5002/api/report/apikeys \
  --header 'accept: application/json' \
  --header 'authorization: APIKey XXXXXX'

GET /api/report/apikeys

Example responses

200 Response

[
  {
    "Name": "string",
    "Username": "string",
    "ApiKey": "string",
    "Created": "2018-10-11T11:21:50Z",
    "LastActivity": "2018-10-11T11:21:50Z"
  }
]
Status Meaning Description Schema
200 OK OK Inline
401 Unauthorized Unauthorized None
500 Internal Server Error Internal Server Error None

Status Code 200

Name Type Required Restrictions Description
anonymous [ApiKeyStatusReport] false none none
» Name string false none none
» Username string false none none
» ApiKey string false none none
» Created string(date-time) true none none
» LastActivity string(date-time) false none none

Get simple log report

Code samples

curl --request GET \
  --url https://localhost:5002/api/report/ticketlog \
  --header 'accept: application/json' \
  --header 'authorization: APIKey XXXXXX'

GET /api/report/ticketlog

Parameter In Type Required Description
From query string(date-time) false none
To query string(date-time) false none

Example responses

200 Response

[
  {
    "PoolUser": "string",
    "ApiKey": "string",
    "TicketGuid": "string",
    "Operation": "string",
    "EntityName": "string",
    "Created": "2018-10-11T11:21:50Z"
  }
]
Status Meaning Description Schema
200 OK OK Inline
400 Bad Request Bad Request None
401 Unauthorized Unauthorized None
500 Internal Server Error Internal Server Error None

Status Code 200

Name Type Required Restrictions Description
anonymous [PoolTicketLogReport] false none none
» PoolUser string false none none
» ApiKey string false none none
» TicketGuid string(guid) true none none
» Operation string false none none
» EntityName string false none none
» Created string(date-time) true none none

Get single ticket

Code samples

curl --request GET \
  --url https://localhost:5002/api/ticket/string \
  --header 'accept: application/json' \
  --header 'authorization: APIKey XXXXXX'

GET /api/ticket/{guid}

Parameter In Type Required Description
guid path string true none

Example responses

200 Response

{
  "Id": 0,
  "Address": {
    "Id": 0,
    "Region": {
      "Code": "string",
      "Name": "string"
    },
    "Municipality": {
      "Mid": 0,
      "Name": "string",
      "Coordinates": {
        "X": 0,
        "Y": 0
      }
    },
    "Settlement": {
      "Mid": 0,
      "Name": "string",
      "Coordinates": {
        "X": 0,
        "Y": 0
      },
      "Municipality": {
        "Mid": 0,
        "Name": "string",
        "Coordinates": {
          "X": 0,
          "Y": 0
        }
      }
    },
    "Street": {
      "Mid": 0,
      "Name": "string",
      "City": {
        "Mid": 0,
        "Name": "string",
        "Coordinates": {
          "X": 0,
          "Y": 0
        },
        "Municipality": {
          "Mid": 0,
          "Name": "string",
          "Coordinates": {
            "X": 0,
            "Y": 0
          }
        }
      }
    },
    "HouseNumber": {
      "Mid": 0,
      "Number": 0,
      "Addition": "string",
      "Coordinates": {
        "X": 0,
        "Y": 0
      },
      "Street": {
        "Mid": 0,
        "Name": "string",
        "City": {
          "Mid": 0,
          "Name": "string",
          "Coordinates": {
            "X": 0,
            "Y": 0
          },
          "Municipality": {
            "Mid": 0,
            "Name": "string",
            "Coordinates": {
              "X": 0,
              "Y": 0
            }
          }
        }
      }
    },
    "Coordinates": {
      "X": 0,
      "Y": 0
    },
    "Floor": {
      "Name": "string",
      "Addition": "string"
    }
  },
  "CallerName": "string",
  "CallerNumber": "string",
  "CallType": 1,
  "ClusterAddDate": "2018-10-11T11:21:50Z",
  "ClusterId": 0,
  "Condition": "string",
  "DateCreated": "2018-10-11T11:21:50Z",
  "EventDescription": "string",
  "NumberOfWounded": 0,
  "OwnerConsoleId": 0,
  "ReferenceDescription": "string",
  "ReferenceTicketId": 0,
  "SmsConversationId": 0,
  "SpinId": 0,
  "Status": 1,
  "PlkStatus": "string",
  "PlkShape": "string",
  "Events": [
    {
      "Id": 0,
      "EventId": 0,
      "Code": "string",
      "Description": "string"
    }
  ],
  "SmsClosed": true,
  "SpinReportDescription": "string",
  "GmlData": {
    "Id": 0,
    "CesteMain": "string",
    "CesteMainGid": 0,
    "CesteMainDrugo": "string",
    "CesteRegional": "string",
    "CesteRegionalGid": 0,
    "CesteRegionalDrugo": "string",
    "CesteThird": "string",
    "CesteThirdGid": 0,
    "CesteThirdDrugo": "string",
    "Coordinates": "string",
    "RpeNaWgs": "string",
    "RpeNaWgsNaMid": 0,
    "RpeHsWgs": "string",
    "RpeHsWgsHsMid": 0,
    "RpeObWgs": "string",
    "RpeObWgsObMid": 0,
    "RpeUlWgs": "string",
    "RpeUlWgsUlMid": 0
  },
  "TransferredToType": "string",
  "TransferredToDescription": "string",
  "TransferredToNumber": "string",
  "TransferredToEZRID": 0,
  "ReporterType": "string",
  "ReportedBy": "string",
  "LocationSpecificDescription": "string",
  "WarningDescription": "string",
  "InjuryType": "string",
  "Urgent": true,
  "Cargo": [
    {
      "Id": 0,
      "Vin": "string",
      "CargoListId": "string",
      "CargoListCreated": "2018-10-11T11:21:50Z",
      "Name": "string",
      "Number": 0,
      "Amount": 0,
      "Detonator": true
    }
  ],
  "SpinStatus": 0,
  "Damages": [
    {
      "Id": 0,
      "Asset": "string",
      "AssetSlug": "string",
      "AssetId": 0,
      "Verb": "string",
      "VerbSlug": "string",
      "VerbId": 0,
      "Count": 0
    }
  ],
  "AMLData": {
    "Id": 0,
    "Header": "string",
    "Latitude": 0,
    "Longitude": 0,
    "Radius": 0,
    "TimeOfPositioning": "string",
    "LevelOfConfidence": 0,
    "PositioningMethod": "string",
    "IMSI": "string",
    "IMEI": "string",
    "MCC": "string",
    "MNC": "string"
  },
  "Guid": "string",
  "RECOOrigin": 0,
  "CallEndTime": "2018-10-11T11:21:50Z",
  "Activations": [
    {
      "Id": 0,
      "OriginalActivationId": 0,
      "UnitId": 0,
      "UnitName": "string",
      "UnitPhone": "string",
      "UnitRic": "string",
      "PersonId": 0,
      "PersonFirstName": "string",
      "PersonLastName": "string",
      "PersonFunc": "string",
      "PersonNumber": "string",
      "PersonRic": "string",
      "Username": "string",
      "TypeOfActivation": 0,
      "SpinActivationId": 0,
      "ActivatedAt": "2018-10-11T11:21:50Z",
      "DardoMessageId": "string",
      "DardoStatus": "string",
      "SpinStatus": 0,
      "DatumPrihoda": "2018-10-11T11:21:50Z",
      "DatumOdhoda": "2018-10-11T11:21:50Z",
      "DatumKontrole": "2018-10-11T11:21:50Z",
      "DatumZakljucka": "2018-10-11T11:21:50Z",
      "ETA": "2018-10-11T11:21:50Z",
      "SteviloSodelojucih": 0,
      "SteviloMrtvih": 0,
      "SteviloPoskodovanih": 0,
      "DatumPripravljenostiOd": "2018-10-11T11:21:50Z",
      "DatumPripravljenostiDo": "2018-10-11T11:21:50Z",
      "StroskiIntervencije": 0,
      "PrevozeniKm": 0,
      "DejavnostNaLokaciji": "string",
      "Opomba": "string"
    }
  ]
}
Status Meaning Description Schema
200 OK OK AllegroPoolTicketTransfer
400 Bad Request Bad Request None
401 Unauthorized Unauthorized None
404 Not Found Not Found None

Create ticket

Code samples

curl --request POST \
  --url https://localhost:5002/api/ticket \
  --header 'accept: application/json' \
  --header 'authorization: APIKey XXXXXX' \
  --header 'content-type: application/json' \
  --data '{"User":"string","CallerNumber":"string","CreatedAt":"2018-10-11T11:21:50Z","EZRCOID":0,"Description":"string","LocationSpecificDescription":"string","AdditionalWarnings":"string","EventID":0,"CreateSpin":true,"Location":{"X":0,"Y":0,"ObcinaMID":0,"NaseljeMID":0,"UlicaMID":0,"HsMID":0,"CestaMainGID":0,"CestaRegionalGID":0,"CestaThirdGID":0},"Activations":[{"UnitId":0,"ActivatedAt":"2018-10-11T11:21:50Z"}]}'

POST /api/ticket

Body parameter

{
  "User": "string",
  "CallerNumber": "string",
  "CreatedAt": "2018-10-11T11:21:50Z",
  "EZRCOID": 0,
  "Description": "string",
  "LocationSpecificDescription": "string",
  "AdditionalWarnings": "string",
  "EventID": 0,
  "CreateSpin": true,
  "Location": {
    "X": 0,
    "Y": 0,
    "ObcinaMID": 0,
    "NaseljeMID": 0,
    "UlicaMID": 0,
    "HsMID": 0,
    "CestaMainGID": 0,
    "CestaRegionalGID": 0,
    "CestaThirdGID": 0
  },
  "Activations": [
    {
      "UnitId": 0,
      "ActivatedAt": "2018-10-11T11:21:50Z"
    }
  ]
}
Parameter In Type Required Description
body body CreateTicketData true none

Example responses

201 Response

{
  "Id": 0,
  "Address": {
    "Id": 0,
    "Region": {
      "Code": "string",
      "Name": "string"
    },
    "Municipality": {
      "Mid": 0,
      "Name": "string",
      "Coordinates": {
        "X": 0,
        "Y": 0
      }
    },
    "Settlement": {
      "Mid": 0,
      "Name": "string",
      "Coordinates": {
        "X": 0,
        "Y": 0
      },
      "Municipality": {
        "Mid": 0,
        "Name": "string",
        "Coordinates": {
          "X": 0,
          "Y": 0
        }
      }
    },
    "Street": {
      "Mid": 0,
      "Name": "string",
      "City": {
        "Mid": 0,
        "Name": "string",
        "Coordinates": {
          "X": 0,
          "Y": 0
        },
        "Municipality": {
          "Mid": 0,
          "Name": "string",
          "Coordinates": {
            "X": 0,
            "Y": 0
          }
        }
      }
    },
    "HouseNumber": {
      "Mid": 0,
      "Number": 0,
      "Addition": "string",
      "Coordinates": {
        "X": 0,
        "Y": 0
      },
      "Street": {
        "Mid": 0,
        "Name": "string",
        "City": {
          "Mid": 0,
          "Name": "string",
          "Coordinates": {
            "X": 0,
            "Y": 0
          },
          "Municipality": {
            "Mid": 0,
            "Name": "string",
            "Coordinates": {
              "X": 0,
              "Y": 0
            }
          }
        }
      }
    },
    "Coordinates": {
      "X": 0,
      "Y": 0
    },
    "Floor": {
      "Name": "string",
      "Addition": "string"
    }
  },
  "CallerName": "string",
  "CallerNumber": "string",
  "CallType": 1,
  "ClusterAddDate": "2018-10-11T11:21:50Z",
  "ClusterId": 0,
  "Condition": "string",
  "DateCreated": "2018-10-11T11:21:50Z",
  "EventDescription": "string",
  "NumberOfWounded": 0,
  "OwnerConsoleId": 0,
  "ReferenceDescription": "string",
  "ReferenceTicketId": 0,
  "SmsConversationId": 0,
  "SpinId": 0,
  "Status": 1,
  "PlkStatus": "string",
  "PlkShape": "string",
  "Events": [
    {
      "Id": 0,
      "EventId": 0,
      "Code": "string",
      "Description": "string"
    }
  ],
  "SmsClosed": true,
  "SpinReportDescription": "string",
  "GmlData": {
    "Id": 0,
    "CesteMain": "string",
    "CesteMainGid": 0,
    "CesteMainDrugo": "string",
    "CesteRegional": "string",
    "CesteRegionalGid": 0,
    "CesteRegionalDrugo": "string",
    "CesteThird": "string",
    "CesteThirdGid": 0,
    "CesteThirdDrugo": "string",
    "Coordinates": "string",
    "RpeNaWgs": "string",
    "RpeNaWgsNaMid": 0,
    "RpeHsWgs": "string",
    "RpeHsWgsHsMid": 0,
    "RpeObWgs": "string",
    "RpeObWgsObMid": 0,
    "RpeUlWgs": "string",
    "RpeUlWgsUlMid": 0
  },
  "TransferredToType": "string",
  "TransferredToDescription": "string",
  "TransferredToNumber": "string",
  "TransferredToEZRID": 0,
  "ReporterType": "string",
  "ReportedBy": "string",
  "LocationSpecificDescription": "string",
  "WarningDescription": "string",
  "InjuryType": "string",
  "Urgent": true,
  "Cargo": [
    {
      "Id": 0,
      "Vin": "string",
      "CargoListId": "string",
      "CargoListCreated": "2018-10-11T11:21:50Z",
      "Name": "string",
      "Number": 0,
      "Amount": 0,
      "Detonator": true
    }
  ],
  "SpinStatus": 0,
  "Damages": [
    {
      "Id": 0,
      "Asset": "string",
      "AssetSlug": "string",
      "AssetId": 0,
      "Verb": "string",
      "VerbSlug": "string",
      "VerbId": 0,
      "Count": 0
    }
  ],
  "AMLData": {
    "Id": 0,
    "Header": "string",
    "Latitude": 0,
    "Longitude": 0,
    "Radius": 0,
    "TimeOfPositioning": "string",
    "LevelOfConfidence": 0,
    "PositioningMethod": "string",
    "IMSI": "string",
    "IMEI": "string",
    "MCC": "string",
    "MNC": "string"
  },
  "Guid": "string",
  "RECOOrigin": 0,
  "CallEndTime": "2018-10-11T11:21:50Z",
  "Activations": [
    {
      "Id": 0,
      "OriginalActivationId": 0,
      "UnitId": 0,
      "UnitName": "string",
      "UnitPhone": "string",
      "UnitRic": "string",
      "PersonId": 0,
      "PersonFirstName": "string",
      "PersonLastName": "string",
      "PersonFunc": "string",
      "PersonNumber": "string",
      "PersonRic": "string",
      "Username": "string",
      "TypeOfActivation": 0,
      "SpinActivationId": 0,
      "ActivatedAt": "2018-10-11T11:21:50Z",
      "DardoMessageId": "string",
      "DardoStatus": "string",
      "SpinStatus": 0,
      "DatumPrihoda": "2018-10-11T11:21:50Z",
      "DatumOdhoda": "2018-10-11T11:21:50Z",
      "DatumKontrole": "2018-10-11T11:21:50Z",
      "DatumZakljucka": "2018-10-11T11:21:50Z",
      "ETA": "2018-10-11T11:21:50Z",
      "SteviloSodelojucih": 0,
      "SteviloMrtvih": 0,
      "SteviloPoskodovanih": 0,
      "DatumPripravljenostiOd": "2018-10-11T11:21:50Z",
      "DatumPripravljenostiDo": "2018-10-11T11:21:50Z",
      "StroskiIntervencije": 0,
      "PrevozeniKm": 0,
      "DejavnostNaLokaciji": "string",
      "Opomba": "string"
    }
  ]
}
Status Meaning Description Schema
201 Created Created AllegroPoolTicketTransfer
400 Bad Request Bad Request None
401 Unauthorized Unauthorized None

Update event description

Code samples

curl --request PUT \
  --url https://localhost:5002/api/description/string \
  --header 'authorization: APIKey XXXXXX' \
  --header 'content-type: application/json' \
  --data '{"EventDescription":"string"}'

PUT /api/description/{ticketGuid}

Body parameter

{
  "EventDescription": "string"
}
Parameter In Type Required Description
ticketGuid path string true none
body body UpdateEventDescriptionData true none
Status Meaning Description Schema
200 OK OK None
400 Bad Request Bad Request None
401 Unauthorized Unauthorized None

Update ticket location

Code samples

curl --request PUT \
  --url https://localhost:5002/api/location/string \
  --header 'authorization: APIKey XXXXXX' \
  --header 'content-type: application/json' \
  --data '{"X":0,"Y":0,"MuncipalityMid":0,"MunicipalityName":"string","SettlementMid":0,"SettlementName":"string","StreetMid":0,"StreetName":"string","HouseNumberMid":0,"FloorName":"string","FloorAddition":"string"}'

PUT /api/location/{ticketGuid}

Body parameter

{
  "X": 0,
  "Y": 0,
  "MuncipalityMid": 0,
  "MunicipalityName": "string",
  "SettlementMid": 0,
  "SettlementName": "string",
  "StreetMid": 0,
  "StreetName": "string",
  "HouseNumberMid": 0,
  "FloorName": "string",
  "FloorAddition": "string"
}
Parameter In Type Required Description
ticketGuid path string true none
body body LocationUpdateData true none
Status Meaning Description Schema
200 OK OK None
400 Bad Request Bad Request None
401 Unauthorized Unauthorized None

User login, admin access only

Code samples

curl --request POST \
  --url https://localhost:5002/api/users/login \
  --header 'accept: application/json' \
  --header 'authorization: APIKey XXXXXX' \
  --header 'content-type: application/json' \
  --data '{"Username":"string","Password":"string"}'

POST /api/users/login

Body parameter

{
  "Username": "string",
  "Password": "string"
}
Parameter In Type Required Description
body body UserLoginData true none

Example responses

200 Response

{
  "Id": 0,
  "Username": "string",
  "Password": "string",
  "Name": "string",
  "ApiKey": "string",
  "Active": true,
  "Level": 0,
  "Roles": [
    "string"
  ]
}
Status Meaning Description Schema
200 OK OK UserIdData
404 Not Found Not Found None

Get list of all users

Code samples

curl --request GET \
  --url https://localhost:5002/api/users \
  --header 'accept: application/json' \
  --header 'authorization: APIKey XXXXXX'

GET /api/users

Example responses

200 Response

[
  {
    "Id": 0,
    "Username": "string",
    "Password": "string",
    "Name": "string",
    "ApiKey": "string",
    "Active": true,
    "Level": 0,
    "Roles": [
      "string"
    ]
  }
]
Status Meaning Description Schema
200 OK OK Inline
401 Unauthorized Unauthorized None

Status Code 200

Name Type Required Restrictions Description
anonymous [allOf] false none none
» Id integer(int32) true none none

Create user

Code samples

curl --request POST \
  --url https://localhost:5002/api/users \
  --header 'accept: application/json' \
  --header 'authorization: APIKey XXXXXX' \
  --header 'content-type: application/json' \
  --data '{"Username":"string","Password":"string","Name":"string","ApiKey":"string","Active":true,"Level":0,"Roles":["string"]}'

POST /api/users

Body parameter

{
  "Username": "string",
  "Password": "string",
  "Name": "string",
  "ApiKey": "string",
  "Active": true,
  "Level": 0,
  "Roles": [
    "string"
  ]
}
Parameter In Type Required Description
body body CommonUserData true none

Example responses

201 Response

{
  "Id": 0,
  "Username": "string",
  "Password": "string",
  "Name": "string",
  "ApiKey": "string",
  "Active": true,
  "Level": 0,
  "Roles": [
    "string"
  ]
}
Status Meaning Description Schema
201 Created Created UserIdData
400 Bad Request Bad Request None
401 Unauthorized Unauthorized None

Get user data

Code samples

curl --request GET \
  --url https://localhost:5002/api/users/0 \
  --header 'accept: application/json' \
  --header 'authorization: APIKey XXXXXX'

GET /api/users/{id}

Parameter In Type Required Description
id path integer(int32) true none

Example responses

200 Response

{
  "Id": 0,
  "Username": "string",
  "Password": "string",
  "Name": "string",
  "ApiKey": "string",
  "Active": true,
  "Level": 0,
  "Roles": [
    "string"
  ]
}
Status Meaning Description Schema
200 OK OK UserIdData
401 Unauthorized Unauthorized None
404 Not Found Not Found None

Delete user

Code samples

curl --request DELETE \
  --url https://localhost:5002/api/users/0 \
  --header 'authorization: APIKey XXXXXX'

DELETE /api/users/{id}

Parameter In Type Required Description
id path integer(int32) true none
Status Meaning Description Schema
200 OK OK None
204 No Content No Content None
401 Unauthorized Unauthorized None
404 Not Found Not Found None
500 Internal Server Error Internal Server Error None

Update user

Code samples

curl --request PUT \
  --url https://localhost:5002/api/users/0 \
  --header 'accept: application/json' \
  --header 'authorization: APIKey XXXXXX' \
  --header 'content-type: application/json' \
  --data '{"Username":"string","Password":"string","Name":"string","ApiKey":"string","Active":true,"Level":0,"Roles":["string"]}'

PUT /api/users/{id}

Body parameter

{
  "Username": "string",
  "Password": "string",
  "Name": "string",
  "ApiKey": "string",
  "Active": true,
  "Level": 0,
  "Roles": [
    "string"
  ]
}
Parameter In Type Required Description
id path integer(int32) true none
body body CommonUserData true none

Example responses

200 Response

{
  "Id": 0,
  "Username": "string",
  "Password": "string",
  "Name": "string",
  "ApiKey": "string",
  "Active": true,
  "Level": 0,
  "Roles": [
    "string"
  ]
}
Status Meaning Description Schema
200 OK OK UserIdData
400 Bad Request Bad Request None
401 Unauthorized Unauthorized None
404 Not Found Not Found None
500 Internal Server Error Internal Server Error None

Check if username and api key are unique

Code samples

curl --request GET \
  --url https://localhost:5002/api/users/checkuser \
  --header 'accept: application/json' \
  --header 'authorization: APIKey XXXXXX'

GET /api/users/checkuser

Parameter In Type Required Description
username query string false none
apiKey query string false none
userId query string false none

Example responses

200 Response

"string"
Status Meaning Description Schema
200 OK OK string
400 Bad Request Bad Request None
401 Unauthorized Unauthorized None
500 Internal Server Error Internal Server Error None

Roles_GetAllRoles

Code samples

curl --request GET \
  --url https://localhost:5002/api/roles \
  --header 'accept: application/json' \
  --header 'authorization: APIKey XXXXXX'

GET /api/roles

Example responses

200 Response

[
  {
    "Id": 0,
    "Name": "string",
    "Permissions": [
      "string"
    ],
    "Modified": "2018-10-11T11:21:50Z",
    "Created": "2018-10-11T11:21:50Z"
  }
]
Status Meaning Description Schema
200 OK OK Inline
401 Unauthorized Unauthorized None
500 Internal Server Error Internal Server Error None

Status Code 200

Name Type Required Restrictions Description
anonymous [allOf] false none none
» Id integer(int32) true none none
» Name string false none none
» Permissions [string] false none none

Roles_CreateRole

Code samples

curl --request POST \
  --url https://localhost:5002/api/roles \
  --header 'accept: application/json' \
  --header 'authorization: APIKey XXXXXX' \
  --header 'content-type: application/json' \
  --data '{"Name":"string","Permissions":["string"]}'

POST /api/roles

Body parameter

{
  "Name": "string",
  "Permissions": [
    "string"
  ]
}
Parameter In Type Required Description
body body CommonRoleData true none

Example responses

201 Response

{
  "Id": 0,
  "Name": "string",
  "Permissions": [
    "string"
  ],
  "Modified": "2018-10-11T11:21:50Z",
  "Created": "2018-10-11T11:21:50Z"
}
Status Meaning Description Schema
201 Created Created PoolRole
400 Bad Request Bad Request None
401 Unauthorized Unauthorized None
404 Not Found Not Found None
500 Internal Server Error Internal Server Error None

Roles_GetAllPermissions

Code samples

curl --request GET \
  --url https://localhost:5002/api/roles/permissions \
  --header 'accept: application/json' \
  --header 'authorization: APIKey XXXXXX'

GET /api/roles/permissions

Example responses

200 Response

[
  "string"
]
Status Meaning Description Schema
200 OK OK Inline
401 Unauthorized Unauthorized None
500 Internal Server Error Internal Server Error None

Roles_GetRole

Code samples

curl --request GET \
  --url https://localhost:5002/api/roles/0 \
  --header 'accept: application/json' \
  --header 'authorization: APIKey XXXXXX'

GET /api/roles/{id}

Parameter In Type Required Description
id path integer(int32) true none

Example responses

200 Response

{
  "Id": 0,
  "Name": "string",
  "Permissions": [
    "string"
  ],
  "Modified": "2018-10-11T11:21:50Z",
  "Created": "2018-10-11T11:21:50Z"
}
Status Meaning Description Schema
200 OK OK PoolRole
401 Unauthorized Unauthorized None
404 Not Found Not Found None
500 Internal Server Error Internal Server Error None

Roles_DeleteRole

Code samples

curl --request DELETE \
  --url https://localhost:5002/api/roles/0 \
  --header 'authorization: APIKey XXXXXX'

DELETE /api/roles/{id}

Parameter In Type Required Description
id path integer(int32) true none
Status Meaning Description Schema
200 OK OK None
400 Bad Request Bad Request None
401 Unauthorized Unauthorized None
404 Not Found Not Found None
500 Internal Server Error Internal Server Error None

Roles_UpdateRole

Code samples

curl --request PUT \
  --url https://localhost:5002/api/roles/0 \
  --header 'accept: application/json' \
  --header 'authorization: APIKey XXXXXX' \
  --header 'content-type: application/json' \
  --data '{"Name":"string","Permissions":["string"]}'

PUT /api/roles/{id}

Body parameter

{
  "Name": "string",
  "Permissions": [
    "string"
  ]
}
Parameter In Type Required Description
id path integer(int32) true none
body body CommonRoleData true none

Example responses

200 Response

{
  "Id": 0,
  "Name": "string",
  "Permissions": [
    "string"
  ],
  "Modified": "2018-10-11T11:21:50Z",
  "Created": "2018-10-11T11:21:50Z"
}
Status Meaning Description Schema
200 OK OK PoolRole
400 Bad Request Bad Request None
401 Unauthorized Unauthorized None
404 Not Found Not Found None
500 Internal Server Error Internal Server Error None

Update unit activation data

Code samples

curl --request PUT \
  --url https://localhost:5002/api/activation/string/0 \
  --header 'authorization: APIKey XXXXXX' \
  --header 'content-type: application/json' \
  --data '{"DatumPrihoda":"2018-10-11T11:21:50Z","DatumOdhoda":"2018-10-11T11:21:50Z","DatumKontrole":"2018-10-11T11:21:50Z","DatumZakljucka":"2018-10-11T11:21:50Z","ETA":"2018-10-11T11:21:50Z","SteviloSodelojucih":0,"SteviloMrtvih":0,"SteviloPoskodovanih":0,"DatumPripravljenostiOd":"2018-10-11T11:21:50Z","DatumPripravljenostiDo":"2018-10-11T11:21:50Z","StroskiIntervencije":0,"PrevozeniKm":0,"DejavnostNaLokaciji":"string","Opomba":"string","Status":"string"}'

PUT /api/activation/{ticketGuid}/{activationId}

Body parameter

{
  "DatumPrihoda": "2018-10-11T11:21:50Z",
  "DatumOdhoda": "2018-10-11T11:21:50Z",
  "DatumKontrole": "2018-10-11T11:21:50Z",
  "DatumZakljucka": "2018-10-11T11:21:50Z",
  "ETA": "2018-10-11T11:21:50Z",
  "SteviloSodelojucih": 0,
  "SteviloMrtvih": 0,
  "SteviloPoskodovanih": 0,
  "DatumPripravljenostiOd": "2018-10-11T11:21:50Z",
  "DatumPripravljenostiDo": "2018-10-11T11:21:50Z",
  "StroskiIntervencije": 0,
  "PrevozeniKm": 0,
  "DejavnostNaLokaciji": "string",
  "Opomba": "string",
  "Status": "string"
}
Parameter In Type Required Description
ticketGuid path string true none
activationId path integer(int32) true none
body body UpdateActivationStatusData true none
Status Meaning Description Schema
200 OK OK None
400 Bad Request Bad Request None
401 Unauthorized Unauthorized None

Get all webhooks user can subscribe to

Code samples

curl --request GET \
  --url https://localhost:5002/api/webhooks/filters \
  --header 'accept: application/json' \
  --header 'authorization: APIKey XXXXXX'

GET /api/webhooks/filters

Example responses

200 Response

[
  {
    "Name": "string",
    "Description": "string"
  }
]
Status Meaning Description Schema
200 OK OK Inline

Status Code 200

Name Type Required Restrictions Description
anonymous [WebHookFilter] false none none
» Name string false none none
» Description string false none none

Get subscriptions for authenticated user

Code samples

curl --request GET \
  --url https://localhost:5002/api/webhooks/registrations \
  --header 'accept: application/json' \
  --header 'authorization: APIKey XXXXXX'

GET /api/webhooks/registrations

Example responses

200 Response

{
  "Id": "string",
  "WebHookUri": "http://example.com",
  "Secret": "string",
  "Description": "string",
  "IsPaused": true,
  "Filters": [
    "string"
  ],
  "Headers": {
    "property1": "string",
    "property2": "string"
  },
  "Properties": {
    "property1": null,
    "property2": null
  },
  "Ezrid": [
    "string"
  ],
  "Eventid": [
    "string"
  ]
}
Status Meaning Description Schema
200 OK OK WebHook
401 Unauthorized or None

Create new subscription for authenticated user

Code samples

curl --request POST \
  --url https://localhost:5002/api/webhooks/registrations \
  --header 'accept: application/json' \
  --header 'authorization: APIKey XXXXXX' \
  --header 'content-type: application/json' \
  --data '{"Id":"string","WebHookUri":"http://example.com","Secret":"string","Description":"string","IsPaused":true,"Filters":["string"],"Headers":{"property1":"string","property2":"string"},"Properties":{"property1":null,"property2":null},"Ezrid":["string"],"Eventid":["string"]}'

POST /api/webhooks/registrations

Body parameter

{
  "Id": "string",
  "WebHookUri": "http://example.com",
  "Secret": "string",
  "Description": "string",
  "IsPaused": true,
  "Filters": [
    "string"
  ],
  "Headers": {
    "property1": "string",
    "property2": "string"
  },
  "Properties": {
    "property1": null,
    "property2": null
  },
  "Ezrid": [
    "string"
  ],
  "Eventid": [
    "string"
  ]
}
Parameter In Type Required Description
body body WebHook true none

Example responses

200 Response

{
  "Id": "string",
  "WebHookUri": "http://example.com",
  "Secret": "string",
  "Description": "string",
  "IsPaused": true,
  "Filters": [
    "string"
  ],
  "Headers": {
    "property1": "string",
    "property2": "string"
  },
  "Properties": {
    "property1": null,
    "property2": null
  },
  "Ezrid": [
    "string"
  ],
  "Eventid": [
    "string"
  ]
}
Status Meaning Description Schema
200 OK OK WebHook
400 Bad Request Bad Request None
401 Unauthorized or None

Get all subscriptions

Code samples

curl --request GET \
  --url https://localhost:5002/api/webhooks/registrations/all \
  --header 'accept: application/json' \
  --header 'authorization: APIKey XXXXXX'

GET /api/webhooks/registrations/all

Example responses

200 Response

[
  {
    "Id": "string",
    "WebHookUri": "http://example.com",
    "Secret": "string",
    "Description": "string",
    "IsPaused": true,
    "Filters": [
      "string"
    ],
    "Headers": {
      "property1": "string",
      "property2": "string"
    },
    "Properties": {
      "property1": null,
      "property2": null
    },
    "Ezrid": [
      "string"
    ],
    "Eventid": [
      "string"
    ]
  }
]
Status Meaning Description Schema
200 OK OK Inline
401 Unauthorized or None
500 Internal Server Error Internal Server Error None

Status Code 200

Name Type Required Restrictions Description
anonymous [WebHook] false none none
» Id string false none none
» WebHookUri string(uri) false none none
» Secret string false none none
» Description string false none none
» IsPaused boolean true none none
» Filters [string] false none none
» Headers object false none none
»» additionalProperties string false none none
» Properties object false none none
»» additionalProperties any false none none
» Ezrid [string] false none none
» Eventid [string] false none none

Get single subscription for authenticated user

Code samples

curl --request GET \
  --url https://localhost:5002/api/webhooks/registrations/string \
  --header 'accept: application/json' \
  --header 'authorization: APIKey XXXXXX'

GET /api/webhooks/registrations/{id}

Parameter In Type Required Description
id path string true none

Example responses

200 Response

{
  "Id": "string",
  "WebHookUri": "http://example.com",
  "Secret": "string",
  "Description": "string",
  "IsPaused": true,
  "Filters": [
    "string"
  ],
  "Headers": {
    "property1": "string",
    "property2": "string"
  },
  "Properties": {
    "property1": null,
    "property2": null
  },
  "Ezrid": [
    "string"
  ],
  "Eventid": [
    "string"
  ]
}
Status Meaning Description Schema
200 OK OK WebHook
401 Unauthorized or None

Update subscription for authenticated user

Code samples

curl --request PUT \
  --url https://localhost:5002/api/webhooks/registrations/string \
  --header 'authorization: APIKey XXXXXX' \
  --header 'content-type: application/json' \
  --data '{"Id":"string","WebHookUri":"http://example.com","Secret":"string","Description":"string","IsPaused":true,"Filters":["string"],"Headers":{"property1":"string","property2":"string"},"Properties":{"property1":null,"property2":null},"Ezrid":["string"],"Eventid":["string"]}'

PUT /api/webhooks/registrations/{id}

Body parameter

{
  "Id": "string",
  "WebHookUri": "http://example.com",
  "Secret": "string",
  "Description": "string",
  "IsPaused": true,
  "Filters": [
    "string"
  ],
  "Headers": {
    "property1": "string",
    "property2": "string"
  },
  "Properties": {
    "property1": null,
    "property2": null
  },
  "Ezrid": [
    "string"
  ],
  "Eventid": [
    "string"
  ]
}
Parameter In Type Required Description
id path string true none
body body WebHook true none
Status Meaning Description Schema
400 Bad Request Bad Request None
401 Unauthorized or None
404 Not Found Not Found None

Delete subscription for authenticated user

Code samples

curl --request DELETE \
  --url https://localhost:5002/api/webhooks/registrations/string \
  --header 'authorization: APIKey XXXXXX'

DELETE /api/webhooks/registrations/{id}

Parameter In Type Required Description
id path string true none
Status Meaning Description Schema
400 Bad Request Bad Request None
401 Unauthorized or None

Get all subscriptions for specific user

Code samples

curl --request GET \
  --url https://localhost:5002/api/webhooks/registrations/user/0 \
  --header 'accept: application/json' \
  --header 'authorization: APIKey XXXXXX'

GET /api/webhooks/registrations/user/{userId}

Parameter In Type Required Description
userId path integer(int32) true none

Example responses

200 Response

[
  {
    "Id": "string",
    "WebHookUri": "http://example.com",
    "Secret": "string",
    "Description": "string",
    "IsPaused": true,
    "Filters": [
      "string"
    ],
    "Headers": {
      "property1": "string",
      "property2": "string"
    },
    "Properties": {
      "property1": null,
      "property2": null
    },
    "Ezrid": [
      "string"
    ],
    "Eventid": [
      "string"
    ]
  }
]
Status Meaning Description Schema
200 OK OK Inline
401 Unauthorized or None
404 Not Found Not Found None

Status Code 200

Name Type Required Restrictions Description
anonymous [WebHook] false none none
» Id string false none none
» WebHookUri string(uri) false none none
» Secret string false none none
» Description string false none none
» IsPaused boolean true none none
» Filters [string] false none none
» Headers object false none none
»» additionalProperties string false none none
» Properties object false none none
»» additionalProperties any false none none
» Ezrid [string] false none none
» Eventid [string] false none none

Creste subscription for specific user

Code samples

curl --request POST \
  --url https://localhost:5002/api/webhooks/registrations/user/0 \
  --header 'accept: application/json' \
  --header 'authorization: APIKey XXXXXX' \
  --header 'content-type: application/json' \
  --data '{"UserId":0,"WebHook":{"Id":"string","WebHookUri":"http://example.com","Secret":"string","Description":"string","IsPaused":true,"Filters":["string"],"Headers":{"property1":"string","property2":"string"},"Properties":{"property1":null,"property2":null},"Ezrid":["string"],"Eventid":["string"]},"VerifyAddress":true}'

POST /api/webhooks/registrations/user/{userId}

Body parameter

{
  "UserId": 0,
  "WebHook": {
    "Id": "string",
    "WebHookUri": "http://example.com",
    "Secret": "string",
    "Description": "string",
    "IsPaused": true,
    "Filters": [
      "string"
    ],
    "Headers": {
      "property1": "string",
      "property2": "string"
    },
    "Properties": {
      "property1": null,
      "property2": null
    },
    "Ezrid": [
      "string"
    ],
    "Eventid": [
      "string"
    ]
  },
  "VerifyAddress": true
}
Parameter In Type Required Description
userId path integer(int32) true none
body body CreateWebHookForUserData true none

Example responses

201 Response

{
  "Id": "string",
  "WebHookUri": "http://example.com",
  "Secret": "string",
  "Description": "string",
  "IsPaused": true,
  "Filters": [
    "string"
  ],
  "Headers": {
    "property1": "string",
    "property2": "string"
  },
  "Properties": {
    "property1": null,
    "property2": null
  },
  "Ezrid": [
    "string"
  ],
  "Eventid": [
    "string"
  ]
}
Status Meaning Description Schema
201 Created Created WebHook
400 Bad Request Bad Request None
401 Unauthorized or None
404 Not Found Not Found None

Get single subscription for specific user

Code samples

curl --request GET \
  --url https://localhost:5002/api/webhooks/registrations/user/0/string \
  --header 'accept: application/json' \
  --header 'authorization: APIKey XXXXXX'

GET /api/webhooks/registrations/user/{userId}/{webHookId}

Parameter In Type Required Description
userId path integer(int32) true none
webHookId path string true none

Example responses

200 Response

{
  "Id": "string",
  "WebHookUri": "http://example.com",
  "Secret": "string",
  "Description": "string",
  "IsPaused": true,
  "Filters": [
    "string"
  ],
  "Headers": {
    "property1": "string",
    "property2": "string"
  },
  "Properties": {
    "property1": null,
    "property2": null
  },
  "Ezrid": [
    "string"
  ],
  "Eventid": [
    "string"
  ]
}
Status Meaning Description Schema
200 OK OK WebHook
401 Unauthorized or None
404 Not Found Not Found None

Delete subscription for specific user

Code samples

curl --request DELETE \
  --url https://localhost:5002/api/webhooks/registrations/user/0/string \
  --header 'authorization: APIKey XXXXXX'

DELETE /api/webhooks/registrations/user/{userId}/{webHookId}

Parameter In Type Required Description
userId path integer(int32) true none
webHookId path string true none
Status Meaning Description Schema
401 Unauthorized or None
404 Not Found Not Found None

Get all webhook registrations

Code samples

curl --request GET \
  --url https://localhost:5002/api/webhooks \
  --header 'accept: application/json' \
  --header 'authorization: APIKey XXXXXX'

GET /api/webhooks

Parameter In Type Required Description
User query string false none
Url query string false none
Ezrid query string false none
Eventid query string false none

Example responses

200 Response

[
  {
    "Id": 0,
    "WebHookId": "string",
    "User": {
      "Id": 0,
      "Username": "string",
      "Password": "string",
      "Name": "string",
      "ApiKey": "string",
      "Active": true,
      "Level": 0,
      "Roles": [
        "string"
      ]
    },
    "WebHook": {
      "Id": "string",
      "WebHookUri": "http://example.com",
      "Secret": "string",
      "Description": "string",
      "IsPaused": true,
      "Filters": [
        "string"
      ],
      "Headers": {
        "property1": "string",
        "property2": "string"
      },
      "Properties": {
        "property1": null,
        "property2": null
      },
      "Ezrid": [
        "string"
      ],
      "Eventid": [
        "string"
      ]
    }
  }
]
Status Meaning Description Schema
200 OK OK Inline
401 Unauthorized Unauthorized None
500 Internal Server Error Internal Server Error None

Status Code 200

Name Type Required Restrictions Description
anonymous [WebHookRegistrationDTO] false none none
» Id integer(int32) true none none
» WebHookId string false none none
» User UserIdData true none none
»» Id integer(int32) true none none
» WebHook WebHook true none none
»» Id string false none none
»» WebHookUri string(uri) false none none
»» Secret string false none none
»» Description string false none none
»» IsPaused boolean true none none
»» Filters [string] false none none
»» Headers object false none none
»»» additionalProperties string false none none
»» Properties object false none none
»»» additionalProperties any false none none
»» Ezrid [string] false none none
»» Eventid [string] false none none

Create webhook registration

Code samples

curl --request POST \
  --url https://localhost:5002/api/webhooks \
  --header 'accept: application/json' \
  --header 'authorization: APIKey XXXXXX' \
  --header 'content-type: application/json' \
  --data '{"Id":0,"WebHookId":"string","User":{"Id":0,"Username":"string","Password":"string","Name":"string","ApiKey":"string","Active":true,"Level":0,"Roles":["string"]},"WebHook":{"Id":"string","WebHookUri":"http://example.com","Secret":"string","Description":"string","IsPaused":true,"Filters":["string"],"Headers":{"property1":"string","property2":"string"},"Properties":{"property1":null,"property2":null},"Ezrid":["string"],"Eventid":["string"]}}'

POST /api/webhooks

Body parameter

{
  "Id": 0,
  "WebHookId": "string",
  "User": {
    "Id": 0,
    "Username": "string",
    "Password": "string",
    "Name": "string",
    "ApiKey": "string",
    "Active": true,
    "Level": 0,
    "Roles": [
      "string"
    ]
  },
  "WebHook": {
    "Id": "string",
    "WebHookUri": "http://example.com",
    "Secret": "string",
    "Description": "string",
    "IsPaused": true,
    "Filters": [
      "string"
    ],
    "Headers": {
      "property1": "string",
      "property2": "string"
    },
    "Properties": {
      "property1": null,
      "property2": null
    },
    "Ezrid": [
      "string"
    ],
    "Eventid": [
      "string"
    ]
  }
}
Parameter In Type Required Description
body body WebHookRegistrationDTO true none

Example responses

201 Response

{
  "Id": 0,
  "WebHookId": "string",
  "User": {
    "Id": 0,
    "Username": "string",
    "Password": "string",
    "Name": "string",
    "ApiKey": "string",
    "Active": true,
    "Level": 0,
    "Roles": [
      "string"
    ]
  },
  "WebHook": {
    "Id": "string",
    "WebHookUri": "http://example.com",
    "Secret": "string",
    "Description": "string",
    "IsPaused": true,
    "Filters": [
      "string"
    ],
    "Headers": {
      "property1": "string",
      "property2": "string"
    },
    "Properties": {
      "property1": null,
      "property2": null
    },
    "Ezrid": [
      "string"
    ],
    "Eventid": [
      "string"
    ]
  }
}
Status Meaning Description Schema
201 Created Created WebHookRegistrationDTO
400 Bad Request Bad Request None
401 Unauthorized Unauthorized None
500 Internal Server Error Internal Server Error None

Get webhook registration by id

Code samples

curl --request GET \
  --url https://localhost:5002/api/webhooks/0 \
  --header 'accept: application/json' \
  --header 'authorization: APIKey XXXXXX'

GET /api/webhooks/{id}

Parameter In Type Required Description
id path integer(int32) true none

Example responses

200 Response

{
  "Id": 0,
  "WebHookId": "string",
  "User": {
    "Id": 0,
    "Username": "string",
    "Password": "string",
    "Name": "string",
    "ApiKey": "string",
    "Active": true,
    "Level": 0,
    "Roles": [
      "string"
    ]
  },
  "WebHook": {
    "Id": "string",
    "WebHookUri": "http://example.com",
    "Secret": "string",
    "Description": "string",
    "IsPaused": true,
    "Filters": [
      "string"
    ],
    "Headers": {
      "property1": "string",
      "property2": "string"
    },
    "Properties": {
      "property1": null,
      "property2": null
    },
    "Ezrid": [
      "string"
    ],
    "Eventid": [
      "string"
    ]
  }
}
Status Meaning Description Schema
200 OK OK WebHookRegistrationDTO
401 Unauthorized Unauthorized None
404 Not Found Not Found None
500 Internal Server Error Internal Server Error None

Update webhook registration

Code samples

curl --request PUT \
  --url https://localhost:5002/api/webhooks/0 \
  --header 'accept: application/json' \
  --header 'authorization: APIKey XXXXXX' \
  --header 'content-type: application/json' \
  --data '{"Id":0,"WebHookId":"string","User":{"Id":0,"Username":"string","Password":"string","Name":"string","ApiKey":"string","Active":true,"Level":0,"Roles":["string"]},"WebHook":{"Id":"string","WebHookUri":"http://example.com","Secret":"string","Description":"string","IsPaused":true,"Filters":["string"],"Headers":{"property1":"string","property2":"string"},"Properties":{"property1":null,"property2":null},"Ezrid":["string"],"Eventid":["string"]}}'

PUT /api/webhooks/{id}

Body parameter

{
  "Id": 0,
  "WebHookId": "string",
  "User": {
    "Id": 0,
    "Username": "string",
    "Password": "string",
    "Name": "string",
    "ApiKey": "string",
    "Active": true,
    "Level": 0,
    "Roles": [
      "string"
    ]
  },
  "WebHook": {
    "Id": "string",
    "WebHookUri": "http://example.com",
    "Secret": "string",
    "Description": "string",
    "IsPaused": true,
    "Filters": [
      "string"
    ],
    "Headers": {
      "property1": "string",
      "property2": "string"
    },
    "Properties": {
      "property1": null,
      "property2": null
    },
    "Ezrid": [
      "string"
    ],
    "Eventid": [
      "string"
    ]
  }
}
Parameter In Type Required Description
id path integer(int32) true none
body body WebHookRegistrationDTO true none

Example responses

200 Response

{
  "Id": 0,
  "WebHookId": "string",
  "User": {
    "Id": 0,
    "Username": "string",
    "Password": "string",
    "Name": "string",
    "ApiKey": "string",
    "Active": true,
    "Level": 0,
    "Roles": [
      "string"
    ]
  },
  "WebHook": {
    "Id": "string",
    "WebHookUri": "http://example.com",
    "Secret": "string",
    "Description": "string",
    "IsPaused": true,
    "Filters": [
      "string"
    ],
    "Headers": {
      "property1": "string",
      "property2": "string"
    },
    "Properties": {
      "property1": null,
      "property2": null
    },
    "Ezrid": [
      "string"
    ],
    "Eventid": [
      "string"
    ]
  }
}
Status Meaning Description Schema
200 OK OK WebHookRegistrationDTO
400 Bad Request Bad Request None
401 Unauthorized Unauthorized None
404 Not Found Not Found None
500 Internal Server Error Internal Server Error None

Delete webhook registration

Code samples

curl --request DELETE \
  --url https://localhost:5002/api/webhooks/0 \
  --header 'authorization: APIKey XXXXXX'

DELETE /api/webhooks/{id}

Parameter In Type Required Description
id path integer(int32) true none
Status Meaning Description Schema
200 OK OK None
401 Unauthorized Unauthorized None
404 Not Found Not Found None
500 Internal Server Error Internal Server Error None

Schemas

{
  "WebHookUsers": 0,
  "Users": 0,
  "Tickets": 0,
  "NotClosed": 0,
  "TotalWebHooks": 0,
  "ActiveWebHooks": 0,
  "Activities": [
    {
      "UserType": "string",
      "Operation": "string",
      "Last": "2018-10-11T11:21:50Z"
    }
  ]
}

Properties

Name Type Required Restrictions Description
WebHookUsers integer(int32) true none none
Users integer(int32) true none none
Tickets integer(int32) true none none
NotClosed integer(int32) true none none
TotalWebHooks integer(int32) true none none
ActiveWebHooks integer(int32) true none none
Activities [ActivitySummary] false none none

{
  "UserType": "string",
  "Operation": "string",
  "Last": "2018-10-11T11:21:50Z"
}

Properties

Name Type Required Restrictions Description
UserType string false none none
Operation string false none none
Last string(date-time) true none none

{
  "Name": "string",
  "Username": "string",
  "ApiKey": "string",
  "Created": "2018-10-11T11:21:50Z",
  "LastActivity": "2018-10-11T11:21:50Z"
}

Properties

Name Type Required Restrictions Description
Name string false none none
Username string false none none
ApiKey string false none none
Created string(date-time) true none none
LastActivity string(date-time) false none none

{
  "PoolUser": "string",
  "ApiKey": "string",
  "TicketGuid": "string",
  "Operation": "string",
  "EntityName": "string",
  "Created": "2018-10-11T11:21:50Z"
}

Properties

Name Type Required Restrictions Description
PoolUser string false none none
ApiKey string false none none
TicketGuid string(guid) true none none
Operation string false none none
EntityName string false none none
Created string(date-time) true none none

{
  "Id": 0,
  "Address": {
    "Id": 0,
    "Region": {
      "Code": "string",
      "Name": "string"
    },
    "Municipality": {
      "Mid": 0,
      "Name": "string",
      "Coordinates": {
        "X": 0,
        "Y": 0
      }
    },
    "Settlement": {
      "Mid": 0,
      "Name": "string",
      "Coordinates": {
        "X": 0,
        "Y": 0
      },
      "Municipality": {
        "Mid": 0,
        "Name": "string",
        "Coordinates": {
          "X": 0,
          "Y": 0
        }
      }
    },
    "Street": {
      "Mid": 0,
      "Name": "string",
      "City": {
        "Mid": 0,
        "Name": "string",
        "Coordinates": {
          "X": 0,
          "Y": 0
        },
        "Municipality": {
          "Mid": 0,
          "Name": "string",
          "Coordinates": {
            "X": 0,
            "Y": 0
          }
        }
      }
    },
    "HouseNumber": {
      "Mid": 0,
      "Number": 0,
      "Addition": "string",
      "Coordinates": {
        "X": 0,
        "Y": 0
      },
      "Street": {
        "Mid": 0,
        "Name": "string",
        "City": {
          "Mid": 0,
          "Name": "string",
          "Coordinates": {
            "X": 0,
            "Y": 0
          },
          "Municipality": {
            "Mid": 0,
            "Name": "string",
            "Coordinates": {
              "X": 0,
              "Y": 0
            }
          }
        }
      }
    },
    "Coordinates": {
      "X": 0,
      "Y": 0
    },
    "Floor": {
      "Name": "string",
      "Addition": "string"
    }
  },
  "CallerName": "string",
  "CallerNumber": "string",
  "CallType": 1,
  "ClusterAddDate": "2018-10-11T11:21:50Z",
  "ClusterId": 0,
  "Condition": "string",
  "DateCreated": "2018-10-11T11:21:50Z",
  "EventDescription": "string",
  "NumberOfWounded": 0,
  "OwnerConsoleId": 0,
  "ReferenceDescription": "string",
  "ReferenceTicketId": 0,
  "SmsConversationId": 0,
  "SpinId": 0,
  "Status": 1,
  "PlkStatus": "string",
  "PlkShape": "string",
  "Events": [
    {
      "Id": 0,
      "EventId": 0,
      "Code": "string",
      "Description": "string"
    }
  ],
  "SmsClosed": true,
  "SpinReportDescription": "string",
  "GmlData": {
    "Id": 0,
    "CesteMain": "string",
    "CesteMainGid": 0,
    "CesteMainDrugo": "string",
    "CesteRegional": "string",
    "CesteRegionalGid": 0,
    "CesteRegionalDrugo": "string",
    "CesteThird": "string",
    "CesteThirdGid": 0,
    "CesteThirdDrugo": "string",
    "Coordinates": "string",
    "RpeNaWgs": "string",
    "RpeNaWgsNaMid": 0,
    "RpeHsWgs": "string",
    "RpeHsWgsHsMid": 0,
    "RpeObWgs": "string",
    "RpeObWgsObMid": 0,
    "RpeUlWgs": "string",
    "RpeUlWgsUlMid": 0
  },
  "TransferredToType": "string",
  "TransferredToDescription": "string",
  "TransferredToNumber": "string",
  "TransferredToEZRID": 0,
  "ReporterType": "string",
  "ReportedBy": "string",
  "LocationSpecificDescription": "string",
  "WarningDescription": "string",
  "InjuryType": "string",
  "Urgent": true,
  "Cargo": [
    {
      "Id": 0,
      "Vin": "string",
      "CargoListId": "string",
      "CargoListCreated": "2018-10-11T11:21:50Z",
      "Name": "string",
      "Number": 0,
      "Amount": 0,
      "Detonator": true
    }
  ],
  "SpinStatus": 0,
  "Damages": [
    {
      "Id": 0,
      "Asset": "string",
      "AssetSlug": "string",
      "AssetId": 0,
      "Verb": "string",
      "VerbSlug": "string",
      "VerbId": 0,
      "Count": 0
    }
  ],
  "AMLData": {
    "Id": 0,
    "Header": "string",
    "Latitude": 0,
    "Longitude": 0,
    "Radius": 0,
    "TimeOfPositioning": "string",
    "LevelOfConfidence": 0,
    "PositioningMethod": "string",
    "IMSI": "string",
    "IMEI": "string",
    "MCC": "string",
    "MNC": "string"
  },
  "Guid": "string",
  "RECOOrigin": 0,
  "CallEndTime": "2018-10-11T11:21:50Z",
  "Activations": [
    {
      "Id": 0,
      "OriginalActivationId": 0,
      "UnitId": 0,
      "UnitName": "string",
      "UnitPhone": "string",
      "UnitRic": "string",
      "PersonId": 0,
      "PersonFirstName": "string",
      "PersonLastName": "string",
      "PersonFunc": "string",
      "PersonNumber": "string",
      "PersonRic": "string",
      "Username": "string",
      "TypeOfActivation": 0,
      "SpinActivationId": 0,
      "ActivatedAt": "2018-10-11T11:21:50Z",
      "DardoMessageId": "string",
      "DardoStatus": "string",
      "SpinStatus": 0,
      "DatumPrihoda": "2018-10-11T11:21:50Z",
      "DatumOdhoda": "2018-10-11T11:21:50Z",
      "DatumKontrole": "2018-10-11T11:21:50Z",
      "DatumZakljucka": "2018-10-11T11:21:50Z",
      "ETA": "2018-10-11T11:21:50Z",
      "SteviloSodelojucih": 0,
      "SteviloMrtvih": 0,
      "SteviloPoskodovanih": 0,
      "DatumPripravljenostiOd": "2018-10-11T11:21:50Z",
      "DatumPripravljenostiDo": "2018-10-11T11:21:50Z",
      "StroskiIntervencije": 0,
      "PrevozeniKm": 0,
      "DejavnostNaLokaciji": "string",
      "Opomba": "string"
    }
  ]
}

Properties

Name Type Required Restrictions Description
Id integer(int32) true none none
Address AllegroPoolTicketGISAddressTransfer false none none
CallerName string false none none
CallerNumber string false none none
CallType AllegroTicketCallType true none none
ClusterAddDate string(date-time) false none none
ClusterId integer(int32) false none none
Condition string false none none
DateCreated string(date-time) true none none
EventDescription string false none none
NumberOfWounded integer(int32) true none none
OwnerConsoleId integer(int32) true none none
ReferenceDescription string false none none
ReferenceTicketId integer(int32) false none none
SmsConversationId integer(int32) false none none
SpinId integer(int32) false none none
Status AllegroTicketStatus true none none
PlkStatus string false none none
PlkShape string(byte) false none none
Events [AllegroPoolEventTransfer] false none none
SmsClosed boolean true none none
SpinReportDescription string false none none
GmlData AllegroPoolGmlDataTransfer false none none
TransferredToType string false none none
TransferredToDescription string false none none
TransferredToNumber string false none none
TransferredToEZRID integer(int32) false none none
ReporterType string false none none
ReportedBy string false none none
LocationSpecificDescription string false none none
WarningDescription string false none none
InjuryType string false none none
Urgent boolean true none none
Cargo [AllegroPoolTicketCargoTransfer] false none none
SpinStatus AllegroTicketSpinStatus false none none
Damages [AllegroPoolTicketDamageTransfer] false none none
AMLData AllegroPoolTicketAMLDataTransfer false none none
Guid string(guid) true none none
RECOOrigin integer(int32) true none none
CallEndTime string(date-time) false none none
Activations [AllegroPoolTicketAlgorithmStepUnitOrPersonActivationTransfer] false none none

{
  "Id": 0,
  "Region": {
    "Code": "string",
    "Name": "string"
  },
  "Municipality": {
    "Mid": 0,
    "Name": "string",
    "Coordinates": {
      "X": 0,
      "Y": 0
    }
  },
  "Settlement": {
    "Mid": 0,
    "Name": "string",
    "Coordinates": {
      "X": 0,
      "Y": 0
    },
    "Municipality": {
      "Mid": 0,
      "Name": "string",
      "Coordinates": {
        "X": 0,
        "Y": 0
      }
    }
  },
  "Street": {
    "Mid": 0,
    "Name": "string",
    "City": {
      "Mid": 0,
      "Name": "string",
      "Coordinates": {
        "X": 0,
        "Y": 0
      },
      "Municipality": {
        "Mid": 0,
        "Name": "string",
        "Coordinates": {
          "X": 0,
          "Y": 0
        }
      }
    }
  },
  "HouseNumber": {
    "Mid": 0,
    "Number": 0,
    "Addition": "string",
    "Coordinates": {
      "X": 0,
      "Y": 0
    },
    "Street": {
      "Mid": 0,
      "Name": "string",
      "City": {
        "Mid": 0,
        "Name": "string",
        "Coordinates": {
          "X": 0,
          "Y": 0
        },
        "Municipality": {
          "Mid": 0,
          "Name": "string",
          "Coordinates": {
            "X": 0,
            "Y": 0
          }
        }
      }
    }
  },
  "Coordinates": {
    "X": 0,
    "Y": 0
  },
  "Floor": {
    "Name": "string",
    "Addition": "string"
  }
}

Properties

Name Type Required Restrictions Description
Id integer(int32) true none none
Region AllegroRegion false none none
Municipality AllegroMunicipality false none none
Settlement AllegroSettlement false none none
Street AllegroStreet false none none
HouseNumber AllegroHouseNumber false none none
Coordinates AllegroCoordinates false none none
Floor AllegroFloor false none none

{
  "Code": "string",
  "Name": "string"
}

Properties

Name Type Required Restrictions Description
Code string false none none
Name string false none none

{
  "Mid": 0,
  "Name": "string",
  "Coordinates": {
    "X": 0,
    "Y": 0
  }
}

Properties

Name Type Required Restrictions Description
Mid integer(int32) false none none
Name string false none none
Coordinates AllegroCoordinates false none none

{
  "X": 0,
  "Y": 0
}

Properties

Name Type Required Restrictions Description
X number(double) true none none
Y number(double) true none none

{
  "Mid": 0,
  "Name": "string",
  "Coordinates": {
    "X": 0,
    "Y": 0
  },
  "Municipality": {
    "Mid": 0,
    "Name": "string",
    "Coordinates": {
      "X": 0,
      "Y": 0
    }
  }
}

Properties

Name Type Required Restrictions Description
Mid integer(int32) false none none
Name string false none none
Coordinates AllegroCoordinates false none none
Municipality AllegroMunicipality false none none

{
  "Mid": 0,
  "Name": "string",
  "City": {
    "Mid": 0,
    "Name": "string",
    "Coordinates": {
      "X": 0,
      "Y": 0
    },
    "Municipality": {
      "Mid": 0,
      "Name": "string",
      "Coordinates": {
        "X": 0,
        "Y": 0
      }
    }
  }
}

Properties

Name Type Required Restrictions Description
Mid integer(int32) false none none
Name string false none none
City AllegroSettlement false none none

{
  "Mid": 0,
  "Number": 0,
  "Addition": "string",
  "Coordinates": {
    "X": 0,
    "Y": 0
  },
  "Street": {
    "Mid": 0,
    "Name": "string",
    "City": {
      "Mid": 0,
      "Name": "string",
      "Coordinates": {
        "X": 0,
        "Y": 0
      },
      "Municipality": {
        "Mid": 0,
        "Name": "string",
        "Coordinates": {
          "X": 0,
          "Y": 0
        }
      }
    }
  }
}

Properties

Name Type Required Restrictions Description
Mid integer(int32) false none none
Number integer(int32) false none none
Addition string false none none
Coordinates AllegroCoordinates false none none
Street AllegroStreet false none none

{
  "Name": "string",
  "Addition": "string"
}

Properties

Name Type Required Restrictions Description
Name string false none none
Addition string false none none

1

Properties

Name Type Required Restrictions Description
anonymous integer false none none

Enumerated Values

Property Value
anonymous 1
anonymous 2
anonymous 3
anonymous 4
anonymous 5
anonymous 6
anonymous 7
anonymous 8

1

Properties

Name Type Required Restrictions Description
anonymous integer false none none

Enumerated Values

Property Value
anonymous 1
anonymous 2
anonymous 3
anonymous 4
anonymous 5
anonymous 6
anonymous 7
anonymous 8
anonymous 9

{
  "Id": 0,
  "EventId": 0,
  "Code": "string",
  "Description": "string"
}

Properties

Name Type Required Restrictions Description
Id integer(int32) true none none
EventId integer(int32) true none none
Code string false none none
Description string false none none

{
  "Id": 0,
  "CesteMain": "string",
  "CesteMainGid": 0,
  "CesteMainDrugo": "string",
  "CesteRegional": "string",
  "CesteRegionalGid": 0,
  "CesteRegionalDrugo": "string",
  "CesteThird": "string",
  "CesteThirdGid": 0,
  "CesteThirdDrugo": "string",
  "Coordinates": "string",
  "RpeNaWgs": "string",
  "RpeNaWgsNaMid": 0,
  "RpeHsWgs": "string",
  "RpeHsWgsHsMid": 0,
  "RpeObWgs": "string",
  "RpeObWgsObMid": 0,
  "RpeUlWgs": "string",
  "RpeUlWgsUlMid": 0
}

Properties

Name Type Required Restrictions Description
Id integer(int32) true none none
CesteMain string false none none
CesteMainGid integer(int32) false none none
CesteMainDrugo string false none none
CesteRegional string false none none
CesteRegionalGid integer(int32) false none none
CesteRegionalDrugo string false none none
CesteThird string false none none
CesteThirdGid integer(int32) false none none
CesteThirdDrugo string false none none
Coordinates string false none none
RpeNaWgs string false none none
RpeNaWgsNaMid integer(int32) false none none
RpeHsWgs string false none none
RpeHsWgsHsMid integer(int32) false none none
RpeObWgs string false none none
RpeObWgsObMid integer(int32) false none none
RpeUlWgs string false none none
RpeUlWgsUlMid integer(int32) false none none

{
  "Id": 0,
  "Vin": "string",
  "CargoListId": "string",
  "CargoListCreated": "2018-10-11T11:21:50Z",
  "Name": "string",
  "Number": 0,
  "Amount": 0,
  "Detonator": true
}

Properties

Name Type Required Restrictions Description
Id integer(int32) true none none
Vin string false none none
CargoListId string false none none
CargoListCreated string(date-time) false none none
Name string false none none
Number integer(int32) true none none
Amount number(double) true none none
Detonator boolean true none none

0

Properties

Name Type Required Restrictions Description
anonymous integer false none none

Enumerated Values

Property Value
anonymous 0
anonymous 1
anonymous 2

{
  "Id": 0,
  "Asset": "string",
  "AssetSlug": "string",
  "AssetId": 0,
  "Verb": "string",
  "VerbSlug": "string",
  "VerbId": 0,
  "Count": 0
}

Properties

Name Type Required Restrictions Description
Id integer(int32) true none none
Asset string false none none
AssetSlug string false none none
AssetId integer(int32) true none none
Verb string false none none
VerbSlug string false none none
VerbId integer(int32) true none none
Count integer(int32) true none none

{
  "Id": 0,
  "Header": "string",
  "Latitude": 0,
  "Longitude": 0,
  "Radius": 0,
  "TimeOfPositioning": "string",
  "LevelOfConfidence": 0,
  "PositioningMethod": "string",
  "IMSI": "string",
  "IMEI": "string",
  "MCC": "string",
  "MNC": "string"
}

Properties

Name Type Required Restrictions Description
Id integer(int32) true none none
Header string false none none
Latitude number(double) true none none
Longitude number(double) true none none
Radius number(double) true none none
TimeOfPositioning string false none none
LevelOfConfidence integer(int32) true none none
PositioningMethod string false none none
IMSI string false none none
IMEI string false none none
MCC string false none none
MNC string false none none

{
  "Id": 0,
  "OriginalActivationId": 0,
  "UnitId": 0,
  "UnitName": "string",
  "UnitPhone": "string",
  "UnitRic": "string",
  "PersonId": 0,
  "PersonFirstName": "string",
  "PersonLastName": "string",
  "PersonFunc": "string",
  "PersonNumber": "string",
  "PersonRic": "string",
  "Username": "string",
  "TypeOfActivation": 0,
  "SpinActivationId": 0,
  "ActivatedAt": "2018-10-11T11:21:50Z",
  "DardoMessageId": "string",
  "DardoStatus": "string",
  "SpinStatus": 0,
  "DatumPrihoda": "2018-10-11T11:21:50Z",
  "DatumOdhoda": "2018-10-11T11:21:50Z",
  "DatumKontrole": "2018-10-11T11:21:50Z",
  "DatumZakljucka": "2018-10-11T11:21:50Z",
  "ETA": "2018-10-11T11:21:50Z",
  "SteviloSodelojucih": 0,
  "SteviloMrtvih": 0,
  "SteviloPoskodovanih": 0,
  "DatumPripravljenostiOd": "2018-10-11T11:21:50Z",
  "DatumPripravljenostiDo": "2018-10-11T11:21:50Z",
  "StroskiIntervencije": 0,
  "PrevozeniKm": 0,
  "DejavnostNaLokaciji": "string",
  "Opomba": "string"
}

Properties

Name Type Required Restrictions Description
Id integer(int32) true none none
OriginalActivationId integer(int32) true none none
UnitId integer(int32) false none none
UnitName string false none none
UnitPhone string false none none
UnitRic string false none none
PersonId integer(int32) false none none
PersonFirstName string false none none
PersonLastName string false none none
PersonFunc string false none none
PersonNumber string false none none
PersonRic string false none none
Username string false none none
TypeOfActivation integer(int32) false none none
SpinActivationId integer(int32) false none none
ActivatedAt string(date-time) true none none
DardoMessageId string false none none
DardoStatus string false none none
SpinStatus AllegroTicketAlgorithmStepUnitOrPersonActivationSpinStatus false none none
DatumPrihoda string(date-time) false none none
DatumOdhoda string(date-time) false none none
DatumKontrole string(date-time) false none none
DatumZakljucka string(date-time) false none none
ETA string(date-time) false none none
SteviloSodelojucih integer(int32) true none none
SteviloMrtvih integer(int32) true none none
SteviloPoskodovanih integer(int32) true none none
DatumPripravljenostiOd string(date-time) false none none
DatumPripravljenostiDo string(date-time) false none none
StroskiIntervencije integer(int32) true none none
PrevozeniKm integer(int32) true none none
DejavnostNaLokaciji string false none none
Opomba string false none none

0

Properties

Name Type Required Restrictions Description
anonymous integer false none none

Enumerated Values

Property Value
anonymous 0
anonymous 1
anonymous 2
anonymous 3
anonymous 4
anonymous 5
anonymous 6
anonymous 7

{
  "User": "string",
  "CallerNumber": "string",
  "CreatedAt": "2018-10-11T11:21:50Z",
  "EZRCOID": 0,
  "Description": "string",
  "LocationSpecificDescription": "string",
  "AdditionalWarnings": "string",
  "EventID": 0,
  "CreateSpin": true,
  "Location": {
    "X": 0,
    "Y": 0,
    "ObcinaMID": 0,
    "NaseljeMID": 0,
    "UlicaMID": 0,
    "HsMID": 0,
    "CestaMainGID": 0,
    "CestaRegionalGID": 0,
    "CestaThirdGID": 0
  },
  "Activations": [
    {
      "UnitId": 0,
      "ActivatedAt": "2018-10-11T11:21:50Z"
    }
  ]
}

Properties

Name Type Required Restrictions Description
User string true none none
CallerNumber string true none none
CreatedAt string(date-time) true none none
EZRCOID integer(int32) true none none
Description string true none none
LocationSpecificDescription string false none none
AdditionalWarnings string false none none
EventID integer(int32) true none none
CreateSpin boolean true none none
Location CreateTicketDataLocation false none none
Activations [CreateTicketDataActivation] false none none

{
  "X": 0,
  "Y": 0,
  "ObcinaMID": 0,
  "NaseljeMID": 0,
  "UlicaMID": 0,
  "HsMID": 0,
  "CestaMainGID": 0,
  "CestaRegionalGID": 0,
  "CestaThirdGID": 0
}

Properties

Name Type Required Restrictions Description
X number(double) true none none
Y number(double) true none none
ObcinaMID integer(int32) true none none
NaseljeMID integer(int32) false none none
UlicaMID integer(int32) false none none
HsMID integer(int32) false none none
CestaMainGID integer(int32) false none none
CestaRegionalGID integer(int32) false none none
CestaThirdGID integer(int32) false none none

{
  "UnitId": 0,
  "ActivatedAt": "2018-10-11T11:21:50Z"
}

Properties

Name Type Required Restrictions Description
UnitId integer(int32) true none none
ActivatedAt string(date-time) true none none

{
  "EventDescription": "string"
}

Properties

Name Type Required Restrictions Description
EventDescription string false none none

{
  "X": 0,
  "Y": 0,
  "MuncipalityMid": 0,
  "MunicipalityName": "string",
  "SettlementMid": 0,
  "SettlementName": "string",
  "StreetMid": 0,
  "StreetName": "string",
  "HouseNumberMid": 0,
  "FloorName": "string",
  "FloorAddition": "string"
}

Properties

Name Type Required Restrictions Description
X number(double) false none none
Y number(double) false none none
MuncipalityMid integer(int32) false none none
MunicipalityName string false none none
SettlementMid integer(int32) false none none
SettlementName string false none none
StreetMid integer(int32) false none none
StreetName string false none none
HouseNumberMid integer(int32) false none none
FloorName string false none none
FloorAddition string false none none

{
  "Id": 0,
  "Username": "string",
  "Password": "string",
  "Name": "string",
  "ApiKey": "string",
  "Active": true,
  "Level": 0,
  "Roles": [
    "string"
  ]
}

Properties

Name Type Required Restrictions Description
Id integer(int32) true none none

{
  "Username": "string",
  "Password": "string",
  "Name": "string",
  "ApiKey": "string",
  "Active": true,
  "Level": 0,
  "Roles": [
    "string"
  ]
}

Properties

Name Type Required Restrictions Description
Username string false none none
Password string false none none
Name string false none none
ApiKey string false none none
Active boolean true none none
Level PoolUserLevel false none none
Roles [string] true none none

0

Properties

Name Type Required Restrictions Description
anonymous integer false none none

Enumerated Values

Property Value
anonymous 0
anonymous 1
anonymous 2
anonymous 3
anonymous 4

{
  "Username": "string",
  "Password": "string"
}

Properties

Name Type Required Restrictions Description
Username string false none none
Password string false none none

{
  "Id": 0,
  "Name": "string",
  "Permissions": [
    "string"
  ],
  "Modified": "2018-10-11T11:21:50Z",
  "Created": "2018-10-11T11:21:50Z"
}

Properties

Name Type Required Restrictions Description
Id integer(int32) true none none
Name string false none none
Permissions [string] false none none

{
  "Modified": "2018-10-11T11:21:50Z",
  "Created": "2018-10-11T11:21:50Z"
}

Properties

Name Type Required Restrictions Description
Modified string(date-time) false none none
Created string(date-time) true none none

{
  "Name": "string",
  "Permissions": [
    "string"
  ]
}

Properties

Name Type Required Restrictions Description
Name string false none none
Permissions [string] false none none

{
  "DatumPrihoda": "2018-10-11T11:21:50Z",
  "DatumOdhoda": "2018-10-11T11:21:50Z",
  "DatumKontrole": "2018-10-11T11:21:50Z",
  "DatumZakljucka": "2018-10-11T11:21:50Z",
  "ETA": "2018-10-11T11:21:50Z",
  "SteviloSodelojucih": 0,
  "SteviloMrtvih": 0,
  "SteviloPoskodovanih": 0,
  "DatumPripravljenostiOd": "2018-10-11T11:21:50Z",
  "DatumPripravljenostiDo": "2018-10-11T11:21:50Z",
  "StroskiIntervencije": 0,
  "PrevozeniKm": 0,
  "DejavnostNaLokaciji": "string",
  "Opomba": "string",
  "Status": "string"
}

Properties

Name Type Required Restrictions Description
DatumPrihoda string(date-time) false none none
DatumOdhoda string(date-time) false none none
DatumKontrole string(date-time) false none none
DatumZakljucka string(date-time) false none none
ETA string(date-time) false none none
SteviloSodelojucih integer(int32) false none none
SteviloMrtvih integer(int32) false none none
SteviloPoskodovanih integer(int32) false none none
DatumPripravljenostiOd string(date-time) false none none
DatumPripravljenostiDo string(date-time) false none none
StroskiIntervencije integer(int32) false none none
PrevozeniKm integer(int32) false none none
DejavnostNaLokaciji string false none none
Opomba string false none none
Status string true none none

{
  "Name": "string",
  "Description": "string"
}

Properties

Name Type Required Restrictions Description
Name string false none none
Description string false none none

{
  "Id": "string",
  "WebHookUri": "http://example.com",
  "Secret": "string",
  "Description": "string",
  "IsPaused": true,
  "Filters": [
    "string"
  ],
  "Headers": {
    "property1": "string",
    "property2": "string"
  },
  "Properties": {
    "property1": null,
    "property2": null
  },
  "Ezrid": [
    "string"
  ],
  "Eventid": [
    "string"
  ]
}

Properties

Name Type Required Restrictions Description
Id string false none none
WebHookUri string(uri) false none none
Secret string false none none
Description string false none none
IsPaused boolean true none none
Filters [string] false none none
Headers object false none none
» additionalProperties string false none none
Properties object false none none
» additionalProperties any false none none
Ezrid [string] false none none
Eventid [string] false none none

{
  "UserId": 0,
  "WebHook": {
    "Id": "string",
    "WebHookUri": "http://example.com",
    "Secret": "string",
    "Description": "string",
    "IsPaused": true,
    "Filters": [
      "string"
    ],
    "Headers": {
      "property1": "string",
      "property2": "string"
    },
    "Properties": {
      "property1": null,
      "property2": null
    },
    "Ezrid": [
      "string"
    ],
    "Eventid": [
      "string"
    ]
  },
  "VerifyAddress": true
}

Properties

Name Type Required Restrictions Description
UserId integer(int32) true none none
WebHook WebHook false none none
VerifyAddress boolean true none none

{
  "Id": 0,
  "WebHookId": "string",
  "User": {
    "Id": 0,
    "Username": "string",
    "Password": "string",
    "Name": "string",
    "ApiKey": "string",
    "Active": true,
    "Level": 0,
    "Roles": [
      "string"
    ]
  },
  "WebHook": {
    "Id": "string",
    "WebHookUri": "http://example.com",
    "Secret": "string",
    "Description": "string",
    "IsPaused": true,
    "Filters": [
      "string"
    ],
    "Headers": {
      "property1": "string",
      "property2": "string"
    },
    "Properties": {
      "property1": null,
      "property2": null
    },
    "Ezrid": [
      "string"
    ],
    "Eventid": [
      "string"
    ]
  }
}

Properties

Name Type Required Restrictions Description
Id integer(int32) true none none
WebHookId string false none none
User UserIdData true none none
WebHook WebHook true none none