Hi,
Need to add the Pan number,contact and Bank details while creating new vendor.
Currently using below request body.
api:https:/api.businesscentral.dynamics.com/v2.0/production/api/v2.0/companies(56a77713-529e-ed11-988a-000d3a473558)/vendors
{
/displayName/: /TestCom1234p/,
/addressLine1/: /10 North Lake Avenue/,
/addressLine2/: //,
/city/: /Atlanta/,
/state/: /GA/,
/country/: /US/,
/postalCode/: /31772/,
/phoneNumber/: /4255550101/,
/email/: /krystal.york@contoso.com/,
/website/: /www.royalmail.co.uk/,
/taxRegistrationNumber/: //,
/currencyCode/: /USD/,
/irs1099Code/: //,
/taxLiable/: true,
/blocked/: / /,
/panDetails/: {
/panNumber/: /ABCDE1234F/
},
/contact/:{
/contactName/:/Krystal/
}
}
}
But this is not working properly.It throwing bad request error.