Giter Club home page Giter Club logo

roadmap's Introduction

Swagger Documents

Index

Login Test API

For login operations VPN REQUIRED: (http://testauth.prospot.online/swagger/index.html

Login Prod API

For login operations: http://auth.prospot.online/swagger/index.html

Login Request Sample Response

{
  "Token": "eyJhb...",
  "UserProfile": {
    "UserID": 290,
    "Username": "oguzhan.inal",
    "Name": "Oğuzhan",
    "Surname": "İnal",
    "Email": "[email protected]",
    "RoleID": 0,
    "RoleList": [18],
    "UserCompanyList": [
      {
        "ID": "9c8e1151-2256-4c93-b874-1466d6c7afd9", // GlobalCompanyID variable for request header
        "Name": "Catamaran Resort Hotel" // The 0th element of UserCompanyList should always be taken as the default value.
      }
    ],
    "UserToken": null,
    "LanguageID": 1,
    "LanguageIsoCode": "TR",
    "DefaultPage": "crm/whatsappmenu/chat",
    "UserAvatar": null, // User's saved avatar selection
    "DarkMode": false, // User's saved theme selection
    "SellerID": 0,
    "UsingChat": true
  }
}

Whatsapp Test API

For Whatsapp Test operations VPN REQUIRED: http://testwhatsappapi.prospot.online/swagger/index.html

Whatsapp Prod API

For Whatsapp Prod operations: http://whatsappapi.prospot.online/swagger/index.html

Send Media Message

/Whatsapp/SendWhatsappMediaMessage (Media Mesajlarının gönderimi için kullanılır base64 formatta)

Send Text Message

/WhatsappChat/SendChatMessage (text message gönderimi için kullanılır)

CRM Test API

For CRM Test operations VPN REQUIRED: http://testcrm.prospot.online/swagger/index.html

CRM Prod API

For CRM Prod operations: http://crm.prospot.online/swagger/index.html

Make Message Read

/CRM/MakeMessageRead (Used to send message reading info)

/CRM/GetFireBaseToken (To send Firebase Push Notification Token (FCM) to the service)

Example for connection to SignalR Hubs

//access_token is created by concatenating the UserID and GlobalCompanyID in the response of the login request
const access_token = `${UserID}_${GlobalCompanyID}`; // Token'ı başka bir kaynaktan da alabilirsiniz.
const connection_url = `https://chatserviceapi.prospot.online/chatHub?access_token=${accessToken}`;

SignalR Hub Connection

unfortunately there is no swagger documentation :(

Click to see Create CallHub Example

  • startListeningToHubChatDetailList is the updated inbox data
  • startListeningToHubChatDetail is the updated chat data

To view the messages of the selected person, the PhoneNumber information parameter in the user information must be added.

You can check the luwi.chat.mobile repository for examples.

Other Global Function Examples (Get/Post)

Click to see Other Global Function Examples (Get/Post)

Logos and Icons

roadmap's People

Watchers

badblli avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.