Forfaits VoIP - Demande aide API
... / Demande aide API
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Frage

Demande aide API

Von
DorianB7
Erstellungsdatum 2023-10-05 10:59:06 (edited on 2024-09-04 13:47:54) in Forfaits VoIP

Bonjour,

Quand j'essaye de rentrer un nouveau contact via L'API j'ai un message d'erreur :

chemin :
POST /telephony/{billingAccount}/line/{serviceName}/phone/phonebook/{bookKey}/phonebookContactCreate a phonebook contact

billingAccount * xxxxxxx-ovh-3
bookKey * Entreprise
serviceName * numerometelephone

{ "message": "The requested object (bookKey = Entreprise) does not exist" }

Pourtant le carnet Entreprise est bien crée

Auriez vous une idée ?
Merci


1 Antwort ( Latest reply on 2023-10-18 11:28:49 Von
^FabL
)

Bonjour @DorianB7,

Voici quelques informations :

L'argument bookKey dans l'api se trouve ici :
https://eu.api.ovh.com/console/#/telephony/%7BbillingAccount%7D/line/%7BserviceName%7D/phone/phonebook/%7BbookKey%7D/phonebookContact~GET

Une fois ce dernier obtenu, vous pourrez renseigner la référence dans le post :
https://eu.api.ovh.com/console/#/telephony/%7BbillingAccount%7D/line/%7BserviceName%7D/phone/phonebook/%7BbookKey%7D/phonebookContact~POST

Une fois vos tests effectués, vous pourrez également formuler votre demande sur la ML dédiée :
https://www.ovhcloud.com/fr/community/mailing-list/

^FabL