Skip to main content
Answer

How to include an Action button in a web service endpoint

  • March 8, 2023
  • 6 replies
  • 662 views

Michael Ndungi
Varsity I
Forum|alt.badge.img

Hello everyone, hope you all good.
How can I include a button on a web service Endpoint?
i.e.

I need to add this button to web service endpoint.

 Endpoint:
 

 

Will really appreciate for any kind of response
Thank you.

Best answer by jinin

Hi @development93 

Can you refer the below link

 

creating an InventoryIssue via REST API | Community (acumatica.com)

6 replies

jinin
Pro I
Forum|alt.badge.img+11
  • Pro I
  • Answer
  • March 8, 2023

Hi @development93 

Can you refer the below link

 

creating an InventoryIssue via REST API | Community (acumatica.com)


Michael Ndungi
Varsity I
Forum|alt.badge.img

created the action button on the endpoint but am getting an error i.e  “The Remove Hold button is disabled”

What could be the issue?

when I try the POST for ReleasingFromHold with this AdjRefNbr as parameter


jinin
Pro I
Forum|alt.badge.img+11
  • Pro I
  • March 8, 2023

Hi @development93 ,

Which screen you are using? Can you share me the endpoint (After the entity)?


Michael Ndungi
Varsity I
Forum|alt.badge.img

Hi @development93 ,

Which screen you are using? Can you share me the endpoint (After the entity)?

Hi @jinin 
The screen is Transactions
 

This is the endpoint:
….KFAcumaticaDB/entity/Transaction/20.200.001/Transaction/INReleaseFromHold

 


jinin
Pro I
Forum|alt.badge.img+11
  • Pro I
  • March 8, 2023

Hi @development93 ,

You are passing Adjrefnbr instead of referenceNbr. Try like below,

{
"entity": {

"ReferenceNbr": {
"value": "000231"
}
},
"parameters": {}
}

 


Michael Ndungi
Varsity I
Forum|alt.badge.img

Hi @development93 ,

You are passing Adjrefnbr instead of referenceNbr. Try like below,

{
"entity": {

"ReferenceNbr": {
"value": "000231"
}
},
"parameters": {}
}

 

Yeah, its works now.
Thanks.