Sei sulla pagina 1di 4

API Documentation

Call Courier Web Service API Documentation

API Name
Save Booking

Purpose
The main aim of this API is to provide complete mechanism to save a booking.

Url
http://cod.callcourier.com.pk/API/CallCourier/SaveBooking

Method Parameters
Sr# Method Name Method Return Type Name Type Description
1 Save Booking Json Data loginId string Login id by which the
user is entered.

2 Save Booking Json Data ConsigneeName string Consignee Name

3 Save Booking Json Data ConsigneeRefNo string Consignee


Reference No

4 Save Booking Json Data ConsigneeCellNo string Consignee Contact


Number

5 Save Booking Json Data Address string Consignees


Address/Destination
Address
6 Save Booking Json Data Origin string Shippers Origin

7 Save Booking Json Data DestCityId string ID of selected


Destination City (see
drop down list below)
8 Save Booking Json Data ServiceTypeId string ID of Selected Service
Type

9 Save Booking Json Data Pcs string No of Pcs/Items to send

10 Save Booking Json Data Weight string Per Item Weight

11 Save Booking Json Data Description string Item Description

12 Save Booking Json Data SelOrigin string Domestic/International


API Documentation

13 Save Booking Json Data CodAmount string Cash ON Delivery


Amount

14 Save Booking Json Data SpecialHandling bool True/False if special


handling is requested
or not

15 Save Booking Json Data MyBoxId string ID of selected box(see


dropdown list below)

16 Save Booking Json Data Holiday bool True/False if Holiday is


checked or not

17 Save Booking Json Data Remarks string Any written text

18 Save Booking Json Data ShipperName string Name of Shipper

19 Save Booking Json Data ShipperCellNo string Cell No Of Shipper

20 Save Booking Json Data ShipperArea string Select ID of area

21 Save Booking Json Data ShipperCity string Select ID of city

22 Save Booking Json Data ShipperAddress string Enter Shipper Address

23 Save Booking Json Data ShipperLandLineNo string Enter Landline No

24 Save Booking Json Data ShipperEmail string Shipper Email

Test URL with Parameters:

http://cod.callcourier.com.pk/api/CallCourier/SaveBooking?loginId=test-
0001&ConsigneeName=Sabeeh&ConsigneeRefNo=5627087636&ConsigneeCellNo=03004344328&Addres
s=Sher+Shah+Block+New+Garden&Origin=Lahore&DestCityId=18&ServiceTypeId=7&Pcs=01&Weight=01
&Description=Test%20Description&SelOrigin=Domestic&CodAmount=1&SpecialHandling=false&MyBoxId
=1%20My%20Box%20ID&Holiday=false&remarks=Test%20Remarks&ShipperName=ShipperName&Shipp
erCellNo=03004344328&ShipperArea=1&ShipperCity=1&ShipperAddress=kks&ShipperLandLineNo=3454
4343&ShipperEmail=sabeeh@gmail.com
API Documentation

API Name
Get Areas by City List

Url
http://cod.callcourier.com.pk/api/callcourier/GetAreasByCity?CityID=CityID

Method Parameters
Sr# Method Name Method Return Type Name Type Description
1 GetAreasByCity Json Data CityID String To get List of areas on
basis of Cities

API Name
Get MyBox List

Url
http://cod.callcourier.com.pk/API/CallCourier/GetMyBoxList

Sr# Method Parameters


Method Name Method Return Type Name Type Description
1 Get My Box List Json Data none none To get list of Greenbox
API Documentation

API Name
Get Service Type List

Url

http://cod.callcourier.com.pk/API/CallCourier/GetServiceType/{id}

Method Parameters
Sr# Method Name Method Return Type Name Type Description
1 Get Service Type Json Data AccountCodeId string To get list of service
type
List

API Name
GetCityList

Url
http://cod.callcourier.com.pk/API/CallCourier/GetCityList
Page 3 of 3

Method Parameters
Sr# Method Name Method Return Type Name Type Description
1 Get Service Type Json Data none none To get list of cities

List

Potrebbero piacerti anche