Skip to main content
Question

How to get Contact data of shipment owner via REST API

  • October 30, 2025
  • 5 replies
  • 77 views

Forum|alt.badge.img

Hi all,

I’m currently trying to receive the owner data of a shipment using the REST API.

The response of GET /entity/Default/24.200.001/Shipment/<ShipmentNbr> contains the contact ID:

...
"OverrideFreightPrice": {
"value": false
},
"Owner": {
"value": "56"
},
"PackageCount": {
"value": 4
}
...

However, I can’t request more information about the contact.

The owner of a shipment is an employee. But the REST endpoint /entity/Default/24.200.001/Employee does not contain the ContactID.

Is there any other endpoint that can be used?

Thanks in advance!

5 replies

Kyle Vanderstoep
Varsity I
Forum|alt.badge.img+2

I would extend the endpoint and use the Employee ID as follows:

 

The default Contact endpoint will not return a record for the integer even if you add the ContactID and do $filter=ContactID eq 56 since the contact it is returning is the default contact of the employee record.

With the change I put above, then it will return a string AcctCD for the employee record which can then be queried using 

/entity/Default/24.200.001/Employee/{AcctCD}


Forum|alt.badge.img
  • Author
  • Freshman II
  • October 31, 2025

@Kyle Vanderstoep 

Thank you for your response. That would be a workaround.

But why is the contactId returned if it cannot be used to retrieve further information? Shouldn't the employeeId be returned directly by the default endpoint instead?

Is there any possiblity to fix this in the future?

 

Thanks in advance.


Kulvir Kaila
Jr Varsity I
Forum|alt.badge.img+2
  • Jr Varsity I
  • February 10, 2026

Hi ​@BEXJens,

An alternative solution is to create an oData endpoint using a custom Generic Inquiry for the data you need.

https://www.acumatica.com/blog/technical-tuesday-doug-johnsons-data-visualization-tutorial-odata-and-power-bi/


Forum|alt.badge.img
  • Author
  • Freshman II
  • February 10, 2026

@Kulvir Kaila 

Thanks for your response. However, I already have a workaround. I was just confused about the default solution / endpoint because the retrieved contactId can not be used further. So I wondered if you’re planning to fix this in the future?


Kulvir Kaila
Jr Varsity I
Forum|alt.badge.img+2
  • Jr Varsity I
  • February 10, 2026

@BEXJens out of curiosity, what is your workaround?