REST API to nest Project Header, Team Members and Classifications
Content
I'm trying to nest Project Header with a Team Member and a Classification. I'm unable to make the following payload to work. Is my syntax incorrect?
{
"SourceTemplateName":"T, M4A Template",
"ProjectName":"M4A PROJECT2",
"ProjectNumber":"M4AP2002",
"AssetAllocationMethodCode":"N",
"CapitalEventProcessingMethodCode":"N",
"CurrencyConvRateType":"Corporate",
"CurrencyConvDateTypeCode":"A",
"IncludeNotesInKPINotificationsFlag":"true",
"KPINotificationEnabledFlag":"true",
"OwningOrganizationId":"300000047013630",
"PlanningProjectFlag":"true",
"ProjectCurrencyCode":"USD",
"ProjectTeamMembers":[
{
"personemail":"amy.marlin_znaa@oracledemos.com",
"ProjectRole":"Project Manager",
"StartDate":"2020-05-21"
}
],
"ProjectClassifications":[
{
"ClassCategoryId":"300000047429563",
"ClassCategory":"Business Objective",
"ClassCodeId":"300000047429564",
"ClassCode":"Business Growth",
"CodePercentage": null
}
]
}
I've set Content-Type to application/json and using POST {{ServerName}}/fscmRestApi/resources/11.13.18.05 in Postman.
Thank you!
Wai