Example: Creating Multiple Skills
You can create a single or multiple skills using the CreateSkills action. The following example shows how to create multiple skills. Use the following POST request with the request body:
URI
POST /Windchill/servlet/odata/MfgProcMgmt/CreateSkills HTTP/1.1
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"Skills": [
{
"Name": "SkillsTest001",
"Category": {
"Value": "Machinist"
},
"Description": "Description field test",
"View": "Service",
"Folder@odata.bind": "Folders('OR:wt.folder.SubFolder:201389')",
"DefaultUnit": {
"Value": "ea"
},
"Usage": {
"Value": "AllUsage"
}
},
{
"Name": "SkillsTest002",
"Category": {
"Value": "Machinist"
},
"Description": "Description field test",
"View": "Service",
"Folder@odata.bind": "Folders('OR:wt.folder.SubFolder:201389')",
"DefaultUnit": {
"Value": "ea"
},
"Usage": {
"Value": "AllUsage"
}
}
]
}