cwmiller / broadworks-connector

Simple library for connecting to BroadWorks OCI-P API
MIT License
8 stars 5 forks source link

Add and modify #3

Closed TwinMist closed 6 years ago

TwinMist commented 6 years ago

Do you have any add and modify examples? Thanks

cwmiller commented 6 years ago

The flow would be similar to the retrieval example. All commands to the OCI-P API are Request objects that get replied to with a Response object. Most add/modify commands will result in SuccessResponse or ErrorResponse. To create a group, for example, you'd use an instance of GroupAddRequest which can result in a SuccessResponse or ErrorResponse.