Creating an AVL Entry
This example shows you how to create an AVL entry. Use the following POST request.
URI
POST /Windchill/servlet/odata/ProdMgmt/Parts(‘OEM PART ID’)/AXLEntries HTTP/1.1
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"VendorPartSourcingStatus":{"Value":"approved","Display":"Approved"},
"SourcingContext@odata.bind":"SourcingContexts('OR:com.ptc.windchill.suma.axl.AXLContext:92498')",
"VendorPartReference@odata.bind":"VendorParts('OR:com.ptc.windchill.suma.part.VendorPart:341833')"
}
Was this helpful?