NetSuite Payroll transactions in SuiteTalk SOAP web service API - soap

The NetSuite user interface shows certain payroll-related transaction types such as Payroll Liability Cheque and Paycheque, for example, in the General Ledger Report. (I've set my profile to use UK English; you may see these spelt "check" instead of "cheque".) However, when I search through all transactions in the SuiteTalk API using stub.search(new TransactionSearchBasic()) all of these payroll transactions are missing from the list. Is there something I have to do to be able to read them? (When running my app I login as an administrator, so shouldn't have any access restrictions.)

Related

Get information about customer without password of user using the Shopware 6 REST API

I am trying to get information about a customer using the REST API of Shopware 6 (using this API). Therefor I need a ContextToken for that user. The only way to get a context token for a user is to log him in, but for that I need the password of a user which I do not have. Is there any way to get the ContextToken of a user with only his email address or hist customer id?
Shopware comes with 2 different APIs, the Store-API and the Admin-API. Refer to the docs.
The Store-API is there to build a storefront and thus you need to authenticate as the user using that API.
When you build custom integrations you should use the Admin-API, as that API can be used for CRUD-like operations on all entities of the system. For the admin API you can generate an API-Token and use it to query data of all customers.

Making API requests to a 3rd party that requires authentication

Here is my scenario. Imagine there is a Yoga studio that uses a professional booking and reservation system that exposes an API. Through this API an application can make a reservation for a client. The API takes the client's userid and password to make the reservation. The booking API doesn't use OAuth or any social media sign-ins.
My desire is to create an Assistant Action that would retrieve the list of classes and allow the client to make a booking.
My puzzle is what design/architecture to look towards to supply the userid/password pair required by the booking API.
How have others solved this puzzle?
Should I store the userid/password as "user state" associated with the action?
First, you should have a conversation with the API provider about why they don't provide an OAuth-based solution. This is a security vulnerability waiting to happen, if it hasn't already.
Second, you need to think very carefully about your own risk profile in this case:
Google does not allow you to collect credential information (ie - passwords) through your Action.
Because of this, you must use Account Linking to authenticate them.
This means that you will need something (ie - a database or data store) to manage their account on your side.
This database would be a good place to keep the username/password you need to use for them for the API...
...but it now means that you need to take extreme care about protecting this database.
You don't really say how this API allows for accounts to be created and managed. If these accounts are just used for you (ie - the user doesn't necessarily see them), then you can mitigate some of that risk by treating the username/password as an opaque token that you manage and generate and that the user never sees.
If this is something that the user is aware of, then you'll need to approach the account linking in one of two ways:
Have them log into your service via an app or webapp using this credential info that you will need to save (ack!) and then link to the Assistant using OAuth.
Have them log into your service via an app or webapp using Google Sign-In, which will carry over to your Action. Then have them provide the credential info for the API, which you will need to save (ack!).

How to get sample data from sales force developer account through rest api

I need to get sample data from sales force developer account but i am unable to find any API to get any data from sales force.
Is there any API exposed by sales force to accomplish the task.
Salesforce exposes a large number of thoroughly documented APIs.
Access to record data is most commonly achieved through the standard REST API.
You may be most interested in the endpoints named under Working with Records, which provide access to record data, or Working with Searches and Queries.

how to design RESTful API for html selection

I am a beginner in web development. Now I am develop one application based on RESTful API and Angular framework. I'm confused about the selection resource API design.
For example, when user create sales orders, he will see a select control which can list all available customers. But the user may have no permission to manage customers. The same thing happend in customer cases creation.
Should I build two customer select API endpoints for orders and customer cases? What is the usual practise?

More test cc bank accounts for intuit customer account data API.

Test account provided by intuit are limited. I am looking for more api Data in general and for getInvestmentPositions specifically. it here away to generate test accounts ? or is there any other than . these accounts ?
No unfortunately there is no other dummy FIs available for testing.
At EARN.org, I had a UC Berkeley student intern build an mock object system for the Intuit Customer Data Banking API. It's built with Python, Pyramid, SQLAlchemy and the Cornice frameworks.
We are using it to test our micro-saving applications. It was designed to provide more test accounts and let us simulate the effect of transactions in the past or future. It NOT fully featured, we didn't implement the security features of the real Intuit API. We did just enough work to create, banks and user accounts with transactions.
It's on github at https://github.com/earnsf/BankingTestAPI
We are using with the aggcat Python wrapper. I'd say its still very nascent piece of code. We welcome other collaborators who can help move this project forward.