--Début script
################
--Auth OK
################
--POST
{"eventType":"annotationLog","timestamp":"1758267810","event":"created","ownerid":"278654","ownertype":"staff","relatedtype":"opportunity","relatedid":"11292749","corpid":103728}
################
--opportunity
Teknoo\Sellsy\Client\Result Object
(
[raw:Teknoo\Sellsy\Client\Result:private] => {"response":{"id":"11292749","corpid":"103728","ownerid":"278654","linkedtype":"third","linkedid":"50883638","funnelid":"104299","date":"2025-09-19 00:00:00","dueDate":"0000-00-00 00:00:00","name":"Qualification bus\/borne 2","ident":"OPP-01022","proba":"0","potential":"35000.000000000","stepid":"758397","stepEnterDate":"2025-09-19 07:43:02","lastRanProspectionAutomationStepId":"0","status":"ok","signed":"won","brief":"Dans le cadre du march\u00e9 RDS220087
","source":"346031","stickyNote":"","created":"2025-09-19 09:42:12","automationid":"0","rank":"-133","origin":"manual","mainDocId":null,"third":"REGIE AUTONOME DES TRANSPORTS PARISIENS","hasThirdDeleted":"N","thirdDetails":{"id":"50949711","linkedtype":"third","linkedid":"50883638","prefsid":"61095538","accountingPrefsId":"0","logo":"","name":"REGIE AUTONOME DES TRANSPORTS PARISIENS","email":"","web":"","tel":"","mobile":"","fax":"","siret":"","vat":"FR 96 775 663 438","apenaf":"","rcs":"","type":"","capital":"","mainaddressid":"197303037","maindelivaddressid":"197303208","siren":""},"linkedname":"REGIE AUTONOME DES TRANSPORTS PARISIENS","relationType":"client","funnelLabel":"Op\u00e9rations Outils","stepLabel":"Gagn\u00e9","statusLabel":"Gagn\u00e9e","potentialFormatted":"35 000,00 \u20ac","dateFormatted":"19\/09\/2025","tags":[],"staffs":[{"id":"278654","fullName":"Olivier Maridat","email":"olivier.maridat@trialog.com","status":"ok","mobile":"","avatar":{"type":"picture","value":"?_f=file&id=JUE0JTdDJTlBMkNsJTg2ZCUzQiVGQSUwNTglNUIlQkMlQjYlQTUlOEMlQjYlMTAlMDElQzYlRDIlQjklM0UzJTAwJTdEUVpMViVGMSUxQSslMjVhJTAyaFolQTh3T1ElQkElMDN3JUQyWCUyRklhNkolM0UlOTclOEMlODJnJUE0OCVFQiUzQSVFNCUxRCVFMkglRDRNQyVFRCUwNSVGNCUzRSUwMyVFNyUwRSVBMSVEQyUwMCU5MyVBNCVGNyVFMCVFMUglOUQlNUMlQzQyJUVDVF8lMjklMUIlREZvJTAzJUU1QSVEOXNKJUU0dyU4QiU5NCU4MzklREQlQ0ZCJUVDJTdDJTkwJUMwOSUzQyUyNyVDM2x6JTA3JUNDJUNBJTE0JUU3eiUyNg==","class":14},"firstname":"Olivier","lastname":"Maridat","json":"{\"0\":{\"id\":\"278654\",\"fullName\":\"Olivier Maridat\",\"email\":\"olivier.maridat@trialog.com\",\"status\":\"ok\",\"mobile\":\"\",\"avatar\":{\"type\":\"picture\",\"value\":\"?_f=file&id=JUE0JTdDJTlBMkNsJTg2ZCUzQiVGQSUwNTglNUIlQkMlQjYlQTUlOEMlQjYlMTAlMDElQzYlRDIlQjklM0UzJTAwJTdEUVpMViVGMSUxQSslMjVhJTAyaFolQTh3T1ElQkElMDN3JUQyWCUyRklhNkolM0UlOTclOEMlODJnJUE0OCVFQiUzQSVFNCUxRCVFMkglRDRNQyVFRCUwNSVGNCUzRSUwMyVFNyUwRSVBMSVEQyUwMCU5MyVBNCVGNyVFMCVFMUglOUQlNUMlQzQyJUVDVF8lMjklMUIlREZvJTAzJUU1QSVEOXNKJUU0dyU4QiU5NCU4MzklREQlQ0ZCJUVDJTdDJTkwJUMwOSUzQyUyNyVDM2x6JTA3JUNDJUNBJTE0JUU3eiUyNg==\",\"class\":14},\"firstname\":\"Olivier\",\"lastname\":\"Maridat\"}}"}],"contacts":[{"id":"12338746","corpid":"103728","oid":"11292749","tpcid":"50002101","fullName":"Lucio Gonzalez","peopleid":"50345859","thirdcontactid":"50002101","name":"Gonzalez","forename":"Lucio","tel":"","email":"lucio.gonzalez@ratp.fr","mobile":"","position":"Acheteur","pic":"","civil":"man","web":"","zip":null,"town":null,"avatar":{"type":"initials","value":"LG","class":11},"formatted_tel":"","formatted_mobile":"","formatted_fax":""}],"customFields":{"nogroup":{"list":[{"id":"241435","corpid":"103728","ownerid":"278389","status":"ok","type":"simpletext","name":"Project code","code":"code-projet","showIn_list":"Y","showIn_filter":"Y","showIn_ecommerce":"N","showOn_pdf":"Y","showOn_desc":"Y","useOn_document":"Y","useOn_people":"N","useOn_client":"Y","useOn_prospect":"Y","useOn_supplier":"N","useOn_item":"Y","useOn_service":"Y","useOn_ticket":"N","useOn_task":"N","useOn_purchase":"N","useOn_opportunity":"Y","useOn_staff":"N","useOn_project":"N","useOn_book":"N","moreInfoOnPdf_address":"N","moreInfoOnPdf_mail":"N","moreInfoOnPdf_tel":"N","moreInfoOnPdf_mobile":"N","cfid":"241435","isRequired":"N","description":"","min":"","max":"","defaultValue":"","listType":"","listId":"0","groupid":null,"groupname":null,"openbydefault":null,"rank":null,"formatted_type":"Texte simple","prefsList":[],"prop":"opportunity"},{"id":"241822","corpid":"103728","ownerid":"278410","status":"ok","type":"simpletext","name":"INCOTERMS 2020","code":"incoterms-2020","showIn_list":"Y","showIn_filter":"Y","showIn_ecommerce":"N","showOn_pdf":"Y","showOn_desc":"Y","useOn_document":"Y","useOn_people":"N","useOn_client":"Y","useOn_prospect":"Y","useOn_supplier":"Y","useOn_item":"Y","useOn_service":"Y","useOn_ticket":"N","useOn_task":"N","useOn_purchase":"Y","useOn_opportunity":"Y","useOn_staff":"N","useOn_project":"N","useOn_book":"N","moreInfoOnPdf_address":"N","moreInfoOnPdf_mail":"N","moreInfoOnPdf_tel":"N","moreInfoOnPdf_mobile":"N","cfid":"241822","isRequired":"N","description":"ajouter le nom de la ville","min":"","max":"","defaultValue":"","listType":"","listId":"0","groupid":null,"groupname":null,"openbydefault":null,"rank":null,"formatted_type":"Texte simple","prefsList":[],"prop":"opportunity"}]}},"createdDateFormatted":"19\/09\/2025","linkedDocs":[],"score":null,"scoreFormatted":"","dueDateFormatted":"-","nbDayInCurrentStep":0,"updatedDate":"2025-09-19 09:43:05"},"error":"","status":"success"}
[decoded:Teknoo\Sellsy\Client\Result:private] => Array
(
[response] => Array
(
[id] => 11292749
[corpid] => 103728
[ownerid] => 278654
[linkedtype] => third
[linkedid] => 50883638
[funnelid] => 104299
[date] => 2025-09-19 00:00:00
[dueDate] => 0000-00-00 00:00:00
[name] => Qualification bus/borne 2
[ident] => OPP-01022
[proba] => 0
[potential] => 35000.000000000
[stepid] => 758397
[stepEnterDate] => 2025-09-19 07:43:02
[lastRanProspectionAutomationStepId] => 0
[status] => ok
[signed] => won
[brief] => Dans le cadre du marché RDS220087
[source] => 346031
[stickyNote] =>
[created] => 2025-09-19 09:42:12
[automationid] => 0
[rank] => -133
[origin] => manual
[mainDocId] =>
[third] => REGIE AUTONOME DES TRANSPORTS PARISIENS
[hasThirdDeleted] => N
[thirdDetails] => Array
(
[id] => 50949711
[linkedtype] => third
[linkedid] => 50883638
[prefsid] => 61095538
[accountingPrefsId] => 0
[logo] =>
[name] => REGIE AUTONOME DES TRANSPORTS PARISIENS
[email] =>
[web] =>
[tel] =>
[mobile] =>
[fax] =>
[siret] =>
[vat] => FR 96 775 663 438
[apenaf] =>
[rcs] =>
[type] =>
[capital] =>
[mainaddressid] => 197303037
[maindelivaddressid] => 197303208
[siren] =>
)
[linkedname] => REGIE AUTONOME DES TRANSPORTS PARISIENS
[relationType] => client
[funnelLabel] => Opérations Outils
[stepLabel] => Gagné
[statusLabel] => Gagnée
[potentialFormatted] => 35 000,00 €
[dateFormatted] => 19/09/2025
[tags] => Array
(
)
[staffs] => Array
(
[0] => Array
(
[id] => 278654
[fullName] => Olivier Maridat
[email] => olivier.maridat@trialog.com
[status] => ok
[mobile] =>
[avatar] => Array
(
[type] => picture
[value] => ?_f=file&id=JUE0JTdDJTlBMkNsJTg2ZCUzQiVGQSUwNTglNUIlQkMlQjYlQTUlOEMlQjYlMTAlMDElQzYlRDIlQjklM0UzJTAwJTdEUVpMViVGMSUxQSslMjVhJTAyaFolQTh3T1ElQkElMDN3JUQyWCUyRklhNkolM0UlOTclOEMlODJnJUE0OCVFQiUzQSVFNCUxRCVFMkglRDRNQyVFRCUwNSVGNCUzRSUwMyVFNyUwRSVBMSVEQyUwMCU5MyVBNCVGNyVFMCVFMUglOUQlNUMlQzQyJUVDVF8lMjklMUIlREZvJTAzJUU1QSVEOXNKJUU0dyU4QiU5NCU4MzklREQlQ0ZCJUVDJTdDJTkwJUMwOSUzQyUyNyVDM2x6JTA3JUNDJUNBJTE0JUU3eiUyNg==
[class] => 14
)
[firstname] => Olivier
[lastname] => Maridat
[json] => {"0":{"id":"278654","fullName":"Olivier Maridat","email":"olivier.maridat@trialog.com","status":"ok","mobile":"","avatar":{"type":"picture","value":"?_f=file&id=JUE0JTdDJTlBMkNsJTg2ZCUzQiVGQSUwNTglNUIlQkMlQjYlQTUlOEMlQjYlMTAlMDElQzYlRDIlQjklM0UzJTAwJTdEUVpMViVGMSUxQSslMjVhJTAyaFolQTh3T1ElQkElMDN3JUQyWCUyRklhNkolM0UlOTclOEMlODJnJUE0OCVFQiUzQSVFNCUxRCVFMkglRDRNQyVFRCUwNSVGNCUzRSUwMyVFNyUwRSVBMSVEQyUwMCU5MyVBNCVGNyVFMCVFMUglOUQlNUMlQzQyJUVDVF8lMjklMUIlREZvJTAzJUU1QSVEOXNKJUU0dyU4QiU5NCU4MzklREQlQ0ZCJUVDJTdDJTkwJUMwOSUzQyUyNyVDM2x6JTA3JUNDJUNBJTE0JUU3eiUyNg==","class":14},"firstname":"Olivier","lastname":"Maridat"}}
)
)
[contacts] => Array
(
[0] => Array
(
[id] => 12338746
[corpid] => 103728
[oid] => 11292749
[tpcid] => 50002101
[fullName] => Lucio Gonzalez
[peopleid] => 50345859
[thirdcontactid] => 50002101
[name] => Gonzalez
[forename] => Lucio
[tel] =>
[email] => lucio.gonzalez@ratp.fr
[mobile] =>
[position] => Acheteur
[pic] =>
[civil] => man
[web] =>
[zip] =>
[town] =>
[avatar] => Array
(
[type] => initials
[value] => LG
[class] => 11
)
[formatted_tel] =>
[formatted_mobile] =>
[formatted_fax] =>
)
)
[customFields] => Array
(
[nogroup] => Array
(
[list] => Array
(
[0] => Array
(
[id] => 241435
[corpid] => 103728
[ownerid] => 278389
[status] => ok
[type] => simpletext
[name] => Project code
[code] => code-projet
[showIn_list] => Y
[showIn_filter] => Y
[showIn_ecommerce] => N
[showOn_pdf] => Y
[showOn_desc] => Y
[useOn_document] => Y
[useOn_people] => N
[useOn_client] => Y
[useOn_prospect] => Y
[useOn_supplier] => N
[useOn_item] => Y
[useOn_service] => Y
[useOn_ticket] => N
[useOn_task] => N
[useOn_purchase] => N
[useOn_opportunity] => Y
[useOn_staff] => N
[useOn_project] => N
[useOn_book] => N
[moreInfoOnPdf_address] => N
[moreInfoOnPdf_mail] => N
[moreInfoOnPdf_tel] => N
[moreInfoOnPdf_mobile] => N
[cfid] => 241435
[isRequired] => N
[description] =>
[min] =>
[max] =>
[defaultValue] =>
[listType] =>
[listId] => 0
[groupid] =>
[groupname] =>
[openbydefault] =>
[rank] =>
[formatted_type] => Texte simple
[prefsList] => Array
(
)
[prop] => opportunity
)
[1] => Array
(
[id] => 241822
[corpid] => 103728
[ownerid] => 278410
[status] => ok
[type] => simpletext
[name] => INCOTERMS 2020
[code] => incoterms-2020
[showIn_list] => Y
[showIn_filter] => Y
[showIn_ecommerce] => N
[showOn_pdf] => Y
[showOn_desc] => Y
[useOn_document] => Y
[useOn_people] => N
[useOn_client] => Y
[useOn_prospect] => Y
[useOn_supplier] => Y
[useOn_item] => Y
[useOn_service] => Y
[useOn_ticket] => N
[useOn_task] => N
[useOn_purchase] => Y
[useOn_opportunity] => Y
[useOn_staff] => N
[useOn_project] => N
[useOn_book] => N
[moreInfoOnPdf_address] => N
[moreInfoOnPdf_mail] => N
[moreInfoOnPdf_tel] => N
[moreInfoOnPdf_mobile] => N
[cfid] => 241822
[isRequired] => N
[description] => ajouter le nom de la ville
[min] =>
[max] =>
[defaultValue] =>
[listType] =>
[listId] => 0
[groupid] =>
[groupname] =>
[openbydefault] =>
[rank] =>
[formatted_type] => Texte simple
[prefsList] => Array
(
)
[prop] => opportunity
)
)
)
)
[createdDateFormatted] => 19/09/2025
[linkedDocs] => Array
(
)
[score] =>
[scoreFormatted] =>
[dueDateFormatted] => -
[nbDayInCurrentStep] => 0
[updatedDate] => 2025-09-19 09:43:05
)
[error] =>
[status] => success
)
[isSuccess:Teknoo\Sellsy\Client\Result:private] => 1
[errorCode:Teknoo\Sellsy\Client\Result:private] =>
[errorMessage:Teknoo\Sellsy\Client\Result:private] =>
[isConstructed:Teknoo\Sellsy\Client\Result:private] => 1
)
################
--Invoice
https://www.sellsy.com/?_f=invoiceOverview&id=53373528