Skip to main content

Hello,

 

First of all, I have already read all relevant posts here on the above topic.

I want to send the following POST in Postman

 

https://server:port/int/ifsapplications/projection/v1/ManualReservationShopOrderHandling.svc/ShopMaterialAllocSet(OrderNo='1010178',ReleaseNo='*',SequenceNo='*',LineItemNo=2)/IfsApp.ManualReservationShopOrderHandling.ShopMaterialAlloc.Unreserve

 

and get the following error.

 

{    "error": {        "code": "ODP_DESERIALIZATION_ERROR",        "message": "Error while de-serializing contents."    }}

 

Setting the header parameters

 

- Accept: application/json;odata.metadata=full;IEEE754Compatible=true

- Content Type: application/json;IEEE754Compatible=true

 

wasn't the solution, just as an empty body didn't help.

 

The GET call works as expected

 

https://server:port/int/ifsapplications/projection/v1/ManualReservationShopOrderHandling.svc/ShopMaterialAllocSet(OrderNo='1010178',ReleaseNo='*',SequenceNo='*',LineItemNo=2)

 

We are currently using IFS 10 Update 9

 

Does anyone have any ideas as to what could be the problem or what else I can try?

 

 

Best regards

... even setting a required HEADER KEY: IF_MATCH = * didn't help.

Hi @RaveLutzer 

 

Have you checked the http call when unreserve command done in Aurena?

 I don’t have an Apps10 environment to check but simulated in 24R1. There the Unreserve is done as a batch call

 

Hope it helps!

Damith


Hi Damith,

 

Thank you very much for your feedback.

 

That's probably beyond my abilities. :-)

 

I was hoping that with a simple call from the RestAPI I could directly unreserve material. 

 

For background... I'm currently trying to write an application where I can capture and process inventory results using a barcode scanner. To do this, I would need the option of being able to unreserve material if the count value is less than the reserved quantity in the storage location. 

 

No problem - these reservations just have to be made manually in Apps 10.

 

 

 


Hi Damith,

 

Thank you very much for your feedback.

 

That's probably beyond my abilities. :-)

 

I was hoping that with a simple call from the RestAPI I could directly unreserve material. 

 

For background... I'm currently trying to write an application where I can capture and process inventory results using a barcode scanner. To do this, I would need the option of being able to unreserve material if the count value is less than the reserved quantity in the storage location. 

 

No problem - these reservations just have to be made manually in Apps 10.

 

 

 

Sounds like an interesting app you are making 😎

batch call is not that hard to code. You should find some explanation in the IFS documentation and below thread discusses some examples

Multiple REST API call | IFS Community

 

Cheers!

Damith


Reply