Creating an AML Entry
This example shows you how to create an AML 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
{
"ManufacturerPartSourcingStatus":{"Value":"preferred ","Display":"Preferred"},
"SourcingContext@odata.bind":"SourcingContexts('OR:com.ptc.windchill.suma.axl.AXLContext:92498')",
"ManufacturerPartReference@odata.bind":"ManufacturerParts('OR:com.ptc.windchill.suma.part.ManufacturerPart:341833')"
}