Download the PHP package solunsky/dpd-interconnector without Composer
On this page you can find all versions of the php package solunsky/dpd-interconnector. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download solunsky/dpd-interconnector
More information about solunsky/dpd-interconnector
Files in solunsky/dpd-interconnector
Package dpd-interconnector
Short Description Interconnector is a REST-based Web-Service to integrate information systems of DPD customers, which through POST requests allows using DPD services provided. Interconnector allows to use DPD services by transmitting shipment information, requesting package pickups, printing parcel labels, etc.
License MIT
Homepage https://github.com/solunsky/dpd
Informations about the package dpd-interconnector
Interconnector - DPD API
Interconnector is a REST-based Web-Service to integrate information systems of DPD customers, which through POST requests allows using DPD services provided. Interconnector allows to use DPD services by transmitting shipment information, requesting package pickups, printing parcel labels, etc.
Documentation
Interconnector (EN) V2.6 | From DPD LV (DPD shipment creation and tracking web services)
Interconnector (EN) V2.4 | From DPD EE
Installiation
Require
- PHP >=5.5
Work at PHP ^7.*
Full example
Authentication (Step 1)
Params:
Example:
Methods (Step 2)
Shipment creation
This method creates shipment that can contain one or multiple parcels. The data that is needed for creating shipments will depend on DPD service that is requested.
Params:
Read the documentation
Example:
Parcel label creation
This method generates a parcel label. There’s a possibility to configure automatic data submission by DPD triggered by parcel printing.
Params:
Read the documentation
Example:
Parcel pickup request
This method provides information for DPD that you need a courier that should pick up your parcels. It has to be used in cases if there is no pre-agreed regular parcel’ pick-up time.
Params:
Read the documentation
Example:
Pickup point search
This method provides a list of DPD Pickup points (parcel shops and pickup lockers).
Params:
Read the documentation
Parcel pickup request
This method provides information for DPD that you need a courier that should pick up your parcels. It has to be used in cases if there is no pre-agreed regular parcel’ pick-up time.
Params:
Read the documentation
Example:
Deleting a parcel
This method deletes a specific parcel. If shipment consists of more than one parcel, whole shipment will be deleted in case if any parcel from this shipment is deleted.
Note: this function cannot be done in case if data has been transferred to DPD by closing manifest, by using parcelDataSend_ (SendParcelData) or by automatic data transfer that is configured by DPD.
Params:
Read the documentation
Example:
Parcel data submission
This method submits shipment data to DPD. Regularity for this function can be adapted to client processes, but it should be requested at least 30 minutes before courier arrival. If needed, can be used after each parcel. It should not be used in case if manifest closure is used or if automatic data transfer is configured by DPD.
Params:
Read the documentation
Example:
Manifest closure
This method submits shipment data for shipments that are created on specific date and returns document that contains information about all the parcels that has been created by the API user on this date and that were not included in any other manifest. Regularity for this function can be adapted to client processes, but it should be requested at least 30 minutes before courier arrival. If needed, can be used after each parcel. It should not be used in case if parcel data submission method is used or if automatic data transfer is configured by DPD.
Params:
Read the documentation
Example:
Collection request
This method allows to order a courier to address of a third party. For example - for DPD client to organize his customer a free return of goods (paid by DPD client not his customer).
Params:
Read the documentation
Example:
Client (Step 3)
Params:
Class Client
Method Get
Example:
Create custom request
If you want to create your custom request use this example.