I am integrating Acumatica using REST API, I am able to create check but not able to change the check status from pending print to print.
Can anyone help me to know how to change check status to print
You cannot manually update the status value through the api (you can tell because the API does not allow you to edit an entity any differently than you can through the screen). You have to invoke the Print check action (which is not present on the default endpoint). I extended the default endpoint to include the action
Unfortunatly the api was unable to handle the redirect required exception after the report ran.
I did however, manage to print checks using the Process Payments / Print Checks through the api:
I created a new endpoint for the process payments / print checks screen
And Added an action with a parameter for payment method on the header, and the action invokes 'Process All'
It succesfully marked all checks with the payment method "CHECK" as printed
Related
I have a test plan i need to run the following API in sequential order:
add record to DB using API POST call for user role to add to db
Update record using API PUT call to update user role
delete record using API DELETE call.This should be DELETE that record from DB using API call
This is the flow i need to achieve for each run.
You don't need to do anything special, JMeter executed Samplers sequentially (from top to bottom) so just add 3 HTTP Request samplers in the order you need
And JMeter will execute the requests in the given order:
Most probably you will also need to add a HTTP Header Manager to send the relevant Content-Type header for your API.
I have the API built in my custom CRM and its working fine but the issue is that the application is being sent out blank. We currently have it were we already have the necessary fields that will guide the client through the process instead of them having to drag and drop certain items.
Assuming you're defining the template ID correctly in the call, the next most likely cause of failure is that your Recipients aren't being correctly assigned to the Template Roles.
Can you confirm the Role Names in your template match what you're assigning in the API call?
I try testing web-service with SOAPUI. I face with problem that i don`t know how to pass access token from the first response to second request. I have 8 requests and want to run them together.But but after my first request(Remote Login) I get the access token for user and i need using it in next requests. I have to do it manually. Could you help me, how i can get token from the first request and pass it to next requests automatically.In this case, all the case must be started by pressing 1 button.
When you open request editor in SoapUI , it allows you to take parameter from earlier response (right click on request parameter and then select data and choose your value).
I am not sure whether this is available only in SoapUI Pro. However even if that is case , you need to do below-
1.fire your first request
2.get rseponse value of access token. store it as test case property
3.use test case property while creating next request .
refer-
Same Question
I want to restrict user for multiple login at a same time. Am following custom authentication method from below link
https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/7.1/authentication-security/custom-authentication/
To achieve, I wanted know whether current login request is already logged in or not from some other device(session). Where or from which method am going get these details?
Please let me know how to get and return error custom message from this java file to adapter's calling method.
I don't believe any of the built-in APIs will provide what you are looking for.
Instead, I think you need to create your own implementation from scratch. Meaning, create some database to store the current status of each user. Update it every time, check the status whenever someone tries to login ...
Is there any way to resubmit an open graph action for further permissions after it has been accepted?
For example, trying to post a message property with the action returns the following error:
{"error":{"type":"Exception","message":"This action is not allowed to set a user message because this property was not requested for approval."}}
Can you change this or is the only solution to delete the action and re-apply?
Currently (May 2012) you need to delete and reapply, i believe there's plans to make it so you can request the three further permissions separately after approval of the initial action, but right now it can't be edited after approval