Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all articles
Browse latest Browse all 2823

odata CREATE SERVICE (post)ISSUE "The server is refusing to process the request because the entity has an unsupported format"

$
0
0

<feed xmlns="http://www.w3.org/2005/Atom" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xml:base="http://ULABSMDG27.ugi.com:8000/sap/opu/odata/sap/Z_FIORI_CREATE_EQUIPMENT_SRV/">

  <id>http://ULABSMDG27.ugi.com:8000/sap/opu/odata/sap/Z_FIORI_CREATE_EQUIPMENT_SRV/Z_EquipmentCreateSet</id>

  <title type="text">Z_EquipmentCreateSet</title>

  <updated>2015-11-10T09:57:56Z</updated>

  <author>

   <name/>

  </author>

  <link href="Z_EquipmentCreateSet" rel="self" title="Z_EquipmentCreateSet"/>

  <entry>

   <id>http://ULABSMDG27.ugi.com:8000/sap/opu/odata/sap/Z_FIORI_CREATE_EQUIPMENT_SRV/Z_EquipmentCreateSet('10000004')</id>

   <title type="text">Z_EquipmentCreateSet('10000004')</title>

   <updated>2015-11-10T09:57:56Z</updated>

   <category term="Z_FIORI_CREATE_EQUIPMENT_SRV.Z_EquipmentCreate" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/>

   <link href="Z_EquipmentCreateSet('10000004')" rel="edit" title="Z_EquipmentCreate"/>

   <content type="application/xml">

    <m:properties xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices">

     <d:Equipment>10000004</d:Equipment>

     <d:Manfacture>SAP</d:Manfacture>

     <d:Descript>ODATA TEST</d:Descript>

     <d:Maintplant>0001</d:Maintplant>

     <d:Funcloc>ABCD-TER-RR-12</d:Funcloc>

     <d:Equicatgry>M</d:Equicatgry>

     <d:ExternalNumber>10000004</d:ExternalNumber>

     <d:Objecttype/>

     <d:Manmodel>asded- 1234 -344</d:Manmodel>

    </m:properties>

   </content>

  </entry>

</feed>

 

 

Here is my pay load for the create operation for POST , I could not understand the solution provide in other discussions, could you please guide me on what error is there in my payload.

HTTP Request properties

 

X-CSRF-TokenJ0LthASUesoef5I3HzvcyQ==
Content-Typeapplication/atom+xml;type=feed; charset=utf-8

Viewing all articles
Browse latest Browse all 2823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>