mrtnsn
CONTRIBUTOR ***

Create/Update CustomerSalesPrice

by mrtnsn (Updated ‎22-09-2020 09:05 by mrtnsn )
Status: In backlog

Currently it's only possible to get the customer sales prices. It should also be possible to update and create new ones.

 

Example use case: We adjust the sales prices of our products based on a number of factors that we're currently calculating outside of Visma.net. This would let us mass-update/create all those prices.

 

Screen ID: AR202010

7 Comments
Yıldırım
VISMA
by Yıldırım (Updated ‎25-09-2020 11:10 by Yıldırım VISMA )
Status changed to: Status: New

Hello, 


have you checked the endpoint : Customer Sales Price (Corresponding with ScreenId=AR202000) which is currently available with GET operation ? 

Please review the endpoint and inform us accordingly if this fulfils your need for GET. If it does, please confirm that thus we can check the possibility of implementing POST/PUT operation on the same resource.

https://integration.visma.net/API-index/
customer_sales_pricew.png

mrtnsn
CONTRIBUTOR ***
by mrtnsn

When comparing the UI filters with the API filters it seems to be missing some fields.

 

Missing fields:

  • ItemClassCD
  • InventoryID
  • SiteID
  • InventoryPriceClassID
  • OwnerID
  • WorkGroupID
  • MyOwner (checkbox) = Could be programatically fixed with OwnerID
  • MyWorkGroup (checkbox)= Could be programatically fixed with WorkGroupID

I think these should be added with this idea so that the API is closer to the UI for this endpoint.

mrtnsn
CONTRIBUTOR ***
by mrtnsn

It should also be possible to DELETE a CustomerSalesPrice

Yıldırım
VISMA
by Yıldırım (Updated ‎29-09-2020 13:17 by Yıldırım VISMA )

Following filtering parameters are currently available on the GET Customer Sales Price Endpoint.
CustomerSalesPrice.png
If you'd like to get other fields exposed, please share short information regarding the need thus this can help the development team during the assessment process.

Supporting POST / PUT / DELETE operations in the Customer Sales Price Endpoint have been registered as a wish for improvement.

We'll share updates as they come in.

mrtnsn
CONTRIBUTOR ***
by mrtnsn (Updated ‎29-09-2020 13:48 by mrtnsn )

If you'd like to get other fields exposed, please share short information regarding the need thus this can help the development team during the assessment process.

Is not as much as I need these now, as it's missing from API when comparing with the UI.

 

Screenshot 2020-09-29 at 13.40.46.png

So comparing with the UI the following fields marked with X is missing.

Each field explained:

  • ItemClassCD (id)
    • Filters the result based on the given ItemClassCD (id)
  • InventoryID
    • Filters the result based on the given InventoryID
  • SiteID
    • Filters the result based on the given SiteID (warehouse)
  • InventoryPriceClassID
    • Filters the result based on the given InventoryPriceClassID
  • OwnerID
    • Filters the result based on the given OwnerID (owner of the price)
  • WorkGroupID
    • Filters the result based on the given WorkGroupID (workgroup owner of price)
  • MyOwner (checkbox) = Could be programatically fixed with OwnerID
    • This should be skipped for the API
  • MyWorkGroup (checkbox)= Could be programatically fixed with WorkGroupID
    • This should be skipped for the API

 

SKAU AS
CONTRIBUTOR ***
by SKAU AS

Any news on  CustomerSalePrice  "PUT" operation too be added to the API? 

 

 

by Magnus Johnsen

Hi,

We have asked for an update regarding this case. If this is something you need, we recommend that you vote for this idea.