Logistics
Serviceability API's
Default
Default
Operations
POST
# Sample File Download
GET
# Get Serviceability TAT sample files generator status
POST
# Region TAT Import or Export
GET
# Get region tat bulk history
POST
# Serviceability Import or Export
GET
# Get Region Serviceability Bulk History
POST
# Creation of Courier Account
GET
# Getting Courier Account list of a company
PUT
# Update Courier Account in database
GET
# Getting Courier Account of a company from database
POST
# Create Scheme for courier partner extension
PUT
# Update Scheme for courier partner extension
GET
# Get all countries and associated data
POST
Sample File Download
Sample File Download
Parameters
organization_id
string
Required
Unique Identifier of Organization
Request body
country
string
Required
region
string
Required
type
string
Required
Enum
Response
200
400
Success Response Status
BulkRegionServiceabilityTatResponseItemData
country
string
region
string
type
string
Enum
batch_id
string
status
string
failed_records
array of object
file_path
string
Examples
Parameters
organizationId:
"value"
body:
body
Was this section helpful?
POST
Loading...
Response
Loading...
Sample File Download
sampleFileServiceability
GET
Get Serviceability TAT sample files generator status
Get Serviceability TAT sample file generator status
Parameters
organization_id
string
Required
Unique Identifier of Organization
page_no
integer
| value >= 1
index of the item to start returning with
Default Value : 1
page_size
integer
| value >= 1
determines the items to be displayed in a page
Default Value : 12
batch_id
string
Batch id of the execution
Response
200
Response status_code
BulkRegionServiceabilityTatResponse
items
array of object (BulkRegionServiceabilityTatResponseItemData)
Array of BulkRegionServiceabilityTatResponseItemData
page
object (Page)
Page
Examples
Parameters
organizationId:
"value"
pageNo:
1
pageSize:
1
batchId:
"value"
Was this section helpful?
GET
Loading...
Response
Loading...
Get Serviceability TAT sample files generator status
getSampleFileServiceabilityStatus
POST
Region TAT Import or Export
Region TAT Import or Export
Parameters
organization_id
string
Required
Unique Identifier of Organization
extension_id
string
Required
Unique Identifier of CP Extension
scheme_id
string
Required
Unique identifier of a scheme
Request body
file_path
string
country
string
Required
action
string
Required
Enum
region
string
Required
Response
200
Response status_code
BulkRegionResponseItemData
file_path
string
failed
integer
failed_records
array of object
action
string
batch_id
string
country
string
success
integer
region
string
status
string
total
integer
error_file_path
string
Examples
Parameters
organizationId:
"value"
extensionId:
"value"
schemeId:
"value"
body:
body
Was this section helpful?
POST
Loading...
Response
Loading...
Region TAT Import or Export
bulkTat
GET
Get region tat bulk history
Get region tat bulk history
Parameters
organization_id
string
Required
Unique Identifier of Organization
extension_id
string
Required
Unique Identifier of CP Extension
scheme_id
string
Required
Unique identifier of a scheme
page_no
integer
| value >= 1
index of the item to start returning with
Default Value : 1
page_size
integer
| value >= 1
determines the items to be displayed in a page
Default Value : 12
batch_id
string
Unique identifier of bulk job
action
string
import or export bulk type
status
string
Status of the bulk actions
country
string
Country for which bulk job is initiated
region
string
Region for which bulk job is initiated
start_date
string
Fetch job history after a particule date
end_date
string
Fetch job history before a particule date
Response
200
Response status_code
BulkRegionResponse
items
array of object (BulkRegionResponseItemData)
Array of BulkRegionResponseItemData
page
object (Page)
Page
Examples
Parameters
organizationId:
"value"
extensionId:
"value"
schemeId:
"value"
pageNo:
1
pageSize:
1
batchId:
"value"
action:
"value"
status:
"value"
country:
"value"
region:
"value"
startDate:
"value"
endDate:
"value"
Was this section helpful?
GET
Loading...
Response
Loading...
Get region tat bulk history
getBulkTat
POST
Serviceability Import or Export
Serviceability Import or Export
Parameters
organization_id
string
Required
Unique Identifier of Organization
extension_id
string
Required
Unique Identifier of CP Extension
scheme_id
string
Required
Unique identifier of a scheme
Request body
file_path
string
country
string
Required
action
string
Required
Enum
region
string
Required
Response
200
400
Response status_code
BulkRegionResponseItemData
file_path
string
failed
integer
failed_records
array of object
action
string
batch_id
string
country
string
success
integer
region
string
status
string
total
integer
error_file_path
string
Examples
Parameters
organizationId:
"value"
extensionId:
"value"
schemeId:
"value"
body:
body
Was this section helpful?
POST
Loading...
Response
Loading...
Serviceability Import or Export
bulkServiceability
GET
Get Region Serviceability Bulk History
Get Region Serviceability Bulk History
Parameters
organization_id
string
Required
Unique Identifier of Organization
extension_id
string
Required
Unique Identifier of CP Extension
scheme_id
string
Required
Unique identifier of a scheme
page_no
integer
| value >= 1
index of the item to start returning with
Default Value : 1
page_size
integer
| value >= 1
determines the items to be displayed in a page
Default Value : 12
batch_id
string
Unique identifier of bulk job
action
string
import or export bulk type
status
string
Status of the bulk actions
country
string
Country for which bulk job is initiated
region
string
Region for which bulk job is initiated
start_date
string
Fetch job history after a particule date
end_date
string
Fetch job history before a particule date
Response
200
Response status_code
BulkRegionResponse
items
array of object (BulkRegionResponseItemData)
Array of BulkRegionResponseItemData
page
object (Page)
Page
Examples
Parameters
organizationId:
"value"
extensionId:
"value"
schemeId:
"value"
pageNo:
1
pageSize:
1
batchId:
"value"
action:
"value"
status:
"value"
country:
"value"
region:
"value"
startDate:
"value"
endDate:
"value"
Was this section helpful?
GET
Loading...
Response
Loading...
Get Region Serviceability Bulk History
getBulkServiceability
POST
Creation of Courier Account
This API Creates a new Courier Account
Parameters
organization_id
string
Required
Unique Identifier of Organization
company_id
integer
Required
A `company_id` is a unique identifier for a particular sale channel.
Request body
extension_id
string
Required
account_id
string
scheme_id
string
Required
is_self_ship
boolean
Required
stage
string
Required
Enum
is_own_account
boolean
Required
Response
200
400
Response status_code
CourierAccount
extension_id
string
account_id
string
scheme_id
string
is_self_ship
boolean
stage
string
Enum
is_own_account
boolean
Examples
Parameters
organizationId:
"value"
companyId:
1
body:
body
Was this section helpful?
POST
Loading...
Response
Loading...
Creation of Courier Account
createCourierPartnerAccount
GET
Getting Courier Account list of a company
This API returns Courier Account of a company.
Parameters
organization_id
string
Required
Unique Identifier of Organization
company_id
integer
Required
A `company_id` is a unique identifier for a particular sale channel.
page_no
integer
| value >= 1
index of the item to start returning with
Default Value : 1
page_size
integer
| value >= 1
determines the items to be displayed in a page
Default Value : 10
stage
string
stage of the account. enabled/disabled
payment_mode
string
Filters dp accounts based on payment mode
transport_type
string
Filters dp accounts based on transport_type
Response
200
400
Response status_code
CompanyCourierPartnerAccountListResponse
items
array of object (CourierAccountResponse)
Array of CourierAccountResponse
page
object (Page)
Page
Examples
Parameters
organizationId:
"value"
companyId:
1
pageNo:
1
pageSize:
1
stage:
"value"
paymentMode:
"value"
transportType:
"value"
Was this section helpful?
GET
Loading...
Response
Loading...
Getting Courier Account list of a company
getCourierPartnerAccounts
PUT
Update Courier Account in database
Updates Courier Account
Parameters
organization_id
string
Required
Unique Identifier of Organization
company_id
integer
Required
A `company_id` is a unique identifier for a particular sale channel.
account_id
string
Required
Unique ID of courier account
Request body
extension_id
string
Required
account_id
string
Required
scheme_id
string
Required
is_self_ship
boolean
Required
stage
string
Required
Enum
is_own_account
boolean
Required
Response
200
400
Response status_code
CourierAccountResponse
account_id
string
scheme_id
string
is_self_ship
boolean
stage
string
Enum
is_own_account
boolean
scheme_rules
object (CourierPartnerSchemeModel)
CourierPartnerSchemeModel
Examples
Parameters
organizationId:
"value"
companyId:
1
accountId:
"value"
body:
body
Was this section helpful?
PUT
Loading...
Response
Loading...
Update Courier Account in database
updateCourierPartnerAccount
GET
Getting Courier Account of a company from database
This API returns response DpAccount of a company from mongo database.
Parameters
organization_id
string
Required
Unique Identifier of Organization
company_id
integer
Required
A `company_id` is a unique identifier for a particular sale channel.
account_id
string
Required
Unique ID of courier account
Response
200
400
Response status_code
CourierAccountResponse
account_id
string
scheme_id
string
is_self_ship
boolean
stage
string
Enum
is_own_account
boolean
scheme_rules
object (CourierPartnerSchemeModel)
CourierPartnerSchemeModel
Examples
Parameters
organizationId:
"value"
companyId:
1
accountId:
"value"
Was this section helpful?
GET
Loading...
Response
Loading...
Getting Courier Account of a company from database
getCourierPartnerAccount
POST
Create Scheme for courier partner extension
Create Scheme for courier partner extension
Parameters
organization_id
string
Required
Unique Identifier of Organization
Request body
extension_id
string
Required
scheme_id
string
name
string
Required
weight
object (ArithmeticOperations)
Required
ArithmeticOperations
transport_type
string
Required
Enum
region
string
Required
Enum
delivery_type
string
Required
Enum
payment_mode
array of string
Required
Enum
stage
string
Required
Enum
feature
object (CourierPartnerSchemeFeatures)
Required
CourierPartnerSchemeFeatures
Response
200
400
Success Response Status
CourierPartnerSchemeModel
extension_id
string
scheme_id
string
name
string
weight
object (ArithmeticOperations)
ArithmeticOperations
transport_type
string
Enum
region
string
Enum
delivery_type
string
Enum
payment_mode
array of string
Enum
stage
string
Enum
feature
object (CourierPartnerSchemeFeatures)
CourierPartnerSchemeFeatures
Examples
Parameters
organizationId:
"value"
body:
body
Was this section helpful?
POST
Loading...
Response
Loading...
Create Scheme for courier partner extension
createCourierPartnerScheme
PUT
Update Scheme for courier partner extension
Update Scheme for courier partner extension
Parameters
organization_id
string
Required
Unique Identifier of Organization
scheme_id
string
Required
Unique Identifier of Scheme
Request body
name
string
Required
weight
object (ArithmeticOperations)
Required
ArithmeticOperations
transport_type
string
Required
Enum
region
string
Required
Enum
delivery_type
string
Required
Enum
payment_mode
array of string
Required
Enum
stage
string
Required
Enum
feature
object (CourierPartnerSchemeFeatures)
Required
CourierPartnerSchemeFeatures
Response
200
400
Success Response Status
CourierPartnerSchemeUpdateRequest
name
string
weight
object (ArithmeticOperations)
ArithmeticOperations
transport_type
string
Enum
region
string
Enum
delivery_type
string
Enum
payment_mode
array of string
Enum
stage
string
Enum
feature
object (CourierPartnerSchemeFeatures)
CourierPartnerSchemeFeatures
Examples
Parameters
organizationId:
"value"
schemeId:
"value"
body:
body
Was this section helpful?
PUT
Loading...
Response
Loading...
Update Scheme for courier partner extension
updateCourierPartnerScheme
GET
Get all countries and associated data
Retrieve of all countries.
Parameters
organization_id
string
Required
Unique Identifier of Organization
onboarding
boolean
Only fetch countries which allowed for onboard on Platform.
page_no
integer
page number.
Default Value : 1
page_size
integer
| value <= 48
page size.
Default Value : 12
q
string
search.
Response
200
Successfully retrieved all countries with associated data.
GetCountries
items
array of object (GetCountriesItems)
Array of GetCountriesItems
page
object (Page)
Page
Examples
Parameters
Parameters are not required.
Was this section helpful?
GET
Loading...
Response
Example not available.