kollygramonline
This webservice allows systems to interact with the KOLLYgram Online server. Please contact G. KOLLY SA for further informations : + 41 26 413 90 11
The following operations are supported. For a formal definition, please review the Service Description.
-
AddChild
Allows you to add a child (customer) under a carrier (Transporteur_id) -
AddChild2
Allows you to add a child (customer) under a carrier (Transporteur_id) or any of his child. -
AddMeasure
Use this method to add a measure. The response contains the measure added or the error. -
AddMeasure2
Use this method to add a measure. The response contains the measure added or the error -
AddMeasure3
Use this method to add a measure. The response contains the measure added or the error -
CanDeleteChild
Informs you if you can delete a child -
ChangeCustomerType
Change the customer type for 'client_id' (g=Gemeinde k=Kunde) -
ChangeParent
Change the parent of a child -
CreateNewPuce
Create a new chip (please don't set the print etiquette to true) -
CreateNewPuce2
Create a new chip -
DeleteAddress
Delete an address in the database -
DeleteChild
Delete the child with id child_id under the carrier identified by 'Transporteur_id' -
EditCustomer
Edit the customer 'clientid'. You can change the customer name and number -
GetAddressesDeClient
Returns all addresses for noclient -
GetBlackList
Sends the black list (the field 'puce' in the blacklist object is the chip_id of the database. -
GetContainerTypes
Returns all container types -
GetFileMeasuresWigaTxt
Returns a file of the wiga.txt format -
GetGarbageTypes
Returns the list of garbage type (used for the chips linking) -
GetLastMeasureId
Get the highest id in the measure table (filtered for a given vehicule) - GetMeasuresWigaTxt
-
GetPuceAccordingChipID
Returns a CHIP by using the database ID as search criteria -
GetPuceAccordingChipNr
Returns a CHIP by using the chip_nr as search criteria -
GetPuceAndAddresses
Returns a chip with it's addresses. -
GetPuceLiens
Returns links for chip 'puceid' -
GetPucesAndAddresses
Returns chips and their addresses for a given old chip type and new chip type (usefull when migrating chips from one type to another) -
GetPucesStartingWith
Returns the CHIP list starting with a precise text -
GetTime
Send the date and time on the server -
GetTransporteursWhereICanLogin
Indicates you on which carriers (Transporteur) you can log on to with a give passphrase (CodeWebClient) -
GetVehiculeSpecialSetting
Get a vehicle special setting -
GetVehiculeSpecialSettingKeyNames
Get the vehicle special setting keys -
IsBlack
Answer Yes or No if the chip_id is black (please use the internal chip_id not the hexa chip nr transformed in a long) -
IsLogged
Tells you if you are still logged (not usefull, most of the commands will log you in and log you out automatically) -
LinkChipToAddress
Link a chip to an address (if you don't know when the date_to will be, then set it to 01.01.1800) -
Login
Login to the services -
Logout
Logout -
MarierPuces
Usefull when you have to migrate from one type of chip to another one. Please use carrefully or you may loose data. -
MarkThisLinkAsDeleted
Use this method to mark a link as deleted. It's not possible to really delete the record in database. We just mark it as deleted so we can keep track of the changes. -
MarkThisLinkAsFinishedOn
Use this method to mark a link as finished. It works only with links having the date set to unknown (01.01.1800). The answer is either OK or the error. -
PrintPuce
Don't use this, the document will be printed on the printer by G. Kolly SA (then you will have to pay for the printed stickers) -
RenameCustomer
Rename the customer 'clientid' -
RenameProduct
Use this method to rename a product (each carrier ('Transporteur') has his own product list -
RenameProduct2
Use this method to rename a product (each carrier ('Transporteur') has his own product list - SessionID
-
SetBlack
Put/remove the chip with the id chip_id in the black. The response is OK when success or contains the error. (please use the internal chip_id not the hexa chip nr transformed in a long) -
SetVehiculeSpecialSetting
Set a vehicle special setting -
UpdateAddress
Create or update an address. Please indicate 0 as the id to create an address. You will then retrieve in the response the new id of the address created. You will use then this id in the future to update this address. -
UpdateIdentCustomer_WigaWinTXTFile
Update the ident_customer list with a file according wigawin format -
getAllChildren
Retrieve all children under the carrier 'Transporteur_id' -
getChipTypes
Send back the description types for the chips -
getCustomers
Return a list of customer involved by the measures in a specific time interval -
getDirectChildren
Retrieve the direct children under the carrier 'Transporteur_id' -
getLastMesure
Send the last measure in the database (ordered by the end date of the measure (field 'fin') -
getMesure
Send the measure with the id mesure_id -
getMesures
Use this method to download measures. It is possible to set the vehicle id to 0, so all measures of the 'Transporteur' will be then downloaded (if too many measure are downloaded at once, there is a time out risk, so download measures day after day) -
getMesuresByQuittanceNr
Use this method to find measures by QuittanceNo -
getMesuresByReceptionDate
Use this method to download measures. The vehicle_id can be 0, then all measure from all vehicle will be sent. Time will be ignored in the FromReceptionDate and ToReceptionDate parameters, only the date part will be taken into account. Maximum 7 days of measures are sent. -
getMesuresFromID
Use this method to download measures. It is possible to set the vehicle id to 0, so all measures of the 'Transporteur' will be then downloaded (if too many measure are downloaded at once, there is a time out risk. There is anyway a limit of 20000 measures sent at once). The 'fromId' measure is included. -
getMesuresIds
This method will send you back only the ids of the measures -
getMyVehicules
Send the list of the vehicule of the carrier (transporteur) -
getProductName
Retrieve the product name (each carrier ('Transporteur') has his own product list -
getProducts
Allows you to download the full list of product for the carrier 'Transporteur_id' -
getProducts2
Allows you to download the full list of products for the carrier 'Transporteur_id' -
getWigaCRC
Return the CRC for the Wiga files (please do not include the *)