Xameel

Xameel

  • Agent App
  • User Portal
  • Developer

›Developer

Agent App

  • Start
  • Register at Xameel
  • Resetting your Password
  • Managing a Delivery
  • Cancelling a Delivery
  • Completing a Delivery

User Portal

  • Start
  • Create Delivery Request
  • Manage Delivery Request
  • Cancel Delivery Request
  • Create API
  • Enable / Disable API
  • Remove API
  • View Report
  • Export Report
  • View invoice
  • Pay Invoice

Developer

  • Start
  • Get Delivery Cost Estimate
  • Submit a Delivery Request
  • Get a Collection of Delivery Requests
  • Get a Delivery Request
  • Update a Delivery Request
  • Cancel a Delivery Request
  • Add an Item to a Delivery
  • Update an Item in a Delivery
  • Delete and Item from a Delivery
  • Get Chat Messages
  • Submit Chat Message

Submit Chat Message

Submit a new message to the delivery chat.

Request

Method : POST
URI : https://dispatch.xameel.com/chat/send-message/client/{delivery-uuid}

Header

{
    "Content-Type": "application/json",
    "Accept": "application/json",
    "api_key": "your-api-key",
    "api_aceess": "your-api-access",
    "api_pass": "your-api-password"
}
KeyRequiredTypeDetails
api_keyYesStringYour API key generated from the user portal
api_accessYesStringYour API access generated from the user portal
api_passwordYesStringYour API password generated from the user portal

Body

{
    "message": "Hello world!",
    "type" : "text"
}
KeyRequiredTypeDefaultDetails
messageYesString-The message to be shared on the delivery chat
typeYesStringtextThe type of the message 'text', 'image', 'audio', 'video'

Expected Response

Success

{
    code: 200,
    status: 'success',
    message: 'Message saved!'
}

Failure

This response is just a sample, the content may differ based on the type of error

{
    code: 400,
    err_code: "1x00101-039",
    status: "fail",
    message: "Bad request",
    errors:  [
        "No chat was found for the provided delivery uuid"
    ]
}
CodeErrorDetails
4001x00101-019Input errors
4001x00101-025API input errors
4001x00101-039Delivery not found
4031x00101-031Unauthorized to preform the request
5001x00101-029Server side error
5001x00101-035Server sdie error
← Get Chat Messages
  • Request
  • Header
  • Body
  • Expected Response
    • Success
    • Failure
Xameel
Docs
Web Portal for BusinessAgent AppAPI Integration "Hello World!"
Community
User ShowcaseStack OverflowContact us
More
DGEra3WebBox
3WebBox and DGEra family
Copyright © 2018 DGEra - Xameel Logistic Services