Skip to content

Latest commit

 

History

History
677 lines (481 loc) · 24 KB

InventoryAdjustmentApi.md

File metadata and controls

677 lines (481 loc) · 24 KB

Infoplus.InventoryAdjustmentApi

All URIs are relative to https://kingsrook.localhost-testsubdomain1.infopluswms.com:8443/infoplus-wms/api

Method HTTP request Description
add_inventory_adjustment_audit PUT /beta/inventoryAdjustment/{inventoryAdjustmentId}/audit/{inventoryAdjustmentAudit} Add new audit for an inventoryAdjustment
add_inventory_adjustment_file POST /beta/inventoryAdjustment/{inventoryAdjustmentId}/file/{fileName} Attach a file to an inventoryAdjustment
add_inventory_adjustment_file_by_url POST /beta/inventoryAdjustment/{inventoryAdjustmentId}/file Attach a file to an inventoryAdjustment by URL.
add_inventory_adjustment_tag PUT /beta/inventoryAdjustment/{inventoryAdjustmentId}/tag/{inventoryAdjustmentTag} Add new tags for an inventoryAdjustment.
delete_inventory_adjustment_file DELETE /beta/inventoryAdjustment/{inventoryAdjustmentId}/file/{fileId} Delete a file for an inventoryAdjustment.
delete_inventory_adjustment_tag DELETE /beta/inventoryAdjustment/{inventoryAdjustmentId}/tag/{inventoryAdjustmentTag} Delete a tag for an inventoryAdjustment.
get_duplicate_inventory_adjustment_by_id GET /beta/inventoryAdjustment/duplicate/{inventoryAdjustmentId} Get a duplicated an inventoryAdjustment by id
get_inventory_adjustment_by_filter GET /beta/inventoryAdjustment/search Search inventoryAdjustments by filter
get_inventory_adjustment_by_id GET /beta/inventoryAdjustment/{inventoryAdjustmentId} Get an inventoryAdjustment by id
get_inventory_adjustment_files GET /beta/inventoryAdjustment/{inventoryAdjustmentId}/file Get the files for an inventoryAdjustment.
get_inventory_adjustment_tags GET /beta/inventoryAdjustment/{inventoryAdjustmentId}/tag Get the tags for an inventoryAdjustment.
update_inventory_adjustment_custom_fields PUT /beta/inventoryAdjustment/customFields Update an inventoryAdjustment custom fields

add_inventory_adjustment_audit

add_inventory_adjustment_audit(inventory_adjustment_id, inventory_adjustment_audit)

Add new audit for an inventoryAdjustment

Adds an audit to an existing inventoryAdjustment.

Example

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.InventoryAdjustmentApi(Infoplus.ApiClient(configuration))
inventory_adjustment_id = 56 # int | Id of the inventoryAdjustment to add an audit to
inventory_adjustment_audit = 'inventory_adjustment_audit_example' # str | The audit to add

try:
    # Add new audit for an inventoryAdjustment
    api_instance.add_inventory_adjustment_audit(inventory_adjustment_id, inventory_adjustment_audit)
except ApiException as e:
    print("Exception when calling InventoryAdjustmentApi->add_inventory_adjustment_audit: %s\n" % e)

Parameters

Name Type Description Notes
inventory_adjustment_id int Id of the inventoryAdjustment to add an audit to
inventory_adjustment_audit str The audit to add

Return type

void (empty response body)

Authorization

api_key

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

add_inventory_adjustment_file

add_inventory_adjustment_file(inventory_adjustment_id, file_name)

Attach a file to an inventoryAdjustment

Adds a file to an existing inventoryAdjustment.

Example

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.InventoryAdjustmentApi(Infoplus.ApiClient(configuration))
inventory_adjustment_id = 56 # int | Id of the inventoryAdjustment to add a file to
file_name = 'file_name_example' # str | Name of file

try:
    # Attach a file to an inventoryAdjustment
    api_instance.add_inventory_adjustment_file(inventory_adjustment_id, file_name)
except ApiException as e:
    print("Exception when calling InventoryAdjustmentApi->add_inventory_adjustment_file: %s\n" % e)

Parameters

Name Type Description Notes
inventory_adjustment_id int Id of the inventoryAdjustment to add a file to
file_name str Name of file

Return type

void (empty response body)

Authorization

api_key

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

add_inventory_adjustment_file_by_url

add_inventory_adjustment_file_by_url(body, inventory_adjustment_id)

Attach a file to an inventoryAdjustment by URL.

Adds a file to an existing inventoryAdjustment by URL.

Example

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.InventoryAdjustmentApi(Infoplus.ApiClient(configuration))
body = Infoplus.RecordFile() # RecordFile | The url and optionly fileName to be used.
inventory_adjustment_id = 56 # int | Id of the inventoryAdjustment to add an file to

try:
    # Attach a file to an inventoryAdjustment by URL.
    api_instance.add_inventory_adjustment_file_by_url(body, inventory_adjustment_id)
except ApiException as e:
    print("Exception when calling InventoryAdjustmentApi->add_inventory_adjustment_file_by_url: %s\n" % e)

Parameters

Name Type Description Notes
body RecordFile The url and optionly fileName to be used.
inventory_adjustment_id int Id of the inventoryAdjustment to add an file to

Return type

void (empty response body)

Authorization

api_key

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

add_inventory_adjustment_tag

add_inventory_adjustment_tag(inventory_adjustment_id, inventory_adjustment_tag)

Add new tags for an inventoryAdjustment.

Adds a tag to an existing inventoryAdjustment.

Example

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.InventoryAdjustmentApi(Infoplus.ApiClient(configuration))
inventory_adjustment_id = 56 # int | Id of the inventoryAdjustment to add a tag to
inventory_adjustment_tag = 'inventory_adjustment_tag_example' # str | The tag to add

try:
    # Add new tags for an inventoryAdjustment.
    api_instance.add_inventory_adjustment_tag(inventory_adjustment_id, inventory_adjustment_tag)
except ApiException as e:
    print("Exception when calling InventoryAdjustmentApi->add_inventory_adjustment_tag: %s\n" % e)

Parameters

Name Type Description Notes
inventory_adjustment_id int Id of the inventoryAdjustment to add a tag to
inventory_adjustment_tag str The tag to add

Return type

void (empty response body)

Authorization

api_key

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

delete_inventory_adjustment_file

delete_inventory_adjustment_file(inventory_adjustment_id, file_id)

Delete a file for an inventoryAdjustment.

Deletes an existing inventoryAdjustment file using the specified data.

Example

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.InventoryAdjustmentApi(Infoplus.ApiClient(configuration))
inventory_adjustment_id = 56 # int | Id of the inventoryAdjustment to remove file from
file_id = 56 # int | Id of the file to delete

try:
    # Delete a file for an inventoryAdjustment.
    api_instance.delete_inventory_adjustment_file(inventory_adjustment_id, file_id)
except ApiException as e:
    print("Exception when calling InventoryAdjustmentApi->delete_inventory_adjustment_file: %s\n" % e)

Parameters

Name Type Description Notes
inventory_adjustment_id int Id of the inventoryAdjustment to remove file from
file_id int Id of the file to delete

Return type

void (empty response body)

Authorization

api_key

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

delete_inventory_adjustment_tag

delete_inventory_adjustment_tag(inventory_adjustment_id, inventory_adjustment_tag)

Delete a tag for an inventoryAdjustment.

Deletes an existing inventoryAdjustment tag using the specified data.

Example

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.InventoryAdjustmentApi(Infoplus.ApiClient(configuration))
inventory_adjustment_id = 56 # int | Id of the inventoryAdjustment to remove tag from
inventory_adjustment_tag = 'inventory_adjustment_tag_example' # str | The tag to delete

try:
    # Delete a tag for an inventoryAdjustment.
    api_instance.delete_inventory_adjustment_tag(inventory_adjustment_id, inventory_adjustment_tag)
except ApiException as e:
    print("Exception when calling InventoryAdjustmentApi->delete_inventory_adjustment_tag: %s\n" % e)

Parameters

Name Type Description Notes
inventory_adjustment_id int Id of the inventoryAdjustment to remove tag from
inventory_adjustment_tag str The tag to delete

Return type

void (empty response body)

Authorization

api_key

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_duplicate_inventory_adjustment_by_id

InventoryAdjustment get_duplicate_inventory_adjustment_by_id(inventory_adjustment_id)

Get a duplicated an inventoryAdjustment by id

Returns a duplicated inventoryAdjustment identified by the specified id.

Example

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.InventoryAdjustmentApi(Infoplus.ApiClient(configuration))
inventory_adjustment_id = 56 # int | Id of the inventoryAdjustment to be duplicated.

try:
    # Get a duplicated an inventoryAdjustment by id
    api_response = api_instance.get_duplicate_inventory_adjustment_by_id(inventory_adjustment_id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InventoryAdjustmentApi->get_duplicate_inventory_adjustment_by_id: %s\n" % e)

Parameters

Name Type Description Notes
inventory_adjustment_id int Id of the inventoryAdjustment to be duplicated.

Return type

InventoryAdjustment

Authorization

api_key

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_inventory_adjustment_by_filter

list[InventoryAdjustment] get_inventory_adjustment_by_filter(filter=filter, page=page, limit=limit, sort=sort)

Search inventoryAdjustments by filter

Returns the list of inventoryAdjustments that match the given filter.

Example

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.InventoryAdjustmentApi(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 inventoryAdjustments by filter
    api_response = api_instance.get_inventory_adjustment_by_filter(filter=filter, page=page, limit=limit, sort=sort)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InventoryAdjustmentApi->get_inventory_adjustment_by_filter: %s\n" % e)

Parameters

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]

Return type

list[InventoryAdjustment]

Authorization

api_key

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_inventory_adjustment_by_id

InventoryAdjustment get_inventory_adjustment_by_id(inventory_adjustment_id)

Get an inventoryAdjustment by id

Returns the inventoryAdjustment identified by the specified id.

Example

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.InventoryAdjustmentApi(Infoplus.ApiClient(configuration))
inventory_adjustment_id = 56 # int | Id of the inventoryAdjustment to be returned.

try:
    # Get an inventoryAdjustment by id
    api_response = api_instance.get_inventory_adjustment_by_id(inventory_adjustment_id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InventoryAdjustmentApi->get_inventory_adjustment_by_id: %s\n" % e)

Parameters

Name Type Description Notes
inventory_adjustment_id int Id of the inventoryAdjustment to be returned.

Return type

InventoryAdjustment

Authorization

api_key

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_inventory_adjustment_files

get_inventory_adjustment_files(inventory_adjustment_id)

Get the files for an inventoryAdjustment.

Get all existing inventoryAdjustment files.

Example

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.InventoryAdjustmentApi(Infoplus.ApiClient(configuration))
inventory_adjustment_id = 56 # int | Id of the inventoryAdjustment to get files for

try:
    # Get the files for an inventoryAdjustment.
    api_instance.get_inventory_adjustment_files(inventory_adjustment_id)
except ApiException as e:
    print("Exception when calling InventoryAdjustmentApi->get_inventory_adjustment_files: %s\n" % e)

Parameters

Name Type Description Notes
inventory_adjustment_id int Id of the inventoryAdjustment to get files for

Return type

void (empty response body)

Authorization

api_key

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_inventory_adjustment_tags

get_inventory_adjustment_tags(inventory_adjustment_id)

Get the tags for an inventoryAdjustment.

Get all existing inventoryAdjustment tags.

Example

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.InventoryAdjustmentApi(Infoplus.ApiClient(configuration))
inventory_adjustment_id = 56 # int | Id of the inventoryAdjustment to get tags for

try:
    # Get the tags for an inventoryAdjustment.
    api_instance.get_inventory_adjustment_tags(inventory_adjustment_id)
except ApiException as e:
    print("Exception when calling InventoryAdjustmentApi->get_inventory_adjustment_tags: %s\n" % e)

Parameters

Name Type Description Notes
inventory_adjustment_id int Id of the inventoryAdjustment to get tags for

Return type

void (empty response body)

Authorization

api_key

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

update_inventory_adjustment_custom_fields

update_inventory_adjustment_custom_fields(body)

Update an inventoryAdjustment custom fields

Updates an existing inventoryAdjustment custom fields using the specified data.

Example

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.InventoryAdjustmentApi(Infoplus.ApiClient(configuration))
body = Infoplus.InventoryAdjustment() # InventoryAdjustment | InventoryAdjustment to be updated.

try:
    # Update an inventoryAdjustment custom fields
    api_instance.update_inventory_adjustment_custom_fields(body)
except ApiException as e:
    print("Exception when calling InventoryAdjustmentApi->update_inventory_adjustment_custom_fields: %s\n" % e)

Parameters

Name Type Description Notes
body InventoryAdjustment InventoryAdjustment to be updated.

Return type

void (empty response body)

Authorization

api_key

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]