AnsweredAssumed Answered

Quote Billing/Shipping Contact id invalid using REST

Question asked by Brecht Yperman on Jul 8, 2015
Latest reply on Jul 13, 2015 by Brecht Yperman
Hi,

I am doing this using SugarCRM Enterprise 7.5.2.2

When trying to access a sample Quote (Cloud View Renewable Quote) using REST
https:///rest/v10/Quotes/b6250022-8f8...

It properly returns the JSON for this Quote.

When I try to go to the billing or shipping information however, the data is (imho) incorrect.

  billing_account_name="Cloud View Systems Inc.",
  billing_account_id="afaab2e4-5151-f1ca-44c9-523cc7721518",
  billing_contact_name="Steel",
  billing_contact_id="Steel",

The billing account is ok, name and id seem ok. The contact however is not; the id of user Brandi Steel is not Steel (should be e21bd475-0090-2448-082c-523cc7dff4d2 imho).

How does this work? How do I deduce from the metadata that in case of contact the id is not the id but the last name?

Thanks,
Brecht

Outcomes