<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Publishing services through REST API in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/publishing-services-through-rest-api/m-p/44184#M3809</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I try to publish a service through REST API. I have uploaded csv file into ArcGIS Online and I try to publish it with publishParameters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The file is shared and it is uploaded with my account. I have managed to do this couple months ago but it seems that this works differently now. Any pointers what have happened or have I just broken my code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Call:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://www.arcgis.com/sharing/rest/content/users/-myname-/publish?itemId=f0d499594c7c4600a439481b07da3f97,filetype=csv,token=aWKhLO9oIIvdHYwGpObDLED2brCqgtlL8IZAINDIYCNvJkNW7Y2v4-Yo2B5IjjE-JDLXMtDM_ASxc0CMcPDNehM-2S609AnzanXYL01IOWnfl-92CERTeglZcvl_KKRy,publishParameters=" rel="nofollow" target="_blank"&gt;https://www.arcgis.com/sharing/rest/content/users/-myname-/publish?itemId=f0d499594c7c4600a439481b07da3f97,filetype=csv,token=aWKhLO9oIIvdHYwGpObDLED2brCqgtlL8IZAINDIYCNvJkNW7Y2v4-Yo2B5IjjE-JDLXMtDM_ASxc0CMcPDNehM-2S609AnzanXYL01IOWnfl-92CERTeglZcvl_KKRy,publishParameters=&lt;/A&gt;&lt;SPAN&gt;{\"name\":\"TestService123456\",\"locationType\":\"coordinates\",\"latitudeFieldName\":\"Latitude\",\"longitudeFieldName\":\"Longitude\",\"description\":\"test description\",\"maxRecordCount\":500,\"copyrightText\":\"test copyright\",\"layerInfo\":{\"fields\":[{\"name\":\"ObjectId\",\"type\":\"esriFieldTypeInteger\",\"alias\":\"FID\",\"sqlType\":\"sqlTypeInteger\",\"nullable\":false,\"editable\":false,\"domain\":null},{\"name\":\"Level\",\"type\":\"esriFieldTypeInteger\",\"alias\":\"Level\",\"sqlType\":\"sqlTypeOther\",\"nullable\":false,\"editable\":true,\"domain\":{\"type\":\"codedValue\",\"name\":\"RouteDifficulty\",\"codedValues\":[{\"name\":\"Easy\",\"code\":1},{\"name\":\"Normal\",\"code\":2},{\"name\":\"Hard\",\"code\":3},{\"name\":\"Extreme\",\"code\":4}]},\"defaultValue\":null},{\"name\":\"Longitude\",\"type\":\"esriFieldTypeDouble\",\"alias\":\"Longitude\",\"nullable\":false,\"editable\":true,\"domain\":null},{\"name\":\"Latitude\",\"type\":\"esriFieldTypeDouble\",\"alias\":\"Latitude\",\"nullable\":false,\"editable\":true,\"domain\":null}]}}&amp;amp;f=json"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Response:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"{\"error\":{\"code\":403,\"messageCode\":\"GWM_0003\",\"message\":\"You do not have permissions to access this resource or perform this operation.\",\"details\":[]}}"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 May 2013 12:57:25 GMT</pubDate>
    <dc:creator>AnttiKajanus1</dc:creator>
    <dc:date>2013-05-29T12:57:25Z</dc:date>
    <item>
      <title>Publishing services through REST API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/publishing-services-through-rest-api/m-p/44184#M3809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I try to publish a service through REST API. I have uploaded csv file into ArcGIS Online and I try to publish it with publishParameters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The file is shared and it is uploaded with my account. I have managed to do this couple months ago but it seems that this works differently now. Any pointers what have happened or have I just broken my code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Call:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://www.arcgis.com/sharing/rest/content/users/-myname-/publish?itemId=f0d499594c7c4600a439481b07da3f97,filetype=csv,token=aWKhLO9oIIvdHYwGpObDLED2brCqgtlL8IZAINDIYCNvJkNW7Y2v4-Yo2B5IjjE-JDLXMtDM_ASxc0CMcPDNehM-2S609AnzanXYL01IOWnfl-92CERTeglZcvl_KKRy,publishParameters=" rel="nofollow" target="_blank"&gt;https://www.arcgis.com/sharing/rest/content/users/-myname-/publish?itemId=f0d499594c7c4600a439481b07da3f97,filetype=csv,token=aWKhLO9oIIvdHYwGpObDLED2brCqgtlL8IZAINDIYCNvJkNW7Y2v4-Yo2B5IjjE-JDLXMtDM_ASxc0CMcPDNehM-2S609AnzanXYL01IOWnfl-92CERTeglZcvl_KKRy,publishParameters=&lt;/A&gt;&lt;SPAN&gt;{\"name\":\"TestService123456\",\"locationType\":\"coordinates\",\"latitudeFieldName\":\"Latitude\",\"longitudeFieldName\":\"Longitude\",\"description\":\"test description\",\"maxRecordCount\":500,\"copyrightText\":\"test copyright\",\"layerInfo\":{\"fields\":[{\"name\":\"ObjectId\",\"type\":\"esriFieldTypeInteger\",\"alias\":\"FID\",\"sqlType\":\"sqlTypeInteger\",\"nullable\":false,\"editable\":false,\"domain\":null},{\"name\":\"Level\",\"type\":\"esriFieldTypeInteger\",\"alias\":\"Level\",\"sqlType\":\"sqlTypeOther\",\"nullable\":false,\"editable\":true,\"domain\":{\"type\":\"codedValue\",\"name\":\"RouteDifficulty\",\"codedValues\":[{\"name\":\"Easy\",\"code\":1},{\"name\":\"Normal\",\"code\":2},{\"name\":\"Hard\",\"code\":3},{\"name\":\"Extreme\",\"code\":4}]},\"defaultValue\":null},{\"name\":\"Longitude\",\"type\":\"esriFieldTypeDouble\",\"alias\":\"Longitude\",\"nullable\":false,\"editable\":true,\"domain\":null},{\"name\":\"Latitude\",\"type\":\"esriFieldTypeDouble\",\"alias\":\"Latitude\",\"nullable\":false,\"editable\":true,\"domain\":null}]}}&amp;amp;f=json"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Response:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"{\"error\":{\"code\":403,\"messageCode\":\"GWM_0003\",\"message\":\"You do not have permissions to access this resource or perform this operation.\",\"details\":[]}}"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 12:57:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/publishing-services-through-rest-api/m-p/44184#M3809</guid>
      <dc:creator>AnttiKajanus1</dc:creator>
      <dc:date>2013-05-29T12:57:25Z</dc:date>
    </item>
  </channel>
</rss>

