-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Location get support and Employee create support added (#7)
- Loading branch information
Showing
5 changed files
with
34 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
from .api_base import ApiBase | ||
|
||
|
||
class Locations(ApiBase): | ||
"""Class for Locations APIs.""" | ||
|
||
GET_LOCATIONS = '/locations' | ||
POST_LOCATIONS = '/locations' | ||
|
||
def get_all(self, **kwargs): | ||
""" | ||
Get all locations | ||
:return: returns all companies | ||
""" | ||
return self._get_request({ | ||
**kwargs | ||
}, Locations.GET_LOCATIONS)['value'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
|
||
setuptools.setup( | ||
name='ms-dynamics-business-central-sdk', | ||
version='1.1.0', | ||
version='1.2.0', | ||
author='Shwetabh Kumar', | ||
author_email='[email protected]', | ||
description='Python SDK for accessing Dynamics APIs', | ||
|