web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Update lookup table va...
Power Automate
Unanswered

Update lookup table values through Rest api in Project Online

(0) ShareShare
ReportReport
Posted on by

I am trying to Project Online Lookup Table value using Send a HTTP request to Sharepoint using Flow. 
I am trying to create new entry in lookup table using Rest but getting an error.


ERROR : An unexpected 'PrimitiveValue' node was found when reading from the JSON reader. A 'StartObject' node was expected.
clientRequestId: af31b745-2214-4635-9a45-0fa1311e7d2c
serviceRequestId: aea3c29f-30ba-b000-fc46-67eccb973d3b


Using Post message : 

URI:

_api/ProjectServer/LookupTables('00008e67-65a3-4898-baaa-d82d995bbb02')/Entries/Add

 

Body 

{'parameters':{

'Value':'110',
'Description':'Added from Flow',
'SortIndex':'7',
'ParentId':'dd67bf95-85a3-eb11-bfa0-00155dc0a600'
}}
Using following References https://docs.microsoft.com/en-us/previous-versions/office/project-javascript-api/jj668218(v=office.15)

https://docs.microsoft.com/en-us/previous-versions/office/project-javascript-api/jj668483(v=office.15) 
 @Anonymous 

Categories:
I have the same question (0)
  • Muthu_Haris Profile Picture
    2 on at

    Hi Raja, I am also facing the same issue. Did you able to fix the issue

  • dradomtsev Profile Picture
    5 on at

    Hi @rajatk09 ,

    as said in article Project-docs-pr/LookupEntryCreationInformation.md at master · OfficeDev/Project-docs-pr (github.com) parameter 'Value' is of type LookupEntryValue so the value of parameter 'Value' should be

    {'Decimal':'110'}
    The full body of the request would be like

    {'parameters':{

    'Value':{'Decimal':'110'},
    'Description':'Added from Flow',
    'SortIndex':'7',
    'ParentId':'dd67bf95-85a3-eb11-bfa0-00155dc0a600'
    }}

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard