Post
/inventory/productModelSparePartDefinitionReferences/import
Updates or creates spare parts references of product model by providing a CSV file.
Security
HTTP
Type bearer
Header parameters
X-Servitly-Tenant
stringRequired
The name of the target tenant (e.g. acme).
Query parameters
productModelId
string
The id of the product model.
Minimum1.0
Exampleabcd1234
Body parameters
The CSV holding the spare part references to import.
object
file
string (binary)
The CSV file with these headers: Spare Part Code,Quantity,Group,Model Part,Technical Scheme Position
Responses
200
Successful imported.
object
message
string
The operation result.
ExampleSpare part references updated
400
Request data not valid.
object
message
string
The error response.
ExampleBad request
401
User not authenticated.
object
message
string
The error response.
ExampleUser not authenticated
403
User not authorized.
object
message
string
The error response.
ExampleUser not authorized
429
API call rate limit exeeded.
object
message
string
The error response.
ExampleAPI call rate limit exeeded
500
Internal server error.
object
message
string
The error response.
ExampleInternal Server Error