Not able to create replica/geodatabase for public feature layers

07-24-2019 07:42 AM
New Contributor III

So I am using the "createReplica" api to create the geodatabase for my feature layer I pass all the parameters required.

If I use this api for the public feature layers, It gives me the whole JSON of the mapserver, 

Also I need to confirm how will I know the geometry type dynamically of any layer I am downloading geodatabase for.

I tried following:


parameters: geometrygeometryTypeinSRlayersreplicaNametransportTypeasyncsyncModeldataFormat

Am I sending invalid replica definition, or the feature layer I am using has no capability, or I should use something else to download geodatabse using rest apis. [ Definitely not Native SDK ]


0 Kudos
0 Replies