PUT inventory/{apiKey}/update

Request Information

URI Parameters

NameDescriptionTypeAdditional information
apiKey

string

None.

Body Parameters

UpdateInventoryModel
NameDescriptionTypeAdditional information
part_id

integer

None.

adjusted_quantity

integer

None.

location

PartLocationHierarchy

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected for property 'parent' with type 'TPI.API.Models.PartLocationHierarchy'. Path 'location'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected for property 'parent' with type 'TPI.API.Models.PartLocationHierarchy'. Path 'location'.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UpdateInventoryModel'.

Response Information

Resource Description

UpdateInventoryResult
NameDescriptionTypeAdditional information
part_id

integer

None.

status

string

None.

request_length

decimal number

None.

message

string

None.

ipaddress

string

None.

Response Formats

application/json, text/json

Sample:
{
  "part_id": 1,
  "status": "sample string 2",
  "request_length": 3.1,
  "message": "sample string 4",
  "ipaddress": "sample string 5"
}