Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to change Movement Request status from 'Incomplete' to 'Preapproved' status using Rest API.

edited Jan 15, 2024 7:03AM in ERP Integrations 3 comments

Summary:

I have a requirement to create movement request in preapproved status using rest API via OIC tool.

I have found one note for this Doc ID 2558576.1.

By following above note, i am able to create movement request header and lines in 'Incomplete' status.

Header creation API

/fscmRestApi/resources/11.13.18.05/inventoryMovementRequests


Line Creation API

/fscmRestApi/resources/11.13.18.05/inventoryMovementRequests/{HeaderId}/child/lines


But i am facing issue while trying to change status of Movement request from 'Incomplete' to 'Preapproved' using API in Patch mode .

/fscmRestApi/resources/11.13.18.05/inventoryMovementRequests/{HeaderId}

Payload :

{

    "Status":"Preapproved"

}


When i use above API in Patch , i get below error.

"The value of the attribute Status isn't valid"

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!