Question

ModifyAvailabilityControl Post Action

  • 18 April 2022
  • 1 reply
  • 45 views

Userlevel 2
Badge +2

Can someone assist me? Trying to Create a webservice call to update the AvailabilityControl but I want to only modify it for a particular Contract, Part, location, and batch.

 

I see the documentation at https://ebad-afb-ifstr.ebi.local:53080/main/ifsapplications/apidocs/?openApiUrl=https://ebad-afb-ifstr.ebi.local:53080/int/ifsapplications/projection/v1/InventoryPartInStockHandling.svc/$openapi?V3#tag/Service-Operations-Actions/paths/~1ModifyAvailabilityControl/post

 

and also see a sample postman WS call but there is nothing about filtering it or only modifying the value a select item or set. Been trying all sorts of filters and getting different vague error messages back. Does someone have a sample modify WS call with a filter? 

 

Thanks in advance!

Mike


1 reply

Userlevel 2
Badge +2

Figured it out…..answer here for anyone else.

The URL must only have the base URL and “/ModifyAvailabilityControl”

The filtering is part of the selection statement. I had the following ([text] for security)

{

"Selection":"ACTIVITY_SEQ=0^CONFIGURATION_ID=*^CONTRACT=[contract number]^ENG_CHG_LEVEL=1^HANDLING_UNIT_ID=0^LOCATION_NO=[location number]^LOT_BATCH_NO=[batch no]^PART_NO=[part no]^SERIAL_NO=*^WAIV_DEV_REJ_NO=*^","NewAvailabilityControlId":null

}

 

in this example...I was trying to se the Availability Control ID to null….it worked.

Reply