Actually we need to extract details from the document like Invoice/delivery Challan etc. So I was going through aws Textract demo version where we can simply upload the PDF document and see, what all details it is extracting as key value pair, Table etc.
While doing above activity, I found that few specific keys like Invoice Number,PAN etc which are very important for us, sometimes getting extracted but sometimes they are not, though the document I am using is of quite high quality.
So my question is - Is there any way where we can specifically specify that what all keys, we are required to extract from the document?
If they are available in the document, aws should extract them else, it should keep those fields empty in the Response.
Thanks,
Kavita
Related
as we use cloudsearch to find our documents and data, we have this issue that some of the data that are returned back to us, we have to know that how they've been found.
I know that we can specify which fields to search for them, but is there any way that amazon gives us a hint or some information that how the returned data has been found. on which fields it exists?
this can be really really useful information for us and affects the way we show data to our users.
I know amazon provides highlighting service, but highlights change results, we don't want to change results or values, we just want to use this knowledge for backend purposes.
I am new to development, so I am sorry if this is a really basic question. I am trying to access some of the data available from instagram's API as documented here. https://developers.facebook.com/docs/instagram-api/insights.
I would like some kind of data repository to pull the data into, so I am looking at Google Big Query to see if I can pull in the data. (The ultimate place will be PowerBi so I can publish online)
Looking at the Facebook request code - is it possible to put this into Google Big query to return the data?
I am replacing the 'instagram-business-user-id' with an ID I have generated already - but it feels like perhaps it needs more markup to let Big Query know what language it is in.
Any help would be much appreciated.
GET graph.facebook.com/{instagram-business-user-id}/insights
?metric=impressions,reach,profile_views
&period=day
Looking at the Facebook request code - is it possible to put this into Google Big query to return the data?
Yes it's absolutely possible using bigQuery API or bigQuery CLI
You can use this Psuedo workflow as an example (using BigQuery API):
Create a table in bigQuery with the desired schema for this you also have 2 options:
Save the result in 1 column with the full JSON, This means to the select you need you use JSON_EXTRACT to fetch specific data
Process the JSON in your code and save it in specific columns to simplify the select statement
Call instagram's API
Call bigQuery API or bigQuery CLI to insert the data, This link provides one option how to do this
Call bigQuery API or bigQuery CLI to fetch the data, This link provides one option how to do this
We have use Order Feeds API for Amazon Order Processing API. We use _POST_FLAT_FILE_FUILFILLMENT_DATA feed type. But it gives the warning:
Order cannot be fulfilled. For more information please contact seller support.
The flat file that we created are given below: ordered, orderitemid, quantity, ship date, carriercode, carriername, tracking number and shipmethod. Ordered and shipmate (yyyyy-mm-dd and dispatch date is inserted) and other fields is blank.
Where we are making a mistake?
I've never used the flat file format to upload fulfillment data (I use the XML format), so my experiences may not apply to your case. But when I hit the "Order cannot be fulfilled" problem, it was a problem with the date format. The same seems to be true for this SO question: "Order cannot be fulfilled" error after updating order status in Amazon MWS
I'm getting started with Amazon MWS and I can't seem to see any real information on the correct flow for listing an item as an existing ASIN. Let's say for example I am selling a "Vulli Sophie the Giraffe Teether". I do an initial lookup using "listMatchingProducts" and find that my item already exists with the ASIN "B000IDSLOG". What is the next stage in the process?. All the documentation talks about the fact that the product feed is intended to match our SKU to the Amazon ASIN but i've not seen any definitive information to suggest how this actually works - especially in the scenario where you already know the ASIN you wish to use.
Ideally i'm interested in seeing the correct flow for each scenario (existing product for search found/not found) in terms of what API calls should be made in what order.
Thanks
The process of listing an item on Amazon is actually very similar for existing ASINs and new ones.
Listing items can consist of these steps:
Call SubmitFeed() to send a _POST_PRODUCT_DATA_ feed
is mandatory in all cases. You can omit product details if you're adding your listing to an existing item. If you list new products, this feed must be successfully processed before sending any other feed for those same item(s), I'm not sure if the same is true for existing products.
Call SubmitFeed() to send a _POST_PRODUCT_RELATIONSHIP_DATA_ feed
This step can be skipped for existing products or products without variants or other parent/child relations
Call SubmitFeed() to send a _POST_PRODUCT_IMAGE_DATA_ feed
This step can be skipped for existing products. Amazon is currently in the process of making images mandatory, so for new products or products currently not showing an image, you really should submit at least one image
Call SubmitFeed() to send a _POST_PRODUCT_PRICING_DATA_ feed
is mandatory in all cases
Call SubmitFeed() to send a _POST_INVENTORY_AVAILABILITY_DATA_ feed
is mandatory in all cases
Call SubmitFeed() to send a _POST_PRODUCT_OVERRIDES_DATA_ feed
is optional, and only used for items that have special shipping rates applied (e.g. expedited products)
More information on feeds is available on the Amazon Developer Documentation website and in Selling on Amazon: Guide to XML
It seems in the case of adding a product with an existing ASIN you can actually send a very basic XML request such as this, making sure to include the ASIN:
<AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="amznenvelope.xsd">
<Header>
<DocumentVersion>1.01</DocumentVersion>
<MerchantIdentifier>MERCHANT_IDENTIFIER</MerchantIdentifier>
</Header>
<MessageType>Product</MessageType>
<PurgeAndReplace>false</PurgeAndReplace>
<Message>
<MessageID>1</MessageID>
<OperationType>Update</OperationType>
<Product>
<SKU>UNIQUE-TO-ME-1234</SKU>
<StandardProductID>
<Type>ASIN</Type>
<Value>B000A0S46M</Value>
</StandardProductID>
<Condition>
<ConditionType>New</ConditionType>
</Condition>
</Product>
</Message>
</AmazonEnvelope>
Essentially though, from what i've read elsewhere it seems that Amazon will attempt to match a product to an existing ASIN according to the data within the _POST_PRODUCT_DATA_ feed even if an ASIN isn't provided. It will use elements such as title, manufacturer, brand, and other product specific information to compare that to their catalog and determine if it is an existing item or a new one to be added. If you do know it already has an ASIN though you can provide a very simple XML feed as shown above.
You can simply use flat file template from amazon to load your feeds to marketplace with your seller account credentials using marketplace web service.
Use 'inventory loader' file type template that will override the existing items or create new if doesn't exists.
You can define 'ASIN-Hint' fields/column in file for the items those already exists over marketplace as your case is.
Idea behind is that amazon matches the provided ASIN value with feed with the already existed product detail and synch information accordingly.
Try uploading your product without ASIN-Hint and see process report you will get a good idea then.
You may also refer http://prashantpandeytech.blogspot.in/2015/03/mws-amazon-marketplace-web-service-api.html for step wise implementation
Reading the documentation, it's not really clear.
What I want is to be able to store and retrieve simple json documents. With CloudSearch it seems possible to store documents in SDF format, and then search for them but it only returns the document ID and a small part (200 chars I think) of the fields specified.
Is there a way to retrieve the full document by ID just using CloudSearch? or is it intended to work as an additional tool for searching and then using your primary storage service?
If you index the id as a literal and search with that exact id then yes you can but it seems like a waste to use CloudSearch in that way. What about S3?