You must enter a valid value for the Template attribute. The current value is XXXX. (EGP-2776160)
Summary:
You must enter a valid value for the Template attribute. The current value is XXXX. (EGP-2776160)
Content (please ensure you mask any confidential information):
Hi
The below Rest API fails when we try to create an item for an inventory organization with the custom template defined in the system. Please advise.
REST APT - Create Item - Item Version 2 ⇒ /fscmRestApi/resources/11.13.18.05/itemsV2
Req Payload:
{ "OrganizationCode":"ABCD",
"ItemNumber" : "12345678",
"Description": "TEST",
"PrimaryUOMValue": "Pieces",
"ItemClass" : "Root Item Class",
"Template" : "Custom Template Name"
}
You must enter a valid value for the Template attribute. The current value is Custom Template Name. (EGP-2776160)
Please help us to solve the issue. I can create item with template on the UI. the template name is correct.