Creating feature service through API on ArcGIS online

3919
2
Jump to solution
10-08-2013 09:00 AM
TomStimmell
New Contributor
Is it possible to create a feature service through the REST API on ArcGIS online hosted servers? I've reviewed the create service documentation, however "create service" is not listed as a capability for my instance and I receive an invalid URL error when attempting to use it. Is this only something possible on self-hosted servers?
0 Kudos
1 Solution

Accepted Solutions
AnttiKajanus1
Occasional Contributor III
Yes you can.

You need use Publish endpoint : http://resources.arcgis.com/en/help/arcgis-rest-api/#/Publish_Item/02r300000080000000/
S
o basically you need to upload service definition, csv or shapefile and execute publish operation. As a defult is becomes a private so you need to share it too if you need to. I think that this could be a bit better documented in a process vice.

View solution in original post

0 Kudos
2 Replies
AnttiKajanus1
Occasional Contributor III
Yes you can.

You need use Publish endpoint : http://resources.arcgis.com/en/help/arcgis-rest-api/#/Publish_Item/02r300000080000000/
S
o basically you need to upload service definition, csv or shapefile and execute publish operation. As a defult is becomes a private so you need to share it too if you need to. I think that this could be a bit better documented in a process vice.
0 Kudos
TomStimmell
New Contributor
Thanks again!
0 Kudos