All URIs are relative to https://kingsrook.localhost-testsubdomain1.infopluswms.com:8443/infoplus-wms/api
Method | HTTP request | Description |
---|---|---|
add_location_footprint | POST /beta/locationFootprint | Create a locationFootprint |
add_location_footprint_audit | PUT /beta/locationFootprint/{locationFootprintId}/audit/{locationFootprintAudit} | Add new audit for a locationFootprint |
add_location_footprint_file | POST /beta/locationFootprint/{locationFootprintId}/file/{fileName} | Attach a file to a locationFootprint |
add_location_footprint_file_by_url | POST /beta/locationFootprint/{locationFootprintId}/file | Attach a file to a locationFootprint by URL. |
add_location_footprint_tag | PUT /beta/locationFootprint/{locationFootprintId}/tag/{locationFootprintTag} | Add new tags for a locationFootprint. |
delete_location_footprint | DELETE /beta/locationFootprint/{locationFootprintId} | Delete a locationFootprint |
delete_location_footprint_file | DELETE /beta/locationFootprint/{locationFootprintId}/file/{fileId} | Delete a file for a locationFootprint. |
delete_location_footprint_tag | DELETE /beta/locationFootprint/{locationFootprintId}/tag/{locationFootprintTag} | Delete a tag for a locationFootprint. |
get_duplicate_location_footprint_by_id | GET /beta/locationFootprint/duplicate/{locationFootprintId} | Get a duplicated a locationFootprint by id |
get_location_footprint_by_filter | GET /beta/locationFootprint/search | Search locationFootprints by filter |
get_location_footprint_by_id | GET /beta/locationFootprint/{locationFootprintId} | Get a locationFootprint by id |
get_location_footprint_files | GET /beta/locationFootprint/{locationFootprintId}/file | Get the files for a locationFootprint. |
get_location_footprint_tags | GET /beta/locationFootprint/{locationFootprintId}/tag | Get the tags for a locationFootprint. |
update_location_footprint | PUT /beta/locationFootprint | Update a locationFootprint |
update_location_footprint_custom_fields | PUT /beta/locationFootprint/customFields | Update a locationFootprint custom fields |
LocationFootprint add_location_footprint(body)
Create a locationFootprint
Inserts a new locationFootprint using the specified data.
from __future__ import print_function
import time
import Infoplus
from Infoplus.rest import ApiException
from pprint import pprint
# Configure API key authorization: api_key
configuration = Infoplus.Configuration()
configuration.api_key['API-Key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['API-Key'] = 'Bearer'
# create an instance of the API class
api_instance = Infoplus.LocationFootprintApi(Infoplus.ApiClient(configuration))
body = Infoplus.LocationFootprint() # LocationFootprint | LocationFootprint to be inserted.
try:
# Create a locationFootprint
api_response = api_instance.add_location_footprint(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling LocationFootprintApi->add_location_footprint: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | LocationFootprint | LocationFootprint to be inserted. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
add_location_footprint_audit(location_footprint_id, location_footprint_audit)
Add new audit for a locationFootprint
Adds an audit to an existing locationFootprint.
from __future__ import print_function
import time
import Infoplus
from Infoplus.rest import ApiException
from pprint import pprint
# Configure API key authorization: api_key
configuration = Infoplus.Configuration()
configuration.api_key['API-Key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['API-Key'] = 'Bearer'
# create an instance of the API class
api_instance = Infoplus.LocationFootprintApi(Infoplus.ApiClient(configuration))
location_footprint_id = 56 # int | Id of the locationFootprint to add an audit to
location_footprint_audit = 'location_footprint_audit_example' # str | The audit to add
try:
# Add new audit for a locationFootprint
api_instance.add_location_footprint_audit(location_footprint_id, location_footprint_audit)
except ApiException as e:
print("Exception when calling LocationFootprintApi->add_location_footprint_audit: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
location_footprint_id | int | Id of the locationFootprint to add an audit to | |
location_footprint_audit | str | The audit to add |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
add_location_footprint_file(location_footprint_id, file_name)
Attach a file to a locationFootprint
Adds a file to an existing locationFootprint.
from __future__ import print_function
import time
import Infoplus
from Infoplus.rest import ApiException
from pprint import pprint
# Configure API key authorization: api_key
configuration = Infoplus.Configuration()
configuration.api_key['API-Key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['API-Key'] = 'Bearer'
# create an instance of the API class
api_instance = Infoplus.LocationFootprintApi(Infoplus.ApiClient(configuration))
location_footprint_id = 56 # int | Id of the locationFootprint to add a file to
file_name = 'file_name_example' # str | Name of file
try:
# Attach a file to a locationFootprint
api_instance.add_location_footprint_file(location_footprint_id, file_name)
except ApiException as e:
print("Exception when calling LocationFootprintApi->add_location_footprint_file: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
location_footprint_id | int | Id of the locationFootprint to add a file to | |
file_name | str | Name of file |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
add_location_footprint_file_by_url(body, location_footprint_id)
Attach a file to a locationFootprint by URL.
Adds a file to an existing locationFootprint by URL.
from __future__ import print_function
import time
import Infoplus
from Infoplus.rest import ApiException
from pprint import pprint
# Configure API key authorization: api_key
configuration = Infoplus.Configuration()
configuration.api_key['API-Key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['API-Key'] = 'Bearer'
# create an instance of the API class
api_instance = Infoplus.LocationFootprintApi(Infoplus.ApiClient(configuration))
body = Infoplus.RecordFile() # RecordFile | The url and optionly fileName to be used.
location_footprint_id = 56 # int | Id of the locationFootprint to add an file to
try:
# Attach a file to a locationFootprint by URL.
api_instance.add_location_footprint_file_by_url(body, location_footprint_id)
except ApiException as e:
print("Exception when calling LocationFootprintApi->add_location_footprint_file_by_url: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | RecordFile | The url and optionly fileName to be used. | |
location_footprint_id | int | Id of the locationFootprint to add an file to |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
add_location_footprint_tag(location_footprint_id, location_footprint_tag)
Add new tags for a locationFootprint.
Adds a tag to an existing locationFootprint.
from __future__ import print_function
import time
import Infoplus
from Infoplus.rest import ApiException
from pprint import pprint
# Configure API key authorization: api_key
configuration = Infoplus.Configuration()
configuration.api_key['API-Key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['API-Key'] = 'Bearer'
# create an instance of the API class
api_instance = Infoplus.LocationFootprintApi(Infoplus.ApiClient(configuration))
location_footprint_id = 56 # int | Id of the locationFootprint to add a tag to
location_footprint_tag = 'location_footprint_tag_example' # str | The tag to add
try:
# Add new tags for a locationFootprint.
api_instance.add_location_footprint_tag(location_footprint_id, location_footprint_tag)
except ApiException as e:
print("Exception when calling LocationFootprintApi->add_location_footprint_tag: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
location_footprint_id | int | Id of the locationFootprint to add a tag to | |
location_footprint_tag | str | The tag to add |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_location_footprint(location_footprint_id)
Delete a locationFootprint
Deletes the locationFootprint identified by the specified id.
from __future__ import print_function
import time
import Infoplus
from Infoplus.rest import ApiException
from pprint import pprint
# Configure API key authorization: api_key
configuration = Infoplus.Configuration()
configuration.api_key['API-Key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['API-Key'] = 'Bearer'
# create an instance of the API class
api_instance = Infoplus.LocationFootprintApi(Infoplus.ApiClient(configuration))
location_footprint_id = 56 # int | Id of the locationFootprint to be deleted.
try:
# Delete a locationFootprint
api_instance.delete_location_footprint(location_footprint_id)
except ApiException as e:
print("Exception when calling LocationFootprintApi->delete_location_footprint: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
location_footprint_id | int | Id of the locationFootprint to be deleted. |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_location_footprint_file(location_footprint_id, file_id)
Delete a file for a locationFootprint.
Deletes an existing locationFootprint file using the specified data.
from __future__ import print_function
import time
import Infoplus
from Infoplus.rest import ApiException
from pprint import pprint
# Configure API key authorization: api_key
configuration = Infoplus.Configuration()
configuration.api_key['API-Key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['API-Key'] = 'Bearer'
# create an instance of the API class
api_instance = Infoplus.LocationFootprintApi(Infoplus.ApiClient(configuration))
location_footprint_id = 56 # int | Id of the locationFootprint to remove file from
file_id = 56 # int | Id of the file to delete
try:
# Delete a file for a locationFootprint.
api_instance.delete_location_footprint_file(location_footprint_id, file_id)
except ApiException as e:
print("Exception when calling LocationFootprintApi->delete_location_footprint_file: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
location_footprint_id | int | Id of the locationFootprint to remove file from | |
file_id | int | Id of the file to delete |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_location_footprint_tag(location_footprint_id, location_footprint_tag)
Delete a tag for a locationFootprint.
Deletes an existing locationFootprint tag using the specified data.
from __future__ import print_function
import time
import Infoplus
from Infoplus.rest import ApiException
from pprint import pprint
# Configure API key authorization: api_key
configuration = Infoplus.Configuration()
configuration.api_key['API-Key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['API-Key'] = 'Bearer'
# create an instance of the API class
api_instance = Infoplus.LocationFootprintApi(Infoplus.ApiClient(configuration))
location_footprint_id = 56 # int | Id of the locationFootprint to remove tag from
location_footprint_tag = 'location_footprint_tag_example' # str | The tag to delete
try:
# Delete a tag for a locationFootprint.
api_instance.delete_location_footprint_tag(location_footprint_id, location_footprint_tag)
except ApiException as e:
print("Exception when calling LocationFootprintApi->delete_location_footprint_tag: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
location_footprint_id | int | Id of the locationFootprint to remove tag from | |
location_footprint_tag | str | The tag to delete |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LocationFootprint get_duplicate_location_footprint_by_id(location_footprint_id)
Get a duplicated a locationFootprint by id
Returns a duplicated locationFootprint identified by the specified id.
from __future__ import print_function
import time
import Infoplus
from Infoplus.rest import ApiException
from pprint import pprint
# Configure API key authorization: api_key
configuration = Infoplus.Configuration()
configuration.api_key['API-Key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['API-Key'] = 'Bearer'
# create an instance of the API class
api_instance = Infoplus.LocationFootprintApi(Infoplus.ApiClient(configuration))
location_footprint_id = 56 # int | Id of the locationFootprint to be duplicated.
try:
# Get a duplicated a locationFootprint by id
api_response = api_instance.get_duplicate_location_footprint_by_id(location_footprint_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling LocationFootprintApi->get_duplicate_location_footprint_by_id: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
location_footprint_id | int | Id of the locationFootprint to be duplicated. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
list[LocationFootprint] get_location_footprint_by_filter(filter=filter, page=page, limit=limit, sort=sort)
Search locationFootprints by filter
Returns the list of locationFootprints that match the given filter.
from __future__ import print_function
import time
import Infoplus
from Infoplus.rest import ApiException
from pprint import pprint
# Configure API key authorization: api_key
configuration = Infoplus.Configuration()
configuration.api_key['API-Key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['API-Key'] = 'Bearer'
# create an instance of the API class
api_instance = Infoplus.LocationFootprintApi(Infoplus.ApiClient(configuration))
filter = 'filter_example' # str | Query string, used to filter results. (optional)
page = 56 # int | Result page number. Defaults to 1. (optional)
limit = 56 # int | Maximum results per page. Defaults to 20. Max allowed value is 250. (optional)
sort = 'sort_example' # str | Sort results by specified field. (optional)
try:
# Search locationFootprints by filter
api_response = api_instance.get_location_footprint_by_filter(filter=filter, page=page, limit=limit, sort=sort)
pprint(api_response)
except ApiException as e:
print("Exception when calling LocationFootprintApi->get_location_footprint_by_filter: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
filter | str | Query string, used to filter results. | [optional] |
page | int | Result page number. Defaults to 1. | [optional] |
limit | int | Maximum results per page. Defaults to 20. Max allowed value is 250. | [optional] |
sort | str | Sort results by specified field. | [optional] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LocationFootprint get_location_footprint_by_id(location_footprint_id)
Get a locationFootprint by id
Returns the locationFootprint identified by the specified id.
from __future__ import print_function
import time
import Infoplus
from Infoplus.rest import ApiException
from pprint import pprint
# Configure API key authorization: api_key
configuration = Infoplus.Configuration()
configuration.api_key['API-Key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['API-Key'] = 'Bearer'
# create an instance of the API class
api_instance = Infoplus.LocationFootprintApi(Infoplus.ApiClient(configuration))
location_footprint_id = 56 # int | Id of the locationFootprint to be returned.
try:
# Get a locationFootprint by id
api_response = api_instance.get_location_footprint_by_id(location_footprint_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling LocationFootprintApi->get_location_footprint_by_id: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
location_footprint_id | int | Id of the locationFootprint to be returned. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
get_location_footprint_files(location_footprint_id)
Get the files for a locationFootprint.
Get all existing locationFootprint files.
from __future__ import print_function
import time
import Infoplus
from Infoplus.rest import ApiException
from pprint import pprint
# Configure API key authorization: api_key
configuration = Infoplus.Configuration()
configuration.api_key['API-Key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['API-Key'] = 'Bearer'
# create an instance of the API class
api_instance = Infoplus.LocationFootprintApi(Infoplus.ApiClient(configuration))
location_footprint_id = 56 # int | Id of the locationFootprint to get files for
try:
# Get the files for a locationFootprint.
api_instance.get_location_footprint_files(location_footprint_id)
except ApiException as e:
print("Exception when calling LocationFootprintApi->get_location_footprint_files: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
location_footprint_id | int | Id of the locationFootprint to get files for |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
get_location_footprint_tags(location_footprint_id)
Get the tags for a locationFootprint.
Get all existing locationFootprint tags.
from __future__ import print_function
import time
import Infoplus
from Infoplus.rest import ApiException
from pprint import pprint
# Configure API key authorization: api_key
configuration = Infoplus.Configuration()
configuration.api_key['API-Key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['API-Key'] = 'Bearer'
# create an instance of the API class
api_instance = Infoplus.LocationFootprintApi(Infoplus.ApiClient(configuration))
location_footprint_id = 56 # int | Id of the locationFootprint to get tags for
try:
# Get the tags for a locationFootprint.
api_instance.get_location_footprint_tags(location_footprint_id)
except ApiException as e:
print("Exception when calling LocationFootprintApi->get_location_footprint_tags: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
location_footprint_id | int | Id of the locationFootprint to get tags for |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
update_location_footprint(body)
Update a locationFootprint
Updates an existing locationFootprint using the specified data.
from __future__ import print_function
import time
import Infoplus
from Infoplus.rest import ApiException
from pprint import pprint
# Configure API key authorization: api_key
configuration = Infoplus.Configuration()
configuration.api_key['API-Key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['API-Key'] = 'Bearer'
# create an instance of the API class
api_instance = Infoplus.LocationFootprintApi(Infoplus.ApiClient(configuration))
body = Infoplus.LocationFootprint() # LocationFootprint | LocationFootprint to be updated.
try:
# Update a locationFootprint
api_instance.update_location_footprint(body)
except ApiException as e:
print("Exception when calling LocationFootprintApi->update_location_footprint: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | LocationFootprint | LocationFootprint to be updated. |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
update_location_footprint_custom_fields(body)
Update a locationFootprint custom fields
Updates an existing locationFootprint custom fields using the specified data.
from __future__ import print_function
import time
import Infoplus
from Infoplus.rest import ApiException
from pprint import pprint
# Configure API key authorization: api_key
configuration = Infoplus.Configuration()
configuration.api_key['API-Key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['API-Key'] = 'Bearer'
# create an instance of the API class
api_instance = Infoplus.LocationFootprintApi(Infoplus.ApiClient(configuration))
body = Infoplus.LocationFootprint() # LocationFootprint | LocationFootprint to be updated.
try:
# Update a locationFootprint custom fields
api_instance.update_location_footprint_custom_fields(body)
except ApiException as e:
print("Exception when calling LocationFootprintApi->update_location_footprint_custom_fields: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | LocationFootprint | LocationFootprint to be updated. |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]