HomeGuidesAPI ReferenceChangelogDiscussions
GuidesiMIS ProfessionaliMIS EnterpriseClient SupportLog In
Discussions
These docs are for v20.3.44. Click to read the latest docs for v20.3.192.

Discussions

Ask a Question
Back to All

ProductInventoryId issue

Is it possible to retrieve and update a ProductInventory item?

According to the documentation: https://developer.imis.com/reference/getproductinventorybyid-1
If we send a GET request to the endpoint: /api/ProductInventory/G15\DEFAULT
We receive the following error:

Asi.Soa.Core.Exceptions.EntityServiceException`1[Asi.Soa.Core.DataContracts.Faults.ArgumentFault]: ArgumentFault: Incorrect number of identity elements
   at Asi.Soa.Core.Persistence.LinqPersistenceStrategyBase.FindByIdentity(IdentityData identity) in D:\a\1\s\src\service\Asi.Service\Soa.Core\Core\Persistence\BaseClasses\LinqPersistenceStrategyBase.cs:line 112
   at Asi.Soa.Core.Domain.Repository.FindIdentityItemByIdentity(IdentityData identity) in D:\a\1\s\src\service\Asi.Service\Soa.Core\Core\Domain\Repository\Repository.cs:line 348
   at Asi.Soa.Core.Domain.Repository.FindByIdentity(IdentityData identity) in D:\a\1\s\src\service\Asi.Service\Soa.Core\Core\Domain\Repository\Repository.cs:line 336
   at Asi.Services.Core.EntityServiceToCommonServiceAdapter`1.<FindById>g__ExecuteFind|19_0(<>c__DisplayClass19_0& ) in D:\a\1\s\src\service\Asi.Service\Core\Core\EntityServiceToCommonServiceAdapter.cs:line 400

Contact us
Copyright © Advanced Solutions International, All rights reserved.