Skip to Content
0
Former Member
Jul 29, 2014 at 06:10 AM

Unsupported media type status code 415 error.

7017 Views

Hi All,

I am getting an error "The server is refusing to process the request because the entity has a unsupported format" while Executing the URI for POST.

Below are the details:

URI: /sap/opu/odata/sap/YMM7G_UMP_CON_SUPPLIER_SRV/SupplierSplitSet

Request Body:

<?xml version="1.0" encoding="utf-8"?>

<entry xml:base="xxxxxxxxxxxxxxx/sap/opu/odata/sap/YMM7G_UMP_CON_SUPPLIER_SRV/"

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">

<content type="application/xml">

<m:properties>

<d:Plant>CN03</d:Plant>

<d:Splittype/>

<d:Itemcode>0254890</d:Itemcode>

<d:PeriodTo>2014-09-01T00:00:00</d:PeriodTo>

<d:PeriodFrom>2014-01-01T00:00:00</d:PeriodFrom>

<d:VendorNo/>

<d:Qunum>0000001383</d:Qunum>

<d:Qupos>001</d:Qupos>

<d:Vendor>0000394349</d:Vendor>

<d:Quota>40</d:Quota>

<d:StartDate>2014-07-07T00:00:00</d:StartDate>

<d:EndDate>2014-07-20T00:00:00</d:EndDate>

<d:StartWeek/>

<d:EndWeek/>

<d:MaxQuantity>0.000</d:MaxQuantity>

<d:Priority>00</d:Priority>

<d:MCG/>

<d:Leadtime>0</d:Leadtime>

</m:properties>

</content>

</entry>

I did XML check, its fine. But still getting error. Please help me in resolving this issue.

Thanks,

Venkat Konanki

Attachments

Error.JPG (149.9 kB)
Header.JPG (91.7 kB)