Skip to main content
Solved

Item Price Class

  • Nov 22, 2023 12:58 AM UTC
  • 6 replies
  • 245 views
  • Translate All

Forum|alt.badge.img+2

I’m changing from using SOAP-based API to REST API.  Is there an equivalent to the IN209000Export and IN209000Submit?  I can’t find the web service endpoint that can either retrieve or add new Item Price Classes (ScreenId=IN209000)

Best answer by bpgraves

There is no endpoint for that screen, but you can extend a default endpoint and create your own.

1. Extend your endpoint:

2. Add your new entity:


3
 

3. Map the fields

Your endpoint link will be something like this:

{{url}}entity/DefaultExt/22.200.001/ItemPriceClass

Thank you for your response.  This worked great!  :-)

 

View original

6 replies

Zoltan Febert
Jr Varsity I
Forum|alt.badge.img+4

There is no endpoint for that screen, but you can extend a default endpoint and create your own.

1. Extend your endpoint:

2. Add your new entity:


3
 

3. Map the fields

Your endpoint link will be something like this:

{{url}}entity/DefaultExt/22.200.001/ItemPriceClass

Translate

Forum|alt.badge.img+2
  • Author
  • Semi-Pro III
  • Answer
  • Nov 22, 2023 4:49 PM UTC

There is no endpoint for that screen, but you can extend a default endpoint and create your own.

1. Extend your endpoint:

2. Add your new entity:


3
 

3. Map the fields

Your endpoint link will be something like this:

{{url}}entity/DefaultExt/22.200.001/ItemPriceClass

Thank you for your response.  This worked great!  :-)

 

Translate

Zoltan Febert
Jr Varsity I
Forum|alt.badge.img+4

In PUT you don’t need id and note, just Description and PriceClassID:

{
"Description": {},

"PriceClassID": {
"value": "992 PERCEN"
}
}

 

Translate

Forum|alt.badge.img+2
  • Author
  • Semi-Pro III
  • Nov 22, 2023 5:10 PM UTC

In PUT you don’t need id and note, just Description and PriceClassID:

{
"Description": {},

"PriceClassID": {
"value": "992 PERCEN"
}
}

 

My PUT didn’t work until I removed this line from my header...

Key: If-Match

Value: *

Translate

Zoltan Febert
Jr Varsity I
Forum|alt.badge.img+4

I am glad you were able to figure it out.

Translate

Forum|alt.badge.img+2
  • Author
  • Semi-Pro III
  • Nov 22, 2023 5:15 PM UTC

I am glad you were able to figure it out.

Thanks again for your help!  😊

Translate