Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Service Layer | Capture objects inside another object

raphaelzanon123
Discoverer
0 Likes
359
  • SAP Managed Tags

Hello!

How do I access objects within another object using the SAP B1 service layer?

Example: I have the following output, how do I access it using the service layer's "select" to select the fields "CardCode", "CardName" e "AddressName": {

 "odata.metadata": "https://sap:50000/b1s/v1/$metadata#BusinessPartners",<br>    
"value": ["odata.etag": "W/\"AC3478D69A3C81FA62E60F5C3696165A4E5E6AC4\"",
"CardCode": "C013925",
"CardName": "BUSINESS PARTNERS",
"BPAddresses":
[
"AddressName": "FATURAMENTO",
"Street": "QUINTINO VARGAS",
"Block": "CENTRO"}
]
}
0 REPLIES 0