Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

Insert Record to web service via postman

Posted on by 2
Hi i get stucked when i trying insert record to my vendor card web service , when i try to insert come out this error about my autonumbering, i cannot find related answer on google , my No is an  lookup field from another table call No.Series  inside have multiple code for autonumbering purpose//
the field /No./ is select the code above there then auto get latest numbering promp out , but in my postman post request json body i cannot simply type the code to /No/ Field it promp out this error ,
{
    /No/: //,
    /Name/: /TESTING SDN BHD/,
    /Name_2/: //,
    /Blocked/: / /,
    /Document_Sending_Profile/: //,
    /Search_Name/: /TESTING SDN BHD SDN BHD/,
    /Gen_Bus_Posting_Group/: /GENERAL/,
    /Vendor_Posting_Group/: /PRINCIPAL/
}
 
this is my json body, how can i handle with this kind of request .
  • mlit Profile Picture
    mlit 2 on at
    Insert Record to web service via postman
    Thanks for Yun Zhu what mentioned ,
     
    but what i get blocked is the No. field is lookup table from No. series table to select which no.series i wan  , so in term of JSON Body request how to handle this this kind of field .
     
    i know i should no use web service  instead of using standard api.
    picture above is showing when i click 3 dot in no.field then will promp out this no.series table to let me 
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 68,757 Super User 2024 Season 2 on at
    Insert Record to web service via postman
    Hi, please do not use Web Services. Vendor has standard APIs that we can use directly.
    For example,
    Get
    Post
     
    More details about Standartd apis:
     
     
    Thanks.
    ZHU

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,349 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,212 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans