cisco-en-programmability / dnacentersdk

Cisco DNA Center Python SDK
https://dnacentersdk.readthedocs.io/en/latest/
MIT License
70 stars 33 forks source link

Add support for business-api #27

Closed jeremypng closed 3 years ago

jeremypng commented 3 years ago

The sites.create_site endpoint returns an executionId that links to:

{'executionId': '9ea46ac1-d8ed-4da6-9dab-b88adf488c4e', 'executionStatusUrl': '/dna/platform/management/business-api/v1/execution-status/9ea46ac1-d8ed-4da6-9dab-b88adf488c4e', 'message': 'The request has been accepted for execution'}

Are there plans to include this api endpoint in a separate module or add it to the tasks.py? I can try to submit a PR if someone has some direction here.

zapodeanu commented 3 years ago

Hi, The SDK has support for all Cisco DNA Center published APIs. We will include this API when released by Cisco DNA Center. We have this API on the roadmap.

wastorga commented 3 years ago

@zapodeanu Just reopen this issue to comment on alternative options.

The dnacentersdk has a way to add API call definitions using CustomCaller, you can view examples in the documentation.

An check more information on CustomCaller in the documentation.

If you need more information to help you regarding this, @jeremypng please open another issue.