Skip to main content
Solved

Item Price Class

  • November 22, 2023
  • 6 replies
  • 189 views

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!  :-)

 

6 replies

Zoltan Febert
Jr Varsity I
Forum|alt.badge.img+3
  • Jr Varsity I
  • November 22, 2023

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


Forum|alt.badge.img+2
  • Author
  • Semi-Pro I
  • Answer
  • November 22, 2023

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!  :-)

 


Zoltan Febert
Jr Varsity I
Forum|alt.badge.img+3
  • Jr Varsity I
  • November 22, 2023

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

{
"Description": {},

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

 


Forum|alt.badge.img+2
  • Author
  • Semi-Pro I
  • November 22, 2023

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: *


Zoltan Febert
Jr Varsity I
Forum|alt.badge.img+3
  • Jr Varsity I
  • November 22, 2023

I am glad you were able to figure it out.


Forum|alt.badge.img+2
  • Author
  • Semi-Pro I
  • November 22, 2023

I am glad you were able to figure it out.

Thanks again for your help!  😊